/* ==========================================================================
   Film Dedektifi — uygulama stili
   Koyu sinema salonu + projektör ışığı (amber). Mobil öncelikli (375–414px).
   ========================================================================== */

:root {
	--bg: #0b0b0f;
	--bg-2: #111117;
	--bg-3: #17171f;
	--surface: rgba(255, 255, 255, .045);
	--surface-2: rgba(255, 255, 255, .075);
	--surface-3: rgba(255, 255, 255, .11);
	--border: rgba(255, 255, 255, .085);
	--border-2: rgba(255, 255, 255, .16);
	--text: #f4f1ea;
	--muted: #a6a29a;
	--faint: #6f6c66;
	--accent: #f2b544;
	--accent-2: #ffcf70;
	--accent-ink: #1a1203;
	--accent-soft: rgba(242, 181, 68, .14);
	--good: #3ddc84;
	--good-soft: rgba(61, 220, 132, .14);
	--bad: #ff5f5f;
	--bad-soft: rgba(255, 95, 95, .14);
	--info: #6cc7ff;
	--radius: 16px;
	--radius-sm: 11px;
	--radius-lg: 22px;
	--shadow: 0 18px 50px rgba(0, 0, 0, .45);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--display: "Bahnschrift", "DIN Alternate", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--tabbar-h: 64px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html.fg-html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body.fg-body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background:
		radial-gradient(1200px 520px at 50% -180px, rgba(242, 181, 68, .10), transparent 70%),
		linear-gradient(180deg, var(--bg-2), var(--bg) 420px);
	color: var(--text);
	font: 400 16px/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
	overflow-x: hidden;
}
/* İnce film greni */
body.fg-body::before {
	content: "";
	position: fixed; inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fg-main, .fg-footer, .fg-crumbs { position: relative; }
body.fg-stage-open { overflow: hidden; }

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.fg-skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.fg-skip:focus { left: 8px; }

/* ---------- Tipografi ---------- */
.fg-h1, .fg-h2, .fg-hero__title, .fg-daily__title { font-family: var(--display); letter-spacing: -.01em; }
.fg-h1 { font-size: 28px; font-weight: 800; margin: 0; line-height: 1.15; }
.fg-h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0; color: var(--text); }
.fg-eyebrow { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.fg-link { font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 600; }
.fg-prose { color: var(--muted); font-size: 15.5px; }
.fg-prose h2 { margin-bottom: 10px; }
.fg-prose p { margin: 0 0 12px; }
.fg-note { color: var(--faint); font-size: 13.5px; text-align: center; margin: 28px 0; }
.fg-notice { color: var(--muted); margin: 0 0 14px; }
.fg-empty { color: var(--muted); padding: 18px; text-align: center; list-style: none; }
.fg-center { text-align: center; margin: 24px 0; }
.fg-bignum { color: var(--accent); }

/* ---------- Header ---------- */
.fg-header { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(11, 11, 15, .72); border-bottom: 1px solid var(--border); }
.fg-header__inner { max-width: 1120px; margin: 0 auto; height: 58px; padding: 0 16px; display: flex; align-items: center; gap: 18px; }
.fg-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.fg-logo__mark { width: 28px; height: 28px; color: var(--accent); }
.fg-logo__text { font-family: var(--display); font-size: 18px; letter-spacing: .01em; }
.fg-logo__text b { color: var(--accent); font-weight: 800; }
.fg-nav { display: none; gap: 4px; margin-left: 8px; }
.fg-nav__link { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 600; padding: 7px 11px; border-radius: 9px; transition: color .15s, background .15s; }
.fg-nav__link:hover, .fg-nav__link.is-active { color: var(--text); background: var(--surface); }
.fg-header__meta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.fg-streak-pill { font-size: 14px; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-weight: 700; }
.fg-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.fg-avatar svg { width: 20px; height: 20px; }

/* ---------- Alt sekme çubuğu (mobil uygulama hissi) ---------- */
.fg-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	height: calc(var(--tabbar-h) + var(--safe-b));
	padding: 6px 8px var(--safe-b);
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: rgba(13, 13, 18, .92);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border-top: 1px solid var(--border);
}
.fg-tabbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--faint); font-size: 11px; font-weight: 600; border-radius: 12px; }
.fg-tabbar__item svg { width: 23px; height: 23px; }
.fg-tabbar__item.is-active { color: var(--accent); }
.fg-tabbar__item--play svg { width: 44px; height: 44px; padding: 10px; margin-top: -14px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px rgba(242, 181, 68, .35); }
.fg-tabbar__item--play { color: var(--text); }

/* ---------- Footer ---------- */
.fg-footer { border-top: 1px solid var(--border); margin-top: 40px; }
.fg-footer__inner { max-width: 1120px; margin: 0 auto; padding: 28px 16px 36px; }
.fg-footer__links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.fg-footer__links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.fg-footer__links a:hover { color: var(--text); }
.fg-footer__attr p { color: var(--faint); font-size: 12.5px; margin: 0 0 6px; }
.fg-footer__attr a { color: var(--muted); }

/* ---------- Düzen ---------- */
.fg-main { min-height: 60vh; }
.fg-container { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.fg-section { margin: 30px 0; }
.fg-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.fg-crumbs { max-width: 720px; margin: 14px auto 0; padding: 0 16px; font-size: 13px; color: var(--faint); display: flex; gap: 6px; flex-wrap: wrap; }
.fg-crumbs a { color: var(--muted); text-decoration: none; }

/* ---------- Hero ---------- */
.fg-hero { position: relative; text-align: center; padding: 38px 16px 26px; max-width: 720px; margin: 0 auto; overflow: hidden; }
.fg-hero__beam { position: absolute; left: 50%; top: -140px; width: 560px; height: 420px; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 155deg, rgba(242, 181, 68, .16) 175deg, rgba(255, 220, 150, .22) 180deg, rgba(242, 181, 68, .16) 185deg, transparent 205deg); filter: blur(6px); pointer-events: none; z-index: -1; }
.fg-hero__title { font-size: clamp(32px, 9.6vw, 56px); line-height: 1.02; font-weight: 800; text-transform: uppercase; margin: 0 0 12px; }
.fg-hero__title span { display: block; color: var(--accent); }
.fg-hero--compact { padding-top: 26px; }
.fg-hero--compact .fg-hero__title { font-size: clamp(28px, 8vw, 44px); }
.fg-hero__sub { color: var(--muted); font-size: 17px; margin: 0 0 6px; }
.fg-hero__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 22px; }
.fg-hero__secondary { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.fg-howto { list-style: none; padding: 0; margin: 22px auto 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.fg-howto li { font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 6px 10px 6px 6px; border-radius: 999px; display: flex; gap: 7px; align-items: center; }
.fg-howto b { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 12px; }

/* ---------- Butonlar ---------- */
.fg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s, opacity .15s; user-select: none; }
.fg-btn svg { width: 20px; height: 20px; }
.fg-btn:active { transform: scale(.97); }
.fg-btn--primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); border-color: transparent; box-shadow: 0 8px 26px rgba(242, 181, 68, .28), inset 0 1px 0 rgba(255, 255, 255, .45); }
.fg-btn--primary:hover { box-shadow: 0 10px 32px rgba(242, 181, 68, .4), inset 0 1px 0 rgba(255, 255, 255, .45); }
.fg-btn--ghost { background: transparent; }
.fg-btn--ghost:hover { background: var(--surface); }
.fg-btn--xl { min-height: 58px; padding: 0 34px; font-size: 18px; border-radius: 16px; text-transform: uppercase; letter-spacing: .04em; min-width: min(320px, 100%); }
.fg-btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.fg-btn--block { width: 100%; }
.fg-btn[disabled], .fg-btn.is-busy { opacity: .55; pointer-events: none; }
.fg-textbtn { background: none; border: 0; padding: 8px 4px; color: var(--accent); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.fg-textbtn--muted { color: var(--muted); }
.fg-iconbtn { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.fg-iconbtn svg { width: 18px; height: 18px; }

/* ---------- Form ---------- */
.fg-input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--border-2); background: rgba(0, 0, 0, .35); color: var(--text); font: 600 17px/1 var(--font); outline: none; transition: border-color .15s, box-shadow .15s; }
.fg-input::placeholder { color: var(--faint); font-weight: 500; }
.fg-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.fg-input--sm { min-height: 42px; font-size: 15px; }
.fg-input--code { text-transform: uppercase; letter-spacing: .3em; text-align: center; font-family: var(--display); font-size: 24px; }
.fg-inline-form { display: flex; gap: 8px; margin: 8px 0; }

/* ---------- Günlük kart ---------- */
.fg-daily { margin: 8px 0 26px; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(242, 181, 68, .16), rgba(242, 181, 68, .03) 55%), var(--bg-3); border: 1px solid rgba(242, 181, 68, .25); box-shadow: var(--shadow); }
.fg-daily__top { display: flex; justify-content: space-between; align-items: center; }
.fg-daily__timer { font-variant-numeric: tabular-nums; font-family: var(--display); font-size: 15px; color: var(--muted); background: rgba(0, 0, 0, .3); padding: 4px 9px; border-radius: 8px; }
.fg-daily__title { margin: 6px 0 4px; font-size: 26px; font-weight: 800; }
.fg-daily__text { color: var(--muted); margin: 0 0 14px; }
.fg-daily__stats { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.fg-daily__stats b { color: var(--text); }
.fg-daily.is-done .fg-daily__title { color: var(--accent); }

/* ---------- Mod kartları ---------- */
.fg-modes { display: grid; gap: 10px; }
.fg-mode { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; transition: background .15s, border-color .15s, transform .12s; min-height: 74px; }
.fg-mode:hover { background: var(--surface-2); border-color: var(--border-2); }
.fg-mode:active { transform: scale(.985); }
.fg-mode__icon { flex: 0 0 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 25px; background: rgba(0, 0, 0, .3); border: 1px solid var(--border); }
.fg-mode__body { display: flex; flex-direction: column; min-width: 0; }
.fg-mode__title { font-weight: 800; font-size: 16.5px; }
.fg-mode__text { color: var(--muted); font-size: 14px; }
.fg-mode__arrow { width: 20px; height: 20px; margin-left: auto; color: var(--faint); flex: none; }
.fg-mode.is-locked { opacity: .5; cursor: default; }
.fg-badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--surface-3); color: var(--muted); white-space: nowrap; }

/* ---------- Çipler / sekmeler ---------- */
.fg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fg-chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin: 12px 0; }
.fg-chips--scroll::-webkit-scrollbar { display: none; }
.fg-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; color: var(--text); }
.fg-chip small { color: var(--faint); font-weight: 600; }
.fg-chip:hover { border-color: var(--border-2); }
.fg-chip.is-active { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.fg-tag { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: rgba(83, 252, 24, .12); color: #7dff5a; margin-left: 4px; }
.fg-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.fg-tab { min-height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.fg-tab.is-active { background: var(--surface-3); color: var(--text); }

/* ---------- Liderlik ---------- */
.fg-lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fg-lb__row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 8px; padding: 0 14px; min-height: 52px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); }
.fg-lb__row.is-me { border-color: var(--accent); background: var(--accent-soft); }
.fg-lb__rank { font-family: var(--display); font-size: 17px; color: var(--muted); text-align: center; }
.fg-lb__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-lb__score { font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; color: var(--accent); }
.fg-lb-me { margin: 10px 0; padding: 12px 14px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-2); font-weight: 700; text-align: center; }

/* ---------- FAQ ---------- */
.fg-faq { display: grid; gap: 8px; margin-top: 12px; }
.fg-faq__item { border-radius: 13px; background: var(--surface); border: 1px solid var(--border); padding: 0 16px; }
.fg-faq__item summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-weight: 700; list-style: none; }
.fg-faq__item summary::-webkit-details-marker { display: none; }
.fg-faq__item summary::after { content: "+"; margin-left: auto; color: var(--accent); font-size: 20px; }
.fg-faq__item[open] summary::after { content: "–"; }
.fg-faq__item p { margin: 0 0 14px; color: var(--muted); }

/* ==========================================================================
   OYUN SAHNESİ — tam ekran, kaydırmasız
   ========================================================================== */
.fg-stage {
	position: fixed; inset: 0; z-index: 60;
	display: flex; flex-direction: column;
	background:
		radial-gradient(900px 420px at 50% -120px, rgba(242, 181, 68, .12), transparent 70%),
		var(--bg);
	padding: env(safe-area-inset-top, 0px) 0 0;
	animation: fg-fade .2s ease-out;
}
@keyframes fg-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fg-stage__bar { display: grid; grid-template-columns: 38px 1fr auto 44px auto; align-items: center; gap: 10px; padding: 10px 14px 6px; max-width: 720px; width: 100%; margin: 0 auto; }
.fg-stage__mode { font-weight: 800; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-stage__progress { font-family: var(--display); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fg-stage__score { font-family: var(--display); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.fg-timer { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.fg-timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.fg-timer__track { fill: none; stroke: var(--surface-3); stroke-width: 3.5; }
.fg-timer__ring { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 0; transition: stroke .3s; }
.fg-timer span { font-family: var(--display); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fg-timer.is-low .fg-timer__ring { stroke: var(--bad); }
.fg-timer.is-low span { color: var(--bad); }
.fg-timer.is-idle { opacity: .35; }
.fg-dots { display: flex; gap: 4px; padding: 2px 14px 10px; max-width: 720px; width: 100%; margin: 0 auto; }
.fg-dot { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); }
.fg-dot.is-current { background: var(--text); }
.fg-dot.is-solved { background: var(--good); }
.fg-dot.is-failed { background: var(--bad); }

.fg-stage__body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 14px 14px; max-width: 720px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.fg-stage__body::-webkit-scrollbar { width: 0; }

/* İpucu kartları (delil dosyası) */
.fg-pot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 0 2px; }
.fg-pot b { color: var(--accent); font-family: var(--display); font-size: 17px; font-variant-numeric: tabular-nums; }
.fg-clue { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); padding: 12px 14px 12px 16px; animation: fg-clue-in .35s cubic-bezier(.2, .8, .2, 1); }
.fg-clue::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--faint); }
.fg-clue__label { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.fg-clue__text { font-size: 16px; line-height: 1.45; }
.fg-clue--current { background: linear-gradient(160deg, rgba(242, 181, 68, .12), rgba(255, 255, 255, .03)); border-color: rgba(242, 181, 68, .35); padding: 16px 16px 16px 18px; }
.fg-clue--current::before { background: var(--accent); }
.fg-clue--current .fg-clue__label { color: var(--accent); }
.fg-clue--current .fg-clue__text { font-size: 19px; font-weight: 600; }
.fg-clue--emoji .fg-clue__text { font-size: 42px; letter-spacing: .12em; text-align: center; line-height: 1.3; }
.fg-clue--current.fg-clue--emoji .fg-clue__text { font-size: 54px; }
.fg-clue__img { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: #000; margin-top: 4px; }
.fg-clue__img--poster { aspect-ratio: 2 / 3; max-height: 46vh; margin: 4px auto 0; }
.fg-clue__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .6s; }
@keyframes fg-clue-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.fg-history-toggle { align-self: center; font-size: 13px; }

/* Sonuç (doğru/yanlış) */
.fg-reveal { border-radius: var(--radius-lg); padding: 20px 18px; text-align: center; border: 1px solid var(--border); background: var(--surface); animation: fg-pop .35s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes fg-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.fg-reveal--good { background: linear-gradient(180deg, var(--good-soft), transparent); border-color: rgba(61, 220, 132, .35); }
.fg-reveal--bad { background: linear-gradient(180deg, var(--bad-soft), transparent); border-color: rgba(255, 95, 95, .3); }
.fg-reveal__status { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.fg-reveal--good .fg-reveal__status { color: var(--good); }
.fg-reveal--bad .fg-reveal__status { color: var(--bad); }
.fg-reveal__points { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1.1; margin-top: 2px; }
.fg-reveal__poster { width: 92px; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; margin: 14px auto 0; box-shadow: var(--shadow); }
.fg-reveal__label { margin-top: 12px; font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.fg-reveal__answer { font-family: var(--display); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-top: 2px; }
.fg-reveal__orig { color: var(--muted); font-size: 14px; margin-top: 2px; }
.fg-reveal__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fg-reveal__meta span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .3); color: var(--muted); }

/* Cevap alanı (başparmak bölgesi) */
.fg-answer { padding: 10px 14px calc(12px + var(--safe-b)); max-width: 720px; width: 100%; margin: 0 auto; border-top: 1px solid var(--border); background: rgba(11, 11, 15, .92); }
.fg-answer__row { display: flex; gap: 8px; }
.fg-answer__row .fg-btn { flex: none; min-height: 52px; padding: 0 18px; }
.fg-answer__extra { display: flex; justify-content: space-between; margin-top: 2px; }
.fg-answer__hint { min-height: 22px; font-size: 14px; font-weight: 700; text-align: center; margin-bottom: 6px; transition: color .2s; }
.fg-answer__hint.is-bad { color: var(--bad); }
.fg-answer__hint.is-close { color: var(--accent-2); }
.fg-answer.is-shake .fg-input { animation: fg-shake .38s; border-color: var(--bad); }
@keyframes fg-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.fg-answer--next .fg-answer__row .fg-input, .fg-answer--next .fg-answer__extra { display: none; }
.fg-answer--next .fg-answer__row .fg-btn { flex: 1; }

/* Oyun sonu */
.fg-result { text-align: center; padding: 10px 0 20px; }
.fg-result__title { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: .04em; margin: 6px 0; }
.fg-result__score { font-family: var(--display); font-size: 64px; font-weight: 800; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.fg-result__unit { color: var(--muted); font-weight: 700; letter-spacing: .14em; font-size: 13px; }
.fg-result__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.fg-stat { padding: 12px 6px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); }
.fg-stat b { display: block; font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums; }
.fg-stat span { font-size: 12px; color: var(--muted); }
.fg-result__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fg-result__actions .fg-btn--primary { grid-column: 1 / -1; min-height: 56px; font-size: 17px; text-transform: uppercase; }
.fg-result__answers { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; text-align: left; }
.fg-result__answers li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 8px 12px; border-radius: 10px; background: var(--surface); }
.fg-result__answers li.is-solved b { color: var(--good); }
.fg-result__answers li.is-failed b { color: var(--bad); }
.fg-achv { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 13px; background: var(--accent-soft); border: 1px solid rgba(242, 181, 68, .3); text-align: left; margin-top: 8px; animation: fg-pop .4s; }
.fg-achv__icon { font-size: 26px; }
.fg-achv b { display: block; }
.fg-achv span { font-size: 13px; color: var(--muted); }

/* Profil */
.fg-profile-head { display: flex; gap: 14px; align-items: center; margin: 26px 0 18px; }
.fg-profile-head__avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 34px; background: var(--accent-soft); border: 1px solid rgba(242, 181, 68, .3); flex: none; }
.fg-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fg-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.fg-badge-card { padding: 12px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); }
.fg-badge-card.is-locked { opacity: .38; filter: grayscale(1); }
.fg-badge-card i { font-style: normal; font-size: 24px; }
.fg-badge-card b { display: block; font-size: 14px; margin-top: 4px; }
.fg-badge-card span { font-size: 12.5px; color: var(--muted); }
.fg-history { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.fg-history li { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: 14px; }
.fg-history a { text-decoration: none; }

/* Toast */
.fg-toasts { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.fg-toast { padding: 12px 16px; border-radius: 13px; background: var(--bg-3); border: 1px solid var(--border-2); box-shadow: var(--shadow); font-weight: 600; font-size: 14.5px; animation: fg-fade .2s; pointer-events: auto; }
.fg-toast--error { border-color: rgba(255, 95, 95, .45); }
.fg-toast--good { border-color: rgba(61, 220, 132, .45); }

.fg-ad { margin: 26px 0; text-align: center; }

/* Konfeti (hafif, CSS) */
.fg-burst { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.fg-burst i { position: absolute; top: 40%; left: 50%; width: 8px; height: 14px; border-radius: 2px; animation: fg-burst 1s ease-out forwards; }
@keyframes fg-burst { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ---------- Geniş ekran ---------- */
@media (min-width: 760px) {
	body.fg-body { padding-bottom: 0; }
	.fg-tabbar { display: none; }
	.fg-nav { display: flex; }
	.fg-modes { grid-template-columns: 1fr 1fr; }
	.fg-container { max-width: 860px; }
	.fg-stats { grid-template-columns: repeat(4, 1fr); }
	.fg-stage { padding-top: 12px; }
	.fg-answer { border-top: 0; background: transparent; }
}
@media (max-width: 370px) {
	.fg-stage__bar { grid-template-columns: 34px 1fr auto 40px auto; gap: 6px; }
	.fg-stage__mode { font-size: 13px; }
	.fg-answer__row .fg-btn { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Kilitli ipuçları — puan merdiveni */
.fg-ladder { display: grid; gap: 6px; margin-top: 2px; }
.fg-ladder__item { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--border-2); color: var(--faint); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fg-ladder__item span:last-child { font-family: var(--display); letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   MULTIPLAYER ODASI
   ========================================================================== */
.fg-room { padding-bottom: 30px; }
.fg-room-entry { display: grid; gap: 14px; }
@media (min-width: 760px) { .fg-room-entry { grid-template-columns: 1fr 1fr; } }
.fg-panel { padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.fg-panel .fg-h2 { margin-bottom: 2px; }
.fg-room-name { max-width: 420px; margin: 34px auto; }
.fg-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.fg-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.fg-seg label { flex: 1; min-width: 70px; }
.fg-seg input { position: absolute; opacity: 0; pointer-events: none; }
.fg-seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0, 0, 0, .25); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.fg-seg input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }
.fg-seg input:focus-visible + span { outline: 2px solid var(--accent); }
.fg-bigcode { font-family: var(--display); font-size: 58px; font-weight: 800; letter-spacing: .18em; color: var(--accent); line-height: 1; margin: 4px 0 14px; padding-left: .18em; }
.fg-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fg-plist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.fg-plist li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; }
.fg-dotlive { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.fg-dotlive.is-on { background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.fg-tag--me { background: var(--accent-soft); color: var(--accent); }
.fg-countdown { display: grid; place-items: center; min-height: 52vh; text-align: center; }
.fg-countdown span { font-family: var(--display); font-size: 140px; font-weight: 800; color: var(--accent); line-height: 1; animation: fg-pop .5s; }
.fg-countdown p { color: var(--muted); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.fg-room-top { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; }
.fg-room-top .fg-eyebrow { margin: 0; }
.fg-room-code { font-family: var(--display); color: var(--faint); letter-spacing: .1em; }
.fg-timebar { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; margin-bottom: 12px; }
.fg-timebar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; }
.fg-room .fg-clue { margin-bottom: 8px; }
.fg-answer--room { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b)); width: auto; max-width: none; margin: 10px -16px; padding: 10px 16px; z-index: 5; border-top: 0; }
.fg-answered { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px; margin: 10px 0; border-radius: var(--radius); background: var(--good-soft); border: 1px solid rgba(61, 220, 132, .35); color: var(--good); font-weight: 800; font-size: 18px; }
.fg-answered b { font-family: var(--display); font-size: 26px; }
.fg-answered span { color: var(--muted); font-size: 13px; font-weight: 600; }
.fg-lb--room { margin-top: 12px; }
.fg-winners { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; text-align: left; }
.fg-winners li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .25); font-weight: 700; }
.fg-winners b { color: var(--accent); font-family: var(--display); }
.fg-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0; text-align: center; }
.fg-vs div { padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.fg-vs span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); }
.fg-vs b { font-family: var(--display); font-size: 34px; font-variant-numeric: tabular-nums; }
.fg-vs div:last-child b { color: #53fc18; }
.fg-vs div:first-child b { color: var(--accent); }
.fg-vs em { font-style: normal; font-family: var(--display); font-weight: 800; color: var(--faint); font-size: 20px; }
@media (min-width: 760px) { .fg-answer--room { position: static; margin: 10px 0; padding: 0; background: transparent; border: 0; } }

/* Yayıncı paneli */
.fg-steps { margin: 12px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.fg-steps b { color: var(--text); }
.fg-steps code, .fg-notice code { background: rgba(83, 252, 24, .1); color: #7dff5a; padding: 1px 6px; border-radius: 6px; }
.fg-btn--kick { background: #53fc18; color: #0b0b0f; border-color: transparent; box-shadow: 0 8px 26px rgba(83, 252, 24, .25); }
.fg-kick-logo { width: 64px; height: 64px; margin: 4px auto; border-radius: 16px; display: grid; place-items: center; background: #53fc18; color: #0b0b0f; font-family: var(--display); font-weight: 900; font-size: 34px; }
.fg-vs--big b { font-size: 44px; }
.fg-overlay-box { margin: 12px 0; }
.fg-copyline { display: flex; gap: 8px; align-items: center; }
.fg-copyline code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, .35); color: var(--muted); }

/* Kick kanal adıyla bağlanma */
.fg-kick-head { display: flex; gap: 14px; align-items: center; }
.fg-kick-head .fg-kick-logo { margin: 0; flex: none; width: 52px; height: 52px; font-size: 28px; }
.fg-kick-search { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.fg-kick-search .fg-input { flex: 1; min-width: 0; }
.fg-kick-prefix { color: var(--faint); font-weight: 700; font-size: 14px; white-space: nowrap; }
.fg-channel { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; margin-top: 12px; padding: 12px; border-radius: var(--radius); background: rgba(83, 252, 24, .06); border: 1px solid rgba(83, 252, 24, .3); }
.fg-channel__avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #53fc18; color: #0b0b0f; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 24px; }
.fg-channel__avatar img { width: 100%; height: 100%; object-fit: cover; }
.fg-channel__body { display: flex; flex-direction: column; min-width: 0; }
.fg-channel__body b { font-size: 17px; }
.fg-channel__body small { color: var(--muted); }
.fg-channel__body em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-live { font-size: 12.5px; font-weight: 800; color: var(--faint); }
.fg-live.is-live { color: #53fc18; }
.fg-setup { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.fg-quick ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; font-size: 14.5px; }
.fg-quick b { color: var(--text); }
.fg-quick code { background: rgba(83, 252, 24, .1); color: #7dff5a; padding: 1px 6px; border-radius: 6px; }
.fg-page-streamer .fg-panel + .fg-panel { margin-top: 14px; }

/* ==========================================================================
   KATALOG: kategoriler, yapım kartları, sayfalama, yapım sayfası
   ========================================================================== */
.fg-container--wide { max-width: 1120px; }
.fg-muted { color: var(--muted); font-size: 14px; }

/* Kategori kartları (afiş yelpazesi) */
.fg-catcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fg-catcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 14px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07)); border: 1px solid var(--border); text-decoration: none; overflow: hidden; transition: border-color .15s, transform .12s; }
.fg-catcard:hover { border-color: rgba(242, 181, 68, .45); }
.fg-catcard:active { transform: scale(.985); }
.fg-catcard__stack { position: absolute; top: 12px; right: 10px; height: 92px; width: 120px; }
.fg-catcard__stack img { position: absolute; top: 0; right: calc(var(--i) * 26px); width: 62px; height: 92px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); transform: rotate(calc((var(--i) - 1) * -6deg)); border: 1px solid rgba(255, 255, 255, .12); }
.fg-catcard__stack img:nth-child(1) { z-index: 3; }
.fg-catcard__stack img:nth-child(2) { z-index: 2; opacity: .85; }
.fg-catcard__stack img:nth-child(3) { z-index: 1; opacity: .7; }
.fg-catcard__name { position: relative; font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.15; margin-top: 70px; }
.fg-catcard__count { position: relative; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* Yapım kartları */
.fg-tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.fg-tgrid--row { grid-auto-flow: column; grid-auto-columns: 31%; grid-template-columns: none; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.fg-tgrid--row::-webkit-scrollbar { display: none; }
.fg-tgrid--row .fg-tcard { scroll-snap-align: start; }
.fg-tcard { display: flex; flex-direction: column; gap: 4px; text-decoration: none; min-width: 0; }
.fg-tcard__poster { position: relative; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--border); }
.fg-tcard__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fg-tcard:hover .fg-tcard__poster img { transform: scale(1.04); }
.fg-tcard__ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 34px; opacity: .5; }
.fg-tcard__rate { position: absolute; left: 6px; top: 6px; font-size: 11.5px; font-weight: 800; padding: 2px 7px; border-radius: 8px; background: rgba(0, 0, 0, .72); color: var(--accent-2); }
.fg-tcard__title { font-weight: 700; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fg-tcard__meta { font-size: 12px; color: var(--muted); }

/* Sayfalama */
.fg-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 26px 0 6px; }
.fg-pager__num, .fg-pager__btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.fg-pager__num.is-current { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.fg-pager__btn { color: var(--accent); }
.fg-pager__gap { color: var(--faint); padding: 0 4px; }

/* Yapım sayfası */
.fg-title { position: relative; }
.fg-title__backdrop { position: absolute; inset: 0 0 auto; height: 420px; background-size: cover; background-position: center 30%; opacity: .22; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.fg-title__head { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: end; padding-top: 22px; }
.fg-title__poster { aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--border-2); box-shadow: var(--shadow); }
.fg-title__poster img { width: 100%; height: 100%; object-fit: cover; }
.fg-title__h1 { font-family: var(--display); font-size: clamp(26px, 7vw, 44px); line-height: 1.05; margin: 0; font-weight: 800; }
.fg-title__orig { color: var(--muted); margin: 4px 0 0; }
.fg-title__award { margin: 8px 0 0; color: var(--accent-2); font-weight: 700; font-size: 14px; }
.fg-title__tagline { margin: 8px 0 0; color: var(--muted); font-style: italic; }
.fg-title__cta { margin-top: 14px; }
.fg-title__grid { display: grid; gap: 0 28px; }
.fg-title__overview { color: var(--text); font-size: 16px; line-height: 1.65; margin: 8px 0 22px; }
.fg-cast { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fg-cast li { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.fg-cast b { font-size: 14px; }
.fg-cast span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-facts { margin: 0; display: grid; gap: 1px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.fg-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 14px; background: var(--surface); }
.fg-facts dt { color: var(--muted); font-size: 13.5px; }
.fg-facts dd { margin: 0; font-weight: 600; font-size: 14.5px; }
.fg-quizbox { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(242, 181, 68, .14), rgba(242, 181, 68, .03)); border: 1px solid rgba(242, 181, 68, .3); }
.fg-quizbox .fg-h2 { margin-bottom: 4px; }
.fg-quizbox p { margin: 0; }

@media (min-width: 640px) {
	.fg-catcards { grid-template-columns: repeat(3, 1fr); }
	.fg-tgrid { grid-template-columns: repeat(4, 1fr); }
	.fg-tgrid--row { grid-auto-columns: 22%; }
}
@media (min-width: 900px) {
	.fg-catcards { grid-template-columns: repeat(4, 1fr); }
	.fg-tgrid { grid-template-columns: repeat(6, 1fr); }
	.fg-tgrid--row { grid-auto-columns: 15%; }
	.fg-title__head { grid-template-columns: 220px 1fr; gap: 28px; padding-top: 40px; }
	.fg-title__grid { grid-template-columns: 1.6fr 1fr; }
	.fg-cast { grid-template-columns: repeat(3, 1fr); }
}

.fg-select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; font-size: 15px; }
.fg-select option { background: var(--bg-3); color: var(--text); }
.fg-select:disabled { opacity: .5; }

/* Düzeltmeler: yatay satır ızgarası geniş ekran kuralına ezilmesin; katalog sayfalarında breadcrumb içerikle hizalı */
.fg-tgrid.fg-tgrid--row { grid-template-columns: none; }
.fg-page-title .fg-crumbs,
.fg-page-category .fg-crumbs,
.fg-page-categories .fg-crumbs { max-width: 1120px; }

/* ---------- Kategori kartları: başlık afişlerin altında, mobilde üst üste binmez ---------- */
.fg-catcard { min-height: 0; justify-content: flex-start; }
.fg-catcard__stack { top: 12px; right: 12px; height: 80px; width: 112px; }
.fg-catcard__stack img { width: 54px; height: 80px; right: calc(var(--i) * 24px); }
.fg-catcard__name { margin-top: 88px; font-size: 16px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); overflow-wrap: anywhere; }
@media (max-width: 380px) {
	.fg-catcard { padding: 12px; }
	.fg-catcard__stack { right: 8px; width: 100px; }
	.fg-catcard__stack img { right: calc(var(--i) * 20px); }
	.fg-catcard__name { font-size: 15px; }
}

/* ---------- Mod seçimi (oda / yayın kurulumu) ---------- */
.fg-seg--modes { display: grid; grid-template-columns: repeat(3, 1fr); }
.fg-seg--modes label { min-width: 0; }
.fg-seg--modes span { padding: 0 6px; font-size: 13.5px; word-spacing: 4px; }

/* ---------- Oyun öncesi kategori seçici ---------- */
.fg-stage.is-picking .fg-timer,
.fg-stage.is-picking [data-fg-progress],
.fg-stage.is-picking [data-fg-score],
.fg-stage.is-picking .fg-dots { visibility: hidden; }
.fg-pick { max-width: 640px; margin: 0 auto; padding: 8px 0 32px; }
.fg-pick__title { font-family: var(--display); font-size: 24px; font-weight: 800; margin: 4px 0 16px; text-align: center; }
.fg-pick__mix { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: var(--radius); border: 1px solid rgba(242, 181, 68, .45); background: linear-gradient(135deg, rgba(242, 181, 68, .16), rgba(242, 181, 68, .04)); color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: transform .12s, border-color .15s; }
.fg-pick__mix:hover { border-color: var(--accent); }
.fg-pick__mix:active { transform: scale(.985); }
.fg-pick__mix b { display: block; font-family: var(--display); font-size: 18px; }
.fg-pick__mix small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.fg-pick__icon { font-size: 30px; line-height: 1; }
.fg-pick__label { margin: 22px 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.fg-pick__grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fg-pick__grid .fg-chip { font: inherit; font-size: 14.5px; font-weight: 600; }

/* ---------- Oyundan çıkış uyarısı ---------- */
.fg-leave { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 6, 9, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fg-fade .18s ease-out; }
.fg-leave__card { width: 100%; max-width: 380px; padding: 26px 22px 16px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(242, 181, 68, .1), rgba(255, 255, 255, .02) 45%), #17171d; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); text-align: center; animation: fg-leave-pop .26s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes fg-leave-pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.fg-leave__emoji { font-size: 48px; line-height: 1; margin-bottom: 10px; animation: fg-leave-wobble 2.4s ease-in-out infinite; }
@keyframes fg-leave-wobble { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-8deg); } 30% { transform: rotate(6deg); } 45% { transform: rotate(0); } }
.fg-leave__title { font-family: var(--display); font-size: 21px; font-weight: 800; margin: 0 0 8px; }
.fg-leave__text { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.fg-leave__text b { color: var(--accent-2); white-space: nowrap; }
.fg-leave__quit { display: block; margin: 10px auto 0; padding: 8px 12px; color: var(--faint); font-size: 14px; }
.fg-leave__quit:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .fg-leave, .fg-leave__card, .fg-leave__emoji { animation: none; } }

/* ---------- Profil açılır kartı ---------- */
.fg-header__meta { position: relative; }
.fg-avatar { cursor: pointer; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.fg-avatar:hover, .fg-avatar[aria-expanded="true"] { border-color: rgba(242, 181, 68, .55); box-shadow: 0 0 0 3px rgba(242, 181, 68, .12); }
.fg-avatar.has-initial { background: linear-gradient(135deg, var(--accent), #e08a2c); color: var(--accent-ink); border-color: transparent; font-family: var(--display); font-weight: 800; font-size: 16px; }
.fg-pop { position: absolute; top: calc(100% + 12px); right: 0; width: 320px; z-index: 40; padding: 16px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(242, 181, 68, .08), transparent 40%), #17171d; box-shadow: 0 22px 60px rgba(0, 0, 0, .6); animation: fg-pop-in .18s ease-out; transform-origin: top right; }
.fg-pop[hidden] { display: none; }
@keyframes fg-pop-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.fg-pop::before { content: ""; position: absolute; top: -7px; right: 13px; width: 12px; height: 12px; background: #1b1a1d; border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.fg-pop__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fg-pop__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #e08a2c); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 22px; }
.fg-pop__who { min-width: 0; }
.fg-pop__who b { display: block; font-family: var(--display); font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-pop__who small { color: var(--muted); font-size: 13px; }
.fg-pop__form .fg-label { margin-top: 0; }
.fg-pop__row { display: flex; gap: 8px; }
.fg-pop__row .fg-input { flex: 1; min-width: 0; min-height: 44px; }
.fg-pop__row .fg-btn { flex: none; min-height: 44px; padding: 0 14px; }
.fg-pop.is-new .fg-pop__row .fg-input { border-color: rgba(242, 181, 68, .55); }
.fg-pop__hint { display: block; margin-top: 6px; color: var(--faint); font-size: 12.5px; line-height: 1.4; }
.fg-pop__hint.is-bad { color: #ff7a7a; }
.fg-pop__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0 12px; }
.fg-pop__stat { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--border); }
.fg-pop__stat b { display: block; font-family: var(--display); font-size: 17px; font-variant-numeric: tabular-nums; }
.fg-pop__stat span { color: var(--muted); font-size: 12px; }
.fg-pop__stat.is-loading b, .fg-pop__stat.is-loading span { display: block; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.fg-pop__stat.is-loading span { width: 60%; margin-top: 4px; }
.fg-pop__more { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 12px; border: 1px solid var(--border); color: var(--accent-2); font-weight: 700; text-decoration: none; }
.fg-pop__more:hover { border-color: rgba(242, 181, 68, .5); background: var(--accent-soft); }
@media (max-width: 560px) {
	.fg-pop { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; }
	.fg-pop::before { right: 24px; }
}
@media (prefers-reduced-motion: reduce) { .fg-pop { animation: none; } }

/* ---------- Profil sayfası (Dedektif Dosyası) ---------- */
.fg-prof { max-width: 880px; }
.fg-prof__hero { position: relative; overflow: hidden; margin: 22px 0 12px; padding: 22px 18px 18px; border-radius: 24px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(242, 181, 68, .14), rgba(242, 181, 68, .02) 55%), #141419; }
.fg-prof__beam { position: absolute; inset: -40% -10% auto auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 181, 68, .18), transparent 65%); pointer-events: none; }
.fg-prof__id { position: relative; display: flex; align-items: center; gap: 16px; }
.fg-prof__avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #e08a2c); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 34px; box-shadow: 0 10px 30px rgba(242, 181, 68, .25), 0 0 0 4px rgba(242, 181, 68, .12); }
.fg-prof__avatar.is-emoji { background: var(--accent-soft); font-size: 36px; box-shadow: 0 0 0 4px rgba(242, 181, 68, .1); }
.fg-prof__who { min-width: 0; }
.fg-prof__who .fg-eyebrow { margin: 0 0 4px; }
.fg-prof__name { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.1; }
.fg-prof__name [data-fg-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-prof__edit { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: rgba(0, 0, 0, .25); color: var(--muted); cursor: pointer; }
.fg-prof__edit:hover { color: var(--accent-2); border-color: rgba(242, 181, 68, .5); }
.fg-prof__edit svg { width: 16px; height: 16px; }
.fg-prof__meta { margin: 6px 0 0; color: var(--faint); font-size: 13px; }
.fg-prof__form { position: relative; margin-top: 16px; }
.fg-prof__level { position: relative; margin-top: 18px; }
.fg-prof__level-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.fg-prof__level-row b { font-family: var(--display); font-size: 17px; color: var(--accent-2); }
.fg-prof__level-row span { color: var(--muted); font-size: 12.5px; }
.fg-prof__bar { display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.fg-prof__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #e08a2c, var(--accent)); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.fg-prof__bar--thin { height: 6px; }
.fg-prof__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fg-prof__stats .fg-pop__stat { padding: 14px; border-radius: 16px; background: #141419; }
.fg-prof__stats .fg-pop__stat b { font-size: 21px; }
.fg-prof__stats .fg-pop__stat b i { font-style: normal; font-size: 17px; }
.fg-prof__count { color: var(--accent-2); font-family: var(--display); font-weight: 800; }
.fg-prof__favs { display: grid; gap: 8px; }
.fg-prof__fav { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: #141419; }
.fg-prof__fav-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); font-size: 20px; }
.fg-prof__fav b { display: block; font-size: 14.5px; margin-bottom: 6px; }
.fg-prof__fav small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.fg-prof__badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.fg-prof__badge { padding: 14px 12px; border-radius: 16px; border: 1px solid var(--border); background: #121216; text-align: center; opacity: .55; }
.fg-prof__badge i { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%; font-style: normal; font-size: 22px; background: rgba(255, 255, 255, .05); filter: grayscale(1); }
.fg-prof__badge b { display: block; font-size: 14px; }
.fg-prof__badge span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.fg-prof__badge.is-on { opacity: 1; border-color: rgba(242, 181, 68, .35); background: linear-gradient(180deg, rgba(242, 181, 68, .1), transparent 70%), #141419; }
.fg-prof__badge.is-on i { filter: none; background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(242, 181, 68, .12), 0 6px 18px rgba(242, 181, 68, .18); }
.fg-prof__history { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fg-prof__history a:not(.fg-btn) { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: #141419; text-decoration: none; color: var(--text); transition: border-color .15s, transform .12s; }
.fg-prof__history a:not(.fg-btn):hover { border-color: rgba(242, 181, 68, .45); }
.fg-prof__history a:not(.fg-btn):active { transform: scale(.99); }
.fg-prof__h-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); font-size: 19px; }
.fg-prof__h-main { min-width: 0; }
.fg-prof__h-main b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-prof__h-main small, .fg-prof__h-score small { color: var(--faint); font-size: 12px; }
.fg-prof__h-score { text-align: right; min-width: 92px; }
.fg-prof__h-score b { display: block; font-family: var(--display); font-size: 17px; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.fg-prof__h-score .fg-prof__bar { margin-top: 5px; }
.fg-prof__empty { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border-radius: 18px; border: 1px dashed var(--border-2); text-align: center; }
.fg-prof__empty > span { font-size: 34px; }
.fg-prof__empty small { color: var(--muted); max-width: 320px; }
.fg-prof__empty .fg-btn { margin-top: 8px; }
@media (min-width: 720px) {
	.fg-prof__hero { padding: 28px 28px 24px; }
	.fg-prof__avatar { width: 92px; height: 92px; font-size: 40px; }
	.fg-prof__name { font-size: 34px; }
	.fg-prof__stats { grid-template-columns: repeat(3, 1fr); }
	.fg-prof__badges { grid-template-columns: repeat(4, 1fr); }
	.fg-prof__form { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) { .fg-prof__bar i { transition: none; } }
/* Rozetler: mobilde kompakt yatay kartlar */
@media (max-width: 719px) {
	.fg-prof__badge { display: flex; align-items: center; gap: 10px; padding: 10px; text-align: left; }
	.fg-prof__badge i { flex: none; width: 38px; height: 38px; margin: 0; font-size: 18px; }
	.fg-prof__badge b { font-size: 13.5px; }
	.fg-prof__badge span { font-size: 11.5px; margin-top: 1px; }
}
.fg-prof__badge-txt { min-width: 0; }

/* ---------- Takma ad kontrolü ---------- */
.fg-pop__hint.is-good { color: #5fd38d; }
.fg-namechips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fg-namechip { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(242, 181, 68, .45); background: var(--accent-soft); color: var(--accent-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fg-namechip:hover { background: rgba(242, 181, 68, .22); }

/* ---------- Bağlantı durumu rozeti (multiplayer) ---------- */
.fg-netpill { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; line-height: 1.35; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); animation: fg-fade .2s ease-out; }
.fg-netpill[hidden] { display: none; }
.fg-netpill.is-warn { background: #3a2c10; color: #ffd27a; border: 1px solid rgba(242, 181, 68, .45); }
.fg-netpill.is-bad { background: #3a1416; color: #ffb3b3; border: 1px solid rgba(255, 110, 110, .45); }
.fg-netpill.is-slow { background: #24242c; color: var(--muted); border: 1px solid var(--border-2); }
.fg-netpill.is-good { background: #12301f; color: #7fe0a6; border: 1px solid rgba(95, 211, 141, .45); }
.fg-netpill__spin { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: fg-spin .8s linear infinite; }
@keyframes fg-spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .fg-netpill { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .fg-netpill__spin { animation: none; } }

/* ---------- Oyun modu seçici ---------- */
.fg-pick--modes { max-width: 720px; }
.fg-mpick__grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.fg-mpick { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--border); background: #141419; color: var(--text); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .15s, transform .12s, background .15s; }
.fg-mpick:hover { border-color: rgba(242, 181, 68, .5); background: #18181e; }
.fg-mpick:active { transform: scale(.985); }
.fg-mpick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fg-mpick__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--accent-soft); }
.fg-mpick__body { min-width: 0; flex: 1; }
.fg-mpick__body b { display: block; font-family: var(--display); font-size: 17px; }
.fg-mpick__body small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.fg-mpick__tag { flex: none; align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-style: normal; font-size: 11px; font-weight: 700; }
.fg-mpick.is-last { border-color: rgba(242, 181, 68, .45); }
.fg-mpick.is-off { opacity: .45; cursor: not-allowed; }
.fg-mpick--daily { margin-bottom: 10px; border-color: rgba(242, 181, 68, .45); background: linear-gradient(135deg, rgba(242, 181, 68, .16), rgba(242, 181, 68, .03)), #141419; }
.fg-mpick--daily .fg-mpick__icon { background: rgba(242, 181, 68, .25); }
.fg-mpick--link .fg-mpick__icon { background: rgba(255, 255, 255, .06); }
.fg-pick__back { display: inline-flex; align-items: center; min-height: 36px; margin-bottom: 4px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.fg-pick__back:hover { color: var(--text); border-color: var(--border-2); }
@media (min-width: 640px) {
	.fg-mpick__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobil klavye: ipucu her zaman görünür ---------- */
/* Oyun ekranı tarayıcının görünür alanına (klavyenin üstü) oturur; --vvh/--vvt core.js'ten gelir */
.fg-stage { inset: auto 0 auto 0; top: var(--vvt, 0px); height: var(--vvh, 100dvh); }
@supports not (height: 100dvh) { .fg-stage { height: var(--vvh, 100vh); } }
html.fg-kb .fg-stage { padding-top: 0; animation: none; }
html.fg-kb .fg-stage__bar { padding: 6px 12px 4px; }
html.fg-kb .fg-stage .fg-dots,
html.fg-kb .fg-stage .fg-ladder,
html.fg-kb .fg-stage .fg-pot,
html.fg-kb .fg-stage__body > .fg-clue:not(.fg-clue--current),
html.fg-kb .fg-stage__body > .fg-textbtn { display: none; }
html.fg-kb .fg-stage__body { padding-top: 0; padding-bottom: 6px; }
html.fg-kb .fg-stage .fg-answer { padding-bottom: 8px; }

/* Oda ve yayıncı: cevap kutusuna dokununca soru alanı görünür alana sabitlenir */
html.fg-kb .fg-rq:focus-within { position: fixed; left: 0; right: 0; top: var(--vvt, 0px); height: var(--vvh, 100dvh); z-index: 75; display: flex; flex-direction: column; padding: 8px 12px; background: var(--bg); }
html.fg-kb .fg-rq:focus-within .fg-room-top { margin: 0 0 6px; }
html.fg-kb .fg-rq:focus-within .fg-timebar { margin-bottom: 8px; }
html.fg-kb .fg-rq:focus-within .fg-rq__clues { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
html.fg-kb .fg-rq:focus-within .fg-rq__clues > .fg-clue:not(.fg-clue--current) { display: none; }
html.fg-kb .fg-rq:focus-within .fg-answer--room { position: static; margin: 6px 0 0; padding: 0; background: transparent; }

/* Klavye açıkken ipucu sıkılaşır: metin küçülür, görseller görünür alanın %40'ını aşmaz */
html.fg-kb .fg-clue--current { padding: 10px 12px 10px 14px; animation: none; }
html.fg-kb .fg-clue--current .fg-clue__text { font-size: 16px; }
html.fg-kb .fg-clue--current.fg-clue--emoji .fg-clue__text { font-size: 38px; }
html.fg-kb .fg-clue__img { max-height: calc(var(--vvh, 100vh) * .34); }
html.fg-kb .fg-clue__img--poster { max-height: calc(var(--vvh, 100vh) * .3); }

/* ---------- Çok oyunculu: ipucu çubuğu ---------- */
.fg-cluebar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
.fg-cluebar__time { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.fg-cluebar__time b { color: var(--text); font-family: var(--display); font-variant-numeric: tabular-nums; }
.fg-cluebar__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(242, 181, 68, .5); background: var(--accent-soft); color: var(--accent-2); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .12s, background .15s; }
.fg-cluebar__btn:hover { background: rgba(242, 181, 68, .24); }
.fg-cluebar__btn:active { transform: scale(.97); }
.fg-cluebar__btn:disabled { opacity: .6; cursor: default; }
.fg-cluebar__btn small { padding: 1px 7px; border-radius: 999px; background: rgba(0, 0, 0, .3); font-size: 12px; }
.fg-cluebar__wait { color: var(--good); font-size: 13.5px; font-weight: 700; }
html.fg-kb .fg-cluebar { margin: 6px 0 4px; }

/* ---------- Çok oyunculu: bekleme odası oyuncu kartları ---------- */
.fg-pcount { color: var(--muted); font-size: 14px; }
.fg-pcount b { color: var(--accent-2); font-family: var(--display); font-size: 17px; }
.fg-pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.fg-pcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: #141419; }
.fg-pcard.is-me { border-color: rgba(242, 181, 68, .45); }
.fg-pcard.is-new { animation: fg-pcard-in .6s cubic-bezier(.2, 1.4, .4, 1), fg-pcard-glow 2.4s ease-out; }
@keyframes fg-pcard-in { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fg-pcard-glow { 0% { box-shadow: 0 0 0 3px rgba(95, 211, 141, .55); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 141, 0); } }
.fg-pcard__av { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #e08a2c); color: var(--accent-ink); font-family: var(--display); font-weight: 800; font-size: 18px; }
.fg-pcard__dot { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #141419; background: var(--faint); }
.fg-pcard.is-on .fg-pcard__dot { background: #5fd38d; }
.fg-pcard__body { min-width: 0; }
.fg-pcard__body b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.fg-pcard__body small { color: var(--muted); font-size: 12.5px; }
.fg-pcard--empty { border-style: dashed; background: transparent; }
.fg-pcard--empty .fg-pcard__av { background: rgba(255, 255, 255, .06); color: var(--faint); animation: fg-pulse 1.8s ease-in-out infinite; }
@keyframes fg-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .fg-pcard.is-new, .fg-pcard--empty .fg-pcard__av { animation: none; } }

/* ---------- Alt bilgi: yasal bağlantılar ---------- */
.fg-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid var(--border); }
.fg-footer__legal a { color: var(--muted); font-size: 13px; text-decoration: none; }
.fg-footer__legal a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Yasal sayfalar ---------- */
.fg-doc { max-width: 760px; padding-bottom: 40px; }
.fg-doc__head { margin: 22px 0 18px; }
.fg-doc__title { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 1.15; }
.fg-doc__meta { margin: 8px 0 0; color: var(--faint); font-size: 13.5px; }
.fg-doc__lead { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.fg-doc__toc { margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: #141419; }
.fg-doc__toc b { display: block; margin-bottom: 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fg-doc__toc ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 24px; }
.fg-doc__toc li { margin: 3px 0; break-inside: avoid; }
.fg-doc__toc a { color: var(--accent-2); text-decoration: none; font-size: 14.5px; }
.fg-doc__toc a:hover { text-decoration: underline; }
.fg-doc__body { color: #d7d7de; font-size: 15.5px; line-height: 1.7; }
.fg-doc__body section { scroll-margin-top: 80px; }
.fg-doc__body h2 { margin: 30px 0 10px; font-family: var(--display); font-size: 21px; color: var(--text); }
.fg-doc__body p, .fg-doc__body ul, .fg-doc__body ol { margin: 0 0 12px; }
.fg-doc__body ul { padding-left: 20px; }
.fg-doc__body li { margin: 6px 0; }
.fg-doc__body a { color: var(--accent-2); }
.fg-doc__body code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); font-size: .9em; }
.fg-doc__body table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14px; display: block; overflow-x: auto; }
.fg-doc__body th, .fg-doc__body td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.fg-doc__body th { background: #141419; color: var(--muted); font-weight: 700; white-space: nowrap; }
.fg-page-page .fg-crumbs { max-width: 760px; }

/* ---------- İletişim ---------- */
.fg-contact { display: grid; gap: 14px; }
.fg-contact__row { display: grid; gap: 0 12px; }
.fg-textarea { min-height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.5; font: inherit; }
.fg-contact__note { margin: 10px 0 14px; color: var(--faint); font-size: 13px; }
.fg-contact__note a { color: var(--muted); }
.fg-contact__msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.fg-contact__msg.is-good { color: #5fd38d; }
.fg-contact__msg.is-bad { color: #ff7a7a; }
.fg-contact__side ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.fg-contact__side li { margin: 8px 0; }
.fg-contact__side li b { color: var(--text); }
.fg-contact__side a { color: var(--accent-2); }
.fg-contact__side .fg-h2 { margin-top: 0; }
.fg-contact__side .fg-h2 + p { margin: 4px 0 18px; font-size: 16px; }
.fg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 720px) {
	.fg-contact { grid-template-columns: 1.6fr 1fr; align-items: start; }
	.fg-contact__row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Oyun açıkken arkadaki sayfa gizli ---------- */
/* Oyun ekranı ya da klavyeyle yazılan soru alanı açıkken sayfanın geri kalanı görünmez ve tıklanamaz:
   iOS klavyesinin üstündeki saydam şeritten kategori kartları görünüp yanlışlıkla tıklanıyordu. */
body.fg-stage-open .fg-header,
body.fg-stage-open .fg-main,
body.fg-stage-open .fg-footer,
body.fg-stage-open .fg-tabbar,
body.fg-kb-lock .fg-header,
body.fg-kb-lock .fg-main,
body.fg-kb-lock .fg-footer,
body.fg-kb-lock .fg-tabbar { visibility: hidden; }
body.fg-stage-open .fg-stage,
body.fg-kb-lock .fg-rq { visibility: visible; }
body.fg-stage-open .fg-skip, body.fg-kb-lock .fg-skip { display: none; }

/* ---------- SSS: kalanlar "Tümünü görüntüle" ile açılır ---------- */
.fg-faq.is-collapsed .fg-faq__item--extra { display: none; }
.fg-faq__item p { line-height: 1.6; }
.fg-faq__more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; margin-top: 10px; border-radius: 13px; border: 1px dashed var(--border-2); background: transparent; color: var(--accent-2); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.fg-faq__more:hover { border-color: rgba(242, 181, 68, .5); background: var(--accent-soft); }
.fg-faq__more::after { content: "▾"; font-size: 13px; transition: transform .2s; }
.fg-faq__more[aria-expanded="true"]::after { transform: rotate(180deg); }
