/* Account, sign-in and league pages. Builds on style.css tokens; nothing here overrides the game screens. */

.page {
  min-height: 100dvh; max-width: 580px; margin: 0 auto; padding: 20px 16px 56px;
  display: flex; flex-direction: column; gap: 18px;
}
.page > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.page > header .logo { font-size: 1.7rem; color: var(--text); text-decoration: none; }
.page > header nav { display: flex; gap: 14px; font-size: 0.95rem; }
.page a { color: var(--skyline); }
.page h1 { margin: 0; font-size: 1.9rem; line-height: 1.15; }

.card { background: var(--panel); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.card h2 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0; line-height: 1.45; }
.card form { display: grid; gap: 12px; }

/* Segmented control with a sliding thumb (the sign-in / create-account tabs, also on the game and phone pages) */
.tabs {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px;
  background: var(--panel-2); border-radius: 999px; box-shadow: inset 0 0 0 2px var(--ink);
}
.dusk .tabs { box-shadow: inset 0 0 0 2px var(--sand); }
.tabs::before {
  content: ''; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--lemon); box-shadow: 0 0 0 2px var(--ink);
  transition: translate var(--t-quick) var(--ease-out);
}
.tabs:has(> button:nth-child(2)[aria-selected='true'])::before { translate: 100% 0; }
.tabs button {
  background: transparent; color: var(--text); padding: 0.55em 0.6em; white-space: nowrap; box-shadow: none; translate: none;
}
.tabs button:hover:not(:disabled) { box-shadow: none; translate: none; }
.tabs button[aria-selected='true'] { color: var(--ink); }

.field { display: grid; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.field input { font-size: 1rem; }
.hint { font-size: 0.8rem; color: var(--muted); }
.code-entry { letter-spacing: 0.35em; text-align: center; font-size: 1.7rem; font-weight: 800; }
.linkish {
  background: none; color: var(--skyline); padding: 0; border-radius: 0; font-weight: 600; box-shadow: none; translate: none;
  justify-self: start; text-decoration: underline; text-underline-offset: 3px;
}
.linkish:hover:not(:disabled), .linkish:active:not(:disabled) { box-shadow: none; translate: none; }
.linkish:disabled { color: var(--muted); text-decoration: none; }
.notice { background: var(--panel-2); border-radius: 12px; padding: 12px 14px; line-height: 1.45; }
.ok { color: var(--good); }
.error:empty { display: none; }

.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > input { flex: 1 1 180px; min-width: 0; }
.row > button { flex: 0 0 auto; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--panel-2); border-radius: 12px; padding: 10px 14px;
}
.list a { color: var(--text); font-weight: 700; text-decoration: none; }
.list .muted { font-size: 0.85rem; }
.list button { padding: 0.4em 1em; font-size: 0.85rem; }

table.standings { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.standings th { text-align: left; font-size: 0.75rem; color: var(--muted); font-weight: 600; padding: 0 4px 6px; }
table.standings td { padding: 8px 4px; border-top: 1px solid var(--panel-2); }
table.standings .num { text-align: right; }
table.standings tr.me td { font-weight: 700; }
.prov { color: var(--muted); margin-left: 1px; }

.pg .games { display: grid; gap: 10px; }
.pg .game { background: var(--panel-2); border-radius: 12px; padding: 10px 14px; display: grid; gap: 4px; }
.pg .game .when { font-size: 0.8rem; color: var(--muted); }
.pg .game .line { display: flex; justify-content: space-between; gap: 10px; font-size: 0.95rem; }

.share { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; word-break: break-all; }
details.danger-zone summary { cursor: pointer; color: var(--bad); font-weight: 700; }
details.danger-zone[open] { display: grid; gap: 12px; }
button.danger { background: var(--stop); color: #fff; }
.big-msg-page { text-align: center; padding: 40px 0; display: grid; gap: 16px; justify-items: center; }

a.btn {
  display: inline-block; text-decoration: none; border-radius: 999px; padding: 0.8em 1.6em;
  background: var(--accent); color: var(--ink); font-weight: 800; justify-self: start;
}
a.btn.ghost { background: var(--cream); color: var(--ink); }

/* Impressum and privacy pages */
.legal section { display: grid; gap: 8px; }
.legal h2 { margin: 6px 0 0; font-size: 1.15rem; }
.legal p, .legal ul { margin: 0; line-height: 1.5; }
.legal ul { padding-left: 1.2em; display: grid; gap: 4px; }
.legal code { font-size: 0.9em; overflow-wrap: anywhere; }

/* ==========================================================================
   Toybox pages (docs/visual-design.md §7.2): body.pg = league, account, auth, stats, impressum, privacy.
   Everything below is scoped to .pg, so the shared auth-panel classes above keep working on the game and
   phone pages. Text colours were checked against WCAG AA on the surface they sit on (cream, white, clay,
   sky): ink everywhere, --ink-2 only on cream/white/clay, links in --skyline on cream/white.
   ========================================================================== */
body.pg { --wrap: 1040px; min-height: 100dvh; display: flex; flex-direction: column; }
.pg .wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.pg main.wrap { flex: 1 0 auto; display: grid; gap: var(--sp-5); align-content: start; padding-block: var(--sp-5) var(--sp-7); }
.pg main.wrap > section { display: grid; gap: var(--sp-5); align-content: start; }
.pg main.wrap > section.hidden { display: none; }
.pg h1 { margin: 0; font-size: var(--fs-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.pg h2 { margin: 0; font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.pg .card h1 { font-size: 1.9rem; }
.pg .card h2 { font-size: 1.25rem; }
.pg p { margin: 0; }
.pg .small { font-size: var(--fs-small); }

/* top bar: wordmark and two chunky nav pills */
.pg .topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px; }
.pg .topbar .logo { font-size: 1.7rem; color: var(--ink); text-decoration: none; }
.pg .topbar nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pg .topbar nav a, .pg a.pill {
  padding: .45em 1.05em; border-radius: var(--r-pill); background: var(--cream); color: var(--ink); font-weight: 700; font-size: .95rem;
  text-decoration: none; box-shadow: var(--outline), var(--toy-1);
  transition: translate var(--t-instant) var(--ease-out), box-shadow var(--t-instant) var(--ease-out);
}
.pg .topbar nav a:hover, .pg a.pill:hover { translate: 0 -2px; box-shadow: var(--outline), var(--toy-2); }
.pg .topbar nav a:active, .pg a.pill:active { translate: 0 2px; box-shadow: var(--outline); }

/* links in running text: skyline on cream/white (6.3:1 / 6.8:1), always underlined */
.pg main a:not([class]), .pg .legal-links a, .pg .card a:not([class]) { color: var(--skyline); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.pg .legal-links a { color: var(--ink-2); }
.pg a.btn { display: inline-flex; color: var(--ink); text-decoration: none; padding: .8em 1.6em; }
.pg a.btn.big { padding: .45em 1.4em .45em 1.1em; }

/* cards */
.pg .card { padding: var(--sp-5); display: grid; gap: var(--sp-3); align-content: start; border-radius: var(--r-lg); }
.pg .card form { display: grid; gap: var(--sp-3); }
.pg .card form.row { display: flex; }
.pg .card p { line-height: 1.45; }
.pg .spread { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.pg .row { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }
.pg .row > input { flex: 1 1 200px; min-width: 0; }
.pg .field { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); }
.pg .hint { color: var(--ink-2); font-size: var(--fs-small); font-weight: 400; }
.pg .notice { background: var(--clay); border-radius: var(--r-md); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.pg .notice.ok { color: var(--go); }
.pg .muted { color: var(--ink-2); }
.pg .stack { --gap: var(--sp-3); }

/* ---- hero block (league): sky, wordmark bar on top, the wavy edge to the cream page below ---- */
.pg .block { padding-inline: 0; }
.pg .hero { padding-block: 0 var(--sp-6); }
.pg .hero::before { display: none; }
.pg .hero .logo span { color: var(--ink); }
.pg .block[data-c='cream'] { --block: var(--cream); background: transparent; color: var(--ink); padding-block: var(--sp-5) 0; flex: 1 0 auto; display: flex; flex-direction: column; }
.pg .block[data-c='cream'] > main { width: min(100% - 32px, var(--wrap)); }
.pg .hero-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--sp-6); align-items: center; padding-bottom: var(--sp-4); }
.pg .hero-text { display: grid; gap: var(--sp-3); justify-items: start; }
.pg .hero-text .eyebrow { color: var(--ink); }
.pg .hero-text h1 { font-size: var(--fs-display); overflow-wrap: anywhere; }
.pg .tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.pg .hero-text .btn { margin-top: var(--sp-2); }

/* the live views: a podium on the league header, the passport figure on the account page */
.pg .scene-view { position: relative; border-radius: var(--r-xl); box-shadow: var(--outline), var(--toy-3); background: var(--sky); }
.pg .podium-view { aspect-ratio: 4 / 3; width: 100%; }
/* 2D podium (the 'off' tier, and under the live canvas until it is ready) */
.pg .pod-fb { place-items: end center; padding-bottom: 7%; }
.pg .pod { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 66%; width: 78%; }
.pg .pod-col { flex: 0 1 28%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; height: var(--h); }
.pg .pod-col .puck { --size: clamp(40px, 7.5vw, 64px); flex: none; }
.pg .pod-col i {
  flex: 1; width: 100%; display: grid; place-items: start center; padding-top: 6px; border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: var(--b); color: var(--ink); font: 800 clamp(1.4rem, 3vw, 2.2rem)/1 var(--font); font-style: normal; box-shadow: 0 0 0 2.5px var(--ink);
}
.pg .pod-col[data-place='1'] { --h: 100%; --b: var(--lemon); }
.pg .pod-col[data-place='2'] { --h: 76%; --b: var(--clay); }
.pg .pod-col[data-place='3'] { --h: 60%; --b: var(--tangerine); }
.pg .pod-col.empty .puck { visibility: hidden; }

/* ---- standings: a real <table> of white chunky strips ---- */
.pg .table-wrap { overflow-x: auto; padding: 0 3px 4px; margin-inline: -3px; }
.pg table.standings { width: 100%; border-collapse: separate; border-spacing: 0 10px; font-variant-numeric: tabular-nums; }
.pg table.standings th { padding: 0 12px; font-size: var(--fs-small); font-weight: 700; color: var(--ink-2); text-align: left; white-space: nowrap; }
.pg table.standings th.num, .pg table.standings td.num { text-align: right; }
.pg table.standings td {
  background: #fff; padding: 10px 12px; border: solid var(--ink); border-width: 2.5px 0; box-shadow: 0 3px 0 var(--edge-ink);
  vertical-align: middle; color: var(--ink);
}
.pg table.standings td:first-child { border-left-width: 2.5px; border-radius: var(--r-md) 0 0 var(--r-md); }
.pg table.standings td:last-child { border-right-width: 2.5px; border-radius: 0 var(--r-md) var(--r-md) 0; }
.pg table.standings tr.me td:first-child { box-shadow: inset 10px 0 0 var(--lemon), 0 3px 0 var(--edge-ink); }
.pg table.standings tr.me td { background: #fffaea; }
.pg td.rk { width: 1%; padding-left: 16px; }
.pg tr.me td.rk { padding-left: 22px; }
.pg .rank {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; color: var(--ink);
}
.pg .rank.r1, .pg .rank.r2, .pg .rank.r3 { box-shadow: 0 0 0 2px var(--ink); }
.pg .rank.r1 { background: var(--lemon); }
.pg .rank.r2 { background: var(--clay); }
.pg .rank.r3 { background: var(--tangerine); }
.pg .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pg .who .puck { --size: 44px; }
.pg .who-name { font-weight: 800; overflow-wrap: anywhere; }
.pg .who-name .sticker-tag { margin-left: 6px; vertical-align: 2px; font-size: .68rem; }
.pg .who-meta { display: none; font-size: var(--fs-small); color: var(--ink-2); font-weight: 400; }
.pg td.rating { min-width: 118px; }
.pg .rating-n { font-size: 1.15rem; font-weight: 800; }
.pg .prov { color: var(--ink-2); margin-left: 2px; font-weight: 700; }
.pg .bar { display: block; height: 9px; margin-top: 6px; border-radius: var(--r-pill); background: var(--clay); box-shadow: inset 0 0 0 1.5px var(--ink); overflow: hidden; }
.pg .bar > i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: var(--c, var(--lemon)); box-shadow: 1.5px 0 0 var(--ink); }
.pg .count-wait { opacity: 0; }
.plus { color: var(--go); font-weight: 700; }
.minus { color: var(--stop); font-weight: 700; }

/* ---- recent games: a poster thumbnail, the date and the table ---- */
.pg .games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: var(--sp-5); }
.pg .game {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--sp-4); align-items: start; padding: var(--sp-4);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--outline), var(--toy-2);
}
.pg .thumb {
  --t: var(--sky); position: relative; width: 92px; height: 92px; border-radius: var(--r-md); background: var(--t);
  box-shadow: inset 0 0 0 2.5px var(--ink); overflow: hidden; display: grid; place-items: center; font-size: 2.2rem;
}
.pg .thumb[data-region='europe'] { --t: var(--lemon); } .pg .thumb[data-region='americas'] { --t: var(--tangerine); } .pg .thumb[data-region='asia'] { --t: var(--leaf); }
.pg .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.pg .thumb .puck { --size: 34px; position: absolute; right: 4px; bottom: 4px; z-index: 1; }
.pg .game-body { display: grid; gap: 6px; min-width: 0; }
.pg .game .when { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); }
.pg .game .line { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; color: var(--ink); }
.pg .game .line > span:first-child { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.pg .game .line > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- invite link, owner tools ---- */
.share { background: var(--clay); border-radius: var(--r-sm); padding: .7em 1em; box-shadow: inset 0 0 0 2px var(--ink); flex: 1 1 220px; min-width: 0; color: var(--ink); }
.pg .list li { background: var(--clay); border-radius: var(--r-md); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.pg .list .muted { color: var(--ink-2); }
.pg .list a { color: var(--ink); }
/* open parties: a compact Join button per row */
.pg #party-list .btn { flex: none; padding: .5em 1.3em; font-size: .9rem; }
.pg #party-list .nowrap { white-space: nowrap; }
.pg #party-list .sticker-tag { font-size: .75rem; margin-left: 4px; vertical-align: 1px; }
.pg details.danger-zone summary { color: var(--stop); }
.pg input:focus, .pg select:focus { box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--lemon); }

/* ---- account: passport card, stats, switch, league tiles ---- */
.pg .passport { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; padding: 0; overflow: hidden; align-items: stretch; background: #fff; }
.pg .passport-view { aspect-ratio: 5 / 4; border-radius: 0; box-shadow: inset -2.5px 0 0 var(--ink); width: 100%; height: 100%; min-height: 280px; }
.pg .passport-body { padding: var(--sp-5) var(--sp-6); display: grid; gap: var(--sp-3); align-content: center; justify-items: start; min-width: 0; }
.pg .passport-body h1 { font-size: var(--fs-display); overflow-wrap: anywhere; }
.pg .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; margin: var(--sp-2) 0 0; padding: 0; }
.pg .stat { background: var(--clay); border-radius: var(--r-md); padding: 10px 12px; box-shadow: inset 0 0 0 2px var(--ink); display: grid; gap: 2px; min-width: 0; }
.pg .stat dd { margin: 0; order: -1; font-size: 1.6rem; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.pg .stat dt { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); }
.pg .passport-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; width: 100%; }

.switch { display: inline-flex; align-items: center; gap: 12px; padding: 4px 0; background: none; box-shadow: none; translate: none; border-radius: var(--r-pill); color: var(--ink); font-weight: 700; }
.switch:hover:not(:disabled), .switch:active:not(:disabled) { translate: none; box-shadow: none; }
.switch-track { position: relative; width: 58px; height: 32px; flex: none; border-radius: var(--r-pill); background: var(--clay); box-shadow: inset 0 0 0 2.5px var(--ink); transition: background-color var(--t-quick) var(--ease-out); }
.switch-thumb { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 2.5px var(--ink), 0 2px 0 2.5px var(--edge-ink); transition: translate var(--t-quick) var(--ease-spring); }
.switch[aria-checked='true'] .switch-track { background: var(--leaf); }
.switch[aria-checked='true'] .switch-thumb { translate: 26px 0; }
.switch-state { min-width: 2.2em; }
.pg .section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--sp-3); flex-wrap: wrap; }

.league-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--sp-6) var(--sp-5); padding-top: 10px; }
.league-grid > ul { display: contents; list-style: none; margin: 0; padding: 0; }
.league-grid > ul > li { display: grid; }
.pg a.league-tile { text-decoration: none; color: var(--ink); gap: var(--sp-3); }
.league-tile .leader { display: flex; align-items: center; gap: 10px; min-width: 0; }
.league-tile .leader .puck { --size: 40px; }
.league-tile .lead-text { display: grid; line-height: 1.2; min-width: 0; }
.league-tile .lead-text small { font-size: var(--fs-small); color: var(--ink-2); }
.league-tile .lead-text b { font-weight: 800; overflow-wrap: anywhere; }
.league-tile .tile-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.league-tile .tile-text { color: var(--ink-2); }
.new-league { border: 0; font: inherit; background: var(--clay); gap: var(--sp-3); }
.new-league::before { background: var(--lemon); }
.new-league .plus-mark { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.new-league .error { margin: 0; }
.pg .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--sp-5); align-items: start; }
.pg .settings-grid .wide { grid-column: 1 / -1; }

/* ---- auth and sign-in: one white chunky card, centred ---- */
.pg.narrow { --wrap: 520px; }
.pg .auth-panel { padding: var(--sp-5); }
.pg .center-card { margin-top: var(--sp-4); }

/* ---- stats: chunky rows, a segmented range switch ---- */
.pg #range { flex-wrap: nowrap; }
.pg #range.seg > button { white-space: nowrap; }
.pg .stats-head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.pg .headline { font-size: 1.15rem; font-weight: 700; }

/* ---- legal pages ---- */
.pg.legal-pg { --wrap: 760px; }
.pg .legal { display: grid; gap: var(--sp-5); }
.pg .legal section { display: grid; gap: var(--sp-2); background: #fff; border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5); box-shadow: var(--outline), var(--toy-1); }
.pg .legal h2 { font-size: 1.15rem; margin: 0; }
.pg .legal code { background: var(--clay); border-radius: 6px; padding: 0 .3em; }

@media (max-width: 760px) {
  .pg .hero-body { grid-template-columns: 1fr; gap: var(--sp-5); }
  .pg .podium-view { aspect-ratio: 16 / 11; }
  .pg .passport { grid-template-columns: 1fr; }
  .pg .passport-view { aspect-ratio: 16 / 11; min-height: 0; box-shadow: inset 0 -2.5px 0 var(--ink); }
  .pg .passport-body { padding: var(--sp-5); }
  .pg .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pg .game { grid-template-columns: 72px minmax(0, 1fr); gap: var(--sp-3); }
  .pg .thumb { width: 72px; height: 72px; font-size: 1.8rem; }
  .pg .thumb .puck { --size: 28px; }
  .pg table.standings .hide-sm { display: none; }
  .pg .who-meta { display: block; }
  .pg td.rating { min-width: 92px; }
  .pg table.standings th, .pg table.standings td { padding-inline: 8px; }
  .pg td.rk { padding-left: 10px; }
  .pg tr.me td.rk { padding-left: 18px; }
  .pg .topbar .logo { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .switch-track, .switch-thumb, .tabs::before, .pg .topbar nav a, .pg a.pill { transition: none !important; }
  .pg .topbar nav a, .pg a.pill { translate: none !important; }
}
.force-reduced-motion :is(.switch-track, .switch-thumb, .tabs::before) { transition: none !important; }

/* ---- account: your figure (look-editor.js) ---- */
.pg .figure-card { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.pg .figure-face {
  width: 88px; height: 88px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--c, var(--lemon)); box-shadow: 0 0 0 2.5px var(--ink), inset 0 -6px 0 rgba(0, 0, 0, .18);
  font-weight: 800; font-size: 1.8rem;
}
.pg .figure-face img { width: 100%; height: 100%; object-fit: cover; }
.pg .figure-text { flex: 1 1 240px; display: grid; gap: var(--sp-2); min-width: 0; }
.pg .figure-text h2 { margin: 0; }
.pg .figure-text p { margin: 0; }
.pg .prints-card { display: grid; gap: var(--sp-3); }
.pg .prints-card > p { margin: 0; }

/* ---- account: the language card (the shared EN | DE switch, a little larger here) ---- */
.pg .lang-card .lang-switch { justify-self: start; font-size: 1.1rem; }
/* German tab labels ("Konto erstellen") are longer: less side padding so they stay inside the thumb at 390 px. */
.tabs button:lang(de) { padding-inline: 0.25em; }
