/* Loaded after style.css. Shared tokens also theme the forms and account pages. */
:root {
  --paper: #fff8e9;
  --surface: #fffdf5;
  --ink: #17343d;
  --quiet: #445755;
  --line: #ded5bd;
  --subtle: #efe7d5;
  --selected: #dbefe5;
  --accent: #a63729;
  --accent-text: #fffaf2;
  --focus: #8d3826;
  --sky: #cdebe0;
  --sea: #a8d9ce;
  --sand: #edbf67;
  --horizon: #408779;
  --dock-wheel-bg: #f9efd2;
  --dock-ripple: #e1f3eacc;
}

:root[data-skin="night"] {
  --paper: #0e2131;
  --surface: #172e42;
  --ink: #f5f0dc;
  --quiet: #bad0d4;
  --line: #38505d;
  --subtle: #233f50;
  --selected: #2c5060;
  --accent: #f0c76f;
  --accent-text: #172b38;
  --focus: #ffd98f;
  --sky: #20405a;
  --sea: #245766;
  --sand: #f5d593;
  --horizon: #6ba9af;
  --dock-wheel-bg: #193748;
  --dock-ripple: #70adba6b;
}

.field::placeholder { color: var(--quiet); opacity: 1; }
.brand span { background: var(--selected); color: var(--ink); }
.nav { gap: 5px; }
.dock-hero {
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 124px;
  margin-bottom: 17px;
  padding: 19px 24px;
  border-radius: 20px;
  background: var(--sky);
}
.dock-hero .pagehead { max-width: 100%; margin: 0; min-width: 0; z-index: 1; }
.dock-hero .pagehead h1 { font-size: clamp(26px, 3.3vw, 42px); line-height: 1.1; }
.dock-scene {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(54%, 530px);
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.dock-scene > div { position: absolute; }
.dock-scene-sun { top: 17%; right: 23%; width: 55px; aspect-ratio: 1; border-radius: 50%; background: var(--sand); }
.dock-scene-flags {
  top: 10%;
  right: 3%;
  width: 76%;
  display: flex;
  justify-content: space-around;
  gap: 7%;
  border-top: 1px solid #557679;
  transform: rotate(7deg);
}
.dock-scene-flags i {
  width: min(11%, 29px);
  height: 17px;
  background: #be5647;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.dock-scene-flags i:nth-child(3n + 2) { background: #3a8173; }
.dock-scene-flags i:nth-child(3n) { background: #d99843; }
.dock-scene-wave {
  width: 160%;
  height: 65%;
  bottom: -34%;
  right: -19%;
  border-radius: 50% 30% 0 0;
  transform: rotate(-6deg);
  background: var(--sea);
}
.dock-scene-wake {
  width: 45%;
  height: 21px;
  bottom: 9%;
  right: 8%;
  border-radius: 50%;
  border-bottom: 2px solid var(--dock-ripple);
  box-shadow: 1px 5px var(--dock-ripple);
}
.dock-scene-boat { bottom: 10%; right: 17%; font-size: clamp(38px, 5vw, 62px); line-height: 1; }
.dock-scene-moon, .dock-scene-stars, .dock-scene-beacon, .dock-scene-buoy { display: none; }
[data-skin="night"] :is(.dock-scene-sun, .dock-scene-flags, .dock-scene-boat) { display: none; }
[data-skin="night"] :is(.dock-scene-moon, .dock-scene-stars, .dock-scene-beacon, .dock-scene-buoy) { display: block; }
.dock-scene-moon {
  top: 18%;
  right: 43%;
  width: 37px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 20px #f5d59369;
}
.dock-scene-stars { top: 7%; right: 9%; color: #f7e3ac; letter-spacing: .28em; }
.dock-scene-beacon { right: 20%; bottom: 11%; width: 31px; height: 73px; }
.dock-scene-beacon::before {
  content: "";
  position: absolute;
  inset: 18px 0 0;
  background: repeating-linear-gradient(-6deg, #f6deb5 0 14px, #ad5146 14px 25px);
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
}
.dock-scene-beacon i {
  position: absolute;
  width: 26px;
  height: 19px;
  left: 3px;
  background: #f5d593;
  border: 3px solid #79493b;
  border-radius: 8px 8px 0 0;
}
.dock-scene-beacon b {
  position: absolute;
  top: -5px;
  left: -128px;
  width: 136px;
  height: 33px;
  background: linear-gradient(270deg, #ffe29a92, transparent);
  clip-path: polygon(0 0, 100% 43%, 100% 63%, 0 100%);
}
.dock-scene-buoy {
  right: 9%;
  bottom: 9%;
  width: 12px;
  height: 17px;
  border-radius: 60% 60% 35% 35%;
  background: linear-gradient(#f3cd80 30%, #bc5a50 31%);
}

.dock-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
  gap: 13px;
  margin-bottom: 23px;
}
.dock-feature-grid > :only-child { grid-column: 1 / -1; }
.dock-feature-ticket, .dock-feature-wheel, .dock-feature-empty {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.dock-feature-ticket { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.dock-feature-art {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 182px;
  object-fit: cover;
  background: var(--selected);
}
.dock-feature-art:not(img) {
  display: grid;
  place-items: center;
  text-align: center;
  background: repeating-linear-gradient(-16deg, var(--selected) 0 18px, var(--sky) 18px 36px);
  color: var(--ink);
}
.dock-feature-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 7px;
  padding: clamp(14px, 2.2vw, 24px);
  border-inline-start: 1px dashed var(--line);
}
.dock-feature-grid :is(h2, h3, p) { margin: 0; }
.dock-feature-copy :is(h2, h3) { font-size: clamp(18px, 2.2vw, 25px); line-height: 1.25; }
.dock-feature-copy .row { padding: 0; border: 0; flex-wrap: wrap; justify-content: flex-start; }
.dock-feature-game, .dock-crew-friends, .dock-feature-wheel p { color: var(--quiet); }
.dock-crew-friends { font-size: 13px; overflow-wrap: anywhere; }
.dock-feature-wheel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 11px;
  background: var(--dock-wheel-bg);
  padding: clamp(14px, 2vw, 22px);
}
.dock-feature-wheel :is(h2, h3) { font-size: 19px; line-height: 1.3; }
.dock-feature-wheel .row { padding: 0; border: 0; flex-wrap: wrap; }
.dock-feature-wheel .btn, .dock-feature-copy .btn { justify-self: start; }
.dock-wheel-icon, .dock-feature-wheel > .emoji, .dock-feature-wheel > [aria-hidden="true"] {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(#d8785c 25%, #e8b55f 25% 50%, #75b7a9 50% 75%, #8f9fbe 75%);
  font-size: 22px;
}
.dock-feature-empty { min-height: 140px; padding: 20px; display: grid; align-content: center; justify-items: start; gap: 8px; }

.dock-skin-menu { position: relative; }
.dock-skin-menu summary {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  min-height: 40px;
  padding: 6px 10px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
}
.dock-skin-menu summary::-webkit-details-marker { display: none; }
.dock-skin-menu summary::after { content: "▾"; font-size: .8em; }
.dock-skin-menu[open] summary { border-color: var(--accent); }
.dock-skin-menu > :not(summary) {
  position: absolute;
  z-index: 8;
  inset: calc(100% + 7px) 0 auto auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(242px, calc(100vw - 36px));
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 9px 24px #091d2641;
}
.dock-skin-menu:not([open]) > :not(summary) { display: none; }
.dock-skin-menu button {
  min-width: 0;
  max-width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 6px;
  display: grid;
  gap: 5px;
  text-align: center;
  justify-items: center;
}
.dock-skin-menu button::before {
  content: "";
  width: 100%;
  height: 24px;
  border-radius: 5px;
  background: radial-gradient(circle at 72% 33%, #edbf67 0 5px, transparent 6px),
    linear-gradient(165deg, #cdebe0 0 63%, #6db3a3 64%);
}
.dock-skin-menu button:nth-of-type(2)::before,
.dock-skin-menu button[data-skin="night"]::before,
.dock-skin-menu button[data-skin-choice="night"]::before {
  background: radial-gradient(circle at 72% 33%, #f5d593 0 4px, transparent 5px),
    linear-gradient(165deg, #20405a 0 63%, #437982 64%);
}
.dock-skin-menu button[aria-pressed="true"] { border-color: var(--accent); background: var(--selected); font-weight: 750; }
.dock-skin-menu button:hover { border-color: var(--accent); }
.dock-skin-menu .emoji { margin: 0; }

@media (max-width: 950px) {
  .dock-feature-ticket { grid-template-columns: minmax(0, 1fr); }
  .dock-feature-art { height: auto; min-height: 0; aspect-ratio: 460 / 215; }
  .dock-feature-copy { border-inline-start: 0; border-top: 1px dashed var(--line); }
}
@media (max-width: 760px) {
  .shell { padding-top: 17px; padding-bottom: max(92px, calc(80px + env(safe-area-inset-bottom))); }
  .dock-hero { min-height: 101px; padding: 13px; margin-bottom: 13px; }
  .dock-hero .pagehead h1 { font-size: clamp(23px, 6.1vw, 28px); }
  .dock-scene { width: 43%; }
  .dock-scene-sun { width: 37px; right: 21%; }
  .dock-scene-moon { width: 23px; right: 52%; }
  .dock-scene-beacon { width: 26px; height: 55px; right: 17%; }
  .dock-scene-beacon i { width: 21px; }
  .dock-scene-beacon b { left: -70px; width: 77px; }
  .dock-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 17px; }
  .dock-feature-wheel { flex-flow: row wrap; justify-content: space-between; align-items: center; }
  .dock-feature-wheel > :is(h2, h3, p) { flex: 1 1 95px; }
  .footnav a { min-width: 0; padding-inline: 9px; }
  .session .session-name { max-width: 72px; }
}
@media (max-width: 380px) {
  .topin { gap: 6px; }
  .brand { font-size: 17px; }
  .brand span { width: 28px; height: 28px; margin-right: 3px; }
  .session .session-name { display: none; }
  .dock-skin-menu summary { min-height: 36px; padding-inline: 8px; font-size: 13px; }
  .dock-hero .pagehead { max-width: 72%; }
}
@media (pointer: coarse) {
  .dock-skin-menu :is(summary, button), .dock-feature-grid .btn { min-height: 44px; }
}

.dock-feature-ticket.dock-feature-empty { display: block; padding: 0; }
.dock-feature-empty .dock-feature-copy { min-height: 140px; border: 0; }
.dock-feature-noart .emoji { font-size: 30px; align-self: end; }
.dock-wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  padding-top: 14px;
  margin-block: 8px;
  isolation: isolate;
}
.dock-wheel-stage .wheel { margin-block: 0; }
.dock-wheel-pointer {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 28px;
  height: 23px;
  transform: translateX(-50%);
  background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}
.dock-wheel-pointer::after {
  content: "";
  position: absolute;
  inset: 2px 4px 4px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
@media (max-width: 760px) {
  .dock-skin-menu > .dock-skin-options { position: fixed; inset: 59px 16px auto auto; }
}

/* Undersea palette for both skins. Game artwork stays independent of the theme. */
:root {
  --paper: #edf9fc;
  --surface: #fffef8;
  --ink: #132f45;
  --quiet: #3b586b;
  --line: #bddde3;
  --subtle: #e4f1ef;
  --selected: #d5f0eb;
  --accent: #086478;
  --accent-text: #fff;
  --focus: #914800;
  --gold: #ffec9c;
  --gold-text: #593c12;
  --lift: #124e6817;
  --sky: #c3f0f4;
  --sea: #96dbeb;
  --sand: #ffde87;
  --horizon: #68c5be;
  --dock-wheel-bg: #fff2c5;
  --dock-ripple: #ffffffa8;
  --undersea-hero: #c2edf5;
  --undersea-hero-deep: #a6e2eb;
  --undersea-water: #5eb7d24d;
  --undersea-bubble: #ffffffb3;
  --undersea-kelp: #16898035;
  --undersea-character: url("/assets/spongebob-dock.png?v=20261115-undersea1");
}
:root[data-skin="night"] {
  --paper: #0c2136;
  --surface: #142d45;
  --ink: #f5faff;
  --quiet: #c1dce6;
  --line: #3a6277;
  --subtle: #163951;
  --selected: #255365;
  --accent: #ffe07d;
  --accent-text: #252d38;
  --focus: #ffe99e;
  --gold: #544522;
  --gold-text: #fff0b8;
  --lift: #02081245;
  --sky: #153b58;
  --sea: #154662;
  --sand: #294651;
  --horizon: #2b7e82;
  --dock-wheel-bg: #183b50;
  --dock-ripple: #a2e4ef78;
  --undersea-hero: #153e5d;
  --undersea-hero-deep: #14516a;
  --undersea-water: #57c8e930;
  --undersea-bubble: #93d8ef59;
  --undersea-kelp: #39a69c48;
}
body {
  background:
    radial-gradient(ellipse at 100% 90px, var(--undersea-water), transparent 490px),
    radial-gradient(ellipse at 0% 480px, var(--undersea-water), transparent 420px),
    var(--paper);
}
.top { background: var(--surface); border-bottom-color: var(--line); }
.brand { font-weight: 800; letter-spacing: -.03em; }
.brand span { background: var(--subtle); }
.nav a, .footnav a { border-radius: 999px; }
.nav a[aria-current], .footnav a[aria-current] { background: var(--accent); color: var(--accent-text); }
.btn, .chip, .dock-skin-menu summary { border-radius: 999px; box-shadow: 0 3px 8px var(--lift); }
.btn.dark, .chip[aria-pressed="true"] { box-shadow: 0 4px 10px var(--lift); }
.field { border-radius: 16px; padding: 13px 16px; }
.search { border-radius: 999px; box-shadow: 0 4px 14px var(--lift); }
.tools { align-items: center; }
.card, .panel, .dock-feature-ticket, .dock-feature-wheel, .dock-feature-empty {
  border-radius: 22px;
  box-shadow: 0 6px 20px var(--lift);
}
.card:hover { border-color: var(--line); box-shadow: 0 10px 26px var(--lift); transform: translateY(-2px); }
.card { transition: transform .18s ease, box-shadow .18s ease; }
.cover { background: var(--subtle); }
.cover .tag { background: #fffffff0; color: #292a2f; box-shadow: 0 2px 8px #0002; }
.cover .tag:not(.gray)::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #33bd69; margin-right: 7px; vertical-align: 1px; }
.card-body { padding: 20px 22px 22px; }
.card h2 { font-size: 19px; }
.card .row { color: var(--quiet); margin-top: 16px; }
.card .row strong { color: var(--ink); }
.tag { border-radius: 999px; }
.dock-hero {
  min-height: clamp(150px, 17vw, 205px);
  padding: 21px clamp(18px, 4vw, 48px);
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 25px;
  overflow: hidden;
  background: linear-gradient(121deg, var(--undersea-hero), var(--undersea-hero-deep));
}
.dock-hero .pagehead h1 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.035em; }
.dock-hero .pagehead { max-width: 57%; }
.dock-hero .dock-scene, .dock-welcome .dock-scene { display: none; }
.dock-hero::before, .dock-welcome::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(circle at 63% 24%, transparent 0 8px, var(--undersea-bubble) 9px 10px, transparent 11px),
    radial-gradient(circle at 94% 17%, transparent 0 6px, var(--undersea-bubble) 7px 8px, transparent 9px),
    radial-gradient(circle at 91% 41%, transparent 0 10px, var(--undersea-bubble) 11px 12px, transparent 13px),
    radial-gradient(circle at 62% 57%, transparent 0 4px, var(--undersea-bubble) 5px 6px, transparent 7px),
    radial-gradient(ellipse at 87% 120%, var(--undersea-kelp) 0 34%, transparent 35%),
    radial-gradient(ellipse 86% 56% at 46% 138%, var(--sand) 0 98%, transparent 99%);
}
.dock-hero::after, .dock-welcome::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 5px 4% 2px auto;
  width: min(40%, 280px);
  background: var(--undersea-character) center / contain no-repeat;
}
.dock-welcome::after { inset: 10% 10%; width: auto; }
.dock-welcome {
  background: linear-gradient(120deg, var(--undersea-hero), var(--undersea-hero-deep));
}
.dock-feature-grid { margin-bottom: 30px; }
.dock-feature-ticket { border: 0; }
.dock-feature-copy { border-color: var(--line); }
.dock-feature-art:not(img) { background: linear-gradient(135deg, var(--subtle), var(--sky)); }
.dock-feature-wheel {
  border: 1px solid var(--line);
  position: relative;
  padding-inline-end: clamp(89px, 9vw, 120px);
}
.dock-feature-empty { position: relative; }
.dock-feature-empty .dock-feature-copy { padding-inline-end: clamp(70px, 10vw, 132px); }
.dock-feature-wheel::after, .dock-feature-empty::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: clamp(57px, 8vw, 105px);
  height: clamp(68px, 9vw, 119px);
  background: var(--undersea-character) center bottom / contain no-repeat;
  pointer-events: none;
}
.dock-skin-menu button::before { background: radial-gradient(circle at 72% 34%, #ffdc72 0 5px, transparent 6px), linear-gradient(155deg, #b9f1f5 0 62%, #63cccf 63%); }
.dock-skin-menu button:nth-of-type(2)::before, .dock-skin-menu button[data-skin="night"]::before, .dock-skin-menu button[data-skin-choice="night"]::before { background: radial-gradient(circle at 72% 34%, #ffe08b 0 4px, transparent 5px), linear-gradient(155deg, #183d60 0 62%, #256075 63%); }
@media (min-width: 761px) {
  #cards.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #cards .cover { height: clamp(155px, 17vw, 225px); }
}
@media (max-width: 760px) {
  .dock-hero { min-height: 126px; padding: 12px 15px; }
  .dock-hero .pagehead { max-width: 66%; }
  .dock-hero .pagehead h1 { font-size: clamp(24px, 7vw, 28px); }
  .dock-hero::after { inset: 3px 2px 0 auto; width: 37%; }
  .dock-welcome::after { inset: 2% 10%; }
  .dock-feature-wheel { padding-inline-end: 74px; justify-content: flex-start; }
  .dock-feature-wheel::after { right: 5px; width: 63px; height: 71px; }
  .tools { gap: 12px; }
  .tools .search { flex-basis: 100%; }
  .cover { height: 160px; }
  .footnav { box-shadow: 0 -4px 18px var(--lift); }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}

.dock-date-filter { display:flex; align-items:center; gap:8px; margin:0 0 14px; min-width:0; }
.dock-date-track { display:flex; flex:1 1 auto; gap:8px; overflow-x:auto; min-width:0; padding:4px; scroll-snap-type:x proximity; scrollbar-width:thin; }
.dock-date-card {
  display:grid; place-content:center; gap:1px; min-width:77px; flex:none; min-height:56px; padding:6px 11px;
  color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:12px;
  text-align:center; white-space:nowrap; scroll-snap-align:start;
}
.dock-date-card small { color:var(--quiet); font-size:12px; }
.dock-date-card[aria-pressed=true] { background:var(--accent); color:var(--accent-text); border-color:var(--accent); }
.dock-date-card[aria-pressed=true] small { color:inherit; }
.dock-date-card:not([aria-pressed=true]):hover { border-color:var(--accent); }
.dock-date-arrow { flex:none; min-width:40px; min-height:44px; font-size:21px; padding:2px 8px; }
.dock-list-item { display:flex; flex-direction:column; gap:6px; min-width:0; }
.dock-list-item > .card { flex:1; }
.dock-list-item > .dock-delete { align-self:flex-end; }
.dock-delete { color:var(--accent); }
.pagehead .dock-delete { margin-inline-start:6px; }
.dock-delete-dialog {
  width:min(430px,calc(100% - 32px)); max-height:calc(100dvh - 32px);
  margin:auto; color:var(--ink); background:var(--surface); overflow-wrap:anywhere;
}
.dock-delete-dialog::backdrop { background:#0b1b2c9c; }
.dock-delete-dialog h2 { margin:0 0 9px; }
.dock-delete-dialog p { margin:0 0 12px; }
.dock-delete-dialog [role=alert]:empty { display:none; }
.dock-delete-actions { display:flex; flex-wrap:wrap; gap:9px; justify-content:flex-end; }
@media(max-width:520px) {
  .dock-date-filter { gap:4px; }
  .dock-date-arrow { min-width:34px; }
  .dock-date-card { min-width:69px; padding-inline:8px; }
}

/* Authentication has its own harbor illustration and stays compact on phones. */
.auth-layout { width: min(1040px, 100%); grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 80px); margin: clamp(18px, 5vh, 56px) auto 0; }
.auth-illustration { position: relative; min-height: 520px; overflow: hidden; border-radius: 30px; background: linear-gradient(155deg, #d5f2e9, #b7e5de); border: 1px solid #b9ded5; color: #234b4b; }
.auth-illustration-copy { position: relative; z-index: 1; padding: 45px 42px 0; }
.auth-illustration-copy span, .auth-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #397a70; }
.auth-illustration-copy strong { display: block; margin-top: 16px; font-size: clamp(30px, 3.3vw, 42px); line-height: 1.25; letter-spacing: -.04em; }
.auth-illustration-copy p { margin: 12px 0 0; color: #517774; }
.auth-illustration img { position: absolute; width: 100%; bottom: 0; left: 0; display: block; }
.auth-content .pagehead { margin: 12px 0 24px; }
.auth-content .pagehead h1 { letter-spacing: -.035em; }
.auth-content .pagehead p { line-height: 1.7; }
.auth-panel { padding: 26px; }
.auth-panel .stack { gap: 18px; }
.auth-panel label > span { margin-bottom: 8px; font-size: 14px; }
.auth-panel .field { min-height: 48px; }
.auth-panel .btn { min-height: 50px; }
.auth-panel .hint { line-height: 1.55; margin: -5px 0 0; }
.auth-switch { margin: 22px 0 0; text-align: center; color: var(--quiet); }
.auth-switch a { color: var(--accent); font-weight: 750; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
[data-skin="night"] .auth-illustration { background: linear-gradient(155deg, #244d5c, #1f6970); border-color: #396c75; color: #fff4da; }
[data-skin="night"] .auth-illustration-copy span, [data-skin="night"] .auth-illustration-copy p { color: #d0eee5; }
[data-skin="night"] .auth-eyebrow { color: #a5dbcb; }
@media (max-width: 760px) {
  .auth-layout { width: min(440px, 100%); grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0 auto; }
  .auth-illustration { min-height: 185px; border-radius: 22px; }
  .auth-illustration-copy { padding: 24px 0 0 24px; width: 55%; }
  .auth-illustration-copy span { font-size: 10px; }
  .auth-illustration-copy strong { font-size: 24px; margin-top: 10px; }
  .auth-illustration-copy p { font-size: 12px; line-height: 1.5; margin-top: 7px; }
  .auth-illustration img { width: 68%; left: auto; right: -5%; }
  .auth-content .pagehead { margin: 8px 0 18px; }
  .auth-content .pagehead h1 { font-size: 27px; }
  .auth-panel { padding: 22px; }
  .auth-panel .stack { gap: 16px; }
  .auth-switch { margin-top: 20px; }
}
@media (max-width: 760px) {
  .auth-illustration-copy p { max-width: 125px; }
}
