/* lobby.css — ana sayfa, masa listesi, oda, profil, arkadaşlar, liderlik */
.screen { min-height: 100%; display: flex; flex-direction: column; padding: var(--safe-t) var(--safe-r) 0 var(--safe-l); }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand b { display: block; font-size: 18px; color: var(--gold); }
.brand small { color: var(--muted); font-size: 12px; }
.logo-tile { width: 36px; height: 50px; border-radius: 7px; background: linear-gradient(#fbf6ea, #e7d9bb); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.45); }
.logo-tile span { color: #c8322e; font-weight: 900; font-size: 15px; }
.pchip { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 30px; padding: 4px 12px 4px 4px; }
.pchip.offline { padding: 8px 14px; color: var(--muted); }
.pchip .av { width: 36px; height: 36px; border-radius: 50%; position: relative; display: block; }
.pchip .av svg, .av svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
.pinfo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.pinfo b { font-size: 14px; }
.lvl { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.xpbar { width: 50px; height: 4px; background: #4a3628; border-radius: 2px; overflow: hidden; display: inline-block; }
.xpbar i { display: block; height: 100%; background: var(--gold); }
.coins { color: var(--gold); font-weight: 700; font-size: 13px; }
.frame-bronze { box-shadow: 0 0 0 3px #b8743d; } .frame-silver { box-shadow: 0 0 0 3px #c9ced6; } .frame-gold { box-shadow: 0 0 0 3px #f0c46a, 0 0 12px #f0c46a88; }

.announce { margin: 0 16px 6px; padding: 8px 12px; border-radius: 10px; background: rgba(231,183,89,.12); border: 1px solid rgba(231,183,89,.35); font-size: 14px; }
.announce.warn { background: rgba(224,87,75,.12); border-color: rgba(224,87,75,.4); }
main.home, main.tables, main.page, main.room { flex: 1; padding: 6px 16px 90px; width: min(1100px, 100%); margin: 0 auto; }
.mode-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.mode-tabs button { flex: none; border: 0; background: transparent; color: var(--muted); padding: 10px 14px; font-weight: 700; font-size: 15px; border-bottom: 3px solid transparent; }
.mode-tabs button.on { color: var(--gold); border-bottom-color: var(--gold); }
.hero { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; margin-top: 10px; align-items: center; }
.hero-art { background: radial-gradient(circle at 50% 40%, #1f4a43, #0f2723); border-radius: 22px; border: 6px solid #5a3420; box-shadow: inset 0 0 40px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.4); padding: 18px; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.big { text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: linear-gradient(#3a281b, #2a1c13); display: flex; flex-direction: column; gap: 3px; min-height: 74px; }
.big b { font-size: 17px; }
.big small { color: var(--muted); font-size: 12px; }
.big.primary { background: linear-gradient(#f0c46a, #c8913a); color: #2a1708; grid-column: 1 / -1; }
.big.primary small { color: #5a3b14; }
.big.practice { background: linear-gradient(#24443d, #173029); }
.big:disabled { opacity: .45; }
.daily { margin-top: 14px; width: 100%; border: 1px dashed var(--gold); background: rgba(231,183,89,.08); color: var(--gold); padding: 12px; border-radius: 12px; font-weight: 700; }
.offline-note { color: var(--muted); text-align: center; margin-top: 16px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .hero-art { display: none; } }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 2px; background: rgba(20,13,8,.96); border-top: 1px solid var(--line); padding: 6px max(8px, var(--safe-r)) calc(6px + var(--safe-b)) max(8px, var(--safe-l)); z-index: 10; }
.bottom-nav button { flex: 1; max-width: 140px; border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; font-size: 11.5px; padding: 4px; border-radius: 10px; }
.bottom-nav button .ic { font-size: 19px; }
.bottom-nav button.on { color: var(--gold); background: rgba(231,183,89,.08); }

.tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.filters select { padding: 7px 10px; }
.table-list { display: flex; flex-direction: column; gap: 4px; }
.tr { display: grid; grid-template-columns: 64px 1.6fr 1.2fr 64px 56px 60px 86px 110px; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,240,220,.04); border: 1px solid transparent; font-size: 14px; }
.tr.th { background: none; color: var(--muted); font-size: 12px; }
.tr.friend { border-color: rgba(231,183,89,.35); }
.tr .no { color: var(--muted); font-variant-numeric: tabular-nums; }
.tr .nm { display: flex; gap: 6px; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tr .act { display: flex; gap: 6px; justify-content: flex-end; }
.badge { font-style: normal; font-size: 10.5px; background: rgba(231,183,89,.18); color: var(--gold); padding: 1px 6px; border-radius: 6px; margin-left: 5px; }
.st-lobby { color: var(--green); } .st-playing { color: var(--gold); } .st-finished { color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 20px; }
@media (max-width: 760px) {
    .tr { grid-template-columns: 1fr auto; grid-auto-flow: row; }
    .tr.th { display: none; }
    .tr > span:nth-child(1), .tr > span:nth-child(5), .tr > span:nth-child(6) { display: none; }
}

.room { display: grid; grid-template-columns: 1fr 280px; gap: 14px; }
.room-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.room-head h2 { margin: 0; }
.room-head .no { color: var(--muted); font-size: 16px; }
.room-head p { color: var(--muted); margin: 4px 0 0; }
.code-box { background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.code-box b { font-size: 22px; letter-spacing: 3px; color: var(--gold); }
.seats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0; }
.seat { background: rgba(255,240,220,.05); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 52px 1fr auto; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; min-height: 76px; }
.seat .av { width: 52px; height: 52px; grid-row: 1 / 3; position: relative; }
.seat small { color: var(--muted); }
.seat .rd { grid-column: 3; grid-row: 1; color: var(--muted); font-size: 12px; }
.seat.ready .rd { color: var(--green); font-weight: 700; }
.seat.me { border-color: rgba(231,183,89,.5); }
.seat.empty { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-style: dashed; color: var(--muted); }
.botadd { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.countdown { text-align: center; font-size: 22px; font-weight: 800; color: var(--gold); }
.room-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.room-chat { background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; min-height: 260px; max-height: 70vh; }
.room-chat .chat-lines { flex: 1; overflow: auto; font-size: 13.5px; }
.chat-send { display: flex; gap: 6px; }
.chat-send input { flex: 1; min-width: 0; background: #1d130d; border: 1px solid var(--line); color: var(--text); padding: 8px 10px; border-radius: 9px; }
@media (max-width: 820px) { .room { grid-template-columns: 1fr; } .seats { grid-template-columns: 1fr; } }

.card { background: rgba(255,240,220,.04); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.card h3 { margin: 0 0 10px; font-size: 15px; color: var(--gold); }
.prof-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.prof-head h2 { margin: 0; }
.prof-head p { margin: 2px 0; color: var(--muted); }
.big-av { width: 76px; height: 76px; border-radius: 50%; position: relative; flex: none; }
.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.avpick { border: 2px solid transparent; background: none; border-radius: 50%; padding: 2px; }
.avpick.on { border-color: var(--gold); }
.cos-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.cos-row b { width: 110px; color: var(--muted); font-weight: 600; font-size: 13px; }
.cos { border: 1px solid var(--line); background: #2a1c13; padding: 6px 10px; border-radius: 9px; font-size: 13px; }
.cos.on { border-color: var(--gold); color: var(--gold); }
.cos.locked { opacity: .5; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 10px; }
.stat { background: rgba(0,0,0,.2); border-radius: 10px; padding: 8px; text-align: center; }
.stat b { display: block; font-size: 20px; color: var(--gold); }
.stat small { color: var(--muted); }
.mode-stats { width: 100%; border-collapse: collapse; font-size: 13px; }
.mode-stats th, .mode-stats td { padding: 6px; text-align: center; border-bottom: 1px solid var(--line); }
.ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.achv { padding: 10px; border-radius: 10px; background: rgba(0,0,0,.2); opacity: .45; }
.achv.on { opacity: 1; border: 1px solid var(--gold); }
.achv small { display: block; color: var(--muted); }
.hrow, .frow, .lrow { display: flex; gap: 10px; align-items: center; padding: 8px; border-bottom: 1px solid var(--line); }
.hrow small { margin-left: auto; color: var(--muted); }
.frow .av, .lrow .av { width: 34px; height: 34px; flex: none; position: relative; }
.frow b, .lrow b { flex: 1; }
.lrow .rank { width: 40px; color: var(--muted); }
.lrow .pts { flex: none; color: var(--gold); }
.lrow.me { background: rgba(231,183,89,.1); border-radius: 10px; }
.st-online { color: var(--green); } .st-offline { color: var(--muted); }
.code { letter-spacing: 2px; }
.tag { padding: 4px 10px; border-radius: 8px; background: rgba(63,191,116,.15); color: var(--green); }
.plist { display: grid; gap: 6px; }
.prow { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.2); padding: 6px 10px; border-radius: 10px; text-align: left; }
.prow .av { width: 32px; height: 32px; position: relative; }
.prow b { flex: 1; }
.rules { padding-left: 18px; line-height: 1.55; font-size: 14px; }

/* ---------- mod banner kartları ---------- */
.sec-title { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 2px 8px; }
.sec-title b { font-size: 15px; letter-spacing: .4px; }
.sec-title small { color: var(--muted); font-size: 12px; }
.mode-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: thin; }
.mode-card { --accent: #f0b04a; position: relative; flex: 0 0 auto; width: 236px; aspect-ratio: 2 / 1.12; border-radius: 18px; border: 2px solid rgba(255,226,180,.12); background-size: cover; background-position: center; overflow: hidden; text-align: left; color: #fff; padding: 0; scroll-snap-align: start; box-shadow: 0 10px 24px rgba(0,0,0,.45); transition: transform .18s, border-color .18s, box-shadow .18s; }
.mode-card:hover { transform: translateY(-3px); }
.mode-card.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent), 0 14px 30px rgba(0,0,0,.55); }
.mode-card .mc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.55) 58%, rgba(0,0,0,.88)); }
.mode-card .mc-body { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; flex-direction: column; gap: 2px; }
.mode-card b { font-size: 17px; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.mode-card small { font-size: 12px; color: rgba(255,255,255,.82); }
.mc-chips { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.mc-chips i { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 7px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); }
.mode-card.on .mc-chips i:first-child { background: var(--accent); color: #1b1006; border-color: transparent; }
.mc-check { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #1b1006; display: flex; align-items: center; justify-content: center; font-weight: 900; box-shadow: 0 3px 10px rgba(0,0,0,.5); }
.mode-cards.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); overflow: visible; }
.mode-cards.grid .mode-card { width: auto; }

/* ---------- seçili mod vitrini ---------- */
.feature { --accent: #f0b04a; position: relative; min-height: 236px; border-radius: 22px; background-size: cover; background-position: center; overflow: hidden; border: 1px solid rgba(255,226,180,.14); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.f-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,5,3,.92) 0%, rgba(8,5,3,.62) 48%, rgba(8,5,3,.05) 100%); }
.f-body { position: relative; padding: 22px 22px 20px; max-width: 74%; display: flex; flex-direction: column; gap: 6px; }
.f-kicker { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.feature h2 { margin: 0; font-size: 28px; }
.feature p { margin: 0; color: rgba(255,240,220,.85); line-height: 1.45; font-size: 14px; }
.f-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.f-chips i { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 9px; background: rgba(0,0,0,.4); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); color: #fff; }
.hero { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 760px) { .feature { display: none; } .mode-card { width: 200px; } }

/* ---------- masa açma ---------- */
.modal.create-table .mbox { width: min(1040px, 96vw); }
.ct { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; text-align: left; }
.ct-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ct-right { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 0; align-self: start; }
.ct-step { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ct-step .n { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(#f0c46a, #c8913a); color: #2a1708; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ct-step b { font-size: 15px; }
.ct-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; }
.ct-row label { color: var(--muted); font-size: 13px; font-weight: 600; }
.ct-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-preset { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); background: rgba(0,0,0,.22); border-radius: 12px; padding: 6px 12px; color: var(--text); min-width: 96px; }
.ct-preset small { color: var(--muted); font-size: 11px; }
.ct-preset.on { border-color: var(--gold); background: rgba(231,183,89,.14); }
.ct-preset.on b { color: var(--gold); }
.ct-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.ct-pass input { width: 100%; }
.ct-namebox label { color: var(--muted); font-size: 13px; font-weight: 600; display: block; margin-bottom: 5px; }
.ct-nameRow { display: flex; gap: 6px; }
.ct-nameRow input { flex: 1; min-width: 0; font-size: 16px; }
.ct-dice { border: 1px solid var(--line); background: rgba(0,0,0,.25); border-radius: 10px; font-size: 18px; padding: 0 12px; }
.ct-summary { --accent: #f0b04a; position: relative; border-radius: 18px; min-height: 230px; background-size: cover; background-position: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 14px 34px rgba(0,0,0,.5); display: flex; align-items: flex-end; }
.ct-summary .f-shade { background: linear-gradient(180deg, rgba(8,5,3,.05) 0%, rgba(8,5,3,.65) 45%, rgba(8,5,3,.95)); }
.ct-sbody { position: relative; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.ct-sbody h3 { margin: 0; font-size: 22px; }
.ct-sbody p { margin: 0; color: rgba(255,240,220,.85); font-size: 13px; }
.ct-eta { color: var(--muted); margin-top: 4px; }
@media (max-width: 820px) {
    .ct { grid-template-columns: 1fr; }
    .ct-right { position: static; order: -1; }
    .ct-summary { min-height: 150px; }
    .ct-toggles { grid-template-columns: 1fr; }
    .ct-row { grid-template-columns: 1fr; gap: 4px; }
}
.room-head.has-banner { position: relative; border-radius: 18px; background-size: cover; background-position: center; overflow: hidden; padding: 18px; min-height: 120px; align-items: flex-end; border: 1px solid rgba(255,226,180,.14); }
.room-head.has-banner > * { position: relative; }
.room-head.has-banner > .f-shade { position: absolute; }
.room-head.has-banner p { color: rgba(255,240,220,.85); }
.mode-cards { scrollbar-color: rgba(255,226,180,.28) transparent; }
.mode-cards::-webkit-scrollbar { height: 6px; }
.mode-cards::-webkit-scrollbar-thumb { background: rgba(255,226,180,.28); border-radius: 3px; }
.mode-cards::-webkit-scrollbar-track { background: transparent; }
.mode-cards.grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
.mode-cards.grid .mode-card { aspect-ratio: auto; min-height: 124px; }
.mode-cards.grid .mode-card b { font-size: 15.5px; }
.mode-cards.grid .mode-card small { font-size: 11px; line-height: 1.25; }
.mode-cards.grid .mc-chips i:nth-child(n+3) { display: none; }

/* =====================================================================================================================
 * Salon kabuğu v2 (2026-10-17): sol menü (geniş ekran) / alt menü (telefon), paneller, canlı salon, masa kartları,
 * yeşil çuhalı bekleme odası. Önceki kuralların üstüne yazar (dosyanın sonunda olması bilerek).
 * ===================================================================================================================== */
:root { --nav-w: 232px; --card: linear-gradient(180deg, rgba(58,40,27,.78), rgba(34,23,16,.86)); --card-line: rgba(255,214,150,.13); --shadow: 0 14px 34px rgba(0,0,0,.42); }
#ui { background:
    radial-gradient(900px 520px at 78% -8%, rgba(231,183,89,.12), transparent 60%),
    radial-gradient(1100px 700px at 10% 110%, rgba(31,77,68,.28), transparent 60%),
    linear-gradient(180deg, #23170f 0%, #170f0a 60%, #120c08 100%); }
.i { display: inline-flex; width: 20px; height: 20px; flex: none; }
.i svg { width: 100%; height: 100%; }
.i.sm { width: 15px; height: 15px; vertical-align: -2px; }
.i.lg { width: 34px; height: 34px; }
.i.xl { width: 46px; height: 46px; opacity: .7; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
button.link { border: 0; background: none; color: var(--gold); font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 0; }
button.link:hover { text-decoration: underline; }
.f-sp { flex: 1; }

/* ---------- menü ---------- */
.app-nav { position: fixed; z-index: 10; }
.nav-brand, .srv { display: none; }
@media (max-width: 1099px) {
    .app-nav { left: 0; right: 0; bottom: 0; display: flex; background: rgba(20,13,8,.97); border-top: 1px solid var(--line); padding: 6px max(8px, var(--safe-r)) calc(6px + var(--safe-b)) max(8px, var(--safe-l)); backdrop-filter: blur(8px); }
    .nav-items { flex: 1; display: flex; justify-content: center; gap: 2px; }
    .nav-items button { flex: 1; max-width: 120px; border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; padding: 5px 2px; border-radius: 10px; }
    .nav-items button .i { width: 21px; height: 21px; }
    .nav-items button.on { color: var(--gold); background: rgba(231,183,89,.1); }
}
@media (max-width: 420px) { .nav-items button:nth-child(5) { display: none; } }
@media (min-width: 1100px) {
    .screen:has(> .app-nav) { padding-left: calc(var(--nav-w) + var(--safe-l)); }
    .app-nav { left: 0; top: 0; bottom: 0; width: var(--nav-w); display: flex; flex-direction: column; gap: 18px; padding: 20px 14px 16px; background: linear-gradient(180deg, rgba(30,20,13,.96), rgba(18,12,8,.98)); border-right: 1px solid var(--card-line); box-shadow: 8px 0 30px rgba(0,0,0,.25); }
    .nav-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 14px; border-bottom: 1px solid var(--card-line); }
    .nav-brand b { display: block; color: var(--gold); font-size: 15px; line-height: 1.15; }
    .nav-brand small { color: var(--muted); font-size: 11.5px; }
    .nav-items { display: flex; flex-direction: column; gap: 3px; }
    .nav-items button { display: flex; align-items: center; gap: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 10px 12px; border-radius: 12px; text-align: left; transition: background .15s, color .15s; }
    .nav-items button:hover { background: rgba(255,240,220,.05); color: var(--text); }
    .nav-items button.on { color: #2a1708; background: linear-gradient(#f0c46a, #c8913a); box-shadow: 0 6px 18px rgba(200,145,58,.25); }
    .srv { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--card-line); }
    header.top .brand .logo-tile { display: none; }
    header.top { padding: 18px 28px 6px; }
    header.top .brand b { font-size: 22px; color: var(--text); }
    header.top .brand small { font-size: 13px; }
    main.home, main.tables, main.page, main.room { padding: 8px 28px 40px; width: min(1360px, 100%); }
    .announce { margin: 0 28px 8px; }
}
.srv-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.srv-dot { width: 9px; height: 9px; border-radius: 50%; background: #8a6f55; flex: none; }
.srv-dot.on { background: var(--green); box-shadow: 0 0 0 0 rgba(63,191,116,.6); animation: pulse 2s infinite; }
.srv-dot.wait { background: var(--gold); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(63,191,116,0); } 100% { box-shadow: 0 0 0 0 rgba(63,191,116,0); } }
.srv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.srv-stats span { display: flex; flex-direction: column; align-items: center; background: rgba(255,240,220,.04); border-radius: 9px; padding: 5px 2px; }
.srv-stats b { font-size: 16px; color: var(--gold); font-variant-numeric: tabular-nums; }
.srv-stats small { font-size: 10.5px; color: var(--muted); }
.srv-ver { color: rgba(198,176,143,.6); font-size: 10.5px; }

/* ---------- üst çubuk ---------- */
.pchips { display: flex; align-items: center; gap: 8px; }
.coin-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: 30px; background: rgba(0,0,0,.28); border: 1px solid var(--card-line); }
.coin-pill b { color: var(--gold); font-variant-numeric: tabular-nums; }
i.coin { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe7a6, #e2a536 55%, #9b6516); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.pchip { cursor: pointer; transition: border-color .15s; }
.pchip:hover { border-color: rgba(231,183,89,.45); }
.pchip .lvl em { font-style: normal; color: var(--gold); font-weight: 700; }
.pchip.offline { display: flex; align-items: center; gap: 8px; }
.pchip.offline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.announce { display: flex; align-items: center; gap: 8px; }

/* ---------- paneller ---------- */
.panel { background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); color: var(--text); text-align: left; }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.p-head > b { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; }
.p-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--card-line); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 0 rgba(255,90,79,.6); animation: pulseR 1.8s infinite; }
@keyframes pulseR { 70% { box-shadow: 0 0 0 7px rgba(255,90,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,79,0); } }

/* ---------- ana sayfa ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 16px; margin-top: 6px; align-items: stretch; }
.feature { min-height: 300px; display: flex; align-items: flex-end; border-radius: 22px; }
.feature .f-shade { background: linear-gradient(90deg, rgba(8,5,3,.94) 0%, rgba(8,5,3,.72) 42%, rgba(8,5,3,.12) 100%), linear-gradient(0deg, rgba(8,5,3,.6), transparent 50%); }
.f-body { max-width: 66%; padding: 26px; gap: 8px; }
.feature h2 { font-size: 34px; letter-spacing: -.3px; }
.f-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cta { display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 16px; padding: 12px 20px 12px 16px; text-align: left; color: #241306; background: linear-gradient(180deg, #ffd889, #e2a43c); box-shadow: 0 10px 26px rgba(226,164,60,.35), inset 0 1px 0 rgba(255,255,255,.6); transition: transform .12s, filter .15s; }
.cta .i { width: 26px; height: 26px; }
.cta b { display: block; font-size: 18px; }
.cta small { display: block; font-size: 12px; color: #5a3b14; }
.cta:hover:not(:disabled), .cta2:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.05); }
.cta:disabled, .cta2:disabled { opacity: .45; cursor: default; }
.cta2 { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,226,180,.25); border-radius: 16px; padding: 0 18px; min-height: 52px; color: #fff; background: rgba(0,0,0,.42); backdrop-filter: blur(6px); transition: transform .12s; }
.cta2.ghost { background: rgba(31,77,68,.55); border-color: rgba(127,224,160,.3); }
.live { display: flex; flex-direction: column; }
.live-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.live-stats span { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid var(--card-line); }
.live-stats b { font-size: 20px; color: var(--gold); font-variant-numeric: tabular-nums; }
.live-stats small { font-size: 11px; color: var(--muted); }
.live-list { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.live-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 12px; background: rgba(255,240,220,.04); border: 1px solid transparent; transition: border-color .15s, background .15s; }
.live-row:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: rgba(255,240,220,.07); }
.lr-mode { width: 44px; height: 34px; border-radius: 8px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent); }
.lr-main { display: flex; flex-direction: column; min-width: 0; }
.lr-main b { display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.lr-main small { color: var(--muted); font-size: 11.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lr-st { font-size: 12px; color: var(--gold); }
.live-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px 10px; text-align: center; color: var(--muted); flex: 1; border: 1px dashed var(--card-line); border-radius: 14px; }
.live-empty b { color: var(--text); }
.seat-dots { display: inline-flex; }
.seat-dots .sd { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #1c120c; background: rgba(255,240,220,.08); margin-left: -6px; position: relative; overflow: hidden; }
.seat-dots .sd:first-child { margin-left: 0; }
.seat-dots .sd.full { background: #3a2a1d; }
.seat-dots .sd svg { width: 100%; height: 100%; display: block; }
.seat-dots .sd .bot-tag { display: none; }
.seat-dots .sd.bot { box-shadow: inset 0 0 0 2px #3b82f6; }
.sec-title { margin: 22px 2px 10px; }
.sec-title b { font-size: 17px; }
@media (min-width: 1100px) {
    .mode-cards.home { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
    .mode-cards.home .mode-card { width: auto; }
}
.home-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 16px; }
.daily { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; cursor: pointer; border: 1px solid rgba(231,183,89,.45); background: linear-gradient(135deg, rgba(231,183,89,.2), rgba(58,40,27,.85) 60%); color: var(--text); }
.daily .i { color: var(--gold); }
.daily > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.daily b { font-size: 16px; }
.daily small { color: var(--muted); font-size: 12.5px; }
.daily.done { cursor: default; border-color: var(--card-line); background: var(--card); opacity: .85; }
.daily.done .i { color: var(--muted); }
.mini-lb, .mini-fr { display: flex; flex-direction: column; gap: 4px; }
.mlb-row { display: grid; grid-template-columns: auto 30px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 5px 6px; border-radius: 10px; }
.mini-fr .mlb-row { grid-template-columns: 30px minmax(0, 1fr) auto auto; }
.mlb-row.me { background: rgba(231,183,89,.12); }
.mlb-row .av { width: 30px; height: 30px; position: relative; }
.mlb-row b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.mlb-row .pts { color: var(--gold); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.rk { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: rgba(255,240,220,.08); color: var(--muted); }
.rk.r1 { background: linear-gradient(#ffe08a, #d9a227); color: #3a2405; }
.rk.r2 { background: linear-gradient(#f1f3f6, #aeb5bf); color: #2b2f35; }
.rk.r3 { background: linear-gradient(#f0b27a, #b8743d); color: #33190a; }
@media (max-width: 1099px) { .home-grid { grid-template-columns: 1fr 1fr; } .home-grid .daily { grid-column: 1 / -1; } }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .feature { min-height: 250px; } .f-body { max-width: 100%; } }
@media (max-width: 760px) {
    .feature { display: flex; min-height: 0; }
    .feature h2 { font-size: 26px; }
    .feature p { display: none; }
    .f-body { padding: 18px; }
    .home-grid { grid-template-columns: 1fr; }
    .cta { flex: 1 1 100%; }
    .cta2 { flex: 1; justify-content: center; }
}

/* ---------- masa listesi ---------- */
.tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 8px 0 12px; }
.tools-l { display: flex; align-items: baseline; gap: 10px; }
.tools-l h2 { margin: 0; font-size: 22px; }
.tools-l .count { color: var(--muted); }
.tools-r { display: flex; gap: 8px; flex-wrap: wrap; }
.filters { padding: 10px; border-radius: 14px; background: rgba(0,0,0,.2); border: 1px solid var(--card-line); }
.filters select { padding: 8px 10px; }
.table-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tcard { --accent: #f0b04a; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.tcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.tcard.friend { border-color: rgba(231,183,89,.55); }
.tc-banner { position: relative; height: 92px; background-size: cover; background-position: center; }
.tc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.75)); }
.tc-no { position: absolute; top: 9px; left: 10px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 8px; background: rgba(0,0,0,.55); }
.tc-st { position: absolute; top: 9px; right: 10px; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 8px; background: var(--green); color: #07210f; }
.tcard.st-playing .tc-st { background: var(--gold); color: #2a1708; }
.tcard.st-finished .tc-st { background: #6f5a46; color: #f6ead6; }
.tc-mode { position: absolute; left: 12px; bottom: 8px; font-size: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.tc-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.tc-name { display: flex; align-items: center; gap: 6px; }
.tc-name b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.tc-meta { display: flex; gap: 12px; color: var(--muted); font-size: 12.5px; }
.tc-meta span { display: inline-flex; align-items: center; gap: 3px; }
.tc-foot { display: flex; align-items: center; gap: 8px; }
.tc-cnt { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tc-act { margin-left: auto; display: flex; gap: 6px; }
.empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 16px; text-align: center; }
.empty-state small { color: var(--muted); }

/* ---------- bekleme odası ---------- */
.room { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.room-body { display: flex; flex-direction: column; gap: 14px; }
.room-head.has-banner { min-height: 150px; padding: 20px 22px; border-radius: 20px; align-items: flex-end; }
.room-head .f-shade { background: linear-gradient(90deg, rgba(8,5,3,.92), rgba(8,5,3,.45) 70%, rgba(8,5,3,.2)); }
.room-head h2 { font-size: 26px; }
.rh-text { display: flex; flex-direction: column; gap: 6px; }
.code-box { background: rgba(0,0,0,.5); backdrop-filter: blur(6px); border-color: rgba(255,226,180,.25); padding: 10px 16px; }
.room-table { position: relative; display: grid; grid-template-columns: 1fr minmax(220px, 1.5fr) 1fr; grid-template-rows: auto minmax(150px, auto) auto; grid-template-areas: ". n ." "w f e" ". s ."; gap: 12px; align-items: center; justify-items: center; padding: 6px 0; }
.felt { grid-area: f; width: 100%; height: 100%; min-height: 170px; border-radius: 28px; padding: 12px; background: linear-gradient(145deg, #6b3f22, #3d2313); box-shadow: 0 18px 40px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.12); }
.felt-in { width: 100%; height: 100%; border-radius: 20px; background: radial-gradient(circle at 50% 40%, #2b6a5a, #17433a 70%, #12352e); box-shadow: inset 0 0 30px rgba(0,0,0,.45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.felt-info { display: flex; flex-direction: column; align-items: center; }
.felt-info b { font-size: 30px; color: #fff; }
.felt-info small { color: rgba(255,255,255,.75); }
.felt-tiles { display: flex; gap: 5px; }
.felt-tiles i { width: 22px; height: 31px; border-radius: 4px; background: linear-gradient(#fbf6ea, #e7d9bb); color: #c8322e; font: 900 15px/31px "Segoe UI", Arial; font-style: normal; text-align: center; box-shadow: 0 3px 6px rgba(0,0,0,.4); }
.felt-tiles i:nth-child(2) { color: #1565c0; transform: translateY(-3px); }
.felt-tiles i:nth-child(3) { color: #d98e04; }
.countdown { display: flex; flex-direction: column; align-items: center; }
.countdown small { color: rgba(255,255,255,.8); letter-spacing: 1.5px; text-transform: uppercase; font-size: 11px; font-weight: 800; }
.countdown b { font-size: 46px; line-height: 1; color: var(--gold); text-shadow: 0 0 18px rgba(231,183,89,.6); }
.room-table .seat { width: 100%; max-width: 270px; min-height: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 1px 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); }
.room-table .pos-s { grid-area: s; } .room-table .pos-n { grid-area: n; } .room-table .pos-e { grid-area: e; } .room-table .pos-w { grid-area: w; }
.room-table.cap2 { grid-template-areas: ". n ." ". f ." ". s ."; }
.seat-av { grid-row: 1 / 3; position: relative; width: 54px; height: 54px; }
.seat-av .av { width: 54px; height: 54px; position: relative; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,240,220,.12); }
.seat.ready .seat-av .av { box-shadow: 0 0 0 3px var(--green); }
.seat.me { border-color: rgba(231,183,89,.6); }
.seat.away { opacity: .6; }
.seat .host { position: absolute; top: -8px; left: -6px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: linear-gradient(#ffe08a, #d9a227); color: #3a2405; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.seat .host svg { width: 100%; height: 100%; display: block; }
.seat b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.seat .rd { grid-column: 3; grid-row: 1 / 3; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: rgba(255,240,220,.07); color: var(--muted); }
.seat.ready .rd { background: rgba(63,191,116,.18); color: var(--green); }
.seat .kick { grid-column: 2 / 4; justify-self: start; margin-top: 4px; }
.seat.team-0 { border-left: 3px solid #e5484d; } .seat.team-1 { border-left: 3px solid #eef2f7; }
.room-table .seat.empty { display: flex; flex-direction: column; align-items: center; gap: 4px; border-style: dashed; background: rgba(0,0,0,.18); box-shadow: none; text-align: center; }
.seat-ring { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed rgba(255,240,220,.25); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.seat-ring .i { width: 18px; height: 18px; }
.seat-acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.room-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.big-ready { min-width: 150px; min-height: 46px; font-size: 16px; border-radius: 14px; }
.room-chat { min-height: 420px; max-height: calc(100vh - 140px); position: sticky; top: 10px; }
.room-chat .chat-lines { display: flex; flex-direction: column; gap: 6px; padding-right: 4px; }
.f-help { align-self: flex-start; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(0,0,0,.35); color: #f3e2c2; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.f-help:hover { background: rgba(0,0,0,.5); color: #fff; }
.f-help .i .ico, .f-help .ico { width: 15px; height: 15px; }
.tut-open { margin-top: 14px; width: 100%; }
/* Yeşil: Standart / Pro */
.variant-pick { display: flex; gap: 8px; margin: 10px 0 2px; flex-wrap: wrap; }
.variant-pick .vp { flex: 1; min-width: 150px; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.35); color: var(--text); }
.variant-pick .vp small { color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.variant-pick .vp.on { border-color: var(--gold); background: linear-gradient(rgba(231,183,89,.28), rgba(231,183,89,.12)); box-shadow: 0 0 0 1px rgba(231,183,89,.4) inset; }
.variant-pick .vp.on b { color: var(--gold); }
.danger-link { color: #ff9a8f; border-color: rgba(255, 120, 110, .35); }
.danger-link:hover { color: #ffb8b0; }
.modal.danger .mhead h3 { color: #ff9a8f; }
/* misafir: hesabını koru */
.protect-card { display: flex; align-items: center; gap: 14px; margin: 0 16px 10px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(90deg, rgba(231,183,89,.16), rgba(231,183,89,.05)); border: 1px solid rgba(231,183,89,.35); }
.protect-card > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.protect-card b { color: var(--gold); }
.protect-card small { color: var(--muted); }
.recovery .row { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.recovery h2.code { text-align: center; letter-spacing: 3px; user-select: text; -webkit-user-select: text; }
/* davet linki */
.share .link-input { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: 13px; user-select: text; -webkit-user-select: text; }
.invite-landing { display: flex; flex-direction: column; gap: 12px; }
.lp-head { display: flex; gap: 12px; align-items: center; }
.lp-head .av.big { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; }
.lp-head .av.big svg, .lp-head .av.big img { width: 100%; height: 100%; }
.lp-head b { font-size: 18px; display: block; }
.lp-head small { color: var(--muted); }
.lp-head p { margin: 4px 0 0; }
.lp-table { padding: 10px 12px; border-radius: 12px; background: rgba(255,240,220,.06); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.lp-table small { color: var(--muted); }
.lp-players { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.lp-pl { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; }
.lp-pl .av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; }
.lp-pl .av svg, .lp-pl .av img { width: 100%; height: 100%; }
.lp-pl.bot { opacity: .55; }
.lp-field { display: flex; flex-direction: column; gap: 4px; }
.lp-field span { font-size: 12px; color: var(--muted); }
.lp-check { display: flex; gap: 8px; align-items: center; }
.lp-account small { color: var(--muted); }
.lp-account a { color: var(--gold); }
.cl { align-self: flex-start; max-width: 88%; padding: 6px 10px; border-radius: 12px 12px 12px 4px; background: rgba(255,240,220,.07); }
.cl b { display: block; font-size: 11.5px; color: var(--gold); }
.cl.mine { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: rgba(231,183,89,.16); }
@media (max-width: 980px) { .room { grid-template-columns: 1fr; } .room-chat { position: static; min-height: 260px; } }
@media (max-width: 640px) {
    .room-table { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-template-areas: "f f" "s e" "n w"; }
    .room-table.cap2 { grid-template-areas: "f f" "s n"; }
    .room-table .seat { max-width: none; }
    .felt { min-height: 120px; }
}
.room-table { grid-template-columns: minmax(0, 1fr) minmax(260px, 1.25fr) minmax(0, 1fr); }
.room-table .pos-n, .room-table .pos-s { max-width: 300px; }
.room-table .pos-e, .room-table .pos-w { max-width: 260px; }
@media (min-width: 1100px) { .screen:not(:has(> .app-nav)) header.top .brand .logo-tile { display: flex; } }
@media (max-width: 640px) {
    header.top { padding: 10px 14px 4px; align-items: flex-start; }
    header.top .brand .logo-tile { display: none; }
    header.top .brand b { font-size: 17px; line-height: 1.2; }
    header.top .brand small { font-size: 12px; }
    .pchip .pinfo { display: none; }
    .pchip { padding: 3px; }
    .coin-pill { padding: 5px 10px 5px 6px; }
    .live-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
    .live-row .seat-dots { display: none; }
    .tools-r .btn { flex: 1 1 auto; }
}

/* =====================================================================================================================
 * Yönetilebilir modlar, marka, bakım, davetler (2026-10-17)
 * ===================================================================================================================== */
.logo-tile.img { background: none; box-shadow: none; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; }
.logo-tile.img img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* mod durumu rozeti */
.mc-status { position: absolute; top: 9px; left: 9px; z-index: 2; font-size: 10.5px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 9px; border-radius: 8px; background: #d98e04; color: #241306; box-shadow: 0 3px 10px rgba(0,0,0,.5); }
.mode-card.st-passive .mc-status { background: #5d4c3e; color: #f6ead6; }
.mode-card.st-passive { filter: grayscale(.85) brightness(.75); }
.mode-card.st-maintenance::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(217,142,4,.0) 0 14px, rgba(217,142,4,.13) 14px 28px); pointer-events: none; }
.mode-card.blocked { cursor: not-allowed; }
.mode-card.blocked:hover { transform: none; }
.f-status { font-style: normal; margin-left: 8px; padding: 2px 8px; border-radius: 7px; background: #d98e04; color: #241306; letter-spacing: 1px; }
.feature.st-passive .f-status { background: #5d4c3e; color: #f6ead6; }
.feature.st-passive { filter: saturate(.4); }
.cta2.pulse { animation: practiceGlow 1.8s ease-in-out infinite; }
@keyframes practiceGlow { 50% { box-shadow: 0 0 0 4px rgba(127,224,160,.25), 0 0 22px rgba(127,224,160,.35); } }
.announce.maint { border-color: rgba(217,142,4,.6); background: linear-gradient(90deg, rgba(217,142,4,.18), rgba(217,142,4,.06)); }
.invite-hot { border-color: rgba(231,183,89,.55); }
/* davet penceresi */
.modal.invite .mbox { width: min(560px, 100%); }
.inv { display: flex; flex-direction: column; gap: 10px; }
.inv .hint { margin: 0; }
.inv-tabs { display: flex; gap: 6px; }
.inv-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 11px; border: 1px solid var(--line); background: rgba(0,0,0,.2); color: var(--muted); font-weight: 700; }
.inv-tabs button.on { background: linear-gradient(#f0c46a, #c8913a); color: #2a1708; border-color: #f7d48e; }
.inv-tabs em { font-style: normal; font-size: 11.5px; padding: 0 7px; border-radius: 8px; background: rgba(0,0,0,.25); }
.inv-search { width: 100%; background: #1d130d; border: 1px solid var(--line); color: var(--text); padding: 9px 12px; border-radius: 10px; font-size: 14px; outline: none; }
.inv-search:focus { border-color: var(--gold); }
.inv-list { display: flex; flex-direction: column; gap: 4px; max-height: min(46vh, 380px); overflow: auto; padding-right: 2px; }
.inv-row { display: grid; grid-template-columns: 20px 36px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 12px; background: rgba(255,240,220,.04); border: 1px solid transparent; cursor: pointer; }
.inv-row:hover { border-color: rgba(231,183,89,.3); }
.inv-row.dis { opacity: .55; cursor: default; }
.inv-row.done { opacity: .8; }
.inv-row input { width: 17px; height: 17px; accent-color: #e2a43c; }
.inv-row .av { width: 36px; height: 36px; position: relative; }
.inv-main { display: flex; flex-direction: column; min-width: 0; }
.inv-main b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.inv-main .fr { font-style: normal; color: var(--gold); margin-left: 5px; }
.inv-main small { color: var(--muted); font-size: 11.5px; }
.inv-st { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 8px; background: rgba(255,240,220,.07); color: var(--muted); }
.inv-st.st-online { color: var(--green); background: rgba(63,191,116,.14); }
.inv-st.st-lobby { color: var(--gold); background: rgba(231,183,89,.14); }
.inv-st.st-playing { color: #ff9a8f; background: rgba(224,87,75,.14); }
.inv-foot { display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.inv-all { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.inv-all input { width: 17px; height: 17px; accent-color: #e2a43c; }
@media (max-width: 520px) { .inv-row { grid-template-columns: 20px 32px minmax(0, 1fr) auto; } .inv-st { display: none; } }
.frow.req { background: rgba(90,168,255,.08); border-radius: 10px; }
.frow b small { color: var(--muted); font-weight: 400; }
.frow .muted { color: var(--muted); font-size: 12.5px; }
.fbtns { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mod-tag { font-style: normal; font-size: 9.5px; font-weight: 900; letter-spacing: .8px; padding: 1px 5px; border-radius: 5px; background: #3b82f6; color: #fff; margin: 0 5px 0 0; vertical-align: 2px; }
h2 .mod-tag { margin: 0 0 0 8px; font-size: 11px; vertical-align: 4px; }
.mod-tools { margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(59,130,246,.45); background: rgba(59,130,246,.08); display: flex; flex-direction: column; gap: 8px; }
.mod-tools > b { color: #8fbaff; font-size: 13px; }
.mod-tools .row { gap: 6px; }
.mod-tools .muted { color: var(--muted); font-size: 12.5px; }
.btn.warn { border-color: rgba(224,87,75,.5); background: rgba(224,87,75,.14); }
.mod-btn { border-color: rgba(59,130,246,.5); }
body.phone.fs header.top { padding-right: calc(52px + var(--safe-r)); }
body.phone .app-nav .nav-items button { padding: 3px 2px; }
@media (max-height: 520px) and (orientation: landscape) {
    body.phone .app-nav { padding-top: 3px; padding-bottom: calc(3px + var(--safe-b)); }
    body.phone .nav-items button { flex-direction: row; gap: 6px; font-size: 12px; }
    body.phone .nav-items button .i { width: 18px; height: 18px; }
    body.phone .feature { min-height: 0; }
    body.phone .feature p { display: none; }
}
/* gelen davet kartları (sol kenar) */
.invite-stack { position: fixed; left: max(12px, var(--safe-l)); top: 50%; transform: translateY(-50%); z-index: 70; display: flex; flex-direction: column; gap: 10px; width: min(330px, calc(100vw - 24px)); pointer-events: none; }
.invite-card { --accent: #f0b04a; position: relative; overflow: hidden; pointer-events: auto; border-radius: 18px; background: rgba(32,21,14,.97); border: 1px solid rgba(255,214,150,.22); border-left: 4px solid var(--accent); box-shadow: 0 18px 44px rgba(0,0,0,.6); animation: invIn .45s cubic-bezier(.2,.9,.3,1.2); backdrop-filter: blur(8px); color: var(--text); }
.invite-card.out { animation: invOut .3s ease-in forwards; }
@keyframes invIn { from { opacity: 0; transform: translateX(-40px) scale(.96); } }
@keyframes invOut { to { opacity: 0; transform: translateX(-40px); } }
.ic-top { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px 8px; }
.ic-av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--accent); }
.ic-av svg { width: 100%; height: 100%; display: block; }
.ic-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ic-who small { font-size: 10.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--accent); }
.ic-who b { font-size: 15.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ic-who span { font-size: 12px; color: var(--muted); }
.ic-x { border: 0; background: none; color: var(--muted); font-size: 14px; padding: 4px; align-self: start; }
.ic-info { position: relative; margin: 0 12px; padding: 10px 12px; border-radius: 12px; background-size: cover; background-position: center; overflow: hidden; display: flex; flex-direction: column; gap: 6px; }
.ic-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,5,3,.9), rgba(8,5,3,.55)); }
.ic-info > b, .ic-chips { position: relative; }
.ic-info > b { font-size: 16px; }
.ic-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ic-chips i { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); }
.ic-act { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 10px 12px 13px; }
.ic-act .btn { min-height: 40px; }
.ic-no { background: rgba(224,87,75,.14); border-color: rgba(224,87,75,.45); }
.ic-life { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; animation: icLife linear forwards; }
@keyframes icLife { to { transform: scaleX(0); } }
@media (max-width: 600px) { .invite-stack { top: auto; bottom: calc(76px + var(--safe-b)); transform: none; } }
/* Avelith logosu: salonun en altı, menü çubuğunun üstü */
.brand-foot { display: flex; justify-content: center; padding: 26px 0 6px; }
.brand-foot img { height: 30px; width: auto; opacity: .55; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); transition: opacity .2s; user-select: none; -webkit-user-drag: none; }
.brand-foot img:hover { opacity: .85; }
@media (max-width: 760px) { .brand-foot { padding-top: 18px; } .brand-foot img { height: 24px; } }
.avpick svg { border-radius: 50%; }
.ct-nameRow input { font-size: 16px; font-weight: 600; }
.ct-dice { color: var(--text); transition: border-color .15s, transform .1s; }
.ct-dice:hover { border-color: rgba(231,183,89,.5); }
.ct-dice:active { transform: rotate(-12deg) scale(.95); }
