.player-level { margin: 0 0 18px; padding: 15px 16px; border: 1px solid rgba(220,255,0,.45); border-left: 4px solid var(--yellow); background: linear-gradient(110deg,rgba(220,255,0,.08),#101415 76%); }
.player-level-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.player-level-heading > strong { display: flex; align-items: center; gap: 12px; }
.player-level-heading > strong > span { color: #b8c1bf; font: 800 .66rem/1.3 monospace; letter-spacing: .08em; }
.player-level-heading b { color: var(--yellow); font: 900 1.8rem/1.1 monospace; white-space: nowrap; }
.player-level-total { color: #c8cfce; font: 800 .73rem/1.4 monospace; text-align: right; }
.player-level-total strong { color: #fff; }
.player-level-track { height: 10px; margin-top: 13px; overflow: hidden; background: #252d2c; border: 1px solid #48504b; }
.player-level-track > span { display: block; height: 100%; width: 0; background: var(--yellow); }
.player-level-next { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 10px; margin: 8px 0 0; font-size: .78rem; color: #eef2e9; }
.player-level-next > span:last-child { color: #b8c1bf; font-family: monospace; }
.player-level-note { margin: 7px 0 0; color: #b8c1bf; font-size: .71rem; line-height: 1.6; }
.level-up-notice { position: fixed; top: 82px; left: 50%; z-index: 310; width: max-content; max-width: calc(100% - 28px); padding: 12px 18px; color: #090b0c; background: var(--yellow); border: 2px solid #fff; box-shadow: 4px 4px 0 #090b0c; font-weight: 1000; text-align: center; pointer-events: none; visibility: hidden; opacity: 0; transform: translate(-50%,-8px); transition: opacity .18s ease,transform .18s ease; }
.level-up-notice.is-visible { visibility: visible; opacity: 1; transform: translate(-50%,0); }
@media (max-width: 420px) { .player-level { padding: 13px 11px; }.player-level-heading > strong { gap: 8px; }.player-level-heading > strong > span { max-width: 58px; }.player-level-heading b { font-size: 1.65rem; } }
@media (prefers-reduced-motion: reduce) { .level-up-notice { transition: none; } }
