:root {
  --ink: #fff;
  --panel: rgba(20, 22, 30, .88);
  --panel-edge: #f2c230;
  --accent: #f2c230;
  --accent-dark: #b88a0e;
  --navy: #0b2a5b;
  --red: #d0021b;
  --slot: rgba(0, 0, 0, .45);
  --font: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; height: 100%; overflow: hidden; background: #111;
  color: var(--ink); font-family: var(--font);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  overscroll-behavior: none; touch-action: none;
}
#game { position: fixed; inset: 0; }
#view { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hidden { display: none !important; }
button { font-family: var(--font); color: inherit; cursor: pointer; touch-action: manipulation; }

/* ---------- generic buttons/panels ---------- */
.btn {
  border: 0; border-radius: 14px; padding: 14px 22px; font-size: 22px; letter-spacing: .5px;
  background: linear-gradient(#5a6070, #3b404d); color: #fff;
  box-shadow: 0 5px 0 #23262e, 0 8px 16px rgba(0,0,0,.35);
  text-shadow: 0 2px 0 rgba(0,0,0,.35); transition: transform .06s, box-shadow .06s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #23262e; }
.btn.primary { background: linear-gradient(#ffd84d, #f2b705); color: #1a1a1a; text-shadow: none; box-shadow: 0 5px 0 var(--accent-dark), 0 8px 16px rgba(0,0,0,.35); }
.btn.small { font-size: 17px; padding: 10px 16px; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 3px solid rgba(255,255,255,.7);
  background: rgba(0,0,0,.45); font-size: 22px; display: grid; place-items: center; padding: 0;
}
.round:active { transform: scale(.92); }
.screen { position: absolute; inset: 0; display: grid; place-items: center; z-index: 30; }
.panel {
  background: var(--panel); border: 4px solid var(--panel-edge); border-radius: 20px;
  padding: 20px 24px; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.panel.wide { width: min(860px, calc(100vw - 32px)); }
.panel h2 { margin: 0 0 14px; font-size: 32px; font-weight: normal; color: var(--accent); text-shadow: 0 3px 0 #000; }
.hint { opacity: .8; margin: 4px 0 12px; font-family: system-ui, sans-serif; font-size: 15px; }
#menu, #inventory, #teamPicker, #trophies, #help { background: rgba(0,0,0,.45); }

/* ---------- title ---------- */
#title {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 70%),
    linear-gradient(rgba(10,20,40,.25), rgba(10,20,40,.55));
  z-index: 40;
}
.title-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; }
.logo-wrap { position: relative; }
#logoImg {
  width: min(200px, 28vh); height: min(200px, 28vh); object-fit: cover; border-radius: 28px;
  border: 6px solid var(--accent); box-shadow: 0 0 0 6px #111, 0 18px 40px rgba(0,0,0,.6);
  image-rendering: auto; animation: bob 3s ease-in-out infinite;
}
.logo-bubble {
  position: absolute; right: -150px; top: 14px; background: #fff; color: #111; padding: 8px 14px; border-radius: 16px;
  font-size: 18px; white-space: nowrap; box-shadow: 0 6px 0 rgba(0,0,0,.25); animation: pop .5s .6s both;
}
.logo-bubble::before { content: ""; position: absolute; left: -10px; top: 14px; border: 8px solid transparent; border-right-color: #fff; border-left: 0; }
#titleText { width: min(760px, 92vw); height: auto; filter: drop-shadow(0 8px 0 rgba(0,0,0,.35)); margin-top: 4px; }
.subtitle { font-size: 26px; color: #fff; text-shadow: 0 3px 0 #000; margin-top: -8px; letter-spacing: 2px; }
.title-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 14px; max-width: 640px; }
.title-buttons .primary { font-size: 30px; padding: 16px 48px; }
.title-foot { position: absolute; bottom: calc(10px + var(--safe-b)); width: 100%; text-align: center; opacity: .75; font-size: 15px; text-shadow: 0 2px 0 #000; }
#loading { margin-top: 14px; text-align: center; font-size: 18px; text-shadow: 0 2px 0 #000; }
#loading .bar { width: 280px; height: 18px; border-radius: 9px; background: rgba(0,0,0,.5); border: 2px solid #fff; overflow: hidden; margin-bottom: 6px; }
#loadBar { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- HUD ---------- */
#hud { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
#hud button, #hud .slot, #hotbar { pointer-events: auto; }
#crosshair { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%,-50%); }
#crosshair::before, #crosshair::after { content: ""; position: absolute; background: rgba(255,255,255,.85); mix-blend-mode: difference; }
#crosshair::before { left: 10px; top: 0; width: 2px; height: 22px; }
#crosshair::after { top: 10px; left: 0; height: 2px; width: 22px; }
body.touch #crosshair { opacity: .5; transform: translate(-50%,-50%) scale(.7); }
#topLeft { position: absolute; left: calc(12px + var(--safe-l)); top: calc(12px + var(--safe-t)); display: flex; gap: 8px; flex-wrap: wrap; }
.pill { background: rgba(0,0,0,.5); border-radius: 999px; padding: 6px 14px 6px 8px; display: flex; align-items: center; gap: 8px; font-size: 20px; border: 2px solid rgba(255,255,255,.25); }
.gp-icon { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6b0, #f2c230 45%, #a87b00); box-shadow: 0 0 10px #ffd84d; }
#topRight { position: absolute; right: calc(12px + var(--safe-r)); top: calc(12px + var(--safe-t)); display: flex; gap: 10px; }
#radar { position: absolute; left: 50%; top: calc(70px + var(--safe-t)); transform: translateX(-50%); background: rgba(0,0,0,.5); border-radius: 18px; padding: 6px 16px; text-align: center; border: 2px solid #f2c230; }
#radarArrow { font-size: 34px; color: #ffd84d; transition: transform .1s linear; text-shadow: 0 0 8px #ffb400; }
#radarDist { font-size: 16px; }
#toasts { position: absolute; top: calc(120px + var(--safe-t)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: 90%; }
.toast { background: rgba(0,0,0,.7); border: 2px solid var(--accent); padding: 8px 18px; border-radius: 14px; font-size: 20px; text-align: center; animation: toastIn .25s ease-out; max-width: 560px; }
.toast.out { opacity: 0; transform: translateY(-10px); transition: all .4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.9); } }

#hotbarWrap { position: absolute; bottom: calc(10px + var(--safe-b)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
#itemName { font-size: 20px; text-shadow: 0 2px 0 #000; min-height: 24px; transition: opacity .3s; }
#hotbar { display: flex; gap: 4px; padding: 5px; background: rgba(0,0,0,.45); border-radius: 12px; border: 2px solid rgba(255,255,255,.2); }
.slot { width: var(--slot-size, 52px); height: var(--slot-size, 52px); border-radius: 9px; background: var(--slot); border: 3px solid transparent; display: grid; place-items: center; position: relative; }
.slot img { width: 78%; height: 78%; image-rendering: pixelated; pointer-events: none; }
.slot.sel { border-color: var(--accent); background: rgba(242,194,48,.25); transform: scale(1.08); }
.slot .num { position: absolute; left: 4px; top: 1px; font-size: 11px; opacity: .6; font-family: system-ui; }
.slot.more { font-size: 26px; }
body.touch .slot .num { display: none; }

#breakRing { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%,-50%) rotate(-90deg); }
#breakRing circle { fill: none; stroke: #fff; stroke-width: 4; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; opacity: .9; }

/* touch */
#touch { position: absolute; inset: 0; pointer-events: none; }
#stickBase { position: absolute; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; background: rgba(255,255,255,.12); border: 3px solid rgba(255,255,255,.45); }
#stickKnob { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.55); border: 3px solid #fff; }
.tbtn {
  position: absolute; pointer-events: auto; border-radius: 50%; border: 3px solid rgba(255,255,255,.75);
  background: rgba(0,0,0,.35); color: #fff; font-size: 28px; width: 70px; height: 70px; display: grid; place-items: center; padding: 0;
}
.tbtn.big { width: 92px; height: 92px; font-size: 38px; }
.tbtn.small { width: 54px; height: 54px; font-size: 22px; }
.tbtn.on, .tbtn:active { background: rgba(242,194,48,.55); }
.tbtn small { position: absolute; bottom: 8px; font-size: 12px; }
#btnJump { right: calc(26px + var(--safe-r)); bottom: calc(110px + var(--safe-b)); }
#btnDown { right: calc(130px + var(--safe-r)); bottom: calc(100px + var(--safe-b)); }
#btnFly { right: calc(36px + var(--safe-r)); bottom: calc(215px + var(--safe-b)); }
#btnAction {
  position: absolute; right: calc(130px + var(--safe-r)); bottom: calc(200px + var(--safe-b)); pointer-events: auto;
  background: linear-gradient(#ffd84d, #f2b705); color: #1a1a1a; border: 0; border-radius: 16px; font-size: 20px;
  padding: 12px 18px; box-shadow: 0 5px 0 var(--accent-dark); animation: pop .25s;
}
body:not(.touch) #btnAction { right: 50%; transform: translateX(50%); bottom: calc(118px + var(--safe-b)); animation: none; }
body:not(.touch) #btnAction::after { content: " [F]"; opacity: .6; }

/* match */
#scoreboard { position: absolute; top: calc(10px + var(--safe-t)); left: 50%; transform: translateX(-50%); display: flex; align-items: stretch; background: #111; border: 3px solid #f2c230; border-radius: 14px; overflow: hidden; font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
#scoreboard .team { display: flex; align-items: center; gap: 10px; padding: 6px 14px; }
#scoreboard .team i { width: 14px; height: 30px; border-radius: 4px; display: block; }
#scoreboard .team b { font-size: 34px; color: #ffd84d; min-width: 24px; text-align: center; }
#scoreboard .clock { background: #f2c230; color: #111; padding: 4px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
#scoreboard .clock small { font-size: 12px; }
#matchButtons .tbtn { pointer-events: auto; }
#btnShoot { right: calc(26px + var(--safe-r)); bottom: calc(100px + var(--safe-b)); width: 110px; height: 110px; font-size: 40px; overflow: hidden; }
#btnPass { right: calc(150px + var(--safe-r)); bottom: calc(80px + var(--safe-b)); }
#shootCharge { position: absolute; left: 0; bottom: 0; width: 100%; height: 0; background: rgba(255,80,40,.6); z-index: -1; }
body:not(.touch) #matchButtons { display: none; }
#btnQuitMatch { position: absolute; left: calc(12px + var(--safe-l)); top: calc(64px + var(--safe-t)); }
#bigText {
  position: absolute; top: 28%; left: 0; right: 0; text-align: center; font-size: min(18vw, 140px); color: #ffd84d;
  text-shadow: 0 6px 0 #000, 0 0 30px rgba(255,200,0,.8); animation: bigPop .5s cubic-bezier(.2,1.6,.4,1);
  line-height: 1;
}
#bigText small { display: block; font-size: .3em; color: #fff; margin-top: 10px; }
@keyframes bigPop { from { transform: scale(.2) rotate(-8deg); opacity: 0; } }
#snowSplat { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.95) 0 18%, rgba(255,255,255,.6) 30%, rgba(255,255,255,0) 60%); animation: splat 1.6s forwards; }
@keyframes splat { from { opacity: 1; } to { opacity: 0; } }

/* ---------- inventory ---------- */
.inv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.inv-head h2 { margin: 0; }
.tabs { display: flex; gap: 8px; }
.tab { border: 0; border-radius: 12px; padding: 10px 16px; font-size: 20px; background: #3b404d; }
.tab.active { background: var(--accent); color: #111; }
#invGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin: 10px 0 16px; }
.inv-item { aspect-ratio: 1; background: var(--slot); border-radius: 10px; border: 3px solid transparent; display: grid; place-items: center; position: relative; }
.inv-item img { width: 70%; height: 70%; image-rendering: pixelated; pointer-events: none; }
.inv-item:active, .inv-item:hover { border-color: #fff; }
.inv-item .lbl { position: absolute; bottom: 2px; left: 2px; right: 2px; font-size: 10px; text-align: center; font-family: system-ui; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#invHotbar { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding-top: 10px; border-top: 2px dashed rgba(255,255,255,.2); }

/* ---------- menu ---------- */
#menu .panel { width: min(720px, calc(100vw - 32px)); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.menu-grid .primary { grid-column: 1 / -1; }
.settings { margin: 16px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; font-size: 17px; }
.settings label { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; }
@media (max-width: 620px) { .menu-grid { grid-template-columns: 1fr 1fr; } .settings { grid-template-columns: 1fr; } }
.settings label.check { grid-template-columns: 28px 1fr; }
.settings input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
.settings input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--accent); }
.menu-row { display: flex; gap: 10px; justify-content: space-between; margin-top: 10px; }

/* ---------- team picker / trophies ---------- */
#levelPick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
#levelPick span { font-size: 17px; margin-right: 4px; }
#levelPick .btn.level { min-width: 0; padding: 8px 14px; }
#teamList, #trophyGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 8px; }
.team-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; border: 0; background: #2c303b; text-align: left; font-size: 17px; position: relative; }
.team-card .jersey { width: 46px; height: 46px; flex: none; image-rendering: pixelated; }
.team-card .meta { display: flex; flex-direction: column; }
.team-card .meta small { opacity: .7; font-family: system-ui; font-size: 12px; }
.team-card .stars { color: #ffd84d; font-size: 12px; }
.team-card.beaten::after { content: "🏆"; position: absolute; right: 10px; top: 8px; font-size: 22px; }
.team-card.locked { opacity: .4; }
#trophyExtra { margin-top: 16px; font-size: 18px; line-height: 1.6; }
#helpBody { font-family: system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
#helpBody h3 { font-family: var(--font); font-weight: normal; color: var(--accent); margin: 14px 0 6px; font-size: 22px; }
#helpBody kbd { background: #444; border-radius: 5px; padding: 1px 7px; border-bottom: 3px solid #222; font-family: inherit; }
#helpBody ul { margin: 0; padding-left: 20px; }

#fade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 50; }
#fade.on { opacity: 1; }
#rotateHint { display: none; }
@media (orientation: portrait) and (max-width: 700px) {
  body.touch #rotateHint { display: grid; place-items: center; position: absolute; inset: 0; background: #111; z-index: 99; font-size: 26px; text-align: center; padding: 30px; }
}
@media (max-height: 520px) {
  .slot { --slot-size: 44px; }
  #logoImg { width: 110px; height: 110px; }
  .logo-bubble { display: none; }
  .title-buttons { margin-top: 6px; gap: 8px; }
  .btn { padding: 10px 16px; font-size: 18px; }
  .title-buttons .primary { font-size: 24px; padding: 12px 34px; }
  #btnJump { bottom: calc(80px + var(--safe-b)); }
  #btnFly { bottom: calc(180px + var(--safe-b)); }
  #btnAction { bottom: calc(170px + var(--safe-b)); }
  #btnShoot { bottom: calc(70px + var(--safe-b)); width: 96px; height: 96px; }
}
@media (max-width: 700px) {
  .logo-bubble { right: auto; left: 50%; top: auto; bottom: -34px; transform: translateX(-50%); }
  .logo-bubble::before { display: none; }
}

/* =====================================================================
   Pixel look: blocky buttons with block textures, square slots, pixel font
   ===================================================================== */
:root {
  --font: "Tiny5", "Lilita One", "Trebuchet MS", system-ui, sans-serif;
  --pxshadow: 2px 2px 0 #2b2b2b;
  --tex-stone: none; --tex-gold: none; --tex-planks: none;
}
body, button { font-family: var(--font); }
body, button, h2, b, strong { font-weight: 400; font-synthesis: none; }
.btn {
  border-radius: 0; border: 3px solid #101010; padding: 12px 22px; font-size: 22px; font-weight: 400; letter-spacing: 0;
  background: linear-gradient(rgba(20,22,28,.22), rgba(20,22,28,.22)), var(--tex-stone) 0 0 / 48px 48px, #6f7277;
  image-rendering: pixelated; color: #fff; text-shadow: var(--pxshadow);
  box-shadow: inset 3px 3px 0 rgba(255,255,255,.35), inset -3px -4px 0 rgba(0,0,0,.45), 0 4px 0 rgba(0,0,0,.45);
  transition: filter .08s;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: translateY(2px); box-shadow: inset -3px -3px 0 rgba(255,255,255,.25), inset 3px 4px 0 rgba(0,0,0,.45); }
.btn.primary {
  background: var(--tex-gold) 0 0 / 48px 48px, #f2c230; color: #2a1c00; text-shadow: 1px 1px 0 rgba(255,255,255,.45);
  box-shadow: inset 3px 3px 0 rgba(255,255,255,.55), inset -3px -4px 0 rgba(120,70,0,.55), 0 4px 0 rgba(0,0,0,.45);
}
.btn.small { font-size: 17px; padding: 8px 14px; }
.round {
  border-radius: 0; border: 3px solid #101010; background: rgba(40,40,44,.72);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.25), inset -2px -3px 0 rgba(0,0,0,.45);
}
.panel {
  border-radius: 0; border: 4px solid #0e0e10; background: rgba(30,31,36,.94);
  box-shadow: inset 0 0 0 3px #5a5d66, inset 6px 6px 0 0 rgba(255,255,255,.06), 0 18px 50px rgba(0,0,0,.6);
}
.panel h2 { font-weight: 400; text-shadow: 3px 3px 0 #000; letter-spacing: 1px; }
.subtitle, #itemName, .title-foot, #loading { text-shadow: var(--pxshadow); }
.subtitle { font-weight: 400; }
#itemName { font-size: 19px; font-weight: 400; }
.hint { font-family: var(--font); }

/* HUD */
.pill { border-radius: 0; border: 3px solid #111; background: rgba(0,0,0,.5); box-shadow: inset 2px 2px 0 rgba(255,255,255,.15); font-weight: 400; text-shadow: var(--pxshadow); }
.gp-icon { border-radius: 3px; }
.toast { border-radius: 0; border: 3px solid #111; background: rgba(16,16,20,.82); box-shadow: inset 0 0 0 2px var(--accent); font-size: 19px; font-weight: 400; text-shadow: var(--pxshadow); padding: 8px 16px; }
#radar { border-radius: 0; border: 3px solid #111; box-shadow: inset 0 0 0 2px #f2c230; }
#hotbar { gap: 0; padding: 0; border-radius: 0; border: 3px solid #111; background: rgba(20,20,24,.55); box-shadow: inset 0 0 0 2px #6d6d72; }
.slot {
  border-radius: 0; border: 3px solid transparent; background: rgba(120,120,128,.18);
  box-shadow: inset 2px 2px 0 rgba(0,0,0,.35), inset -2px -2px 0 rgba(255,255,255,.12);
}
.slot + .slot { border-left: 3px solid rgba(80,80,86,.9); }
.slot.sel { transform: none; background: rgba(255,255,255,.18); border: 3px solid #fff; box-shadow: 0 0 0 3px #111, inset 0 0 0 2px #111; z-index: 2; }
.slot .num { font-family: var(--font); font-size: 12px; opacity: .85; text-shadow: 1px 1px 0 #000; }
.tbtn { border-radius: 12px; border: 3px solid rgba(255,255,255,.65); background: rgba(20,20,24,.38); }
.tbtn.big { border-radius: 16px; }
#btnAction {
  border-radius: 0; border: 3px solid #111; font-weight: 400;
  background: var(--tex-gold) 0 0 / 48px 48px, #f2c230; image-rendering: pixelated;
  box-shadow: inset 3px 3px 0 rgba(255,255,255,.55), inset -3px -4px 0 rgba(120,70,0,.55), 0 4px 0 rgba(0,0,0,.45);
}
#scoreboard { border-radius: 0; border: 3px solid #111; box-shadow: inset 0 0 0 2px #f2c230, 0 8px 20px rgba(0,0,0,.5); font-weight: 400; }
#scoreboard .team i { border-radius: 0; }
#bigText { font-weight: 400; text-shadow: 6px 6px 0 #000, 0 0 30px rgba(255,200,0,.6); }

/* inventory, menus */
.tab { border-radius: 0; border: 3px solid #111; background: #3b3d44; box-shadow: inset 2px 2px 0 rgba(255,255,255,.15); font-weight: 400; }
.tab.active { background: var(--tex-gold) 0 0 / 48px 48px, var(--accent); image-rendering: pixelated; color: #2a1c00; }
.inv-item { border-radius: 0; border: 3px solid #111; background: rgba(120,120,128,.22); box-shadow: inset 2px 2px 0 rgba(0,0,0,.35), inset -2px -2px 0 rgba(255,255,255,.12); }
.inv-item:active, .inv-item:hover { border-color: #fff; }
.inv-item .lbl { font-family: var(--font); }
.team-card { border-radius: 0; border: 3px solid #111; background: #2e3038; box-shadow: inset 2px 2px 0 rgba(255,255,255,.1); }
.team-card:hover { filter: brightness(1.15); }
#helpBody { font-family: var(--font); }
#helpBody kbd { border-radius: 0; }
#loading .bar { border-radius: 0; border: 3px solid #111; box-shadow: inset 0 0 0 2px #ddd; }
#logoImg { border-radius: 0; border: 6px solid var(--accent); box-shadow: 0 0 0 6px #111, 10px 14px 0 rgba(0,0,0,.45); }
.logo-bubble { border-radius: 0; border: 3px solid #111; font-weight: 400; }

/* soft dark screen edges, like the "fancy" look of block games */
#hud::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,.28) 100%); }
