/* ==========================================================================
   screens.css — Ana menü, dolap, pencerelerin içerikleri
   ========================================================================== */

/* ---------- Ana menü ---------- */
#menu-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.menu-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 8, 30, 0.55) 0%, rgba(5, 8, 30, 0) 22%, rgba(5, 8, 30, 0) 55%, rgba(5, 8, 30, 0.85) 100%); }
#screen-menu > *:not(canvas):not(.menu-shade) { position: relative; z-index: 2; }

.top-bar { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px 0; }
.profile { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 2px solid rgba(255, 255, 255, 0.25); border-radius: 99px; background: rgba(8, 12, 40, 0.65); cursor: pointer; min-width: 0; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #4a7bff, #1b2a7a); border: 2px solid #fff; position: relative; }
.avatar img { position: absolute; width: 210%; left: -55%; top: -6%; }
.p-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.p-text b { font-size: 13px; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-row { display: flex; align-items: center; gap: 6px; }
.lv-row em { font-style: normal; font-size: 13px; font-weight: 900; color: #ffd34a; }
.lv-row .xpbar { width: 62px; }
.chips { display: flex; align-items: center; gap: 8px; }

.logo-block { flex: none; text-align: left; padding: 6px 16px 0; }
.logo-block h1 {
    margin: 0; font-size: 40px; line-height: 0.92; font-style: italic; font-weight: 900; letter-spacing: 0.01em; color: #fff;
    text-shadow: 0 4px 0 #1c3fa8, 0 8px 14px rgba(0, 0, 0, 0.5); transform: rotate(-3deg); transform-origin: left center;
}
.logo-block h1 span { color: #ffb02e; text-shadow: 0 4px 0 #a34a00, 0 8px 14px rgba(0, 0, 0, 0.5); font-size: 46px; }
.logo-block p { margin: 8px 0 0; font-size: 12px; font-weight: 800; color: #cdd6ff; max-width: 150px; text-transform: uppercase; letter-spacing: 0.04em; }

.side-btns { position: absolute !important; right: 10px; top: 188px; display: flex; flex-direction: column; gap: 8px; }
.side-btn {
    position: relative; width: 60px; height: 58px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(40, 56, 140, 0.92), rgba(12, 18, 60, 0.92)); cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
.side-btn .ic { font-size: 24px; line-height: 1; }
.side-btn small { font-size: 8.5px; font-weight: 900; letter-spacing: 0.04em; color: #cdd6ff; }
.side-btn:active { transform: scale(0.94); }

.menu-bottom { margin-top: auto; padding: 0 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
#menu-update { align-self: flex-end; }
.mode-pick { display: flex; align-items: center; gap: 6px; width: 100%; max-width: 360px; }
.arrow { flex: none; width: 36px; height: 44px; border: 0; border-radius: 12px; background: rgba(8, 12, 40, 0.7); color: #fff; font-size: 26px; font-weight: 900; cursor: pointer; padding: 0 0 3px; border: 2px solid rgba(255, 255, 255, 0.25); }
.arrow:active { transform: scale(0.92); }
.mode-card { flex: 1; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 16px; background: rgba(8, 12, 40, 0.72); border: 2px solid rgba(255, 255, 255, 0.25); min-width: 0; }
.mode-card .m-ic { font-size: 28px; }
.mode-card b { display: block; font-size: 16px; }
.mode-card small { display: block; font-size: 11px; color: #b9c4f5; font-weight: 700; }
.mode-card em { display: block; font-style: normal; font-size: 11px; color: #ffd34a; font-weight: 800; margin-top: 1px; }

.play-btn {
    width: min(78%, 300px); height: 66px; border: 0; border-radius: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px;
    background: linear-gradient(180deg, #ffd23a, #f59300); color: #2b1800; font-size: 34px; font-weight: 900; font-style: italic; letter-spacing: 0.04em;
    box-shadow: 0 6px 0 #b06000, 0 12px 24px rgba(255, 150, 0, 0.45), inset 0 3px 0 rgba(255, 255, 255, 0.5);
    animation: playPulse 1.6s ease-in-out infinite;
}
.play-btn svg { width: 36px; height: 36px; fill: #2b1800; }
.play-btn:disabled { filter: grayscale(1) brightness(0.7); animation: none; }
.play-btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #b06000; }
@keyframes playPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

.bottom-nav { display: flex; gap: 8px; width: 100%; max-width: 380px; }
.nav-btn {
    flex: 1; height: 58px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.25); cursor: pointer; padding: 0; color: #fff;
    background: linear-gradient(180deg, rgba(34, 48, 128, 0.92), rgba(10, 16, 56, 0.92)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.nav-btn .ic { font-size: 22px; line-height: 1; }
.nav-btn small { font-size: 8px; font-weight: 900; letter-spacing: 0.03em; color: #cdd6ff; }
.nav-btn:active { transform: scale(0.95); }
.menu-foot { font-size: 10px; color: rgba(255, 255, 255, 0.4); text-align: center; }

/* ---------- Dolap ---------- */
#screen-lockers { background: radial-gradient(ellipse at 50% 0%, #25318a, #0b1030 70%); }
.lk-head { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; }
.lk-scroll { flex: 1; overflow-y: auto; padding: 0 14px; min-height: 0; -webkit-overflow-scrolling: touch; }
.lk-title { margin: 6px 0 10px; font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: 0.02em; }
.lk-pad { height: 20px; }

.showcase { margin: 12px 0; padding: 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(20, 28, 90, 0.9), rgba(8, 12, 44, 0.9)); border: 2px solid rgba(255, 255, 255, 0.18); }
.sc-head { display: flex; align-items: center; gap: 10px; }
.sc-head h3 { margin: 0; font-size: 26px; font-style: italic; font-weight: 900; }
.rarity { font-size: 10px; font-weight: 900; letter-spacing: 0.08em; padding: 4px 8px; border-radius: 6px; color: #fff; }
.r-common { background: #5b6690; }
.r-rare { background: #2a7be8; }
.r-epic { background: #8a3dd6; }
.r-legendary { background: linear-gradient(180deg, #ff9a1f, #e0560a); }
.sc-desc { margin: 4px 0 0; color: #c3ccf5; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.bonus { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.bonus span { font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); color: #8e99c8; }
.bonus span.on { background: rgba(255, 210, 60, 0.2); color: #ffd34a; }
.sc-stage { display: flex; align-items: center; justify-content: space-between; margin: 6px 0; }
.sc-stage .arrow { background: transparent; border: 0; font-size: 44px; color: #fff; width: 40px; }
.lk-ball { width: min(62vw, 240px); height: min(62vw, 240px); }
.lk-char { width: min(54vw, 190px); height: min(72vw, 253px); }
.lk-court { display: flex; justify-content: center; }
.lk-court canvas { border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.4); max-width: 100%; }
.sc-action { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.sc-action .btn { min-width: 210px; }
.lock-info { font-weight: 800; color: #ffb2bc; background: rgba(255, 59, 82, 0.14); padding: 8px 14px; border-radius: 12px; }

.cell-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cell {
    position: relative; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.14); background: rgba(10, 16, 56, 0.8); padding: 6px 2px 5px; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; min-height: 92px;
}
.cell .thumb { flex: 1; display: flex; align-items: center; justify-content: center; }
.cell small { font-size: 11px; font-weight: 800; }
.cell.sel { border-color: #ffb02e; box-shadow: 0 0 14px rgba(255, 176, 46, 0.55); }
.cell.locked .thumb { filter: grayscale(0.7) brightness(0.55); }
.cell .lock { position: absolute; right: 4px; bottom: 22px; font-style: normal; font-size: 14px; }
.cell .lock em { font-style: normal; font-size: 10px; font-weight: 900; margin-left: 1px; color: #ffd34a; }
.cell .tick { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #f0a500; color: #2b1800; font-style: normal; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }

.upgrades { display: flex; flex-direction: column; gap: 10px; }
.upg { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(20, 28, 90, 0.9), rgba(8, 12, 44, 0.9)); border: 2px solid rgba(255, 255, 255, 0.14); }
.u-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: rgba(255, 255, 255, 0.08); }
.u-info { flex: 1; min-width: 0; }
.u-info b { display: block; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; }
.u-info small { display: block; font-size: 11px; color: #aeb9ee; font-weight: 700; }
.segs { display: flex; gap: 3px; margin-top: 5px; }
.segs i { flex: 1; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.segs i.on { background: linear-gradient(180deg, #ffe45c, #f59300); }
.segs i.bonus { background: #4aa8ff; }
.u-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.u-lv { font-size: 12px; font-weight: 800; color: #aeb9ee; }
.u-lv em { color: #4aa8ff; font-style: normal; }
.btn.poor { filter: grayscale(0.75) brightness(0.8); }

/* ---------- Pencere içerikleri ---------- */
.modal-card .row input { flex: 1; }
.modal-card.result { text-align: center; max-width: 360px; }
.res-mode { font-size: 13px; font-weight: 800; color: #b9c4f5; }
.res-title { font-size: 24px; font-weight: 900; font-style: italic; margin: 2px 0; color: #ffd34a; }
.res-score { font-size: 64px; font-weight: 900; line-height: 1; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35); animation: popIn 0.5s ease-out; }
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.res-stats { display: flex; justify-content: center; gap: 16px; margin: 10px 0; font-size: 12px; color: #b9c4f5; font-weight: 700; }
.res-stats span { display: flex; flex-direction: column; }
.res-stats b { font-size: 20px; color: #fff; }
.res-rewards { display: flex; justify-content: center; gap: 10px; margin-bottom: 8px; }
.reward { padding: 6px 12px; border-radius: 99px; font-weight: 900; background: rgba(0, 0, 0, 0.35); border: 1.5px solid var(--line); }
.reward.gold { color: #ffd34a; border-color: rgba(255, 210, 60, 0.5); }
.xpbar.big { height: 20px; position: relative; margin: 4px 6px; }
.xpbar.big span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; text-shadow: 0 1px 2px #000; }
.levelup { margin: 8px 0; padding: 8px; border-radius: 12px; font-weight: 900; color: #2b1800; background: linear-gradient(180deg, #ffe45c, #f59300); animation: popIn 0.5s ease-out; }
.res-unlocks { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0; }
.res-rank { font-size: 13px; font-weight: 700; color: #c3ccf5; min-height: 18px; }
.res-rank b { color: #ffd34a; font-size: 16px; }
.big-gold { text-align: center; font-size: 40px; font-weight: 900; color: #ffd34a; margin: 8px 0; }

.mission { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid var(--line); }
.mission.claimed { opacity: 0.5; }
.m-info { flex: 1; min-width: 0; }
.m-info b { font-size: 14px; }
.m-info small { color: #aeb9ee; font-weight: 700; font-size: 11px; }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); margin: 5px 0; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #43e07d, #17a84f); }
.m-done { font-size: 22px; color: #7dffb0; font-weight: 900; }

.news-list { max-height: 52vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.news { display: flex; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid var(--line); text-align: left; }
.news.pinned { border-color: rgba(255, 210, 60, 0.6); }
.news.focus { box-shadow: 0 0 0 2px #ffb02e; }
.news.kind-warning { border-color: rgba(255, 150, 60, 0.7); }
.n-ic { flex: none; font-size: 26px; }
.n-body { min-width: 0; }
.n-body b { font-size: 15px; }
.n-body p { margin: 4px 0; font-size: 13px; color: #d6dcf8; line-height: 1.4; }
.n-body small { color: #8e99c8; font-size: 11px; font-weight: 700; display: block; margin-bottom: 4px; }

.season-line { text-align: center; font-size: 12px; font-weight: 800; color: #ffd34a; margin: -6px 0 10px; }
.lb-list { margin: 10px 0 0; max-height: 46vh; overflow-y: auto; }
.lb-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); }
.lb-row.me { background: rgba(255, 176, 46, 0.22); border: 1.5px solid #ffb02e; }
.lb-row.sticky { position: sticky; bottom: 0; }
.lb-row .rk { flex: none; width: 34px; text-align: center; font-weight: 900; font-size: 17px; }
.lb-row .av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; background: #3a4aa0; border: 2px solid rgba(255, 255, 255, 0.6); }
.lb-row .nm { flex: 1; min-width: 0; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row .nm small { display: block; font-size: 10px; color: #8e99c8; }
.lb-row .sc { font-size: 18px; color: #ffd34a; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 10px 0; }

.gold-line { text-align: center; font-size: 22px; font-weight: 900; color: #ffd34a; margin: -4px 0 10px; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 8px; border-radius: 14px; border: 2px solid rgba(255, 210, 60, 0.45); background: linear-gradient(180deg, rgba(60, 50, 10, 0.55), rgba(20, 20, 50, 0.7)); color: #fff; cursor: pointer; }
.pack .p-ic { font-size: 30px; }
.pack b { font-size: 13px; color: #ffd34a; }
.pack small { font-size: 10px; color: #aeb9ee; font-weight: 700; }
.pack .p-price { margin-top: 4px; padding: 4px 8px; border-radius: 99px; background: linear-gradient(180deg, #43e07d, #17a84f); font-size: 12px; font-weight: 900; }
.pack:active { transform: scale(0.95); }
