/* デザイン C「ロードサイン」: 道路標識の黄色×黒。黄色は塗り専用で、文字色には使わない（明るい地では読めないため） */
:root {
  --bg: #F4F4F2;
  --panel: #FFFFFF;
  --panel2: #EDEDEA;
  --line: #D6D6D2;
  --ink-line: #111111;
  --text: #111111;
  --muted: #4A4A4A;
  --accent: #FFC400;
  --accent-ink: #111111;
  --ok: #1F6F43;
  --warn: #111111;
  --danger: #B42318;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px; line-height: 1.5;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: rgba(22, 24, 29, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: .02em; }
.brand small { font-size: 12px; color: var(--accent); margin-left: 6px; font-weight: 700; }
.bell { position: relative; text-decoration: none; font-size: 20px; }
.bell span {
  position: absolute; top: -4px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center;
}

main { max-width: 560px; margin: 0 auto; padding: 16px; }
h1 { font-size: 22px; margin: 4px 0 12px; }
h2 { font-size: 15px; color: var(--muted); margin: 24px 0 8px; font-weight: 700; }
p.muted, .muted { color: var(--muted); font-size: 14px; }

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--panel); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.tabs a { text-decoration: none; text-align: center; padding: 8px 0 10px; font-size: 11px; color: var(--muted); }
.tabs a span { display: block; font-size: 20px; line-height: 1.2; }
.tabs a.on { color: var(--accent); }

/* ボタン・チップ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px;
  padding: 14px 22px; font-weight: 800; background: var(--panel2); cursor: pointer; text-decoration: none;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.danger { background: transparent; border: 1px solid #6b3434; color: #ff9b9b; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 8px 14px;
  font-size: 14px; cursor: pointer; white-space: nowrap;
}
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 800; }
.chip:disabled { opacity: .35; }
.tag { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--panel2); color: var(--text); }
.tag.hi { background: rgba(255, 122, 26, .16); color: #ffb27a; }

/* カード（フィード） */
.stack { position: relative; min-height: 470px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 20px; touch-action: pan-y;
  user-select: none; transition: transform .25s ease, opacity .25s ease; box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.card.dragging { transition: none; }
.card .when { font-size: 14px; color: var(--muted); }
.card .area { font-size: 30px; font-weight: 900; line-height: 1.2; margin: 2px 0 6px; }
.card .meet { font-size: 15px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.card .remain { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 2px; }
.card .remain b { font-size: 44px; line-height: 1; color: var(--accent); font-weight: 900; }
.card .count { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--warn); font-weight: 700; }
.card .note { background: var(--panel2); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 10px 0 0; }
.card .actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 18px; }
.host { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--panel2); object-fit: cover; display: grid; place-items: center; font-weight: 800; flex: none; }
.hint-swipe { text-align: center; color: var(--muted); font-size: 12px; margin-top: 10px; }
.empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }

/* フォーム */
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
input[type=text], textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  padding: 12px; font: inherit;
}
textarea { min-height: 72px; resize: vertical; }
.stepper { display: inline-flex; align-items: center; gap: 14px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); font-size: 22px; cursor: pointer; }
.stepper b { font-size: 24px; min-width: 2ch; text-align: center; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--panel); border-radius: 12px; padding: 12px 14px; }
.toggle input { width: 22px; height: 22px; accent-color: var(--accent); }
.map { height: 260px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel2); }
.map.small { height: 170px; }

/* リスト */
.list { display: grid; gap: 10px; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; text-decoration: none;
}
.row .grow { flex: 1; min-width: 0; }
.row .title { font-weight: 800; }
.row .sub { color: var(--muted); font-size: 13px; }
.row.unread { border-color: var(--accent); }

/* 詳細 */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: 6em 1fr; gap: 6px 10px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.status-grid .on { outline: 2px solid var(--accent); }
.person { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border-bottom: 0; }
.person .grow { flex: 1; }
.person .ds { font-size: 13px; color: var(--ok); }
.photo { width: 100%; border-radius: 12px; margin-top: 10px; display: block; }
.done { text-align: center; padding: 30px 8px; }
.done .big { font-size: 34px; font-weight: 900; color: var(--accent); }

/* モーダル・トースト */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); display: grid; align-items: end; }
.sheet {
  background: var(--panel); border-radius: 22px 22px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  max-width: 560px; width: 100%; margin: 0 auto; max-height: 90vh; overflow: auto;
}
.sheet h3 { margin: 0 0 8px; font-size: 19px; }
.sheet .btns { display: grid; gap: 10px; margin-top: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; margin-top: 1px; }
.toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60;
  background: #f3f4f6; color: #111; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; max-width: 90vw;
}
.login { text-align: center; padding-top: 32px; }
.login .lead { font-size: 26px; font-weight: 900; line-height: 1.35; margin: 12px 0 24px; }
.login .lead em { color: var(--accent); font-style: normal; }
.dev { margin-top: 36px; padding: 16px; border: 1px dashed var(--line); border-radius: 14px; text-align: left; }
.leaflet-container { background: #2a2e38; }

/* 枠を立てる（ウィザード） */
.wiz { padding-bottom: 8px; }
.wiz-progress { height: 4px; background: var(--panel2); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.wiz-progress span { display: block; height: 100%; background: var(--accent); transition: width .25s ease; }
.wiz-foot {
  position: sticky; bottom: calc(64px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
  padding: 12px 0; margin-top: 12px; background: linear-gradient(transparent, var(--bg) 30%);
}
.linkish { display: block; margin: 8px auto 0; background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.search { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search input {
  width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text); padding: 12px; font: inherit;
}
.search .btn { padding: 12px 18px; }
.time-row { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.time-row select {
  appearance: none; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 34px 12px 16px; font: inherit; font-size: 22px; font-weight: 800; min-width: 92px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat;
}
.confirm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.confirm-row:last-child { border-bottom: 0; }
.leaflet-tooltip { font-size: 12px; font-weight: 700; padding: 2px 6px; }
.card.mine { border-color: var(--accent); }
.mine-badge { display: inline-block; font-size: 12px; font-weight: 800; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.time-row select option:disabled { color: #555; }

/* さがす: トレカ風カルーセル */
.deck {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: -6px -16px 0; padding: 14px 16px 22px; perspective: 1000px;
  scrollbar-width: none; outline: none; cursor: grab;
}
.deck::-webkit-scrollbar { display: none; }
.deck.dragging { scroll-snap-type: none; cursor: grabbing; }
.deck.dragging .card { pointer-events: none; }
.deck { position: relative; }
.deck .cell { flex: 0 0 min(82vw, 360px); scroll-snap-align: center; margin: 0 -6px; display: flex; }
.deck .card {
  flex: 1; min-width: 0;
  transition: opacity .15s linear; transform-style: preserve-3d; position: relative; overflow: hidden;
  display: flex; flex-direction: column; animation: deal-in .55s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 70ms);
}
.deck .card.front { box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 122, 26, .25); }
/* ホロカードのような光沢。傾きに合わせて光が流れる */
.deck .card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent calc(var(--shine, 50%) - 22%), rgba(255, 255, 255, .10) var(--shine, 50%), transparent calc(var(--shine, 50%) + 22%));
}
.deck .card .go { margin-top: auto; }
.deck .card .host { margin-bottom: 16px; }
@keyframes deal-in {
  from { opacity: 0; translate: 120px 0; rotate: 8deg; }
  to { opacity: 1; translate: 0 0; rotate: 0deg; }
}
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 2px; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.deck-nav .chip { width: 40px; height: 40px; padding: 0; font-size: 22px; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .deck .card { animation: none; } }
.row.plan { gap: 8px; }
.row.plan a { text-decoration: none; }
.row.plan .grow { min-width: 0; }
.row.plan .chev { font-size: 24px; color: var(--muted); padding: 0 2px 0 6px; }
details.past { margin-top: 24px; }
details.past summary { color: var(--muted); font-weight: 700; cursor: pointer; margin-bottom: 10px; }
.deck .card.clone { animation: none; }
.deck.jumping { scroll-behavior: auto; scroll-snap-type: none; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.wiz-foot.single { grid-template-columns: 1fr; }

/* マイページ */
.profile { display: flex; align-items: center; gap: 16px; }
.avatar.big { width: 72px; height: 72px; font-size: 28px; }
.avatar-edit { position: relative; cursor: pointer; flex: none; }
.avatar-edit.locked { cursor: default; }
.avatar-cam { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--panel2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; }
.name-row { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.name-edit input { margin-bottom: 4px; }
.lock-note { font-size: 14px; border-color: #6b5a2a; background: #2a2414; color: #f1d58a; }
input:disabled, .chip:disabled { opacity: .45; }
.card .trip { font-size: 13px; color: var(--muted); margin-top: 2px; }
.trip-hint { margin-top: 12px; font-size: 15px; }
.toggle input:disabled { opacity: .5; }
.lock-why { font-size: 13px; color: #f1d58a; margin: 6px 2px 0; }

/* カードの背景（行き先の写真 / 地図）。文字が読めるよう、上ほど見せて下へ消していく */
.card-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-size: cover; background-position: center; opacity: .38;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
  transition: opacity .4s ease;
}
.card-bg.is-map { opacity: .16; filter: grayscale(1) contrast(1.1); }
.deck .card > *:not(.card-bg):not(.card-credit) { position: relative; z-index: 1; }
.card-credit {
  position: absolute; z-index: 2; bottom: 4px; right: 14px; max-width: 80%; font-size: 10px; color: rgba(243, 244, 246, .7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}
.card-credit a { color: inherit; }
.card .area, .card .when, .card .meet { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.freeze-note { border-color: #2f5a78; background: #14222c; color: #bfe3ff; font-size: 14px; }
.warn-note { background: #2a2414; color: #f1d58a; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 10px 0 0; }

/* マッチング成立の演出 */
.match-fx {
  position: fixed; inset: 0; z-index: 80; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 122, 26, .32), transparent 60%), rgba(10, 11, 14, .97); animation: fx-in .25s ease both;
  text-align: center; overflow: hidden; cursor: pointer;
}
.match-fx.out { animation: fx-out .28s ease both; }
.fx-pair { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 110px; }
.fx-av .avatar.big { width: 84px; height: 84px; font-size: 32px; border: 3px solid var(--accent); box-shadow: 0 0 0 6px rgba(255, 122, 26, .18); }
.fx-av.left { animation: fx-left .55s cubic-bezier(.2, 1.4, .4, 1) both; }
.fx-av.right { animation: fx-right .55s cubic-bezier(.2, 1.4, .4, 1) both; }
.fx-spark {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  border: 3px solid #fff; opacity: 0; animation: fx-spark .6s ease-out .45s both;
}
.fx-title { font-size: 44px; font-weight: 900; color: var(--accent); letter-spacing: .04em; text-shadow: 0 4px 24px rgba(255, 122, 26, .45); animation: fx-pop .5s cubic-bezier(.2, 1.6, .4, 1) .5s both; }
.fx-sub { font-size: 16px; font-weight: 700; animation: fx-rise .4s ease .75s both; }
.fx-sub.muted { font-size: 14px; font-weight: 400; animation-delay: .85s; }
.fx-confetti i {
  position: absolute; top: -12px; left: calc(50% + var(--x) * 46vw); width: 8px; height: 14px; border-radius: 2px; background: var(--c);
  animation: fx-fall 1.9s cubic-bezier(.25, .6, .4, 1) calc(.45s + var(--d)) both;
}
.match-fx.quiet .fx-title { font-size: 30px; color: var(--text); text-shadow: none; }
.match-fx.quiet .fx-spark { display: none; }
@keyframes fx-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fx-out { to { opacity: 0; transform: scale(1.04); } }
@keyframes fx-left { from { transform: translateX(-60vw) rotate(-25deg); } to { transform: translateX(10px); } }
@keyframes fx-right { from { transform: translateX(60vw) rotate(25deg); } to { transform: translateX(-10px); } }
@keyframes fx-spark { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(9); border-width: 1px; } }
@keyframes fx-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes fx-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fx-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(105vh) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) {
  .match-fx *, .match-fx { animation-duration: .01s !important; animation-delay: 0s !important; }
  .fx-confetti { display: none; }
}

/* 地図（Leaflet）の重なり順を地図の中だけに閉じ込める。ヘッダー・シート・演出の上に地図が出ないように */
.map, .leaflet-container { position: relative; z-index: 0; isolation: isolate; }
.match-fx { z-index: 2000; }
.modal { z-index: 1500; }
.toast { z-index: 1600; }

/* ログイン画面のサービス名 */
.login .logo { font-size: 44px; font-weight: 900; letter-spacing: .06em; color: var(--accent); line-height: 1.1; }
.login .logo-sub { font-size: 14px; font-weight: 700; color: var(--text); margin: 6px 0 22px; letter-spacing: .04em; }
.login .lead { font-size: 22px; }


/* ================= デザイン C「ロードサイン」の上書き ================= */
.top { background: var(--accent); border-bottom: 2px solid var(--ink-line); backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { background: #111; color: var(--accent); border-radius: 8px; padding: 2px 10px 4px; font-weight: 900; font-size: 20px; line-height: 1.15; letter-spacing: .02em; }
.brand small { color: #111; font-weight: 900; margin-left: 0; }
.bell { width: 44px; height: 44px; display: grid; place-items: center; color: #111; }
.bell svg, .tabs svg { display: block; }
.bell span { background: #111; color: var(--accent); top: 4px; right: 2px; }

.tabs { background: var(--accent); border-top: 2px solid var(--ink-line); }
.tabs a { color: #3A3200; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tabs a span { font-size: 0; line-height: 0; }
.tabs a.on { color: #111; font-weight: 900; }
.tabs a.on svg { stroke-width: 2.6; }

.btn { background: var(--panel2); color: var(--text); }
.btn.primary { background: var(--accent); color: #111; box-shadow: inset 0 0 0 2px #111; border-radius: 12px; }
.btn.primary:disabled { opacity: .5; }
.btn.ghost { border: 1.5px solid #111; color: #111; }
.btn.danger { border: 1.5px solid var(--danger); color: var(--danger); }
.chip { background: var(--panel); border: 1.5px solid #111; color: #111; font-weight: 700; }
.chip.on { background: #111; border-color: #111; color: var(--accent); }
.tag { background: var(--panel2); color: #111; font-weight: 700; }
.tag.hi { background: #111; color: var(--accent); }

.card { background: var(--panel); border: 2px solid var(--ink-line); box-shadow: 4px 4px 0 #111; }
.deck .card.front { box-shadow: 6px 6px 0 #111; }
.card.mine { border-color: #111; }
.deck .card.mine.front { box-shadow: 6px 6px 0 var(--accent), 6px 6px 0 2px #111; }
.deck .card::after { background: linear-gradient(105deg, transparent calc(var(--shine, 50%) - 22%), rgba(255, 196, 0, .14) var(--shine, 50%), transparent calc(var(--shine, 50%) + 22%)); mix-blend-mode: multiply; }
.card .area, .card .when, .card .meet { text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 0 12px rgba(255, 255, 255, .8); }
.card .remain b { color: #111; background: var(--accent); border-radius: 8px; padding: 2px 10px 4px; box-shadow: inset 0 0 0 2px #111; }
.card .count { color: #111; }
.card .note { background: var(--panel2); }
.card-bg { opacity: .32; }
.card-bg.is-map { opacity: .28; filter: grayscale(.6); }
.card-credit { color: #333; text-shadow: 0 0 4px #fff, 0 0 2px #fff; }
.mine-badge { box-shadow: inset 0 0 0 2px #111; }

.panel { background: var(--panel); border: 1.5px solid var(--line); }
.row { background: var(--panel); border: 1.5px solid var(--line); }
.row.unread { border: 2px solid #111; background: #FFF6CC; }
input[type=text], textarea, .search input, .time-row select { background: #fff; border: 1.5px solid #111; color: #111; }
.time-row select { background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%); }
.toggle { background: var(--panel); border: 1.5px solid var(--line); }
.toggle input, .check input { accent-color: #111; }
.stepper button { border: 1.5px solid #111; background: #fff; color: #111; }
.status-grid .on { outline: 3px solid #111; background: var(--accent); }
.person .ds { color: var(--ok); font-weight: 700; }
.wiz-progress { background: var(--panel2); box-shadow: inset 0 0 0 1px #111; height: 8px; border-radius: 4px; }
.wiz-progress span { background: #111; }
.dev { border-color: #999; }

.modal { background: rgba(17, 17, 17, .5); }
.sheet { background: var(--panel); border-top: 3px solid #111; }
.toast { background: #111; color: var(--accent); }
.leaflet-container { background: var(--panel2); }

.lock-note { background: #FFF6CC; border: 2px solid #111; color: #111; }
.lock-why { color: #5A4A00; }
.freeze-note { background: #E8F1FB; border: 2px solid #1F4E79; color: #12324F; }
.warn-note { background: #FFF6CC; color: #111; border: 1.5px solid #111; }

.login .logo { display: inline-block; background: #111; color: var(--accent); border-radius: 14px; padding: 4px 22px 10px; font-size: 46px; }
.login .logo-sub { color: #111; font-weight: 900; }
.login .lead em { color: #111; background: linear-gradient(transparent 55%, var(--accent) 55%); padding: 0 2px; }
.done .big { color: #111; display: inline-block; background: var(--accent); border-radius: 12px; padding: 2px 16px 6px; box-shadow: inset 0 0 0 2px #111; }
.err-text { color: var(--danger); font-weight: 700; }

.match-fx { background: radial-gradient(circle at 50% 42%, rgba(255, 196, 0, .38), transparent 60%), rgba(17, 17, 17, .96); color: #fff; }
.fx-title { color: var(--accent); text-shadow: 0 4px 24px rgba(255, 196, 0, .45); }
.fx-av .avatar.big { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(255, 196, 0, .22); background: #2a2a2a; color: #fff; }
.match-fx .muted { color: #c9c9c9; }
.ic { display: inline-block; vertical-align: -2px; flex: none; }
.card .meet, .card .trip { display: flex; align-items: center; gap: 6px; }
