:root {
  --bg: #232650;
  --bg2: #2e3270;
  --ink: #ffffff;
  --muted: #b9bce6;
  --card: #ffffff;
  --card-ink: #1f2140;
  --accent: #ff9f1c;
  --good: #06d6a0;
  --star: #ffc93c;
  --grass: #86c96f;
  --radius: 18px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

#view { height: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }

.loading {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
}

/* ------------------------------------------------------------------ hub */

.hub {
  min-height: 100%;
  padding: calc(16px + var(--safe-t)) calc(16px + var(--safe-r)) calc(24px + var(--safe-b)) calc(16px + var(--safe-l));
  background:
    radial-gradient(1200px 500px at 50% -200px, #4a50b0 0%, transparent 70%),
    var(--bg);
  max-width: 980px;
  margin: 0 auto;
}

.hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { border-radius: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.brand h1 { margin: 0; font-size: 26px; letter-spacing: .3px; }
.hub-tools { display: flex; gap: 8px; }

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 0;
  background: rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  flex: none;
}
.icon-btn svg { width: 24px; height: 24px; fill: currentColor; }
.icon-btn:active { transform: scale(.94); }

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  color: var(--card-ink);
  box-shadow: 0 8px 0 rgba(0, 0, 0, .18), 0 12px 30px rgba(0, 0, 0, .25);
  transition: transform .12s;
}
.card:active { transform: translateY(3px) scale(.99); }
.card-art { width: 100%; height: 150px; display: block; background: #676c7a; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.card-title { font-size: 22px; font-weight: 800; }
.card-blurb { font-size: 15px; color: #565a7e; }
.play-pill {
  position: absolute;
  right: 14px;
  top: 118px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .2);
}

.card.soon {
  background: rgba(255, 255, 255, .07);
  color: var(--ink);
  box-shadow: none;
  border: 2px dashed rgba(255, 255, 255, .2);
  flex-direction: row;
  align-items: center;
  padding: 18px;
  gap: 8px;
}
.card.soon .card-blurb { color: var(--muted); }
.soon-emoji { font-size: 40px; }

.install {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 12px 12px 12px 16px;
  margin-bottom: 16px;
  font-size: 15px;
}
.install span { flex: 1; }
.install .x { border: 0; background: none; font-size: 26px; color: var(--muted); padding: 0 6px; }
.inline-ico { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; }

.hub-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }
.hub-foot .version {
  display: block;
  margin: 6px auto 0;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 11px;
  opacity: .7;
  letter-spacing: .3px;
}

.update-bar {
  position: fixed;
  left: 50%;
  bottom: calc(12px + var(--safe-b));
  transform: translateX(-50%);
  width: min(94vw, 480px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  background: #11132b;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
  z-index: 20;
  animation: drop-up .3s ease-out both;
}
body:has(.update-bar) .hub { padding-bottom: calc(110px + var(--safe-b)); }
@keyframes drop-up { from { transform: translate(-50%, 20px); opacity: 0; } }
.update-bar span { flex: 1; font-size: 15px; line-height: 1.3; }
.update-bar small { display: block; color: var(--muted); font-size: 12px; }
.update-bar button { border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 800; }
.update-bar .later { background: rgba(255, 255, 255, .12); color: #fff; }
.update-bar .install-now { background: var(--accent); color: #fff; }
.update-bar[data-state=ready] { flex-wrap: wrap; }
.update-bar[data-state=ready] span { flex: 1 1 100%; }
.update-bar[data-state=ready] .install-now { flex: 1; }
.update-bar .progress {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .15);
  overflow: hidden;
}
.update-bar .progress-fill.busy { width: 35%; animation: busy 1s ease-in-out infinite alternate; }
@keyframes busy { from { margin-left: 0; } to { margin-left: 65%; } }
.update-bar .progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #ffd166);
  transition: width .25s ease-out;
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 17px;
  background: #e8e9f5;
  color: var(--card-ink);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .15);
}
.btn.primary { background: var(--accent); color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }

/* --------------------------------------------------------------- screens */

.game-host, .screen { height: 100%; }
.screen { display: flex; flex-direction: column; position: relative; overflow: hidden; }

.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(8px + var(--safe-t)) calc(12px + var(--safe-r)) 8px calc(12px + var(--safe-l));
  background: var(--bg);
  z-index: 2;
}
.bar h2 { flex: 1; margin: 0; font-size: 20px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 15px;
  white-space: nowrap;
}
.pill svg { width: 18px; height: 18px; fill: var(--star); }

/* Level select */
.levels-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px calc(16px + var(--safe-r)) calc(24px + var(--safe-b)) calc(16px + var(--safe-l));
  -webkit-overflow-scrolling: touch;
}
.levels-intro { color: var(--muted); text-align: center; margin: 8px 0 16px; }
.lvl-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  max-width: 720px;
  margin: 0 auto;
}
.lvl {
  aspect-ratio: 1;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  color: var(--card-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .2);
}
.lvl:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.lvl-n { font-size: 22px; font-weight: 800; }
.lvl.current { background: var(--accent); color: #fff; }
.lvl.locked { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .4); box-shadow: none; }
.lvl.locked svg { width: 22px; height: 22px; fill: currentColor; }

.stars { display: inline-flex; gap: 2px; }
.stars i { display: block; }
.stars svg { fill: rgba(0, 0, 0, .15); }
.stars i.on svg { fill: var(--star); }
.stars.small svg { width: 13px; height: 13px; }
.lvl.current .stars i:not(.on) svg { fill: rgba(255, 255, 255, .35); }
.stars.big { gap: 8px; margin: 6px 0 4px; }
.stars.big svg { width: 54px; height: 54px; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .15)); }
.stars.big i.on { animation: star-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes star-pop {
  from { transform: scale(0) rotate(-40deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

/* Play */
.play-screen { background: var(--grass); }
.stage { flex: 1; position: relative; min-height: 0; }
.board {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  display: block;
}
.stage.building {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #1f4d1a;
  font-weight: 700;
}
.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, .5);
  border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px calc(12px + var(--safe-r)) calc(10px + var(--safe-b)) calc(12px + var(--safe-l));
  background: var(--bg);
}
.ctl {
  flex: 1;
  max-width: 140px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  padding: 8px 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
}
.ctl svg { width: 26px; height: 26px; }
.ctl:active { background: rgba(255, 255, 255, .2); transform: scale(.96); }

.tip {
  position: absolute;
  left: 50%;
  top: calc(70px + var(--safe-t));
  transform: translateX(-50%);
  width: min(92%, 460px);
  background: #fffbe6;
  color: #3d3200;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  animation: drop-in .4s ease-out both;
  z-index: 3;
}
@keyframes drop-in { from { transform: translate(-50%, -20px); opacity: 0; } }

.dialog {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 50, .55);
  display: grid;
  place-items: center;
  z-index: 5;
  animation: fade .25s both;
}
@keyframes fade { from { opacity: 0; } }
.dialog[hidden], .tip[hidden] { display: none; }
.dialog-card {
  width: min(88%, 380px);
  background: #fff;
  color: var(--card-ink);
  border-radius: 24px;
  padding: 22px 20px 20px;
  text-align: center;
  box-shadow: 0 10px 0 rgba(0, 0, 0, .2);
  animation: card-in .4s cubic-bezier(.3, 1.5, .5, 1) both;
}
@keyframes card-in { from { transform: scale(.7); opacity: 0; } }
.dialog-card h3 { margin: 0; font-size: 26px; }
.dialog-card p { color: #565a7e; margin: 8px 0 18px; }
.dialog-btns { display: flex; gap: 10px; }
.dialog-btns .btn { flex: 1; }

/* Tap Maze */
.tm-screen { background: linear-gradient(180deg, #3b2f8f 0%, #5b3fa8 100%); }
.tm-screen .stage.building { color: #fff; }
.hearts { gap: 2px; padding: 6px 12px; }
.hearts svg { width: 22px; height: 22px; fill: #ff4d6d; transition: opacity .3s, transform .3s; }
.hearts svg.lost { opacity: .22; transform: scale(.8); }
.left-count {
  flex: 1;
  max-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
}
.left-count b { color: var(--ink); font-size: 18px; }

/* Breakout */
.bo-menu-body { flex: 1; overflow-y: auto; padding: 8px calc(16px + var(--safe-r)) calc(24px + var(--safe-b)) calc(16px + var(--safe-l)); text-align: center; }
.bo-pick { font-weight: 800; font-size: 18px; margin: 18px 0 12px; }
.bo-choices { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.bo-choice {
  width: 150px;
  border: 3px solid transparent;
  border-radius: 20px;
  background: #fff;
  color: var(--card-ink);
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .2);
}
.bo-choice svg { width: 72px; height: 72px; color: #1f2140; }
.bo-choice b { font-size: 18px; }
.bo-choice small { color: #565a7e; }
.bo-choice.selected { border-color: var(--accent); }
.bo-choice:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.bo-note { color: var(--muted); font-size: 13px; margin-top: 18px; }
.bo-screen { background: #0a0c26; }
.bo-screen .bar { gap: 8px; }
.bo-score { font-size: 18px; min-width: 70px; justify-content: center; }
.bo-stage { font-size: 14px; }
.bo-balls { flex: 1; display: flex; gap: 5px; align-items: center; }
.bo-balls i { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .7); }
.bo-screen .icon-btn svg { fill: currentColor; }
.bo-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 12, 38, .55);
  z-index: 2;
}
.bo-overlay[hidden] { display: none; }
.bo-overlay div {
  background: #fff;
  color: var(--card-ink);
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  max-width: 80%;
  box-shadow: 0 8px 0 rgba(0, 0, 0, .25);
}
.bo-overlay b { font-size: 20px; }
.bo-overlay span { color: #565a7e; }

/* Lunar Lander */
.ll-screen { background: #000004; }
.ll-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px calc(14px + var(--safe-r)) calc(14px + var(--safe-b)) calc(14px + var(--safe-l));
  pointer-events: none;
}
.ll-rotate { display: flex; gap: 12px; }
.ll-btn {
  pointer-events: auto;
  touch-action: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(61, 255, 122, .6);
  background: rgba(0, 30, 10, .55);
  color: #3dff7a;
  display: grid;
  place-items: center;
  -webkit-user-select: none;
  user-select: none;
}
.ll-btn svg { width: 34px; height: 34px; }
.ll-btn.on { background: rgba(61, 255, 122, .35); box-shadow: 0 0 18px rgba(61, 255, 122, .6); }
.ll-thrust {
  width: 110px;
  height: 110px;
  font: 800 16px ui-monospace, monospace;
  letter-spacing: 1px;
  border-color: rgba(255, 170, 60, .8);
  color: #ffb347;
  background: rgba(40, 18, 0, .55);
}
.ll-thrust.on { background: rgba(255, 150, 40, .45); box-shadow: 0 0 22px rgba(255, 150, 40, .7); }
.ll-score { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 4px; }
.ll-score td { padding: 3px 0; }
.ll-score td:last-child { text-align: right; font-weight: 800; }
.ll-score .total td { border-top: 2px solid #e8e9f5; padding-top: 6px; font-size: 16px; }

/* Jigsaw */
.jg-body { flex: 1; overflow-y: auto; padding: 4px calc(16px + var(--safe-r)) calc(24px + var(--safe-b)) calc(16px + var(--safe-l)); }
.jg-label { font-weight: 800; margin: 18px 0 10px; }
.jg-continue { margin-top: 8px; }
.jg-continue .btn { width: 100%; }
.jg-add { display: flex; gap: 12px; }
.jg-add-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  border-radius: 18px;
  background: #fff;
  color: var(--card-ink);
  font-weight: 800;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .2);
  cursor: pointer;
}
.jg-add-btn svg { width: 36px; height: 36px; color: #4361ee; }
.jg-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.jg-sizes button {
  flex: 1;
  min-width: 52px;
  border: 0;
  border-radius: 12px;
  padding: 10px 0;
  font-weight: 800;
  background: rgba(255, 255, 255, .12);
}
.jg-sizes button.on { background: var(--accent); color: #fff; }
.jg-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.jg-empty { color: var(--muted); font-size: 14px; margin: 0; grid-column: 1 / -1; }
.jg-tile {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #11132b;
  display: flex;
  flex-direction: column;
}
.jg-tile > span { padding: 6px 8px; font-size: 13px; font-weight: 700; text-align: left; }
.jg-open { border: 0; padding: 0; background: none; display: block; width: 100%; }
.jg-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jg-del {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 20px;
  line-height: 1;
}
.jg-screen { background: #cfa974; }
.jg-screen .bar { gap: 8px; }
.jg-tools { margin-left: auto; display: flex; gap: 6px; }
.jg-tools .icon-btn { width: 40px; height: 40px; }
.jg-tools .icon-btn svg { width: 22px; height: 22px; fill: none; }
.jg-tools .icon-btn.on { background: var(--accent); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(90px + var(--safe-b));
  transform: translate(-50%, 20px);
  background: #11132b;
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 10;
  max-width: 92vw;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* Toasts never block the game underneath; only their buttons take taps. */
.toast.show button { pointer-events: auto; }
.toast button {
  border: 0;
  border-radius: 10px;
  padding: 6px 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

@media (min-width: 700px) {
  .brand h1 { font-size: 32px; }
  .card-art { height: 190px; }
  .play-pill { top: 158px; }
  .ctl { max-width: 160px; font-size: 14px; }
}
.jg-peek { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* Night Driver */
.nd-screen { background: #000; }
.nd-screen .bar { background: #050507; }
.nd-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 10px calc(12px + var(--safe-r)) calc(12px + var(--safe-b)) calc(12px + var(--safe-l));
  pointer-events: none;
}
.nd-steer {
  pointer-events: auto;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  flex: 0 1 300px;
  min-width: 150px;
  height: 140px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: rgba(255, 255, 255, .85);
}
.nd-steer.on { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.nd-wheel { width: 96px; height: 96px; transition: transform .05s linear; }
.nd-steer span { font: 700 10px ui-monospace, Menlo, monospace; letter-spacing: 1px; color: rgba(255, 255, 255, .45); }
.nd-pedals { display: flex; gap: 10px; align-items: flex-end; }
.nd-pedal {
  pointer-events: auto;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .3);
  background: repeating-linear-gradient(0deg, #2a2a30 0 6px, #1b1b20 6px 12px);
  color: #fff;
  font: 800 14px ui-monospace, Menlo, monospace;
  letter-spacing: 1px;
}
.nd-brake { width: 82px; height: 92px; }
.nd-gas { width: 76px; height: 140px; }
.nd-brake.on { border-color: #ff3b2f; box-shadow: 0 0 18px rgba(255, 59, 47, .7); color: #ff3b2f; }
.nd-gas.on { border-color: #3dff7a; box-shadow: 0 0 18px rgba(61, 255, 122, .6); color: #3dff7a; }
@media (max-height: 520px) {
  .nd-steer { height: 96px; flex-basis: 220px; }
  .nd-wheel { width: 64px; height: 64px; }
  .nd-steer span { display: none; }
  .nd-brake { width: 70px; height: 64px; }
  .nd-gas { width: 64px; height: 96px; }
}
.ll-assist {
  margin-left: auto;
  border: 2px solid rgba(61, 255, 122, .5);
  background: rgba(0, 30, 10, .6);
  color: rgba(61, 255, 122, .7);
  font: 800 12px ui-monospace, Menlo, monospace;
  letter-spacing: .5px;
  border-radius: 999px;
  padding: 8px 12px;
  margin-right: 8px;
}
.ll-assist.on { color: #3dff7a; border-color: #3dff7a; box-shadow: 0 0 12px rgba(61, 255, 122, .45); }
.cj-penalty { color: #ff6b6b; }

/* About box */
.hub-foot .about-link {
  display: block;
  margin: 10px auto 0;
  padding: 6px 12px;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.about {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(20, 22, 50, .55);
  display: grid;
  place-items: center;
  padding: calc(12px + var(--safe-t)) 12px calc(12px + var(--safe-b));
  animation: fade .2s both;
}
.about-card {
  width: min(100%, 560px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #1f2140;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.about-card header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px 16px; border-bottom: 1px solid #eceef8; }
.about-card header div { flex: 1; }
.about-card h3 { margin: 0; font-size: 20px; }
.about-card header small { color: #6b6f93; }
.about-card .icon-btn { background: #eef0fa; color: #1f2140; font-size: 18px; }
.about-body { overflow-y: auto; padding: 4px 18px 18px; -webkit-overflow-scrolling: touch; }
.about-body > p { color: #45496d; line-height: 1.45; }
.about-body h4 { margin: 18px 0 6px; font-size: 16px; }
.about-ver h5 { margin: 14px 0 4px; font-size: 15px; color: #4361ee; }
.about-ver h5 span { font-size: 11px; background: #4361ee; color: #fff; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.about-ver ul { margin: 0; padding-left: 20px; }
.about-ver li { margin: 4px 0; line-height: 1.4; font-size: 14px; color: #33365a; }
.jg-joined { font-weight: 600; opacity: .8; }
.jg-time.idle { opacity: .55; }
.jg-chart { display: block; width: 100%; max-width: 320px; margin: 6px auto 0; }
.jg-screen .board { touch-action: none; }
