:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-raised: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --hairline: rgba(0, 0, 0, 0.1);
  --fill: rgba(0, 0, 0, 0.06);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --red: #d70015;
  --red-tint: #ffe9e7;
  --orange-text: #b25000;
  --orange-tint: #fff1dc;
  --green: #248a3d;
  --green-tint: #e3f7e8;
  --orange: #ff9500;
  --teal: #30b0c7;
  --purple: #af52de;
  --focus: 0 0 0 4px rgba(0, 113, 227, 0.3);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

[hidden] { display: none !important; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.screen {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  padding: max(env(safe-area-inset-top), 16px) 20px max(env(safe-area-inset-bottom), 24px);
}

h1 { font-size: 2.1rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
h2 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin: 0; }

.muted { color: var(--muted); margin: 0; font-size: 0.94rem; letter-spacing: -0.01em; }
.center { text-align: center; }
.foot-note { text-align: center; margin-top: 28px; font-size: 0.82rem; }

.home-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0 20px; }
.home-top .muted { margin-top: 4px; font-size: 1rem; }

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--fill);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.icon-button:hover { background: rgba(0, 0, 0, 0.09); }
.icon-button:active { transform: scale(0.94); }
.icon-button svg { width: 22px; height: 22px; fill: currentColor; }

.home-content { display: grid; gap: 14px; }

.home-card { border-radius: 24px; padding: 22px; background: var(--surface); }
.home-card-name { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.home-card-title { margin: 8px 0 0; font-size: 1.75rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.home-card-detail { margin: 6px 0 0; font-size: 1.12rem; letter-spacing: -0.015em; }
.tone-bad { background: var(--red-tint); }
.tone-bad .home-card-title, .tone-bad .home-card-detail { color: var(--red); }
.tone-warn { background: var(--orange-tint); }
.tone-warn .home-card-title { color: var(--orange-text); }
.tone-ok { background: var(--green-tint); }
.tone-ok .home-card-title { color: var(--green); }

.all-times { margin-top: 16px; padding-top: 12px; border-top: 0.5px solid var(--hairline); }
.all-times summary { cursor: pointer; font-size: 0.94rem; font-weight: 500; color: var(--blue); list-style: none; display: flex; align-items: center; gap: 6px; }
.all-times summary::-webkit-details-marker { display: none; }
.all-times summary::after { content: '›'; font-size: 1.3rem; line-height: 1; transition: transform 0.2s ease; }
.all-times[open] summary::after { transform: rotate(90deg); }
.all-times ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.94rem; color: var(--text); }
.all-times .badge { margin-left: 8px; }

.empty-state { background: var(--surface); border-radius: 24px; padding: 36px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.empty-state .tile { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 6px; }
.empty-state .tile svg { width: 30px; height: 30px; }
.empty-state .btn { margin-top: 10px; }

.banner { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 20px; padding: 14px 16px; margin-bottom: 14px; }
.banner-text { margin: 0; flex: 1; font-size: 0.9rem; line-height: 1.35; color: var(--muted); }

.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 0 18px; }
.nav h2 { grid-column: 2; font-size: 1.05rem; font-weight: 600; text-align: center; white-space: nowrap; }
.nav-back {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 1.06rem;
  padding: 6px 8px 6px 0;
  cursor: pointer;
}
.nav-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.panel { display: grid; gap: 16px; }
.panel .muted { margin: 0; }

.menu-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: 20px; overflow: hidden; }
.menu-list li { position: relative; }
.menu-list li + li::before { content: ''; position: absolute; top: 0; left: 62px; right: 0; height: 0.5px; background: var(--hairline); }
.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
button.menu-row:active { background: rgba(0, 0, 0, 0.06); }
.menu-row.static { cursor: default; }
.menu-label { flex: 1; }
.menu-value { color: var(--muted); font-size: 0.94rem; }
.chevron { width: 18px; height: 18px; fill: none; stroke: #c7c7cc; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.tile svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile-orange { background: linear-gradient(180deg, #ffb340, var(--orange)); }
.tile-blue { background: linear-gradient(180deg, #3d9bff, var(--blue)); }
.tile-teal { background: linear-gradient(180deg, #5ad0e6, var(--teal)); }
.tile-purple { background: linear-gradient(180deg, #c97cf0, var(--purple)); }
.tile-red { background: linear-gradient(180deg, #ff6b61, var(--red)); }
.tile-gray { background: linear-gradient(180deg, #a1a1a6, #8e8e93); }

.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.btn {
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 0;
  background: var(--fill);
  color: var(--blue);
  border-radius: 980px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: rgba(0, 0, 0, 0.09); }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-hover); }
.btn.wide { width: 100%; padding: 14px 24px; }
.btn.small { padding: 8px 16px; font-size: 0.9rem; flex-shrink: 0; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn:focus-visible, .icon-button:focus-visible, .nav-back:focus-visible, .menu-row:focus-visible, .lang-btn:focus-visible, .zone-btn:focus-visible, .place:focus-visible, .watch-remove:focus-visible { outline: none; box-shadow: var(--focus); }

.hint { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--surface); font-size: 0.9rem; color: var(--muted); }

.lang-switch { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--fill); flex-shrink: 0; }
.lang-btn {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.lang-btn[aria-pressed='true'] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }

.search { position: relative; }
input[type='search'] {
  width: 100%;
  font: inherit;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  padding: 14px 16px;
  border-radius: 14px;
  border: 0;
  background: var(--surface);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.2s ease;
}
input[type='search']::placeholder { color: #8e8e93; }
input[type='search']:focus { outline: none; box-shadow: var(--focus); }

.suggestions {
  position: absolute;
  inset: calc(100% + 8px) 0 auto 0;
  z-index: 5;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-radius: 16px;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16), 0 0 0 0.5px var(--hairline);
}
.suggestions li { padding: 11px 12px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.suggestions li:hover, .suggestions li[aria-selected='true'] { background: var(--blue); color: #fff; }
.suggestions li:hover .tag, .suggestions li[aria-selected='true'] .tag { color: rgba(255, 255, 255, 0.8); }
.suggestions .tag { color: var(--muted); font-size: 0.82rem; white-space: nowrap; align-self: center; }

.zone-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.zone-btn {
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  border: 0;
  background: var(--surface);
  color: var(--text);
  border-radius: 980px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.zone-btn:active { transform: scale(0.96); }
.zone-btn[aria-pressed='true'] { background: var(--blue); color: #fff; }

.watch-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.watch-item { background: var(--surface); border-radius: 16px; padding: 12px 16px; }
.watch-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.watch-name { font-weight: 600; letter-spacing: -0.015em; }
.watch-remove {
  border: 0;
  background: var(--fill);
  color: var(--muted);
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.watch-remove:hover { background: rgba(0, 0, 0, 0.12); }

.closure { background: var(--surface); border-radius: 16px; padding: 16px; }
.closure + .closure { margin-top: 10px; }
.closure.mine { background: var(--red-tint); }
.closure.past { opacity: 0.5; }
.closure-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.closure-time { font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; }
.closure .muted { margin-top: 2px; }
.closure ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
.closure li + li { margin-top: 4px; }

.badge { font-size: 0.74rem; font-weight: 600; letter-spacing: 0; padding: 3px 9px; border-radius: 980px; background: var(--fill); color: var(--muted); white-space: nowrap; }
.badge.mine { background: var(--red); color: #fff; }
.badge.live { background: var(--green-tint); color: var(--green); }

.zone-block { background: var(--surface); border-radius: 16px; padding: 14px 16px; }
.zone-block + .zone-block { margin-top: 10px; }
.zone-block summary { cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; list-style: none; }
.zone-block summary::-webkit-details-marker { display: none; }
.zone-block summary::after { content: '›'; color: #c7c7cc; font-size: 1.4rem; line-height: 1; margin-left: 4px; transition: transform 0.2s ease; }
.zone-block[open] summary::after { transform: rotate(90deg); }
.zone-block .count { color: var(--muted); font-weight: 400; font-size: 0.88rem; margin-left: auto; }
.place-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 0.5px solid var(--hairline); }
.place {
  border: 0;
  background: var(--surface-raised);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  border-radius: 980px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.place:hover { background: #e8e8ed; }
.place[aria-pressed='true'] { background: var(--blue); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  .home-card-title { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.notice-card .home-card-title { font-size: 1.3rem; }
.notice-body { margin-top: 12px; display: grid; gap: 8px; font-size: 0.94rem; }
.notice-body p { margin: 0; }
.home-link { display: block; width: 100%; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.home-link .home-card-title { font-size: 1.15rem; color: var(--text); }
.home-link.tone-warn .home-card-title { color: var(--orange-text); }
.notice { border-radius: 20px; padding: 18px; background: var(--surface); margin-bottom: 12px; }
.notice.mine { background: var(--orange-tint); }
.notice .closure-head { margin-bottom: 4px; }
.notice-card .home-card-detail { font-size: 0.94rem; font-weight: 400; color: var(--text); }

html[data-text='large'] { font-size: 118%; }
html[data-text='xlarge'] { font-size: 136%; }
.tile-text { color: #fff; font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; justify-content: center; }
.zone-map { height: 380px; border-radius: 18px; overflow: hidden; background: var(--surface); margin: 12px 0; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.9rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.leaflet-popup-content .link-btn { display: block; margin-top: 6px; }
.tile-green { background: linear-gradient(180deg, #5fd57a, #34c759); }

.card-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; }
.link-btn { font: inherit; font-size: 0.94rem; font-weight: 500; color: var(--blue); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-btn:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.all-times .link-btn { margin-left: 8px; font-size: 0.88rem; padding: 0; }
#locate-results .place { background: var(--surface); }
#screen-settings .panel { margin-top: 20px; }

.sheet {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 536px; margin: 0 auto;
  background: var(--surface-raised); border-radius: 22px; padding: 20px; z-index: 20;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22), 0 0 0 0.5px rgba(0, 0, 0, 0.08);
  animation: sheet-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.sheet[hidden] { display: none; }
.sheet h2 { margin: 0 0 6px; font-size: 1.15rem; }
.sheet p { margin: 0 0 14px; }
.sheet .row { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } }

.week-grid { display: grid; grid-template-columns: 76px repeat(3, 1fr); gap: 6px; margin: 12px 0 24px; font-size: 0.78rem; }
.wg-head { font-weight: 600; text-align: center; padding: 4px 0; }
.wg-day { font-weight: 600; white-space: pre-line; line-height: 1.25; align-self: center; }
.wg-day small { display: block; font-weight: 400; color: var(--muted); }
.wg-cell { background: var(--surface); border-radius: 10px; padding: 6px 4px; text-align: center; min-height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-variant-numeric: tabular-nums; }
.wg-cell.mine { font-weight: 700; }
.wg-cell.live { position: relative; }
.wg-cell.empty { color: var(--muted); }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 20px 0 8px; }
.day-head h3 { margin: 0; font-size: 1.05rem; }
.week-grid.single { grid-template-columns: 76px 1fr; margin: 12px 0 0; }
.wg-cell.row { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 4px 16px; }

.week-grid.single .wg-cell { background: rgba(255, 255, 255, 0.7); color: var(--text); font-weight: 500; gap: 6px; padding: 8px 10px; }
.week-grid.single .wg-cell.empty { background: rgba(0, 0, 0, 0.04); color: var(--muted); font-weight: 400; }
.wg-times { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; }
.wg-bar { position: relative; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.09); overflow: hidden; }
.wg-seg { position: absolute; top: 0; bottom: 0; background: var(--orange); }
.wg-seg.live { background: var(--red); }
.week-grid.single .wg-cell.row { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }

.sheet.tall { max-height: 72vh; overflow-y: auto; z-index: 30; }
.backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 25; }
.backdrop[hidden] { display: none; }
button.wg-head { font: inherit; font-weight: 600; background: none; border: 0; color: var(--text); cursor: pointer; border-radius: 10px; text-decoration: underline dotted; text-underline-offset: 4px; }
button.wg-head:focus-visible { outline: none; box-shadow: var(--focus); }
.sheet .place-list { margin-bottom: 14px; }

.zone-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; flex-shrink: 0; }
.tag .zone-dot { width: 8px; height: 8px; margin-right: 5px; }
.week-grid:not(.single) .wg-cell { background: var(--surface); background: color-mix(in srgb, var(--zone) 12%, #fff); }
.week-grid:not(.single) .wg-cell.empty { background: var(--surface); }
.week-grid:not(.single) .wg-cell.mine { background: color-mix(in srgb, var(--zone) 26%, #fff); box-shadow: inset 0 0 0 2px var(--zone); }
.wg-cell.live { padding-top: 18px; }
.wg-cell.live::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: #1d1d1f; }
button.wg-head { border-radius: 0; text-decoration: none; padding: 6px 2px 5px; border-bottom: 3px solid var(--zone); }

.week-grid:not(.single) .wg-cell span { white-space: nowrap; }
@media (max-width: 420px) {
  .week-grid:not(.single) { grid-template-columns: 62px repeat(3, 1fr); gap: 4px; font-size: 0.72rem; }
  .week-grid:not(.single) .wg-cell { padding-left: 2px; padding-right: 2px; border-radius: 9px; }
  .week-grid:not(.single) .wg-day { font-size: 0.72rem; }
}
@media (max-width: 345px) {
  .week-grid:not(.single) { font-size: 0.66rem; }
  .week-grid:not(.single) .wg-day { font-size: 0.68rem; }
}


.form { display: grid; gap: 8px; margin-top: 14px; }
.form label { font-size: 0.9rem; font-weight: 600; margin-top: 6px; }
.form input[type='text'], .form input[type='email'], .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--surface); color: var(--text); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus-visible, .form textarea:focus-visible { outline: none; box-shadow: var(--focus); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 12px; }
.form .check input { margin-top: 4px; width: 20px; height: 20px; flex-shrink: 0; }
.form .btn { margin-top: 12px; }

.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); background: #1d1d1f; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 0.94rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); }
.toast[hidden] { display: none; }
.toast .link-btn { color: #6cb4ff; font-weight: 600; padding: 2px 0; }

.skeleton { pointer-events: none; }
.sk { border-radius: 8px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.12) 37%, rgba(0, 0, 0, 0.06) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.sk-line { height: 14px; width: 70%; margin: 0 0 12px; }
.sk-line.short { width: 28%; }
.sk-title { height: 30px; width: 62%; margin: 0 0 14px; }
.week-grid.loading .wg-cell { background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.1) 37%, rgba(0, 0, 0, 0.05) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; color: transparent; box-shadow: none; }
.week-grid.loading .wg-cell::after { display: none; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .sk, .week-grid.loading .wg-cell { animation: none; } }

.home-card.has-art { position: relative; }
.home-card.has-art .home-card-name, .home-card.has-art .home-card-title, .home-card.has-art .home-card-detail { padding-right: 74px; }
.art { position: absolute; top: 12px; right: 12px; width: 68px; height: 68px; pointer-events: none; overflow: visible; }
.art * { transform-box: fill-box; transform-origin: center; }
.art-bob { animation: art-bob 2.6s ease-in-out infinite; transform-origin: 50% 90%; }
.art-droop { animation: art-droop 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
.art .bubble { opacity: 0; animation: art-rise 3.2s ease-in infinite; }
.art .b2 { animation-delay: 1.1s; }
.art .b3 { animation-delay: 2.1s; }
.art .spark { opacity: 0; animation: art-twinkle 2.4s ease-in-out infinite; }
.art .s2 { animation-delay: 1.2s; }
.art .tear { animation: art-tear 2.6s ease-in infinite; }
.art .hand { transform-box: view-box; transform-origin: 60px 58px; animation: art-spin 8s linear infinite; }
@keyframes art-bob { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-3px) scale(1.04, 0.97); } }
@keyframes art-droop { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.02, 0.95) translateY(1px); } }
@keyframes art-rise { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 20% { opacity: 0.9; } 100% { transform: translateY(-24px) scale(1); opacity: 0; } }
@keyframes art-twinkle { 0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
@keyframes art-tear { 0% { transform: translateY(-4px) scale(0.6); opacity: 0; } 25% { opacity: 1; transform: translateY(0) scale(1); } 100% { transform: translateY(22px); opacity: 0; } }
@keyframes art-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .art *, .art-bob, .art-droop { animation: none !important; }
  .art .bubble, .art .spark { opacity: 0.8; }
  .art .tear { opacity: 1; }
}

a.menu-row { text-decoration: none; color: inherit; }
a.menu-row:active { background: rgba(0, 0, 0, 0.06); }
.menu-label small { display: block; margin-top: 2px; font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.section-title { margin: 26px 4px 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.contact-list { margin-top: 14px; }

.sources-help { margin: 4px 4px 14px; }
