/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --bg: #eef4fa; --card: #ffffff; --ink: #0f1b2d; --muted: #5c6b7f; --line: #dfe6ee;
  --primary: #2563eb; --primary-ink: #fff; --primary-soft: #e3ecff;
  --accent: #ff8a00; --good: #15a34a; --good-soft: #e5f7eb; --bad: #e11d48; --bad-soft: #fde8ee;
  --gold: #f5b301; --silver: #a7b1bd; --bronze: #c98a4b;
  --ocean: #cfe8f6; --space: #eef4fa; --land: #f7f1df; --land-home: #fff6cf; --land-other: #e9e5da;
  --border: #a49a86; --grid: rgba(80, 120, 160, .15); --water: #9fd1ee;
  --radius: 16px; --shadow: 0 6px 24px rgba(15, 27, 45, .10), 0 1px 3px rgba(15, 27, 45, .08);
  --topbar: 56px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px; line-height: 1.45; -webkit-tap-highlight-color: transparent;
  display: flex; flex-direction: column; min-height: 100dvh;
}
button, input, select { font: inherit; color: inherit; }
a { color: var(--primary); }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.08rem; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.spacer { flex: 1; }
code { background: #f1f4f8; padding: 2px 6px; border-radius: 6px; font-size: .85rem; direction: ltr; display: inline-block; }

/* ── Top bar ─────────────────────────────────────────────── */
#topbar {
  height: var(--topbar); flex: none; display: flex; align-items: center; gap: 6px;
  padding: 0 12px; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 1.1rem; padding: 4px; }
.brand .logo { font-size: 1.5rem; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  display: inline-grid; place-items: center; cursor: pointer; font-size: 1.1rem; flex: none;
}
.icon-btn:hover { background: var(--primary-soft); }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: .9rem; }
.menu-wrap { position: relative; }
.menu {
  position: absolute; inset-inline-end: 0; top: 46px; min-width: 230px; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column;
}
.menu[hidden] { display: none; }
.menu button { text-align: start; border: 0; background: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.menu button:hover { background: var(--primary-soft); }
.menu-user { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-weight: 600; }
@media (max-width: 420px) { .brand-name { display: none; } }

/* ── Layout ──────────────────────────────────────────────── */
#app { flex: 1; position: relative; min-height: 0; }
.screen { padding: 20px 16px 32px; max-width: 1120px; margin: 0 auto; }
.screen.center { display: grid; place-items: start center; padding-top: 32px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card.narrow { width: min(460px, 100%); }
.card.wide { width: min(880px, 100%); }
.stack { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.hero { font-size: 3rem; text-align: center; }
.hero.spin { animation: spin 6s linear infinite; display: inline-block; width: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
.login h1, .login > p { text-align: center; }

input:not([type=radio]), select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfdff;
}
input:focus, select:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.code-input { text-transform: uppercase; letter-spacing: .25em; font-weight: 700; text-align: center; direction: ltr; }
label { font-weight: 600; font-size: .9rem; }

.btn {
  border: 1.5px solid var(--line); background: var(--card); padding: 10px 16px; border-radius: 12px; cursor: pointer;
  font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
}
.btn:hover { border-color: var(--primary); }
.btn.primary { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.primary:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn.big { padding: 14px 20px; font-size: 1.05rem; width: 100%; }
.btn.small { padding: 6px 10px; font-size: .85rem; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); border-color: #f3c3cf; }
.linklike { background: none; border: 0; color: var(--primary); cursor: pointer; padding: 4px; font-size: .9rem; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; margin: 18px 0 10px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.providers { display: grid; gap: 8px; }
.provider { justify-content: flex-start; opacity: .75; }
.provider b { width: 22px; display: inline-block; text-align: center; }
.provider .g { color: #4285f4; }
.note { background: #fff8e6; border-radius: 10px; padding: 8px 12px; font-size: .88rem; color: #6b4e00; margin: 12px 0 0; }
.note.warn { background: #fff3e0; }
.err { color: var(--bad); margin: 0; }
.badge { display: inline-block; background: #fff4d6; color: #8a5a00; border-radius: 999px; padding: 6px 14px; font-weight: 700; margin-top: 8px; }

/* ── Home ────────────────────────────────────────────────── */
.home-head { margin: 4px 0 16px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 14px; }
.act-top { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.act-icon { font-size: 2.2rem; line-height: 1; }
.act-top h3 { margin-bottom: 2px; }
.act-top p { margin: 0; }
/* Levels: one compact row of difficulty buttons — Easy · Medium · Hard */
.levels { display: flex; gap: 6px; }
.level {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
  border: 1.5px solid var(--line); background: #fbfdff; border-radius: 12px; padding: 8px 4px 6px; cursor: pointer;
}
.level:hover, .level:focus-visible { border-color: var(--lv); background: var(--primary-soft); }
.d-easy { --lv: #16a34a; } .d-medium { --lv: #f59e0b; } .d-hard { --lv: #e11d48; } .d-expert { --lv: #7c3aed; } .d-x { --lv: var(--primary); }
.lv-name { font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.lv-name::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lv); flex: none; }
.lv-stars { color: #c9d2dc; letter-spacing: 1px; font-size: .8rem; line-height: 1; }
.lv-stars.on { color: var(--gold); }

/* Tip: yellow, easy to find (header pill, home card, end-of-round line) */
.tip-pill {
  height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: #ffdd00; color: #1f1a00;
  font-weight: 700; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 2px 0 #e0b800;
}
.tip-pill:hover { background: #ffe94d; }
@media (max-width: 359px) { .tip-pill span { display: none; } .tip-pill { padding: 0 11px; } }
.tip-card { display: flex; align-items: center; gap: 14px; margin-top: 14px; background: linear-gradient(135deg, #fffbe6, #fff2a8); }
.tip-card > div { flex: 1; min-width: 0; }
.tip-card h3 { margin-bottom: 2px; } .tip-card p { margin: 0; }
.tip-emoji { font-size: 2.2rem; line-height: 1; }
.btn.tip-btn { background: #ffdd00; border-color: #e6c400; color: #1f1a00; font-weight: 700; }
.btn.tip-btn:hover { background: #ffe94d; border-color: #d4b400; }
@media (max-width: 560px) { .tip-card { flex-wrap: wrap; } .tip-card .tip-btn { width: 100%; } }
.tip-line {
  margin-top: 16px; border: 0; background: #fff6c2; color: #5c4a00; border-radius: 999px;
  padding: 8px 16px; cursor: pointer; font-weight: 600;
}
.tip-line:hover { background: #ffec80; }
.teacher-card .btn { width: 100%; }
.links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 22px; }

/* ── Play ────────────────────────────────────────────────── */
body[data-screen=play] #app, body[data-screen=student] #app { overflow: hidden; }
.screen.play { position: absolute; inset: 0; padding: 0; max-width: none; }
.board { position: absolute; inset: 0; }
.loading { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; color: var(--muted); }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--primary); animation: spin 0.9s linear infinite; margin: 0 auto; }
.hud {
  position: absolute; top: 10px; inset-inline: 10px; margin: 0 auto; max-width: 720px; z-index: 5;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px 14px;
}
.hud .prompt { font-size: 1.15rem; text-align: center; }
.hud .prompt .target { font-size: 1.35rem; color: var(--primary); }
.prompt .hint { color: var(--muted); font-size: .95rem; }
.stats { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.stats .progress { color: var(--muted); font-weight: 600; font-size: .9rem; }
.stats .score { background: var(--primary-soft); color: var(--primary); padding: 3px 10px; border-radius: 999px; min-width: 3.5em; text-align: center; }
.stats .streak { color: var(--accent); }
.timer { position: absolute; inset-inline: 12px; bottom: 6px; height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; }
.timer .bar { height: 100%; width: 100%; background: var(--good); transform-origin: right; transition: transform .1s linear, background .3s; }
[dir=ltr] .timer .bar { transform-origin: left; }
.timer.low .bar { background: var(--bad); }
.zoom-ctl { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 4; }
.zoom-ctl .icon-btn { box-shadow: var(--shadow); }
.panel {
  position: absolute; bottom: 12px; inset-inline: 10px; margin: 0 auto; max-width: 600px; z-index: 6;
  display: flex; flex-direction: column; gap: 8px; padding: 12px 14px;
}
.panel.asking { flex-direction: row; align-items: center; }
.panel.asking .ask-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.panel.asking .hint-text { color: var(--muted); font-size: .92rem; }
.panel.asking .clue { font-weight: 700; color: var(--ink); background: #fff7db; border-radius: 10px; padding: 6px 10px; animation: pop .25s ease-out; }
.panel.asking .hint-btn { flex: none; white-space: nowrap; }
.panel.asking .hint-btn small { color: var(--muted); font-weight: 600; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
label.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
label.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.panel.feedback.good { border-top: 4px solid var(--good); }
.panel.feedback.bad { border-top: 4px solid var(--bad); }
.fb-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 1.1rem; }
.fb-head .dist { color: var(--muted); font-size: .92rem; }
.fb-head .pts { margin-inline-start: auto; font-weight: 800; color: var(--primary); font-size: 1.3rem; }
.learn { background: #f6f9fc; border-radius: 12px; padding: 10px 12px; font-size: .95rem; }
.learn-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; font-size: .9rem; }
.learn-links a { text-decoration: none; font-weight: 600; }
.learn-links .linklike { color: var(--muted); font-size: .82rem; }
.waiting { text-align: center; color: var(--muted); padding: 6px; }
.rank-line { text-align: center; font-size: 1rem; }
.code-chip { background: var(--ink); color: #fff; font-weight: 800; letter-spacing: .15em; border-radius: 8px; padding: 4px 10px; direction: ltr; display: inline-block; }
.code-chip.small { font-size: .75rem; padding: 2px 6px; }
@media (max-width: 560px) {
  .hud { grid-template-columns: auto 1fr; padding: 8px 10px 14px; }
  .hud .stats { grid-column: 1 / -1; justify-content: center; order: 3; }
  .hud .prompt { font-size: 1rem; } .hud .prompt .target { font-size: 1.2rem; }
  .panel.asking { gap: 10px; padding: 10px 12px; }
  .panel.asking .hint-text { font-size: .85rem; }
  .zoom-ctl { top: auto; bottom: 120px; transform: none; }
}

/* ── Map ─────────────────────────────────────────────────── */
svg.map { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; direction: ltr; }
svg.map.flat { background: var(--ocean); }
svg.map.sphere { background: var(--space); }
svg.map.picking { cursor: crosshair; }
.ocean { fill: var(--ocean); }
.graticule { fill: none; stroke: var(--grid); stroke-width: .6; vector-effect: non-scaling-stroke; }
.land { fill: var(--land); stroke: #b8ae97; stroke-width: .6; vector-effect: non-scaling-stroke; }
.flat .land { fill: var(--land-other); }
.flat .home-land { fill: var(--land-home); }
.home-land { fill: var(--land-home); stroke: #9b8f73; stroke-width: 1; }
.country { fill: var(--land); stroke: var(--border); stroke-width: .6; vector-effect: non-scaling-stroke; }
svg.picking .country:hover { fill: #fbe9b7; }
.lake { fill: var(--water); stroke: #7fb8da; stroke-width: .6; vector-effect: non-scaling-stroke; }
.target-shape { fill: rgba(21, 163, 74, .55); stroke: var(--good); stroke-width: 2; vector-effect: non-scaling-stroke; animation: pulse 1.4s ease-in-out infinite; }
.target-shape.soft { fill: rgba(21, 163, 74, .35); stroke-width: 1; }
.target-band { fill: none; stroke: rgba(21, 163, 74, .4); stroke-linecap: round; stroke-linejoin: round; }
.target-line { fill: none; stroke: var(--good); stroke-width: 2.5; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
@keyframes pulse { 50% { opacity: .55; } }
.lbl { fill: #3b4655; paint-order: stroke; stroke: rgba(255, 255, 255, .9); stroke-width: 3px; stroke-linejoin: round; font-weight: 500; pointer-events: none; }
.lbl.ctx { fill: #6d86a0; font-style: italic; font-weight: 400; }
.lbl.marker { fill: #1e293b; }
.lbl.ref { fill: #334155; font-weight: 600; }
circle.ref { fill: #475569; stroke: #fff; stroke-width: 1.5; pointer-events: none; }
circle.city { fill: #fff; stroke: #1e3a8a; stroke-width: 2; }
circle.city.r1 { fill: #1e3a8a; stroke: #fff; }
circle.city.picked { fill: var(--accent); stroke: #fff; stroke-width: 2.5; }
.pin path { fill: var(--bad); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.pin .pin-hole { fill: #fff; }
.arrow { stroke: var(--bad); stroke-width: 2.5; stroke-dasharray: 7 5; }
.arrowhead { fill: var(--bad); }
.target-dot { fill: var(--good); stroke: #fff; stroke-width: 2.5; }
.target-ring { fill: none; stroke: var(--good); stroke-width: 3; animation: ring 1.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.answer-label { font-weight: 800; font-size: 15px; fill: #0b5d2a; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
circle.other { stroke: #fff; stroke-width: 1.5; }
circle.other.good { fill: var(--good); } circle.other.bad { fill: var(--bad); }
.other-name { font-size: 11px; fill: #334155; paint-order: stroke; stroke: #fff; stroke-width: 3px; }

/* ── Results ─────────────────────────────────────────────── */
.results { text-align: center; }
.big-stars { font-size: 2.6rem; letter-spacing: 6px; margin: 4px 0; }
.big-stars span { color: #d6dde5; display: inline-block; }
.big-stars span.on { color: var(--gold); animation: pop .5s backwards; }
@keyframes pop { from { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.3); } }
.big-score { font-size: 2.6rem; font-weight: 800; color: var(--primary); }
.res-stats { display: flex; justify-content: center; gap: 28px; margin: 14px 0; }
.res-stats div { display: flex; flex-direction: column; }
.res-stats b { font-size: 1.3rem; } .res-stats span { color: var(--muted); font-size: .85rem; }
.res-list { list-style: none; padding: 0; margin: 10px 0 0; text-align: start; max-height: 320px; overflow: auto; }
.res-list li { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.res-list .mark { font-weight: 800; } .res-list .good .mark { color: var(--good); } .res-list .bad .mark { color: var(--bad); }
.res-list .pts { font-weight: 700; min-width: 3em; text-align: end; }
.res-list a { color: inherit; text-decoration: none; } .res-list a:hover { text-decoration: underline; }

/* ── Teacher ─────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; }
.form-grid .full { grid-column: 1 / -1; }
.modes { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modes legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.mode-card { border: 2px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font-weight: 400; }
.mode-card:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.mode-card input { position: absolute; opacity: 0; }
@media (max-width: 560px) { .form-grid, .modes { grid-template-columns: 1fr; } }

body[data-screen=teacherRoom] .screen { max-width: 1300px; }
.room { display: flex; flex-direction: column; gap: 12px; }
.room-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; }
.room-title { font-weight: 600; }
.lobby { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
@media (max-width: 760px) { .lobby { grid-template-columns: 1fr; } }
.join-info { text-align: center; }
.big-code { font-size: 3.4rem; font-weight: 800; letter-spacing: .2em; direction: ltr; color: var(--ink); }
.qr { width: 190px; height: 190px; margin: 6px auto 12px; }
.qr svg { width: 100%; height: 100%; }
.link-row { display: flex; gap: 8px; flex-wrap: wrap; }
.link-row input { flex: 1 1 220px; direction: ltr; font-size: .85rem; }
.players-card { display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 60px; align-content: flex-start; }
.pchip { background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 6px 12px; font-weight: 600; animation: pop .35s; }
.pchip.off { opacity: .45; }
.live { display: grid; grid-template-columns: 1fr 340px; gap: 12px; height: calc(100dvh - var(--topbar) - 120px); min-height: 460px; }
@media (max-width: 860px) { .live { grid-template-columns: 1fr; height: auto; } .live-map { height: 60dvh; } }
.live-map { position: relative; padding: 0; overflow: hidden; }
.live-side { display: flex; flex-direction: column; gap: 10px; position: relative; overflow: auto; }
.live-side .prompt.big { font-size: 1.3rem; }
.live-side .prompt .target { color: var(--primary); font-size: 1.6rem; display: block; }
.live-side .timer { position: relative; inset: auto; height: 8px; }
.answered { font-weight: 600; }
.lb { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lb li { padding: 4px 0; }
.lb li { display: list-item; }
.lb li > * { vertical-align: middle; }
.lname { font-weight: 600; } .lscore { float: inline-end; font-weight: 700; }
.delta { font-size: .8rem; margin-inline-start: 6px; padding: 1px 6px; border-radius: 99px; }
.delta.good { background: var(--good-soft); color: var(--good); } .delta.bad { background: var(--bad-soft); color: var(--bad); }
.tick { color: var(--good); margin-inline-start: 6px; }
.ptable { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
.ptable td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.ptable tr.off { opacity: .5; }
.prog { width: 40%; } .pbar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 2px; }
.pbar div { height: 100%; background: var(--primary); transition: width .4s; }
.ended { text-align: center; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 8px; margin: 16px auto; max-width: 420px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pod .pname { font-weight: 700; } .pod .pscore { color: var(--muted); font-size: .9rem; }
.pod .pstep { width: 100%; border-radius: 12px 12px 0 0; color: #fff; font-weight: 800; font-size: 1.6rem; display: grid; place-items: center; }
.pod.p1 .pstep { height: 110px; background: var(--gold); } .pod.p2 .pstep { height: 80px; background: var(--silver); } .pod.p3 .pstep { height: 60px; background: var(--bronze); }
.pod.me .pname { color: var(--primary); }
.wait { text-align: center; }
.wait .code-chip { margin: 8px 0; }

/* ── Modal & toast ───────────────────────────────────────── */
.modal-back { position: fixed; inset: 0; background: rgba(15, 27, 45, .35); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { width: min(420px, 100%); display: flex; flex-direction: column; gap: 10px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 60; transition: opacity .4s; box-shadow: var(--shadow); }
.toast.out { opacity: 0; }
