/* GRACE — marka kitine göre: koyu zemin, altın, ametist moru. Garamond + Montserrat.
   Tüm yerleşim mantıksal özelliklerle (inline-start/end) yazıldı: Arapça (RTL) eklemek için hazır. */

:root {
  --bg: #212322;
  --bg-deep: #161817;
  --purple-900: #3c1053;
  --purple-500: #6e3fa3;
  --gold-700: #ad8530;
  --gold-300: #e8c47a;
  --ivory: #f7f6f3;
  --muted: rgba(247, 246, 243, 0.68);
  --line: rgba(173, 133, 48, 0.32);
  --serif: 'EB Garamond', 'Cormorant Garamond', Garamond, Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
}
:lang(ar) { --serif: 'Noto Naskh Arabic', 'Amiri', serif; --sans: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(110, 63, 163, 0.28), transparent 62%),
    radial-gradient(700px 420px at 100% 40%, rgba(60, 16, 83, 0.22), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-300); text-underline-offset: 3px; }
a:hover { color: #fff0c4; }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--gold-300); color: #1c1a14; padding: 8px 14px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mono, code { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: 0.08em; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: 0.08em; text-transform: uppercase; }
h3 { font-size: 1.35rem; letter-spacing: 0.02em; }
.gold-text {
  color: var(--gold-300);
  background: linear-gradient(180deg, #f6dfa4 0%, var(--gold-300) 38%, var(--gold-700) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: rgba(247, 246, 243, 0.9); margin: 0 0 1.4em; font-weight: 400; }
.narrow-p { max-width: 640px; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; font-weight: 500; color: var(--gold-300); margin: 1.6rem 0 0.6rem; }
.prose p { margin: 0 0 1.1em; font-size: 1.02rem; }

.orn { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 0 auto 1.6rem; max-width: 220px; color: var(--gold-700); font-size: 0.6rem; }
.orn::before, .orn::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-700)); }
.orn::after { transform: scaleX(-1); }

/* düğmeler */
.btn { display: inline-block; padding: 0.85rem 1.7rem; border-radius: 999px; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-gold { background: linear-gradient(180deg, #f6dfa4, var(--gold-300) 45%, var(--gold-700)); color: #1c1a14; box-shadow: 0 6px 22px rgba(173, 133, 48, 0.28); }
.btn-gold:hover { color: #1c1a14; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(173, 133, 48, 0.4); }
.btn-ghost { border-color: rgba(232, 196, 122, 0.6); color: var(--gold-300); background: transparent; }
.btn-ghost:hover { background: rgba(232, 196, 122, 0.1); color: #fff0c4; transform: translateY(-2px); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.note { margin-top: 1rem; }
.more { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; font-weight: 500; }
.badge { display: inline-block; padding: 0.15rem 0.7rem; border-radius: 999px; background: rgba(110, 63, 163, 0.35); border: 1px solid rgba(160, 110, 220, 0.7); color: #e9dcff; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.badge.big { font-size: 0.8rem; padding: 0.3rem 1.1rem; }

/* üst bar */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(22, 24, 23, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 22px; }
.nav a { color: var(--ivory); text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--gold-300); border-bottom-color: var(--gold-700); }
.lang { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 500; border-inline-start: 1px solid var(--line); padding-inline-start: 22px; }
.lang-current { color: var(--gold-300); }
.lang-sep { color: var(--muted); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--gold-300); border-radius: 2px; content: ''; position: relative; transition: transform 0.2s; }
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }

/* bölümler */
.section { padding: 76px 0; }
.band { background: linear-gradient(180deg, rgba(60, 16, 83, 0.5), rgba(60, 16, 83, 0.18)); border-block: 1px solid var(--line); }
.band-deep { background: radial-gradient(700px 360px at 50% 0%, rgba(110, 63, 163, 0.3), transparent 70%), var(--bg-deep); border-block: 1px solid var(--line); }
.hero { padding: 64px 0 80px; }
.hero-logo { width: min(460px, 82%); margin: 0 auto; filter: drop-shadow(0 8px 40px rgba(173, 133, 48, 0.22)); }
.hero-logo.small { width: min(300px, 70%); margin-bottom: 1.4rem; }
.hero .lead { max-width: 560px; margin-inline: auto; margin-bottom: 0.4rem; }
.page-hero { padding: 72px 0 44px; }
.page-hero .btn { margin-top: 0.4rem; }
.academy-logo { width: min(520px, 86%); margin: 0 auto 1.4rem; filter: drop-shadow(0 8px 36px rgba(173, 133, 48, 0.2)); }
.heart-mark { width: 64px; height: 64px; margin: 0 auto 1rem; }
.heart-mark.glow { filter: drop-shadow(0 0 22px rgba(232, 196, 122, 0.55)); }

/* alıntı */
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.4; color: var(--ivory); margin: 0 0 1.2rem; }
.quote p::before { content: '“'; color: var(--gold-300); }
.quote p::after { content: '”'; color: var(--gold-300); }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.q-name { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-300); letter-spacing: 0.08em; text-transform: uppercase; }
.q-role { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* kartlar */
.grid { display: grid; gap: 22px; margin-top: 2rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-3px); border-color: rgba(232, 196, 122, 0.5); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); }
.card h3 { color: var(--gold-300); margin-bottom: 0.5em; }
.card p { margin: 0 0 1em; color: rgba(247, 246, 243, 0.86); font-size: 0.95rem; }
.benefit { display: flex; flex-direction: column; align-items: flex-start; }
.benefit .badge { margin-bottom: 0.9rem; }
.tall h2 { font-size: 1.5rem; }
.poem { list-style: none; margin: 0; padding: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; }
.poem li { padding-block: 0.45em; border-bottom: 1px solid rgba(173, 133, 48, 0.18); }
.poem li:last-child { border-bottom: 0; }
.contact-card h3 { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--sans); font-weight: 500; }
.big-link { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; word-break: break-word; }
.big-link:hover { text-decoration: underline; }
.c-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 50%; border: 1px solid rgba(232, 196, 122, 0.45); background: rgba(232, 196, 122, 0.07); }
.c-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.c-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.c-social a { display: inline-flex; align-items: center; gap: 0.7rem; }
.c-social svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* manifesto */
.manifesto .m-intro { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: 0.06em; color: var(--gold-300); margin: 0 0 1.6rem; }
.m-block { margin-bottom: 2rem; }
.m-block p { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.6; margin: 0; }
.m-belief p:not(:first-child) { color: var(--gold-300); font-style: italic; }
.m-sub { font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300); font-family: var(--sans); font-weight: 500; margin-top: 2.2rem; }
.m-close p { font-size: clamp(1.4rem, 2.8vw, 1.9rem); color: var(--gold-300); font-style: italic; }

/* ana sayfa: seviyeler (çipler) */
.chips { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { display: flex; flex-direction: column; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.chips { gap: 8px; }
.chip-n { font-size: 1rem; white-space: nowrap; }
.page-hero + .section { padding-top: 24px; }
.chip-y { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.chip-n { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-300); }

/* üyelik yolculuğu: basamaklı piramit (en üst Luminary, en alt Seed) */
.journey { list-style: none; margin: 2.4rem 0 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 10px; align-items: center; }
.step { text-align: center; padding: 18px 24px; border: 1px solid rgba(232, 196, 122, 0.45); border-radius: 10px; background: linear-gradient(180deg, rgba(60, 16, 83, 0.62), rgba(33, 35, 34, 0.92)); box-shadow: inset 0 0 0 1px rgba(232, 196, 122, 0.08), 0 8px 24px rgba(0, 0, 0, 0.3); }
.step .years { display: block; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; }
.step h3 { margin: 0.1em 0 0.3em; font-size: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-300); }
.step p { margin: 0; font-size: 0.92rem; color: rgba(247, 246, 243, 0.82); }
.step-seed { width: 88%; }
.step-host { width: 78%; }
.step-ambassador { width: 68%; }
.step-guardian { width: 58%; }
.step-luminary { width: 48%; border-color: var(--gold-300); box-shadow: 0 0 40px rgba(232, 196, 122, 0.25), inset 0 0 0 1px rgba(232, 196, 122, 0.2); }

/* nasıl üye olunur */
.how { list-style: none; counter-reset: s; margin: 2rem 0 2.4rem; padding: 0; display: grid; gap: 18px; }
.how li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; align-items: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); }
.how li::before { content: counter(s); grid-row: 1 / span 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold-300); color: var(--gold-300); font-family: var(--serif); font-size: 1.5rem; }
.how h3 { margin: 0; font-size: 1.25rem; color: var(--gold-300); }
.how p { margin: 0; color: rgba(247, 246, 243, 0.85); font-size: 0.95rem; }

/* banka */
.bank { display: grid; gap: 14px; margin: 1.6rem auto 1.8rem; max-width: 560px; text-align: start; }
.bank > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, 0.2); }
.bank dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; align-self: center; }
.bank dd { margin: 0; font-weight: 500; }
.bank code { font-size: 1.02rem; color: var(--gold-300); letter-spacing: 0.04em; word-break: break-all; }

/* alt bilgi */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-top: 52px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 36px; }
.foot-tag { font-family: var(--serif); font-style: italic; color: var(--gold-300); margin: 0.9rem 0 0.4rem; font-size: 1.1rem; }
.foot-h { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; margin: 0 0 0.6em; }
.foot-h2 { margin-top: 1.4rem; }
.site-footer p { margin: 0 0 0.7em; }
.copy { padding-block: 34px 28px; margin-top: 30px; border-top: 1px solid rgba(173, 133, 48, 0.18); }

/* üye doğrulama sayfası */
.member-main { padding: 60px 0 80px; min-height: 70vh; }
.bar-simple { justify-content: center; }
.member-card { max-width: 520px; margin: 0 auto 1.6rem; padding: 38px 30px; text-align: center; border: 1px solid rgba(232, 196, 122, 0.5); border-radius: 20px; background: radial-gradient(420px 220px at 50% 0%, rgba(110, 63, 163, 0.4), transparent 70%), linear-gradient(180deg, #2a2230, #1a1b1b); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(173, 133, 48, 0.12); }
.m-state[hidden] { display: none; }
.m-heart { margin: 0 auto 0.6rem; filter: drop-shadow(0 0 18px rgba(232, 196, 122, 0.45)); }
.m-verified { display: inline-block; margin: 0 0 1.4rem; padding: 0.3rem 1rem; border-radius: 999px; border: 1px solid rgba(120, 220, 160, 0.6); color: #aef0c6; font-size: 0.78rem; letter-spacing: 0.08em; font-weight: 500; }
.m-data { margin: 0; text-align: start; display: grid; gap: 0; }
.m-data > div { padding: 14px 4px; border-bottom: 1px solid rgba(173, 133, 48, 0.22); }
.m-data > div:last-child { border-bottom: 0; }
.m-data dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; }
.m-data dt .muted { text-transform: none; letter-spacing: 0.04em; font-weight: 300; }
.m-data dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.6rem; color: var(--ivory); word-break: break-word; }
.m-data dd.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.25rem; color: var(--gold-300); letter-spacing: 0.06em; }
.m-foot { margin: 1.4rem 0 0; }
.m-big { font-family: var(--serif); font-size: 2rem; color: var(--gold-300); margin: 0.2em 0; }
.m-loading p { margin: 0; font-family: var(--serif); font-size: 1.3rem; }

/* ekran boyutları */
@media (max-width: 980px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: rgba(22, 24, 23, 0.98); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(173, 133, 48, 0.16); }
  .lang { border: 0; padding: 14px 0 0; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .grid.four { grid-template-columns: 1fr; }
  .step-seed { width: 100%; } .step-host { width: 96%; } .step-ambassador { width: 92%; } .step-guardian { width: 88%; } .step-luminary { width: 84%; }
  .step { padding: 16px 18px; }
  .how li { grid-template-columns: 44px 1fr; padding: 16px; }
  .how li::before { width: 44px; height: 44px; font-size: 1.25rem; }
  .member-card { padding: 30px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* hukuki metin sayfası */
.page-privacy .page-hero { padding-bottom: 12px; }
.page-privacy .page-hero .orn { margin-bottom: 0; }
.legal-sec { margin-bottom: 2.2rem; }
.legal-sec h2 { font-size: 1.25rem; letter-spacing: 0.04em; text-transform: none; color: var(--gold-300); margin-bottom: 0.5em; }
.legal p { margin: 0 0 0.9em; }
.legal ul { margin: 0 0 1em; padding-inline-start: 1.3em; }
.legal li { margin-bottom: 0.35em; }
.controller { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); }
.contact-lines { color: var(--muted); font-size: 0.95rem; }
.consent { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(60, 16, 83, 0.25); }

/* Ana sayfa: seviye kartları */
.chips.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 900px; margin: 2rem auto 2.4rem; align-items: start; }
.chips.cards .tcard { position: relative; padding: 0; border: 0; background: none; gap: 4px; align-items: center; }
.chips.cards .tcard img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); margin-bottom: 8px; }
.chips.cards .tcard-seed img { box-shadow: 0 0 0 1px rgba(233, 199, 102, 0.55), 0 12px 30px rgba(212, 166, 42, 0.28); }
.chips.cards .tcard.is-locked img { opacity: 0.92; }
.chips.cards .badge { margin-top: 4px; }
@media (max-width: 900px) { .chips.cards { grid-template-columns: repeat(2, 1fr); } .chips.cards .tcard-seed { grid-column: 1 / -1; max-width: 420px; justify-self: center; } }
@media (max-width: 480px) { .chips.cards { gap: 12px; } .chips.cards .chip-n { font-size: 0.95rem; } }

/* Dijital üyelik kartı (üye sayfası) */
@font-face { font-family: 'GraceCard'; src: url('/assets/fonts/lora-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'GraceCard'; src: url('/assets/fonts/lora-italic-400.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
.member-card[data-state="ok"] { max-width: 560px; padding: 0; border: 0; background: none; box-shadow: none; }
.gcard-wrap { position: relative; width: 100%; aspect-ratio: 1000 / 598; margin: 0 auto; }
.gcard { --s: 0.5; position: absolute; left: 0; top: 0; width: 1000px; height: 598px; transform: scale(var(--s)); transform-origin: 0 0; border-radius: 44px; overflow: hidden; color: var(--ink); background: var(--paper); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); font-family: 'GraceCard', 'Lora', Georgia, serif; text-align: start; text-transform: none; letter-spacing: normal; }
.gcard::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='400' height='400' filter='url(%23n)'/></svg>"); opacity: var(--grain); mix-blend-mode: multiply; }
.gcard::after { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.gcard > * { position: absolute; }
.gcard .gc-frame { inset: 17px; border: 3px solid var(--gold); border-radius: 34px; }
.gcard .gc-frame::after { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold2); border-radius: 28px; opacity: 0.7; }
.gcard .gc-logo { left: 50%; top: 38px; width: 330px; height: auto; transform: translateX(-50%); }
.gcard .gc-plaque { left: 50%; top: 248px; transform: translateX(-50%); width: 385px; height: 66px; border-radius: 10px; background: var(--plaque); border: 2px solid var(--gold); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35); display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 500; color: var(--goldtext); text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6); }
.gcard .gc-who { left: 58px; top: 340px; max-width: 640px; }
.gcard .gc-who h2 { margin: 0 0 16px; font-family: inherit; font-size: 35px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.2; }
.gcard .gc-who p { margin: 0; font-family: 'Montserrat', system-ui, sans-serif; font-size: 19px; letter-spacing: 0.4px; text-transform: uppercase; line-height: 1.75; color: var(--ink2); }
.gcard .gc-emb { left: 34px; bottom: 36px; width: 140px; height: 114px; display: flex; align-items: flex-end; justify-content: center; }
.gcard .gc-emb img { width: 130px; height: auto; display: block; }
.gcard .gc-emb svg { width: 140px; height: 114px; display: block; }
.gcard .gc-tag { left: 50%; bottom: 44px; transform: translateX(-50%); margin-left: -20px; font-style: italic; font-weight: 400; font-size: 25px; color: var(--ink2); white-space: nowrap; }
.gcard .gc-qr { right: 56px; bottom: 52px; width: 178px; height: 178px; border-radius: 14px; border: 2px solid var(--gold); background: #fff; padding: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.gcard .gc-qr svg { width: 100%; height: 100%; display: block; border-radius: 8px; }
.gcard[data-tier="seed"] { --paper: #f3f1ec; --ink: #2a2630; --ink2: #2d2a33; --grain: 0.22; --glow: none; --plaque: linear-gradient(#4b4540, #2d2926); --gold: #d4a62a; --gold2: #e9c766; --goldtext: #e6bb4a; }
.gcard[data-tier="host"] { --paper: #ece6f2; --ink: #2a2038; --ink2: #352a46; --grain: 0.28; --glow: none; --plaque: linear-gradient(#4a3a63, #2c2140); --gold: #d4a62a; --gold2: #e9c766; --goldtext: #eec95a; }
.gcard[data-tier="ambassador"] { --paper: #3a2a58; --ink: #f6eedc; --ink2: #eadfc7; --grain: 0.35; --glow: radial-gradient(ellipse at 50% 30%, rgba(190, 150, 255, 0.28), transparent 62%); --plaque: linear-gradient(#1f1630, #120b20); --gold: #e0b43a; --gold2: #f2d27a; --goldtext: #f1cf6a; }
.gcard[data-tier="guardian"] { --paper: #1d1a22; --ink: #f6eedc; --ink2: #e4dac3; --grain: 0.35; --glow: radial-gradient(ellipse at 50% 28%, rgba(240, 200, 90, 0.2), transparent 60%); --plaque: linear-gradient(#5b4a1c, #2f2610); --gold: #e6b93d; --gold2: #f7d97f; --goldtext: #ffe08a; }
.gcard[data-tier="luminary"] { --paper: #14102a; --ink: #fff6dc; --ink2: #f3e8c8; --grain: 0.3; --glow: radial-gradient(ellipse at 50% 22%, rgba(255, 225, 130, 0.38), transparent 58%), radial-gradient(ellipse at 15% 100%, rgba(170, 120, 255, 0.3), transparent 55%); --plaque: linear-gradient(#6a4fb0, #2a1c5c); --gold: #f0c64a; --gold2: #fff0a8; --goldtext: #fff2b8; }
.member-card[data-state="ok"] .m-verified { margin: 0 0 1.2rem; }
.m-offline { margin: 1rem 0 0; }
.m-install { margin: 1.8rem auto 0; max-width: 520px; text-align: start; border: 1px solid rgba(173, 133, 48, 0.3); border-radius: 12px; padding: 18px 20px; background: rgba(255, 255, 255, 0.03); }
.m-install[hidden], .m-howto[hidden], #m-install-btn[hidden] { display: none; }
.m-install h3 { margin: 0 0 0.5rem; font-family: var(--serif); font-size: 1.25rem; color: var(--gold-300); letter-spacing: 0; text-transform: none; }
.m-install p { margin: 0.5rem 0 0; font-size: 0.95rem; }
.m-install .btn { margin: 0.9rem 0 0.4rem; }
.m-howto { margin-top: 1rem; }
.m-howto-t { margin: 0 0 0.3rem !important; }
.m-howto ol { margin: 0.3rem 0 0; padding-inline-start: 1.3rem; font-size: 0.95rem; line-height: 1.55; }
.m-howto li { margin: 0.35rem 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--gold-300); text-decoration: underline; cursor: pointer; font: inherit; }

/* ---------- GRACE Forum ---------- */
.forum-app { min-height: 60vh; }
.f-auth { padding: 48px 20px 64px; }
.f-auth-inner { max-width: 440px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.f-auth .eyebrow { margin-top: 0; }
.f-h1 { margin-bottom: 0.2em; }
.f-h2 { font-size: clamp(1.6rem, 6vw, 2rem); letter-spacing: 0.06em; text-transform: uppercase; }
.f-auth .lead { margin-bottom: 1.6rem; }
.f-panel { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); padding: 24px 20px; text-align: start; }
.f-auth .f-panel { display: flex; flex-direction: column; gap: 12px; margin-bottom: 1.4rem; }
.f-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--gold-300); }
.f-input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(232,196,122,0.45); background: rgba(22,24,23,0.7); color: var(--ivory); font: 400 1rem/1.5 var(--sans); }
.f-input:focus { outline: 2px solid var(--gold-300); outline-offset: 1px; border-color: transparent; }
select.f-input { appearance: auto; }
.f-textarea { min-height: 140px; resize: vertical; }
.f-code { font-size: 1.6rem; font-weight: 500; letter-spacing: 0.5em; text-align: center; }
.f-wide { width: 100%; }
.f-help, .f-note { margin: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.6; }
.f-note { color: #e9dcff; }
.f-check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 0.95rem; }
.f-check input { width: 20px; height: 20px; accent-color: var(--gold-700); margin: 0; flex: none; }
.f-msg { margin: 0; padding: 10px 14px; border-radius: 10px; font-size: 0.9rem; line-height: 1.55; }
.f-msg-err { background: rgba(180, 60, 60, 0.18); border: 1px solid rgba(240, 140, 140, 0.55); color: #ffd9d9; }
.f-msg-ok { background: rgba(110,63,163,0.22); border: 1px solid rgba(160,110,220,0.45); color: #e9dcff; }
.f-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 1rem; }
.f-cta p { margin: 0; }
.f-center { text-align: center; }
.f-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.f-center-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 1rem; }
.f-link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--gold-300); font: 500 0.9rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.f-link:hover { color: #fff0c4; }
.f-link[disabled] { color: var(--muted); text-decoration: none; cursor: default; }
.f-round { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(232,196,122,0.55); background: rgba(110,63,163,0.3); display: flex; align-items: center; justify-content: center; color: var(--gold-300); margin-bottom: 1.2rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn svg { display: inline-block; vertical-align: -3px; }

.f-page { padding-top: 20px; padding-bottom: 64px; }
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.f-top-home { color: var(--gold-300); text-decoration: none; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.74rem; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.f-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(232,196,122,0.6); text-decoration: none; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.f-dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold-300); color: #1c1a14; font-size: 0.7rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.f-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.f-hello { font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: 0; text-transform: none; margin: 0 0 0.2em; }
.f-sub { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: rgba(247,246,243,0.88); }
.f-newbtn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.f-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 40px; }
.f-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); color: var(--ivory); text-decoration: none; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.f-card:hover { color: var(--ivory); transform: translateY(-3px); border-color: rgba(232,196,122,0.5); box-shadow: 0 14px 36px rgba(0,0,0,0.35); }
.f-card p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: rgba(247,246,243,0.86); }
.f-card-glow { border-color: rgba(232,196,122,0.5); background: radial-gradient(300px 160px at 100% 0%, rgba(232,196,122,0.14), transparent 70%), linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); }
.f-card-pulse { background: linear-gradient(180deg, rgba(60,16,83,0.5), rgba(60,16,83,0.18)); }
.f-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(60,16,83,0.7); border: 1px solid rgba(160,110,220,0.5); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-300); }
.f-card-glow .f-icon { background: rgba(173,133,48,0.2); border-color: rgba(232,196,122,0.55); }
.f-card-title { margin: 0; font-size: 1.6rem; letter-spacing: 0.01em; color: var(--gold-300); }
.f-card .f-card-extra { margin-top: auto; font-size: 0.82rem; color: #e9dcff; font-weight: 500; }
.f-card-glow .f-card-extra { color: var(--gold-300); }
.f-lockline svg { display: inline-block; vertical-align: -3px; }
.f-h-small { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; margin: 0 0 14px; }
.f-list { display: flex; flex-direction: column; gap: 14px; }
.f-item { padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(173,133,48,0.25); background: rgba(22,24,23,0.55); }
.f-item-title { margin: 0 0 6px; font-family: var(--sans); font-size: 1.05rem; font-weight: 500; line-height: 1.45; letter-spacing: 0; }
.f-item-title a { color: var(--ivory); text-decoration: none; }
.f-item-title a:hover { color: var(--gold-300); text-decoration: underline; }
.f-excerpt { margin: 0 0 8px; color: rgba(247,246,243,0.8); font-size: 0.94rem; white-space: pre-line; }
.f-meta { margin: 0 0 8px; font-size: 0.78rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.f-meta-foot { margin: 0; }
.f-sec { color: var(--gold-300); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.f-author { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; color: rgba(247,246,243,0.82); }
.f-lvl { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: #e9dcff; border: 1px solid rgba(160,110,220,0.55); border-radius: 999px; padding: 0 8px; }
.f-real { font-size: 0.72rem; color: #f3c9a0; font-style: italic; }
.f-empty { color: var(--muted); text-align: center; padding: 24px 0; margin: 0; }
.f-back { margin: 0 0 16px; }
.f-back a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 0.9rem; }
.f-sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 24px; }
.f-sec-head > div { flex: 1 1 260px; }
.f-sec-head p { margin: 0; color: rgba(247,246,243,0.86); font-size: 0.95rem; }
.f-sec-title { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: 0.02em; text-transform: none; color: var(--gold-300); margin: 0 0 0.3em; }
.f-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.f-post-title { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: 0; text-transform: none; margin: 4px 0 14px; }
.f-body { white-space: pre-line; margin: 0 0 12px; font-size: 1rem; line-height: 1.75; }
.f-post { margin-bottom: 28px; }
.f-post-foot { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
.f-like { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(232,196,122,0.5); background: none; color: var(--gold-300); font: 500 0.85rem var(--sans); cursor: pointer; }
.f-like.is-on { background: rgba(232,196,122,0.16); }
.f-like.is-on svg { fill: currentColor; }
.f-actions { display: flex; gap: 16px; }
.f-actions .f-link { font-size: 0.8rem; color: var(--muted); }
.f-replies { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.f-reply { padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(173,133,48,0.2); background: rgba(22,24,23,0.45); }
.f-reply .f-body { margin-bottom: 4px; }
.f-poll { margin-bottom: 4px; }
.f-poll-q { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 14px; }
.f-options { border: 0; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.f-results { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.f-res-label { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; margin-bottom: 4px; }
.f-results li.is-mine .f-res-label { color: var(--gold-300); font-weight: 500; }
.f-bar { display: block; height: 8px; border-radius: 999px; background: rgba(247,246,243,0.1); overflow: hidden; }
.f-bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-700), var(--gold-300)); }
.f-admin-box { margin-bottom: 18px; }
.f-admin-box summary { cursor: pointer; color: var(--gold-300); font-weight: 500; min-height: 32px; }
.f-report .f-reason { font-style: italic; margin: 0 0 10px; }
.f-quote { border-inline-start: 2px solid var(--gold-700); padding-inline-start: 14px; margin: 0 0 14px; }
.f-rules { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }
.f-rule h2 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0.02em; text-transform: none; color: var(--gold-300); margin: 0 0 4px; font-weight: 500; }
.f-rule p { margin: 0; color: rgba(247,246,243,0.86); }
.f-foot-links { text-align: center; margin-top: 32px; }
@media (max-width: 560px) {
  .f-newbtn { width: 100%; }
  .f-sec-head .btn { width: 100%; text-align: center; }
  .f-panel { padding: 20px 16px; }
}
.f-mt { margin-top: 36px; }
.f-photo-box { display: flex; flex-direction: column; gap: 10px; }
.f-pick { cursor: pointer; }
.f-photo-prev { max-width: 100%; max-height: 320px; width: auto; border-radius: 12px; border: 1px solid var(--line); object-fit: contain; }
.f-photo { width: 100%; max-height: 560px; object-fit: contain; border-radius: 12px; margin: 0 0 16px; background: var(--bg-deep); }
.f-thumb-link { display: block; margin: 0 0 10px; }
.f-thumb { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; }
.benefit.is-live { border-color: rgba(232,196,122,0.55); }
.benefit.is-live .badge { background: linear-gradient(180deg, #f6dfa4, #e8c47a 45%, #ad8530); color: #1c1a14; border-color: transparent; }
.benefit h3 a { color: inherit; text-decoration: none; }
.benefit h3 a:hover { color: var(--gold-300); text-decoration: underline; }
