.snake-main { width: 100%; }
.snake-shell { overflow: hidden; background: #020814; border: 1px solid rgba(93,171,255,.34); box-shadow: 0 26px 70px rgba(0,0,0,.33); }
.snake-toolbar { min-height: 72px; padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #102942; border-bottom: 1px solid rgba(93,171,255,.25); }
.snake-title { display: flex; align-items: center; gap: 10px; }
.snake-title small { color: #8da7bf; }
.snake-pickup { min-width: 350px; padding: 6px 12px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #dceafa; background: rgba(2,8,20,.28); border-left: 2px solid rgba(88,230,194,.35); opacity: .72; transition: color .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease; }
.snake-pickup strong { font-size: 13px; letter-spacing: .5px; white-space: nowrap; }
.snake-pickup small { color: #8da7bf; font-size: 10px; white-space: nowrap; }
.snake-pickup.is-visible { color: #061426; background: #58e6c2; border-color: #58e6c2; box-shadow: 0 0 24px rgba(88,230,194,.2); opacity: 1; transform: translateY(-1px); }
.snake-pickup.is-visible strong { font-size: 13px; }
.snake-pickup.is-visible small { padding: 4px 9px; display: inline-flex; align-items: baseline; gap: 6px; color: #b7cce0; background: #061426; border-radius: 3px; font-size: 8px; font-weight: 900; letter-spacing: .5px; }
.snake-pickup.is-visible small b { color: #ffd43b; font-size: 19px; line-height: 1; letter-spacing: -.4px; }
.snake-pickup.is-bonus { background: #ffd43b; border-color: #ffd43b; }
.snake-stats { display: flex; align-items: center; gap: 10px; }
.snake-stats > span { min-width: 92px; padding: 8px 13px; display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 10px; background: rgba(0,0,0,.2); border: 1px solid rgba(93,171,255,.18); }
.snake-stats small { color: #8da7bf; font-size: 8px; font-weight: 900; letter-spacing: 1.4px; }
.snake-stats strong { color: white; font-size: 20px; }
.snake-scorebar { min-height: 34px; padding: 7px 22px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 20px; color: #a9bdd1; background: #081a30; border-bottom: 1px solid rgba(93,171,255,.18); font-size: 9px; font-weight: 900; letter-spacing: .7px; }
.snake-scorebar span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.snake-scorebar b { color: #fff; }
.snake-scorebar .bonus-key, .snake-scorebar .bonus-key b { color: #ffd43b; }
.snake-scorebar a { margin-left: auto; color: #8fbde8; white-space: nowrap; }
.tier-dot { width: 10px; height: 10px; display: inline-block; border-radius: 3px; }
.tier-blue { background: #50a7ff; }.tier-green { background: #58e6c2; }.tier-gold { background: #ffd43b; }
@media (max-width: 1100px) and (min-width: 721px) {
  .snake-toolbar { flex-wrap: wrap; }
  .snake-pickup { order: 3; width: 100%; }
}
.snake-stage { position: relative; width: 100%; aspect-ratio: 3 / 2; max-height: 72vh; overflow: hidden; background: #041225; touch-action: none; }
#game { width: 100%; height: 100%; display: block; outline: none; }
.snake-panel { position: absolute; inset: 0; z-index: 4; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; background: radial-gradient(circle at 50% 42%, rgba(8,104,223,.2), rgba(2,8,20,.9) 52%, rgba(2,8,20,.97)); }
.snake-panel[hidden] { display: none; }
.snake-panel h2 { max-width: 680px; margin: 4px 0 14px; font-size: clamp(38px, 6vw, 70px); line-height: .98; letter-spacing: -3px; }
.snake-panel > p:not(.eyebrow) { max-width: 560px; color: #a9bdd1; }
.snake-logo { position: relative; width: 240px; height: 58px; margin-bottom: 28px; }
.snake-logo i { position: absolute; top: 13px; width: 34px; height: 34px; border-radius: 9px; background: #ffd43b; box-shadow: 0 0 24px rgba(255,212,59,.22); }
.snake-logo i:nth-child(1) { left: 0; }.snake-logo i:nth-child(2) { left: 42px; }.snake-logo i:nth-child(3) { left: 84px; }.snake-logo i:nth-child(4) { left: 126px; border-radius: 50% 9px 9px 50%; }
.snake-logo b { position: absolute; right: 0; top: 5px; min-width: 62px; padding: 12px 9px; color: #061426; background: #58e6c2; border-radius: 7px; font-size: 18px; box-shadow: 0 0 25px rgba(88,230,194,.25); }
.snake-result h2 { color: #ffd43b; }
.snake-reward { max-width: 610px; margin: 14px 0 20px; padding: 18px 22px; color: #dceafa; background: rgba(6,20,38,.8); border: 1px solid #ffd43b; }
.snake-reward small { display: block; margin-bottom: 5px; color: #ffd43b; font-size: 9px; font-weight: 900; letter-spacing: 1.5px; }
.snake-reward strong { display: block; font-size: 18px; }
.snake-reward p { margin: 5px 0 0; color: #9eb4ca; font-size: 12px; }
.snake-domain-summary { width: min(610px, 100%); margin: -8px 0 18px; padding: 12px 14px; background: rgba(6,20,38,.82); border: 1px solid rgba(93,171,255,.32); }
.snake-domain-summary > small { display: block; margin-bottom: 8px; color: #8fbde8; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
#result-price-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.result-domain { padding: 6px 9px; color: #061426; background: #dceafa; border-radius: 4px; font-size: 11px; font-weight: 900; }
.result-domain b { margin-right: 5px; }
.snake-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.snake-controls { padding: 14px 18px; display: grid; grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(2, 44px); justify-content: center; gap: 6px; background: #081a30; border-top: 1px solid rgba(93,171,255,.18); }
.snake-controls button { color: #dceafa; background: #102c4b; border: 1px solid rgba(93,171,255,.35); font: 900 21px/1 inherit; cursor: pointer; }
.snake-controls button:hover, .snake-controls button:focus-visible { color: #061426; background: #ffd43b; border-color: #ffd43b; }
.snake-controls [data-direction="up"] { grid-column: 2; }.snake-controls [data-direction="left"] { grid-column: 1; grid-row: 2; }.snake-controls [data-direction="down"] { grid-column: 2; grid-row: 2; }.snake-controls [data-direction="right"] { grid-column: 3; grid-row: 2; }
.snake-status { margin: 0; padding: 11px 18px; color: #8ba3ba; background: #07182d; text-align: center; font-size: 12px; }
@media (max-width: 720px) {
  .snake-main { padding-left: 0; padding-right: 0; }
  .snake-main .game-intro, .snake-main .game-info { margin-left: 18px; margin-right: 18px; }
  .snake-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .snake-pickup { width: 100%; min-width: 0; justify-content: flex-start; }
  .snake-stats { width: 100%; }
  .snake-stats > span { min-width: 0; flex: 1; padding: 7px 9px; }
  .snake-scorebar { justify-content: flex-start; gap: 7px 12px; padding: 8px 12px; }
  .snake-scorebar a { width: 100%; margin-left: 0; }
  .snake-stage { aspect-ratio: 3 / 2; }
  .snake-panel { padding: 20px 16px; }
  .snake-panel h2 { font-size: 39px; letter-spacing: -2px; }
  .snake-logo { transform: scale(.75); margin: -6px 0 5px; }
  .snake-reward { padding: 12px 14px; }
}
