/* Fetih menü merkezi (hub.js): profil şeridi, 3B logo, mod seçici, öne çıkanlar, menü düğmeleri, paneller, maç sonu ilerlemesi,
   oyun içi saldırı uyarısı ve lig rozetleri. style.css'ten sonra yüklenir. */
:root { --tc: #c58a55; }
.cn { display: inline-block; width: 1em; height: 1em; border-radius: 50%; flex: none; vertical-align: -0.14em; margin-right: .22em;
  background: radial-gradient(circle at 35% 30%, #fff3b0 0 18%, #ffd23f 19% 55%, #f0a800 56%); box-shadow: inset 0 0 0 .09em #c98a00; }
@keyframes bump { 30% { transform: scale(1.18); } }

/* profil şeridi */
.topRow:has(#prof[hidden]) { display: none; }
#prof { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
#prof button { border: 0; font: inherit; cursor: pointer; min-height: 44px; }
.lv { display: flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border-radius: 14px; background: #eef1f6; min-width: 0; }
.lv b { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 5px; border-radius: 11px; background: linear-gradient(180deg, #6d8bff, #4c6fff);
  color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 2px 0 #2e47b8; }
.xp { display: block; width: 46px; height: 8px; border-radius: 4px; background: #d7deea; overflow: hidden; }
.xp i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #6d8bff, #35b8ff); transition: width .6s; }
.tierChip { display: flex; align-items: center; gap: 5px; padding: 4px 11px 4px 7px; border-radius: 14px; color: #2a2a2a; font-size: 16px; font-weight: 700;
  background: color-mix(in srgb, var(--tc) 22%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tc) 55%, #fff); }
.tierChip span { font-size: 20px; line-height: 1; } .tierChip b { font-variant-numeric: tabular-nums; }
.coin { display: flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 14px; background: #fff6d8; color: #6b4b00; font-size: 16px; font-weight: 700; }
.coin b { font-variant-numeric: tabular-nums; } .coin.bump { animation: bump .5s cubic-bezier(.2, 1.6, .4, 1); }

/* 3B harf logosu (Land ile aynı aile; harf sayısına göre küçülür) */
.logo { display: flex; justify-content: center; gap: 5px; margin: 4px 0 2px; font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: 0;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; --sz: min(52px, calc((100cqi - 5px * var(--n, 5)) / var(--n, 5))); }
#menu .card { container-type: inline-size; }
.logo span { display: inline-grid; place-items: center; width: var(--sz); height: var(--sz); font-size: calc(var(--sz) * .7); border-radius: 13px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.15); }
.logo span:nth-child(5n+1) { background: #e8394b; box-shadow: 0 6px 0 #9e2231; transform: rotate(-6deg); }
.logo span:nth-child(5n+2) { background: #ff9f1c; box-shadow: 0 6px 0 #b86b00; transform: rotate(4deg) translateY(-3px); }
.logo span:nth-child(5n+3) { background: #ffc93c; box-shadow: 0 6px 0 #b78b18; transform: rotate(-3deg) translateY(2px); }
.logo span:nth-child(5n+4) { background: #1fa98c; box-shadow: 0 6px 0 #0f6655; transform: rotate(5deg); }
.logo span:nth-child(5n) { background: #4c6fff; box-shadow: 0 6px 0 #2e47b8; transform: rotate(-4deg) translateY(-2px); }

/* mod seçici: OYNA'nın hemen altında, ne oynayacağın tek bakışta */
.modeChip { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-radius: 14px; background: #f1f4f8; color: var(--ink);
  font: inherit; text-align: left; cursor: pointer; box-shadow: 0 3px 0 #dde3ec; margin-top: -2px; }
.modeChip > span:first-child { font-size: 22px; } .modeChip .mt { flex: 1; display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.modeChip b { font-size: 15px; } .modeChip small { font-size: 12px; color: var(--soft); font-weight: 600; } .modeChip i { font-style: normal; color: var(--soft); font-size: 14px; }
.modeChip:active { transform: translateY(2px); box-shadow: 0 1px 0 #dde3ec; }

/* öne çıkanlar: günlük harita + klan sezonu */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feat button { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 10px; min-height: 56px; border: 0; border-radius: 16px; font: inherit; text-align: left; cursor: pointer; color: #fff; }
.feat button span { font-size: 24px; } .feat button div { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.feat button b { font-size: 14px; } .feat button small { font-size: 11px; font-weight: 700; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat [data-m="daily"] { background: linear-gradient(135deg, #2bb5d8, #1f7fd1); box-shadow: 0 4px 0 #165a96; }
.feat [data-m="clan"] { background: linear-gradient(135deg, #6b3fd6, #d24fb4); box-shadow: 0 4px 0 #4a2a96; }
.feat button:active { transform: translateY(3px); box-shadow: none; }

/* menü düğmeleri (Land ile aynı) */
#metaRow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
#metaRow button { position: relative; border: 0; border-radius: 14px; background: #f1f4f8; min-height: 52px; padding: 5px 2px 4px; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--soft); box-shadow: 0 3px 0 #dde3ec; }
#metaRow button:active { transform: translateY(2px); box-shadow: 0 1px 0 #dde3ec; }
#metaRow span { font-size: 20px; line-height: 1.1; }
#metaRow small { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.badge { position: absolute; right: 4px; top: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: #fff;
  font-size: 11px; font-style: normal; font-weight: 700; line-height: 18px; animation: bump .6s cubic-bezier(.2, 1.6, .4, 1); }

/* giriş serisi */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; background: #f1f4f8; font-weight: 700; }
.day small { font-size: 11px; color: var(--soft); } .day b { font-size: 16px; }
.day.today { background: #fff6d8; box-shadow: inset 0 0 0 2px var(--gold); animation: bump 1.2s ease-in-out infinite; }
.day.done { background: #e6f7f2; opacity: .75; } .day.done b::after { content: ' ✓'; color: var(--go); }
.day.big { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; } .day.big > div { display: flex; flex-direction: column; align-items: flex-start; }

/* görevler */
.first { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, #fff3c4, #ffe28a); color: #5a4000; }
.first span { font-size: 24px; } .first div { display: flex; flex-direction: column; } .first b { font-size: 15px; } .first small { font-size: 12px; font-weight: 600; }
.first.used { background: #f1f4f8; color: var(--soft); }
.mis, .chest { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #f6f8fb; }
.mis > div, .chest > div { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mis b, .chest b { font-size: 14px; } .mis small { font-size: 12px; color: var(--soft); font-weight: 700; }
.mis em, .chest em { font-style: normal; font-weight: 700; color: #7a5600; white-space: nowrap; } .mis em.rw { opacity: .7; }
.mis.ready { background: #e6f7f2; box-shadow: inset 0 0 0 2px var(--go); } .mis.got { opacity: .6; } .mis.got em { color: var(--go); font-size: 18px; }
.mbar, .tbar { display: block; height: 8px; border-radius: 4px; background: #e3e8f0; overflow: hidden; }
.mbar i, .tbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--go), #35d0a8); transition: width .8s cubic-bezier(.2, .9, .3, 1); }
.chest { background: linear-gradient(135deg, #eaf0ff, #f6eaff); } .chest span { font-size: 26px; } .chest.open { background: linear-gradient(135deg, #fff3c4, #ffd27a); }
.chest .mbar i { background: linear-gradient(90deg, #6d8bff, #b05bff); }
.note.center { text-align: center; }

/* lig */
.tcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; color: var(--ink);
  background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 30%, #fff), color-mix(in srgb, var(--tc) 10%, #fff)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tc) 60%, #fff); }
.tcard .ti { font-size: 40px; line-height: 1; filter: drop-shadow(0 3px 2px rgba(0,0,0,.18)); }
.tcard > div { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: left; } .tcard b { font-size: 18px; } .tcard small { font-size: 12px; font-weight: 700; color: var(--soft); }
.tcard em { font-style: normal; font-weight: 700; font-size: 17px; white-space: nowrap; }
.tcard .tbar { height: 10px; background: rgba(255,255,255,.7); } .tcard .tbar i { background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 60%, #fff)); }
.tcard.sm { padding: 10px 12px; } .tcard.sm .ti { font-size: 32px; } .tcard.sm b { font-size: 15px; }
.tcard em.up { color: var(--go2); font-size: 24px; } .tcard em.down { color: var(--bad); font-size: 24px; }
.sline { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--soft); }
.road { display: flex; flex-direction: column; gap: 5px; }
.step { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: #f6f8fb; opacity: .7; }
.step .at { width: 92px; flex: none; font-weight: 700; font-size: 13px; color: var(--soft); white-space: nowrap; }
.step .rw { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; } .step .rw small { font-size: 12px; color: var(--soft); }
.step canvas { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.step em { font-style: normal; font-weight: 700; width: 22px; text-align: center; }
.step.reached { opacity: 1; } .step.ok { background: #fff6d8; box-shadow: inset 0 0 0 2px var(--gold); } .step.ok em { color: #b37400; } .step.got { background: #e6f7f2; } .step.got em { color: var(--go); }
.board i { font-style: normal; width: 22px; text-align: center; }
.tlist { display: flex; flex-direction: column; gap: 4px; }
.tlist div { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; background: #f6f8fb; }
.tlist div.on { background: color-mix(in srgb, var(--tc) 22%, #fff); box-shadow: inset 0 0 0 2px var(--tc); }
.tlist span { font-size: 22px; } .tlist b { flex: 1; } .tlist small { color: var(--soft); font-weight: 700; width: 70px; } .tlist em { font-style: normal; font-weight: 700; color: #7a5600; }
/* mod listesi */
.scen.mode { position: relative; } .scen.mode.on { background: #fff6d8; box-shadow: 0 0 0 2px var(--gold), 0 3px 0 #e9cf7c; }
.scen.mode em { position: absolute; right: 14px; font-style: normal; font-weight: 700; color: #b37400; font-size: 18px; }
#shBody .scen { flex: none; }

/* maç sonu ilerlemesi */
.endProg { display: flex; flex-direction: column; gap: 8px; }
.lvup { align-self: center; padding: 6px 14px; border-radius: 12px; font-weight: 700; font-size: 17px; color: #fff; background: var(--tc); box-shadow: 0 3px 0 rgba(0,0,0,.2);
  animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.lvup.lv { background: linear-gradient(180deg, #6d8bff, #4c6fff); }
.emis { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.emis div { display: flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 10px; background: #f6f8fb; font-weight: 600; }
.emis span { width: 18px; text-align: center; } .emis small { flex: 1; font-size: 13px; } .emis em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--soft); }
.emis div.ready { background: #e6f7f2; } .emis div.got { opacity: .55; }

/* oyun içi: bana saldıranlar (sol altta, çıkış düğmesinin üstünde) */
#inc { position: absolute; left: calc(10px + var(--sl)); bottom: calc(var(--ph, 110px) + 74px + var(--sb)); display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
#inc div { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: rgba(200, 40, 55, .88); font-size: 13px; font-weight: 700;
  animation: fin .3s ease-out; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
#inc div i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
#lead li u { text-decoration: none; font-size: 11px; flex: none; }

/* yatay telefon: iki sütun (sol: sekme · logo · ad · OYNA — sağ: profil · menü düğmeleri · mod · öne çıkanlar) */
@media (max-height: 520px) and (orientation: landscape) {
  #menu .card { grid-template-columns: 1fr 1fr; grid-template-areas: "tabs top" "logo meta" "nick mode" "play feat"; align-items: center; }
  #menu .topRow { grid-area: top; } #menu #metaRow { grid-area: meta; } #menu #modes { grid-area: feat; } #menu .modeChip { grid-area: mode; margin: 0; }
  #menu .tabs { grid-area: tabs; } #menu .logo { grid-area: logo; } #menu .nickRow { grid-area: nick; } #menu #playBtn { grid-area: play; }
  #menu #langSel, #menu #online, #menu .inviteBtn { display: none; }
  #menu .logo { --sz: min(36px, calc((50cqi - 5px * var(--n, 5)) / var(--n, 5))); margin: 0; }
  #metaRow button { min-height: 44px; } #metaRow small { display: none; } #metaRow span { font-size: 22px; }
  .feat button { min-height: 50px; padding: 6px 8px; }
}
@media (max-height: 700px) { #menu .card { gap: 9px; } .logo { --sz: min(42px, calc((100cqi - 5px * var(--n, 5)) / var(--n, 5))); } }
html[dir="rtl"] .logo { direction: ltr; } html[dir="rtl"] #logo { direction: rtl; } /* çevrilmiş başlık sağdan sola okunur */

/* ---------- Arkadaşlar (Land ile aynı modül: www/client/friends.js) ---------- */
.topRow { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px; }
.friendsBtn { position: relative; flex: none; width: 44px; height: 44px; border-radius: 14px; border: 0; background: #eef1f6; font-size: 20px; cursor: pointer; }
.friendsBtn i { position: absolute; right: -5px; top: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--bad); color: #fff;
  font-size: 12px; font-style: normal; font-weight: 700; line-height: 20px; box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
#friends { background: rgba(10, 25, 40, .6); z-index: 24; }
#friends .card { background: #fff; }
.card.fr { width: min(420px, 100%); max-height: min(720px, calc(100dvh - 32px)); gap: 10px; text-align: left; }
.frHead { display: flex; align-items: center; justify-content: space-between; } .frHead h2 { margin: 0; font-size: 24px; }
#frOn { display: flex; flex-direction: column; gap: 10px; min-height: 0; flex: 1; }
#frOff { text-align: center; color: var(--soft); font-weight: 600; display: flex; flex-direction: column; gap: 10px; }
.myCode { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(135deg, #eafaf6, #eef3ff); }
.myCode div { flex: 1; display: flex; flex-direction: column; } .myCode small { font-size: 12px; color: var(--soft); font-weight: 600; }
.myCode b { font-size: 26px; letter-spacing: 2px; font-weight: 700; white-space: nowrap; }
@media (max-width: 400px) { .myCode { flex-wrap: wrap; } .myCode div { flex-basis: 100%; } .myCode .chip { flex: 1; } }
.addRow { display: flex; gap: 8px; }
.addRow input { flex: 1; min-width: 0; font: inherit; font-size: 18px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 10px 12px; color: var(--ink);
  border: 3px solid #dfe4ec; border-radius: 14px; outline: none; -webkit-user-select: text; user-select: text; }
.chip { border: 0; border-radius: 12px; padding: 9px 12px; min-height: 42px; min-width: 44px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; background: #e3e8f0; color: var(--soft);
  white-space: nowrap; box-shadow: 0 3px 0 #c9d1dd; }
.chip:active { transform: translateY(2px); box-shadow: 0 1px 0 #c9d1dd; }
.chip.go { background: #15806b; color: #fff; box-shadow: 0 3px 0 #0f6655; } .chip.bad { background: var(--bad); color: #fff; box-shadow: 0 3px 0 #9c2330; }
.chip.ghost { background: transparent; box-shadow: none; padding: 9px 8px; } .chip:disabled { opacity: .5; }
#frList { overflow-y: auto; min-height: 60px; flex: 1; margin: 0 -6px; padding: 0 6px 4px; overscroll-behavior: contain; touch-action: pan-y; }
#frList h3 { margin: 10px 2px 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--soft); }
#frList h3 em { font-style: normal; background: #eef1f6; border-radius: 8px; padding: 1px 7px; margin-left: 4px; }
.fr-row { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 14px; }
.fr-row .av { width: 38px; height: 38px; flex: none; display: grid; place-items: center; }
.fr-row .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fr-row .who b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-row .who small { font-size: 12px; color: var(--soft); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.fr-row .act { display: flex; gap: 10px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #b8c1ce; display: inline-block; flex: none; }
.dot.on { background: #2ec4a6; box-shadow: 0 0 0 3px rgba(46, 196, 166, .2); } .dot.mid { background: #ffc93c; }
.empty { color: var(--soft); font-size: 14px; font-weight: 500; margin: 4px 2px 8px; }
#inv { position: fixed; left: 50%; top: calc(12px + var(--st)); transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 10px; color: var(--ink);
  padding: 10px 12px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); width: min(440px, calc(100vw - 20px)); overflow: hidden; animation: invIn .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes invIn { from { transform: translate(-50%, -30px); opacity: 0; } }
#inv .av { width: 44px; height: 44px; flex: none; } #inv p { flex: 1; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.25; }
#inv.mini { top: auto; bottom: calc(var(--ph, 110px) + 20px + var(--sb)); width: min(360px, calc(100vw - 120px)); padding: 6px 8px; gap: 8px; border-radius: 16px; }
#inv.mini .av { width: 32px; height: 32px; } #inv.mini .av canvas { width: 32px !important; height: 32px !important; } #inv.mini p { font-size: 13px; }
#invBar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--go); transform-origin: left; }
html.rtl #friends .card, html.rtl #inv { direction: rtl; }

/* ---------- Profil + başarımlar ---------- */
.lv { position: relative; }
.pHead { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, #eaf0ff, #f3eaff); }
.plv { display: grid; place-items: center; min-width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(180deg, #6d8bff, #4c6fff); color: #fff; font-size: 24px; box-shadow: 0 3px 0 #2e47b8; }
.pHead > div { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; } .pHead > div > b { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pHead .xp { width: 100%; } .pHead small { font-size: 12px; font-weight: 700; color: var(--soft); }
.ptier { padding: 6px 10px; border-radius: 12px; font-weight: 700; white-space: nowrap; background: color-mix(in srgb, var(--tc) 22%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tc) 55%, #fff); }
.pStats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pStats div { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 12px; background: #f6f8fb; }
.pStats b { font-size: 18px; } .pStats small { font-size: 11px; font-weight: 700; color: var(--soft); text-align: center; }
.pSub { margin: 4px 2px 0; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--soft); }
.pSub em { font-style: normal; text-transform: none; letter-spacing: 0; color: #fff; background: var(--bad); border-radius: 8px; padding: 1px 8px; margin-left: 6px; font-size: 12px; }
.ach { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: #f6f8fb; }
.ach .ai { font-size: 26px; width: 34px; text-align: center; } .ach > div { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ach b { font-size: 15px; } .ach b i { font-style: normal; color: #e0a400; letter-spacing: 1px; font-size: 14px; }
.ach small { font-size: 12px; color: var(--soft); font-weight: 600; } .ach small.pv { font-weight: 700; }
.ach em { font-style: normal; font-weight: 700; color: #7a5600; white-space: nowrap; } .ach em.rw { opacity: .7; }
.ach.ready { background: #e6f7f2; box-shadow: inset 0 0 0 2px var(--go); } .ach.max { background: linear-gradient(135deg, #fff6d8, #fff); }

/* ---------- Sezon Kartı ---------- */
.passBar { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; color: #fff;
  background: linear-gradient(120deg, #ff8a3d, #e8394b 55%, #b3268f); box-shadow: 0 4px 0 #8a1f5a; }
.passBar > span:first-child { font-size: 22px; } .passBar b { font-size: 15px; white-space: nowrap; }
.passBar .pbar { flex: 1; height: 10px; border-radius: 5px; background: rgba(255,255,255,.3); overflow: hidden; }
.passBar .pbar i { display: block; height: 100%; border-radius: 5px; background: #fff; transition: width .8s; }
.passBar em { font-style: normal; font-weight: 700; font-size: 14px; } .passBar:active { transform: translateY(3px); box-shadow: none; }
.pcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #ff8a3d, #e8394b 55%, #b3268f); }
.pcard .pt { font-size: 36px; } .pcard > div { flex: 1; display: flex; flex-direction: column; gap: 5px; text-align: left; } .pcard b { font-size: 18px; } .pcard small { font-size: 12px; font-weight: 700; opacity: .92; }
.pcard .tbar { background: rgba(255,255,255,.3); } .pcard .tbar i { background: #fff; }
.ptiers .step .at { width: 44px; text-align: center; font-size: 15px; }
.ptiers .step canvas, .ptiers .step [data-pv] { width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.ptiers .step.final { background: linear-gradient(135deg, #fff1c2, #ffe0ec); box-shadow: inset 0 0 0 2px #f2b632; opacity: 1; }
.reward span.p { background: #ffe5ec; color: #a01a4a; }
@media (max-height: 520px) and (orientation: landscape) { #menu .card { grid-template-areas: "tabs top" "logo meta" "nick mode" "play feat" "pass pass"; } #menu .passBar { grid-area: pass; padding: 6px 12px; } }

/* Menü altı: dil + ayarlar; yasal satır */
.menuFoot { display: flex; justify-content: center; align-items: center; gap: 8px; }
.setBtn { width: 44px; height: 44px; border-radius: 14px; border: 0; background: #eef1f6; font-size: 20px; cursor: pointer; flex: none; }
.legalLine { margin: 0; font-size: 12px; line-height: 1.35; } .legalLine[hidden] { display: none; }
.legalLine a { color: inherit; text-decoration: underline; cursor: pointer; }
.setList { display: flex; flex-direction: column; gap: 8px; }
.setList .btn { width: 100%; }
.setList .btn.bad, .setList .btn.arm { background: #d64555; color: #fff; }
.setList .ver { text-align: center; opacity: .6; font-size: 13px; }
/* Ödüllü reklam düğmesi / Premium */
.btn.ad, .reward .ad { background: linear-gradient(180deg, #6d8bff, #4c6fff); color: #fff; border: 0; border-radius: 12px; min-height: 42px; padding: 0 12px; font: inherit; font-weight: 700; cursor: pointer; }
.reward .ad { flex-basis: 100%; }
.prem { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(180deg, #eef2ff, #dfe6ff); margin: 6px 0; }
.prem b { flex: 1; } .prem .btn { width: auto; padding: 8px 14px; min-height: 40px; font-size: 15px; }
.step .rw.pr { opacity: .55; } .step.reached .rw.pr.on { opacity: 1; }
.rpLink { border: 0; background: transparent; color: inherit; opacity: .7; text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; padding: 6px; }
