/* The guide « Mettre le jeu sur ta télé » (/tele, /tv-guide, built by scripts/tv-guide-pages.ts from the
   owner's TV Guide design). Loaded after home.css and game.css, whose nav, footer and handwriting it reuses.
   Without JavaScript every screen shows, one after the other; /home/tv-guide.js adds .tg-js to the page and
   data-current to the screen it shows (src/site/tv-guide.ts). */

.guide-page { --cream-ink: #3d2b47; --soft: #e8dcef; --faint: #8a7a93; --dash: #d3c8b2; }

.tg { padding: 8px var(--gutter) 72px; }
/* What waits for the script (the way back, the progress, the Cast button, the copy buttons) stays hidden. */
.tg [hidden] { display: none !important; }
.tg-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .tg { padding-top: 24px; padding-bottom: 96px; }
  .tg-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; }
}

/* --- the sidebar: the title, the progress, a mascot, the quiet escape --- */

.tg-side { display: flex; flex-direction: column; gap: 24px; }
.tg-side-head { display: flex; flex-direction: column; gap: 10px; }
.tg-side .hand { font-size: 28px; }
.tg-title { font-size: clamp(40px, 3vw + 18px, 46px); line-height: .92; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.tg-lede { font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.tg-progress { display: flex; flex-direction: column; gap: 4px; }
.tg-progress li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--faint); }
.tg-progress-mark {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--line); font: 500 13px 'DM Mono', monospace;
}
.tg-progress-label { font-size: 17px; font-weight: 500; }
.tg-progress-value { margin-left: auto; font-size: 14px; color: var(--muted); text-align: right; }
.tg-progress .tg-done { color: var(--soft); }
.tg-progress .tg-done .tg-progress-mark { background: var(--teal); border-color: var(--teal); color: var(--plum); }
.tg-progress .tg-now { color: var(--ink); }
.tg-progress .tg-now .tg-progress-mark { border-color: var(--apricot); color: var(--ink); }
.tg-progress .tg-now .tg-progress-label { font-weight: 800; }
.tg-progress .tg-next { color: var(--faint); }
.tg-side-mascot { width: 120px; height: auto; transform: rotate(-6deg); }
.tg-self { align-self: flex-start; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.tg-self:hover { color: var(--apricot); }
.tg-self-foot { align-self: center; padding: 12px; }
/* Phones: the title stays on top; the progress, the mascot and the escape go (the escape is at the bottom). */
@media (max-width: 899px) {
  .tg-side .tg-progress, .tg-side-mascot, .tg-side .tg-self { display: none; }
  .tg-side .hand { font-size: 26px; }
  .tg-js:not([data-at-start]) .tg-side { display: none; }
}
@media (min-width: 900px) {
  .tg-side { position: sticky; top: 24px; gap: 28px; }
  .tg-self-foot { display: none; }
}

/* --- the main column --- */

.tg-main { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.tg-js .tg-main { gap: 28px; }
.tg-js [data-screen]:not([data-current]) { display: none; }
/* With JavaScript, the join block ends a card, and « Ça ne marche pas? » a card or a picker. */
.tg-js:not([data-on-card]) [data-join-block], .tg-js[data-at-start] [data-help-block] { display: none; }
.tg-screen { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 16px; }
.tg-screen-head { display: flex; flex-direction: column; gap: 8px; }
.tg-screen h2, .tg-card-title {
  font-size: clamp(32px, 2vw + 22px, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.tg-screen-lede { font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 640px; }
.tg-tag { align-self: flex-start; padding: 5px 10px; border-radius: 10px; background: var(--plum-2); font-size: 15px; font-weight: 700; }

.tg-back { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tg-back-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 11px 16px 11px 12px;
  border-radius: 14px; background: var(--plum-2); color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none;
}
.tg-back-link:hover { color: var(--ink); background: var(--line); }
.tg-crumb { min-width: 0; font-size: 14px; color: var(--muted); }

/* The tablet's card (?appareil=tablette, or a tablet): on top of the first screen. */
.tg-tablet {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  padding: 20px 22px; border-radius: 22px; background: var(--teal); color: var(--plum);
}
.tg-tablet[hidden] { display: none; }
.tg-tablet-text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; }
.tg-tablet-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.tg-tablet-go { padding: 14px 20px; border-radius: 14px; background: var(--plum); color: var(--ink); font-size: 16px; font-weight: 800; text-decoration: none; }
.tg-tablet-go:hover { color: var(--apricot); }

/* --- the tiles: what's on the TV, each with a little drawing --- */

.tg-tiles, .tg-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
@media (min-width: 900px) {
  .tg-tiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .tg-brands { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
.tg-tile {
  height: 100%; min-height: 168px; padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
  border: 2px solid transparent; border-radius: 22px; background: var(--plum-2);
  color: var(--ink); text-decoration: none;
}
.tg-tile:hover, .tg-choice:hover { color: var(--ink); border-color: var(--teal); }
.tg-tile-name { margin-top: 6px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; text-wrap: balance; }
.tg-tile-sub { font-size: 14px; line-height: 1.35; color: var(--muted); }

/* The drawings: a TV (its screen and its foot), then what's in it, in CSS. No logos. */
.tg-draw { position: relative; display: block; width: 104px; height: 64px; flex: none; }
.tg-draw::before {
  content: ''; position: absolute; left: 4px; top: 2px; width: 80px; height: 50px;
  border: 3px solid var(--ink); border-radius: 7px; background: var(--plum);
}
.tg-draw::after { content: ''; position: absolute; left: 36px; top: 52px; width: 16px; height: 8px; border-radius: 0 0 3px 3px; background: var(--ink); }
.tg-draw i { position: absolute; display: none; }
.tg-draw-cast i:first-child { display: block; left: 70px; top: 44px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); border: 3px solid var(--plum); }
.tg-draw-smart i { display: block; top: 22px; width: 16px; height: 14px; border-radius: 3px; }
.tg-draw-smart i:nth-child(1) { left: 14px; background: var(--apricot); }
.tg-draw-smart i:nth-child(2) { left: 34px; background: var(--teal); }
.tg-draw-smart i:nth-child(3) { left: 54px; background: var(--coral); }
.tg-draw-airplay i:first-child { display: block; left: 62px; top: 46px; width: 38px; height: 14px; border-radius: 4px; background: var(--muted); border: 3px solid var(--plum); }
.tg-draw-airplay i:nth-child(2) { display: block; left: 90px; top: 51px; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
.tg-draw-roku i:first-child { display: block; left: 70px; top: 38px; width: 26px; height: 22px; border-radius: 6px; background: #b794f4; border: 3px solid var(--plum); }
.tg-draw-fire i:first-child { display: block; left: 86px; top: 14px; width: 12px; height: 34px; border-radius: 4px; background: var(--apricot); border: 3px solid var(--plum); }
.tg-draw-computer i:first-child { display: block; left: 52px; top: 26px; width: 42px; height: 28px; border: 3px solid var(--teal); border-radius: 4px; background: var(--plum); }
.tg-draw-computer i:nth-child(2) { display: block; left: 46px; top: 54px; width: 54px; height: 5px; border-radius: 2px; background: var(--teal); }
.tg-draw-unknown i:first-child { display: block; left: 4px; top: 2px; width: 80px; height: 50px; }
.tg-draw-unknown i:first-child::before { content: '?'; position: absolute; left: 0; right: 0; top: 4px; text-align: center; font-size: 30px; font-weight: 800; font-style: normal; color: var(--apricot); }

/* --- pickers: brands, years, menus --- */

.tg-choice {
  height: 100%; min-height: 64px; padding: 16px 44px 16px 18px; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  border: 2px solid var(--line); border-radius: 18px; background: var(--plum-2);
  color: var(--ink); text-decoration: none;
}
.tg-choice::after { content: '›'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--muted); }
.tg-choice-name { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tg-choice-sub { font: 400 13px/1.3 'DM Mono', monospace; color: var(--muted); }
.tg-choice-dashed { border-style: dashed; background: transparent; }
.tg-years { display: flex; flex-direction: column; gap: 10px; }
.tg-brands .tg-choice { min-height: 104px; border-color: transparent; padding-right: 18px; }
.tg-brands .tg-choice::after { display: none; }
.tg-brands .tg-choice-name { font-size: clamp(26px, 1vw + 22px, 32px); letter-spacing: -.03em; }
.tg-brands li:last-child .tg-choice-name { font-size: 20px; }

/* How to find the year or the version, folded. */
.tg-yearhelp { border-radius: 18px; background: var(--plum-2); overflow: hidden; }
.tg-yearhelp summary, .tg-alt summary, .tg-join-code summary { list-style: none; cursor: pointer; }
.tg-yearhelp summary::-webkit-details-marker, .tg-alt summary::-webkit-details-marker, .tg-join-code summary::-webkit-details-marker { display: none; }
.tg-yearhelp summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 16px 18px;
  color: var(--teal); font-size: 16px; font-weight: 700;
}
.tg-yearhelp summary::after, .tg-alt summary::after { content: '+'; flex: none; font: 500 20px 'DM Mono', monospace; color: var(--muted); }
.tg-yearhelp[open] summary::after, .tg-alt[open] summary::after { content: '−'; }
.tg-yearhelp-body { display: flex; flex-direction: column; gap: 12px; padding: 0 18px 18px; font-size: 15px; line-height: 1.5; color: var(--soft); }

/* « Je ne sais pas »: the looks, then where the brand is. */
.tg-clues { display: flex; flex-direction: column; gap: 10px; }
.tg-clue { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--plum-2); }
.tg-clue p { flex: 1 1 240px; font-size: 16px; line-height: 1.45; }
.tg-clue-go {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px;
  border: 2px solid var(--teal); border-radius: 12px; color: var(--teal); font-size: 15px; font-weight: 700; text-decoration: none;
}
.tg-clue-go:hover { border-color: var(--apricot); color: var(--apricot); }
.tg-where { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; background: var(--cream); color: var(--plum); }
.tg-where h3 { font-size: 18px; font-weight: 800; }
.tg-where p { font-size: 15px; line-height: 1.5; color: var(--dark-muted); }

/* --- a card: the best way on cream, the others folded below --- */

.tg-card { gap: 10px; }
.tg-card-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px; }
.tg-sys { font: 500 14px 'DM Mono', monospace; color: var(--muted); }
.tg-notice { max-width: 640px; margin-bottom: 10px; font-size: 17px; line-height: 1.45; color: var(--soft); }
.tg-kicker { margin-top: 12px; font: 500 12px 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tg-kicker-best, .tg-kicker-cast { margin-top: 0; color: var(--apricot); }
.tg-kicker[hidden] { display: none; }
/* With the phone's Cast button showing, the card's first way is one of the others. */
[data-cast-on] .tg-kicker-best { color: var(--muted); margin-top: 12px; }
.tg-kicker-oncast, [data-cast-on] .tg-kicker-nocast { display: none; }
[data-cast-on] .tg-kicker-oncast { display: inline; }

.tg-best, .tg-cast-method {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(20px, 2vw + 12px, 28px) clamp(18px, 2vw + 10px, 30px);
  border-radius: 24px; background: var(--cream); color: var(--plum);
}
.tg-cast-method[hidden] { display: none; }
.tg-method-head { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.tg-method-name { flex: 1 1 220px; font-size: clamp(22px, 1vw + 18px, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.tg-badge {
  padding: 6px 10px; border-radius: 999px; border: 1.5px solid; white-space: nowrap;
  font-size: 13px; font-weight: 700; line-height: 1.2;
}
.tg-badge-tested { background: var(--teal); border-color: var(--teal); color: var(--plum); }
.tg-badge-manual { background: transparent; border-color: #c7742f; color: #8a3f17; }
.tg-badge-notyet { background: var(--coral); border-color: var(--coral); color: var(--plum); }
.tg-badge-unknown { background: transparent; border-color: var(--faint); color: var(--dark-muted); }
/* Earned by the players' results (src/site/tv-guide.ts puts it in): the tested one's teal, outlined. */
.tg-badge-players { background: transparent; border-color: var(--teal); color: #1d6f69; }
.tg-alt .tg-badge-players { color: var(--teal); }
.tg-alt .tg-badge-manual { border-color: var(--apricot); color: var(--apricot); }
.tg-alt .tg-badge-unknown { border-color: var(--muted); color: var(--muted); }

.tg-note { font-size: 15px; line-height: 1.45; color: var(--dark-muted); }
.tg-notyet { font-size: 17px; line-height: 1.5; color: var(--cream-ink); }
.tg-app {
  padding: 12px 14px; border: 2px dashed #e0a55c; border-radius: 14px; background: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.4;
}
.tg-steps { display: flex; flex-direction: column; gap: 18px; }
.tg-step { display: flex; gap: 14px; align-items: flex-start; }
.tg-num {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--plum); color: var(--cream); font-size: 16px; font-weight: 800;
}
.tg-step-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 5px; }
.tg-step-text { font-size: 17px; line-height: 1.45; text-wrap: pretty; }
.tg-gap { font-size: 13px; line-height: 1.4; color: var(--faint); font-style: italic; }
.tg-warn {
  display: flex; gap: 10px; align-items: baseline; padding-top: 14px; border-top: 2px dashed var(--dash);
  font-size: 15px; line-height: 1.4; color: var(--dark-muted);
}
.tg-warn::before { content: ''; width: 9px; height: 9px; flex: none; border-radius: 50%; background: #e0613c; transform: translateY(-1px); }

/* Menu names as chips, exactly as on the TV; a long path wraps. */
.tg-path { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tg-path-label { width: 100%; font-size: 13px; font-weight: 700; color: var(--dark-muted); }
.tg-chip { padding: 6px 10px; border-radius: 8px; background: var(--plum); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.2; }
.tg-sep { color: var(--faint); font-size: 16px; }

/* The address, big, with its copy button. */
.tg-address {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--plum);
}
.tg-address-url { flex: 1 1 auto; font: 500 clamp(22px, 1.4vw + 16px, 28px)/1.1 'DM Mono', monospace; letter-spacing: -.01em; color: var(--apricot); }
.tg-copy {
  min-height: 44px; padding: 10px 14px; border: 0; border-radius: 11px;
  background: var(--apricot); color: var(--plum); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.tg-copy[hidden] { display: none; }
.tg-copy[data-copied] { background: var(--teal); }

/* The other ways: folded, on plum. */
.tg-alt { border-radius: 20px; background: var(--plum-2); overflow: hidden; }
.tg-alt > summary { min-height: 60px; padding: 16px 18px; }
.tg-alt .tg-method-name { flex: 1 1 200px; font-size: 19px; letter-spacing: -.01em; }
.tg-alt .tg-badge { font-size: 12px; padding: 5px 9px; }
.tg-alt-body { display: flex; flex-direction: column; gap: 16px; padding: 2px 18px 20px; }
.tg-alt .tg-num { width: 30px; height: 30px; border: 2px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; }
.tg-alt .tg-step-text { font-size: 16px; color: var(--soft); }
.tg-alt .tg-chip { border: 1px solid var(--line); font-size: 14px; padding: 5px 9px; }
.tg-alt .tg-path-label { color: var(--muted); }
.tg-alt .tg-address { align-self: flex-start; padding: 9px 10px 9px 14px; border: 1px solid var(--line); }
.tg-alt .tg-address-url { font-size: 19px; }
.tg-alt .tg-note { color: var(--muted); }
.tg-alt .tg-notyet { color: var(--soft); }
.tg-alt .tg-gap { color: var(--muted); }
.tg-alt .tg-warn { padding-top: 0; border: 0; font-size: 14px; color: var(--muted); }
.tg-alt .tg-warn::before { width: 8px; height: 8px; background: var(--coral); }

/* The phone's Cast button and its states (src/site/tv-guide.ts sets data-cast-state). */
.tg-cast-when { display: none; }
.tg-cast[data-cast-state='ready'] [data-cast-when='ready'],
.tg-cast[data-cast-state='connecting'] [data-cast-when='connecting'],
.tg-cast[data-cast-state='connected'] [data-cast-when='connected'],
.tg-cast[data-cast-state='failed'] [data-cast-when='failed'] { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tg-cast-button, .tg-cast-retry {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 15px 22px;
  border: 0; border-radius: 16px; background: var(--plum); color: var(--ink);
  font: inherit; font-size: 18px; font-weight: 800; cursor: pointer;
}
.tg-cast-retry { min-height: 48px; padding: 13px 20px; font-size: 17px; }
/* Google's Cast button (<google-cast-launcher>, put there by the script), in our colours: it fills in once casting. */
.tg-cast-icon { display: inline-flex; width: 28px; height: 28px; flex: none; --disconnected-color: var(--teal); --connected-color: var(--teal); }
.tg-cast-icon google-cast-launcher { display: block; width: 100%; height: 100%; }
.tg-cast-busy { display: flex; align-items: center; gap: 12px; padding: 15px 22px; border-radius: 16px; background: var(--plum); color: var(--ink); font-size: 18px; font-weight: 800; }
.tg-spin { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--teal); animation: tg-spin .8s linear infinite; }
@keyframes tg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tg-spin { animation: none; } }
.tg-cast-done { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 16px; background: var(--teal); color: var(--plum); font-size: 15px; }
.tg-cast-done b { font-size: 18px; font-weight: 800; }
.tg-cast-failed { font-size: 16px; font-weight: 700; color: #b3322f; }

/* --- the end of every path: the QR code on the TV and « J'ai un code » --- */

.tg-join {
  display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center;
  padding: clamp(20px, 2vw + 12px, 28px) clamp(18px, 2vw + 10px, 30px);
  border: 2px solid var(--line); border-radius: 24px;
}
.tg-lobby { position: relative; width: 150px; height: 96px; flex: none; }
.tg-lobby-tv { position: absolute; left: 0; top: 0; width: 128px; height: 76px; padding: 5px; border-radius: 8px; background: var(--night); }
.tg-lobby-screen { display: flex; align-items: center; gap: 8px; width: 100%; height: 100%; padding: 0 8px; border-radius: 3px; background: var(--plum); }
.tg-lobby-qr { display: block; width: 40px; flex: none; padding: 3px; border-radius: 4px; background: var(--cream); }
.tg-lobby-qr svg { display: block; width: 100%; height: auto; }
.tg-lobby-lines { flex: 1; display: flex; flex-wrap: wrap; gap: 4px 3px; }
.tg-lobby-lines i { width: 80%; height: 6px; border-radius: 2px; background: var(--ink); }
.tg-lobby-lines b { width: 10px; height: 10px; border-radius: 2px; background: var(--plum-2); border-top: 2px solid var(--teal); }
.tg-lobby-lines b:nth-child(3) { border-top-color: var(--apricot); }
.tg-lobby-lines b:nth-child(4) { background: transparent; border: 1px dashed var(--line); }
.tg-lobby-stand { position: absolute; left: 52px; top: 76px; width: 24px; height: 5px; border-radius: 0 0 3px 3px; background: var(--night); }
.tg-lobby-phone { position: absolute; right: 0; bottom: 0; width: 36px; height: 66px; padding: 3px; border-radius: 8px; background: var(--night); transform: rotate(8deg); }
.tg-lobby-phone i { display: block; width: 100%; height: 100%; border-radius: 5px; background: var(--teal); }
.tg-join-body { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.tg-join-title { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; text-wrap: pretty; }
.tg-join-code summary {
  display: inline-flex; align-items: center; min-height: 48px; padding: 11px 18px;
  border: 2px solid var(--teal); border-radius: 14px; color: var(--teal); font-size: 16px; font-weight: 700;
}
.tg-join-code[open] summary { display: none; }
.tg-join-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tg-join-input {
  width: 176px; height: 56px; padding: 0 0 0 .35em; border: 2px solid var(--line); border-radius: 14px;
  background: var(--night); color: var(--ink); font: 500 28px 'DM Mono', monospace; letter-spacing: .35em;
  text-align: center; text-transform: uppercase;
}
.tg-join-input:focus { outline: none; border-color: var(--teal); }
.tg-join-go { height: 56px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--apricot); color: var(--plum); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }

/* « Ça ne marche pas? » */
.tg-helpblock {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(20px, 2vw + 12px, 28px) clamp(18px, 2vw + 10px, 30px);
  border-radius: 24px; background: var(--plum-2);
}
.tg-helpblock h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tg-help-lede { max-width: 460px; font-size: 15px; color: var(--muted); }
.tg-help-links { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.tg-help-link {
  display: flex; justify-content: space-between; gap: 12px; min-height: 48px; padding: 13px 16px;
  border-radius: 14px; background: var(--plum); color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none;
}
.tg-help-link::after { content: '›'; color: var(--teal); }
.tg-help-link:hover { color: var(--apricot); }
.tg-help-mail { max-width: 460px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.tg-help-mail a { font-weight: 700; color: var(--teal); }
.tg-help-mascot { display: none; }
@media (min-width: 900px) {
  .tg-help-mascot { display: block; position: absolute; right: 20px; bottom: -14px; width: 120px; height: auto; transform: rotate(8deg); }
}

/* The nav on a narrow phone, as on the game pages. */
@media (max-width: 400px) {
  .guide-page .nav { gap: 10px; }
  .guide-page .brand { gap: 8px; }
  .guide-page .brand-logo { width: 32px; height: 32px; }
  .guide-page .brand-name { font-size: 20px; }
  .guide-page .lang a { padding: 6px 8px; }
  .guide-page .nav-start { padding: 10px 13px; font-size: 15px; }
}
