/* Extra components for hub IA — keeps existing color/font/card tokens */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate[hidden],
html.ppk-bot .age-gate {
  display: none !important;
}

html.age-gate-open {
  overflow: hidden;
}

.age-gate-card {
  max-width: 440px;
  width: 100%;
  background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}

.age-gate-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.age-gate-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10001;
  max-width: 920px;
  margin: 0 auto;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.cookie-banner-text {
  flex: 1 1 280px;
}

.cookie-banner-text p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-banner-text strong {
  color: #fff;
  font-style: italic;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.cookie-banner-text a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-banner-actions button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-accept {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cookie-reject {
  background: transparent;
  color: var(--text);
}

.age-gate-actions button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.age-enter {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.age-exit {
  background: transparent;
  color: var(--muted);
}

.age-gate-rg {
  margin: 0 0 16px;
  font-size: 13px;
}

.age-gate-rg a {
  color: var(--accent);
}

.author-byline {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 14px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.author-byline--profile {
  border-bottom: none;
  margin-bottom: 8px;
}

.author-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3a3030, #252020);
  border: 1px solid rgba(255, 171, 64, 0.35);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar--lg {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  font-size: 18px;
}

.author-byline a {
  color: #fff;
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
}

.author-byline a:hover {
  color: var(--accent);
}

.author-role {
  margin: 2px 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 700;
}

.author-bio,
.author-dates,
.author-disclaimer {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.author-disclaimer {
  font-size: 12px;
  font-style: italic;
}

.review-outbound {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-outbound-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 40px auto 0;
}

.journey-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}

.journey-step span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.journey-step strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.journey-step p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.offer-rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-rank {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 900;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.offer-score {
  text-align: right;
}

.offer-score strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1;
}

.offer-score small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.offer-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offer-highlights li {
  font-size: 13px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}

.offer-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.offer-terms-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  font-style: italic;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.offer-terms-full {
  display: none;
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.offer-terms-full.is-open {
  display: block;
}

.updated-label {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.criteria-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.criteria-card,
.trust-card {
  background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
}

.criteria-card h3,
.trust-card h3 {
  font-size: 1rem;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.criteria-card p,
.trust-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.guide-section {
  padding: 64px 24px;
}

.guide-section:nth-of-type(odd) {
  background: var(--bg);
}

.guide-section:nth-of-type(even) {
  background: var(--surface);
}

.guide-inner {
  max-width: 900px;
  margin: 0 auto;
}

.guide-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.guide-inner p,
.guide-inner li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.guide-inner ul {
  margin: 12px 0 0 20px;
}

.guide-inner li {
  margin-bottom: 8px;
}

.faq-section {
  background: var(--surface);
  padding: 64px 24px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-style: italic;
  padding: 16px 18px;
  cursor: pointer;
}

.faq-item .faq-answer {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.rg-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.rg-strip h2 {
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rg-strip p {
  max-width: 720px;
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: 14px;
}

.rg-strip a {
  display: inline-block;
  margin: 0 8px;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
}

.footer-note {
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.disclosure strong {
  color: var(--text);
}

@media (max-width: 700px) {
  .journey {
    grid-template-columns: 1fr;
  }
}

/* Authority / media modules */
.authority-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.authority-bar strong {
  color: var(--accent);
  font-style: italic;
  text-transform: uppercase;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.media-card,
.member-card,
.giveaway-card {
  background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-card .meta,
.giveaway-card .meta {
  font-size: 11px;
  color: var(--accent);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.media-card h3,
.member-card h3,
.giveaway-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}

.media-card p,
.member-card p,
.giveaway-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}

.media-card a,
.giveaway-card a,
.member-card a {
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}

.seo-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.seo-toc {
  position: sticky;
  top: 88px;
  background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
}

.seo-toc h3 {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 12px;
}

.seo-toc ol {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}

.seo-toc a {
  color: var(--text);
}

.seo-toc a:hover {
  color: var(--accent);
}

.seo-article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 800;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  margin: 36px 0 14px;
  scroll-margin-top: 90px;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  font-size: 1rem;
  color: var(--accent);
  font-style: italic;
  text-transform: uppercase;
  margin: 22px 0 10px;
}

.seo-article p,
.seo-article li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.seo-article p {
  margin-bottom: 14px;
}

.seo-article ul {
  margin: 0 0 16px 20px;
}

.seo-callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--primary);
  background: rgba(255, 82, 82, 0.06);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  font-size: 14px;
}

.license-panel {
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 82, 82, 0.04);
}

.license-panel h3 {
  color: #fff;
  font-style: italic;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.license-panel p,
.license-panel li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.license-panel ul {
  margin: 8px 0 0 18px;
}

.controller-line {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.cat-pills a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}

.cat-pills a:hover {
  border-color: var(--primary);
  color: #fff;
}

.expert-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.expert-card {
  background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
}

.expert-card strong {
  display: block;
  color: #fff;
  font-style: italic;
  margin-bottom: 4px;
}

.expert-card span {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
}

.expert-card p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .seo-toc {
    position: static;
  }
}

/* ===== Homepage service layer (Daily Myth, Mapa, Giveaway, Editor, RG) ===== */

.svc-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 20px 8px;
}

.svc-section .section-header {
  margin-bottom: 18px;
}

.svc-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}

.nav-alati {
  position: relative;
}

.nav-alati summary {
  list-style: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.nav-alati summary::-webkit-details-marker {
  display: none;
}

.nav-alati-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-alati-menu a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

.nav-alati-menu a:hover {
  background: rgba(255, 82, 82, 0.12);
}

@media (max-width: 900px) {
  .nav-alati-menu {
    position: static;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
  }
}

.myth-card {
  background: linear-gradient(160deg, #2a2220 0%, #1a1a1a 55%, #161616 100%);
  border: 1px solid rgba(255, 171, 64, 0.22);
  border-radius: 18px;
  padding: 22px 20px;
  max-width: 640px;
  margin: 0 auto;
  min-height: 200px;
}

.myth-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.myth-claim {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 800;
  font-style: italic;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 18px;
}

.myth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.myth-actions button,
.svc-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text);
}

.svc-btn-primary,
.myth-actions .myth-start,
.myth-actions .myth-true {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.myth-reveal {
  animation: mythFade 0.35s ease;
}

.myth-reveal[hidden],
.myth-choose[hidden],
.myth-idle[hidden] {
  display: none !important;
}

@keyframes mythFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.myth-verdict {
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}

.myth-verdict.is-ok {
  color: #7dcea0;
}

.myth-verdict.is-no {
  color: var(--accent);
}

.myth-explain {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.myth-soft {
  margin-top: 14px;
  font-size: 13px;
}

.myth-soft a {
  color: var(--accent);
  font-weight: 600;
}

.trap-composition {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 82, 82, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 171, 64, 0.1), transparent 45%),
    linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px 16px 24px;
}

.trap-progress {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  font-style: italic;
  margin-bottom: 14px;
}

.trap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 768px) {
  .trap-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trap-node {
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.trap-node:hover,
.trap-node:focus-visible {
  border-color: rgba(255, 82, 82, 0.45);
  outline: none;
}

.trap-node.is-opened {
  border-color: rgba(255, 171, 64, 0.5);
  background: rgba(255, 171, 64, 0.06);
}

.trap-node-idx {
  display: block;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.trap-node strong {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 4px;
}

.trap-node-short {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.trap-cta-wrap {
  margin-top: 16px;
  text-align: center;
}

.trap-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9000;
}

.trap-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9001;
  background: #1e1e1e;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 18px 28px;
  max-height: 70vh;
  overflow: auto;
  animation: mythFade 0.25s ease;
}

@media (min-width: 768px) {
  .trap-drawer {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, 92vw);
    border-radius: 18px;
    max-height: 80vh;
  }
}

.trap-drawer h3 {
  margin: 0 0 10px;
  color: #fff;
  font-style: italic;
}

.trap-drawer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 10px;
}

.trap-drawer .trap-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.giveaway-live {
  background: linear-gradient(135deg, #241c1c 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 82, 82, 0.25);
  border-radius: 18px;
  padding: 22px 20px;
}

.giveaway-prize {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  font-style: italic;
  color: #fff;
  margin: 0 0 8px;
}

.giveaway-deadline {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.giveaway-form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.giveaway-form input[type="email"] {
  width: 100%;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #121212;
  color: #fff;
  font: inherit;
  margin-bottom: 12px;
}

.giveaway-form .check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--muted);
}

.giveaway-form .check input {
  margin-top: 3px;
}

.giveaway-form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.giveaway-success {
  padding: 12px 0;
  color: #7dcea0;
  font-weight: 600;
}

.giveaway-winner {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--muted);
}

.giveaway-winner strong {
  color: #fff;
}

.editor-teaser-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 700px) {
  .editor-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.editor-prompt {
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  font: inherit;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

.editor-prompt:hover {
  border-color: rgba(255, 82, 82, 0.4);
}

#editor-fab {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 8500;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

#editor-panel {
  position: fixed;
  right: 16px;
  bottom: 148px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(480px, calc(100vh - 180px));
  z-index: 8501;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

#editor-panel[hidden],
#editor-fab[hidden] {
  display: none !important;
}

.editor-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.editor-head strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-style: italic;
}

.editor-head p {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.editor-head button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.editor-log {
  flex: 1;
  overflow: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editor-msg {
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 95%;
}

.editor-msg p {
  margin: 0 0 6px;
}

.editor-msg a {
  color: var(--accent);
}

.editor-msg--user {
  align-self: flex-end;
  background: rgba(255, 82, 82, 0.18);
  color: #fff;
}

.editor-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.editor-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-form input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #121212;
  color: #fff;
  font: inherit;
  font-size: 13px;
}

.editor-form button {
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.rg-coach {
  background: linear-gradient(160deg, #1a2220 0%, #161616 100%);
  border: 1px solid rgba(125, 206, 160, 0.2);
  border-radius: 18px;
  padding: 22px 20px;
}

.rg-step[hidden] {
  display: none !important;
}

.rg-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.rg-presets button {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.rg-coach input[type="number"] {
  width: 100%;
  max-width: 220px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #121212;
  color: #fff;
  font: inherit;
  margin-bottom: 12px;
}

.rg-q {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rg-q p {
  color: #fff;
  font-size: 14px;
  margin: 0 0 8px;
}

.rg-q label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.rg-level {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  margin: 8px 0 12px;
}

.rg-level--low {
  color: #7dcea0;
}

.rg-level--mid {
  color: var(--accent);
}

.rg-level--high {
  color: var(--primary);
}

.rg-plan ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.rg-plan strong {
  color: #fff;
}

.rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
}

.rg-links a {
  color: var(--accent);
  font-weight: 600;
}

.tools-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 900px;
  margin: 8px auto 0;
  padding: 0 16px 8px;
}

.tools-toc a {
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}

.tools-toc a:hover {
  color: #fff;
  border-color: var(--primary);
}
