/* Vocab Coach - ELP Tools
   Tokens follow the shared data-viz palette so the reports charts stay
   consistent when this tool is folded into the main app. */

/* Toned on the brand colour #183B57. The header sits a step greyer than the
   page and the cards a step lighter, so the three read as separate surfaces.
   Every pairing was checked for contrast; --chart-1 is a lighter step of the
   same hue, because #183B57 itself is too dark to read as a data mark. */
:root {
  color-scheme: light;
  --page:        #eef2f6;
  --topbar:      #dde5ec;
  --tabs:        #e6ecf2;
  --surface:     #ffffff;
  --surface-2:   #eaeff4;
  --ink:         #0e1a24;
  --ink-2:       #43596b;
  --ink-muted:   #596c7d;
  --line:        #cdd8e2;
  --border:      rgba(14,26,36,0.12);
  --brand:       #183b57;
  --brand-dark:  #0d2941;
  --brand-soft:  #dbe9f5;
  --chart-1:     #0f6faf;
  --on-brand:    #ffffff;
  --good:        #0ca30c;
  --good-soft:   #e3f5e3;
  --bad:         #d03b3b;
  --bad-soft:    #fbe8e8;
  --warn:        #fab219;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 1px 2px rgba(14,26,36,.06), 0 8px 24px rgba(14,26,36,.08);
  --font:        system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page:        #0b131b;
  --topbar:      #16242f;
  --tabs:        #111d26;
  --surface:     #15222d;
  --surface-2:   #1e2f3c;
  --ink:         #ffffff;
  --ink-2:       #b6c6d3;
  --ink-muted:   #8397a6;
  --line:        #2a3d4d;
  --border:      rgba(255,255,255,0.12);
  --brand:       #1f6fa8;
  --brand-dark:  #4594d3;
  --brand-soft:  #1c3d59;
  --chart-1:     #4594d3;
  --good:        #0ca30c;
  --good-soft:   #10331a;
  --bad:         #e06a6a;
  --bad-soft:    #3a1f1f;
  --shadow:      0 1px 2px rgba(0,0,0,.45), 0 10px 28px rgba(0,0,0,.40);
}

* { box-sizing: border-box; }
/* Several rules below set display on elements that are also toggled with the
   hidden attribute (the logo and video fallbacks), and they would win. */
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--page);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; }
p { margin: 0 0 .8em; }
button { font: inherit; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 20px;
  background: var(--topbar);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-logo { display: block; height: 54px; width: auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 650; font-size: 17px; }
.brand-sub { font-size: 12px; color: var(--ink-muted); }
.topbar-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.learner { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.learner input {
  font: inherit; font-size: 14px; padding: 7px 10px; width: 130px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--ink);
}
.icon-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--ink-2);
  padding: 8px 12px; border-radius: 10px; cursor: pointer; font-size: 13px;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

/* ---------- tabs ---------- */
.tabs {
  /* Wrap rather than scroll. Deliberate: as an overflow-x scroll container this
     flex row collapses to a few pixels in Chromium once the page grows a
     vertical scrollbar, which hides the tab labels completely. */
  display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 20px 0;
  background: var(--tabs); border-bottom: 1px solid var(--line);
}
.tab {
  border: 1px solid transparent; border-bottom: none;
  background: transparent; color: var(--ink-2);
  padding: 10px 15px; border-radius: 11px 11px 0 0;
  cursor: pointer; white-space: nowrap; font-size: 14px;
}
.tab:hover { background: var(--surface-2); color: var(--ink); }
.tab.active {
  background: var(--page); color: var(--ink); font-weight: 600;
  border-color: var(--line); margin-bottom: -1px; padding-bottom: 11px;
}

/* ---------- settings ---------- */
.settings { background: var(--tabs); border-bottom: 1px solid var(--line); padding: 16px 20px; }
.settings-grid { display: flex; flex-wrap: wrap; gap: 18px; max-width: 1100px; margin: 0 auto; }
.settings fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 12px; margin: 0; min-width: 170px; }
.settings legend { font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 4px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; cursor: pointer; padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; }
.chip input { margin: 0; }
.field { font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); }
.check { display: flex; align-items: center; gap: 7px; font-size: 14px; margin: 5px 0; cursor: pointer; }
.pool-count { font-size: 14px; color: var(--ink-2); margin: 4px 0 8px; }

/* ---------- layout ---------- */
.view { flex: 1; padding: 24px 20px 48px; max-width: 900px; width: 100%; margin: 0 auto; outline: none; }
.view.wide { max-width: 1180px; }
.foot { padding: 14px 20px 24px; font-size: 12px; color: var(--ink-muted); text-align: center; }
.foot-sep { margin: 0 6px; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 26px; margin-bottom: 18px;
}
.card.pad-sm { padding: 18px; }

/* ---------- round chrome ---------- */
.round-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.progress { flex: 1; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--chart-1); border-radius: 999px; transition: width .25s ease; }
.score { font-size: 14px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.score .s-good { color: var(--good); font-weight: 650; }
.score .s-bad { color: var(--bad); font-weight: 650; }

.mode-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.mode-row .lbl { font-size: 13px; color: var(--ink-muted); }

/* ---------- buttons ---------- */
.btn {
  font: inherit; cursor: pointer; border-radius: 12px; padding: 12px 20px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--ink);
}
.btn:hover { border-color: var(--ink-muted); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); font-weight: 600; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.toggle-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* ---------- prompt + options ---------- */
.prompt { font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.prompt-word {
  font-size: clamp(30px, 6vw, 46px); font-weight: 700; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 12px; margin: 2px 0 20px;
}
.meta-line { font-size: 13px; color: var(--ink-muted); margin: -14px 0 18px; }
.speak-btn {
  border: 1px solid var(--border); background: var(--surface-2); color: var(--ink-2);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 17px; line-height: 1;
  display: grid; place-items: center; flex: none;
}
.speak-btn:hover { background: var(--brand-soft); color: var(--ink); }

.options { display: grid; gap: 10px; }
.options.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .options.two-col { grid-template-columns: 1fr; } }
.opt {
  display: flex; align-items: flex-start; gap: 12px; text-align: left; width: 100%;
  padding: 15px 17px; font-size: 17px; line-height: 1.4;
  border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.opt:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-soft); }
.opt-key {
  flex: none; width: 26px; height: 26px; border-radius: 7px; font-size: 13px; font-weight: 650;
  background: var(--surface-2); color: var(--ink-2); display: grid; place-items: center; margin-top: 1px;
}
.opt.is-correct { border-color: var(--good); background: var(--good-soft); }
.opt.is-correct .opt-key { background: var(--good); color: #fff; }
.opt.is-wrong { border-color: var(--bad); background: var(--bad-soft); }
.opt.is-wrong .opt-key { background: var(--bad); color: #fff; }
.opt:disabled { cursor: default; }
.opt.dimmed { opacity: .55; }

.feedback { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 17px; font-weight: 600; }
.feedback .mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 16px; flex: none; }
.feedback.good { color: var(--good); }
.feedback.good .mark { background: var(--good); }
.feedback.bad { color: var(--bad); }
.feedback.bad .mark { background: var(--bad); }
.feedback-note { font-weight: 400; color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* ---------- flash card ---------- */
.flash-stage { text-align: center; padding: 18px 0 6px; }
.flash-word {
  font-size: clamp(38px, 9vw, 68px); font-weight: 700; letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 16px;
  transition: filter .35s ease, opacity .35s ease;
}
.flash-word.veiled { filter: blur(14px); opacity: .35; user-select: none; }
.timerbar { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 22px auto 4px; max-width: 420px; }
.timerbar > span { display: block; height: 100%; background: var(--chart-1); border-radius: 999px; width: 100%; }
.flash-hint { font-size: 14px; color: var(--ink-muted); min-height: 20px; margin-top: 10px; }
.reveal { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.reveal h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); margin: 18px 0 8px; }
.reveal .meaning { font-size: 19px; line-height: 1.45; }
.sentences { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sentences li {
  background: var(--surface-2); border-left: 3px solid var(--chart-1);
  padding: 11px 14px; border-radius: 0 10px 10px 0; font-size: 16px; line-height: 1.5;
}
.sentences mark { background: var(--brand-soft); color: inherit; padding: 0 3px; border-radius: 4px; font-weight: 650; }
.chiplist { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chiplist li { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; font-size: 15px; }
.chiplist.anto li { border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.chiplist.syno li { border-color: color-mix(in srgb, var(--good) 35%, transparent); }
.badge { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-2); }

/* ---------- pairs ---------- */
.pair-box { display: grid; gap: 12px; margin-bottom: 20px; }
.pair-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface-2); border-radius: var(--radius); padding: 14px 18px;
}
.pair-row.target { background: var(--brand-soft); }
.pair-w { font-size: 22px; font-weight: 700; }
.pair-a { font-size: 20px; }
.pair-a.slot { color: var(--ink-muted); font-weight: 700; }
.arrow { color: var(--ink-muted); font-size: 20px; }
.pair-tag { font-size: 12px; color: var(--ink-muted); margin-left: auto; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- jumble ---------- */
.jumble-tiles { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 8px 0 22px; }
.tile {
  width: 46px; height: 54px; border-radius: 11px; background: var(--surface-2);
  border: 1px solid var(--border); display: grid; place-items: center;
  font-size: 24px; font-weight: 700; text-transform: uppercase;
}
.cloze { font-size: 19px; line-height: 1.6; background: var(--surface-2); border-left: 3px solid var(--chart-1); padding: 14px 16px; border-radius: 0 10px 10px 0; }
.cloze .blank { display: inline-block; min-width: 110px; border-bottom: 3px solid var(--chart-1); }
.answer-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.answer-input {
  font: inherit; font-size: 22px; padding: 12px 16px; flex: 1; min-width: 200px;
  border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); letter-spacing: .02em;
}
.answer-input:focus { outline: none; border-color: var(--brand); }
.answer-input.is-correct { border-color: var(--good); background: var(--good-soft); }
.answer-input.is-wrong { border-color: var(--bad); background: var(--bad-soft); }

/* ---------- round end ---------- */
.round-end { text-align: center; padding: 20px 0; }
.round-score { font-size: 54px; font-weight: 700; letter-spacing: -.02em; }
.round-sub { color: var(--ink-2); font-size: 16px; }

/* ---------- reports ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat-value { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }
.stat-sub { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

.chart-title { font-size: 15px; font-weight: 650; margin-bottom: 2px; }
.chart-note { font-size: 12px; color: var(--ink-muted); margin-bottom: 14px; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 12px; }
.bar-label { font-size: 14px; color: var(--ink-2); }
.bar-track { display: block; background: var(--surface-2); border-radius: 4px; height: 22px; position: relative; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--chart-1); border-radius: 0 4px 4px 0; min-width: 2px; transition: width .3s ease; }
.bar-value { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-row.empty .bar-value { color: var(--ink-muted); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .grow { flex: 1; min-width: 160px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--surface-2); font-weight: 600; color: var(--ink-2); position: sticky; top: 0; cursor: pointer; font-size: 13px; }
th.sorted::after { content: " \25BC"; font-size: 9px; color: var(--ink-muted); }
th.sorted.asc::after { content: " \25B2"; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.acc-good { color: var(--good); font-weight: 650; }
.acc-bad { color: var(--bad); font-weight: 650; }
.muted { color: var(--ink-muted); }
.empty-state { text-align: center; padding: 40px 20px; color: var(--ink-muted); }
.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }

@media (max-width: 560px) {
  .topbar { padding: 10px 14px; }
  .view { padding: 16px 14px 40px; }
  .card { padding: 18px; }
  .bar-row { grid-template-columns: 96px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px);
  background: var(--ink); color: var(--page);
  padding: 12px 20px; border-radius: 12px; font-size: 14px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 50; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .92em; }

/* ---------- welcome screen ---------- */
:root { --brand-navy: #183b57; }

/* The clip is portrait and stands down the left of the whole screen, so this
   tab is the one that runs full width. */
.view.bleed { max-width: none; padding-left: 26px; padding-right: 26px; }

/* Sized against the real chrome height (set by app.js) so the whole tab fits
   the window without scrolling, in a window or full screen. */
.welcome-fit { display: flex; flex-direction: column; gap: 0; height: var(--fit-h, auto); }
.welcome-fit .welcome-split { flex: 1 1 auto; min-height: 0; }
.welcome-fit .section-heading,
.welcome-fit .game-grid { flex: 0 0 auto; }

.welcome-split {
  display: grid;
  grid-template-columns: minmax(200px, 26%) 1fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 16px;
}

/* left: the keyed clip, standing on the floor of its column */
.stage { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 0; }
.stage canvas {
  display: block;
  max-height: 100%;
  max-width: 100%;
  opacity: 0;
  transition: opacity .45s ease;
  filter: drop-shadow(0 18px 34px rgba(11,11,11,.20));
}
:root[data-theme="dark"] .stage canvas { filter: drop-shadow(0 18px 34px rgba(0,0,0,.55)); }
.stage canvas.is-live { opacity: 1; }
.stage.no-clip canvas { display: none; }

.stage-fallback {
  align-self: stretch; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 26px; text-align: center;
  border: 2px dashed var(--line); border-radius: var(--radius-lg);
  color: var(--ink-muted); background: var(--surface);
}
.play-glyph {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 24px; color: var(--ink-2);
  padding-left: 5px; margin-bottom: 6px;
}
.video-title { color: var(--ink); font-size: 18px; font-weight: 650; margin: 0; }
.video-note { font-size: 13px; margin: 0; max-width: 340px; }

.stage-actions {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.stage-btn { box-shadow: var(--shadow); white-space: nowrap; }

/* right: logo at the top, the introduction at the bottom */
.welcome-side {
  display: flex; flex-direction: column; justify-content: center;
  gap: 14px; min-width: 0; min-height: 0;
  /* a last resort only - the breakpoints below are what keep it fitting */
  overflow: auto;
}
.side-top { flex: 0 0 auto; }
.welcome-logo { display: block; max-width: min(460px, 100%); max-height: min(18vh, 170px); }
.logo-fallback { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo-mark {
  width: 62px; height: 62px; border-radius: 16px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 30px; font-weight: 700; letter-spacing: -.03em;
}
.logo-word { font-size: 38px; font-weight: 300; letter-spacing: -.02em; }
.logo-word b { font-weight: 700; }
.side-bottom { flex: 0 0 auto; }
.intro-head { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.02em; margin-bottom: 12px; }
.intro-copy { font-size: clamp(14px, 1.15vw, 17px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; margin: 0 0 4px; }
.intro-card .btn-row, .side-bottom .btn-row { flex-wrap: wrap; }
.side-bottom .btn-row { margin-top: 14px; }
.side-bottom .btn-row a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.intro-foot { font-size: 13px; color: var(--ink-muted); margin: 12px 0 0; }

.section-heading { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 10px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 10px; }
.game-card {
  text-align: left; cursor: pointer; font: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; display: flex; flex-direction: column; gap: 4px; color: var(--ink);
}
.game-card:hover { border-color: var(--brand); background: var(--brand-soft); }
.game-title { font-size: 17px; font-weight: 650; }
.game-body { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.game-card:hover .game-body { color: var(--ink); }

/* Short windows: the introduction gives way before the clip does. */
@media (max-height: 880px) {
  .intro-head { font-size: clamp(19px, 2.2vw, 25px); margin-bottom: 8px; }
  .welcome-logo { max-height: min(16vh, 145px); }
  .game-card { padding: 10px 13px; }
  .intro-foot { display: none; }
  .side-bottom .btn-row { margin-top: 12px; }
}
@media (max-height: 800px) {
  .game-body { display: none; }
  .welcome-side { gap: 10px; }
  .btn-lg { padding: 12px 20px; font-size: 16px; }
}

@media (max-width: 900px) {
  /* Stacked, the tab is taller than the window - so let it scroll. */
  .welcome-fit { height: auto; }
  .welcome-split { grid-template-columns: 1fr; gap: 22px; }
  .stage canvas { max-height: 46vh; }
  .welcome-side { overflow: visible; }
  .welcome-logo { max-height: 140px; margin: 0 auto; }
  .logo-word { font-size: 30px; }
  .logo-mark { width: 50px; height: 50px; font-size: 24px; }
  .game-body { display: block; }
}
