@charset "UTF-8";
body.startup-open { overflow: hidden; }
.startup-splash { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; height: 100dvh; background: #041321; color: #fff; opacity: 1; transition: opacity 240ms ease; }
.startup-splash.is-leaving { opacity: 0; pointer-events: none; }
.startup-scene { position: relative; isolation: isolate; overflow: hidden; width: min(100%, 520px); height: 100%; background: #041321; }
.startup-backdrop { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.startup-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(#020e1e24, transparent 24%, #06172b66 38%, #06172b30 58%, transparent 74%, #00102266); }
.startup-skip { position: absolute; z-index: 3; top: calc(12px + env(safe-area-inset-top)); right: 16px; min-height: 44px; padding: 8px 14px; border: 1px solid #ffffff35; border-radius: 24px; background: #04132155; color: #fff; font-size: 12px; }
.startup-skip:focus-visible { outline: 2px solid #00b7c3; outline-offset: 3px; }
.startup-brand { position: absolute; top: 31%; left: 20px; right: 20px; display: grid; justify-items: center; gap: 22px; text-align: center; }
.startup-kicker { color: #88d5db; font-size: clamp(8px, 2.3vw, 11px); letter-spacing: 3px; line-height: 1.6; }
.startup-logo { display: block; width: clamp(142px, 46vw, 200px); height: auto; filter: drop-shadow(0 3px 12px #00132166); }
.startup-tagline { color: #fff; font-size: clamp(22px, 6.2vw, 28px); font-weight: 700; line-height: 1.45; letter-spacing: -.6px; text-shadow: 0 2px 8px #00132180; }
.startup-tagline span { display: block; }
.startup-tagline strong { color: #00b7c3; font-weight: inherit; }
.startup-season { position: absolute; left: 16px; right: 16px; bottom: 24%; color: #b1d8e8; text-align: center; font-size: 9px; letter-spacing: 3.5px; }
.startup-progress { position: absolute; bottom: calc(36px + env(safe-area-inset-bottom)); left: calc(50% - 28px); width: 56px; height: 3px; overflow: hidden; border-radius: 3px; background: #e4f8fc40; }
.startup-progress i { display: block; width: 100%; height: 100%; background: #b9f5f5; transform-origin: left; animation: startup-load var(--startup-duration, 2200ms) linear both; }
.startup-snow { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.startup-snow i { position: absolute; top: -12px; left: var(--x); width: var(--size); height: var(--size); border-radius: 50%; background: #fff; opacity: 0; animation: startup-snowfall var(--duration) linear var(--delay) infinite; }
@keyframes startup-load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes startup-snowfall { 0% { transform: translate3d(0, -20px, 0); opacity: 0; } 8%, 90% { opacity: var(--alpha); } 100% { transform: translate3d(var(--drift), 105dvh, 0); opacity: 0; } }
@media (max-height: 650px) {
  .startup-brand { top: 25%; gap: 16px; }
  .startup-logo { width: 132px; }
  .startup-tagline { font-size: 22px; }
  .startup-season { bottom: 20%; }
}
@media (prefers-reduced-motion: reduce) {
  .startup-splash { transition: none; }
  .startup-snow { display: none; }
  .startup-progress i { animation: none; }
}
:root {
  --bg: #0d1921;
  --surface: #14212b;
  --surface-hover: #1c2c38;
  --text: #fff;
  --muted: #fff;
  --line: #2b3b48;
  --accent: #00b7c3;
  --accent-text: #fff;
  --interactive-ink: #fff;
  --action-bg: #007f8a;
  /* 비활성 주요 버튼: --muted가 --text와 같아 흐린 글자로 쓰지 못하므로 따로 둔다 */
  --disabled-bg: #22303b;
  --disabled-text: #7d8c98;
  --shadow: 0 24px 60px #0005;
  --nav: #0d1921ed;
  --radius: 18px;
  color-scheme: dark;
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", sans-serif;
  font-synthesis: none;
}
:root[data-theme="light"] {
  --bg: #f8fafb;
  --surface: #fff;
  --surface-hover: #eff5f6;
  --text: #102638;
  --muted: #102638;
  --line: #dce5ea;
  /* Small accent text keeps sufficient contrast on both white and the page surface. */
  --accent: #006b75;
  --accent-text: #fff;
  --interactive-ink: #102638;
  --action-bg: #008994;
  --disabled-bg: #e6edf0;
  --disabled-text: #7a8a96;
  --shadow: 0 22px 50px #1b46551a;
  --nav: #fffffff2;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button,
a,
input,
select,
textarea {
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
}
summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:root[data-input-mode="pointer"] :is(button, a, summary, input, select, textarea, [tabindex]):focus {
  outline: none;
}
:is(input, select, textarea):focus {
  border-color: var(--accent);
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  line-height: 1.3;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.7px;
  line-height: 1.4;
}
small {
  font-size: 14px;
}
.muted,
.info-note {
  color: var(--muted);
}
.muted {
  font-size: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 50;
  padding: 12px 20px;
  background: var(--surface);
}
.skip:focus {
  top: 12px;
}
[hidden] {
  display: none !important;
}
.app-shell {
  max-width: 1180px;
  margin: auto;
  min-height: 100dvh;
  overflow-x: clip;
  overflow-y: visible;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 91px;
  padding: 15px 22px;
  position: relative;
  z-index: 3;
}
.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.logo {
  display: block;
  width: 72px;
  height: auto;
  object-fit: contain;
}
.logo-light {
  display: none;
}
[data-theme="light"] .logo-light {
  display: block;
}
[data-theme="light"] .logo-dark {
  display: none;
}
.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.header-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.header-menu {
  display: contents;
}
.theme-shortcut {
  display: none;
}
.view {
  padding-bottom: 110px;
}
.hero {
  overflow: visible;
  isolation: isolate;
  padding-top: 3px;
  position: relative;
}
.hero-intro {
  display: none;
}
.hero-intro h2 strong {
  color: var(--accent);
  font-weight: 900;
}
.carousel {
  display: grid;
  grid-template-columns: min(78%, 400px);
  justify-content: center;
  position: relative;
  width: 100%;
  margin-left: 0;
  padding: 12px 0 20px;
  overflow: visible;
  touch-action: pan-y pinch-zoom;
}
.memory-card {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 5 / 7;
  container-type: inline-size;
  border-radius: clamp(18px, 4vw, 26px);
  overflow: hidden;
  border: 1px solid #b3d7e480;
  box-shadow: 0 18px 38px #0005;
  background: #183349;
  text-align: left;
  padding: 0;
  color: #fff;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(14%) scale(0.9);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.memory-card.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  z-index: 3;
}
.memory-card.is-next,
.memory-card.is-previous {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.carousel.is-dragging .memory-card {
  cursor: grabbing;
}
.carousel.is-dragging .memory-card,
.carousel.is-settling .memory-card {
  will-change: transform, opacity;
}
.memory-copy {
  pointer-events: none;
}
.memory-card > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -2;
  user-select: none;
  -webkit-user-drag: none;
}
.memory-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #071d395c, transparent 60%);
  z-index: -1;
}
.memory-copy {
  position: absolute;
  left: 8.2%;
  right: 6%;
  top: 7%;
  text-shadow: 0 2px 8px #001b3b66;
}
.memory-copy .card-brand {
  display: block;
  letter-spacing: 5px;
  font-size: clamp(8px, 2.4cqw, 11px);
  padding-bottom: clamp(7px, 2.2cqw, 10px);
  border-bottom: 1px solid #ffffff80;
  width: 28%;
  min-width: 72px;
  margin-bottom: clamp(10px, 3cqw, 14px);
}
.memory-copy strong {
  font-size: clamp(28px, 10.6cqw, 48px);
  line-height: 1.25;
  display: block;
  letter-spacing: -0.9px;
}
.memory-copy time {
  display: block;
  font-size: clamp(16px, 5.2cqw, 24px);
  font-weight: 300;
  letter-spacing: 2px;
  margin: clamp(7px, 2.2cqw, 10px) 0;
}
.memory-copy small {
  font-size: clamp(11px, 3.5cqw, 16px);
  letter-spacing: 0.6px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: -5px;
}
.carousel-playback {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 22px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
@media (hover: hover) and (pointer: fine) {
  .carousel-playback:hover { background: var(--surface-hover); }
}
.carousel-playback i {
  width: 9px;
  height: 10px;
  border-inline: 3px solid currentColor;
}
.carousel-playback[data-playing="false"] i {
  width: 0;
  border: 5px solid transparent;
  border-right: 0;
  border-left: 8px solid currentColor;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
}
.carousel-dots button {
  width: 44px;
  height: 44px;
  padding: 9px;
  background: transparent;
  display: grid;
  place-items: center;
}
.carousel-mark {
  display: block;
  width: 20px;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: color-mix(in srgb, var(--muted) 35%, transparent);
  transition: width 240ms ease;
}
.carousel-mark i {
  display: block;
  opacity: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--interactive-ink);
  transform: scaleX(0);
  transform-origin: right;
}
.carousel-dots button[aria-pressed="true"] .carousel-mark { width: 32px; }
.carousel-dots button[aria-pressed="true"] .carousel-mark i {
  transform: scaleX(1);
  opacity: 1;
}
.home-content {
  padding: 9px 20px 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 14px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-hover);
  color: var(--interactive-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.2px;
  white-space: nowrap;
  padding: 10px 12px;
  min-height: 44px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
@media (hover: hover) and (pointer: fine) {
  .text-button:hover {
    background: var(--surface);
    border-color: var(--accent);
  }
}
.text-button:active {
  transform: translateY(1px);
}
.text-button svg {
  width: 16px;
  height: 16px;
}
.icon-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.activity-card {
  aspect-ratio: 1.32;
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: white;
  text-align: left;
  isolation: isolate;
}
.activity-card img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: -2;
  transition: transform 0.3s;
}
.activity-card:after {
  content: "";
  inset: 0;
  position: absolute;
  background: linear-gradient(transparent 30%, #092336ce);
  z-index: -1;
}
.activity-card > span {
  position: absolute;
  left: 13px;
  bottom: 12px;
}
.activity-card strong {
  font-size: 24px;
  line-height: 1.3;
  display: block;
  letter-spacing: -0.5px;
}
.activity-card small {
  display: block;
  font-size: 14px;
  margin-top: 1px;
}
.activity-card[aria-pressed="true"] {
  border-color: var(--accent);
}
.activity-card[aria-pressed="true"]::before {
  content: "✓";
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}
.field-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 11px;
  min-height: 48px;
  padding: 9px 12px;
  position: relative;
  font-size: 13px;
}
.field-button > svg {
  width: 22px;
  height: 22px;
}
.field-button .small {
  width: 13px;
  margin-left: auto;
  color: var(--muted);
}
.field-button select {
  appearance: none;
  border: 0;
  color: var(--text);
  background: transparent;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  padding: 7px 0;
}
.field-button select option {
  background: var(--surface);
}
.date-field input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.date-field input::-webkit-calendar-picker-indicator {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.date-field:focus-within {
  border-color: var(--accent);
}
.filter-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.filter-hint button {
  background: transparent;
  color: var(--interactive-ink);
  padding: 5px;
}
.recommendations {
  margin-top: 13px;
}
.lesson-card {
  height: 94px;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  width: 100%;
  text-align: left;
  padding: 0;
  min-height: 91px;
}
.lesson-card img {
  width: 55%;
  height: 100%;
  object-fit: cover;
}
.lesson-card .lesson-copy {
  padding: 14px 13px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: relative;
}
.lesson-copy strong {
  font-size: 19px;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.lesson-copy small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}
.lesson-copy small svg {
  width: 16px;
  height: 16px;
}
.lesson-copy > .circle-arrow {
  display: none;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  width: 100%;
  padding: 14px 18px;
  color: var(--accent-text);
  background: var(--action-bg);
  border-radius: 11px;
  font-weight: 700;
  font-size: 16px;
  transition: filter 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .primary:hover {
    filter: brightness(1.08);
  }
}
.primary svg {
  width: 24px;
  height: 24px;
}
/* 비활성 주요 버튼(동의 미체크 등): 활성(청록)과 한눈에 구분되게 회색 바탕·흐린 글자 */
.primary:disabled,
.ic-primary:disabled,
.mp-primary:disabled,
.j-primary:disabled {
  opacity: 1;
  background: var(--disabled-bg);
  border-color: transparent;
  color: var(--disabled-text);
  box-shadow: none;
  filter: none;
  cursor: not-allowed;
}
.request-button {
  margin-top: 12px;
}
.secondary {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  padding: 13px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 14px;
}
.record-promo {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  height: 69px;
  margin-top: 12px;
  padding: 0 12px;
  overflow: hidden;
  text-align: left;
}
.record-promo strong {
  font-size: 14px;
  letter-spacing: -0.5px;
  flex: 1;
}
.mini-cards {
  position: relative;
  width: 92px;
  height: 68px;
  flex-shrink: 0;
}
.mini-cards img {
  position: absolute;
  width: 59px;
  height: 75px;
  border: 2px solid #fff;
  border-radius: 5px;
  top: 8px;
  transform: rotate(-10deg);
}
.mini-cards img + img {
  left: 34px;
  transform: rotate(10deg);
  z-index: -0;
}
.mini-cards img:first-child {
  z-index: 1;
}
.circle-arrow {
  width: 33px;
  height: 33px;
  background: var(--surface-hover);
  display: grid;
  place-items: center;
  border-radius: 100%;
  flex-shrink: 0;
}
.circle-arrow svg {
  width: 19px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  background: var(--nav);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 7px max(15px, env(safe-area-inset-right))
    calc(9px + env(safe-area-inset-bottom));
  z-index: 10;
}
.bottom-nav a {
  flex: 1;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: 12px;
}
.bottom-nav svg {
  width: 26px;
  height: 26px;
}
.bottom-nav a[aria-current="page"] {
  color: var(--interactive-ink);
  font-weight: 700;
}
.bottom-nav a[aria-current="page"][data-view="home"] svg {
  fill: currentColor;
}
.inner-page {
  max-width: 760px;
  margin: auto;
  padding: 25px 20px 120px;
}
.inner-page h1 {
  margin: 7px 0 10px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--muted);
  font-weight: 600;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0 20px;
}
.chips button {
  min-height: 42px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  font-size: 14px;
}
.chips button[aria-pressed="true"] {
  background: var(--action-bg);
  color: var(--accent-text);
  border-color: var(--accent);
  font-weight: 700;
}
.lesson-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.lesson-list .lesson-card {
  height: 125px;
  min-height: 125px;
}
.lesson-list .lesson-card img {
  width: 43%;
  max-height: 155px;
}
.info-note {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 23px;
}
.spaced {
  margin-top: 33px;
}
.draft-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 10px;
  background: var(--surface);
}
.draft-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
/* 강습 페이지 "내 신청": 누르면 그 신청 대화를 연다 */
button.draft-card {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--surface-hover);
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 8px;
}
.empty-state {
  text-align: center;
  padding: 45px 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 18px;
}
.empty-state p {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 22px;
}
.add-button {
  width: 45px;
  height: 45px;
  background: var(--action-bg);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.record-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.record-list > .empty-state {
  grid-column: 1/-1;
}
.record-tile {
  padding: 0;
  background: var(--surface);
  text-align: left;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.record-tile img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.record-tile .tile-copy {
  padding: 13px;
}
.record-tile strong {
  display: block;
  font-size: 16px;
}
.record-tile small {
  color: var(--muted);
  font-size: 12px;
}
.settings-panel {
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--surface);
  border-radius: 16px;
  margin-top: 22px;
}
.settings-panel h2 {
  font-size: 19px;
  margin-bottom: 9px;
}
.settings-panel .muted {
  font-size: 13px;
}
.theme-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 20px;
}
.theme-options button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 17px 5px;
  font-size: 13px;
  min-height: 90px;
}
.theme-options button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--interactive-ink);
}
#my-summary {
  color: var(--muted);
  font-size: 14px;
  margin: 15px 0;
}
.settings-panel .info-note {
  margin-top: 14px;
}
dialog {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 22px;
  max-width: min(490px, calc(100% - 24px));
  width: 100%;
  padding: 22px;
  max-height: 85dvh;
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: #030e18b8;
  backdrop-filter: blur(5px);
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.modal-top h2 {
  font-size: 22px;
}
.modal-top .icon-button {
  width: 37px;
  height: 37px;
  flex-shrink: 0;
}
.modal-form {
  display: grid;
  gap: 16px;
}
.modal-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.modal-form input,
.modal-form select,
.modal-form textarea,
.search-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 12px;
  min-width: 0;
}
.modal-form textarea {
  resize: vertical;
  min-height: 85px;
}
.modal-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-form .info-note {
  margin-top: 0;
  font-weight: 400;
}
/* 동의 체크박스(가입 약관, 제3자 제공 동의): 체크박스는 글자와 나란히. 가입 창 밖(강습 신청·예약·문의 화면)에서도 같은 모양 */
.consent-check,
.modal-form .consent-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.consent-check input[type="checkbox"],
.modal-form .consent-check input {
  width: 22px;
  min-height: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  flex: none;
  accent-color: var(--accent, currentColor);
}
.modal-form .info-note a,
.consent-check a,
.modal-form .consent-check a {
  color: inherit;
  text-decoration: underline;
}
/* 개인정보 제3자 제공 동의 안내 (share-consent.mjs): 보내기 버튼 바로 위, 작게 */
.share-consent {
  display: grid;
  gap: 8px;
  margin: 16px 0 4px;
  padding: 14px 14px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
}
.share-consent h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.share-consent dl {
  display: grid;
  gap: 6px;
  margin: 0;
}
.share-consent dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
}
.share-consent dt,
.share-consent dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.share-consent dt {
  opacity: .72;
}
.share-consent dd {
  overflow-wrap: anywhere;
}
.share-consent-refuse {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: .78;
}
.share-consent-refuse a {
  color: inherit;
  text-decoration: underline;
}
.share-consent .consent-check {
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.share-consent .consent-check input[type="checkbox"] {
  margin-top: 0;
}
.share-participant-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: .78;
}
.form-error {
  font-size: 13px;
  color: #eeb19d;
}
.form-success {
  font-size: 15px;
  color: var(--text);
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  margin-bottom: 17px;
}
.detail-photo {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border-radius: 12px;
}
.detail-copy {
  margin: 16px 0;
}
.detail-copy p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.detail-actions > button {
  flex: 1;
}
.search-results {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.search-result {
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
}
.search-result small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
/* Search keeps its controls in place while the result list scrolls. */
dialog.search-modal {
  max-width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 28px;
  border-radius: 28px;
}
.search-modal .modal-top { margin-bottom: 8px; }
.search-modal .modal-top .icon-button { width: 44px; height: 44px; }
.finder-intro { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.finder-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.finder-form:focus-within { border-color: var(--accent); }
.finder-form > svg { width: 22px; height: 22px; color: var(--interactive-ink); }
.finder-form input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}
.finder-form input::placeholder { color: var(--muted); opacity: 1; }
.finder-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.finder-clear { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-hover); color: var(--muted); }
.finder-clear svg { width: 17px; height: 17px; }
.finder-submit { flex-shrink: 0; min-width: 62px; min-height: 48px; border-radius: 11px; background: var(--action-bg); color: var(--accent-text); font-size: 14px; font-weight: 700; }
.finder-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.finder-filters h3, .finder-result-heading h3 { margin: 0; font-size: 14px; font-weight: 700; }
.finder-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.finder-chip { min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--muted); font-size: 13px; }
.finder-chip[aria-pressed="true"] { background: var(--action-bg); border-color: var(--accent); color: var(--accent-text); font-weight: 700; }
.finder-result-heading { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.finder-result-heading h3 { font-size: 16px; }
.finder-reset { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 600; transition: background 180ms, border-color 180ms, transform 180ms, opacity 180ms; }
.finder-reset svg { width: 15px; height: 15px; }
.finder-reset:disabled { color: var(--muted); opacity: .48; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .finder-reset:not(:disabled):hover { background: var(--surface-hover); border-color: var(--accent); }
}
.finder-reset:not(:disabled):active { transform: scale(.96); }
.finder-results { display: grid; align-content: start; grid-auto-rows: max-content; gap: 8px; height: 348px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 5px 10px 5px 5px; margin: -5px; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted) 32%, transparent) transparent; }
.finder-results::-webkit-scrollbar { width: 6px; }
.finder-results::-webkit-scrollbar-track { background: transparent; }
.finder-results::-webkit-scrollbar-thumb { border-radius: 6px; background: color-mix(in srgb, var(--muted) 32%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .finder-results::-webkit-scrollbar-thumb:hover { background: var(--muted); }
}
.finder-hit { display: flex; align-items: center; gap: 16px; min-width: 0; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; transition: background 180ms, border-color 180ms, transform 180ms; }
.finder-hit:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .finder-hit:hover { background: var(--surface-hover); border-color: var(--accent); }
}
.finder-hit > img { width: 76px; height: 80px; border-radius: 10px; flex-shrink: 0; }
.finder-hit-copy { display: grid; gap: 5px; flex: 1; min-width: 0; }
.finder-hit-copy > small { font-size: 11px; color: var(--interactive-ink); }
.finder-hit-copy > strong { font-size: 17px; letter-spacing: -0.3px; }
.finder-hit-copy > span { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.finder-hit-copy svg { width: 14px; height: 14px; }
.finder-hit > svg { color: var(--muted); width: 20px; }
.finder-note { margin-top: 18px; color: var(--muted); font-size: 11px; text-align: center; }
.finder-empty { display: grid; justify-items: center; gap: 10px; padding: 26px 12px 16px; text-align: center; }
.finder-empty > svg { color: var(--muted); margin-bottom: 6px; width: 30px; height: 30px; }
.finder-empty strong { font-size: 17px; }
.finder-empty p { font-size: 13px; color: var(--muted); word-break: keep-all; }
.finder-empty .secondary { min-height: 44px; margin-top: 8px; font-size: 14px; padding: 10px 20px; }
.finder-request { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; background: transparent; color: var(--interactive-ink); font-size: 13px; }
.finder-request svg { width: 17px; height: 17px; }
.search-back { display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 44px; margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 600; transition: background 180ms, border-color 180ms, transform 180ms; }
@media (hover: hover) and (pointer: fine) {
  .search-back:hover { background: var(--surface-hover); border-color: var(--accent); }
}
.search-back:active { transform: scale(.97); }
.modal-form > .search-back { margin-bottom: 0; }
@media (max-width: 599px) {
  dialog.search-modal { max-width: calc(100% - 20px); padding: 20px 16px; border-radius: 22px; max-height: calc(100dvh - 24px); }
  .search-modal .modal-top { gap: 8px; }
  .search-modal .modal-top h2 { font-size: 21px; letter-spacing: -0.7px; }
  .finder-intro { font-size: 12px; margin-bottom: 16px; word-break: keep-all; }
  .finder-form { gap: 7px; padding-left: 12px; min-height: 60px; }
  .finder-form input { font-size: 16px; }
  .finder-submit { min-width: 52px; min-height: 44px; }
  .finder-clear { width: 36px; }
  .finder-filters { grid-template-columns: 1fr; gap: 16px; padding-block: 18px; }
  .finder-chip { padding-inline: 16px; }
  .finder-chips { margin-top: 8px; }
  .finder-results { height: min(290px, 34dvh); }
  .finder-hit { padding: 10px; gap: 12px; }
  .finder-hit > img { width: 62px; height: 68px; }
  .finder-hit-copy > strong { font-size: 16px; }
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 105px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--surface-hover);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 13px;
  max-width: 90%;
  width: max-content;
  z-index: 30;
  box-shadow: var(--shadow);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (hover: hover) and (pointer: fine) {
  .activity-card:hover img {
    transform: scale(1.03);
  }
}
@media (min-width: 600px) {
  .header {
    height: 110px;
    padding-inline: 35px;
  }
  .logo {
    width: 84px;
  }
  .theme-shortcut {
    display: grid;
  }
  .home-content {
    padding-inline: 35px;
  }
  h2 {
    font-size: 25px;
  }
  .text-button {
    font-size: 14px;
  }
  .activity-card {
    aspect-ratio: 1.5;
  }
  .activity-card strong {
    font-size: 30px;
  }
  .activity-card > span {
    left: 20px;
    bottom: 16px;
  }
  .activity-card small {
    font-size: 16px;
  }
  .filters {
    gap: 15px;
  }
  .field-button {
    padding: 12px 17px;
    min-height: 58px;
    font-size: 15px;
  }
  .field-button select {
    font-size: 15px;
  }
  .activity-grid {
    gap: 15px;
  }
  .lesson-card {
    height: 125px;
    min-height: 125px;
  }
  .lesson-copy strong {
    font-size: 23px;
  }
  .lesson-copy small {
    font-size: 14px;
  }
  .record-promo {
    height: 86px;
  }
  .record-promo strong {
    font-size: 18px;
  }
  .mini-cards {
    width: 115px;
    height: 80px;
  }
  .mini-cards img {
    width: 70px;
    height: 90px;
  }
  .mini-cards img + img {
    left: 40px;
  }
  .primary {
    min-height: 58px;
    font-size: 18px;
  }
  .recommendations {
    margin-top: 22px;
  }

  .inner-page {
    padding: 35px 35px 130px;
  }
  .record-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 959px) {
  .app-shell {
    position: relative;
    --mobile-top-gap: 5px;
    --mobile-header-top: calc(var(--mobile-top-gap) + 10px + env(safe-area-inset-top));
  }
  /* Use the home card toolbar position on every mobile/app page. */
  .header {
    position: absolute;
    top: var(--mobile-header-top);
    left: max(11%, calc(50% - 200px));
    width: min(78%, 400px);
    height: 68px;
    padding: 0 10px;
    transform: none;
    align-items: center;
    pointer-events: none;
  }
  .header .brand {
    bottom: 0;
    padding: 6px;
    min-height: 60px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .header .logo { width: 88px; filter: drop-shadow(0 2px 3px #0005); }
  /* Keep separation from photos without a bright outline around the logo. */
  :root[data-theme="light"] .header .logo-light {
    filter: drop-shadow(0 1px 2px color-mix(in srgb, var(--bg) 25%, transparent));
  }
  .header-actions { margin-bottom: 0; }
  .header-actions .icon-button {
    width: 48px;
    height: 48px;
    background: color-mix(in srgb, var(--surface) 50%, transparent);
    border-color: color-mix(in srgb, var(--line) 20%, transparent);
    color: var(--text);
    box-shadow: none;
  }
  .header-actions .icon-button svg { width: 26px; height: 26px; stroke-width: 2; }
  /* Side previews extend 9% beyond the front card after scaling. */
  .header-actions [data-action="notice"] { transform: translateX(calc(10px + min(7.02vw, 36px))); }
  .header .brand,
  .header-actions,
  .bottom-nav { pointer-events: auto; }
  /* Reserve the toolbar plus a 20px gap before inner-page content. */
  .inner-page { padding-top: calc(var(--mobile-header-top) + 88px); }
  #view-home .hero { padding-top: calc(var(--mobile-top-gap) + env(safe-area-inset-top)); }
  #view-home .carousel { padding-top: 0; }
  #view-home .memory-copy { top: clamp(92px, 22%, 120px); }
}
@media (min-width: 960px) {
  .app-shell {
    --home-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    --home-column-gap: clamp(28px, 3vw, 40px);
    max-width: 1240px;
    padding: 0 40px;
  }
  .header {
    display: grid;
    grid-template-columns: var(--home-columns);
    column-gap: var(--home-column-gap);
    height: 96px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    position: static;
    transform: none;
    order: -1;
    margin-right: auto;
    padding-left: 0;
  }
  .logo { width: 76px; }
  .header-menu {
    position: static;
    grid-column: 2;
    transform: none;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
  }
  .header-menu .header-actions {
    flex-shrink: 0;
    margin-left: 10px;
    padding-left: 10px;
    gap: 4px;
    border-left: 1px solid var(--line);
  }
  .header-menu .header-actions .icon-button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    border-radius: 22px;
    transition: background 180ms;
  }
  @media (hover: hover) and (pointer: fine) {
    .header-menu .header-actions .icon-button:hover {
      background: var(--surface-hover);
    }
  }
  .header-menu .header-actions .icon-button svg { width: 20px; height: 20px; }
  .bottom-nav {
    flex: 1;
    position: static;
    inset: auto;
    transform: none;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }
  .bottom-nav a {
    flex-direction: row;
    min-height: 44px;
    gap: 7px;
    border-radius: 22px;
    font-size: 13px;
  }
  .bottom-nav svg { width: 18px; height: 18px; }
  .bottom-nav a[aria-current="page"] {
    background: var(--surface-hover);
    color: var(--interactive-ink);
  }
  .home-layout {
    display: grid;
    grid-template-columns: var(--home-columns);
    column-gap: var(--home-column-gap);
    align-items: start;
    padding: 28px 0 40px;
  }
  .hero-intro {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    margin: 0;
  }
  .hero-intro .eyebrow {
    grid-column: 1 / -1;
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 2.4px;
  }
  .hero-intro h2 {
    font-size: clamp(30px, 2.5vw, 36px);
    line-height: 1.25;
    letter-spacing: -1.2px;
  }
  .hero-intro h2 br { display: none; }
  .hero-intro p {
    max-width: 300px;
    padding-bottom: 4px;
    word-break: keep-all;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    text-wrap: balance;
  }
  .hero {
    display: grid;
    grid-template-rows: auto auto 44px;
    align-content: space-between;
    gap: 20px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    align-self: stretch;
  }
  .carousel {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-left: 0;
    grid-template-columns: min(78%, 400px);
    grid-template-rows: auto;
    padding: 0;
  }
  .memory-card { height: auto; aspect-ratio: 5 / 7; border-radius: 24px; }
  .carousel-controls { position: static; width: 100%; height: 44px; margin: 0; gap: 8px; }
  .home-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    align-self: stretch;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
  }
  .home-content .section-heading:first-child { margin-top: 0; }
  .home-content .section-heading { margin: 0 0 12px; }
  .home-content .text-button { min-height: 44px; font-size: 12px; }
  .home-content .icon-link { width: 44px; height: 44px; }
  .home-content .section-heading h2 { font-size: 20px; line-height: 1.35; }
  .activity-grid { gap: 12px; }
  .activity-card { aspect-ratio: 2.1; border-radius: 14px; }
  .activity-card strong { font-size: 24px; }
  .activity-card small { font-size: 12px; }
  .activity-card > span { left: 16px; bottom: 12px; }
  .filters { gap: 12px; margin-top: 12px; }
  .home-content .home-filter { min-height: 60px; padding: 10px 12px; }
  .home-content .home-filter-copy strong { font-size: 12px; }
  .field-button { min-height: 54px; padding: 10px 13px; }
  .field-button select { font-size: 14px; }
  .home-content .recommendations { margin-top: 0; }
  .lesson-card { height: 96px; min-height: 96px; border-radius: 14px; }
  .lesson-card > img { width: 42%; }
  .lesson-card .lesson-copy { padding: 14px; }
  .lesson-copy strong { font-size: 18px; }
  .lesson-copy small { font-size: 12px; }
  .request-button { margin-top: 12px; min-height: 50px; font-size: 15px; }
  .home-content .record-promo { margin-top: 0; height: 60px; flex-shrink: 0; border-radius: 14px; gap: 10px; }
  .record-promo strong { font-size: 14px; }
  .mini-cards { width: 88px; height: 56px; flex-shrink: 0; }
  .mini-cards img { width: 52px; height: 68px; }
  .mini-cards img + img { left: 30px; }

  .view { padding-bottom: 0; }
  .inner-page { padding-top: 48px; min-height: 75vh; }
  #toast { bottom: 28px; }
}
@media (min-width: 960px) and (max-width: 1099px) {
  .header-menu .bottom-nav a { gap: 4px; font-size: 12px; }
  .header-menu .bottom-nav svg { width: 16px; height: 16px; }
}
@media (min-width: 1440px) {
  .home-layout { padding-top: 28px; }
}
@media (min-width: 960px) and (max-height: 850px) {
  .header { height: 80px; }
  .home-layout { padding-top: 20px; }
  .hero { gap: 16px; }
  .hero-intro h2 { font-size: 30px; }
  .home-content { padding: 20px; }
  .activity-card { aspect-ratio: 2.2; }
  .home-content .home-filter { min-height: 56px; }
  .lesson-card { height: 88px; min-height: 88px; }
  .request-button { margin-top: 10px; min-height: 48px; }
  .home-content .record-promo { height: 56px; }
}
@media (max-width: 360px) {
  h2 {
    font-size: 20px;
  }
  .home-content {
    padding-inline: 15px;
  }
  .text-button {
    font-size: 11px;
  }
  .field-button {
    gap: 6px;
    padding-inline: 9px;
  }
  .field-button select {
    font-size: 12px;
  }
  .lesson-copy strong {
    font-size: 17px;
  }
  .record-promo {
    gap: 8px;
    padding-inline: 8px;
  }
  .record-promo strong {
    font-size: 12px;
  }
  .mini-cards {
    width: 82px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.finder-targets { position: relative; isolation: isolate; display: flex; margin-top: 18px; padding: 4px; background: var(--surface-hover); border-radius: 16px; }
.finder-targets::before { content: ""; position: absolute; z-index: -1; inset: 4px auto 4px 4px; width: calc((100% - 8px) / 2); border-radius: 12px; background: var(--surface); box-shadow: 0 2px 8px #0000000d, 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); transition: transform 280ms cubic-bezier(.22, 1, .36, 1); }
.finder-targets[data-selected="lessons"]::before { transform: translateX(100%); }
.finder-targets button { flex: 1; min-width: 0; min-height: 44px; padding: 8px; border-radius: 12px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; transition: color 200ms; }
.finder-targets button[aria-pressed="true"] { color: var(--interactive-ink); }
@media (hover: hover) and (pointer: fine) {
  .finder-targets button:hover { color: var(--text); }
}
.finder-targets button:focus-visible { outline-offset: -3px; }
.finder-region-fields { display: flex; gap: 8px; margin-top: 10px; }
.finder-region-fields select { width: 50%; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--surface); color: var(--text); font-size: 13px; }
.finder-place-icon { display: grid; place-items: center; width: 56px; height: 62px; flex-shrink: 0; border-radius: 12px; background: var(--surface-hover); color: var(--interactive-ink); }
.location-heading p { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.location-heading svg { width: 18px; height: 18px; }
.location-request { margin-top: 24px; }
@media (max-width: 599px) {
  .finder-targets { margin-top: 14px; }
  .finder-filters { padding-block: 14px; gap: 12px; }
  .finder-region-fields { margin-top: 8px; }
  .finder-results { height: min(270px, 31dvh); }
  .finder-place-icon { width: 46px; height: 54px; }
  .finder-note { margin-top: 14px; }
}

/* Choose lesson conditions after a place, without losing the search context. */
dialog.location-modal { max-width: min(560px, calc(100% - 24px)); }
.location-modal .search-back { margin-bottom: 14px; }
.location-heading { display: flex; align-items: center; gap: 12px; }
.location-heading p { margin: 0; }
.location-conditions { margin-top: 24px; gap: 22px; }
.location-fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.location-fieldset legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.location-sports { display: flex; gap: 8px; }
.location-choice { position: relative; cursor: pointer; }
.location-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.location-choice > span { display: grid; gap: 4px; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color 180ms, background 180ms, box-shadow 180ms; }
.location-choice input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); box-shadow: inset 0 0 0 1px var(--accent); color: var(--interactive-ink); }
:root:not([data-input-mode="pointer"]) .location-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .location-choice:hover > span { border-color: var(--accent); }
}
.location-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.location-levels strong { font-size: 14px; }
.location-levels small { font-size: 11px; font-weight: 400; color: var(--muted); word-break: keep-all; }
.location-helper { color: var(--muted); font-size: 12px; }
@media (max-width: 380px) {
  .location-levels { gap: 8px; }
  .location-levels .location-choice > span { padding: 10px; }
}

/* Shared selection rhythm and a calendar that follows the active theme. */
.location-modal { letter-spacing: -.25px; }
dialog.location-modal { padding: 24px; border-radius: 24px; max-height: calc(100dvh - 32px); }
.location-modal .modal-top { margin-bottom: 16px; }
.location-modal .modal-top h2 { font-size: 22px; line-height: 1.4; letter-spacing: -.6px; }
.location-modal .modal-top .icon-button { width: 40px; height: 40px; }
.location-conditions { margin-top: 22px; gap: 20px; }
.location-sports .location-choice { flex: 1; }
.location-sports .location-choice > span { text-align: center; }
.location-levels { gap: 12px; }
.location-levels .location-choice > .level-card { display: block; padding: 0; overflow: hidden; border-radius: 14px; }
.level-photo { position: relative; display: block; height: 74px; background: var(--surface-hover); overflow: hidden; }
.level-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #06233424, #06233470); }
.level-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms; }
.level-course { position: absolute; z-index: 1; inset: 10px 12px 8px auto; width: 120px; height: 54px; filter: drop-shadow(0 1px 3px #001b30b0); }
.level-course path { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 4 5; }
.level-check { position: absolute; z-index: 2; top: 9px; left: 10px; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #ffffffa0; border-radius: 50%; color: transparent; background: #09263040; font-size: 13px; transition: background 180ms, color 180ms; }
.location-choice input:checked + .level-card .level-check { background: var(--action-bg); border-color: var(--accent); color: var(--accent-text); }
.location-choice input:checked + .level-card .level-course path { stroke: #58f4f0; }
@media (hover: hover) and (pointer: fine) {
  .location-choice:hover .level-photo img { transform: scale(1.045); }
}
.level-copy { display: grid; gap: 5px; padding: 12px; min-height: 74px; }
.level-copy strong { line-height: 1.35; letter-spacing: -.25px; }
.level-copy small { line-height: 1.55; }
.location-helper { line-height: 1.6; word-break: keep-all; }
.location-conditions > .primary { min-height: 52px; font-size: 15px; letter-spacing: -.2px; }
.date-picker { display: grid; gap: 8px; min-width: 0; }
.date-label { font-size: 14px; font-weight: 600; }
.date-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; font-size: 14px; font-weight: 500; transition: border-color 180ms, background 180ms; }
.date-trigger > span { flex: 1; }
.date-trigger > svg { width: 19px; height: 19px; color: var(--muted); }
.date-trigger > svg:last-child { width: 16px; transform: rotate(90deg); transition: transform 180ms; }
.date-trigger[aria-expanded="true"] { border-color: var(--accent); background: var(--surface-hover); }
.date-trigger[aria-expanded="true"] > svg:last-child { transform: rotate(-90deg); }
.date-trigger[aria-invalid="true"] { border-color: #c45245; }
.date-calendar { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 5px 16px #061e2410; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.calendar-heading > strong { font-size: 16px; letter-spacing: -.35px; }
.calendar-heading > div { display: flex; gap: 4px; }
.calendar-heading button { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-hover); font-size: 26px; line-height: 1; }
.calendar-heading button:disabled { opacity: .3; cursor: default; }
.calendar-week, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.calendar-week { margin-bottom: 6px; color: var(--muted); font-size: 11px; text-align: center; }
.calendar-week span { padding-block: 4px; }
.calendar-days button { min-width: 0; height: 42px; border-radius: 11px; background: transparent; font-size: 14px; font-variant-numeric: tabular-nums; transition: background 150ms, color 150ms, transform 150ms; }
@media (hover: hover) and (pointer: fine) {
  .calendar-days button:not(:disabled):hover { background: var(--surface-hover); }
}
.calendar-days button[aria-pressed="true"], .calendar-days button[aria-pressed="true"]:hover { background: var(--action-bg); color: var(--accent-text); font-weight: 700; }
.calendar-days button:disabled { opacity: .26; cursor: default; }
.calendar-days button:active:not(:disabled) { transform: scale(.92); }
.calendar-days button:focus-visible { outline-offset: -3px; }
.calendar-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.calendar-footer button { min-width: 44px; min-height: 40px; padding-inline: 10px; border-radius: 10px; background: var(--surface-hover); color: var(--interactive-ink); font-size: 12px; font-weight: 600; }
.calendar-footer span { color: var(--muted); font-size: 11px; }
.date-error { font-size: 12px; color: #c45245; }
@media (max-width: 599px) {
  dialog.location-modal { padding: 20px; max-height: calc(100dvh - 24px); }
  .location-modal .modal-top h2 { font-size: 21px; }
  .location-conditions { margin-top: 20px; gap: 18px; }
  .location-levels { gap: 10px; }
  .level-photo { height: 60px; }
  .level-course { width: 100px; height: 44px; inset: 8px 8px auto auto; }
  .level-copy { min-height: 74px; padding: 10px; }
  .date-calendar { padding: 10px; }
  .calendar-days { gap: 2px; }
  .calendar-days button { height: 40px; }
}

dialog { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted) 32%, transparent) transparent; }
dialog::-webkit-scrollbar { width: 6px; }
dialog::-webkit-scrollbar-track { background: transparent; }
dialog::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 32%, transparent); border-radius: 6px; }

/* Three learner levels: equal columns on PC, readable photo rows on mobile. */
.location-levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 599px) {
  .location-levels { grid-template-columns: 1fr; gap: 10px; }
  .location-levels .location-choice > .level-card { display: grid; grid-template-columns: 104px 1fr; }
  .level-photo { height: 84px; }
  .level-copy { min-height: 84px; align-content: center; padding: 12px; }
  .level-course { width: 88px; height: 50px; top: 18px; }
}
@media (max-width: 359px) {
  .location-levels .location-choice > .level-card { grid-template-columns: 82px 1fr; }
  .level-copy { padding: 10px; }
  .level-course { width: 70px; }
}

.level-photo { height: 102px; }
.level-course { opacity: .4; }
.location-choice input:checked + .level-card .level-course { opacity: .85; }
@media (max-width: 599px) {
  .level-photo { height: 84px; }
}

/* Place metadata and course/selection contrast. */
.location-heading { gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.location-heading .badge { flex-shrink: 0; padding: 5px 9px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--interactive-ink); font-size: 12px; font-weight: 600; }
.location-heading p { font-size: 13px; color: var(--text); line-height: 1.5; }
.location-heading p svg { color: var(--interactive-ink); width: 17px; height: 17px; }
.level-course, .location-choice input:checked + .level-card .level-course { opacity: 1; filter: drop-shadow(0 1px 2px #001b30); }
.level-course path, .location-choice input:checked + .level-card .level-course path { stroke: #52fff1; stroke-width: 3.5; stroke-dasharray: 4 5; filter: drop-shadow(0 0 1px #002637) drop-shadow(0 1px 1px #002637); }
.level-copy { position: relative; }
.level-copy strong { padding-right: 23px; }
.level-copy .level-check { top: 10px; right: 9px; left: auto; width: 20px; height: 20px; border-color: var(--muted); background: var(--surface); }
.location-choice input:checked + .level-card .level-check { background: var(--action-bg); border-color: var(--accent); color: var(--accent-text); }

/* Request form design only: sharing and saving remain unconnected. */
dialog.request-modal { max-width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 26px; border-radius: 24px; letter-spacing: -.25px; }
.request-modal .modal-top { margin-bottom: 14px; }
.request-modal .modal-top h2 { font-size: 23px; letter-spacing: -.6px; }
.request-modal .modal-top .icon-button { width: 40px; height: 40px; }
.request-form { gap: 22px; }
.request-intro { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: -4px; word-break: keep-all; }
.request-form label { position: relative; }
.request-form label:not(.location-choice) { gap: 10px; }
.request-form select { min-height: 50px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.request-levels, .request-people { display: grid; gap: 8px; }
.request-levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.request-people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.request-levels .location-choice > span, .request-people .location-choice > span { padding-inline: 8px; text-align: center; }
.optional-label { position: absolute; top: 1px; right: 0; font-size: 11px; font-weight: 400; color: var(--muted); }
.request-form textarea { min-height: 96px; border-radius: 12px; font-size: 13px; font-weight: 400; line-height: 1.7; }
.request-privacy { margin-top: -12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.request-footer { padding-top: 18px; border-top: 1px solid var(--line); }
.request-actions { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; }
.request-actions button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 14px; padding: 12px; font-size: 14px; font-weight: 700; cursor: default; }
.request-actions svg { width: 20px; height: 20px; }
.request-save { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.request-footer > p { margin-top: 12px; font-size: 11px; color: var(--muted); text-align: center; }
@media (max-width: 599px) {
  dialog.request-modal { padding: 20px; max-height: calc(100dvh - 24px); }
  .request-modal .modal-top h2 { font-size: 21px; }
  .request-form { gap: 20px; }
  .request-actions { grid-template-columns: 1.6fr 1fr; gap: 8px; }
  .request-actions button { padding-inline: 8px; font-size: 13px; }
}
@media (max-width: 599px) {
  .location-conditions { margin-top: 18px; gap: 16px; }
  .location-heading { padding: 10px 12px; }
  .level-photo { height: 80px; }
  .level-copy { min-height: 80px; }
}
/* Consistent select chevrons with a quiet focus treatment. */
:root { --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7c5d1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); }
:root[data-theme="light"] { --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586b7b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); }
dialog select { appearance: none; -webkit-appearance: none; padding-right: 42px !important; background-image: var(--select-chevron) !important; background-repeat: no-repeat !important; background-position: right 13px center !important; background-size: 18px 18px !important; transition: border-color 180ms, box-shadow 180ms; }
dialog select:focus-visible { border-color: var(--accent); }
.location-heading { min-height: 54px; align-items: center; }
.location-heading .badge { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; margin: 0; line-height: 18px; }
.location-heading p { display: inline-flex; align-items: center; min-height: 28px; margin: 0; line-height: 20px; }
/* Center decorative course routes within each photo at every breakpoint. */
.level-course { inset: auto; left: 50%; top: 50%; width: 84%; height: 74%; transform: translate(-50%, -50%); pointer-events: none; }

.location-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; font-size: 13px; font-weight: 600; transition: border-color 180ms, background 180ms; }
.location-next small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); font-weight: 400; }
.location-next > svg { width: 18px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .location-next:hover { border-color: var(--accent); background: var(--surface-hover); }
}
.location-conditions .request-footer { position: sticky; bottom: -24px; z-index: 3; margin-top: 0; padding: 14px 0 4px; background: var(--bg); box-shadow: 0 -12px 16px var(--bg); }
.location-conditions .request-footer > p { margin-top: 8px; }
@media (max-width: 599px) {
  .location-conditions .request-footer { bottom: -20px; }
}
/* Keep the action row in normal flow so it never covers a selectable card. */
.location-conditions .request-footer { position: static; box-shadow: none; padding: 12px 0 0; }
@media (max-width: 599px) {
  .location-conditions { margin-top: 16px; gap: 14px; }
  .location-heading { min-height: 50px; padding-block: 9px; }
  .level-photo { height: 64px; }
  .level-copy { min-height: 64px; padding: 8px 10px; gap: 3px; }
  .location-next { min-height: 44px; padding: 10px 14px; }
  .location-next small { display: none; }
  .location-conditions .request-footer { padding-top: 10px; }
  .location-conditions .request-footer > p { margin-top: 6px; }
}

/* A fifth navigation item shares the existing menu rhythm. */
.bottom-nav a { min-width: 0; transition: color 180ms, background 180ms; }
.plan-intro { margin-top: 10px; font-size: 14px; }
.plan-preview { display: flex; flex-direction: column; align-items: center; margin-top: 28px; padding: 42px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); text-align: center; }
.plan-preview-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 22px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--interactive-ink); }
.plan-preview-icon svg { width: 34px; height: 34px; }
.plan-status { padding: 4px 9px; border-radius: 8px; background: var(--surface-hover); color: var(--muted); font-size: 11px; }
.plan-preview h2 { margin-top: 14px; font-size: 20px; letter-spacing: -.5px; word-break: keep-all; }
.plan-preview p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.7; word-break: keep-all; }
.plan-home { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; min-height: 44px; font-size: 13px; }
.plan-home svg { width: 17px; height: 17px; }
@media (min-width: 960px) { .bottom-nav { width: 430px; } }
@media (max-width: 599px) {
  .bottom-nav svg { width: 24px; height: 24px; }
  .plan-preview { padding: 32px 20px; border-radius: 20px; }
  .plan-preview h2 { font-size: 18px; }
}
/* Home filters open a focused place picker and themed calendar dialog. */
.home-filter { width: 100%; min-width: 0; min-height: 68px; gap: 10px; padding: 12px; border-radius: 14px; text-align: left; transition: border-color 180ms, background 180ms, box-shadow 180ms; }
@media (hover: hover) and (pointer: fine) {
  .home-filter:hover { background: var(--surface-hover); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
}
:root:not([data-input-mode="pointer"]) .home-filter:focus-visible { border-color: var(--accent); }
.home-filter-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--surface-hover); color: var(--muted); }
.home-filter-icon svg { width: 19px; height: 19px; }
.home-filter-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.home-filter-copy small { color: var(--muted); font-size: 10px; font-weight: 400; }
.home-filter-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: -.2px; }
.home-filter > .home-filter-chevron { width: 15px; height: 15px; color: var(--muted); transform: rotate(90deg); }
.home-filter[data-selected="true"] { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.home-filter[data-selected="true"] .home-filter-icon { color: var(--interactive-ink); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.home-place-modal .finder-filters { padding-top: 20px; }
.home-place-modal .finder-results { height: min(320px, 30dvh); }
.home-place-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.home-place-footer p { font-size: 12px; line-height: 1.6; color: var(--muted); word-break: keep-all; }
.home-place-footer .secondary { width: auto; min-width: 120px; min-height: 44px; padding: 10px 12px; font-size: 12px; flex-shrink: 0; }
.home-place-footer button:disabled, .home-popup-actions button:disabled { opacity: .4; cursor: default; }
.home-place-footer .primary:disabled, .home-popup-actions .primary:disabled { opacity: 1; cursor: not-allowed; }
.finder-hit.is-selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); box-shadow: inset 0 0 0 1px var(--accent); }
dialog.home-date-modal { max-width: min(460px, calc(100% - 24px)); padding: 24px; border-radius: 24px; max-height: calc(100dvh - 24px); }
.home-date-modal .modal-top .icon-button { width: 40px; height: 40px; }
.home-popup-intro { margin-top: -8px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.date-picker-inline .date-label, .date-picker-inline [data-calendar-close] { display: none; }
.date-picker-inline .date-calendar { box-shadow: none; padding: 12px; }
.date-picker-inline .calendar-footer { justify-content: space-between; }
.home-popup-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.home-popup-actions button { min-height: 50px; padding: 12px; font-size: 13px; border-radius: 12px; }
.home-popup-actions .primary svg { width: 18px; }
@media (max-width: 599px) {
  .home-filter { min-height: 66px; gap: 7px; padding: 10px; }
  .home-filter-icon { width: 28px; height: 30px; border-radius: 8px; }
  .home-filter-icon svg { width: 18px; height: 18px; }
  .home-filter-copy strong { font-size: 12px; }
  .home-filter > .home-filter-chevron { width: 12px; height: 12px; }
  dialog.home-date-modal { padding: 20px 16px; border-radius: 22px; }
  .home-date-modal .modal-top h2 { font-size: 21px; }
  .home-place-footer { gap: 10px; margin-top: 14px; padding-top: 12px; }
  .home-place-footer p { font-size: 11px; }
  .home-place-footer .secondary { min-width: 104px; }
  .home-place-modal .finder-results { height: min(250px, 29dvh); }
}
@media (max-width: 359px) {
  .home-filter { gap: 5px; padding: 8px; }
  .home-filter-icon { width: 23px; }
  .home-filter-copy strong { font-size: 11px; }
}

/* One period selector shared by every lesson-search entry point. */
.date-range-fields { --range-gap: 10px; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--range-gap); }
.date-range-fields::after { content: ""; box-sizing: border-box; position: absolute; inset: 0 auto 0 0; width: calc((100% - var(--range-gap)) / 2); border: 2px solid var(--accent); border-radius: 12px; pointer-events: none; opacity: 0; transition: transform 320ms cubic-bezier(.22, 1, .36, 1), opacity 160ms; }
.date-picker[data-calendar-open="true"] .date-range-fields::after { opacity: 1; }
.date-picker[data-range-step="end"] .date-range-fields::after { transform: translateX(calc(100% + var(--range-gap))); }
.date-range-fields .date-trigger { min-width: 0; min-height: 64px; padding: 10px 12px; gap: 8px; }
.date-range-fields .date-trigger > span { display: grid; gap: 4px; min-width: 0; }
.date-range-fields small { font-size: 11px; color: var(--muted); font-weight: 400; }
.date-range-fields strong { font-size: 13px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.date-range-fields .date-trigger > svg:last-child { display: none; }
.date-range-fields .date-trigger[data-active="true"] { border-color: var(--line); box-shadow: none; }
.date-range-help { color: var(--muted); font-size: 11px; line-height: 1.6; }
.calendar-step { margin-bottom: 8px; font-size: 12px; color: var(--interactive-ink); font-weight: 600; }
.calendar-days button[data-in-range="true"] { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); border-radius: 5px; color: var(--text); }
.calendar-days button[data-range-edge="start"], .calendar-days button[data-range-edge="end"], .calendar-days button[data-range-edge="both"] { box-shadow: none; }
.calendar-footer button:disabled { opacity: .3; cursor: default; }
#home-date-trigger[data-selected="true"] .home-filter-copy strong { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 359px) {
  .date-range-fields { --range-gap: 7px; }
  .date-range-fields .date-trigger { padding: 10px 8px; gap: 5px; }
  .date-range-fields .date-trigger > svg { width: 16px; height: 16px; }
  .date-range-fields strong { font-size: 12px; }
}

/* Search, lesson navigation and home filters share this condition dialog. */
.finder-period { margin: 0 0 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.unified-finder .finder-result-heading { border-top: 0; padding-top: 0; }
.unified-finder .finder-results { height: auto; max-height: min(260px, 28dvh); }
.unified-finder .modal-top { position: sticky; top: -28px; z-index: 4; background: var(--bg); padding-block: 10px; margin-top: -10px; }
.finder-selection-footer { position: sticky; bottom: -28px; z-index: 2; display: grid; gap: 8px; margin-top: 18px; padding: 16px 0 22px; border-top: 1px solid var(--line); background: var(--bg); }
.finder-selection-footer > p { color: var(--text); font-size: 12px; line-height: 1.7; word-break: keep-all; }
.finder-selection-footer > small { color: var(--muted); font-size: 11px; text-align: center; }
.finder-selection-footer .primary { min-height: 50px; font-size: 15px; }
.finder-selection-footer .primary:disabled { opacity: 1; cursor: not-allowed; }
.lesson-finder-open { margin-top: 24px; }
.lesson-examples { margin-top: 28px; }
.lesson-examples > summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 12px 0; }
@media (max-width: 599px) {
  .unified-finder .finder-intro { font-size: 12px; margin-bottom: 14px; }
  .unified-finder .finder-filters { padding-block: 14px; gap: 14px; }
  .finder-period { margin: 0 0 16px; padding-block: 14px; }
  .finder-selection-footer { bottom: -20px; padding-bottom: 16px; margin-top: 14px; }
  .unified-finder .finder-results { height: auto; max-height: min(230px, 28dvh); }
  .unified-finder .modal-top { top: -20px; }
}

:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
  color: var(--text);
  opacity: 1;
}

/* Home shortcuts edit one condition; the lesson finder combines them. */
.finder-footer-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.home-place-modal .finder-footer-actions { grid-template-columns: 1fr 1.6fr; }
.home-place-modal .finder-footer-actions button { min-height: 48px; font-size: 13px; padding: 12px; }
.home-place-modal .finder-filters { border-bottom: 1px solid var(--line); }
.home-place-modal .finder-results { height: auto; max-height: min(340px, 38dvh); }
.home-date-modal .date-range-fields .date-trigger { min-height: 64px; }
.home-date-modal .home-popup-actions button { min-height: 50px; }
#place-selection-clear:disabled { opacity: .4; cursor: default; }

/* Keep an empty result in the same slot as a lesson card. */
#home-lessons { height: 94px; }
#home-lessons > .lesson-card { height: 100%; min-height: 0; }
.home-lesson-empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 100%; padding: 12px; border: 1px dashed var(--line); border-radius: 14px; background: var(--surface); text-align: left; }
.home-lesson-empty > div { min-width: 0; }
.home-lesson-empty strong { display: block; font-size: 13px; line-height: 1.45; letter-spacing: -.3px; word-break: keep-all; }
.home-lesson-empty p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; word-break: keep-all; }
.home-lesson-empty > button { min-width: 60px; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-hover); color: var(--text); font-size: 11px; }
.home-content .filter-hint { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin-top: 8px; color: var(--text); font-size: 11px; line-height: 1.5; }
.home-content .filter-hint button { flex-shrink: 0; min-height: 36px; padding: 8px; color: var(--text); font-size: 11px; }
@media (min-width: 600px) and (max-width: 959px) { #home-lessons { height: 125px; } }
@media (min-width: 960px) { #home-lessons { height: 96px; } }
@media (min-width: 960px) and (max-height: 850px) { #home-lessons { height: 88px; } }

/* Clear glass navigation: the content underneath supplies the color. */
@media (max-width: 959px) {
  .bottom-nav {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: 520px;
    margin-inline: auto;
    padding: 6px;
    gap: 2px;
    border: 1px solid #ffffff30;
    border-radius: 999px;
    background: linear-gradient(160deg, #ffffff0c, #ffffff00 48%, #00b7c307), #08121c52;
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 8px 28px #00000030, inset 0 1px 1px #ffffff38, inset 0 -1px 1px #ffffff0a;
    isolation: isolate;
    overflow: hidden;
  }
  .bottom-nav::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: calc((100% - 20px) / 5);
    box-sizing: border-box;
    border: 1px solid #ffffff24;
    border-radius: 999px;
    background: linear-gradient(155deg, #ffffff20, #ffffff07), color-mix(in srgb, var(--accent) 7%, transparent);
    box-shadow: inset 0 1px 1px #ffffff30, 0 2px 8px #00101812;
    transform: translateX(calc(var(--nav-index, 0) * (100% + 2px)));
    transition: transform 320ms cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
  }
  .bottom-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(174deg, #ffffff16, #ffffff00 38%, #ffffff00 76%, #ffffff06);
    pointer-events: none;
  }
  .bottom-nav a {
    position: relative;
    z-index: 1;
    min-width: 44px;
    min-height: 56px;
    padding: 4px 2px;
    gap: 3px;
    border-radius: 999px;
    color: var(--text);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
  }
  .bottom-nav svg { width: 25px; height: 25px; stroke-width: 1.8; }
  .bottom-nav a[aria-current="page"] { background: transparent; color: var(--accent); font-weight: 700; }
  .bottom-nav a[aria-current="page"] svg { filter: drop-shadow(0 1px 4px color-mix(in srgb, var(--accent) 20%, transparent)); }
  @media (hover: hover) and (pointer: fine) {
    .bottom-nav a:not([aria-current="page"]):hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
  }
  .bottom-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  :root[data-theme="light"] .bottom-nav {
    border-color: #ffffffa6;
    background: linear-gradient(160deg, #ffffff30, #ffffff04 48%, #00899405), #f4f9fb80;
    box-shadow: 0 8px 28px #1732441c, inset 0 1px 1px #ffffffe6, inset 0 -1px 1px #ffffff50;
  }
  :root[data-theme="light"] .bottom-nav::before {
    border-color: #ffffff9c;
    background: linear-gradient(155deg, #ffffff80, #ffffff30), #0089940a;
    box-shadow: inset 0 1px 1px #ffffffb3, 0 2px 8px #1732440d;
  }
  :root[data-theme="light"] .bottom-nav::after { background: linear-gradient(174deg, #ffffff45, #ffffff00 38%, #ffffff00 76%, #ffffff18); }
  .view, .inner-page { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  #toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .bottom-nav, :root[data-theme="light"] .bottom-nav { background: var(--surface); }
  }
}

/* A single focused choice at a time, with the real mobile navigation above the backdrop. */
body.lesson-flow-open { overflow: hidden; }
dialog#lesson-flow { position: fixed; inset: var(--lf-top,0px) 0 auto; width: 100%; height: var(--lf-height,100dvh); max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; color: var(--text); }
#lesson-flow > .bottom-nav { position: absolute; }
#lesson-flow::backdrop { background: #020b1390; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.lf-panel { position: absolute; inset: max(12px, env(safe-area-inset-top)) 12px 88px; max-width: 580px; margin-inline: auto; display: flex; flex-direction: column; min-height: 0; border: 1px solid color-mix(in srgb, var(--line) 75%, #fff 10%); border-radius: 26px; background: var(--bg); box-shadow: 0 20px 70px #0004; overflow: hidden; }
.lf-panel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lf-header { padding: 12px 18px 0; flex-shrink: 0; }
.lf-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 13px; }
.lf-topline > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.lf-topline .icon-button { width: 40px; height: 40px; background: var(--surface); }
.lf-steps { display: flex; justify-content: space-between; gap: 3px; }
.lf-steps button { display: flex; align-items: center; gap: 5px; min-height: 36px; border: 0; padding: 4px 0; background: transparent; color: var(--muted); font-size: 10px; white-space: nowrap; }
.lf-steps b { font-size: 9px; font-weight: 500; }
.lf-steps button:disabled { opacity: .4; cursor: default; }
.lf-steps button[aria-current="step"], .lf-steps .is-done { color: var(--accent); }
.lf-steps button[aria-current="step"] { font-weight: 750; }
.lf-progress { height: 2px; background: var(--line); margin-top: 8px; }
.lf-progress-fill { display: block; height: 100%; background: var(--accent); transition: width 240ms ease-out; }
.lf-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 25px 18px 20px; }
.lf-step-content { animation: lf-enter 220ms ease-out both; }
@keyframes lf-enter { from { opacity: .35; transform: translateX(calc(var(--lf-direction) * 12px)); } to { opacity: 1; transform: translateX(0); } }
.lf-heading { margin-bottom: 23px; }
.lf-heading > span { color: var(--accent); font-size: 9px; letter-spacing: 2px; font-weight: 650; }
.lf-heading h2 { margin: 9px 0 8px; font-size: clamp(21px,6vw,28px); letter-spacing: -1px; line-height: 1.35; outline: none; }
.lf-heading p { color: var(--muted); font-size: 12px; line-height: 1.7; word-break: keep-all; margin: 0; }
.lf-footer { flex-shrink: 0; border-top: 1px solid var(--line); padding: 12px 18px 16px; background: var(--bg); }
.lf-footer > p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; word-break: keep-all; }
.lf-footer > div { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 8px; }
.lf-footer button { min-width: 0; min-height: 48px; padding: 10px 8px; font-size: 13px; border-radius: 12px; }
.lf-footer .primary { display: flex; justify-content: center; align-items: center; gap: 10px; }
.lf-footer .primary:disabled { opacity: 1; cursor: not-allowed; }
.lf-sports { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.lf-sport { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; min-width: 0; min-height: 0; padding: 0; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: center; transition: border-color 160ms, background 160ms; }
.lf-sport > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.lf-sport > span { display: grid; place-items: center; min-width: 0; padding: 13px 6px; }
.lf-sport strong { font-size: 16px; letter-spacing: -.5px; line-height: 1.3; white-space: nowrap; }
.lf-sport small { display: none; }
.lf-sport i { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--bg); }
.lf-sport i svg { width: 13px; height: 13px; stroke-width: 2; }
.lf-sport:not([aria-pressed="true"]) i { display: none; }
.lf-sport[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb,var(--accent) 8%,var(--surface)); }
@media (hover: hover) and (pointer: fine) {
  .lf-sport:hover { border-color: var(--accent); }
}
.lf-quiet { margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: center; }
.lf-search { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.lf-search > svg { width: 18px; height: 18px; color: var(--muted); }
.lf-search input { min-width: 0; width: 100%; height: 40px; padding: 0; border: 0; background: transparent; font-size: 16px; outline: none; color: var(--text); }
.lf-search input::placeholder { font-size: 12px; color: var(--muted); }
.lf-search button { min-height: 40px; padding: 8px 12px; border-radius: 9px; background: var(--action-bg); color: var(--accent-text); font-size: 12px; flex-shrink: 0; }
.lf-search:focus-within { border-color: var(--accent); }
.lf-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.lf-regions select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 12px; }
.lf-result-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 21px 0 10px; font-size: 11px; }
.lf-result-heading > span { color: var(--accent); }
#lf-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.lf-place-row { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; min-width: 0; min-height: 124px; padding: 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 13px; text-align: left; }
.lf-place-row > i { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; background: var(--surface-hover); color: var(--accent); }
.lf-place-row > span { display: grid; gap: 5px; flex: 1; width: 100%; min-width: 0; }
.lf-place-row strong { font-size: 13px; letter-spacing: -.4px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.lf-place-row small { color: var(--muted); font-size: 10px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.lf-place-row > svg { position: absolute; top: 19px; right: 10px; width: 14px; height: 14px; color: var(--muted); }
.lf-place-row[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb,var(--accent) 8%,var(--surface)); }
.lf-place-row[aria-pressed="true"] > svg { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .lf-place-row:hover { border-color: var(--accent); }
}
.lf-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 25px 0; text-align: center; }
.lf-empty > svg { color: var(--accent); }
.lf-empty strong { font-size: 14px; }
.lf-empty p { margin: 0; color: var(--muted); font-size: 11px; }
.lf-empty button { font-size: 12px; min-height: 44px; }
#lf-period { margin: 0; }
#lf-period .date-label { display: none; }
#lf-period .date-range-help { margin-block: 10px; font-size: 10px; }
#lf-period .date-calendar { margin-top: 14px; }
#lf-period .calendar-footer [data-calendar-close] { display: none; }
#lf-period .calendar-footer { grid-template-columns: auto 1fr; }
#lf-period .calendar-days button { min-height: 35px; }
.lf-fieldset { padding: 0; margin: 0 0 24px; border: 0; min-width: 0; }
.lf-fieldset legend { padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 650; }
.lf-levels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.lf-levels button { position: relative; display: grid; align-content: start; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left; color: var(--text); background: var(--surface); }
.lf-levels img { width: 100%; height: 70px; object-fit: cover; }
.lf-levels button > span { display: grid; gap: 6px; padding: 10px 8px; }
.lf-levels strong { font-size: 12px; letter-spacing: -.4px; }
.lf-levels small { font-size: 9px; color: var(--muted); line-height: 1.6; word-break: keep-all; }
.lf-levels i { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; border: 1px solid #ffffff85; background: #03121b55; }
.lf-levels i svg { width: 12px; height: 12px; }
.lf-levels button[aria-pressed="true"] { border-color: var(--accent); }
.lf-levels button[aria-pressed="true"] i { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.lf-people { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.lf-people button { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 13px; }
.lf-people button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb,var(--accent) 8%,var(--surface)); font-weight: 700; }
.lf-note-label { display: flex; gap: 8px; align-items: baseline; font-size: 13px; font-weight: 650; margin-bottom: 10px; }
.lf-note-label > span { color: var(--muted); font-size: 10px; font-weight: 400; }
#lf-note { width: 100%; min-height: 85px; resize: vertical; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); font: inherit; font-size: 16px; }
#lf-note::placeholder { font-size: 12px; color: var(--muted); }
.lf-summary-card { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid color-mix(in srgb,var(--accent) 32%,var(--line)); border-radius: 17px; background: color-mix(in srgb,var(--accent) 7%,var(--surface)); }
.lf-summary-card > img { width: 76px; height: 98px; border-radius: 10px; object-fit: cover; }
.lf-summary-card > div { min-width: 0; }
.lf-summary-card span { font-size: 7px; letter-spacing: 1.5px; color: var(--accent); }
.lf-summary-card h3 { font-size: 18px; margin: 8px 0 5px; line-height: 1.4; letter-spacing: -.6px; }
.lf-summary-card p { color: var(--muted); font-size: 11px; margin: 0 0 7px; }
.lf-summary-card strong { font-size: 11px; font-weight: 500; }
.lf-review-rows { margin-top: 17px; }
.lf-review-rows button { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 15px 1px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; }
.lf-review-rows button > span { flex-shrink: 0; width: 53px; font-size: 11px; color: var(--muted); }
.lf-review-rows strong { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; word-break: keep-all; line-height: 1.5; }
.lf-review-rows svg { width: 14px; color: var(--muted); }
.lf-review-note { margin: 15px 0 0; padding: 12px; border-radius: 10px; font-size: 12px; line-height: 1.6; background: var(--surface); overflow-wrap: anywhere; }
.lf-future-actions { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; margin-top: 20px; }
.lf-future-actions button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 11px; opacity: .65; cursor: default; }
.lf-future-actions svg { width: 16px; height: 16px; }
@media (max-width: 359px) {
  .lf-header { padding-inline: 14px; }
  .lf-scroll { padding: 20px 14px 16px; }
  .lf-footer { padding-inline: 14px; }
  .lf-steps button { gap: 3px; font-size: 9px; }
  .lf-sport strong { font-size: 14px; }
  .lf-sport > span { padding-block: 11px; }
  .lf-summary-card { gap: 10px; }
  .lf-summary-card > img { width: 58px; }
  .lf-summary-card h3 { font-size: 16px; }
  .lf-summary-card span { letter-spacing: 1px; }
}
@media (min-width: 600px) {
  #lf-results { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .lf-header { padding: 18px 28px 0; }
  .lf-scroll { padding: 28px; }
  .lf-footer { padding: 16px 28px 22px; }
  .lf-steps button { font-size: 12px; }
  .lf-steps b { font-size: 10px; }
  .lf-sport strong { font-size: 18px; }
  .lf-sport > span { padding-block: 16px; }
  .lf-levels img { height: 90px; }
  .lf-levels button > span { padding: 13px; }
  .lf-levels strong { font-size: 14px; }
  .lf-levels small { font-size: 11px; }
}
@media (min-width: 960px) {
  .lf-panel { top: 50%; bottom: auto; transform: translateY(-50%); height: min(780px,calc(100dvh - 48px)); }
}
@media (max-height: 560px) {
  .lf-panel { top: 8px; }
  .lf-header { padding-top: 6px; }
  .lf-topline { margin-bottom: 0; }
  .lf-topline .icon-button { height: 34px; }
  .lf-steps button { min-height: 29px; }
  .lf-progress { margin-top: 3px; }
  .lf-scroll { padding-top: 14px; }
  .lf-footer { padding-block: 7px 9px; }
  .lf-footer > p { margin-bottom: 5px; }
  .lf-footer button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .lf-step-content { animation: none; } .lf-progress-fill { transition: none; } }
@media (min-width: 960px) and (max-height: 560px) { .lf-panel { top: 12px; bottom: 12px; height: auto; transform: none; } }

/* Home follows the same sport -> place -> period sequence as the lesson popup. */
.home-order-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.home-order-heading h3 { margin: 0; font-size: 13px; font-weight: 700; }
.home-order-heading b { color: var(--accent); margin-right: 5px; font-size: 10px; font-weight: 500; }
.home-order-heading > span { color: var(--muted); font-size: 10px; }
.home-sport-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.home-sport-grid .activity-card { aspect-ratio: 1; min-width: 0; border-radius: 14px; }
.home-sport-grid .activity-card > span { left: 11px; right: 8px; bottom: 11px; }
.home-sport-grid .activity-card strong { font-size: 20px; line-height: 1.25; }
.home-order-filters .home-filter:disabled { opacity: .45; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .home-order-filters .home-filter:disabled:hover { border-color: var(--line); background: var(--surface); }
}
.home-order-filters .home-filter[data-ready="true"] .home-filter-copy small { color: var(--interactive-ink); }
.home-order-filters .home-filter[data-ready="true"] .home-filter-icon { color: var(--accent); }
.home-order-filters .home-filter[data-selected="true"] strong { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
.home-order-hint { margin: 11px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
@media (max-width: 359px) {
  .home-order-heading > span { font-size: 9px; }
  .home-sport-grid { gap: 8px; }
  .home-sport-grid .activity-card > span { left: 9px; bottom: 9px; }
  .home-sport-grid .activity-card strong { font-size: 17px; }
}
