#boot { position: fixed; inset: 0; z-index: 200; display: block; overflow: hidden; background: radial-gradient(ellipse at 50% 38%, #2e140a 0%, #160905 48%, #070403 100%); transition: opacity 0.5s; gap: 0; }
#boot.out { opacity: 0; pointer-events: none; }
.bt-bg, .bt-bg i { position: absolute; inset: 0; pointer-events: none; }
.bt-floor { top: 58% !important; left: -50% !important; right: -50% !important; bottom: -40% !important; perspective: 420px; overflow: hidden; }
.bt-floor::before { content: ''; position: absolute; left: 0; right: 0; top: -60px; bottom: 0; background: linear-gradient(90deg, rgba(255,110,50,0.16) 0 2px, transparent 2px) 0 0 / 60px 60px, linear-gradient(rgba(255,110,50,0.16) 0 2px, transparent 2px) 0 0 / 60px 60px; transform-origin: 50% 0; transform: rotateX(62deg); animation: btFloor 1.6s linear infinite; will-change: transform; }
.bt-floor::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#160905 0%, rgba(22,9,5,0.6) 22%, rgba(7,4,3,0) 60%); }
@keyframes btFloor { from { transform: rotateX(62deg) translateY(0); } to { transform: rotateX(62deg) translateY(60px); } }
.bt-dust::before, .bt-dust::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 200%; background-image: radial-gradient(circle, rgba(255,170,90,0.55) 0 1.5px, transparent 2px), radial-gradient(circle, rgba(255,120,60,0.35) 0 1px, transparent 1.5px); background-size: 190px 170px, 120px 140px; background-position: 20px 40px, 70px 10px; animation: btDust 14s linear infinite; will-change: transform; }
.bt-dust::after { background-size: 260px 230px, 160px 200px; background-position: 110px 90px, 30px 150px; opacity: 0.6; animation-duration: 22s; }
@keyframes btDust { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.bt-vig { background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(0,0,0,0.65) 100%), repeating-linear-gradient(rgba(0,0,0,0.16) 0 1px, transparent 1px 3px); }
.bt-main { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 3.4vh, 30px); padding: 0 16px; }
#boot .bt-logo { display: flex; flex-direction: column; align-items: center; line-height: 1; transform: rotate(-3deg); gap: 10px; animation: btIn 0.6s cubic-bezier(.3,1.6,.5,1) backwards; }
#boot .bt-logo .l1 { font-size: clamp(40px, 8vw, 88px); color: var(--ink); text-shadow: 5px 5px 0 #6a1608, 9px 9px 0 #0e0603; }
#boot .bt-logo .l2 { font-size: clamp(30px, 6vw, 66px); color: #ff5a2a; text-shadow: 4px 4px 0 #3a0804, 8px 8px 0 #0e0603; animation: wob 1.6s ease-in-out infinite; }
@keyframes btIn { from { transform: rotate(-3deg) scale(0.6) translateY(30px); opacity: 0; } }
.bt-clash { position: relative; width: 220px; height: 34px; margin: -4px 0 -6px; }
.bt-ball { position: absolute; top: 3px; width: 28px; height: 28px; border-radius: 50%; will-change: transform; }
.bt-ball.a { left: 0; background: radial-gradient(circle at 35% 30%, #fff6d8 0 3px, #ffd060 4px, #c87010 70%, #6a3008 100%); box-shadow: 0 0 0 3px #0e0603, 0 0 0 5px #4dff80, 0 4px 0 3px #0e0603; animation: btA 1.4s cubic-bezier(.5,0,.6,1) infinite; }
.bt-ball.b { right: 0; background: radial-gradient(circle at 35% 30%, #ffe0d8 0 3px, #ff8a70 4px, #b02a1a 70%, #4a0c04 100%); box-shadow: 0 0 0 3px #0e0603, 0 0 0 5px #ff4a3a, 0 4px 0 3px #0e0603; animation: btB 1.4s cubic-bezier(.5,0,.6,1) infinite; }
.bt-spark { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; background: conic-gradient(from 0deg, #fff 0 8%, transparent 8% 25%, #ffd060 25% 33%, transparent 33% 50%, #fff 50% 58%, transparent 58% 75%, #ffd060 75% 83%, transparent 83%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); opacity: 0; animation: btSpark 1.4s linear infinite; will-change: transform, opacity; }
@keyframes btA { 0%, 100% { transform: translateX(0) rotate(0); } 46% { transform: translateX(80px) rotate(200deg); } 50% { transform: translateX(78px) scaleX(0.82) rotate(220deg); } }
@keyframes btB { 0%, 100% { transform: translateX(0) rotate(0); } 46% { transform: translateX(-80px) rotate(-200deg); } 50% { transform: translateX(-78px) scaleX(0.82) rotate(-220deg); } }
@keyframes btSpark { 0%, 45% { opacity: 0; transform: scale(0.3) rotate(0); } 49% { opacity: 1; transform: scale(1.3) rotate(20deg); } 62% { opacity: 0; transform: scale(1.8) rotate(45deg); } 100% { opacity: 0; } }
.bt-load { width: min(520px, 100%); display: flex; flex-direction: column; gap: 10px; animation: btUp 0.5s 0.15s ease-out backwards; }
@keyframes btUp { from { opacity: 0; transform: translateY(14px); } }
.bt-row { display: flex; justify-content: space-between; align-items: baseline; height: 12px; gap: 12px; }
#boot .bt-t { font-size: 10px; color: var(--ink); letter-spacing: 2px; text-shadow: var(--sh); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#boot .bt-t.flip { animation: btFlip 0.3s ease-out; }
@keyframes btFlip { from { transform: translateY(5px); } }
.bt-pct { flex: none; font-weight: normal; font-size: 12px; color: var(--gold); text-shadow: var(--sh); min-width: 5ch; text-align: right; }
#boot .bt-bar { position: relative; width: 100%; height: 30px; padding: 4px; background: #140a06; border: 3px solid #0e0603; box-shadow: inset 0 0 0 2px #3a2414, 0 5px 0 #0e0603, 0 0 30px rgba(0,0,0,0.6); }
#boot .bt-track { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #0a0503; box-shadow: none; transition: none; }
#boot #bt-fill { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transform: translateX(-100%); transition: transform 0.45s cubic-bezier(.25,.8,.3,1); background: linear-gradient(rgba(255,255,255,0.32) 0 3px, transparent 3px calc(100% - 4px), rgba(0,0,0,0.3) calc(100% - 4px)), linear-gradient(90deg, #c8441e, #ff5a2a 60%, #ffa040); box-shadow: none; will-change: transform; }
#boot #bt-fill::after { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 6px; background: #fff3c0; box-shadow: 0 0 14px 4px rgba(255,170,80,0.7); }
#boot .bt-seg { position: absolute; inset: 4px; display: block; width: auto; height: auto; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 14px, #140a06 14px 18px); box-shadow: none; transition: none; }
.bt-tip { width: min(520px, 100%); height: 64px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; animation: btUp 0.5s 0.3s ease-out backwards; }
.bt-tip-c { font-size: 7px; color: #2a1004; background: var(--gold); border: 2px solid #0e0603; padding: 3px 6px; letter-spacing: 2px; box-shadow: 2px 2px 0 #0e0603; transform: rotate(-2deg); }
#bt-tip { font-size: 9px; line-height: 1.8; color: var(--dim); text-shadow: var(--sh); max-width: 100%; opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s; }
#bt-tip.in { opacity: 1; transform: none; }
.bt-ver { position: absolute; right: 14px; bottom: 12px; display: flex; align-items: baseline; gap: 8px; font-size: 8px; color: var(--dim); text-shadow: var(--sh); }
.bt-ver b { font-weight: normal; font-size: 9px; color: var(--ink); }
.bt-ver span { opacity: 0.6; }
@media (max-height: 600px) { .bt-clash { display: none; } .bt-tip { height: 52px; } }

#upd-stack { position: fixed; left: 50%; top: 72px; transform: translateX(-50%); z-index: 42; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.upd { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px 12px 12px; pointer-events: auto; background: var(--pn-bg); border: 3px solid #0e0603; box-shadow: inset 0 0 0 2px #ffd060, inset 0 0 40px rgba(0,0,0,0.5), 0 6px 0 #0e0603, 0 0 30px rgba(255,190,70,0.25); overflow: hidden; animation: updIn 0.35s cubic-bezier(.3,1.6,.5,1); }
.upd.mt { box-shadow: inset 0 0 0 2px #ff5a2a, inset 0 0 40px rgba(0,0,0,0.5), 0 6px 0 #0e0603, 0 0 30px rgba(255,90,42,0.3); pointer-events: none; }
@keyframes updIn { from { transform: translateY(30px) scale(0.85); opacity: 0; } }
.upd-ico { flex: none; width: 24px; height: 24px; background: #ffd060; clip-path: polygon(40% 0, 60% 0, 60% 50%, 85% 50%, 50% 85%, 15% 50%, 40% 50%); animation: updBob 0.9s steps(2) infinite; box-shadow: none; }
.upd-ico.warn { background: #ff5a2a; clip-path: polygon(40% 0, 60% 0, 60% 62%, 40% 62%, 40% 0, 40% 75%, 60% 75%, 60% 95%, 40% 95%, 40% 75%); animation: updBlink 1s steps(1) infinite; }
@keyframes updBob { 50% { transform: translateY(3px); } }
@keyframes updBlink { 50% { opacity: 0.35; } }
.upd-t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.upd-t b { font-weight: normal; font-size: 12px; color: var(--gold); text-shadow: var(--sh); white-space: nowrap; }
.upd.mt .upd-t b { color: var(--ink); }
.upd-t span { font-size: 7px; color: var(--dim); white-space: nowrap; }
.upd .btn.small { font-size: 10px; padding: 9px 14px; background: linear-gradient(#ffcf40, #c08010); color: #2a1004; text-shadow: 1px 1px 0 rgba(255,255,255,0.4); box-shadow: inset 0 0 0 2px #fff0a0, inset 0 -4px 0 2px #7a4a08, 0 4px 0 #0e0603; }
.upd-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.25s linear; }

.news-btn { position: fixed; right: 14px; top: 14px; z-index: 21; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; font-family: inherit; color: var(--ink); cursor: pointer; background: var(--pn-bg); border: 3px solid #0e0603; box-shadow: inset 0 0 0 2px #3a2414, inset 0 -3px 0 0 #0e0603, 0 3px 0 #0e0603; transition: transform 0.1s, box-shadow 0.12s; }
.news-btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px #a8642e, inset 0 -3px 0 0 #0e0603, 0 3px 0 #0e0603; }
.news-btn svg { width: 22px; height: 22px; fill: #8a6a4a; flex: none; }
.news-btn svg .bg { fill: #170c07; }
.news-btn svg .ac { fill: transparent; }
.news-btn.unseen svg .ac { fill: var(--gold); }
.news-btn:hover svg { fill: var(--ink); }
.news-btn .nb-tip { position: absolute; right: 0; top: calc(100% + 8px); font-size: 7px; white-space: nowrap; padding: 5px 8px; color: var(--ink); background: rgba(14,6,3,0.95); border: 2px solid #0e0603; box-shadow: inset 0 0 0 1px #3a2414; text-shadow: var(--sh); opacity: 0; pointer-events: none; transition: opacity 0.12s; }
.news-btn:hover .nb-tip { opacity: 1; }
.news-btn .dot { position: absolute; top: -5px; right: -5px; }
#news { position: fixed; inset: 0; z-index: 46; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4,2,1,0.78); animation: fadeIn 0.15s; }
.nw { width: min(640px, 100%); max-height: min(80vh, 760px); display: flex; flex-direction: column; background: #0d0806; border: 2px solid #2a1810; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.6); overflow: hidden; }
.nw-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.nw-h b { font-weight: normal; font-size: 9px; letter-spacing: 2px; color: #8a7060; }
.nw-x { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-family: inherit; font-size: 14px; color: #8a7060; background: none; border: 0; border-radius: 6px; cursor: pointer; }
.nw-x:hover { color: var(--ink); background: #1e130d; }
.nw-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.nw-v { background: #150d09; border: 1px solid #2a1810; border-radius: 8px; }
.nw-vh { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-family: inherit; text-align: left; color: var(--ink); background: none; border: 0; cursor: pointer; }
.nw-vh:hover { background: #1b110c; border-radius: 8px; }
.nw-chev { width: 6px; height: 6px; flex: none; border-right: 2px solid #8a7060; border-bottom: 2px solid #8a7060; transform: rotate(-45deg); transition: transform 0.15s; margin-right: 2px; }
.nw-v.open .nw-chev { transform: rotate(45deg); }
.nw-vh b { font-weight: normal; font-size: 10px; color: var(--ink); }
.nw-pill { font-size: 6px; padding: 4px 6px; color: #f0e2d0; background: #3a2418; border-radius: 4px; letter-spacing: 1px; }
.nw-vh em { font-style: normal; font-size: 8px; color: #8a7060; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-vh small { margin-left: auto; font-size: 6px; color: #5a463a; white-space: nowrap; }
.nw-gs { display: none; flex-direction: column; gap: 12px; padding: 2px 16px 14px 34px; }
.nw-v.open .nw-gs { display: flex; }
.nw-g h5 { display: flex; align-items: center; gap: 7px; margin: 0 0 8px -13px; font-weight: normal; font-size: 7px; letter-spacing: 1px; color: #8a7060; }
.nw-g h5::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: #8a7060; }
.nw-g.new h5::before { background: #ffcf4a; }
.nw-g.bal h5::before { background: #5ee07a; }
.nw-g.fix h5::before { background: #7ab8ff; }
.nw-g.star h5::before { background: #ff6a3a; }
.nw-g.map h5::before { background: #c08aff; }
.nw-g ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.nw-v li { position: relative; font-size: 7px; line-height: 1.6; color: #d8c8b6; }
.nw-v li::before { content: ''; position: absolute; left: -12px; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: #b89a80; }
