/* Brain Games only: the canvas, the neon progress bar and the brain profile (skill bars) on the end card. Everything
   else comes from ../shared/game.css. */
#screen{touch-action:manipulation;user-select:none;-webkit-user-select:none}
canvas#world{border-radius:14px}
canvas#world:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.progress-fill{background:linear-gradient(90deg,#38e8ff,#ff5fd2,#ffd84a);transition:width .3s ease-out}
.zone-banner{top:auto;bottom:8%;text-shadow:0 0 18px #38e8ff99,3px 3px 0 #0b0a10}

/* brain profile: five small upright bars, one per skill, the strongest outlined */
.journey .skills{order:5;width:100%;margin:12px 0 2px}
.skills[hidden]{display:none}
.skills .sk-title{font:700 10px "Plus Jakarta Sans",system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#8a8399;margin:0 0 6px}
.skills .sk-bars{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.skills .sk{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0 5px;border-radius:12px;border:1px solid transparent}
.skills .sk.top{border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 9%,transparent)}
.skills .sk b{font:800 15px/1 "Bricolage Grotesque",system-ui,sans-serif;color:#F4F1FA}
.skills .sk-track{position:relative;width:12px;height:38px;border-radius:6px;background:#ffffff14;overflow:hidden}
.skills .sk-track i{position:absolute;left:0;right:0;bottom:0;border-radius:6px;background:linear-gradient(0deg,color-mix(in srgb,var(--c) 55%,#000),var(--c));
  box-shadow:0 0 10px var(--c);animation:skUp .9s cubic-bezier(.2,.8,.2,1) both}
.skills .sk em{font:700 9px "Plus Jakarta Sans",system-ui,sans-serif;font-style:normal;letter-spacing:.06em;text-transform:uppercase;color:#a59fb5}
@keyframes skUp{from{transform:translateY(100%)}to{transform:none}}
@keyframes skRight{from{transform:translateX(-100%)}to{transform:none}}
@container (max-height:720px){.skills .sk-title{display:none}.skills .sk{gap:2px;padding:3px 0}.skills .sk-track{width:26px;height:6px}.skills .sk-track i{top:0;height:auto!important;width:var(--v);right:auto;animation-name:skRight}
  .skills .sk b{font-size:14px}.skills .sk-bars{gap:4px}.journey .skills{margin:8px 0 0}.skills .sk em{font-size:8px}}
@container (max-height:470px){.journey .skills{display:none}}
@media (prefers-reduced-motion:reduce){.skills .sk-track i{animation:none}.progress-fill{transition:none}}
