/* のみどこ。 — 写真を主役に、太いゴシックとガラスのパネルで組む */
:root{
  --text:#fff;--sub:rgba(255,255,255,.64);--soft:rgba(255,255,255,.82);--accent:#FF6B3D;--on-accent:#160A05;
  --glass:rgba(18,18,20,.66);--glass-line:rgba(255,255,255,.12);--field:rgba(255,255,255,.09);--chip:rgba(255,255,255,.11);
  --sans:'LINE Seed JP','Hiragino Sans','Noto Sans JP','Yu Gothic',system-ui,sans-serif;
  --ease:cubic-bezier(.2,.8,.2,1);--spring:cubic-bezier(.2,1.35,.35,1);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{background:#000}
html,body{margin:0;color:var(--text);font-family:var(--sans);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased}
body{min-height:100dvh;display:flex;justify-content:center;overflow-x:hidden}
[hidden]{display:none!important}
main>section{transition:opacity .19s ease,transform .19s ease}
main>section.leaving{opacity:0;transform:translateY(-10px) scale(.985)}

/* 背景の写真 */
.backdrop{position:fixed;inset:0;z-index:-1;overflow:hidden;background:#000}
.backdrop img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .7s var(--ease);animation:drift 26s ease-in-out infinite alternate}
.backdrop img.on{opacity:1}
.backdrop.blur img{animation:none;transform:scale(1.06)}
.backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.42) 0%,rgba(0,0,0,.5) 24%,rgba(0,0,0,.88) 56%,#000 80%)}
.backdrop.blur::after{background:rgba(0,0,0,.28)}
@keyframes drift{from{transform:scale(1.04)}to{transform:scale(1.13) translateY(-1.5%)}}

.app{width:100%;max-width:440px;min-height:100dvh;display:flex;flex-direction:column;padding:0 16px calc(20px + env(safe-area-inset-bottom))}
.top{display:flex;flex-direction:column;justify-content:flex-end;gap:12px;min-height:34dvh;padding:calc(18px + env(safe-area-inset-top)) 8px 22px}
.top.short{min-height:0;padding-top:calc(26px + env(safe-area-inset-top))}
.brand{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--soft);margin-bottom:auto}
.brand b{font-size:15px;font-weight:800;letter-spacing:.04em;color:#fff}.brand b span{color:var(--accent)}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;color:#fff;display:inline-flex;align-items:center;gap:8px}
.eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent)}
h1{margin:0;font-size:34px;line-height:1.2;font-weight:800;letter-spacing:-.01em;text-shadow:0 2px 24px rgba(0,0,0,.45)}
h1.big{font-size:clamp(34px,11.3vw,44px);line-height:1.14;letter-spacing:-.02em}
h1:focus{outline:0}
p{margin:0}.lead{font-size:14px;line-height:1.7;color:rgba(255,255,255,.88)}.note{font-size:12px;line-height:1.7;color:var(--sub)}

/* ガラスのパネル */
.sheet{display:flex;flex-direction:column;gap:18px;padding:22px 18px 18px;border-radius:30px;background:var(--glass);border:1px solid var(--glass-line);-webkit-backdrop-filter:blur(28px) saturate(1.6);backdrop-filter:blur(28px) saturate(1.6)}
.stack{display:flex;flex-direction:column;gap:12px}
.field{display:flex;flex-direction:column;gap:8px;position:relative}
label,.label{font-size:13px;font-weight:700;color:var(--soft)}
input[type=text]{height:56px;padding:0 18px;background:var(--field);border:1px solid transparent;border-radius:18px;color:#fff;font:inherit;font-size:16px;width:100%;transition:border-color .2s,background .2s}
input[type=text]:focus{outline:0;border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.13)}
input::placeholder{color:rgba(255,255,255,.58)}
button:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.suggest{position:absolute;left:0;right:0;top:100%;margin:8px 0 0;padding:6px;list-style:none;background:rgba(30,30,33,.96);border:1px solid var(--glass-line);border-radius:20px;z-index:5;max-height:264px;overflow:auto;box-shadow:0 18px 40px rgba(0,0,0,.5);transform-origin:top center;animation:pop .22s var(--ease)}
@keyframes pop{from{opacity:0;transform:translateY(-6px) scale(.98)}}
.suggest li{padding:10px 14px;min-height:48px;border-radius:14px;color:#fff;font-size:15px;font-weight:700;cursor:pointer;display:flex;flex-direction:column;justify-content:center}
.suggest li:hover,.suggest li:active,.suggest li[aria-selected=true]{background:var(--chip)}.suggest small{display:block;font-size:11px;font-weight:400;color:var(--sub)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{height:44px;padding:0 16px;border-radius:22px;font:inherit;font-size:14px;font-weight:700;background:var(--chip);color:#fff;border:0;cursor:pointer;transition:background .25s var(--ease),color .25s var(--ease),transform .25s var(--spring)}
.chip:active{transform:scale(.94)}
.chip[aria-pressed=true]{background:#fff;color:#000;animation:chip-pop .34s var(--spring)}
@keyframes chip-pop{from{transform:scale(.9)}}
.tag{height:30px;padding:0 12px;border-radius:15px;background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.2);font-size:12px;font-weight:700;color:#fff;display:inline-flex;align-items:center;gap:6px}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;height:58px;border:0;border-radius:29px;background:#fff;color:#000;font:inherit;font-size:16px;font-weight:800;text-decoration:none;cursor:pointer;width:100%;transition:transform .3s var(--spring),opacity .2s}
.btn:active{transform:scale(.965)}
.btn.loading{pointer-events:none}.btn.loading>span{opacity:.35}
.btn.loading::after{content:"";width:18px;height:18px;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;position:absolute;animation:spin .7s linear infinite}
.btn{position:relative}
@keyframes spin{to{transform:rotate(1turn)}}
.btn.accent{background:var(--accent);color:var(--on-accent)}
.btn.ghost{background:var(--chip);color:#fff}
.btn.small{height:52px;font-size:15px}
.link{background:none;border:0;color:#fff;font:inherit;font-size:14px;font-weight:700;min-height:44px;cursor:pointer;text-decoration:none;display:flex;align-items:center;justify-content:center}
.link.muted{color:var(--sub);font-weight:400;font-size:13px}
.row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.box{display:flex;flex-direction:column;gap:4px;padding:16px 18px;background:var(--field);border-radius:20px}
.stat{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:var(--field);border-radius:20px;font-size:14px;color:var(--soft)}
.stat b{font-size:24px;font-weight:800;color:#fff;font-variant-numeric:tabular-nums}.stat b small{font-size:13px;color:var(--sub);font-weight:400}
.url{font-size:16px;font-weight:700;word-break:break-all}
.err{color:#FFB8A3;font-size:13px}.err:empty{display:none}
.grow{flex:1}

/* 出現アニメーション（--i の順にずらす） */
.reveal{opacity:0;animation:rise .62s var(--ease) forwards;animation-delay:calc(var(--i,0)*70ms + 60ms)}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.mask{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.08em}
.mask>span{display:inline-block;transform:translateY(105%);animation:lift .8s var(--ease) forwards;animation-delay:calc(var(--i,0)*70ms + 120ms)}
@keyframes lift{to{transform:none}}

/* スワイプ */
.swipe{display:flex;flex-direction:column;gap:14px;flex:1;padding-top:calc(14px + env(safe-area-inset-top))}
.progress{display:flex;align-items:center;gap:12px;height:28px;padding:0 4px}
.bars{flex:1;display:flex;gap:5px}.bars i{flex:1;height:4px;border-radius:2px;background:rgba(255,255,255,.22);overflow:hidden;position:relative}
.bars i::after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .45s var(--ease)}
.bars i.done::after{transform:scaleX(1)}.bars i.now::after{transform:scaleX(.5)}
.count{font-size:13px;font-weight:700;color:var(--soft);font-variant-numeric:tabular-nums}
.deck{position:relative;flex:1;min-height:max(240px,min(480px,calc(100dvh - 330px)));margin-bottom:20px}
@media (max-height:680px){.swipehelp{display:none}.vote{gap:20px}.vote button{width:60px;height:60px}.vote .yes{width:70px;height:70px}.vote .ng{width:50px;height:50px}}
.card{position:absolute;inset:0;cursor:grab;transform-origin:50% 100%;border-radius:34px;overflow:hidden;background:#111;touch-action:none;user-select:none;-webkit-user-select:none;will-change:transform;box-shadow:0 24px 60px rgba(0,0,0,.55)}
.card.grabbing{cursor:grabbing}
.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.55) 26%,rgba(0,0,0,0) 54%);pointer-events:none}
.card .info{position:absolute;left:0;right:0;bottom:0;z-index:1;display:flex;flex-direction:column;gap:8px;padding:22px 22px 24px}
.card h2{margin:0;font-size:clamp(24px,7.6vw,30px);font-weight:800;line-height:1.2;letter-spacing:-.01em;text-wrap:balance}
.card .desc{font-size:14px;line-height:1.6;color:var(--soft)}
.pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}
.pill{height:28px;padding:0 12px;border-radius:14px;background:rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center}
.card .credit{font-size:10px;color:rgba(255,255,255,.55)}
.stamp{position:absolute;top:26px;z-index:2;padding:8px 18px;border-radius:16px;font-weight:800;font-size:22px;opacity:0;letter-spacing:.04em}
.stamp.yes{left:22px;background:var(--accent);color:var(--on-accent);transform:rotate(-8deg)}
.stamp.no{right:22px;background:rgba(255,255,255,.92);color:#000;transform:rotate(8deg)}
.vote{display:flex;justify-content:center;align-items:center;gap:26px;padding:4px 0 2px}
.vote button{width:72px;height:72px;border-radius:50%;border:0;cursor:pointer;display:grid;place-items:center;transition:transform .32s var(--spring)}
.vote button:active{transform:scale(.88)}
.vote button.bump{animation:bump .42s var(--spring)}
@keyframes bump{35%{transform:scale(1.18)}}
.vote .no{background:rgba(255,255,255,.16);color:#fff}
.vote .yes{width:84px;height:84px;background:var(--accent);color:var(--on-accent);box-shadow:0 12px 34px rgba(255,107,61,.42)}
.vote{padding-bottom:22px}.vote button{position:relative}
.vote .cap{position:absolute;left:50%;top:calc(100% + 6px);transform:translateX(-50%);font-size:11px;font-weight:700;color:var(--sub);white-space:nowrap;pointer-events:none}
.vote .ng{width:56px;height:56px;background:rgba(0,0,0,.45);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.34)}
.swipehelp{margin:0;text-align:center;font-size:11px;color:var(--sub);letter-spacing:.02em}
.skipnote{margin:6px 4px 0;font-size:12px;line-height:1.6;color:var(--soft)}
.stamp.ng{left:50%;top:38%;background:#000;color:#fff;box-shadow:inset 0 0 0 2px #fff;transform:translateX(-50%)}
.card .art{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.card .art span{font-size:min(46vw,210px);font-weight:800;line-height:1;color:rgba(255,255,255,.1);transform:translateY(-14%)}
.card .crowd{align-self:flex-start;height:26px;padding:0 11px;border-radius:13px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:800;display:inline-flex;align-items:center}
.card .crowd.wary{background:rgba(0,0,0,.55);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4)}
#detail-list{display:flex;flex-direction:column;gap:18px;margin-bottom:20px}

/* 回答完了 */
.center{flex:1;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:40px 8px}
.check{width:72px;height:72px}
.check circle{fill:none;stroke:rgba(255,255,255,.25);stroke-width:3}
.check path{fill:none;stroke:#fff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:draw .55s .35s var(--ease) forwards}
.check .ring{stroke:var(--accent);stroke-dasharray:214;stroke-dashoffset:214;transform:rotate(-90deg);transform-origin:center;animation:draw .7s var(--ease) forwards}
@keyframes draw{to{stroke-dashoffset:0}}

/* 結果 */
.result{display:flex;flex-direction:column;gap:14px;padding-bottom:10px}
.metaline{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--soft)}
.station{font-size:min(76px,calc((min(100vw,440px) - 52px)/var(--len,2)));font-weight:800;line-height:1.05;letter-spacing:-.03em;margin:2px 0 0;white-space:nowrap}
.legs{display:flex;flex-direction:column;list-style:none;margin:0;padding:0}
.leg{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--glass-line)}
.leg:first-child{border-top:0}
.leg .person{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.leg .who{font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leg .from{font-size:12px;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leg .time{display:flex;flex-direction:column;align-items:flex-end;gap:1px;flex-shrink:0}
.leg .min{font-size:22px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}.leg .min small{font-size:12px;font-weight:700;margin-left:1px}
.leg .tr{font-size:11px;color:var(--sub)}
.seg{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;border-radius:26px;background:var(--field)}
.seg::before{content:"";position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:22px;background:#fff;transition:transform .42s var(--spring)}
.seg[data-mode=fewerTransfers]::before{transform:translateX(100%)}
.seg button{position:relative;height:44px;border:0;background:none;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:color .25s}
.seg button[aria-pressed=true]{color:#000}
.alts{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:var(--sub)}
.alts .tag b{font-variant-numeric:tabular-nums;font-weight:800}
.taste{font-size:14px;line-height:1.7;color:var(--soft);padding:6px 8px 0}
.shop{display:flex;flex-direction:column;border-radius:30px;overflow:hidden;background:rgba(20,20,22,.82);border:1px solid var(--glass-line)}
.shop>.ph{position:relative;aspect-ratio:4/3;overflow:hidden;background:#161616}
.shop>.ph img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.08);transition:transform 1.4s var(--ease)}
.shop.seen>.ph img{transform:none}
.shop .body{display:flex;flex-direction:column;gap:10px;padding:16px 18px 18px}
.shop .rank{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--soft)}
.shop .rank b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;color:#000;font-size:14px;font-weight:800}
.shop h2{margin:0;font-size:24px;font-weight:800;line-height:1.3;letter-spacing:-.01em}
.shop .meta{font-size:13px;color:var(--soft);line-height:1.7}
.pr{font-size:10px;font-weight:700;padding:2px 6px;border-radius:6px;border:1px solid currentColor;opacity:.7}
.foot{display:flex;flex-direction:column;gap:4px;padding:10px 8px 0;font-size:11px;line-height:1.7;color:var(--sub)}
.banner{padding:14px 16px;border-radius:20px;background:var(--field);font-size:12px;line-height:1.7;color:var(--soft)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;transition-duration:.01ms!important}
  .backdrop img{animation:none}
}

/* 補助 */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.centered{text-align:center}
.nojs{margin:40px 8px;padding:16px;border-radius:16px;background:var(--glass);font-size:14px;line-height:1.7}
.metaline .eyebrow{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metaline{gap:12px}.metaline span{flex-shrink:0}
form.sheet{margin:0}
.metaline .eyebrow{display:block}.metaline .eyebrow::before{display:inline-block;margin-right:8px;vertical-align:middle}

/* 店の決定 */
.shopname{font-size:clamp(28px,8.6vw,38px);line-height:1.2}
.decided-mark{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700}
.decided-mark .check{width:32px;height:32px}.decided-mark .check circle{stroke-width:5}.decided-mark .check path{stroke-width:6}
.shop.decided{border-color:rgba(255,107,61,.55)}
.shop .link{justify-content:center;gap:8px;font-size:13px;color:var(--soft)}
.sheet>.label{margin:0}
dialog.pick{width:100%;max-width:440px;margin:auto auto 0;padding:0;border:0;border-radius:30px 30px 0 0;background:#1c1c1f;color:#fff;font-family:var(--sans);color-scheme:dark}
dialog.pick[open]{animation:sheet-up .42s var(--ease)}
dialog.pick::backdrop{background:rgba(0,0,0,.6);animation:fade .3s ease}
@keyframes sheet-up{from{transform:translateY(100%)}}
@keyframes fade{from{opacity:0}}
.pick-form{display:flex;flex-direction:column;gap:16px;padding:24px 20px calc(18px + env(safe-area-inset-bottom))}
.pick-form h2{margin:-6px 0 0;font-size:24px;font-weight:800;line-height:1.3}
input[type=date],select{height:56px;width:100%;padding:0 14px;background:var(--field);border:1px solid transparent;border-radius:18px;color:#fff;font:inherit;font-size:16px;-webkit-appearance:none;appearance:none;min-width:0;color-scheme:dark}
input[type=date]:focus,select:focus{outline:0;border-color:rgba(255,255,255,.7)}
select option{color:#000}
.stepper{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 6px;background:var(--field);border-radius:18px}
.stepper button{width:44px;height:44px;border-radius:50%;border:0;background:var(--chip);color:#fff;font:inherit;font-size:20px;font-weight:700;cursor:pointer;transition:transform .25s var(--spring)}
.stepper button:active{transform:scale(.9)}
.stepper output{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}

/* 日程調整 */
.chip.picked{background:rgba(255,255,255,.2)}
.daylist,.dayres{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.day{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--glass-line)}
.day:first-child{border-top:0;padding-top:0}
.day .when{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.tri{display:flex;gap:8px}
.tri button{width:52px;height:48px;border-radius:16px;border:0;background:var(--chip);color:#fff;font:inherit;font-size:20px;font-weight:800;cursor:pointer;transition:background .2s var(--ease),color .2s var(--ease),transform .3s var(--spring)}
.tri button:active{transform:scale(.9)}
.tri button[aria-pressed=true]{background:#fff;color:#000;animation:chip-pop .34s var(--spring)}
.tri button[data-v=o][aria-pressed=true]{background:var(--accent);color:var(--on-accent)}
.dayres li{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-top:1px solid var(--glass-line)}
.dayres li:first-child{border-top:0;padding-top:4px}
.dayres .row{display:flex;align-items:center;gap:8px}
.dayres .when{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}
.dayres .cnt{margin-left:auto;font-size:13px;font-weight:700;color:var(--soft);font-variant-numeric:tabular-nums;white-space:nowrap}
.dayres .pill{white-space:nowrap;flex:none;height:22px;font-size:11px;background:var(--accent);color:var(--on-accent);border:0}
.dayres .bar{display:flex;height:6px;border-radius:3px;background:rgba(255,255,255,.14);overflow:hidden}
.dayres .bar i{display:block;height:100%;transition:width .6s var(--ease)}
.dayres .bar .o{background:#fff}.dayres .bar .m{background:rgba(255,255,255,.45)}
.dayres li.best .bar .o{background:var(--accent)}
.sheet>.lead{margin-top:-10px}

/* カレンダー（日をタップして選ぶ） */
.cal{background:var(--field);border-radius:22px;padding:12px 10px 10px}
.cal-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px}
.cal-title{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}
.cal-nav{width:40px;height:40px;border-radius:50%;border:0;background:var(--chip);color:#fff;font:inherit;font-size:22px;line-height:1;cursor:pointer;transition:opacity .2s,transform .25s var(--spring)}
.cal-nav:active{transform:scale(.9)}.cal-nav:disabled{opacity:.25;cursor:default}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));row-gap:2px;justify-items:center}
.cal-w{font-size:11px;font-weight:700;color:var(--sub);padding:4px 0 6px}
.cal-d{width:100%;max-width:44px;aspect-ratio:1;padding:0;border-radius:50%;border:0;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;cursor:pointer;transition:background .2s var(--ease),color .2s var(--ease),transform .3s var(--spring)}
.cal-d:active{transform:scale(.88)}
.cal-d.w6,.cal-w.w6{color:#9CC7FF}.cal-d.w0,.cal-w.w0{color:#FFA39A}
.cal-d.today{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}
.cal-d:disabled{color:rgba(255,255,255,.22);cursor:default;box-shadow:none}
.cal-d[aria-pressed=true]{background:var(--accent);color:var(--on-accent);box-shadow:none;animation:chip-pop .34s var(--spring)}
.pick-form .cal{margin-top:10px}
.cal-d.head{font-size:12px;letter-spacing:-.02em}
.cal-d.odd:not([aria-pressed=true]):not(:disabled){background:rgba(255,255,255,.05)}

/* 回答した人 */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.av{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:13px;font-weight:800;color:#14100E}
.av.t0{background:#FFB59E}.av.t1{background:#FFD98A}.av.t2{background:#B9E6A8}.av.t3{background:#9CD8F2}.av.t4{background:#C9B8FF}.av.t5{background:#FFB3D1}
.people{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.people li{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 6px;border-radius:20px;background:var(--chip);font-size:14px;font-weight:700;max-width:100%}
.people li span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.who-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.who-count{margin:0;font-size:13px;color:var(--sub);white-space:nowrap}.who-count b{font-size:22px;font-weight:800;color:#fff;margin-right:2px;font-variant-numeric:tabular-nums}
#joined,#who{display:flex;flex-direction:column;gap:8px}#joined:empty,#who:empty{display:none}
#who{align-items:center}#who .people{justify-content:center}
/* 人ごとの都合の表 */
.matrix-wrap{overflow-x:auto;margin:4px -8px 0;padding:0 8px;-webkit-overflow-scrolling:touch}
.matrix{border-collapse:separate;border-spacing:0;width:100%;font-variant-numeric:tabular-nums}
.matrix th,.matrix td{padding:8px 6px;text-align:center;white-space:nowrap;border-top:1px solid var(--glass-line)}
.matrix thead th{border-top:0;font-size:12px;font-weight:700;color:var(--soft)}
.matrix thead th.best{color:var(--accent)}
.matrix tbody th{display:flex;align-items:center;gap:8px;text-align:left;font-size:14px;font-weight:700;max-width:132px}
.matrix tbody th span:last-child{overflow:hidden;text-overflow:ellipsis}
.matrix td{font-size:17px;font-weight:800;color:var(--sub)}
.matrix td.o{color:#fff}.matrix td.x{color:rgba(255,255,255,.38)}
.matrix td.best{background:rgba(255,107,61,.12)}.matrix td.best.o{color:var(--accent)}
.matrix thead th{white-space:pre-line;line-height:1.25;min-width:44px}

/* 名簿・未回答・条件・決定後 */
.addrow{display:flex;gap:8px}.addrow input{flex:1;min-width:0}.addrow .btn{flex:none;width:auto;padding:0 18px}
.pending{display:flex;flex-direction:column;gap:8px}
.people.wait li{background:transparent;box-shadow:inset 0 0 0 1.5px var(--glass-line);color:var(--soft)}
.people.wait .av{background:rgba(255,255,255,.16);color:#fff}
.actions{display:flex;flex-wrap:wrap;gap:8px}.actions .btn{flex:1 1 44%;min-width:150px;width:auto;white-space:nowrap}
.minis{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.minis li{display:flex;gap:12px;align-items:center}
.minis img{flex:none;width:72px;height:72px;border-radius:16px;object-fit:cover;background:var(--field)}
.minis div{display:flex;flex-direction:column;gap:2px;min-width:0;align-items:flex-start}
.minis b{font-size:16px;font-weight:800}.minis .meta{font-size:13px;color:var(--sub)}
.minis .link{padding:4px 0;text-align:left}
.shop .link.gmap{color:var(--soft);font-size:13px}

/* 説明・規約のページ */
.docnav{display:flex;flex-wrap:wrap;gap:4px 18px;justify-content:center;padding:18px 8px 6px;font-size:12px}
.docnav a{color:var(--sub);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.docnav a:hover{color:#fff}
.docpage{background:#0B0B0C}
.doc{gap:14px;padding-top:28px}
.doc .brand{font-size:15px;font-weight:800}.doc .brand a{color:#fff;text-decoration:none}.doc .brand i{font-style:normal;color:var(--accent)}
.doc h1{font-size:30px;line-height:1.25;font-weight:800;margin:6px 0 4px}
.doc h2{font-size:16px;font-weight:800;margin:18px 0 0}
.doc p,.doc li{font-size:14px;line-height:1.85;color:rgba(255,255,255,.86)}
.doc ol,.doc ul{margin:0;padding-left:1.3em;display:flex;flex-direction:column;gap:6px}
.doc a{color:#fff}.doc .credit{font-size:12px;color:var(--sub)}
.adnote{align-self:flex-start;margin:6px 0 -6px;padding:4px 10px;border-radius:10px;background:rgba(0,0,0,.45);font-size:11px;font-weight:700;color:rgba(255,255,255,.86)}

/* 「中間の駅」ページ */
.midform{margin-top:6px}
.midlist{list-style:none;padding:0;counter-reset:mid;gap:0}
.midlist li{counter-increment:mid;display:flex;flex-direction:column;gap:2px;padding:14px 0 14px 40px;border-top:1px solid var(--glass-line);position:relative}
.midlist li:first-child{border-top:0}
.midlist li::before{content:counter(mid);position:absolute;left:0;top:14px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--chip);font-size:13px;font-weight:800;color:#fff}
.midlist li:first-child::before{background:var(--accent);color:var(--on-accent)}
.midlist b{font-size:20px;font-weight:800;color:#fff}.midlist span{font-size:13px;color:var(--sub)}
.midcta{margin-top:10px}.midcta p{font-size:14px}
.pairs{list-style:none;padding:0;flex-direction:row;flex-wrap:wrap;gap:8px}
.pairs a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:20px;background:var(--chip);text-decoration:none;font-size:13px;font-weight:700}
.visited{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.visited li{display:flex;flex-direction:column;gap:2px}.visited b{font-size:15px;font-weight:800}.visited span{font-size:12px;color:var(--sub)}
#own{text-decoration:none}
