/* Экраны: меню, кубки, гараж, гонка, окна результата и брифинга, заставка */

/* ---------------- меню ---------------- */
#menuIn { display: flex; flex-direction: column; align-items: center; padding: 8px 12px 10px; }
.menu-top { display: flex; align-items: center; gap: 7px; width: 100%; height: 50px; flex-shrink: 0; }
.menu-top .top-btns { margin-left: auto; display: flex; gap: 7px; }
.menu-logo { flex-shrink: 0; margin-top: 2px; pointer-events: none; animation: logoIn 0.7s cubic-bezier(0.2, 1.5, 0.4, 1); }
@keyframes logoIn { from { transform: translateY(-60px) scale(0.7); opacity: 0; } to { transform: none; opacity: 1; } }
.l-new { animation: newWobble 2.6s ease-in-out infinite; }
@keyframes newWobble { 0%, 100% { transform: rotate(-7deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.06); } }
.guest { display: none; align-items: center; gap: 6px; margin-top: 2px; padding: 4px 10px 4px 6px; border-radius: 11px; border: 2.5px solid #7a5a08; background: #ffe88a; color: #5a3a08; font-size: 11.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22); }
.guest.show { display: flex; }
.guest .ic { width: 20px; height: 20px; }
.menu-bottom { margin-top: auto; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 9px; flex-shrink: 0; }
.menu-bottom .b-play { height: 64px; justify-content: flex-start; padding-left: 26px; gap: 12px; animation: playPulse 1.6s ease-in-out infinite; }
.menu-bottom .b-play .ic { width: 40px; height: 40px; }
.menu-bottom .b-play b { font-size: 27px; }
@keyframes playPulse { 50% { filter: brightness(1.12); } }
.menu-bottom .btn { height: 46px; font-size: 16px; }
.row.small { justify-content: space-between; gap: 6px; margin-top: -1px; }
.lnk { display: flex; align-items: center; gap: 5px; height: 40px; padding: 0 9px; border-radius: 11px; background: rgba(58, 36, 16, 0.72); border: 2px solid rgba(255, 246, 220, 0.5); color: #fff6dc; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.lnk .ic { width: 18px; height: 18px; }
.lnk:active { background: rgba(58, 36, 16, 0.95); }

/* ---------------- шапка экранов ---------------- */
.fitwrap.col { padding: 8px 10px 10px; }
.head { display: flex; align-items: center; gap: 8px; height: 50px; flex-shrink: 0; }
.head-title { flex: 1; font-size: 25px; font-weight: 900; color: #fff; text-shadow: -2px -2px 0 #3a2410, 2px -2px 0 #3a2410, -2px 2px 0 #3a2410, 2px 2px 0 #3a2410, 0px -2px 0 #3a2410, 0px 2px 0 #3a2410, -2px 0px 0 #3a2410, 2px 0px 0 #3a2410, 0 4px 0 #3a2410; white-space: nowrap; }

/* ---------------- кубки ---------------- */
#scr-cups { background: linear-gradient(180deg, rgba(42, 134, 230, 0.86), rgba(124, 207, 82, 0.9)); }
#cups-list { display: flex; flex-direction: column; gap: 12px; padding: 6px 2px 20px; margin-top: 6px; }
.cup { position: relative; flex-shrink: 0; border-radius: 16px; border: 4px solid #3a2410; background: #fff6dc; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28); overflow: hidden; }
.cup-head { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 10px; color: #fff; border-bottom: 4px solid #3a2410; }
.cup-head .ic { width: 44px; height: 44px; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35)); }
.cup-head .ct { flex: 1; min-width: 0; }
.cup-name { font-size: 18px; font-weight: 900; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); line-height: 1.1; }
.cup-sub { font-size: 12px; font-weight: 800; opacity: 0.95; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); margin-top: 2px; }
.cup-pts { flex-shrink: 0; padding: 4px 9px; border-radius: 10px; background: rgba(0, 0, 0, 0.28); font-size: 13px; font-weight: 900; white-space: nowrap; }
.trk { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-bottom: 2px dashed #d8b880; }
.trk:last-child { border-bottom: none; }
.trk-n .ic { width: 20px; height: 20px; }
.trk-n { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #3a2410; color: #fff6dc; font-size: 15px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.trk .ct { flex: 1; min-width: 0; }
.trk-name { font-size: 15px; font-weight: 900; color: #4a2a08; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk-info { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: #8a6a4a; margin-top: 1px; white-space: nowrap; }
.stars3 { display: flex; gap: 1px; }
.stars3 .ic { width: 16px; height: 16px; }
.trk.locked { opacity: 0.6; }
.cup-lock { padding: 14px 10px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 800; color: #6a4a2a; }
.cup-lock .ic { width: 34px; height: 34px; }

/* ---------------- гараж ---------------- */
.garage-view { position: relative; flex: 0 0 230px; pointer-events: none; }
.garage-name { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-size: 23px; font-weight: 900; color: #fff; text-shadow: -2px -2px 0 #3a2410, 2px -2px 0 #3a2410, -2px 2px 0 #3a2410, 2px 2px 0 #3a2410, 0px -2px 0 #3a2410, 0px 2px 0 #3a2410, -2px 0px 0 #3a2410, 2px 0px 0 #3a2410, 0 4px 0 #3a2410; white-space: nowrap; }
.garage-perk { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font-size: 12.5px; font-weight: 800; color: #fff6dc; text-shadow: 0 1px 0 #3a2410, 0 0 6px rgba(0, 0, 0, 0.6); white-space: nowrap; }
.garage-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 18px 18px 14px 14px; border: 4px solid #3a2410; background: #fff6dc; box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.18); overflow: hidden; }
.tabs { display: flex; flex-shrink: 0; background: #3a2410; gap: 3px; padding: 4px 4px 0; }
.tab { flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 11px 11px 0 0; background: #8a6a4a; color: #fff6dc; font-size: 13px; font-weight: 900; }
.tab .ic { width: 22px; height: 22px; }
.tab.on { background: #fff6dc; color: #4a2a08; }
#garage-list { display: flex; flex-direction: column; gap: 8px; padding: 9px 8px 16px; }
.bike { position: relative; flex-shrink: 0; padding: 8px 9px; border-radius: 13px; border: 3px solid #b88a52; background: #fffaf0; }
.bike.on { border-color: #2f7fe0; background: #e8f4ff; box-shadow: 0 0 0 2px #2f7fe0; }
.bike-top { display: flex; align-items: center; gap: 8px; }
.bike-col { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; border: 3px solid #3a2410; box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.45); }
.bike .ct { flex: 1; min-width: 0; }
.bike-name { font-size: 16px; font-weight: 900; color: #4a2a08; white-space: nowrap; }
.bike-desc { font-size: 11.5px; font-weight: 700; color: #7a5a3a; line-height: 1.2; }
.bars { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; margin-top: 6px; }
.sbar { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 900; color: #6a4a2a; }
.sbar span { width: 58px; flex-shrink: 0; }
.sbar i { position: relative; flex: 1; height: 8px; border-radius: 5px; background: #e0d0a8; overflow: hidden; border: 1px solid #8a6a3a; }
.sbar i b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.up { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 8px 9px; border-radius: 13px; border: 3px solid #b88a52; background: #fffaf0; }
.up .ic { width: 40px; height: 40px; }
.up .ct { flex: 1; min-width: 0; }
.up-name { font-size: 15px; font-weight: 900; color: #4a2a08; }
.up-desc { font-size: 11px; font-weight: 700; color: #7a5a3a; line-height: 1.2; }
.pips { display: flex; gap: 3px; margin-top: 4px; }
.pips i { width: 20px; height: 9px; border-radius: 3px; background: #e0d0a8; border: 1.5px solid #8a6a3a; }
.pips i.on { background: linear-gradient(180deg, #ffd84a, #f09a14); border-color: #8a5a04; }
.sec-title { flex-shrink: 0; font-size: 14px; font-weight: 900; color: #8a5a2a; padding: 2px 4px 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; flex-shrink: 0; }
.cell { position: relative; height: 72px; border-radius: 12px; border: 3px solid #b88a52; background: #fffaf0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; font-weight: 900; color: #4a2a08; line-height: 1.05; text-align: center; padding: 0 2px; }
.cell.on { border-color: #2f7fe0; background: #e8f4ff; box-shadow: 0 0 0 2px #2f7fe0; }
.cell .sw2 { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #3a2410; box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.45); }
.cell .ic { width: 30px; height: 30px; }
.cell .pr { display: flex; align-items: center; gap: 2px; font-size: 11px; color: #b8780a; }
.cell .pr .ic { width: 13px; height: 13px; }
.cell:active { transform: scale(0.95); }

/* ---------------- гонка ---------------- */
#scr-game { background: none; }
#steer-zone { position: absolute; inset: 0; touch-action: none; }
#scr-game .fitwrap { pointer-events: none; }
.hud-top { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; align-items: flex-start; gap: 8px; }
#hud-place-box { width: 62px; height: 62px; flex-shrink: 0; border-radius: 15px; border: 3px solid #3a2410; display: flex; align-items: baseline; justify-content: center; padding-top: 6px; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45); box-shadow: 0 4px 0 #3a2410, inset 0 5px 0 rgba(255, 255, 255, 0.4); background: linear-gradient(180deg, #8a94a4, #5a6474); }
#hud-place-box b { font-size: 40px; font-weight: 900; line-height: 1; }
#hud-place-box i { font-style: normal; font-size: 15px; font-weight: 900; opacity: 0.9; }
#hud-place-box.p1 { background: linear-gradient(180deg, #ffe45a, #f0a008); }
#hud-place-box.p2 { background: linear-gradient(180deg, #e8eef6, #94a4b8); }
#hud-place-box.p3 { background: linear-gradient(180deg, #ffc088, #c8682a); }
.hud-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hud-track { font-size: 13px; font-weight: 900; color: #fff; text-shadow: 0 2px 0 #3a2410, 0 0 5px rgba(0, 0, 0, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-progbar { position: relative; height: 15px; margin-right: 12px; border-radius: 9px; background: rgba(58, 36, 16, 0.75); border: 2.5px solid #3a2410; box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.3); }
#hud-prog { position: absolute; left: 6px; right: 12px; top: 0; bottom: 0; }
.pd { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 2px solid #22140a; }
.pd.r0 { background: #ff5a4a; } .pd.r1 { background: #ff8ac8; } .pd.r2 { background: #5ab0ff; } .pd.r3 { background: #6ad85a; } .pd.r4 { background: #c88aff; }
.pd.boss { background: #ffd21e; border-color: #7a1410; box-shadow: 0 0 0 2px #ffd21e; }
.riv.boss i { border-color: #b87a08; box-shadow: 0 0 0 3px #ffd21e, inset 0 4px 0 rgba(255, 255, 255, 0.35); }
.riv.boss i .ic { width: 24px; height: 24px; }
.pd.me { width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px; background: #ffe24a; border-color: #fff; box-shadow: 0 0 0 2px #22140a; z-index: 2; }
.hud-progbar .fin { position: absolute; right: -13px; top: -8px; width: 26px; height: 26px; }
.hud-row { display: flex; gap: 6px; }
.hv { display: flex; align-items: center; gap: 3px; height: 26px; padding: 0 7px 0 4px; border-radius: 13px; background: rgba(58, 36, 16, 0.75); border: 2px solid #3a2410; color: #fff; font-size: 14px; font-weight: 900; white-space: nowrap; }
.hv .ic { width: 18px; height: 18px; }
.hv i { font-style: normal; font-size: 10px; opacity: 0.85; margin-left: 1px; }
.hv b { font-weight: 900; }
#hud-combo { position: absolute; left: 10px; top: 86px; padding: 4px 11px; border-radius: 12px; border: 3px solid #3a2410; background: linear-gradient(180deg, #ff9a4a, #e8421e); color: #fff; font-size: 16px; font-weight: 900; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); transform: rotate(-4deg) scale(0); transition: transform 0.15s cubic-bezier(0.2, 1.6, 0.4, 1); box-shadow: 0 3px 0 #3a2410; }
#hud-combo.show { transform: rotate(-4deg) scale(1); }
#hud-buffs { position: absolute; right: 10px; top: 86px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.buff { display: none; align-items: center; gap: 4px; height: 30px; padding: 0 9px 0 4px; border-radius: 15px; border: 2.5px solid #3a2410; background: linear-gradient(180deg, #fff6dc, #f0d8a0); color: #4a2a08; font-size: 15px; font-weight: 900; box-shadow: 0 3px 0 #3a2410; }
.buff.show { display: flex; animation: bump 0.35s ease-out; }
.buff .ic { width: 22px; height: 22px; }
.hud-rear { position: absolute; bottom: 196px; width: 44px; height: 44px; display: none; align-items: center; justify-content: center; border-radius: 50%; border: 3px solid #3a2410; background: #ffd21e; animation: dotPulse 0.5s ease-in-out infinite; }
.hud-rear.show { display: flex; }
.hud-rear .ic { width: 26px; height: 26px; }
#hud-rear-l { left: 16px; } #hud-rear-r { right: 16px; }
#pops { position: absolute; left: 0; right: 0; top: 126px; display: flex; flex-direction: column; align-items: center; gap: 3px; pointer-events: none; }
.pop { padding: 2px 12px; font-size: 17px; font-weight: 900; white-space: nowrap; text-shadow: -2px -2px 0 #22140a, 2px -2px 0 #22140a, -2px 2px 0 #22140a, 2px 2px 0 #22140a, 0px -2px 0 #22140a, 0px 2px 0 #22140a, -2px 0px 0 #22140a, 2px 0px 0 #22140a, 0 3px 0 #22140a, 0 0 8px rgba(0, 0, 0, 0.5); animation: popIn 1.3s ease-out forwards; }
.pop.big { font-size: 24px; animation-duration: 1.7s; }
@keyframes popIn { 0% { transform: scale(0.3); opacity: 0; } 12% { transform: scale(1.25); opacity: 1; } 22% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
#big-count { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font-size: 92px; font-weight: 900; color: #ffe24a; text-shadow: -4px -4px 0 #3a2410, 4px -4px 0 #3a2410, -4px 4px 0 #3a2410, 4px 4px 0 #3a2410, 0px -4px 0 #3a2410, 0px 4px 0 #3a2410, -4px 0px 0 #3a2410, 4px 0px 0 #3a2410, 0 9px 0 #3a2410, 0 0 24px rgba(255, 226, 74, 0.6); pointer-events: none; white-space: nowrap; }
#big-count.pulse { animation: countPulse 0.85s ease-out; }
@keyframes countPulse { 0% { transform: scale(2.2); opacity: 0; } 25% { transform: scale(0.9); opacity: 1; } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
#hud-wrong { position: absolute; left: 50%; top: 42%; transform: translateX(-50%); display: none; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 13px; border: 3px solid #3a2410; background: #ffd21e; color: #3a2410; font-size: 16px; font-weight: 900; white-space: nowrap; animation: dotPulse 0.6s ease-in-out infinite; }
#hud-wrong.show { display: flex; }
#hud-hint { position: absolute; left: 22px; right: 22px; bottom: 178px; display: none; padding: 9px 12px; border-radius: 13px; border: 3px solid #8a5a2a; background: #fff6dc; color: #4a2a08; font-size: 14.5px; font-weight: 900; line-height: 1.25; text-align: center; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
#hud-hint.show { display: block; animation: bump 0.3s ease-out; }
.ctrl-group { position: absolute; bottom: 14px; z-index: 5; }
.cg-left { left: 12px; transform-origin: 0 100%; }
.cg-right { right: 12px; transform-origin: 100% 100%; }
.gbtn { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 4px solid #3a2410; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #fff; font-size: 11.5px; font-weight: 900; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); overflow: hidden; touch-action: none; box-shadow: 0 6px 0 #3a2410, 0 9px 10px rgba(0, 0, 0, 0.3); }
.gbtn .ic { position: relative; width: 40px; height: 40px; z-index: 2; pointer-events: none; }
.gbtn span { position: relative; z-index: 2; pointer-events: none; }
.gbtn.down { transform: translateY(5px) scale(0.96); box-shadow: 0 1px 0 #3a2410; filter: brightness(1.15); }
.g-brake { background: radial-gradient(circle at 35% 28%, #a8b4c4, #5a6474); }
.g-boost { background: radial-gradient(circle at 35% 28%, #7a6a5a, #3a2e26); }
#nitro-fill { position: absolute; left: 0; right: 0; bottom: 0; top: 0; transform-origin: 50% 100%; transform: scaleY(0); background: linear-gradient(0deg, #ff3a1e, #ff9a1e 60%, #ffe86a); z-index: 1; }
.g-boost.ready { border-color: #7a1410; }
.g-boost.full { animation: boostGlow 0.7s ease-in-out infinite; }
@keyframes boostGlow { 50% { box-shadow: 0 6px 0 #3a2410, 0 0 0 6px rgba(255, 190, 60, 0.6), 0 0 22px 8px rgba(255, 140, 30, 0.7); } }

/* ---------------- сборка заезда, брифинг ---------------- */
.p-build { width: 300px; padding-top: 32px; }
.build-name, .brief-name { font-size: 22px; font-weight: 900; color: #4a2a08; text-align: center; line-height: 1.1; }
.build-art { width: 150px; height: 88px; animation: bikeShake 0.16s linear infinite; }
.bar { width: 100%; height: 22px; border-radius: 12px; background: #5a3a1c; border: 3px solid #3a2410; overflow: hidden; }
.bar > div { width: 100%; height: 100%; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.15s linear; background: repeating-linear-gradient(115deg, #ffd21e 0 14px, #ff9a1e 14px 28px); }
.build-quip { font-size: 13.5px; font-weight: 800; color: #7a5a3a; text-align: center; line-height: 1.3; min-height: 36px; }
.p-brief { width: 338px; }
#brief-map { width: 300px; height: 150px; border-radius: 13px; border: 3px solid #3a2410; background: #7ccf52; }
.brief-stats { display: flex; gap: 6px; width: 100%; }
.bst { flex: 1; min-width: 0; padding: 5px 3px; border-radius: 10px; border: 2.5px solid #b88a52; background: #fffaf0; text-align: center; font-size: 10.5px; font-weight: 800; color: #8a6a4a; line-height: 1.2; }
.bst b { display: block; font-size: 15px; color: #4a2a08; white-space: nowrap; }
.brief-rivals { display: flex; gap: 5px; width: 100%; justify-content: center; }
.riv { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; font-weight: 900; color: #4a2a08; text-align: center; line-height: 1.05; }
.riv i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #3a2410; display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: 17px; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.35); }
.brief-best { font-size: 13px; font-weight: 800; color: #7a5a3a; text-align: center; }
.brief-best b { color: #d8281e; }

/* ---------------- результат ---------------- */
.p-result { width: 340px; gap: 7px; }
.res-place { font-size: 34px; font-weight: 900; color: #d8281e; color: #ffd21e; text-shadow: -2px -2px 0 #7a1410, 2px -2px 0 #7a1410, -2px 2px 0 #7a1410, 2px 2px 0 #7a1410, 0px -2px 0 #7a1410, 0px 2px 0 #7a1410, -2px 0px 0 #7a1410, 2px 0px 0 #7a1410, 0 4px 0 #7a1410; line-height: 1; margin-top: 2px; white-space: nowrap; }
.res-stars { display: flex; gap: 6px; height: 50px; align-items: center; }
.res-stars .ic { width: 46px; height: 46px; }
.res-stars .ic.on { animation: starIn 0.5s cubic-bezier(0.2, 1.8, 0.4, 1) backwards; }
.res-stars .ic.on:nth-child(2) { animation-delay: 0.25s; width: 54px; height: 54px; }
.res-stars .ic.on:nth-child(3) { animation-delay: 0.5s; }
@keyframes starIn { from { transform: scale(0) rotate(-120deg); } to { transform: none; } }
.res-reason { font-size: 13px; font-weight: 800; color: #7a5a3a; text-align: center; line-height: 1.25; }
.res-table { width: 100%; border-radius: 12px; border: 3px solid #b88a52; background: #fffaf0; padding: 4px 10px; }
.rr { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3.5px 0; font-size: 14px; font-weight: 800; color: #5a3a1a; border-bottom: 1.5px dashed #e0c890; white-space: nowrap; }
.rr:last-child { border-bottom: none; }
.rr b { color: #b8780a; font-weight: 900; }
.rr.best b { color: #2a8a2e; }
.res-total { display: flex; align-items: center; gap: 6px; font-size: 30px; font-weight: 900; color: #b8780a; line-height: 1; }
.res-total .ic { width: 34px; height: 34px; }
.res-extra { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.rx { display: flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 11px; border: 2.5px solid #3fa646; background: #e8ffd0; font-size: 12.5px; font-weight: 900; color: #2a5a1c; line-height: 1.15; }
.rx .ic { width: 26px; height: 26px; }
.rx.gold { border-color: #b87a08; background: linear-gradient(90deg, #fff0a0, #ffd84a); color: #5a3a08; }
.p-result .btn { height: 46px; font-size: 16px; }
.lnk2 { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 11px; border: 2.5px solid #b88a52; background: #fffaf0; color: #6a4a2a; font-size: 13.5px; font-weight: 900; white-space: nowrap; }
.lnk2 .ic { width: 20px; height: 20px; }
.lnk2:active { background: #f0e0b8; }
.st-row { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 12px; border: 3px solid #b88a52; background: #fffaf0; font-size: 15px; font-weight: 800; color: #4a2a08; flex-shrink: 0; }
.st-row.me { background: linear-gradient(90deg, #e8ffd0, #c8f0a0); border-color: #3fa646; }
.st-row .dotc { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2.5px solid #3a2410; }
.st-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-row .tm { flex-shrink: 0; color: #b8780a; font-weight: 900; }
.help-card { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 3px solid #b88a52; background: #fffaf0; flex-shrink: 0; }
.help-card .ic { width: 40px; height: 40px; }
.help-card b { display: block; font-size: 15px; font-weight: 900; color: #4a2a08; }
.help-card span { font-size: 12.5px; font-weight: 700; color: #6a4a2a; line-height: 1.25; }
.p-trophy { gap: 6px; }
.trophy-art { position: relative; width: 170px; height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.trophy-art .ic { position: relative; width: 120px; height: 120px; animation: starIn 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) backwards; filter: drop-shadow(0 5px 0 rgba(0, 0, 0, 0.2)); }
.trophy-art .rays { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 210, 30, 0.6) 0 12deg, rgba(255, 240, 160, 0.25) 12deg 30deg); animation: raysSpin 7s linear infinite; }
@keyframes raysSpin { to { transform: rotate(360deg); } }

/* ---------------- заставка ---------------- */
#scr-intro { background: #8fd4ff; z-index: 30; }
#intro-cv { position: absolute; left: 0; top: 0; }
#intro-cap { position: absolute; left: 5%; right: 5%; bottom: 13%; padding: 9px 12px; border-radius: 13px; border: 3px solid #3a2410; background: #fff6dc; color: #4a2a08; font-size: 15.5px; font-weight: 900; line-height: 1.25; text-align: center; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3); min-height: 44px; }
.intro-skip { position: absolute; right: 10px; top: 10px; height: 42px; font-size: 14px; padding: 0 8px 0 16px; }
.intro-skip .ic { width: 20px; height: 20px; }
.stat-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 11px; border: 2.5px solid #d8b880; background: #fffaf0; font-size: 14px; font-weight: 800; color: #5a3a1a; flex-shrink: 0; }
.stat-row b { color: #d8281e; font-weight: 900; white-space: nowrap; }
