/* Çengel Vakti web — aydınlık, modern tasarım. Mobilde uygulama düzeni, masaüstünde üç sütun (menü · içerik · canlı panel). */
:root {
  color-scheme: light;
  --bg: #F5F7FB; --bg-2: #EDF1F7; --card: #FFFFFF; --ink: #0F172A; --ink-2: #334155; --muted: #64748B; --line: #E6EAF1;
  --brand: #0EA5B7; --brand-d: #0B7F8F; --brand-l: #E6F7F9;
  --accent: #FF6A2B; --accent-d: #E5541A; --accent-l: #FFF1EA;
  --gold: #FFB020; --ok: #16A34A; --ok-l: #E9F9EF; --pink: #EC4899; --danger: #DC2626;
  --kb-bg: #E7EBF2; --key: #FFFFFF; --key-ink: #0F172A; --key-shadow: #C3CAD6;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --tab-h: calc(64px + var(--safe-b));
  --display: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --sh-1: 0 1px 2px rgba(15,23,42,.04), 0 6px 18px -10px rgba(15,23,42,.14);
  --sh-2: 0 2px 6px rgba(15,23,42,.05), 0 18px 40px -18px rgba(15,23,42,.25);
  --r: 20px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; color: var(--ink); font-family: var(--sans); -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
body { background: var(--bg) radial-gradient(1200px 600px at 100% -10%, rgba(14,165,183,.10), transparent 60%) no-repeat,
                  radial-gradient(900px 500px at -10% 0%, rgba(255,106,43,.07), transparent 60%) no-repeat; background-color: var(--bg); }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; padding: 0; }
input { font: inherit; color: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
body.oyunda { position: fixed; inset: 0; overflow: hidden; }
#app { min-height: 100%; }

/* ---------- ortak ---------- */
.dugme { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 18px; border-radius: 16px;
         font-weight: 800; font-size: 16px; transition: transform .12s, box-shadow .2s, background .2s; }
.dugme:active, .dugme-kucuk:active { transform: scale(.97); }
.dugme:disabled { opacity: .55; }
.ana-dugme { background: linear-gradient(180deg, #FF7A3D, var(--accent-d)); color: #fff; box-shadow: 0 10px 22px -10px rgba(229,84,26,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.ana-dugme:hover { box-shadow: 0 14px 26px -10px rgba(229,84,26,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.ana-dugme svg { width: 20px; height: 20px; }
.ikincil { background: var(--card); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.ikincil:hover { border-color: #D3DAE5; }
.dugme-kucuk { flex: none; padding: 9px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 13.5px; }
.baglanti { color: var(--muted); font-weight: 700; padding: 10px; }
.kucuk-not { color: var(--muted); font-size: 12.5px; text-align: center; margin: 6px 0 0; }
.kucuk-not a { color: var(--muted); }
.avatar { display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; flex: none; font-family: var(--display);
          width: 38px; height: 38px; font-size: 15px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 0 0 2px #fff; text-transform: uppercase; }
.avatar.buyuk { width: 92px; height: 92px; font-size: 38px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 0 0 4px #fff, var(--sh-2); }
.avatar.misafir { background: linear-gradient(160deg, #CBD5E1, #94A3B8) !important; }
.marka { display: flex; align-items: center; gap: 9px; font: 900 20px/1 var(--serif); letter-spacing: -0.3px; }
.marka img { border-radius: 9px; box-shadow: 0 3px 8px -2px rgba(14,165,183,.5); }
.marka i { color: var(--accent); }
.seviye-cubuk { height: 10px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.seviye-cubuk span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #22C3D6 60%, var(--gold));
                     transition: width .8s cubic-bezier(.2,.8,.2,1); }
.seviye-cubuk.ince { height: 6px; }

/* ---------- karşılama ---------- */
.karsila { background: var(--bg); }
.karsila-ana { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: #fff;
           background: radial-gradient(900px 500px at 80% 0%, #2BD4E6 0%, transparent 60%), linear-gradient(165deg, #12B3C6, #0B7F8F 60%, #075E6B); }
.karsila-ust { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
               padding: calc(var(--safe-t) + 40px) 24px 24px; overflow: hidden; }
.karsila-izgara { position: absolute; inset: -20%; transform: rotate(-9deg); opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.7) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(255,255,255,.7) 1.5px, transparent 1.5px);
  background-size: 54px 54px; mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 70%); }
.karsila-ikon { position: relative; border-radius: 28px; box-shadow: 0 22px 44px -14px rgba(0,0,0,.45); animation: suzul 4s ease-in-out infinite; }
@keyframes suzul { 50% { transform: translateY(-8px) rotate(-2deg); } }
.karsila-ad { position: relative; font: 900 44px/1 var(--serif); margin: 22px 0 10px; letter-spacing: -0.5px; }
.karsila-ad i { color: #FFD24A; }
.karsila-alt { position: relative; margin: 0; font-size: 17px; line-height: 1.5; opacity: .95; max-width: 360px; text-wrap: balance; }
.karsila-alt-panel { background: var(--card); color: var(--ink); border-radius: 28px 28px 0 0; padding: 26px 20px calc(var(--safe-b) + 18px);
                     display: grid; gap: 10px; max-width: 520px; width: 100%; margin: 0 auto; box-shadow: 0 -10px 30px rgba(0,0,0,.15); }
@media (min-width: 900px) {
  .karsila-ana { flex-direction: row; align-items: center; padding: 0 6vw; gap: 4vw; }
  .karsila-ust { padding: 40px; }
  .karsila-ikon { width: 150px; height: 150px; border-radius: 36px; }
  .karsila-ad { font-size: 64px; }
  .karsila-alt { font-size: 20px; max-width: 460px; }
  .karsila-alt-panel { width: 420px; flex: none; border-radius: 28px; padding: 34px 30px 24px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); }
  .karsila-alt-panel::before { content: "Başlayalım"; font: 800 26px var(--display); margin-bottom: 6px; }
}
/* tanıtım (karşılamanın altında; botlar için gerçek içerik) */
.tanitim { padding: 40px 16px calc(var(--safe-b) + 40px); color: var(--ink); }
.tanitim-ic { max-width: 860px; margin: 0 auto; }
.tanitim h2 { font: 900 clamp(24px, 5vw, 32px)/1.15 var(--display); letter-spacing: -.01em; margin: 34px 0 12px; }
.tanitim h2:first-child { margin-top: 0; }
.tanitim-giris { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; }
.tanitim a { color: var(--brand-d); font-weight: 700; }
.tanitim-kart { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .tanitim-kart { grid-template-columns: 1fr 1fr; } }
.tanitim-kart li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--sh-1); display: grid; gap: 4px; }
.tanitim-kart i { font-style: normal; font-size: 26px; }
.tanitim-kart b { font: 800 17px var(--display); }
.tanitim-kart span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.tanitim-adim { margin: 0; padding: 0; list-style: none; counter-reset: adim; display: grid; gap: 10px; }
.tanitim-adim li { counter-increment: adim; position: relative; padding: 14px 16px 14px 58px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; line-height: 1.5; color: var(--ink-2); }
.tanitim-adim li::before { content: counter(adim); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  font: 900 15px var(--display); color: #fff; background: linear-gradient(180deg, #19B9CB, var(--brand-d)); }
.tanitim-adim b { color: var(--ink); }
.tanitim-sss { display: grid; gap: 8px; }
.tanitim-sss details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; }
.tanitim-sss summary { cursor: pointer; padding: 15px 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tanitim-sss summary::-webkit-details-marker { display: none; }
.tanitim-sss summary::after { content: "+"; color: var(--brand); font: 900 20px/1 var(--display); }
.tanitim-sss details[open] summary::after { content: "–"; }
.tanitim-sss p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.6; }
.tanitim-alt { margin: 30px 0 0; text-align: center; color: var(--muted); font-size: 14px; line-height: 2; }

/* ---------- düzen ---------- */
.duzen { padding-bottom: var(--tab-h); }
.yan-menu, .liderler-kutu { display: none; }
.orta { min-width: 0; }
.sekme { max-width: 600px; margin: 0 auto; padding: calc(var(--safe-t) + 12px) 16px 28px; min-height: calc(100dvh - var(--tab-h)); }
.ust-cubuk { display: flex; align-items: center; justify-content: space-between; }
.avatar-dugme { border-radius: 50%; }
.avatar-dugme .avatar { width: 38px; height: 38px; font-size: 15px; }

/* selamlama + seviye halkası */
.selam { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 22px 0 16px; }
.tarih { margin: 0; color: var(--brand-d); font: 800 12.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.selam h1 { font: 800 32px/1.08 var(--display); margin: 6px 0 0; letter-spacing: -0.6px; }
.seviye-halka { position: relative; width: 76px; height: 76px; flex: none; display: grid; place-content: center; text-align: center;
                background: var(--card); border-radius: 50%; box-shadow: var(--sh-1); }
.seviye-halka svg { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); transform: rotate(-90deg); }
.seviye-halka circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.seviye-halka .iz, .mini-halka .iz { stroke: var(--bg-2); }
.seviye-halka .dolu { stroke: var(--brand); stroke-dasharray: 169.6; stroke-dashoffset: 169.6; transition: stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1); }
.seviye-halka b { font: 800 25px/1 var(--display); }
.seviye-halka small { font-size: 8.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }

/* durum şeridi → masaüstünde istatistik kartları */
.durum-seridi { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
                padding: 12px 6px; box-shadow: var(--sh-1); }
.durum-seridi > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 0 8px; min-width: 0; }
.durum-seridi > div + div { border-left: 1px solid var(--line); }
.durum-seridi .ikon { grid-row: span 2; font-size: 21px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #FFF4E5; }
.durum-seridi .yildiz { color: var(--gold); font-size: 22px; background: #FFF8E1; }
.durum-seridi b { font: 800 17px/1.1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.durum-seridi small { color: var(--muted); font-size: 12px; font-weight: 600; }
.mini-halka { grid-row: span 2; width: 36px; height: 36px; border-radius: 12px; background: var(--ok-l); display: grid; place-items: center; }
.mini-halka svg { width: 24px; height: 24px; transform: rotate(-90deg); }
.mini-halka circle { fill: none; stroke-width: 3.2; stroke-linecap: round; }
.mini-halka .iz { stroke: #CDEFD9; }
.mini-halka .dolu { stroke: var(--ok); stroke-dasharray: 56.5; stroke-dashoffset: 56.5; transition: stroke-dashoffset .6s; }

.misafir-kart { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: var(--r);
                background: linear-gradient(135deg, var(--accent-l), #FFF8E1); border: 1px solid #FFD9C4; }
.misafir-kart b { display: block; font-size: 14.5px; }
.misafir-kart span { display: block; color: var(--ink-2); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }

.bolum-baslik { font: 800 21px var(--display); margin: 26px 0 12px; display: flex; align-items: baseline; justify-content: space-between; letter-spacing: -.3px; }
.bolum-baslik small { font: 700 12.5px var(--sans); color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }

/* bulmaca kartları */
.kartlar { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kart { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px; border-radius: var(--r); background: var(--card);
        border: 1px solid var(--line); box-shadow: var(--sh-1); cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s;
        user-select: none; -webkit-user-select: none; }
.kart:hover { box-shadow: var(--sh-2); border-color: #D9E0EA; transform: translateY(-2px); }
.kart:active { transform: scale(.985); }
.kart.iskelet { height: 82px; background: linear-gradient(90deg, var(--card), var(--bg-2), var(--card)); background-size: 200% 100%;
                animation: parilti 1.2s linear infinite; cursor: default; box-shadow: none; }
@keyframes parilti { to { background-position: -200% 0; } }
.kart .no { position: relative; flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff;
            font: 800 24px/1 var(--display); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.3); overflow: hidden; }
.kart .no::after { content: ""; position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px); background-size: 13px 13px; }
.z1 { background: linear-gradient(150deg, #34D399, #059669); } .z2 { background: linear-gradient(150deg, #22D3EE, #0891B2); }
.z3 { background: linear-gradient(150deg, #818CF8, #4F46E5); } .z4 { background: linear-gradient(150deg, #FB923C, #EA580C); }
.z5 { background: linear-gradient(150deg, #F472B6, #DB2777); }
.kart .govde { flex: 1; min-width: 0; }
.kart .ad { font: 800 17.5px/1.2 var(--display); letter-spacing: -.2px; }
.kart .alt-bilgi { color: var(--muted); font-size: 13px; margin-top: 3px; }
.kart .zorluk { display: inline-flex; gap: 3px; margin-left: 7px; vertical-align: 2px; }
.kart .zorluk i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.kart .zorluk i.dolu { background: var(--accent); }
.kart .mini-cubuk { height: 5px; border-radius: 9px; background: var(--bg-2); margin-top: 9px; overflow: hidden; }
.kart .mini-cubuk span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #22C3D6); border-radius: inherit; }
.kart .durum { flex: none; font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 999px; background: linear-gradient(180deg, #FF7A3D, var(--accent-d)); color: #fff;
               box-shadow: 0 6px 14px -8px rgba(229,84,26,.8); }
.kart .durum.devam { background: linear-gradient(180deg, #19B9CB, var(--brand-d)); box-shadow: 0 6px 14px -8px rgba(11,127,143,.8); }
.kart.bitti .durum { background: none; box-shadow: none; color: var(--ok); padding: 0; text-align: right; line-height: 1.25; font: 800 16px var(--display); }
.kart.bitti .durum small { display: block; color: var(--gold); letter-spacing: 1px; font-size: 12px; }
.kart.bitti .durum em { display: block; font: 700 11.5px var(--sans); font-style: normal; color: var(--muted); }

.paylas-kutu { margin-top: 14px; }
.geri-sayim { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0; }
.geri-sayim b { color: var(--ink); font-variant-numeric: tabular-nums; font-family: var(--display); }

.kisa-siralama, .kutu { display: block; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.kisa-siralama { padding: 14px 16px 8px; margin-bottom: 14px; }
.ks-baslik, .kutu-baslik { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.ks-baslik b, .kutu-baslik b { font: 800 16px var(--display); }
.ks-baslik span, .kutu-baslik button { color: var(--brand-d); font-weight: 700; font-size: 13.5px; }
.kisa-siralama ol, .panel-liste { list-style: none; margin: 0; padding: 0; }
.kisa-siralama li, .panel-liste li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.kisa-siralama li:first-child, .panel-liste li:first-child { border-top: 0; }
.kisa-siralama li .avatar, .panel-liste li .avatar { width: 30px; height: 30px; font-size: 12px; box-shadow: none; }
.kisa-siralama li .m, .panel-liste li .m { width: 22px; text-align: center; font-size: 16px; font-weight: 800; color: var(--muted); font-family: var(--display); }
.kisa-siralama li b, .panel-liste li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kisa-siralama li em, .panel-liste li em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; font-family: var(--display); }
.kisa-siralama li.bos, .panel-liste li.bos { color: var(--muted); justify-content: center; padding: 12px 0 14px; text-align: center; }

.uygulama { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); text-decoration: none; color: #fff; overflow: hidden; position: relative;
            background: radial-gradient(400px 160px at 100% 0%, rgba(255,255,255,.22), transparent 60%), linear-gradient(135deg, #14B8CC, var(--brand-d) 70%); box-shadow: 0 14px 30px -16px rgba(11,127,143,.9); }
.uygulama img { border-radius: 14px; flex: none; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.uygulama div { flex: 1; min-width: 0; }
.uygulama b { display: block; font: 800 16.5px/1.2 var(--display); }
.uygulama span { display: block; font-size: 12.5px; opacity: .92; margin-top: 3px; }
.uygulama .appstore { flex: none; margin: 0; padding: 8px 13px; border-radius: 999px; background: #fff; color: var(--brand-d); font-weight: 800; font-size: 13px; opacity: 1; }
.alt { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }
.alt a { color: var(--muted); }

/* mobil sekme çubuğu */
.sekme-cubugu { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; height: var(--tab-h); padding: 6px 8px var(--safe-b);
                display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.85);
                backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); border-top: 1px solid var(--line); }
.sekme-cubugu button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
                       color: #94A3B8; font-size: 10.5px; font-weight: 700; min-width: 0; }
.sekme-cubugu button svg { width: 25px; height: 25px; transition: transform .2s; }
.sekme-cubugu button.secili { color: var(--brand-d); }
.sekme-cubugu button.secili svg { transform: translateY(-1px) scale(1.06); }
.sekme-cubugu .rozet { position: absolute; top: 4px; left: calc(50% + 8px); width: 10px; height: 10px; border-radius: 50%; background: var(--danger); border: 2px solid #fff; }

.sekme-baslik { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 16px; }
.sekme-baslik h1 { font: 800 32px var(--display); margin: 0; letter-spacing: -0.6px; }

/* ---------- sıralama ---------- */
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--bg-2); border-radius: 14px; padding: 4px; gap: 2px; }
.segment button { padding: 9px 4px; border-radius: 10px; font-weight: 700; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: .15s; }
.segment button.secili { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.podyum { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 10px; margin: 24px 0 12px; min-height: 40px; }
.podyum .p { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.podyum .p .avatar { width: 58px; height: 58px; font-size: 22px; box-shadow: 0 0 0 3px #fff, 0 8px 18px -8px rgba(15,23,42,.4); }
.podyum .p.bir .avatar { width: 76px; height: 76px; font-size: 29px; box-shadow: 0 0 0 4px #FFD24A, 0 10px 22px -8px rgba(15,23,42,.45); }
.podyum .tac { font-size: 24px; height: 28px; }
.podyum .p b { margin-top: 7px; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podyum .p em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--brand-d); font-variant-numeric: tabular-nums; font-family: var(--display); }
.podyum .kaide { width: 100%; margin-top: 8px; border-radius: 14px 14px 6px 6px; display: grid; place-items: center; color: #fff;
                 font: 800 24px var(--display); box-shadow: inset 0 -4px 0 rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.35); }
.podyum .bir .kaide { height: 80px; background: linear-gradient(170deg, #FFD24A, #F59E0B); }
.podyum .iki .kaide { height: 58px; background: linear-gradient(170deg, #CBD5E1, #94A3B8); }
.podyum .uc .kaide { height: 44px; background: linear-gradient(170deg, #FDBA74, #EA580C); }
.sira-liste { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.sira-liste:empty { display: none; }
.sira-liste li, .benim-sira { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.sira-liste li:first-child { border-top: 0; }
.sira-liste .no, .benim-sira .no { width: 26px; text-align: center; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; font-family: var(--display); }
.sira-liste .ad, .benim-sira .ad { flex: 1; min-width: 0; }
.sira-liste .ad b, .benim-sira .ad b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sira-liste .ad small, .benim-sira .ad small { color: var(--muted); font-size: 12px; font-weight: 600; }
.sira-liste .puan, .benim-sira .puan { font: 800 16px var(--display); font-variant-numeric: tabular-nums; }
.sira-liste li.ben { background: var(--brand-l); }
.sira-liste .avatar, .benim-sira .avatar { box-shadow: none; }
.benim-sira { position: sticky; bottom: calc(var(--tab-h) + 8px); margin-top: 12px; border: 1px solid #BDE9EF; border-radius: 16px; background: var(--brand-l); box-shadow: var(--sh-2); }
.sira-bos { text-align: center; color: var(--muted); padding: 28px 18px; line-height: 1.5; background: var(--card); border: 1px dashed #D3DAE5; border-radius: var(--r); margin: 14px 0; }
.sira-bos b { display: block; color: var(--ink); font: 800 18px var(--display); margin-bottom: 4px; }
.sira-bos .dugme { margin-top: 14px; }

/* ---------- sohbet ---------- */
.sohbet-sekme { display: flex; flex-direction: column; min-height: 0; }
.cevrimici { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.cevrimici i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.mesajlar { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 6px 2px 12px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.msj { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; animation: msjgel .25s ease-out; }
@keyframes msjgel { from { transform: translateY(8px); opacity: 0; } }
.msj .avatar { width: 30px; height: 30px; font-size: 12px; box-shadow: none; }
.msj .balon { background: var(--bg-2); border-radius: 18px 18px 18px 6px; padding: 7px 12px 8px; min-width: 0; }
.msj .ust { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; min-width: 0; font-size: 12.5px; font-weight: 800; margin-bottom: 1px; color: var(--ink-2); }
.msj .ust > * { flex: none; white-space: nowrap; line-height: 1.35; }
.msj .ust > .ad { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }   /* dar yerde sadece isim kısalır, rozetler asla taşmaz */
.msj .ust .plus-rozet { margin-left: 0; vertical-align: 0; }
.msj .ust .sev { font-size: 10.5px; font-variant-numeric: tabular-nums; color: var(--brand-d); font-weight: 800; padding: 1px 6px; border-radius: 99px; background: var(--brand-l); }
.msj .ust time { margin-left: auto; padding-left: 8px; color: var(--muted); font-weight: 600; font-size: 11px; }
.msj .metin { font-size: 15px; line-height: 1.38; word-wrap: break-word; overflow-wrap: anywhere; white-space: pre-wrap; }
.msj.ben { align-self: flex-end; flex-direction: row-reverse; }
.msj.ben .balon { background: linear-gradient(180deg, #19B9CB, var(--brand-d)); color: #fff; border-radius: 18px 18px 6px 18px; }
.msj.ben .ust { color: rgba(255,255,255,.95); }
.msj.ben .ust time { color: rgba(255,255,255,.8); }
.msj.ben .ust .sev { color: #fff; background: rgba(255,255,255,.2); }
.msj.ardisik { margin-top: -1px; } .msj.ardisik .avatar { visibility: hidden; } .msj.ardisik .ust { display: none; }
.msj-sistem { align-self: center; max-width: 92%; text-align: center; font-size: 13px; font-weight: 700; color: #B45309;
              background: #FFF8E1; border: 1px solid #FDE68A; padding: 7px 14px; border-radius: 999px; margin: 6px 0; animation: msjgel .25s; }
.gun-ayrac { align-self: center; color: var(--muted); font-size: 12px; font-weight: 700; margin: 10px 0 4px; background: var(--bg-2); padding: 3px 10px; border-radius: 99px; }
.mesaj-yaz, .mesaj-kilit { flex: none; display: flex; gap: 8px; align-items: center; padding: 10px 0; }
.mesaj-yaz input { flex: 1; min-width: 0; font-size: 16px; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); outline: none; transition: border-color .15s, box-shadow .15s; }
.mesaj-yaz input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14,165,183,.12); }
.mesaj-yaz button { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(180deg, #FF7A3D, var(--accent-d)); color: #fff; display: grid; place-items: center; flex: none;
                    box-shadow: 0 8px 16px -8px rgba(229,84,26,.8); }
.mesaj-yaz button svg { width: 21px; height: 21px; transform: translateX(-1px); }
.mesaj-kilit { justify-content: space-between; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; background: var(--accent-l); border: 1px solid #FFD9C4; font-weight: 700; font-size: 14px; }
.msj-sil { margin-left: 0; color: var(--danger); font-size: 11px; font-weight: 800; }

/* mobil: sağ panel = Sohbet sekmesi (tam sayfa) */
@media (max-width: 1099px) {
  .sag-panel { display: contents; }
  .sag-panel .liderler-kutu { display: none; }
  .sohbet-sekme { max-width: 600px; margin: 0 auto; height: calc(100dvh - var(--tab-h)); padding: calc(var(--safe-t) + 12px) 16px 0;
                  background: none; border: 0; box-shadow: none; border-radius: 0; }
  .sohbet-sekme .mesaj-yaz { padding-bottom: 12px; }
}

/* ---------- profil ---------- */
.profil-kart { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px 20px 20px; box-shadow: var(--sh-1);
               background-image: radial-gradient(500px 140px at 50% 0%, var(--brand-l), transparent 70%); }
.profil-kart .avatar { margin: 0 auto; }
.profil-kart h2 { font: 800 27px var(--display); margin: 14px 0 2px; letter-spacing: -.4px; }
.profil-alt { color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.profil-xp { color: var(--muted); font-size: 13px; margin: 9px 0 0; font-weight: 600; }
.istatistik { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.istatistik div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--sh-1); }
.istatistik b { display: block; font: 800 26px var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.istatistik small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.liste-grup { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.liste-grup a, .liste-grup button { display: flex; justify-content: space-between; width: 100%; padding: 15px 18px; text-decoration: none; color: var(--ink);
                                    font-weight: 600; border-top: 1px solid var(--line); text-align: left; }
.liste-grup a:hover, .liste-grup button:hover { background: var(--bg); }
.liste-grup > :first-child { border-top: 0; }
.liste-grup span { color: var(--muted); }
.tehlike { color: var(--danger) !important; }

/* ================= MASAÜSTÜ: menü · içerik · canlı panel ================= */
@media (min-width: 1100px) {
  .duzen { display: grid; grid-template-columns: 260px minmax(0, 1fr) 380px; min-height: 100vh; padding-bottom: 0; }
  .sekme-cubugu, .ust-cubuk, .kisa-siralama { display: none; }
  .yan-menu { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; padding: 26px 18px 20px;
              background: rgba(255,255,255,.7); border-right: 1px solid var(--line); backdrop-filter: blur(10px); }
  .buyuk-marka { font-size: 23px; padding: 0 8px 22px; }
  .yan-nav { display: grid; gap: 4px; }
  .yan-nav button, .yan-nav a { text-decoration: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 15px; color: var(--ink-2);
                    text-align: left; transition: background .15s, color .15s; }
  .yan-nav button svg, .yan-nav a svg { width: 22px; height: 22px; color: #94A3B8; }
  .yan-nav button:hover, .yan-nav a:hover { background: var(--bg-2); }
  .yan-nav button.secili { background: var(--brand-l); color: var(--brand-d); }
  .yan-nav button.secili svg { color: var(--brand); }
  .yan-bosluk { flex: 1; }
  .yan-uygulama { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--ink);
                  background: linear-gradient(135deg, var(--brand-l), #fff); border: 1px solid #CFEFF3; margin-bottom: 10px; }
  .yan-uygulama img { border-radius: 10px; }
  .yan-uygulama b { display: block; font-size: 13.5px; } .yan-uygulama span { display: block; color: var(--muted); font-size: 12px; }
  .yan-kullanici { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
                   text-align: left; box-shadow: var(--sh-1); }
  .yan-kullanici > div { flex: 1; min-width: 0; }
  .yan-kullanici b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
  .yan-kullanici small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin: 1px 0 6px; }

  .sekme { max-width: 980px; padding: 34px 40px 40px; min-height: 100vh; }
  .selam { margin: 6px 0 22px; }
  .selam h1 { font-size: 40px; }
  .seviye-halka { width: 92px; height: 92px; } .seviye-halka b { font-size: 30px; }
  .durum-seridi { gap: 14px; background: none; border: 0; box-shadow: none; padding: 0; }
  .durum-seridi > div { background: var(--card); border: 1px solid var(--line) !important; border-radius: var(--r); padding: 16px 18px; box-shadow: var(--sh-1); column-gap: 14px; }
  .durum-seridi .ikon, .mini-halka { width: 46px; height: 46px; border-radius: 14px; font-size: 24px; }
  .durum-seridi b { font-size: 24px; }
  .durum-seridi small { font-size: 13px; }
  .bolum-baslik { font-size: 24px; margin-top: 32px; }

  /* bulmacalar: ızgara karo */
  .kartlar { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 16px; }
  .kart { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
  .kart .no { width: 100%; height: 92px; border-radius: 0; font-size: 42px; justify-items: start; padding-left: 20px; }
  .kart .no::after { background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 20%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); opacity: .35; }
  .kart .govde { padding: 14px 18px 6px; }
  .kart .ad { font-size: 19px; }
  .kart .durum { margin: 8px 18px 18px; text-align: center; padding: 11px; border-radius: 14px; }
  .kart.bitti .durum { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 18px 16px; padding: 10px 12px; border-radius: 14px; background: var(--ok-l); font-size: 18px; }
  .kart.bitti .durum small, .kart.bitti .durum em { display: inline; }
  .kart.iskelet { height: 230px; }
  .paylas-kutu { max-width: 360px; }
  .uygulama { margin-top: 10px; }

  /* sağ panel */
  .sag-panel { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 16px; padding: 26px 22px 22px 6px; min-height: 0; }
  .liderler-kutu { display: block; padding: 16px 18px 10px; flex: none; }
  .kutu-baslik button:hover { text-decoration: underline; }
  .sohbet-sekme { display: flex !important; flex: 1; min-height: 0; padding: 16px 18px 6px; }
  .sohbet-ust { margin: 0 0 6px; }
  .sohbet-ust h1 { font-size: 20px; }
  .sohbet-sekme .mesaj-yaz { padding: 10px 0 12px; }
  .benim-sira { bottom: 16px; }
  .profil-kart, .istatistik, .liste-grup, #profil .misafir-kart { max-width: 640px; }
  .istatistik { grid-template-columns: repeat(4, 1fr); }
  #siralama .segment, #siralama .podyum, .sira-liste, .benim-sira, .sira-bos { max-width: 720px; }
}


/* ================= KÜTÜPHANE ================= */
.sekme-alt { color: var(--muted); margin: -6px 0 6px; font-size: 14.5px; line-height: 1.45; }
.geri-link { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-d); font-weight: 700; text-decoration: none; padding: 6px 0; margin-bottom: 6px; }
.geri-link:hover { text-decoration: underline; }

/* bugün ekranındaki kütüphane kısayolu */
.kutuphane-kisayol { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 14px; border-radius: var(--r); background: var(--card);
                     border: 1px solid var(--line); box-shadow: var(--sh-1); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .2s; }
.kutuphane-kisayol:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.kutuphane-kisayol > div:nth-child(2) { flex: 1; min-width: 0; }
.kutuphane-kisayol b { display: block; font: 800 16.5px var(--display); }
.kutuphane-kisayol span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.kutuphane-kisayol em { font-style: normal; font-size: 24px; color: var(--muted); }
.kk-kitaplar { display: flex; align-items: flex-end; gap: 3px; height: 44px; flex: none; }
.kk-kitaplar i { width: 11px; border-radius: 3px 3px 2px 2px; background: var(--r); box-shadow: inset -2px 0 0 rgba(0,0,0,.15); }
.kk-kitaplar i:nth-child(1) { height: 38px; } .kk-kitaplar i:nth-child(2) { height: 44px; } .kk-kitaplar i:nth-child(3) { height: 34px; }
.kk-kitaplar i:nth-child(4) { height: 41px; transform: rotate(8deg); transform-origin: bottom left; margin-left: 2px; }

/* önceki günler: yatay şerit */
.gunler-serit { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 -2px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gun-kart { flex: none; width: 168px; scroll-snap-align: start; padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
            box-shadow: var(--sh-1); cursor: pointer; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .2s; }
.gun-kart:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.gun-kart.iskelet { height: 116px; background: linear-gradient(90deg, var(--card), var(--bg-2), var(--card)); background-size: 200% 100%; animation: parilti 1.2s linear infinite; }
.gun-kart .gk-ust { color: var(--brand-d); font: 800 11.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.gun-kart b { display: block; font: 800 20px/1.15 var(--display); margin: 4px 0 2px; }
.gun-kart small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.gun-kart .gk-noktalar { display: flex; gap: 5px; margin-top: 12px; }
.gun-kart .gk-noktalar i { flex: 1; height: 7px; border-radius: 9px; background: var(--bg-2); }
.gun-kart .gk-noktalar i.tamam { background: var(--ok); }
.gun-kart .gk-noktalar i.yildiz { background: var(--gold); }
.gunler-bos { color: var(--muted); padding: 18px; border: 1px dashed #D3DAE5; border-radius: var(--r); background: var(--card); width: 100%; text-align: center; font-size: 14px; }

/* paketler: kitap kapakları */
.paketler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.paket-kart { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 16px 16px 14px 24px; border-radius: 10px 20px 20px 10px;
              color: #fff; text-decoration: none; overflow: hidden; cursor: pointer; transition: transform .18s, box-shadow .2s;
              background: radial-gradient(260px 140px at 100% 0%, rgba(255,255,255,.28), transparent 60%), linear-gradient(160deg, var(--p1), var(--p2));
              box-shadow: 0 12px 24px -14px var(--p2), inset 0 1px 0 rgba(255,255,255,.25); }
.paket-kart::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: rgba(0,0,0,.18); box-shadow: inset -2px 0 0 rgba(255,255,255,.18); }
.paket-kart::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px; opacity: .2; transform: rotate(-12deg);
  background-image: linear-gradient(rgba(255,255,255,.9) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.9) 2px, transparent 2px); background-size: 24px 24px; }
.paket-kart:hover { transform: translateY(-3px) rotate(-.4deg); }
.paket-kart.iskelet { background: linear-gradient(90deg, var(--card), var(--bg-2), var(--card)); background-size: 200% 100%; animation: parilti 1.2s linear infinite; box-shadow: none; }
.paket-kart .pk-no { font: 800 12px var(--sans); letter-spacing: .12em; opacity: .85; text-transform: uppercase; }
.paket-kart h3 { font: 900 22px/1.1 var(--serif); margin: 6px 0 4px; letter-spacing: -.3px; position: relative; z-index: 1; }
.paket-kart p { margin: 0; font-size: 13px; opacity: .9; position: relative; z-index: 1; }
.paket-kart .pk-alt { margin-top: auto; position: relative; z-index: 1; }
.paket-kart .pk-sayi { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; margin-bottom: 6px; }
.paket-kart .pk-cubuk { height: 6px; border-radius: 9px; background: rgba(255,255,255,.3); overflow: hidden; }
.paket-kart .pk-cubuk span { display: block; height: 100%; background: #fff; border-radius: inherit; }
.paket-kart.kilitli { filter: saturate(.7); box-shadow: 0 8px 18px -14px var(--p2); }
.paket-kart.kilitli .pk-kilit { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
                                 background: rgba(255,255,255,.66); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); color: var(--ink-2);
                                 text-align: center; padding: 14px; font-weight: 700; font-size: 13px; line-height: 1.35; }
.paket-kart.kilitli .pk-kilit svg { color: var(--p2); }
.paket-kart.kilitli .pk-kilit svg { width: 30px; height: 30px; }
.paket-kart.bitti .pk-no::after { content: " · ✓ Tamamlandı"; }

/* paket sayfası */
.paket-ust { position: relative; display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 24px; color: #fff; overflow: hidden; margin-bottom: 8px;
             background: radial-gradient(400px 200px at 100% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(150deg, var(--p1), var(--p2)); box-shadow: 0 16px 30px -18px var(--p2); }
.paket-ust .pu-kitap { flex: none; width: 64px; height: 84px; border-radius: 6px 12px 12px 6px; background: rgba(255,255,255,.22); box-shadow: inset 8px 0 0 rgba(0,0,0,.15);
                        display: grid; place-items: center; font: 900 28px var(--serif); }
.paket-ust h1 { font: 900 30px/1.05 var(--serif); margin: 0 0 4px; }
.paket-ust p { margin: 0 0 12px; opacity: .92; }
.paket-ust .pk-cubuk { height: 8px; border-radius: 9px; background: rgba(255,255,255,.3); overflow: hidden; max-width: 320px; }
.paket-ust .pk-cubuk span { display: block; height: 100%; background: #fff; }
.paket-ust small { display: block; margin-top: 6px; font-weight: 700; opacity: .9; }
.bolum { margin-top: 22px; }
.bolum-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bolum-ust b { font: 800 18px var(--display); }
.bolum-ust span { color: var(--muted); font-size: 13px; font-weight: 700; text-align: right; }
.bolum-ust span.tamam { color: var(--ok); }
.bulmaca-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bkart { position: relative; display: flex; flex-direction: column; border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden;
         box-shadow: var(--sh-1); cursor: pointer; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .2s; }
.bkart:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.bkart .bk-kapak { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.bkart .bk-kapak canvas { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(15,23,42,.18)); }
.bkart .bk-no { position: absolute; left: 8px; top: 8px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center;
                background: var(--p2, var(--brand)); color: #fff; font: 800 13px var(--display); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.bkart .bk-govde { padding: 10px 12px 12px; }
.bkart .bk-govde b { display: block; font: 800 15px var(--display); }
.bkart .bk-govde small { color: var(--muted); font-size: 12px; font-weight: 600; }
.bkart .bk-durum { margin-top: 6px; font-size: 12.5px; font-weight: 800; }
.bkart .bk-durum.tamam { color: var(--gold); letter-spacing: 1px; }
.bkart .bk-durum.devam { color: var(--brand-d); }
.bkart .bk-durum.yeni { color: var(--accent-d); }
.bkart.kilitli { cursor: not-allowed; }
.bkart.kilitli .bk-kapak canvas { filter: grayscale(1) opacity(.35); }
.bkart.kilitli .bk-kapak::after { content: "🔒"; position: absolute; font-size: 26px; }
.bkart.kilitli .bk-govde { opacity: .55; }
.bkart.cozuldu .bk-kapak::before { content: "✓"; position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff;
                                   display: grid; place-items: center; font-weight: 900; font-size: 14px; z-index: 1; }

@media (min-width: 700px) { .paketler { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bulmaca-izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .paketler { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
  .gun-kart { width: 180px; }
  .paket-ust { padding: 28px 30px; } .paket-ust h1 { font-size: 36px; }
}


/* ================= BAĞLILIK: seri uyarısı, devam, görevler, rozetler ================= */
.seri-uyari { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px 16px; border-radius: var(--r); font-size: 14px; line-height: 1.4;
              background: linear-gradient(135deg, #FFF1E6, #FFE4D2); border: 1px solid #FFC9A8; color: #9A3412; animation: titre 2.4s ease-in-out infinite; }
.seri-uyari b { display: block; font: 800 15.5px var(--display); color: #7C2D12; }
.seri-uyari .su-alev { font-size: 30px; flex: none; }
.seri-uyari.tamam { background: linear-gradient(135deg, var(--ok-l), #F0FDF4); border-color: #BBF7D0; color: #166534; animation: none; }
.seri-uyari.tamam b { color: #14532D; }
@keyframes titre { 0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.0); } 50% { box-shadow: 0 0 0 6px rgba(249,115,22,.10); } }
.devam-kart { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: var(--r); text-decoration: none; color: var(--ink);
              background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .15s, box-shadow .2s; }
.devam-kart:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.devam-kart .dk-ikon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 22px;
                       background: linear-gradient(150deg, #22D3EE, var(--brand-d)); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.devam-kart > div:nth-child(2) { flex: 1; min-width: 0; }
.devam-kart small { display: block; color: var(--brand-d); font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.devam-kart b { display: block; font: 800 16px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.devam-kart .seviye-cubuk { height: 6px; margin-top: 6px; }
.devam-kart em { font-style: normal; flex: none; padding: 9px 14px; border-radius: 999px; background: linear-gradient(180deg, #19B9CB, var(--brand-d)); color: #fff; font-weight: 800; font-size: 13.5px; }
.gorevler-kart { margin-top: 14px; padding: 15px 16px 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1);
                 background-image: radial-gradient(420px 120px at 100% 0%, #FFF4CC, transparent 70%); }
.gk-baslik { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.gk-baslik b { font: 800 16.5px var(--display); }
.gk-baslik span { color: var(--muted); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gorevler-kart ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gorevler-kart li { display: grid; grid-template-columns: 34px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.gorevler-kart li .gi { grid-row: span 2; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; background: var(--bg-2); }
.gorevler-kart li .ga { font-size: 14px; font-weight: 700; }
.gorevler-kart li .gx { grid-row: span 2; font: 800 12.5px var(--display); color: var(--accent-d); background: var(--accent-l); padding: 5px 9px; border-radius: 99px; white-space: nowrap; }
.gorevler-kart li .gc { height: 6px; border-radius: 9px; background: var(--bg-2); overflow: hidden; margin-top: 4px; }
.gorevler-kart li .gc span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .6s; }
.gorevler-kart li.tamam .gi { background: var(--ok-l); }
.gorevler-kart li.tamam .ga { color: var(--muted); text-decoration: line-through; }
.gorevler-kart li.tamam .gx { background: var(--ok-l); color: var(--ok); }
.gorevler-kart li.tamam .gc span { background: var(--ok); }
.gk-bonus { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }
.gk-bonus.tamam { color: var(--ok); }
.durum-seridi .koruma { margin-left: 4px; font: 800 11px var(--sans); color: #0369A1; background: #E0F2FE; padding: 1px 6px; border-radius: 99px; vertical-align: 2px; }
.sonuc-oduller { display: grid; gap: 6px; margin-top: 10px; }
.sonuc-oduller:empty { display: none; }
.odul { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; text-align: left; font-size: 13.5px; font-weight: 700;
        background: #F5F3FF; border: 1px solid #DDD6FE; color: #4C1D95; animation: zipla .45s cubic-bezier(.2,1.4,.4,1) both; }
.odul .oi { font-size: 20px; flex: none; }
.odul span { flex: 1; min-width: 0; }
.odul em { font-style: normal; flex: none; font: 800 12.5px var(--display); color: var(--accent-d); }
.odul.gorev { background: #FFF7ED; border-color: #FED7AA; color: #7C2D12; }
.odul.koruma { background: #F0F9FF; border-color: #BAE6FD; color: #0C4A6E; }
.rozet-bolum { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.rozet-bolum .kutu-baslik span { color: var(--muted); font-size: 13px; font-weight: 700; }
.seri-koruma-bilgi { margin: 2px 0 12px; color: #0369A1; font-size: 13px; font-weight: 700; }
.rozetler { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.rozet { text-align: center; padding: 10px 6px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.rozet .ri { width: 50px; height: 50px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; font-size: 25px;
             background: radial-gradient(circle at 35% 30%, #FFF7D1, #FBBF24); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 6px 14px -8px #D97706; }
.rozet b { display: block; font-size: 12.5px; line-height: 1.2; }
.rozet small { display: block; color: var(--muted); font-size: 11px; line-height: 1.25; margin-top: 2px; }
.rozet.kilitli .ri { background: var(--bg-2); filter: grayscale(1); opacity: .45; box-shadow: none; }
.rozet.kilitli b { color: var(--muted); }
@media (min-width: 1100px) { .rozet-bolum { max-width: 640px; } }


/* ================= EKONOMİ: altın, hediye, mağaza, Plus ================= */
.altin-ikon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; vertical-align: middle;
              background: radial-gradient(circle at 35% 30%, #FFF3B0 0 18%, #FFD24A 40%, #F59E0B 75%, #B45309 100%);
              box-shadow: inset 0 -2px 0 rgba(146,64,14,.45), inset 0 1px 1px rgba(255,255,255,.7), 0 1px 3px rgba(180,83,9,.35); }
.altin-ikon::after { content: "Ç"; font: 900 12px/1 var(--serif); color: #92400E; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.ust-sag { display: flex; align-items: center; gap: 8px; }
.altin-hap { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 6px; border-radius: 999px; text-decoration: none; color: var(--ink);
             background: var(--card); border: 1px solid #FDE68A; box-shadow: var(--sh-1); font: 800 15px var(--display); font-variant-numeric: tabular-nums; }
.altin-hap i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 15px; line-height: 1; }
.altin-hap.buyuk { margin: 14px 0 10px; padding: 9px 12px; border-radius: 16px; gap: 9px; font-size: 18px; justify-content: flex-start; }
.altin-hap.buyuk span:not(.altin-ikon) { color: var(--muted); font: 700 12.5px var(--sans); flex: 1; }
.altin-hap.buyuk .altin-ikon { width: 28px; height: 28px; } .altin-hap.buyuk .altin-ikon::after { font-size: 15px; }
.altin-hap.zipla { animation: hap .4s cubic-bezier(.2,1.6,.4,1); }
.nav-plus { margin-left: auto; font: 900 9.5px var(--sans); letter-spacing: .08em; padding: 3px 7px; border-radius: 99px; color: #fff;
            background: linear-gradient(135deg, #F59E0B, #EC4899 60%, #8B5CF6); }
.plus-rozet { display: inline-block; margin-left: 5px; font: 900 9.5px/1.4 var(--sans); letter-spacing: .06em; padding: 1px 6px; border-radius: 99px; color: #fff; vertical-align: 1px;
              background: linear-gradient(135deg, #F59E0B, #EC4899 60%, #8B5CF6); }
.avatar.plus { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #F59E0B !important; }

/* günlük hediye */
.hediye-kart { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: linear-gradient(135deg, #FFF7ED, #FFFBEB); border: 1px solid #FED7AA; box-shadow: var(--sh-1); }
.hk-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hk-ust b { display: block; font: 800 16px var(--display); } .hk-ust span { display: block; color: #9A3412; font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.hk-ust .dugme-kucuk { padding: 10px 18px; font-size: 14px; box-shadow: 0 8px 16px -8px rgba(229,84,26,.8); animation: titre 2s ease-in-out infinite; }
.hk-ust .dugme-kucuk:disabled { background: var(--ok); animation: none; box-shadow: none; }
.hk-gunler { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.hk-gunler li { text-align: center; padding: 6px 2px 5px; border-radius: 11px; background: rgba(255,255,255,.75); border: 1px solid #FDE7C7; font: 800 12px var(--display); color: #9A3412; }
.hk-gunler li .altin-ikon { width: 18px; height: 18px; display: grid; margin: 0 auto 3px; } .hk-gunler li .altin-ikon::after { font-size: 10px; }
.hk-gunler li small { display: block; font: 700 9.5px var(--sans); color: var(--muted); margin-top: 1px; }
.hk-gunler li.alindi { background: var(--ok-l); border-color: #BBF7D0; color: var(--ok); }
.hk-gunler li.bugun { background: #fff; border: 2px solid var(--accent); transform: translateY(-2px); box-shadow: 0 6px 14px -8px rgba(229,84,26,.7); }
.hk-gunler li:last-child { background: linear-gradient(160deg, #FEF3C7, #FDE68A); }

/* mağaza */
.kasa { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 24px; margin-bottom: 16px; color: #78350F;
        background: radial-gradient(400px 150px at 100% 0%, rgba(255,255,255,.6), transparent 60%), linear-gradient(135deg, #FEF3C7, #FDE68A 60%, #FBBF24); box-shadow: 0 14px 30px -18px #D97706; }
.kasa-ikon .altin-ikon { width: 64px; height: 64px; } .kasa-ikon .altin-ikon::after { font-size: 34px; }
.kasa b { display: block; font: 900 38px/1 var(--display); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.kasa span { font-weight: 700; opacity: .8; }
.plus-kart { position: relative; overflow: hidden; padding: 22px 20px 18px; border-radius: 26px; color: #fff; margin-bottom: 8px;
             background: radial-gradient(500px 220px at 100% 0%, rgba(255,255,255,.22), transparent 60%), linear-gradient(140deg, #1E1B4B, #4C1D95 45%, #9D174D 90%);
             box-shadow: 0 22px 44px -22px #4C1D95; }
.plus-kart::after { content: "✦"; position: absolute; right: -10px; top: -28px; font-size: 170px; opacity: .08; }
.plus-kart h2 { font: 900 28px var(--display); margin: 0 0 4px; letter-spacing: -.5px; }
.plus-kart h2 span, .plus-yazi { background: linear-gradient(90deg, #FDE68A, #F9A8D4, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plus-kart > p { margin: 0 0 14px; opacity: .85; font-size: 14px; }
.plus-ozellik { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.plus-ozellik li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.35; }
.plus-ozellik li i { font-style: normal; flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; background: rgba(255,255,255,.14); }
.plus-ozellik li b { display: block; font-size: 14.5px; }
.plus-ozellik li span { opacity: .75; font-size: 12.5px; }
.plus-planlar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan { position: relative; padding: 14px 12px 12px; border-radius: 18px; text-align: left; color: #fff; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.22); transition: .15s; }
.plan:hover { background: rgba(255,255,255,.16); }
.plan.oneri { background: rgba(255,255,255,.96); color: #3B0764; border-color: #FDE68A; box-shadow: 0 10px 24px -12px #000; }
.plan small { display: block; font-weight: 800; font-size: 12px; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.plan b { display: block; font: 900 22px var(--display); margin: 3px 0 1px; font-variant-numeric: tabular-nums; }
.plan span { display: block; font-size: 12px; opacity: .8; font-weight: 600; }
.plan em { position: absolute; top: -9px; right: 10px; font-style: normal; font: 900 10.5px var(--sans); padding: 3px 8px; border-radius: 99px; color: #fff;
           background: linear-gradient(135deg, #F59E0B, #EC4899); letter-spacing: .04em; }
.plus-aktif { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.12); font-weight: 700; }
.plus-aktif b { display: block; font-size: 15px; } .plus-aktif span { font-size: 12.5px; opacity: .8; font-weight: 600; }
.altin-paketler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.apaket { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px 12px; border-radius: 20px; background: var(--card);
          border: 1.5px solid var(--line); box-shadow: var(--sh-1); transition: transform .15s, box-shadow .2s; }
.apaket:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.apaket.vurgu { border-color: #FBBF24; }
.apaket .yigin { position: relative; height: 44px; width: 70px; }
.apaket .yigin .altin-ikon { position: absolute; width: 32px; height: 32px; } .apaket .yigin .altin-ikon::after { font-size: 17px; }
.apaket b { font: 900 20px var(--display); font-variant-numeric: tabular-nums; }
.apaket small { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: -3px; }
.apaket .fiyat-et { margin-top: 6px; padding: 7px 12px; border-radius: 999px; background: var(--accent-l); color: var(--accent-d); font: 800 13.5px var(--display); }
.apaket em { position: absolute; top: -9px; font-style: normal; font: 900 10.5px var(--sans); padding: 3px 8px; border-radius: 99px; background: var(--accent); color: #fff; white-space: nowrap; }
.kazan-kutu, .harca-kutu { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.kazan-kutu b, .harca-kutu b { font: 800 16px var(--display); }
.kazan-kutu ul, .harca-kutu ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.kazan-kutu li, .harca-kutu li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); }
.kazan-kutu li em, .harca-kutu li em { font-style: normal; font: 800 13.5px var(--display); color: var(--ok); white-space: nowrap; }
.harca-kutu li em { color: var(--accent-d); }
.profil-plus { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: var(--r); text-decoration: none; color: #fff;
               background: linear-gradient(140deg, #1E1B4B, #4C1D95 55%, #9D174D); box-shadow: 0 14px 28px -18px #4C1D95; }
.profil-plus .pp-amblem { font-size: 26px; } .profil-plus b { display: block; font: 800 16px var(--display); } .profil-plus span { display: block; font-size: 12.5px; opacity: .8; }
.profil-plus em { margin-left: auto; font-style: normal; padding: 8px 12px; border-radius: 99px; background: #fff; color: #4C1D95; font-weight: 800; font-size: 13px; white-space: nowrap; }

/* Plus perdesi */
.plus-sayfa { color: #fff; background: radial-gradient(500px 200px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(160deg, #1E1B4B, #4C1D95 55%, #831843) !important; text-align: center; }
.plus-sayfa .tutamak { background: rgba(255,255,255,.3); }
.plus-amblem { width: 64px; height: 64px; margin: 4px auto 6px; border-radius: 20px; display: grid; place-items: center; font-size: 34px; color: #fff;
               background: linear-gradient(135deg, #F59E0B, #EC4899 60%, #8B5CF6); box-shadow: 0 12px 26px -10px #EC4899; }
.plus-sayfa h3 { font: 900 26px var(--display); }
.plus-sayfa .not { color: rgba(255,255,255,.8); }
.plus-sayfa .plus-ozellik { text-align: left; }
.plus-sayfa .ikincil { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; margin-top: 12px; box-shadow: none; }
.altin-buyuk { text-align: center; margin: 6px 0 4px; } .altin-buyuk .altin-ikon { width: 60px; height: 60px; } .altin-buyuk .altin-ikon::after { font-size: 30px; }

/* ipucu menüsü */
.ipucu-bakiye { display: flex; align-items: center; justify-content: space-between; margin: -4px 0 12px; font-weight: 700; font-size: 14px; }
.ipucu-bakiye span { display: inline-flex; align-items: center; gap: 6px; }
.ipucu-bakiye em { font-style: normal; font-size: 12.5px; font-weight: 800; color: #6D28D9; background: #F3E8FF; padding: 4px 10px; border-radius: 99px; }
.secenek .fiyat { margin-left: auto; font-style: normal; display: inline-flex; align-items: center; gap: 5px; font: 800 13.5px var(--display); color: #92400E;
                  background: #FEF3C7; padding: 5px 10px 5px 6px; border-radius: 99px; width: auto; }
.secenek .fiyat::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF3B0, #F59E0B 70%, #B45309); }
.secenek .fiyat.bedava { background: #F3E8FF; color: #6D28D9; } .secenek .fiyat.bedava::before { display: none; }
.sonuc-altin { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 10px; border-radius: 14px; background: #FEF3C7;
               color: #92400E; font: 800 15px var(--display); animation: zipla .45s cubic-bezier(.2,1.4,.4,1) .7s both; }
.sonuc-altin small { font: 600 12px var(--sans); opacity: .8; }

/* kilitli Plus kartları */
.kart.plus-kilit .no { filter: saturate(.8); }
.kart.plus-kilit .durum { background: linear-gradient(135deg, #F59E0B, #EC4899 60%, #8B5CF6); box-shadow: 0 6px 14px -8px #EC4899; }
.gun-kart.plus-kilit { position: relative; }
.gun-kart.plus-kilit::after { content: "✦ PLUS"; position: absolute; top: 10px; right: 10px; font: 900 9.5px var(--sans); padding: 3px 7px; border-radius: 99px; color: #fff;
                              background: linear-gradient(135deg, #F59E0B, #EC4899 60%, #8B5CF6); }
.bolum-al { margin-left: 8px; padding: 6px 11px; border-radius: 99px; background: #FEF3C7; color: #92400E; font: 800 12.5px var(--display); display: inline-flex; align-items: center; gap: 5px; }
.bolum-al::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF3B0, #F59E0B 70%, #B45309); }
.paket-kart .pk-al { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: 99px;
                     background: #fff; color: #92400E; font: 800 13px var(--display); box-shadow: var(--sh-2); display: inline-flex; gap: 6px; align-items: center; }
.paket-kart .pk-al::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF3B0, #F59E0B 70%, #B45309); }
.msj.plus .ust > span:first-child { background: linear-gradient(90deg, #D97706, #DB2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
.msj.ben.plus .ust > span:first-child { background: none; color: #FEF3C7; }
.msj.plus .balon { box-shadow: inset 0 0 0 1.5px #FDE68A; }
@media (min-width: 1100px) { .altin-paketler { max-width: 640px; } .plus-kart, .kasa, .kazan-kutu, .harca-kutu { max-width: 640px; } }

/* ================= OYUN ================= */
#oyun { position: fixed; inset: 0; z-index: 6; display: flex; flex-direction: column; background: var(--bg-2);
        user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.oyun-ust { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(var(--safe-t) + 8px) 12px 8px; z-index: 2; }
.ikon-dugme { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.ikon-dugme:hover { border-color: #D3DAE5; }
.ikon-dugme:active { transform: scale(.94); }
.puan-hap { text-align: center; line-height: 1.1; background: var(--card); border: 1px solid var(--line); padding: 7px 20px; border-radius: 999px; min-width: 128px; box-shadow: var(--sh-1); }
.puan-hap b { display: block; font: 800 20px var(--display); font-variant-numeric: tabular-nums; }
.puan-hap .yildiz { color: var(--gold); }
.puan-hap small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 700; }
.puan-hap.zipla { animation: hap .35s cubic-bezier(.2,1.6,.4,1); }
@keyframes hap { 40% { transform: scale(1.12); } }
.kombo { position: absolute; left: 50%; top: calc(var(--safe-t) + 70px); z-index: 3; transform: translateX(-50%); pointer-events: none;
         background: linear-gradient(135deg, #FB923C, var(--pink)); color: #fff; font: 800 15px var(--display); letter-spacing: .06em;
         padding: 7px 15px; border-radius: 999px; box-shadow: 0 10px 22px -8px rgba(236,72,153,.8); animation: kombo 1.2s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes kombo { 0% { transform: translateX(-50%) scale(.4); opacity: 0; } 15% { transform: translateX(-50%) scale(1.15); opacity: 1; }
                   30% { transform: translateX(-50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) translateY(-10px); } }
.oyun-govde { flex: 1; min-height: 0; display: flex; }
.tuval-kap { position: relative; flex: 1; min-width: 0; overflow: hidden; }
#tuval { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; display: block; cursor: pointer; }
#tuval.surukle { cursor: grabbing; }
.zoom-kontrol { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; flex-direction: column; gap: 1px; border-radius: 14px; overflow: hidden;
                background: var(--line); box-shadow: var(--sh-2); }
.zoom-kontrol button { width: 42px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink-2);
                       backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .15s; }
.zoom-kontrol button:hover { background: #fff; color: var(--brand-d); }
.zoom-kontrol button:active { background: var(--brand-l); }
.zoom-kontrol svg { width: 20px; height: 20px; stroke-width: 2.4; }
@media (max-width: 700px) { .zoom-kontrol { right: 8px; bottom: 8px; } .zoom-kontrol button { width: 38px; height: 36px; } }
.soru-listesi { display: none; }
@media (min-width: 980px) and (pointer: fine), (min-width: 1100px) {
  .soru-listesi { display: block; width: 360px; flex: none; overflow-y: auto; background: var(--card); border-left: 1px solid var(--line); padding: 6px 0 24px; }
  .soru-listesi h4 { position: sticky; top: 0; margin: 0; padding: 14px 20px 8px; background: var(--card); font: 800 15px var(--display); z-index: 1; }
  .soru-listesi button { display: flex; gap: 10px; width: 100%; text-align: left; padding: 8px 20px; font-size: 14.5px; line-height: 1.3; color: var(--ink-2); }
  .soru-listesi button:hover { background: var(--bg); }
  .soru-listesi button small { color: var(--muted); flex: none; width: 22px; text-align: right; font-variant-numeric: tabular-nums; }
  .soru-listesi button.secili { background: #FFF4CC; color: var(--ink); }
  .soru-listesi button.bitti { color: #94A3B8; text-decoration: line-through; text-decoration-color: rgba(15,23,42,.2); }
}
.soru-cubugu { flex: none; display: flex; align-items: center; gap: 4px; padding: 6px; background: #FFF6D6; color: var(--ink);
               border-top: 1px solid #F5E7B2; min-height: 62px; }
.soru-cubugu .ok { width: 42px; height: 48px; display: grid; place-items: center; color: var(--accent-d); flex: none; }
.soru { flex: 1; min-width: 0; text-align: left; padding: 0 4px; }
.soru small { display: block; font-size: 12px; font-weight: 700; color: #92710C; }
.soru span { font: 700 18px/1.2 var(--serif); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.klavye { flex: none; background: var(--kb-bg); padding: 7px 3px calc(var(--safe-b) + 7px); }
.klavye .sira { display: flex; justify-content: center; gap: 5px; margin: 0 auto 7px; max-width: 640px; }
.klavye .sira:last-child { margin-bottom: 0; }
.tus { flex: 1 1 0; max-width: 58px; height: 50px; border-radius: 10px; background: var(--key); color: var(--key-ink); box-shadow: 0 1.5px 0 var(--key-shadow);
       font: 600 22px/1 var(--sans); display: grid; place-items: center; padding: 0; touch-action: none; }
.tus.genis { flex: 1.45 1 0; max-width: 84px; background: #D5DCE6; }
.tus.basili { transform: translateY(1px); box-shadow: none; background: #DDE3EC; }
@media (pointer: fine) and (min-width: 980px) { .klavye { display: none; } }
@media (max-height: 640px) { .tus { height: 42px; } .klavye .sira { margin-bottom: 6px; } .soru-cubugu { min-height: 52px; } }

/* ---------- perdeler ---------- */
.perde { position: fixed; inset: 0; z-index: 10; display: flex; align-items: flex-end; justify-content: center;
         background: rgba(15,23,42,.38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: belir .2s; }
.perde.orta { align-items: center; padding: 16px; }
@media (min-width: 700px) { .perde { align-items: center; } .sayfa { border-radius: 26px !important; } }
@keyframes belir { from { opacity: 0; } }
.sayfa { width: 100%; max-width: 480px; background: var(--card); border-radius: 26px 26px 0 0; padding: 10px 20px calc(var(--safe-b) + 20px);
         animation: kay .3s cubic-bezier(.2,.9,.2,1); max-height: 92dvh; overflow-y: auto; box-shadow: var(--sh-2); }
@keyframes kay { from { transform: translateY(40%); opacity: .4; } }
.tutamak { width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 14px; }
.sayfa h3 { font: 800 22px var(--display); margin: 0; }
.sayfa .not { color: var(--muted); margin: 8px 0 14px; font-size: 14px; }
.secenek { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; margin-bottom: 8px; border-radius: 14px;
           background: var(--bg); border: 1px solid var(--line); font-weight: 700; text-align: left; }
.secenek:hover { border-color: #D3DAE5; }
.secenek span { width: 28px; text-align: center; font-size: 18px; }
.secenek em { font-style: normal; }
.sayfa .ikincil { margin-top: 8px; }
.hesap-form .segment { margin-bottom: 4px; }
.alan { display: block; margin-bottom: 12px; }
.alan > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px 4px; }
.alan input { width: 100%; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.alan input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(14,165,183,.12); }
.sifre-kutu { position: relative; }
.sifre-kutu input { padding-right: 84px; }
.sifre-kutu button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 8px 10px; font-weight: 700; font-size: 13.5px; color: var(--brand-d); }
.hata { min-height: 20px; color: var(--danger); font-weight: 700; font-size: 14px; margin: 0 0 8px 4px; }

.sonuc-kart { position: relative; width: 100%; max-width: 400px; background: var(--card); border-radius: 30px; padding: 26px 22px 18px; box-shadow: var(--sh-2);
              text-align: center; overflow: hidden; animation: zipla .45s cubic-bezier(.2,1.4,.4,1); max-height: 94dvh; overflow-y: auto;
              background-image: radial-gradient(420px 160px at 50% 0%, #FFF4CC, transparent 70%); }
@keyframes zipla { from { transform: scale(.85); opacity: 0; } }
.sonuc-kart h2 { font: 800 34px var(--display); margin: 2px 0; letter-spacing: -.6px; }
.sonuc-ad { color: var(--muted); margin: 0 0 6px; font-weight: 600; }
.yildizlar { font-size: 44px; letter-spacing: 8px; margin-bottom: 8px; color: var(--gold); text-shadow: 0 4px 12px rgba(245,158,11,.35); }
.yildizlar .y { display: inline-block; animation: yildiz .5s cubic-bezier(.2,1.6,.4,1) both; }
.yildizlar .y.bos { filter: grayscale(1); opacity: .2; text-shadow: none; }
@keyframes yildiz { from { transform: scale(0) rotate(-40deg); } }
.dokum { text-align: left; background: var(--bg); border-radius: 16px; padding: 6px 12px; }
.dokum div { display: flex; justify-content: space-between; align-items: center; padding: 7px 2px; font-size: 15px; }
.dokum div span { color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.dokum div b { font-variant-numeric: tabular-nums; font-family: var(--display); }
.dokum .toplam { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; font-size: 17px; }
.dokum .toplam span { color: var(--ink); font-weight: 800; }
.dokum .toplam b { font: 800 24px var(--display); color: var(--accent-d); }
.sonuc-alt { color: var(--muted); font-size: 13px; font-weight: 600; margin: 10px 0; }
.sonuc-seviye { text-align: left; background: var(--brand-l); border-radius: 16px; padding: 11px 13px; }
.ss-ust { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 7px; }
.ss-ust b { font-family: var(--display); }
.ss-ust span { color: var(--ink-2); font-weight: 600; }
.sonuc-sira { margin-top: 10px; padding: 11px; border-radius: 16px; background: #FFF4CC; font-weight: 800; color: #92400E; }
.sonuc-kart .dugme { margin-top: 12px; }
.sonuc-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sonuc-ikili .dugme { margin-top: 8px; font-size: 15px; padding: 13px; }
.konfeti { position: absolute; inset: 0; pointer-events: none; }
.konfeti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: dus 1.6s ease-in forwards; }
@keyframes dus { to { transform: translateY(620px) rotate(540deg); opacity: 0; } }
.seviye-atladi { animation: seviye 1.2s ease-in-out; }
@keyframes seviye { 30% { transform: scale(1.08); color: var(--accent); } }

.tost { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 16px); transform: translate(-50%, 30px); z-index: 20; opacity: 0;
        background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
        transition: .25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; box-shadow: var(--sh-2); }
.tost.gorunur { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1100px) { .tost { bottom: 28px; } }
body.oyunda .tost { bottom: calc(var(--safe-b) + 250px); }
/* bir perde açıkken bildirim üstte çıksın (planların üstüne binmesin) */
.perde:not([hidden]) ~ .tost { bottom: auto; top: calc(var(--safe-t) + 14px); transform: translate(-50%, -30px); }
.perde:not([hidden]) ~ .tost.gorunur { transform: translate(-50%, 0); }

/* ---- Plus teklifleri: bağlama göre başlık, ilgili özellik öne çıkar ---- */
.plus-baslik { margin: 2px 0 2px; font: 900 19px/1.25 var(--display); color: #FDE68A; text-wrap: balance; }
.plus-baslik + h3 { font-size: 17px; opacity: .85; margin-top: 2px; }
.plus-perde-ikon, #plus-perde.teklif .plus-amblem { font-size: 32px; animation: amblem-gel .6s cubic-bezier(.2,1.5,.4,1); }
@keyframes amblem-gel { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }
.plus-ozellik li.vurgu { background: rgba(255,255,255,.13); border: 1px solid rgba(253,230,138,.45); border-radius: 14px; padding: 9px 10px; margin: 0 -4px 2px; }
.plus-ozellik li.vurgu i { background: linear-gradient(135deg, #FDE68A, #F9A8D4); color: #4C1D95; }
.plus-ozellik li.vurgu b { color: #FDE68A; }
#plus-perde.teklif .plus-ozellik { gap: 6px; }
.sonuc-plus { display: flex; width: 100%; align-items: center; gap: 10px; margin: 0 0 12px; padding: 11px 14px; border-radius: 16px; text-align: left; font: 700 13.5px/1.3 var(--sans);
  color: #fff; background: linear-gradient(120deg, #312E81, #6D28D9 55%, #BE185D); box-shadow: 0 8px 22px rgba(109,40,217,.28); }
.sonuc-plus i { font-style: normal; font-size: 18px; color: #FDE68A; }
.sonuc-plus span { flex: 1; } .sonuc-plus b { color: #FDE68A; }
.sonuc-plus em { font-style: normal; font-weight: 900; opacity: .8; }

.abonelik-yonet { margin-top: 12px; background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.28) !important; color: #fff !important; font-size: 14.5px; }

/* güvenli ödeme bilgisi */
.guvenli-odeme { display: flex; gap: 14px; align-items: flex-start; margin: 18px 0 8px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.go-ikon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--ok-l); }
.guvenli-odeme > div:last-child > b { display: block; font: 800 16.5px var(--display); margin-bottom: 4px; }
.guvenli-odeme p { margin: 0 0 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.guvenli-odeme ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.guvenli-odeme li::before { content: "✓ "; color: var(--ok); font-weight: 900; }
.guvenli-odeme a { color: var(--brand-d); font-weight: 700; }
.plus-guven { margin: 10px 0 0; font-size: 12.5px; color: rgba(255,255,255,.75); text-align: center; }
