/* Layout: one phone-width column (max 460px) centered; fixed tab bar + sticky CTA share the column width.
   Identity (from sphotosalon.com): white space, fine 1px rules, quiet monochrome UI; colour comes only from photos.
   Oswald for numerals/wordmark-scale Latin, Noto Sans JP for Japanese, Helvetica/Arial for small Latin labels. */
:root{
  --bg:#FFFFFF; --surface:#FFFFFF; --surface-2:#F6F6F6; --surface-3:#EFEFEF;
  --ink:#171717; --text:#292929; --muted:#565656; --faint:#8C8C8C; --line:#E5E5E5; --line-2:#D6D6D6;
  --btn:#171717; --btn-ink:#FFFFFF; --btn-hover:#333333;
  --ok:#2E7D57; --warn:#9A5B12;
  --line-green:#06C755; --line-green-ink:#FFFFFF; --bubble:#FFFFFF; --chat-bg:#8CABD8;
  --f-jp:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","Meiryo",sans-serif;
  --f-num:"Oswald","Arial Narrow","Helvetica Neue",Arial,sans-serif;
  --f-lat:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",sans-serif;
  --col:460px; --r:4px;
  --cal-sun:#C2413A; --cal-sat:#2F5E9E;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#111111; --surface:#171717; --surface-2:#1E1E1E; --surface-3:#262626;
    --ink:#F2F2F2; --text:#E4E4E4; --muted:#ABABAB; --faint:#7E7E7E; --line:#2C2C2C; --line-2:#3A3A3A;
    --btn:#F2F2F2; --btn-ink:#111111; --btn-hover:#D9D9D9;
    --ok:#6CC79A; --warn:#E3A55A; --bubble:#262626; --chat-bg:#26324A;
    --cal-sun:#E8847C; --cal-sat:#86A9E0;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#111111; --surface:#171717; --surface-2:#1E1E1E; --surface-3:#262626;
  --ink:#F2F2F2; --text:#E4E4E4; --muted:#ABABAB; --faint:#7E7E7E; --line:#2C2C2C; --line-2:#3A3A3A;
  --btn:#F2F2F2; --btn-ink:#111111; --btn-hover:#D9D9D9;
  --ok:#6CC79A; --warn:#E3A55A; --bubble:#262626; --chat-bg:#26324A;
  --cal-sun:#E8847C; --cal-sat:#86A9E0;
  color-scheme:dark;
}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--text);font-family:var(--f-jp);font-size:15px;line-height:1.7;letter-spacing:.03em;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit;letter-spacing:inherit}
button{cursor:pointer;border:0;background:none;padding:0}
a{color:var(--ink)}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}
.num{font-family:var(--f-num);font-variant-numeric:tabular-nums;letter-spacing:.01em}
.lat{font-family:var(--f-lat)}

.app{max-width:var(--col);margin:0 auto;min-height:100%;background:var(--bg);padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
.app.no-tabs{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
.wrap{padding-inline:16px}

/* Brand lockup (S mark + wordmark) */
.lockup{display:inline-flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none}
.mark{display:block;height:34px;width:auto;color:var(--ink);flex:none}
.wordmark{font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:22px;letter-spacing:-.035em;line-height:1;color:var(--ink);white-space:nowrap}
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--bg);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:12px 16px}
.top .sp{flex:1}
.icon-btn{width:40px;height:40px;border-radius:var(--r);display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);position:relative;flex:none;color:var(--ink)}
.icon-btn svg{width:20px;height:20px}
.dot{position:absolute;top:7px;right:7px;width:8px;height:8px;border-radius:50%;background:var(--ink);border:2px solid var(--surface)}
.top h1{font-size:16px;margin:0;font-weight:700;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Section header: small Latin eyebrow + Japanese title */
.sh{padding:22px 16px 10px}
.eyebrow{display:block;font-family:var(--f-lat);font-size:11px;font-weight:500;letter-spacing:.16em;color:var(--muted);text-transform:uppercase;margin-bottom:4px}
.sh h2{margin:0;font-size:20px;font-weight:700;line-height:1.5;letter-spacing:.04em;color:var(--ink)}
.sh p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.slash{display:inline-block;font-weight:900;font-size:14px;letter-spacing:.12em;color:var(--ink);transform:rotate(-3deg);background:linear-gradient(transparent 58%,var(--surface-3) 58%);padding:0 4px}

/* Welcome message (Discord bot message, restyled) */
.welcome{margin:16px 16px 4px;border:1px solid var(--line);border-radius:var(--r);padding:16px;position:relative;background:var(--surface)}
.welcome .who{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:var(--ink);margin-bottom:8px}
.welcome .who .mk{width:26px;height:26px;border-radius:50%;background:var(--btn);color:var(--btn-ink);display:grid;place-items:center}
.welcome .who .mk svg,.welcome .who .mk .mark{height:15px;width:auto;color:var(--btn-ink)}
.bot-tag{font-family:var(--f-lat);font-size:9.5px;font-weight:700;letter-spacing:.1em;border:1px solid var(--line-2);color:var(--muted);border-radius:2px;padding:0 4px;line-height:1.6}
.welcome .msg{font-size:14px;line-height:1.85;white-space:pre-wrap;margin:0}
.welcome .ofc{display:grid;gap:2px;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:13.5px}
.welcome .ofc .eyebrow{margin-bottom:4px}
.welcome .ofc button{text-align:left;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-2);padding:3px 0}
.welcome .acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.welcome .x{position:absolute;top:8px;right:8px;width:30px;height:30px;color:var(--faint);font-size:18px}

/* Next-up block */
.next{margin:16px 16px 4px;padding:16px;border-radius:var(--r);background:var(--btn);color:var(--btn-ink);display:flex;gap:16px;align-items:center;text-align:left;width:calc(100% - 32px)}
.next .cd{font-family:var(--f-num);font-weight:700;font-size:40px;line-height:1;white-space:nowrap}
.next .cd small{font-family:var(--f-lat);font-size:10px;display:block;font-weight:500;letter-spacing:.16em;opacity:.75;margin-bottom:6px}
.next .cd span{font-family:var(--f-jp);font-size:14px;font-weight:700;margin-left:2px}
.next .txt{flex:1;min-width:0;font-size:12.5px;line-height:1.55;opacity:.95}
.next .txt b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}

/* Chips */
.chips{display:flex;gap:8px;overflow-x:auto;padding:4px 16px 8px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;padding:6px 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line-2);font-size:13px;font-weight:500;color:var(--muted);white-space:nowrap}
.chip[aria-pressed="true"]{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
.chip-wrap{display:flex;flex-wrap:wrap;gap:8px}

/* Date group */
.day{display:flex;align-items:baseline;gap:8px;padding:20px 16px 10px}
.day .d{font-family:var(--f-num);font-weight:700;font-size:28px;line-height:1;color:var(--ink)}
.day .w{font-family:var(--f-lat);font-weight:700;font-size:11px;letter-spacing:.14em;color:var(--ink)}
.day .w.sun{color:#C2413A}
.day .rel{font-size:12px;color:var(--muted)}
.day .sun-t{margin-left:auto;font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:4px;white-space:nowrap}
.day .sun-t svg{width:14px;height:14px}

/* Shoot card */
.list{display:grid;gap:10px;padding-inline:16px}
.card{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px}
.card .main{min-width:0;display:grid;gap:5px;align-content:start}
.k-row{display:flex;align-items:center;gap:8px;min-width:0;font-size:12.5px;color:var(--muted)}
.k-row .t{white-space:nowrap;flex:none}
.kind{font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:2px;white-space:nowrap;flex:none;letter-spacing:.06em}
.kind.official{border:1px solid var(--line-2);color:var(--muted)}
.kind.member{border:1px solid var(--line-2);color:var(--muted)}
.kind.offkai{border:1px solid var(--line-2);color:var(--muted)}
.card .ttl{font-weight:700;font-size:15.5px;line-height:1.5;text-wrap:balance;color:var(--ink)}
.card .where{font-size:13px;color:var(--muted);display:flex;gap:4px;align-items:center;min-width:0}
.card .where span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .where svg{width:14px;height:14px;flex:none}
.card .foot{display:flex;align-items:center;gap:8px;padding-top:10px;border-top:1px solid var(--line);min-width:0}
.tags{display:flex;flex-wrap:wrap;gap:5px}
.tag{font-size:11px;padding:1px 8px;border-radius:2px;background:var(--surface-2);color:var(--muted)}
.tag.hi{background:none;border:1px solid var(--ink);color:var(--ink);padding:0 7px;font-weight:500}
.fee{font-size:12.5px;font-weight:700;margin-left:auto;white-space:nowrap;color:var(--ink)}
.fee.free{font-weight:500;color:var(--muted)}
.react{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;border:1px solid var(--line-2);font-size:13px;white-space:nowrap;flex:none;color:var(--ink)}
.react b{font-family:var(--f-num);font-weight:500;font-size:14px}
.react small{font-family:var(--f-num);color:var(--faint);font-size:12px}
.react.me{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
/* 🙋 on a card: tap to join (a reaction, like Discord) */
.card[role=button]{cursor:pointer}
.react.tap{cursor:pointer;font:inherit;font-size:13px;background:var(--surface);min-height:32px;padding:3px 12px}
.react.tap .go{font-size:12px;font-weight:700;margin-left:2px}
.react.tap:active{transform:scale(.96)}
.react.tap.me{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
.react.tap.me small{color:var(--btn-ink);opacity:.7}
.react.me small{color:var(--btn-ink);opacity:.7}

.avs{display:flex;align-items:center;min-width:0}
.av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff;border:2px solid var(--surface);flex:none}
.avs .av+.av{margin-left:-8px}
.av.lg{width:56px;height:56px;font-size:21px;border-width:0}
.av.md{width:34px;height:34px;font-size:13.5px;border-width:0}
.av.mk{background:var(--btn);color:var(--btn-ink)}
.av.mk svg,.av.mk .mark{height:55%;width:auto;color:var(--btn-ink)}

.pill{font-size:11px;font-weight:700;padding:2px 8px;border-radius:2px;white-space:nowrap;flex:none}
.pill.open{color:var(--muted);background:var(--surface-2)}
.pill.few{color:var(--warn);background:color-mix(in srgb,var(--warn) 12%,transparent)}
.pill.full{color:var(--faint);background:var(--surface-2);text-decoration:line-through}
.pill.in{background:var(--btn);color:var(--btn-ink)}
.pill.mine{border:1px solid var(--ink);color:var(--ink)}
.pill.paid{color:var(--ok);background:color-mix(in srgb,var(--ok) 12%,transparent)}
.pill.unpaid{color:var(--warn);background:color-mix(in srgb,var(--warn) 12%,transparent)}
.pill.cash{color:var(--muted);background:var(--surface-2)}
.r-ops{font-weight:700;color:var(--ink)}
.badge{font-size:10px;font-weight:700;padding:0 6px;border-radius:2px;margin-left:5px;vertical-align:1px;white-space:nowrap;border:1px solid var(--line-2);color:var(--muted)}

.empty{margin:20px 16px;padding:28px 20px;text-align:center;color:var(--muted);border:1px solid var(--line);border-radius:var(--r);font-size:14px}

/* Tab bar */
.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,var(--col));z-index:20;background:var(--surface);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px 2px calc(6px + env(safe-area-inset-bottom,0px))}
.tab{position:relative;display:grid;justify-items:center;gap:2px;padding:6px 0;font-size:10px;color:var(--faint);font-weight:500;letter-spacing:.04em;white-space:nowrap}
.tab svg{width:22px;height:22px}
.tab[aria-current="page"]{color:var(--ink);font-weight:700}
.tab.post .plus{width:48px;height:48px;border-radius:6px;background:var(--btn);color:var(--btn-ink);display:grid;place-items:center;margin-top:-20px}
.tab.post .plus svg{width:24px;height:24px}
.tab.post span{color:var(--ink)}

/* Detail */
.hero{position:relative;height:300px;overflow:hidden;background:var(--surface-2)}
.hero img{width:100%;height:100%;object-fit:cover;display:block}
.hero .back{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));left:12px}
.hero .share{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:12px}
.hero .icon-btn{background:color-mix(in srgb,var(--surface) 90%,transparent);border-color:transparent}
.d-head{padding:18px 16px 6px;display:grid;gap:10px;border-bottom:1px solid var(--line)}
.d-head h2{margin:0;font-size:21px;line-height:1.5;text-wrap:balance;color:var(--ink);font-weight:900}
.host{display:flex;align-items:center;gap:12px;font-size:12.5px;color:var(--muted);padding-bottom:12px}
.host>div{display:grid;gap:1px;min-width:0}
.host small{font-size:11px;color:var(--muted)}
.host b{color:var(--ink);font-size:16px}
/* who hosts, on every shoot card (owner 2026-11-01) */
.card .by{display:flex;align-items:center;gap:8px;margin-top:8px;min-width:0}
.card .by .av{flex:none}
.card .by-n{display:grid;line-height:1.3;min-width:0}
.card .by-n small{font-size:10.5px;color:var(--muted)}
.card .by-n b{font-size:13.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sec{padding:4px 16px;border-bottom:1px solid var(--line)}
.sec h3{font-family:var(--f-lat);font-size:11px;color:var(--muted);margin:18px 0 6px;font-weight:500;letter-spacing:.16em;text-transform:uppercase}
.sec h3 span{font-family:var(--f-jp);letter-spacing:.04em;text-transform:none;margin-left:6px;color:var(--ink);font-weight:700;font-size:13px}
.row{display:grid;grid-template-columns:22px 1fr auto;gap:12px;align-items:start;padding:11px 0;border-bottom:1px solid var(--line)}
.row:last-child{border-bottom:0}
.row svg{width:19px;height:19px;color:var(--muted);margin-top:3px}
.row .v{min-width:0}
.row .v b{display:block;font-size:15px;color:var(--ink)}
.row .v span{font-size:12.5px;color:var(--muted)}
.row .act{font-size:12.5px;font-weight:700;color:var(--ink);white-space:nowrap;align-self:center;border:1px solid var(--line-2);border-radius:var(--r);padding:4px 10px;text-decoration:none}
.note{white-space:pre-wrap;font-size:14.5px;line-height:1.95;padding:4px 0 14px;margin:0}
.bring{margin:0;padding:2px 0 14px 20px;font-size:14px}
.people{display:grid;padding-bottom:10px}
.person{display:flex;align-items:center;gap:10px;padding:8px 0}
.person .n{flex:1;min-width:0;font-size:14.5px}
.person .n small{color:var(--muted);font-size:12px;margin-left:6px}
.cmt{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.cmt:last-of-type{border-bottom:0}
.cmt .b{min-width:0;font-size:14px}
.cmt .b small{display:block;color:var(--muted);font-size:12px}
.cmt-form{display:flex;gap:8px;padding:10px 0 16px}
.cmt-form input{flex:1;min-width:0;border:1px solid var(--line-2);background:var(--surface);border-radius:var(--r);padding:9px 12px;font-size:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;padding:13px 18px;font-weight:700;font-size:15px;background:var(--btn);color:var(--btn-ink);text-decoration:none;font-family:var(--f-lat);letter-spacing:.06em;transition:background-color .18s}
.btn:hover{background:var(--btn-hover)}
.btn.sm{padding:8px 14px;font-size:13px}
.btn.ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line-2)}
.btn.ghost:hover{background:var(--surface-2)}
.btn.line{background:var(--line-green);color:var(--line-green-ink)}
.btn.danger{background:var(--surface);color:#C2413A;border:1px solid var(--line-2)}
.btn.block{width:100%}
.cta{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,var(--col));z-index:20;background:var(--surface);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:14px}
.cta .info{min-width:0;font-size:11.5px;color:var(--muted);line-height:1.4;flex:none;max-width:42%}
.cta .info b{display:block;font-size:15px;color:var(--ink)}
.cta .btn{flex:1}

/* Form */
.form{display:grid;gap:20px;padding:6px 16px 20px}
.field{display:grid;gap:8px}
.field>label,.field>.lbl{font-size:13px;font-weight:700;color:var(--ink);letter-spacing:.04em}
.field .hint{font-size:11.5px;color:var(--faint);font-weight:400;margin-left:6px;letter-spacing:0}
.err{color:#C2413A;font-size:12.5px}
.inp{width:100%;border:1px solid var(--line-2);background:var(--surface);border-radius:var(--r);padding:12px 14px;font-size:15px}
textarea.inp{min-height:88px;resize:vertical}
.two{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}
.stepper{display:flex;align-items:center;border:1px solid var(--line-2);border-radius:var(--r);width:max-content}
.stepper button{width:46px;height:44px;font-size:20px;color:var(--ink)}
.stepper output{min-width:56px;text-align:center;font-weight:700;font-size:16px}
.dates{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-inline:-16px;padding:0 16px 2px}
.dates::-webkit-scrollbar{display:none}
.dt{flex:none;width:52px;padding:7px 0;border-radius:var(--r);border:1px solid var(--line-2);display:grid;justify-items:center;background:var(--surface)}
.dt b{font-family:var(--f-num);font-weight:500;font-size:19px;line-height:1.15}
.dt span{font-size:10.5px;color:var(--muted)}
.dt.sun span{color:#C2413A}
.dt[aria-pressed="true"]{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
.dt[aria-pressed="true"] span{color:var(--btn-ink)}
.tpl{display:flex;gap:8px;overflow-x:auto;margin-inline:-16px;padding-inline:16px;scrollbar-width:none}
.tpl::-webkit-scrollbar{display:none}
.tpl button{flex:none;text-align:left;border:1px solid var(--line-2);border-radius:var(--r);padding:10px 12px;font-size:11.5px;line-height:1.4;max-width:220px;color:var(--muted);background:var(--surface)}
.tpl button b{display:block;font-size:13.5px;color:var(--ink)}

/* Segments */
.seg{display:flex;border-bottom:1px solid var(--line);margin:0 16px 14px}
.seg button{flex:1;padding:10px 0;font-size:13.5px;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.seg button[aria-pressed="true"]{color:var(--ink);border-bottom-color:var(--ink);font-weight:700}

/* Album */
.albums{display:grid;gap:14px;padding-inline:16px}
.album{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:3px;text-align:left;width:100%;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface)}
.album img{width:100%;height:100%;object-fit:cover;display:block;background:var(--surface-2);min-height:0}
.album img:first-child{grid-row:1/3;aspect-ratio:4/5}
.album .meta{grid-column:1/-1;padding:10px 14px 12px;display:flex;align-items:center;gap:10px}
.album .meta div{flex:1;min-width:0}
.album .meta b{display:block;font-size:15px;color:var(--ink)}
.album .meta span{font-size:12px;color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding-inline:3px}
.grid button{display:block;width:100%;aspect-ratio:4/5;overflow:hidden;background:var(--surface-2);position:relative}
.grid img{width:100%;height:100%;object-fit:cover;display:block}
.grid i{position:absolute;left:6px;bottom:4px;font-style:normal;font-family:var(--f-num);font-size:12px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.upload{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 16px 14px;padding:14px;border:1px dashed var(--line-2);border-radius:var(--r);color:var(--ink);font-weight:700;font-size:14px;cursor:pointer}
.upload svg{width:20px;height:20px}
.lightbox{position:fixed;inset:0;z-index:40;background:#0a0a0a;display:grid;grid-template-rows:auto 1fr auto;color:#fff}
.lightbox img{max-width:100%;max-height:100%;margin:auto;object-fit:contain;align-self:center;justify-self:center}
.lightbox .lb-top{display:flex;justify-content:space-between;align-items:center;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px;font-family:var(--f-num)}
.lightbox .lb-top button{color:#fff;font-size:14px;padding:6px 4px;font-family:var(--f-jp)}
.lightbox .cap2{padding:12px 16px calc(18px + env(safe-area-inset-bottom,0px));font-size:13px;color:#CFCFCF;text-align:center}

/* Me */
.prof{display:grid;grid-template-columns:auto 1fr;gap:12px 14px;align-items:center;padding:20px 16px;border-bottom:1px solid var(--line)}
.prof .n{min-width:0}
.prof .n b{display:block;font-size:19px;color:var(--ink)}
.prof .likes{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:var(--muted)}
.lchip{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--muted);font-weight:500}
.lchip i{width:7px;height:7px;border-radius:50%;background:var(--line-green)}
.stats{display:grid;grid-template-columns:repeat(2,1fr);border-bottom:1px solid var(--line);padding:14px 0}
.stats div{text-align:center;border-right:1px solid var(--line)}
.stats div:last-child{border-right:0}
.stats b{display:block;font-family:var(--f-num);font-weight:700;font-size:26px;line-height:1.2;color:var(--ink)}
.stats span{font-size:11.5px;color:var(--muted)}
.mship{margin:4px 0 14px;border:1.5px solid var(--ink);border-radius:var(--r);padding:16px;display:grid;gap:6px}
.mship .price{display:flex;align-items:baseline;gap:4px;color:var(--ink)}
.mship .price b{font-family:var(--f-num);font-weight:700;font-size:38px;line-height:1}
.mship .price span{font-weight:700}
.mship .price small{font-size:11.5px;color:var(--muted);margin-left:4px}
.mship p{margin:0;font-size:12.5px;color:var(--muted)}
.fee-card,.link-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.fee-card:last-child,.link-row:last-child{border-bottom:0}
.fee-card .v,.link-row .v{flex:1;min-width:0}
.fee-card .v b,.link-row .v b{display:block;font-size:14.5px;color:var(--ink)}
.fee-card .v span,.link-row .v span{font-size:12px;color:var(--muted)}
.sw-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.sw-row:last-child{border-bottom:0}
.sw-row .v{flex:1;min-width:0;font-size:14.5px}
.sw-row .v span{display:block;font-size:12px;color:var(--muted)}
.sw{position:relative;width:46px;height:26px;border-radius:999px;background:var(--surface-3);border:1px solid var(--line-2);flex:none;transition:background .15s}
.sw::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.sw[aria-checked="true"]{background:var(--line-green);border-color:var(--line-green)}
.sw[aria-checked="true"]::after{transform:translateX(20px)}
.sw-row select{border:1px solid var(--line-2);background:var(--surface);border-radius:var(--r);padding:5px 8px;font-size:13px}
.chat{background:var(--chat-bg);border-radius:var(--r);padding:14px 12px;margin:6px 0 16px;display:flex;gap:8px;align-items:flex-start}
.chat .av{border:0}
.chat .who{font-size:11px;color:#fff;opacity:.92;margin-bottom:3px}
.chat .bub{background:var(--bubble);color:var(--text);border-radius:4px 14px 14px 14px;padding:10px 12px;font-size:13px;line-height:1.6;white-space:pre-wrap;max-width:260px}
.chat .bub u{text-decoration:underline;font-weight:700;color:var(--ink)}

/* Sheet + toast */
.scrim{position:fixed;inset:0;z-index:30;background:rgba(0,0,0,.42);display:flex;align-items:flex-end;justify-content:center}
.sheet{width:min(100%,var(--col));background:var(--surface);border-radius:10px 10px 0 0;padding:10px 16px calc(18px + env(safe-area-inset-bottom,0px));max-height:88%;overflow-y:auto;animation:up .2s ease-out}
.sheet .grab{width:36px;height:3px;border-radius:2px;background:var(--line-2);margin:0 auto 14px}
.sheet h3{margin:0 0 4px;font-size:18px;color:var(--ink)}
.sheet p{margin:0 0 12px;color:var(--muted);font-size:13.5px}
.sheet .opts{display:grid;gap:8px;margin:12px 0 14px}
.opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line-2);border-radius:var(--r);text-align:left;width:100%}
.opt[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.opt .v{flex:1;font-size:14.5px}
.opt .v span{display:block;font-size:12px;color:var(--muted)}
.radio{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--line-2);flex:none}
.opt[aria-pressed="true"] .radio{border:5px solid var(--ink)}
.sheet .btns{display:grid;gap:8px}
.summary{background:var(--surface-2);border-radius:var(--r);padding:12px 14px;font-size:13.5px;display:grid;gap:2px}
.summary b{font-size:15px;color:var(--ink)}
.notif{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.notif:last-child{border-bottom:0}
.notif small{display:block;color:var(--muted);font-size:12px}
.fumu-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.fumu-head b{display:block;font-size:16px;color:var(--ink)}
.fumu-head span{font-size:12px;color:var(--muted)}
.paw{width:34px;height:34px;border-radius:50%;border:1px solid var(--line-2);display:grid;place-items:center;flex:none;color:var(--ink);background:var(--surface)}
.paw svg{width:20px;height:20px}
.fchat{display:grid;gap:10px;margin-bottom:12px}
.fb{display:flex;gap:8px;align-items:flex-start}
.fb .paw{width:28px;height:28px}
.fb .paw svg{width:16px;height:16px}
.fb .t{background:var(--surface-2);border-radius:2px 12px 12px 12px;padding:10px 12px;font-size:14px;line-height:1.75;white-space:pre-wrap;max-width:88%}
.fb.me{justify-content:flex-end}
.fb.me .t{background:var(--btn);color:var(--btn-ink);border-radius:12px 2px 12px 12px}
.fq{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:12px}
.fq button{padding:6px 12px;border-radius:999px;border:1px solid var(--line-2);color:var(--ink);font-size:13px;background:var(--surface)}
.toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(calc(100% - 32px),420px);z-index:50;background:var(--btn);color:var(--btn-ink);border-radius:6px;padding:12px 16px;font-size:13.5px;line-height:1.55;box-shadow:0 10px 30px rgba(0,0,0,.2);animation:up .2s ease-out;--tx:-50%}
@keyframes up{from{transform:translate(var(--tx,0),14px);opacity:0}to{transform:translate(var(--tx,0),0);opacity:1}}

/* Onboarding */
.onb{min-height:calc(100vh - 40px);display:grid;align-content:center;gap:22px;padding-block:24px;padding-inline:24px;text-align:center}
.onb .lockup{justify-self:center}
.onb .lockup .mark{height:44px}
.onb .lockup .wordmark{font-size:28px}
.collage{position:relative;height:250px;margin-inline:-8px}
.collage img{position:absolute;width:44%;aspect-ratio:4/5;object-fit:cover;border-radius:6px;border:5px solid rgba(255,255,255,.85);box-shadow:0 10px 26px rgba(0,0,0,.14)}
.collage img:nth-child(1){left:2%;top:26px;transform:rotate(-5deg)}
.collage img:nth-child(2){left:28%;top:0;z-index:2}
.collage img:nth-child(3){right:2%;top:34px;transform:rotate(5deg)}
.onb .catch{margin:0;font-size:15px;font-weight:700;line-height:1.9;color:var(--ink)}
.onb h1{font-weight:900;font-size:27px;line-height:1.45;margin:0;color:var(--ink);letter-spacing:.02em}
.onb h1 .num{font-weight:700;font-size:1.15em}
.onb .rule{height:1px;background:var(--line);margin:0 8px}
.onb .big{font-family:var(--f-num);font-weight:700;font-size:44px;line-height:1;color:var(--ink);margin:6px 0 0}
.onb .kana{font-size:11px;font-weight:700;letter-spacing:.4em;color:var(--muted);margin:4px 0 0}
.onb .fine{font-size:11.5px;color:var(--faint);margin:0}
.onb.left{text-align:left}
.say{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start}
.say .t{border:1px solid var(--line);border-radius:2px 12px 12px 12px;padding:12px 14px;font-size:14px;line-height:1.8}
.say .t b{display:block;font-size:12px;margin-bottom:2px;color:var(--ink)}
.steps{display:flex;gap:6px;justify-content:center}
.steps i{width:22px;height:3px;border-radius:2px;background:var(--line)}
.steps i.on{background:var(--ink)}

/* v4: kinds from the Discord operation */
.kind.quick{border:1px solid var(--ink);color:var(--ink)}
.kind.poll{border:1px dashed var(--muted);color:var(--muted)}
.pill.today{background:#E5484D;color:#fff}
.pill.done{color:var(--faint);background:var(--surface-2)}
.pill.poll{border:1px dashed var(--muted);color:var(--muted)}

/* Day-of card */
.today{margin:14px 16px 2px;border:1.5px solid var(--ink);border-radius:var(--r);overflow:hidden;background:var(--surface)}
.today .bar{background:var(--btn);color:var(--btn-ink);padding:8px 14px;display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700}
.today .bar .live{width:8px;height:8px;border-radius:50%;background:#E5484D;animation:pulse 1.6s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.today .here{padding:12px 14px;display:grid;gap:3px;border-bottom:1px solid var(--line)}
.today .here b{font-size:16px;color:var(--ink);line-height:1.5}
.today .here span{font-size:12.5px;color:var(--muted)}
.today .here .acts{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.today .mine{padding:12px 14px;display:grid;gap:8px}
.today .mine .lbl{font-size:12px;color:var(--muted)}
.st-btns{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.st-btns button{border:1px solid var(--line-2);border-radius:var(--r);padding:10px 4px;font-size:13px;font-weight:700;color:var(--ink);background:var(--surface)}
.st-btns button[aria-pressed="true"]{background:var(--btn);color:var(--btn-ink);border-color:var(--btn)}
.late{display:flex;gap:6px;flex-wrap:wrap}
.who-st{font-size:11.5px;color:var(--muted);white-space:nowrap}
.who-st.here{color:var(--ok);font-weight:700}
.who-st.late{color:var(--warn);font-weight:700}
.demo-link{display:block;margin:12px 16px 0;padding:10px 12px;border:1px dashed var(--line-2);border-radius:var(--r);font-size:12.5px;color:var(--muted);text-align:center;width:calc(100% - 32px)}
.demo-link b{color:var(--ink)}

/* Poll (日程相談) */
.cand{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.cand:last-child{border-bottom:0}
.cand .v{flex:1;min-width:0}
.cand .v b{font-family:var(--f-num);font-size:18px;font-weight:500;color:var(--ink)}
.cand .v span{font-size:12px;color:var(--muted);margin-left:8px}
.vbar{height:4px;background:var(--surface-3);border-radius:2px;margin-top:6px;overflow:hidden}
.vbar i{display:block;height:100%;background:var(--ink);border-radius:2px}
.vote{border:1px solid var(--line-2);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap}
.vote[aria-pressed="true"]{background:var(--btn);color:var(--btn-ink);border-color:var(--btn)}

/* Spots */
.spots{display:grid;gap:12px;padding-inline:16px}
.spot{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:var(--surface);display:grid;grid-template-columns:minmax(0,1fr);text-align:left;width:100%}
.spot[aria-current="true"]{border:1.5px solid var(--ink)}
.spot .b{padding:13px 14px;display:grid;gap:4px;min-width:0;align-content:start}
.spot .b b{font-size:15px;color:var(--ink);line-height:1.45}
.spot .b .meta{font-size:12px;color:var(--muted)}
.spot .b .acts{display:flex;gap:8px;margin-top:4px;flex-wrap:wrap}
.spot .b .tags{display:flex;gap:5px;flex-wrap:wrap}
.stat{font-size:12.5px;color:var(--ink);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.stat .up{font-size:11px;font-weight:700;color:#06A94B;border:1px solid #06A94B;border-radius:999px;padding:0 8px}
.sp-sum{display:flex;align-items:baseline;gap:14px;padding:2px 16px 10px;font-size:12.5px;color:var(--muted)}
.sp-sum b{font-family:var(--f-num);font-size:22px;font-weight:700;color:var(--ink);margin-right:3px}
.sp-map{height:min(52vh,420px);min-height:300px}
.sp-pickmap{height:min(46vh,340px);min-height:260px}
.sp-sel{margin:0;padding:14px 16px 4px;display:grid;gap:8px;border-bottom:1px solid var(--line)}
.sp-sel:empty{display:none}
.sp-sel .hd b{display:block;font-size:18px;line-height:1.45;color:var(--ink);font-weight:900}
.sp-sel .acts{display:flex;gap:8px;flex-wrap:wrap;padding:2px 0 12px}
.sp-sel .near{display:inline-block;font-size:11px;font-weight:700;color:#06A94B;border:1px solid #06A94B;border-radius:999px;padding:0 8px;margin-left:8px;vertical-align:2px}
.sp-hint{margin:-4px 16px 0;font-size:12px;color:var(--muted)}
.sp-add{margin:12px 16px 4px}
.sp-add .btn{width:100%}
.sp-empty{margin:14px 16px;padding:18px;border:1px dashed var(--line-2);border-radius:var(--r);font-size:13px;color:var(--muted);text-align:center}
.spq{display:grid;max-height:46vh;overflow-y:auto;margin:10px 0 12px;border-top:1px solid var(--line)}
.spq-row{display:grid;gap:1px;text-align:left;padding:11px 2px;border-bottom:1px solid var(--line)}
.spq-row b{font-size:14.5px;color:var(--ink)}
.spq-row span{font-size:12px;color:var(--muted)}
.rad{display:flex;gap:8px;flex-wrap:wrap}

/* Map (map.js) */
.smap{position:relative;overflow:hidden;background:#E8E6E1;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;border-block:1px solid var(--line);outline-offset:-3px}
.smap.dragging{cursor:grabbing}
.sm-back,.sm-tiles,.sm-circles,.sm-pins{position:absolute;inset:0}
/* smooth zoom (map.js): the tiles scale while zooming; pins and circles step aside for that moment */
.sm-back,.sm-tiles{transform-origin:0 0;will-change:transform}
.sm-back{pointer-events:none}
.sm-circles,.sm-pins{transition:opacity .12s}
.smap.zooming .sm-circles,.smap.zooming .sm-pins{opacity:0;transition:none}
.sm-tile{position:absolute;left:0;top:0;width:256px;height:256px;max-width:none;pointer-events:none;-webkit-user-drag:none}
.sm-circle{position:absolute;left:0;top:0;border-radius:50%;background:rgba(23,23,23,.09);border:1.5px dashed rgba(23,23,23,.42);pointer-events:none}
.sm-circle.on{background:rgba(6,199,85,.16);border:1.5px dashed #06A94B}
.sm-pin{position:absolute;left:-14px;top:-35px;width:28px;height:36px;padding:0;color:#171717;-webkit-tap-highlight-color:transparent}
.sm-pin .ico,.sm-center .ico{position:relative;display:block;width:28px;height:36px;transform-origin:50% 100%;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4));transition:transform .12s}
.sm-pin svg,.sm-center svg{display:block;width:28px;height:36px}
.sm-pin .n{position:absolute;left:0;top:7px;width:100%;text-align:center;font:700 10.5px/1 var(--f-num);color:#171717;pointer-events:none}
.sm-pin.up .ico::after{content:"";position:absolute;right:-3px;top:-3px;width:10px;height:10px;border-radius:50%;background:#06C755;border:2px solid #fff}
.smap.dense .sm-pin:not(.sm-person):not(.sm-here) .ico{transform:scale(.6)}
.smap.dense .sm-pin.on:not(.sm-person):not(.sm-here) .ico{transform:scale(1.1)}
.sm-pin.on{color:#06A94B}
.sm-pin.on .ico{transform:scale(1.22)}
.sm-bubble{position:absolute;left:50%;bottom:42px;transform:translateX(-50%);white-space:nowrap;background:#171717;color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.04em;padding:3px 10px;border-radius:999px;display:none;pointer-events:none}
.sm-pin.on .sm-bubble{display:block}
.sm-pickc{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}
.sm-center{position:absolute;left:50%;top:50%;width:28px;height:36px;margin:-36px 0 0 -14px;color:#06A94B;pointer-events:none}
.sm-center .sm-bubble{display:block}
.sm-me{position:absolute;left:-7px;top:-7px;width:14px;height:14px;border-radius:50%;background:#1A73E8;border:2.5px solid #fff;box-shadow:0 0 0 4px rgba(26,115,232,.25);pointer-events:none}
.sm-ctl{position:absolute;right:10px;top:10px;display:grid;gap:6px;z-index:6}
.sm-ctl button{width:38px;height:38px;border-radius:8px;background:#fff;color:#171717;border:1px solid #cfcfcf;font-size:19px;line-height:1;display:grid;place-items:center;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.sm-ctl button svg{width:20px;height:20px}
.sm-attr{position:absolute;right:0;bottom:0;z-index:6;background:rgba(255,255,255,.85);font-size:10px;padding:1px 6px;color:#333;text-decoration:none}

/* Rules, split, profile bits */
.rules{display:grid;gap:5px;padding:4px 0 14px;font-size:13px;color:var(--muted)}
.rules div{display:flex;gap:8px}
.rules div::before{content:"—";color:var(--faint);flex:none}
.split{border:1px solid var(--line-2);border-radius:var(--r);padding:12px 14px;margin:4px 0 14px;display:grid;gap:10px}
.split .amt{font-family:var(--f-num);font-weight:700;font-size:30px;color:var(--ink);line-height:1}
.split .amt small{font-family:var(--f-jp);font-size:12px;color:var(--muted);font-weight:500;margin-left:6px}
.split .acts{display:flex;gap:8px;flex-wrap:wrap}
.person .sub{display:block;font-size:11.5px;color:var(--muted);line-height:1.5}
.intro{margin:0;border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;display:grid;gap:4px;font-size:13px;grid-column:1/-1}
.intro div{display:grid;grid-template-columns:72px 1fr;gap:8px}
.intro dt{color:var(--muted);font-size:12px}
.intro dd{margin:0;color:var(--text)}
.toggle-line{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--text)}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}

/* ---- Real app additions ---- */
html,body{margin:0;min-height:100%}
[hidden]{display:none!important}
.testbar{max-width:var(--col);margin:0 auto;padding:6px 16px;font-size:11px;color:var(--muted);background:var(--surface-2);border-bottom:1px solid var(--line);text-align:center;letter-spacing:.02em}
/* aspect-ratio keeps portrait face photos round (a percentage height does not resolve inside the grid) */
.av img{width:100%;height:100%;aspect-ratio:1/1;border-radius:50%;object-fit:cover;display:block}
.av.has-img{background:var(--surface-2)!important;overflow:hidden}
.av.has-img.ops{position:relative;overflow:visible}
.av-ops{position:absolute;right:-2px;bottom:-2px;width:40%;height:40%;min-width:12px;min-height:12px;border-radius:50%;background:var(--btn);display:grid;place-items:center;box-shadow:0 0 0 2px var(--surface)}
.av-ops .mark{height:58%;width:auto;color:var(--btn-ink)}
.btn[disabled],button[disabled]{opacity:.5;pointer-events:none}
.splash{min-height:80vh;display:grid;place-items:center;align-content:center;gap:18px;color:var(--muted);font-size:13px}
.splash .lockup .mark{height:44px}
.splash .lockup .wordmark{font-size:28px}
.spin{width:22px;height:22px;border-radius:50%;border:2px solid var(--line-2);border-top-color:var(--ink);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.banner{margin:14px 16px 0;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r);display:flex;gap:12px;align-items:center;font-size:12.5px;color:var(--muted);background:var(--surface)}
.banner b{display:block;color:var(--ink);font-size:13.5px}
.banner .btn{flex:none}
.gate{padding:20px 20px 40px;display:grid;gap:18px}
.gate .lockup{justify-self:start}
.gate h1{margin:0;font-size:22px;line-height:1.5;color:var(--ink);font-weight:900}
.gate p{margin:0;font-size:13.5px;color:var(--muted)}
.gate ul{margin:0;padding-left:1.2em;font-size:14px;line-height:1.9}
.pub-sh{display:grid;gap:6px;border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;background:var(--surface)}
.pub-sh div{display:flex;gap:10px;align-items:baseline;font-size:13.5px}
.pub-sh div b{flex:none;color:var(--ink)}
.pub-sh div span{color:var(--muted);min-width:0}
.pub-sh small{font-size:11.5px;color:var(--faint)}
.gate .note-box,.onb .note-box,.try .note-box{border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;font-size:12.5px;color:var(--muted);display:grid;gap:4px}
.onb .note-box{margin:0 0 14px;line-height:1.6}
.gate .note-box b,.onb .note-box b,.try .note-box b{color:var(--ink);font-size:13.5px}
.gate .note-box.line-add,.try .note-box.line-add{border-color:var(--line-green)}
.gate .note-box.line-add .btn{justify-self:start;margin-top:6px}
.err-box{margin:16px;padding:14px;border:1px solid #C2413A;border-radius:var(--r);color:#C2413A;font-size:13.5px;white-space:pre-wrap}
.tools{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line)}
.tools .lbl{width:100%;font-size:11px;letter-spacing:.16em;color:var(--muted);font-family:var(--f-lat)}
.sheet .inp+.inp,.sheet .inp+.field,.sheet .field+.field{margin-top:10px}
.sheet .field{display:grid;gap:6px}
.sheet .field label{font-size:13px;font-weight:700;color:var(--ink)}
.chk{display:flex;gap:10px;align-items:center;padding:10px 0;font-size:14px;border-bottom:1px solid var(--line)}
.adm-row{display:grid;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}
.adm-row .top-line{display:flex;align-items:center;gap:10px}
.adm-row .top-line .n{flex:1;min-width:0;font-size:14px}
.adm-row .top-line .n small{display:block;color:var(--muted);font-size:11.5px}
.adm-row .ctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12.5px}
.adm-more summary{cursor:pointer;list-style:none;display:inline-block;padding:2px 0}
.adm-more summary::-webkit-details-marker{display:none}
.adm-more summary::before{content:'＋ '}
.adm-more[open] summary::before{content:'－ '}
.adm-more[open]{display:grid;gap:8px}
.adm-row select,.adm-row input[type=email]{border:1px solid var(--line-2);background:var(--surface);border-radius:var(--r);padding:6px 8px;font-size:13px}
.adm-row input[type=email]{flex:1;min-width:140px}
.adm-row label{display:inline-flex;gap:6px;align-items:center}
.check-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.check-row .ok{color:var(--ok);font-weight:700}
.check-row .ng{color:var(--warn);font-weight:700}
.pill.cancel{color:#C2413A;border:1px solid #C2413A}
.muted-s{font-size:12px;color:var(--muted)}
.sun-t.inline{display:inline-flex;gap:4px;align-items:center}

/* ---------- Posters: replace the generated fake photos. A calm tone, fine grain and camera-viewfinder corners. ---------- */
.pst{--pt:#fff;--pt2:rgba(255,255,255,.7);position:relative;overflow:hidden;color:var(--pt);isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:9px 8px;border-radius:2px;text-align:left}
.pst::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--pbg)}
.pst::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.2;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .95 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.pst-night{--pbg:radial-gradient(90% 70% at 82% 4%,rgba(255,206,140,.32),transparent 60%),radial-gradient(70% 60% at 8% 100%,rgba(120,130,255,.24),transparent 62%),linear-gradient(162deg,#0e121c 0%,#1b2240 55%,#34294a 100%)}
.pst-cafe{--pbg:radial-gradient(90% 70% at 14% 0%,rgba(255,255,255,.7),transparent 62%),linear-gradient(162deg,#f3e9db 0%,#d9c3a8 58%,#b79a7c 100%);--pt:#3a2b1f;--pt2:rgba(58,43,31,.66)}
.pst-park{--pbg:radial-gradient(90% 70% at 86% 0%,rgba(255,255,226,.75),transparent 60%),linear-gradient(162deg,#eef1de 0%,#bccaa2 58%,#8ea478 100%);--pt:#22301a;--pt2:rgba(34,48,26,.66)}
.pst-street{--pbg:radial-gradient(90% 70% at 18% 0%,rgba(255,255,255,.85),transparent 62%),linear-gradient(162deg,#f4f4f4 0%,#d3d6dc 58%,#aeb3bc 100%);--pt:#1d2026;--pt2:rgba(29,32,38,.6)}
.pst .vf{position:absolute;inset:6px;pointer-events:none;opacity:.6;z-index:1;
  background:linear-gradient(currentColor,currentColor) 0 0/9px 1.5px no-repeat,linear-gradient(currentColor,currentColor) 0 0/1.5px 9px no-repeat,
  linear-gradient(currentColor,currentColor) 100% 0/9px 1.5px no-repeat,linear-gradient(currentColor,currentColor) 100% 0/1.5px 9px no-repeat,
  linear-gradient(currentColor,currentColor) 0 100%/9px 1.5px no-repeat,linear-gradient(currentColor,currentColor) 0 100%/1.5px 9px no-repeat,
  linear-gradient(currentColor,currentColor) 100% 100%/9px 1.5px no-repeat,linear-gradient(currentColor,currentColor) 100% 100%/1.5px 9px no-repeat}
.pst .wm{position:absolute;right:-18%;bottom:-8%;width:78%;opacity:.10;pointer-events:none;color:var(--pt)}
.pst .wm .mark,.pst .wm svg{width:100%;height:auto;color:inherit;display:block}
.pst>*{position:relative;z-index:2}
.pst>.vf,.pst>.wm{position:absolute}
.pst .pq{font-family:var(--f-lat);font-weight:700;font-size:7.5px;letter-spacing:.2em;color:var(--pt2);text-transform:uppercase;padding:2px 2px 0}
.pst .pp{display:none}
.pst .pd{display:block;font-family:var(--f-num);font-weight:700;font-size:27px;line-height:1;letter-spacing:.01em}
.pst .pw{display:block;font-family:var(--f-lat);font-weight:700;font-size:9px;letter-spacing:.18em;color:var(--pt2);margin-top:4px}
.pst .pw em{font-style:normal}
.hero .pst{height:100%;border-radius:0;padding:18px 18px 20px;justify-content:flex-end;gap:2px}
.hero .pst .vf{inset:14px;opacity:.5}
.hero .pst .pq{position:absolute;top:calc(22px + env(safe-area-inset-top,0px));left:0;right:0;text-align:center;font-size:10px;padding:0}
.hero .pst .pd{font-size:96px;letter-spacing:-.01em}
.hero .pst .pw{font-size:13px;margin-top:8px}
.hero .pst .pp{display:block;font-size:15px;font-weight:700;margin-top:8px;letter-spacing:.04em}
.hero .pst .wm{width:58%;right:-6%;bottom:-6%;opacity:.12}

/* ---------- Login cover: the LP's first view (header band, photo collage fading to white, brand block) ---------- */
.onb.lp{min-height:100vh;align-content:start;gap:0;padding-block:0 28px}
.lp-hero{position:relative;margin-inline:-24px;width:calc(100% + 48px);aspect-ratio:375/388;max-height:clamp(300px,54vh,560px);background:var(--surface-2);overflow:hidden}
.lp-hero::before{content:"";position:absolute;inset:0;background:url(/img/lp-hero.webp) center top/100% auto no-repeat}
.lp-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(255,255,255,0) 86.6%,var(--bg) 100%)}
.lp-head{position:absolute;z-index:1;left:0;right:0;top:0;height:21.9%;display:flex;align-items:center;padding-inline:20px;background:linear-gradient(var(--bg) 78%,transparent)}
.lp-head .lockup{justify-self:auto}
.onb.lp .catch,.onb.lp .slash,.onb.lp .kana{font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif}
.onb.lp .catch{margin:6px 0 16px;font-size:15px;font-weight:700;line-height:1.75}
.onb.lp .rule{height:0;margin:0;background:none;border-top:1px solid color-mix(in srgb,var(--ink) 18%,transparent)}
.onb.lp .brand{display:grid;justify-items:center;gap:4px;padding-top:22px}
.onb.lp .slash{position:relative;z-index:0;display:block;margin:0 auto 6px;padding:0 5px 2px;transform:rotate(-5deg);font-size:19.5px;font-weight:900;letter-spacing:.08em;line-height:1.25;color:var(--ink);background:none}
.onb.lp .slash::after{content:"";position:absolute;z-index:-1;left:0;right:2px;top:66%;height:.5em;border-radius:999px;background:color-mix(in srgb,var(--ink) 9%,transparent)}
.onb.lp .big{margin:0;font-size:48.75px;line-height:1}
.onb.lp .kana{margin:0;font-size:12.4px;font-weight:900;letter-spacing:.18em}
.onb.lp .btn.line{margin-top:22px}
.onb.lp .fine{margin-top:10px}
.onb.lp .form{margin-top:22px}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .lp-hero::before{filter:brightness(.72)}
  :root:not([data-theme="light"]) .lp-hero::after{background:linear-gradient(rgba(17,17,17,0) 86.6%,var(--bg) 100%)}
}
:root[data-theme="dark"] .lp-hero::before{filter:brightness(.72)}
:root[data-theme="dark"] .lp-hero::after{background:linear-gradient(rgba(17,17,17,0) 86.6%,var(--bg) 100%)}

/* ---------- 当日ルーム (day-of room) ---------- */
.room{margin:14px 16px 2px;border:1.5px solid var(--ink);border-radius:var(--r);overflow:hidden;background:var(--surface)}
.room .bar{background:var(--btn);color:var(--btn-ink);padding:8px 14px;display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700}
.room .bar .sp{flex:1}
.room .bar .live{width:8px;height:8px;border-radius:50%;background:#E5484D;animation:pulse 1.6s infinite}
.room .bar .role{font-family:var(--f-lat);font-size:10px;letter-spacing:.12em;border:1px solid currentColor;border-radius:2px;padding:0 6px;opacity:.9}
.room .pinmsg{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;background:color-mix(in srgb,var(--warn) 10%,var(--surface));border-bottom:1px solid var(--line)}
.room .pinmsg .pm-i{color:var(--warn);flex:none;margin-top:2px}
.room .pinmsg .pm-i svg{width:17px;height:17px}
.room .pinmsg div{flex:1;min-width:0}
.room .pinmsg b{display:block;font-size:14.5px;line-height:1.6;color:var(--ink);word-break:break-word}
.room .pinmsg small{font-size:11px;color:var(--muted)}
.room .pm-x,.room .pin-add{font-size:12.5px;font-weight:700;color:var(--ink);text-decoration:underline;text-underline-offset:3px;flex:none}
.room .pin-add{display:flex;align-items:center;gap:6px;width:100%;padding:10px 14px;border-bottom:1px solid var(--line);color:var(--muted);text-decoration:none;font-weight:500}
.room .pin-add svg{width:15px;height:15px}
.room .here{padding:12px 14px;display:grid;gap:3px;border-bottom:1px solid var(--line)}
.room .here b{font-size:17px;color:var(--ink);line-height:1.5}
.room .here span{font-size:12.5px;color:var(--muted)}
.room .here .away{display:flex;align-items:center;gap:5px;color:var(--ink);font-weight:700;margin-top:2px}
.room .here .away svg{width:14px;height:14px;flex:none}
.room .here .acts{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.room-map{height:min(40vh,300px);min-height:210px;border-inline:0}
.now-map{height:min(46vh,360px);min-height:250px}
.room .board{padding:12px 14px;border-bottom:1px solid var(--line);display:grid;gap:10px}
.bd-h{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.bd-h b{display:block;font-size:15px;color:var(--ink)}
.bd-h .num{font-size:12px;color:var(--muted)}
.bd-h .num b{display:inline;font-size:20px;font-family:var(--f-num)}
.bd-grp{display:grid;gap:6px}
.bd-grp h4{margin:0;font-size:12px;color:var(--muted);font-weight:700;display:flex;align-items:center;gap:6px;letter-spacing:.04em}
.bd-grp h4 em{font-style:normal;font-family:var(--f-num);color:var(--ink)}
.bd-grp h4 .d{width:8px;height:8px;border-radius:50%;background:var(--muted);flex:none}
.bd-grp h4 .d.ok{background:var(--ok)}
.bd-grp h4 .d.warn{background:var(--warn)}
.bd-grp h4 .d.none{background:transparent;border:1.5px solid var(--faint)}
.bd-chips{display:flex;flex-wrap:wrap;gap:6px}
.bd-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line-2);border-radius:999px;padding:2px 10px 2px 3px;font-size:12.5px;color:var(--ink)}
.bd-row{display:flex;align-items:center;gap:10px}
.bd-row .n{min-width:0;flex:1;display:grid}
.bd-row .n b{font-size:14px;color:var(--ink);font-weight:700}
.bd-row .n span{font-size:12px;color:var(--muted)}
.av.sm{width:24px;height:24px;font-size:10.5px;border-width:0}
i.me,i.coord{font-style:normal;font-size:10px;font-weight:700;border-radius:2px;padding:0 5px;margin-left:6px;vertical-align:1px;white-space:nowrap}
i.me{background:var(--btn);color:var(--btn-ink)}
i.coord{border:1px solid var(--line-2);color:var(--muted)}
.bd-nudge{justify-self:start;margin-top:2px}
.bd-nudge svg{width:15px;height:15px}
.room .mine{padding:12px 14px;display:grid;gap:10px}
.room .mine:empty{display:none}
.room .mine .lbl{font-size:12px;color:var(--muted)}
.share-row{display:flex;gap:12px;align-items:center;padding-top:10px;border-top:1px dashed var(--line-2)}
.share-row .v{flex:1;min-width:0;font-size:13.5px}
.share-row .v b{display:block;color:var(--ink);font-size:14px}
.share-row .v span{display:block;font-size:11.5px;color:var(--muted);line-height:1.55}
.share-opts{display:grid;gap:6px}
.coord-line{display:flex;align-items:center;gap:6px;padding:9px 14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.coord-line svg{width:14px;height:14px;flex:none}
.pinrow{display:flex}

/* chat */
.msgs{display:grid}
.cmt.me .b small{color:var(--ink)}
.cmt .b{flex:1;white-space:pre-wrap;word-break:break-word}
.cmt .b small{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.cmt .del{margin-left:auto;font-size:11px;color:var(--faint);text-decoration:underline;text-underline-offset:2px;padding:0 2px}
.sysrow{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 0;font-size:11.5px;color:var(--muted)}
.sysrow span{background:var(--surface-2);border-radius:999px;padding:2px 12px;text-align:center}
.sysrow time{font-family:var(--f-num);color:var(--faint);font-size:11px}
.qs{display:flex;gap:6px;overflow-x:auto;padding:4px 0 2px;scrollbar-width:none}
.qs::-webkit-scrollbar{display:none}
.qs .chip{padding:5px 12px;font-size:12.5px}

/* map: members and the meeting pin */
.sm-pin.sm-person{left:-16px;top:-16px;width:32px;height:32px}
.sm-person .sm-av{position:relative;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#171717;color:#fff;border:2.5px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.45);overflow:hidden;font:700 13px/1 var(--f-jp)}
.sm-person .sm-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sm-person .sm-av .n{position:relative}
.sm-person.mine .sm-av{border-color:#06C755;box-shadow:0 0 0 3px rgba(6,199,85,.3),0 1px 4px rgba(0,0,0,.4)}
.sm-person .sm-bubble{bottom:38px}
.sm-person:hover .sm-bubble,.sm-person:focus-visible .sm-bubble,.sm-person.on .sm-bubble{display:block}
.sm-circle.sm-c-person{background:rgba(26,115,232,.09);border:1.5px dashed rgba(26,115,232,.45)}
.sm-circle.sm-c-person.mine{background:rgba(6,199,85,.10);border-color:rgba(6,169,75,.6)}
.sm-pin.sm-here{color:#E5484D}
.sm-pin.sm-here .sm-bubble{display:block;background:#E5484D}
.sm-pin.sm-here .ico{transform:scale(1.15)}

/* いま撮れる人 */
.seg button .cnt{display:inline-block;margin-left:6px;min-width:18px;padding:0 5px;border-radius:999px;background:var(--btn);color:var(--btn-ink);font:700 11px/18px var(--f-num)}
.pcard{margin:6px 16px 10px;border:1px solid var(--line-2);border-radius:var(--r);padding:14px;display:grid;gap:10px}
.pcard .t b{display:flex;align-items:center;gap:8px;font-size:16px;color:var(--ink)}
.pcard .t span{display:block;font-size:12.5px;color:var(--muted);line-height:1.7;margin-top:2px}
.pcard small{font-size:11.5px;color:var(--faint);line-height:1.6}
.pcard.on{border:1.5px solid var(--ink);grid-template-columns:1fr auto;align-items:center}
.pcard.on .live{width:9px;height:9px;border-radius:50%;background:#06C755;animation:pulse 1.6s infinite;flex:none}
.pcard .pa{display:flex;flex-direction:column;gap:6px}
.now-count{margin:0 16px 12px;font-size:12.5px;color:var(--muted)}
.now-count b{font-size:20px;color:var(--ink)}
.invs{display:grid;gap:8px;margin:6px 16px 10px}
.inv{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:center;border:1.5px solid #06A94B;background:color-mix(in srgb,#06C755 7%,var(--surface));border-radius:var(--r);padding:12px}
.inv .n{min-width:0;display:grid}
.inv .n b{font-size:14.5px;color:var(--ink)}
.inv .n span{font-size:13px;color:var(--text)}
.inv .n small{font-size:11.5px;color:var(--muted)}
.inv-a{grid-column:1/-1;display:flex;gap:8px}
.inv-a .btn{flex:1}
.outs{display:grid;gap:6px;margin:0 16px 10px}
.out{font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;background:var(--surface-2);border-radius:var(--r)}
.out.ok{color:var(--ink);background:color-mix(in srgb,#06C755 10%,var(--surface))}
.linkb{font-size:12px;color:var(--ink);text-decoration:underline;text-underline-offset:3px;padding:0}
.pr-list{display:grid;padding-inline:16px;margin-top:6px}
.pr-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.pr-row .n{min-width:0;display:grid;gap:1px}
.pr-row .n b{font-size:14.5px;color:var(--ink)}
.pr-row .n .sub{font-size:11.5px;color:var(--muted)}
.pr-row .n .pnote{font-size:13px;color:var(--text)}
.pr-row .n .meta{font-size:11.5px;color:var(--faint)}
.pr-acts{display:flex;align-items:center;gap:6px}
.more{width:32px;height:32px;border-radius:50%;border:1px solid var(--line-2);color:var(--muted);font-size:16px;line-height:1;letter-spacing:.1em;display:grid;place-items:center}
.pr-foot{padding:10px 16px 2px}
.safety{margin:0;padding:10px 16px 4px 34px;font-size:12px;color:var(--muted);line-height:1.8}
.sheet .safety{padding:6px 0 10px 18px;margin-bottom:6px}
.opts .opt .av{flex:none}

/* a map inside a long page: swipes scroll the page until the map is tapped once */
.smap.lock{touch-action:auto;cursor:pointer}
.smap.lock.active{touch-action:none;cursor:grab}
.sm-hint{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:6;background:rgba(23,23,23,.78);color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.04em;padding:5px 14px;border-radius:999px;pointer-events:none;white-space:nowrap}
.smap.lock.active .sm-hint{display:none}

/* ひろば（お知らせ・撮影ノウハウ・雑談・質問）、会員特典、運営への連絡 */
.tdot{position:absolute;top:3px;left:calc(50% + 6px);width:9px;height:9px;border-radius:50%;background:#E5484D;border:2px solid var(--surface);box-sizing:border-box}
.udot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#E5484D;margin-left:6px;vertical-align:1px;flex:none}
.newsc{display:flex;align-items:center;gap:10px;margin:14px 16px 0;width:calc(100% - 32px);padding:12px 14px;border:1px solid var(--line-2);border-radius:var(--r);text-align:left;background:var(--surface)}
.newsc.new{border-color:var(--ink)}
.newsc .t{flex:1;min-width:0;display:grid;gap:1px}
.newsc .t b{font-size:14.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.newsc .t small{font-size:11.5px;color:var(--muted)}
#board-seg button{font-size:12.5px;white-space:nowrap}
.bd-add{padding:0 16px 8px}
.rules-d{margin:0 16px 10px;border:1px solid var(--line);border-radius:var(--r);font-size:12.5px;color:var(--muted)}
.rules-d summary{cursor:pointer;padding:9px 12px;font-weight:700;color:var(--ink);font-size:12.5px}
.rules-d div{padding:0 12px 8px}
.rules-d p{margin:0 0 6px;font-size:12.5px}
.rules-d ul{margin:0 0 6px;padding-left:18px}
/* 参加のお願い on a shoot: folded like ひろばのルール, inside the section's own padding */
.sec .rules-d{margin:2px 0 14px}
.rules-d .rules{padding:0 12px 10px}
.rules-d .rules div{padding:0}
.blist{display:grid;padding-inline:16px}
.bpost{display:grid;gap:7px;text-align:left;padding:14px 0;border-bottom:1px solid var(--line);width:100%}
.bph{display:flex;align-items:center;gap:10px}
.bph .n{flex:1;min-width:0;display:grid}
.bph .n b{font-size:14px;color:var(--ink)}
.bph .n small{font-size:11.5px;color:var(--muted)}
.bph .pin{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:700;color:var(--ink);border:1px solid var(--line-2);border-radius:2px;padding:1px 6px;flex:none}
.bph .pin svg{width:12px;height:12px}
.bpt{font-size:15.5px;color:var(--ink);line-height:1.5}
.bpb{margin:0;font-size:13.5px;color:var(--text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;word-break:break-word}
.bpf{display:flex;gap:16px;align-items:center;font-size:12.5px;color:var(--muted)}
.bpf span,.bpf .lk{display:inline-flex;align-items:center;gap:5px}
.bpf svg{width:15px;height:15px}
.bpf .lk{padding:4px 0}
.bpf .lk[aria-pressed="true"]{color:#E5484D;font-weight:700}
.bpf .lk[aria-pressed="true"] svg{fill:currentColor}
.bdetail{padding:16px;border-bottom:1px solid var(--line);display:grid;gap:10px}
.bpt-l{margin:0;font-size:19px;line-height:1.5;color:var(--ink)}
.bpb-l{margin:0;font-size:14.5px;line-height:1.9;white-space:pre-wrap;word-break:break-word}
.bpb-l a,.cmt .b a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;word-break:break-all}
.reflink{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink)}
.reflink svg{width:15px;height:15px}
.perks{display:grid;gap:10px;padding:8px 16px 16px}
.perk{border:1px solid var(--line-2);border-radius:var(--r);padding:14px;display:grid;gap:8px}
.perk b{font-size:15.5px;color:var(--ink)}
.perk p{margin:0;font-size:13.5px;white-space:pre-wrap;color:var(--text)}
.perk .code{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--surface-2);border-radius:var(--r);padding:8px 10px;font-size:12px;color:var(--muted)}
.perk .code code{font-family:var(--f-num);font-size:16px;color:var(--ink);letter-spacing:.06em;user-select:all;flex:1;min-width:0;word-break:break-all}
.perk .btn{justify-self:start}
.inqs{display:grid;border-top:1px solid var(--line)}
.inq{display:grid;gap:2px;text-align:left;padding:11px 0;border-bottom:1px solid var(--line);width:100%}
.inq .t{font-size:14px;font-weight:700;color:var(--ink);display:flex;align-items:center}
.inq .s{font-size:13px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inq .m{font-size:11.5px;color:var(--faint)}
.inq-msgs{display:grid;gap:8px;margin:8px 0 12px;max-height:38vh;overflow-y:auto}
.im{background:var(--surface-2);border-radius:var(--r);padding:9px 12px;font-size:13.5px;white-space:pre-wrap;word-break:break-word;color:var(--text)}
.im small{display:block;font-size:11px;color:var(--muted);margin-bottom:2px}
.im.ad{background:color-mix(in srgb,#06C755 9%,var(--surface));border:1px solid color-mix(in srgb,#06A94B 40%,var(--surface))}

/* 写真の「おくる」ボックス */
.vh{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:0 16px}
.ptile{position:relative;display:block;aspect-ratio:1/1;background:var(--surface-2);border-radius:var(--r);overflow:hidden;padding:0}
.ptile img{width:100%;height:100%;object-fit:cover;display:block}
.ptile .udot{position:absolute;top:6px;right:6px;margin:0;border:2px solid #fff;box-sizing:content-box;width:8px;height:8px}
.ptile .pt-b{position:absolute;left:4px;bottom:4px;font-size:10px;font-weight:700;background:rgba(0,0,0,.62);color:#fff;border-radius:3px;padding:0 5px;line-height:17px}
.ptile .px{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:16px;line-height:24px;text-align:center}
.ptile.add{display:grid;place-items:center;align-content:center;gap:2px;border:1.5px dashed var(--line-2);background:var(--surface);color:var(--muted);font-size:11.5px;font-weight:700;cursor:pointer;text-align:center}
.ptile.add svg{width:22px;height:22px}
.ptile.ld{display:grid;place-items:center}
.phg{padding-bottom:12px}
.phh{padding:14px 16px 8px;font-size:13px;font-weight:700;color:var(--ink)}
.pchip{display:inline-flex;align-items:center;gap:6px;padding:4px 12px 4px 4px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);font-size:13px;color:var(--muted)}
.pchip:first-child{padding-left:12px}
.pchip[aria-pressed="true"]{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
.pchip .av{width:24px;height:24px;border-width:0;font-size:10.5px}
.phnote{border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;font-size:12.5px;color:var(--muted)}
.phnote b{color:var(--ink);font-size:13px}
.phnote ul{margin:6px 0 0;padding-left:18px;display:grid;gap:3px}
.lightbox .lb-bar{display:grid;gap:8px;padding:6px 12px calc(14px + env(safe-area-inset-bottom,0px))}
.lightbox .lb-row{display:grid;grid-template-columns:44px 1fr 44px;align-items:center}
.lightbox .lb-row button{font-size:30px;line-height:1;color:#fff;height:40px}
.lightbox .lb-row .cap2{padding:0;text-align:center}
.lightbox .lb-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.lightbox .lbb{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.4);color:#fff;font-size:13px;font-weight:700}
.lightbox .lbb svg{width:17px;height:17px}
.lightbox .lbb.on{background:#fff;color:#171717;border-color:#fff}

/* 足あと（行きたい・行ってきた） */
.fp{display:grid;gap:8px}
.fp-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fp-b{display:flex;align-items:center;justify-content:center;gap:6px;height:44px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--surface);color:var(--ink);font-size:14px;font-weight:700}
.fp-b svg{width:17px;height:17px;flex:none}
.fp-b b{font-family:var(--f-num);font-size:14px;color:var(--muted);font-weight:500}
.fp-b[aria-pressed="true"]{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
.fp-b[aria-pressed="true"] b{color:inherit;opacity:.75}
.fp-b.w[aria-pressed="true"] svg{fill:currentColor}
.fp-b.pop{animation:fppop .6s cubic-bezier(.2,.9,.3,1.4)}
@keyframes fppop{0%{transform:scale(1)}35%{transform:scale(1.1)}100%{transform:scale(1)}}
.fp-nudge{margin:0;font-size:12.5px;font-weight:700;color:#06A94B}
.fp-more{display:grid;gap:10px;padding:2px 0 12px}
.fp-parts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.fp-parts i{font-style:normal;font-weight:700;border:1px solid var(--line-2);border-radius:999px;padding:1px 9px;color:var(--ink)}
.fp-parts i.top{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
.fpl{display:grid;gap:14px}
.fpl-pad{padding:0 16px}
.fp-it{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start}
.fp-it .b{min-width:0;display:grid;gap:3px}
.fp-it .l{font-size:13.5px;line-height:1.55;color:var(--ink)}
.fp-it .l .sp{padding:0;font-weight:700;color:var(--ink);text-align:left;text-decoration:underline;text-underline-offset:2px}
.fp-it .m{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:var(--faint)}
.fp-it .m .pt{font-size:11px;font-weight:700;color:var(--ink);border:1px solid var(--line-2);border-radius:999px;padding:0 8px}
.fp-it .m em{font-style:normal;color:var(--muted)}
.fp-it .n{margin:0;font-size:13.5px;line-height:1.65;color:var(--ink);overflow-wrap:anywhere}
.fp-it .more{width:30px;height:30px;font-size:15px}
.fp-it .stamp{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);color:var(--ink)}
.fp-it .stamp svg{width:16px;height:16px}
.fpmini{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:var(--muted)}
.fpmini svg{width:13px;height:13px}
.sp-sum .fp-link{margin-left:auto;font-size:12.5px}
.fpm-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:2px 16px 4px}
.fpm-sum div{border:1px solid var(--line);border-radius:var(--r);padding:12px 6px;text-align:center}
.fpm-sum b{display:block;font-family:var(--f-num);font-size:26px;font-weight:700;line-height:1.15;color:var(--ink)}
.fpm-sum span{font-size:11.5px;color:var(--muted)}
.fpm-h{padding:18px 16px 8px;font-size:13px;font-weight:700;color:var(--ink)}
.ttl-wrap{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px}
.ttl-c{padding:6px 12px;border-radius:999px;background:var(--btn);color:var(--btn-ink);font-size:13px;font-weight:700}
.ttl-next{display:grid;gap:3px;padding:10px 16px 0;font-size:12.5px;color:var(--muted)}
.ttl-next b{color:var(--ink)}
.fpbars{display:grid;gap:12px;padding:0 16px}
.fpbar{display:grid;gap:5px}
.fpbar .t{display:flex;justify-content:space-between;font-size:13px;color:var(--ink)}
.fpbar .t span{font-family:var(--f-num);color:var(--muted)}
.fpbar .bar{height:6px;border-radius:999px;background:var(--surface-3);overflow:hidden}
.fpbar .bar i{display:block;height:100%;border-radius:inherit;background:var(--btn)}
/* pins I have been to / wish to go to */
.sm-pin.been .ico::before,.sm-pin.wish .ico::before{content:"";position:absolute;left:-4px;top:-3px;width:13px;height:13px;border-radius:50%;border:2px solid #fff;background-repeat:no-repeat;background-position:center;background-size:8px;z-index:1}
.sm-pin.been .ico::before{background-color:#06A94B;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.6 4.6L19 7.2'/%3E%3C/svg%3E")}
.sm-pin.wish .ico::before{background-color:#E5484D;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 20.5S3.5 15.4 3.5 9.3A4.3 4.3 0 0112 7.6a4.3 4.3 0 018.5 1.7c0 6.1-8.5 11.2-8.5 11.2z'/%3E%3C/svg%3E")}
#fpcard .t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sm-pin.on.been .ico::before{background-color:#171717}
.sp-sel .fpmini{display:none}
/* merged pins */
.sm-cl{position:absolute;left:-16px;top:-16px;width:32px;height:32px;padding:0;border-radius:50%;background:#171717;color:#fff;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.45);font:700 12.5px/28px var(--f-num);text-align:center;z-index:4;-webkit-tap-highlight-color:transparent}
.sm-cl.big{left:-20px;top:-20px;width:40px;height:40px;font-size:14px;line-height:36px}
.sm-cl.up{box-shadow:0 0 0 2.5px #06C755,0 1px 4px rgba(0,0,0,.45)}
/* search and filter */
.sp-find{display:flex;gap:8px;padding:0 16px 8px;align-items:center}
.sp-find .inp{flex:1;min-width:0;height:40px}
.sp-filter{flex:none;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.sp-filter svg{width:16px;height:16px}
.sp-filter .cnt{display:inline-block;min-width:18px;padding:0 5px;margin-left:2px;border-radius:999px;background:var(--btn);color:var(--btn-ink);font:700 11px/18px var(--f-num);text-align:center}
.sp-resw:empty{display:none}
.sp-res{margin:0 16px 8px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);padding:4px 12px}
.sp-act{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 8px}
.sp-act:empty{display:none}
.chip small{font-family:var(--f-num);opacity:.6}
.sp-res .spq-row{width:100%}
.sp-res .spq-row:last-of-type{border-bottom:0}
/* みんなの写真 */
.gal{display:grid;gap:8px;padding:2px 0 8px}
.gal-h{display:flex;align-items:center;gap:8px}
.gal-h b{font-size:14px;color:var(--ink)}
.gal-h span{font-size:12px;color:var(--muted)}
.gal-h .btn{margin-left:auto;display:inline-flex;align-items:center;gap:5px}
.gal-h .btn svg{width:15px;height:15px}
.spot.has-ph{grid-template-columns:96px minmax(0,1fr)}
.spot .sp-ph{width:96px;height:100%;min-height:118px;object-fit:cover;display:block;background:var(--surface-2)}
.spot .sp-pw{position:relative;display:block;width:96px}
.spot .sp-cr{position:absolute;left:0;right:0;bottom:0;padding:2px 4px;font-style:normal;font-size:8.5px;line-height:1.3;color:#fff;background:rgba(0,0,0,.45);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gal-ck{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--ink);line-height:1.55;margin:10px 0 0}
.gal-ck input{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:var(--btn)}
.lightbox .lb-note{display:block;margin-top:6px;color:#fff;font-size:13.5px;line-height:1.6}
.lightbox .lbb.ro{opacity:.75}
/* SNS on profiles */
.snsf{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:8px;font-size:13px;color:var(--ink)}
.snsf+.snsf{margin-top:6px}
.snsl{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.sns{display:inline-flex;align-items:baseline;gap:6px;padding:7px 12px;border:1px solid var(--line-2);border-radius:999px;font-size:13px;color:var(--ink);text-decoration:none;max-width:100%}
.sns b{font-size:11.5px;font-weight:700;color:var(--muted);letter-spacing:.04em}
.sns span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.psh{display:flex;gap:12px;align-items:center}
.psh h3{margin:0}
.psh p{margin:2px 0 0}
.pmsg{margin:4px 0 0;font-size:13.5px;color:var(--ink)}
.avp{display:inline-flex;cursor:pointer;flex:none;border-radius:50%}
.fol{display:grid;gap:2px;margin:2px 0 4px}
.fol-r{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);color:var(--ink);text-decoration:none}
.fol-r:first-child{border-top:0}
.fol-r span{flex:1;min-width:0;display:grid}
.fol-r b{font-size:13.5px}
.fol-r small{font-size:12px;color:var(--muted)}
.fol-r em{font-style:normal;font-size:12px;padding:4px 10px;border:1px solid var(--line-2);border-radius:999px}
.avp:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ar-g{display:grid;gap:4px;margin-top:6px}
.ar-g small{font-size:11.5px;color:var(--muted)}
.prow{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:14px 0 4px;font-size:13.5px}
.prow dt{color:var(--muted);font-size:12px;padding-top:1px}
.prow dd{margin:0;color:var(--ink)}
.pnext{display:grid;gap:6px;margin:6px 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r)}
.pnext>b{font-size:12.5px;color:var(--muted)}
.pnext-r{display:grid;grid-template-columns:auto 1fr;gap:10px;text-align:left;font-size:13px;color:var(--ink);padding:2px 0}
.pnext-r .num{color:var(--muted)}
.pnext-r i{font-style:normal;font-size:11px;margin-left:6px;padding:1px 6px;border-radius:999px;background:var(--surface-3);color:var(--muted)}
button.person{width:100%;text-align:left;color:inherit}
.avb{padding:0;border-radius:50%}
/* thanks */
.thx{display:flex;flex-wrap:wrap;gap:6px}
.thx-done{display:flex;align-items:center;gap:6px;margin:0 0 14px;font-size:13.5px;color:var(--ink)}
.thx-done svg{width:16px;height:16px;color:#06A94B}
/* weather */
.wx-m{font-size:11.5px;color:var(--muted);margin-right:6px;white-space:nowrap}
.wx-i{width:20px;text-align:center;font-size:17px;line-height:1.2;flex:none}
.rainb{margin:12px 16px 0;padding:12px 14px;border:1.5px solid #3D6FD9;border-radius:var(--r);background:rgba(61,111,217,.07);display:grid;gap:4px;font-size:13px;color:var(--text)}
.rainb b{font-size:14px;color:var(--ink)}
.rainb .acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.sp-sel .muted-s svg{width:13px;height:13px;vertical-align:-2px}
/* この1週間のS-Photo */
.dg{margin:16px 16px 0;border:1px solid var(--line-2);border-radius:var(--r);padding:12px 14px 6px;background:var(--surface)}
.dg-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.dg-h b{font-size:14.5px;color:var(--ink)}
.dg-h span{font-size:12px;color:var(--muted);font-family:var(--f-num)}
.dg-ph{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:6px}
.dg-ph button{padding:0;aspect-ratio:1/1;overflow:hidden;border-radius:4px;background:var(--surface-2)}
.dg-ph img{width:100%;height:100%;object-fit:cover;display:block}
.dg-r{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px 0;border-top:1px solid var(--line);font-size:13px;color:var(--text)}
.dg-r:first-of-type{border-top:0}
.dg-i{color:var(--muted);display:grid;place-items:center;flex:none}
.dg-i svg{width:16px;height:16px}
.dg-t{flex:1;min-width:0;line-height:1.5}
.dg-t b{font-family:var(--f-num);font-size:14px;color:var(--ink)}
.dg-c{color:var(--faint)}
/* 月のお題 */
.dg-ph button{position:relative}
.rk{position:absolute;left:4px;top:4px;min-width:20px;height:20px;border-radius:50%;background:var(--btn);color:var(--btn-ink);font:700 11px/20px var(--f-num);text-align:center}
.thv{padding:16px;display:grid;gap:8px}
.thv h2{margin:0;font-size:30px;font-weight:900;color:var(--ink)}
.thv p{margin:0;font-size:13.5px;color:var(--muted)}
.thv .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.thv .btn svg{width:16px;height:16px}
/* はじめての3ステップ */
.gd{margin:14px 16px 0;border:1.5px solid var(--ink);border-radius:var(--r);padding:12px 14px 4px;background:var(--surface);display:grid}
.gd.done{gap:6px;padding:14px;font-size:13px;color:var(--muted)}
.gd.done b{font-size:15px;color:var(--ink)}
.gd.done .btn{justify-self:start}
.gd-h{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.gd-h b{font-size:15px;color:var(--ink)}
.gd-h span{font-family:var(--f-num);font-size:13px;color:var(--muted)}
.gd-x{margin-left:auto;width:28px;height:28px;font-size:18px;color:var(--faint)}
.gd-r{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 0;border-top:1px solid var(--line)}
.gd-r:first-of-type{border-top:0}
.gd-r[disabled]{opacity:1;pointer-events:none}
.gd-n{width:24px;height:24px;border-radius:50%;border:1.5px solid var(--ink);display:grid;place-items:center;font:700 12px/1 var(--f-num);color:var(--ink);flex:none}
.gd-r.ok .gd-n{background:#06A94B;border-color:#06A94B;color:#fff}
.gd-n svg{width:14px;height:14px}
.gd-t{flex:1;min-width:0;display:grid;gap:1px}
.gd-t b{font-size:13.5px;color:var(--ink)}
.gd-r.ok .gd-t b{color:var(--muted);text-decoration:line-through}
.gd-t small{font-size:11.5px;color:var(--muted)}
/* 月のレポート */
.kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.kpi{border:1px solid var(--line);border-radius:var(--r);padding:10px 12px;display:grid;gap:2px}
.kpi span{font-size:12px;color:var(--muted)}
.kpi b{font-size:22px;color:var(--ink);line-height:1.2}
.kpi small{font-size:11px;color:var(--muted)}
.rp-h{margin:16px 0 6px;font-size:13px;font-weight:700;color:var(--ink)}
.rp-r{display:flex;justify-content:space-between;align-items:baseline;gap:10px;width:100%;text-align:left;padding:8px 0;border-top:1px solid var(--line);font-size:13.5px;color:var(--ink)}
.rp-r small{font-size:11.5px;color:var(--muted);white-space:nowrap}

/* 撮影会カレンダー: the first thing on the 撮影会 tab (a month of shoots; tap a day for its shoots) */
.cal{padding:2px 16px 0}
.cal-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cal-h b{font-size:17px;font-weight:700;color:var(--ink)}
.cal-h .icon-btn{width:36px;height:36px}
.cal-h .cal-nx svg{transform:scaleX(-1)}
.cal-h .icon-btn[disabled]{opacity:.3;cursor:default}
.cal-g{border-top:1px solid var(--line)}
.cal-w,.cal-r{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.cal-w span{padding:6px 0 4px;text-align:center;font-size:11px;color:var(--muted)}
.cal-w .cal-sun{color:var(--cal-sun)}
.cal-w .cal-sat{color:var(--cal-sat)}
.cal-r{border-bottom:1px solid var(--line)}
.cal-d{min-width:0;min-height:64px;padding:4px 2px 6px;display:flex;flex-direction:column;align-items:stretch;gap:2px;border-radius:var(--r);text-align:left}
.cal-d b{align-self:center;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:500;font-size:14px;line-height:1;color:var(--ink)}
.cal-d.cal-sun b{color:var(--cal-sun)}
.cal-d.cal-sat b{color:var(--cal-sat)}
.cal-d.cal-today b{background:var(--ink);color:var(--bg)}
.cal-d[aria-pressed="true"]{background:var(--surface-3)}
.cal-d.cal-out{opacity:.35}
.cal-d.cal-past .cal-m{opacity:.55}
.cal-m{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-style:normal;font-size:9.5px;line-height:12px;padding:1px 3px;border-radius:2px;border:1px solid var(--line-2);color:var(--text);overflow:hidden;word-break:break-all;letter-spacing:0}
.cal-m.cal-official{}
.cal-m.cal-offkai{}
.cal-m.cal-me::before{content:"✓"}
.cal-m.cal-more{border:0;padding:0;text-align:center;color:var(--muted)}
.cal-lg{display:flex;flex-wrap:wrap;gap:4px 12px;padding:8px 0 0;font-size:11px;color:var(--muted)}
.cal-lg span{display:inline-flex;align-items:center;gap:5px}
.cal-lg b{font-weight:700;color:var(--ink)}
.cal-sw{display:inline-block;width:14px;height:9px;border-radius:2px;border:1px solid var(--line-2)}
.cal-sw.cal-official{}
.cal-sw.cal-offkai{}
.cal-none{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0 16px 4px;font-size:13.5px;color:var(--muted)}
.calsync{display:flex;align-items:center;gap:12px;width:calc(100% - 32px);margin:16px 16px 4px;padding:12px 14px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--surface);text-align:left}
.sh+.calsync{margin-top:2px;margin-bottom:14px}
.calsync>svg{flex:none;width:20px;height:20px;color:var(--ink)}
.calsync>span:not(.dg-c){flex:1;display:grid;gap:2px}
.calsync b{font-size:14px;color:var(--ink)}
.calsync small{font-size:12px;line-height:1.5;color:var(--muted)}
.calsync .dg-c{flex:none;font-size:18px}
.sheet .cs-seg{margin:0 0 6px}
.sheet .cs-step{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid var(--line)}
.sheet .cs-step b{font-size:14px;color:var(--ink)}
.sheet .cs-step small{font-size:12px;line-height:1.6;color:var(--muted)}
.sheet .cs-note{margin:12px 0;font-size:12px;line-height:1.7}
.lnk{display:inline;padding:0;font-size:inherit;font-weight:700;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.sheet .btns+.cs-note{margin-top:14px}

/* 顔写真: the picker in the profile form, and the larger photo in a member's profile sheet */
.face-f{display:flex;gap:14px;align-items:center}
.face-pv{flex:none;width:76px;height:76px;border-radius:50%;overflow:hidden;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;color:var(--faint)}
.face-pv img{width:100%;height:100%;object-fit:cover;display:block}
.face-t{display:grid;gap:6px;justify-items:start}
.face-t small{font-size:12px;line-height:1.6;color:var(--muted)}
.psh-face{flex:none;width:96px;height:96px;border-radius:50%;overflow:hidden;background:var(--surface-2)}
.psh-face img{width:100%;height:100%;object-fit:cover;display:block}

/* ベストショット: the explanation on the photo page, rank numbers on the ranking, badges on profiles */

/* この1週間のS-Photo → これからの撮影会 */

/* メールでログイン (login screen) */
.mail-f{padding:0;text-align:left;margin-top:14px;display:grid;gap:10px}
.mail-f .fine{text-align:left;margin:0}
.mail-f .linkb{justify-self:center}

/* Wikimedia Commons photo of a well-known place, with its credit */
.wph{margin:2px 0 4px;display:grid;gap:4px}
.wph img{width:100%;aspect-ratio:3/2;max-height:220px;object-fit:cover;border-radius:var(--r);background:var(--surface-2);display:block}
.wph figcaption{font-size:10.5px;line-height:1.5;color:var(--faint)}
.wph figcaption a{color:inherit}

/* 顔写真の位置を調整: the photo moves under a round frame; outside the circle is dimmed */
.crop{display:grid;gap:14px;justify-items:center;margin:4px 0 16px}
.crop-v{position:relative;width:min(78vw,320px);aspect-ratio:1/1;overflow:hidden;border-radius:var(--r);background:#111;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.crop-v img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;pointer-events:none;-webkit-user-drag:none}
.crop-v::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(0,0,0,.5);outline:2px solid rgba(255,255,255,.85);outline-offset:-2px;pointer-events:none}
.crop-z{display:flex;align-items:center;gap:10px;width:min(78vw,320px);color:var(--muted)}
.crop-z input{flex:1;accent-color:var(--ink)}

/* 撮り方ガイド (/guide) */
.gd-entry{display:flex;align-items:center;gap:12px;width:calc(100% - 32px);margin:0 16px 14px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r);text-align:left;color:var(--ink)}
.gd-entry span{display:grid;gap:1px}
.gd-entry b{font-size:14.5px}
.gd-entry small{font-size:12px;color:var(--muted)}
.gd-chips{display:flex;gap:8px;overflow-x:auto;padding:4px 16px 12px;scrollbar-width:none}
.gd-chips::-webkit-scrollbar{display:none}
.gd-lead{margin:0 16px 12px;font-size:13px;color:var(--muted)}
.gd-list{display:grid;gap:12px;padding:0 16px 32px}
.gd-card{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:center;padding:12px 14px 12px 8px;border:1px solid var(--line);border-radius:var(--r)}
.gd-fig{width:104px;height:auto;display:block}
.gd-p polyline{fill:none;stroke:var(--ink);stroke-linecap:round;stroke-linejoin:round}
.gd-p circle{fill:var(--ink)}
.gd-gr{stroke:var(--line-2);stroke-width:1.5}
.gd-wall{fill:var(--surface-3)}
.gd-step{fill:none;stroke:var(--line-2);stroke-width:2;stroke-linejoin:round}
.gd-ray{stroke:var(--faint);stroke-width:1.2;stroke-dasharray:2 3}
.gd-cam rect{fill:var(--faint)}
.gd-cam circle{fill:var(--bg)}
.gd-arrow{fill:none;stroke:var(--faint);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gd-tx h3{margin:0;font-size:15px;color:var(--ink)}
.gd-at{margin:1px 0 6px;font-size:12px;color:var(--muted)}
.gd-tx ul{margin:0;padding-left:1.1em;font-size:13px;line-height:1.6}
.gd-p polyline.far{stroke:var(--faint)}
.gd-card.nofig{grid-template-columns:minmax(0,1fr);padding:12px 14px}
.gd-map{justify-self:start;margin-top:8px}
.gd-frame{fill:none;stroke:var(--line-2);stroke-width:2}
.gd-guide{fill:none;stroke:var(--faint);stroke-width:1.2;stroke-dasharray:3 3}
.gd-dot{fill:none;stroke:var(--faint);stroke-width:1.5}
.gd-fill{fill:var(--surface-3)}
.gd-hole{fill:var(--bg)}
.gd-boke{fill:var(--line-2);opacity:.7}
.gd-ghost{opacity:.3}
.gd-col{fill:var(--surface-2)}
.gd-win{fill:var(--line-2)}
.gd-table{fill:var(--surface-3);stroke:var(--line-2);stroke-width:1.5}
.gd-dish{fill:var(--bg);stroke:var(--faint);stroke-width:1.5}
.gd-ok{stroke:var(--ok);stroke-width:2.5;stroke-dasharray:5 3}
.gd-ng{stroke:var(--cal-sun);stroke-width:2.5;stroke-dasharray:5 3}
.gd-card.gd-hero{grid-template-columns:minmax(0,1fr);padding:14px}
.gd-card.gd-hero .gd-fig{width:190px;justify-self:center}
.gd-torso{fill:var(--faint)}
.gd-head{fill:var(--ink)}
.gd-split{stroke:var(--bg);stroke-width:2}
polyline.arm{fill:none;stroke:var(--ink);stroke-linecap:round;stroke-linejoin:round}
polyline.gd-leg,polyline.gd-leg2{fill:none;stroke:var(--faint);stroke-linecap:round;stroke-linejoin:round}
polyline.gd-leg2{stroke:var(--muted)}
.gd-prop{fill:var(--bg);stroke:var(--ink);stroke-width:1.6}
.gd-propl{stroke:var(--ink);stroke-width:1.2}
.gd-gaze{stroke:var(--ink);stroke-width:1.4;stroke-dasharray:2.5 2.5}
.gd-strap{stroke:var(--ink);stroke-width:2.5}
.gd-tleg{stroke:var(--line-2);stroke-width:2}
.gd-mirror{fill:none;stroke:var(--line-2);stroke-width:3}
.gd-phone{fill:var(--ink)}
.gd-flash{fill:var(--bg)}
.gd-lbl{font:600 8px/1 var(--f-jp);fill:var(--ink)}
.gd-lbl.m{fill:var(--muted);font-weight:500}
.gd-lbl.b{font-family:var(--f-num);font-weight:600;font-size:8.5px}
.gd-lbl.n{fill:var(--muted);font-weight:600;font-size:7.5px}
.gd-lbl.s{font:italic 500 6px/1 var(--f-lat);fill:var(--bg)}
.gd-badge rect{fill:var(--ink)}
.gd-badge text{font:700 7.5px/1 var(--f-num);fill:var(--bg)}
.gd-ray2{stroke:var(--faint);stroke-width:1.4;stroke-linecap:round}
.gd-fill2{fill:var(--line-2)}
.gd-fill3{fill:var(--muted)}
polyline.gd-armf{fill:none;stroke:var(--faint);stroke-linecap:round;stroke-linejoin:round}
.gd-thumb{fill:var(--surface-3)}
.gd-track{stroke:var(--line-2);stroke-width:2.5;stroke-linecap:round}
.gd-tick{stroke:var(--faint);stroke-width:1.2}
.gd-bar{stroke:var(--ink);stroke-width:3.5;stroke-linecap:round}
.gd-knob{fill:var(--bg);stroke:var(--ink);stroke-width:1.6}
.gd-notch{fill:var(--line-2)}
.gd-dark{fill:var(--ink)}
.gd-light{fill:var(--bg)}
.gd-light2{stroke:var(--bg);stroke-width:2}
.gd-sticker{fill:var(--bg);stroke:var(--ink);stroke-width:1.4}
.gd-line{fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gd-line.f{stroke:var(--faint)}
.gd-shoe{fill:var(--ink)}
.gd-shoulder{fill:var(--faint)}
.gd-no{opacity:.35}
.gd-win2{stroke:var(--ink);stroke-width:1.5}
.gd-sil polyline{stroke:var(--ink)}
.gd-sil circle{fill:var(--ink)}
.gd-sil2 polyline{stroke:var(--bg)}
.gd-sil2 circle{fill:var(--bg)}
.gd-cross{fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round}
.gd-cross.f{stroke:var(--faint)}
.gd-level{stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.gd-focus{fill:none;stroke:var(--ink);stroke-width:1.4}
.gd-rec{fill:var(--cal-sun)}
.gd-row{fill:var(--bg);stroke:var(--line-2);stroke-width:1}
.gd-tog{fill:var(--ok)}
.gd-ghostframe{fill:none;stroke:var(--line-2);stroke-width:1.5;stroke-dasharray:3 3}
.gd-faceo{fill:none;stroke:var(--ink);stroke-width:2}
.gd-ngx{stroke:var(--cal-sun);stroke-width:2;stroke-linecap:round;opacity:.8}
.gd-rain{stroke:var(--faint);stroke-width:1.3;stroke-linecap:round}
.gd-puddle{fill:var(--surface-3);stroke:var(--line-2);stroke-width:1}
.gd-leaf{fill:var(--muted)}
.gd-petal{fill:var(--line-2);stroke:var(--faint);stroke-width:.8}
.gd-burst{stroke:var(--bg);stroke-width:1.3;stroke-linecap:round}
.gd-bulb{fill:var(--ink)}
.gd-boke2{fill:var(--bg);opacity:.35}
.gd-sash{fill:none;stroke:var(--surface-3);stroke-width:3}
.gd-phone2{fill:var(--ink);stroke:var(--bg);stroke-width:1.5}
.gd-ghost2{opacity:.55}
.gd-cam2{fill:var(--ink)}
.gd-tower{fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round}
.gd-zebra{fill:var(--line-2)}
.gd-crowd{opacity:.3}
.gd-streak{stroke:var(--faint);stroke-width:2;stroke-linecap:round;stroke-dasharray:10 4}
.gd-rail{stroke:var(--ink);stroke-width:1.8;stroke-linecap:round}
.gd-tree{fill:var(--line-2)}
.gd-tree2{fill:var(--muted)}
.gd-water{fill:var(--surface-3)}
.gd-sign{fill:var(--ink)}
.gd-lantern{fill:var(--ink)}
.gd-sash2{fill:none;stroke:var(--ink);stroke-width:3}
.day-at{scroll-margin-top:64px}
.gd-entry>span:first-of-type{flex:1}
.now-entry{display:flex;align-items:center;gap:12px;width:calc(100% - 32px);margin:0 16px 12px;padding:12px 14px;border:1px solid var(--line-2);border-radius:var(--r);text-align:left;color:var(--ink);background:var(--surface)}
.form .now-entry{width:100%;margin:0 0 16px}
.now-entry>span:not(.live):not(.dg-c){flex:1;display:grid;gap:1px}
.now-entry b{font-size:14.5px}
.now-entry small{font-size:12px;color:var(--muted)}
.now-entry.on{border:1.5px solid var(--ink)}
.now-entry .live{width:9px;height:9px;border-radius:50%;background:#06C755;flex:none}
.nowr-h{display:flex;align-items:center;gap:10px;padding:14px 16px 6px}
.nowr-av{display:flex}
.nowr-av .avb{margin-left:-8px;border-radius:50%;box-shadow:0 0 0 2px var(--bg)}
.nowr-av .avb:first-child{margin-left:0}
.nowr-t{flex:1;display:grid;min-width:0}
.nowr-t b{font-size:15px;color:var(--ink)}
.nowr-t span{font-size:12.5px;color:var(--muted)}
.nowr-note{margin:0 16px 8px;font-size:14px;color:var(--text)}
.nowr-chat{padding:6px 16px 120px;border-top:1px solid var(--line)}
.nowr-chat .msgs{min-height:120px}
.nowr-empty{text-align:center;margin:18px 0}
.nowr-chat .cmt-form{display:flex;gap:8px;align-items:center}
.nowr-chat .cmt-form input{flex:1}
.loc-btn{flex:none;padding:8px 10px}
.locmsg{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line-2);border-radius:var(--r);color:var(--ink);text-decoration:none;background:var(--surface)}
.locmsg span{display:grid}
.locmsg small{font-size:12px;color:var(--muted)}
.locmsg,.locmsg *{text-decoration:none}

/* story frame maker */
.sf .sf-stage{min-height:0;display:flex;align-items:center;justify-content:center;padding:2px 16px 8px}
.sf .sf-stage canvas,.sf .sf-stage img{width:min(calc(100vw - 48px),calc((100vh - 250px)*.5625));width:min(calc(100vw - 48px),calc((100dvh - 250px)*.5625));height:auto;max-height:none;aspect-ratio:9/16;border-radius:8px;box-shadow:0 0 0 1px rgba(255,255,255,.2)}
.sf .sf-stage canvas{touch-action:none;cursor:grab}
.sf .sf-go{background:#fff;color:#171717;min-width:200px}
.gd-entry small{font-size:12px;color:var(--muted);font-weight:400}
.fc .fc-s{margin:0 0 6px;font-size:12px;color:var(--muted)}
.fc .gd-r .btn{flex:none}
/* the next shoots to join, under step 3 of はじめての3ステップ */
.gd .gd-j~.gd-r{padding-left:34px}
.gd .gd-j~.gd-r .btn{flex:none}
.badge.first{background:var(--ink);color:var(--surface);border-color:var(--ink)}
/* ひろば: the guide and 撮影仲間をさがす side by side */
.gd-entries{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 16px 14px}
.gd-entries .gd-entry{width:auto;margin:0;padding:11px 12px;gap:8px}
.gd-entries .gd-entry b{font-size:13.5px}
/* 撮影仲間をさがす */
.pf-bar{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:6px;padding:12px 16px 4px}
.pf-bar .inp{padding:9px 8px;font-size:13px;min-width:0}
.pf-n{padding:4px 16px 0;margin:0}
.pf-list{padding:0 16px}
/* 週の数字 */
.wk{overflow-x:auto;margin:0 -2px}
.wk table{width:100%;border-collapse:collapse;font-size:12.5px;white-space:nowrap}
.wk th{font-weight:500;color:var(--muted);font-size:11px;text-align:right;padding:4px 5px;border-bottom:1px solid var(--line)}
.wk td{text-align:right;padding:6px 5px;border-bottom:1px solid var(--line);font-family:var(--f-num);color:var(--ink)}
.wk th:first-child,.wk td:first-child{text-align:left}
.wk tr.cur td{font-weight:700}
/* 東京・神奈川から遠い方へ */
.wait-d summary{cursor:pointer;list-style:none}
.wait-d summary::-webkit-details-marker{display:none}
.wait-d[open] summary{margin-bottom:4px}
.wait-r{display:flex;gap:6px;margin-top:8px}
.wait-r .inp{flex:1;min-width:0}
/* 撮影カンペ */
.kp{position:fixed;inset:0;z-index:40;background:var(--bg);color:var(--ink);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto}
.kp-top{display:flex;justify-content:space-between;align-items:center;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 8px}
.kp-top b{font-size:16px}
.kp-top button{font-size:14px;color:var(--muted);padding:6px 4px}
.kp-chips{display:flex;gap:6px;overflow-x:auto;padding:2px 16px 10px;scrollbar-width:none}
.kp-chips::-webkit-scrollbar{display:none}
.kp-card{min-height:0;overflow-y:auto;display:grid;align-content:start;justify-items:center;gap:6px;padding:4px 22px 8px}
.kp-card .gd-fig{width:auto;height:min(38vh,300px);max-width:100%}
.kp-card h3{margin:6px 0 2px;font-size:20px;text-align:center;line-height:1.4}
.kp-card ul{margin:0;padding-left:1.2em;font-size:16px;line-height:1.6;max-width:440px;justify-self:stretch}
.kp-card li+li{margin-top:6px}
.kp-nav{display:grid;grid-template-columns:64px 1fr 64px;align-items:center;padding:0 10px}
.kp-nav button{font-size:34px;line-height:1;height:48px;color:var(--ink)}
.kp-nav span{text-align:center;font-family:var(--f-num);color:var(--muted);font-size:14px}
.kp-foot{padding:4px 16px calc(14px + env(safe-area-inset-bottom,0px));display:grid;gap:6px}
.kp-foot p{margin:0;text-align:center;font-size:12px;color:var(--muted)}
.kp-entry{display:flex;align-items:center;gap:12px;width:calc(100% - 32px);margin:0 16px 14px;padding:13px 14px;border-radius:var(--r);background:var(--btn);color:var(--btn-ink);text-align:left}
.kp-entry span{display:grid;gap:1px;flex:1}
.kp-entry b{font-size:15px}
.kp-entry small{font-size:12px;opacity:.8}
.kp-row{padding-top:14px}
/* guide drawings: people standing behind (集合写真) in grey, so the front row reads */
.gd-back .gd-p polyline{stroke:var(--faint)}
.gd-back .gd-p circle{fill:var(--faint)}
/* ひろば「はじめまして」: 新しい仲間 (avatars), intro cards and ようこそ */
.hl{margin:0 16px 12px;padding:12px 14px 6px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface)}
.hl-h{display:flex;align-items:baseline;gap:8px;margin-bottom:10px}
.hl-h b{font-size:14px;color:var(--ink)}
.hl-h small{font-size:11.5px;color:var(--muted)}
.hl-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
.hl-row::-webkit-scrollbar{display:none}
.hl-i{flex:none;position:relative;display:grid;justify-items:center;gap:4px;width:60px}
.hl-i span{font-size:11px;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.hl-i i,.hl-i em{position:absolute;font-style:normal;font-size:13px;line-height:1}
.hl-i i{top:-2px;left:6px}
.hl-i em{top:24px;right:6px;background:var(--surface);border-radius:999px;padding:1px}
.hl-i.ok .av{opacity:.6}
.hl-lead{padding:0 16px;margin:2px 0 4px}
.hcard .bph-b{display:flex;align-items:center;gap:10px;width:100%;text-align:left}
.intro-tags{display:flex;flex-wrap:wrap;gap:5px}
.intro-tags span{font-size:11.5px;padding:2px 9px;border:1px solid var(--line-2);border-radius:999px;color:var(--muted)}
.intro-msg{margin:0;font-size:14px;color:var(--ink);line-height:1.6}
.intro-next{display:inline-flex;align-items:center;gap:5px;justify-self:start;font-size:12.5px;color:var(--ink);border-bottom:1px solid var(--line-2);padding-bottom:1px;text-align:left}
.intro-next svg{width:14px;height:14px;flex:none}
.hello-b{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;border:1px solid var(--ink);font-size:13px;font-weight:700;color:var(--ink)}
.hello-b[aria-pressed="true"]{background:var(--btn);color:var(--btn-ink);border-color:var(--btn)}
.hello-n{font-size:13px;color:var(--muted)}
.lk2{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
.bdetail.hcard{display:grid;gap:10px}
/* message boxes: grow with the text (up to about 6 lines); 16px so iPhone does not zoom in when they are tapped */
.cmt-form{align-items:flex-end}
.cmt-form textarea{flex:1;min-width:0;border:1px solid var(--line-2);background:var(--surface);border-radius:var(--r);padding:9px 12px;font:inherit;font-size:16px;line-height:1.5;color:var(--text);resize:none;overflow-y:auto;max-height:160px;min-height:42px;display:block}
.cmt-form .btn{flex:none;min-height:42px}
.nowr-chat .cmt-form{align-items:flex-end}
.nowr-chat .cmt-form textarea{flex:1}
/* トークの画像 */
.cmt-form .img-btn{flex:none;min-height:42px;padding:0 12px}
.cmt-form .img-btn svg{width:17px;height:17px}
.tk-img{display:block;margin:4px 0 2px;max-width:min(240px,100%);border-radius:10px;overflow:hidden;border:1px solid var(--line)}
.tk-img img{display:block;width:100%;height:auto;max-height:320px;object-fit:cover;background:var(--surface-2)}
.tk-none{display:block;color:var(--muted);font-size:13px}
.tk-cap{display:block;margin-top:4px}

/* 作例 (up to 3 photos a member took, on their profile) */
.wks{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:12px 0 2px}
.wks-i{position:relative;display:block;aspect-ratio:4/5;border-radius:var(--r);overflow:hidden;background:var(--surface-2);padding:0}
.wks-i img{width:100%;height:100%;object-fit:cover;display:block}
.wks-i .px{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:16px;line-height:24px;text-align:center}
.wks-i.add{display:grid;place-items:center;align-content:center;gap:2px;border:1.5px dashed var(--line-2);background:var(--surface);color:var(--muted);font-size:11.5px;font-weight:700;cursor:pointer;text-align:center}
.wks-i.add svg{width:20px;height:20px}
.wks-ed{margin:4px 0 6px}
.wks-add{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:12px 0 2px;padding:12px;border:1.5px dashed var(--line-2);border-radius:var(--r);color:var(--muted);font-size:13px;font-weight:700}
.wks-add svg{width:16px;height:16px}
.hcard .wks{margin:2px 0 0}
.pf-wk{display:flex;gap:3px;flex:none}
.pf-wk img{width:34px;height:42px;object-fit:cover;border-radius:4px;background:var(--surface-2);display:block}
.wk-pv{display:grid;place-items:center;background:var(--surface-2);border-radius:var(--r);overflow:hidden;max-height:30vh}
.wk-pv img{max-width:100%;max-height:30vh;object-fit:contain;display:block}
/* 11月のお試し on the sign-up screen */
.gate .trial-b{border-color:var(--ink);color:var(--ink)}
/* 撮影会おつかれさまでした (home, the 3 days after a shoot) */
.ac .gd-h{justify-content:space-between}
.ac-x{font-size:20px;line-height:1;color:var(--muted);padding:0 2px}
.ac .btn.block{display:flex;align-items:center;justify-content:center;gap:6px;margin:4px 0 0}
.ac .btn.block svg{width:16px;height:16px}
.ac-tag{margin:8px 0 0;font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ac-tag b{color:var(--ink)}
.ac-row{display:flex;gap:8px;margin:10px 0 10px}
.ac-row .btn{flex:1}
.rp-v{padding:8px 0;border-bottom:1px solid var(--line)}
.rp-v p{margin:0;font-size:13.5px;color:var(--ink);line-height:1.6}
.rp-v small{font-size:11.5px;color:var(--muted)}
/* お休み・やめる理由 */
.pause-b{border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;font-size:12.5px;color:var(--muted);display:grid;gap:4px;margin:10px 0;line-height:1.6}
.pause-b b{color:var(--ink);font-size:13.5px}
.pause-btns{display:flex;gap:8px;margin-top:8px}
.exit-list{display:grid;gap:2px;margin:8px 0 10px}
.exit-r{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid var(--line);font-size:14px;color:var(--ink)}
.exit-r input{width:18px;height:18px;margin:0;accent-color:var(--btn)}

/* 紹介・アフィリエイト: one line on the home screen and its sheet (owner 2026-11-01) */
.rfc{position:relative;margin:14px 16px 0}
.rfc-b{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 40px 12px 14px;border:1px solid var(--line-2);border-radius:var(--r);background:var(--surface);color:var(--ink)}
.rfc-i{font-size:22px;line-height:1;flex:none}
.rfc-b b{display:block;font-size:14.5px}
.rfc-b small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.rfc-x{position:absolute;top:6px;right:6px;width:30px;height:30px;font-size:16px;color:var(--faint)}
.rfc-o{display:grid;gap:8px;border:1px solid var(--line-2);border-radius:var(--r);padding:14px;margin:0 0 10px}
.rfc-o p{margin:0;font-size:13px;color:var(--text)}
.rfc-o .link-row,.perk .link-row{padding:0;border:0}

/* 週の数字: 14日以内の初参加 (owner 2026-11-01) */
.wk-f14{display:flex;align-items:baseline;gap:10px;margin:0 0 10px}
.wk-f14 b{font:700 26px/1 var(--f-num);color:var(--ink)}
.wk-f14 span{font-size:12.5px;color:var(--muted)}

/* ?wait=大阪: 「始まったら知らせて」 first on the sign-up screen (owner 2026-11-01) */
.gate .wait-q{display:grid;gap:6px;margin:6px 0 4px;text-align:left}
.gate .wait-q span{font-size:13px;color:var(--muted)}
.gate .wait-q .btn{margin-top:6px}

/* 撮影リーダーの開催報告: who came (owner 2026-11-01) */
.lr-list{max-height:40vh;overflow:auto;border-top:1px solid var(--line)}

/* the map with photos (owner 2026-11-01): a place's photo in a round frame; a bubble of places shows one photo and the count */
.sm-pin.sm-photo{left:-21px;top:-21px;width:42px;height:42px}
.sm-photo .sm-ph{display:block;width:42px;height:42px;border-radius:50%;overflow:hidden;border:2.5px solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.45);background:#ddd;transition:transform .12s}
.sm-photo .sm-ph img,.sm-cl .sm-ph img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.sm-photo .n{position:absolute;right:-6px;top:-6px;left:auto;width:auto;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#171717;color:#fff;font:700 10.5px/18px var(--f-num);text-align:center;border:1.5px solid #fff}
.sm-photo .n:empty{display:none}
.sm-photo .sm-bubble{bottom:50px}
.sm-pin.sm-photo.on .sm-ph{transform:scale(1.25);border-color:#06A94B}
.sm-pin.sm-photo.up .sm-ph{box-shadow:0 0 0 2.5px #06C755,0 1px 5px rgba(0,0,0,.45)}
.smap.dense .sm-pin.sm-photo .sm-ph{transform:scale(.8)}
.smap.dense .sm-pin.sm-photo.on .sm-ph{transform:scale(1.2)}
.sm-cl.ph{left:-24px;top:-24px;width:48px;height:48px;background:#ddd;line-height:normal;overflow:visible}
.sm-cl.ph.big{left:-26px;top:-26px;width:52px;height:52px}
.sm-cl .sm-ph{display:block;width:100%;height:100%;border-radius:50%;overflow:hidden}
.sm-cl.ph b{position:absolute;right:-7px;top:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#171717;color:#fff;font:700 11px/20px var(--f-num);border:1.5px solid #fff}

/* the map: おすすめ / すべて, and 撮り方 on a spot (owner 2026-11-01) */
.sp-scope{width:100%;margin:0 0 2px}
.sp-tips{display:grid;gap:3px;border:1px solid var(--line-2);border-radius:var(--r);padding:12px 14px;margin:6px 0 2px;font-size:13px;color:var(--text)}
.sp-tips b{font-size:14px;color:var(--ink);margin-bottom:2px}
.sp-tips span{display:flex;gap:4px;align-items:center}
.sp-tips .acts{margin-top:6px}
/* 月間アワード (ひろば) */
.aw-card{margin:0 16px 14px;padding:14px;border:1px solid var(--line);border-radius:var(--r);display:grid;gap:10px}
.aw-h{display:grid;gap:2px}.aw-h b{font-size:15px}
.aw-last{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.aw-win{display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center;text-align:left;background:var(--soft,#f5f5f5);border:0;border-radius:10px;padding:6px;color:inherit}
.aw-win img{width:48px;height:60px;object-fit:cover;border-radius:6px}
.aw-win small{display:block;font-size:11px;color:var(--muted)}.aw-win b{font-size:13px}
.aw-sub{font-size:12px;color:var(--muted)}
.aw-btns{display:flex;gap:8px;flex-wrap:wrap}
.aw-pend{border:1px solid var(--line);border-radius:10px;padding:10px}
.aw-ask{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;margin:10px 0}
.aw-ask img{width:72px;height:90px;object-fit:cover;border-radius:8px}
.btns-row{display:flex;gap:8px;margin-top:6px}
.aw-badge{display:inline-block;font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px;background:#fff4d6;color:#7a5200;margin:2px 0 4px}
.aw-ask .muted-s{display:block;margin:2px 0 6px}
/* いいねを気楽に: a heart on every award entry, the home strip, double-tap in the viewer */
.aw-t .pt-open{display:block;width:100%;height:100%;padding:0}
.aw-t .pt-open img{width:100%;height:100%;object-fit:cover;display:block}
.pt-like{position:absolute;right:4px;bottom:4px;display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:44px;height:28px;padding:0 8px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:700;line-height:1}
.pt-like[aria-pressed="true"] svg{fill:currentColor}
.pt-like.ro{opacity:.85}
.pt-like.pop svg{animation:awpop .35s ease}
@keyframes awpop{0%{transform:scale(1)}40%{transform:scale(1.45)}100%{transform:scale(1)}}
.aw-strip{margin:14px 16px 4px}
.aw-sh{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px}
.aw-sh b{font-size:14px}
.aw-row{display:grid;grid-auto-flow:column;grid-auto-columns:42%;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:2px}
.aw-row .ptile{aspect-ratio:4/5;scroll-snap-align:start}
.aw-hint{font-size:11.5px;color:var(--muted);margin:6px 0 0}
.lightbox .lb-img{position:relative;display:grid;min-height:0;overflow:hidden;touch-action:manipulation}
.lightbox .lb-img img{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.lb-heart{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;opacity:0;color:#fff}
.lb-heart svg{fill:#fff;stroke:#fff}
.lb-heart.on{animation:lbheart .85s ease}
@keyframes lbheart{0%{opacity:0;transform:scale(.5)}15%{opacity:.95;transform:scale(1.12)}30%{transform:scale(1)}75%{opacity:.95}100%{opacity:0}}
/* 「この日撮りたい」 on the home screen */
.wish-strip{margin:14px 16px 4px;border:1px solid var(--line);border-radius:var(--r);padding:12px 14px}
.wish-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.wish-row .btn{white-space:nowrap}
.wish-strip .aw-sh+.wish-row{border-top:0}
.wish-row .av{width:36px;height:36px}
.wish-row .v b{display:block;font-size:14px}
.wish-row .v span{display:block;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* アワード: 撮った場所 on the post sheet; 撮影会の写真を送る on the home screen */
.aw-place{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:4px 0 10px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--r);font-size:13px}
.recap-entry{margin:10px 16px 0}

/* 中止した撮影会: on the calendar and its own screen */
.cal-m.cal-x{color:var(--faint);text-decoration:line-through;border-style:dashed}
.cal-m.cal-x span{display:inline-block;text-decoration:none;font-weight:700;color:var(--muted);margin-right:2px}
.cx{padding:20px 16px 32px}
.cx h2{font-size:20px;line-height:1.4;margin:10px 0 4px;color:var(--ink)}
.cx p{margin:0 0 10px}
.cx-pill{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:2px;background:var(--ink);color:var(--bg);letter-spacing:.08em}
.cx-when{color:var(--muted);font-size:14px}
.cx-why{font-weight:700;color:var(--ink);margin-top:16px!important}
.cx-note{padding:10px 12px;background:var(--surface-2);border-radius:var(--r)}
.cx-hint{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin-top:16px!important}
.cx .btns{margin-top:16px}
.cx-row{display:flex;align-items:center;gap:10px;width:100%;padding:12px 0;border-top:1px solid var(--line);text-align:left}
.cx-row b{flex:1;min-width:0;color:var(--faint);text-decoration:line-through;font-weight:500}
.cx-host{margin-top:14px;padding-bottom:0}
/* 撮影会の無料体験 */
.note-box.try-b{border-color:var(--ink)!important}
.try .note-box{margin-bottom:12px}
.try{padding-block:16px 32px}
.try h2{font-size:20px;line-height:1.45;margin:6px 0 8px;color:var(--ink)}
.try-ul{margin:0 0 14px;padding-left:1.2em;color:var(--muted);font-size:14px}
.try-h{font-size:15px;margin:18px 0 4px;color:var(--ink)}
.try-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.try-row>div{display:grid;gap:1px;min-width:0}
.try-row span{color:var(--ink);font-weight:700}
.try-row small{color:var(--muted);font-size:12.5px}
/* 撮影会のトーク：宛先（メンション）と、時間・集合場所の更新 */
.cmt .rep{font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:2px;padding:0 4px;margin-left:auto}
.cmt .rep+.del{margin-left:0}
.cmt .tk-to{display:block;font-size:12px;font-weight:700;color:var(--muted);margin:1px 0 2px}
.cmt.to-me .b{background:var(--surface-2);border-radius:var(--r);padding:6px 8px;margin:-2px 0}
.cmt.to-me .tk-to{color:var(--ink)}
.tk-torow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0 0}
.tk-torow:empty{display:none}
.tk-torow>span{font-size:12px;color:var(--muted)}
.at-btn{min-width:40px;font-weight:700}
.fixb{margin:12px 16px 0;padding:12px 14px;border:1px solid var(--ink);border-radius:var(--r);display:grid;gap:4px;font-size:13px;color:var(--muted)}
.fixb b{color:var(--ink);font-size:14px}
.fixb .acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
/* マップ：見頃・雨でもOK・ここで撮りたい (2026-11-10) */
.sp-badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}
.sp-b{display:inline-block;font-size:12px;font-weight:700;line-height:1.5;padding:2px 8px;border-radius:999px;border:1px solid var(--line-2);color:var(--muted);background:var(--surface)}
.sp-b.season.now{border-color:#C2531C;color:#A8430F;background:#FFF4EC}
.sp-b.wish{border-color:var(--ink);color:var(--ink)}
.sp-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:2px}
.sp-wish{margin:12px 0 4px;display:grid;gap:6px}
.sp-wh{font-size:13px;color:var(--ink)}
.sp-wish .wish-row{padding:6px 0}
.sm-photo.wishers .n{background:#171717;min-width:30px}
.sm-pin.season::after{content:"🍁";position:absolute;left:-7px;top:-9px;font-size:15px;line-height:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25));pointer-events:none}
:root[data-theme="dark"] .sp-b.season.now{background:#3A2418;color:#F2B28E;border-color:#8A4A28}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .sp-b.season.now{background:#3A2418;color:#F2B28E;border-color:#8A4A28}}

/* 撮影会の写真を送る: one row per picked photo, with the person for 今月の一枚 */
.rc-row{display:flex;gap:10px;align-items:center;margin-top:8px}
.rc-row img{width:56px;height:56px;object-fit:cover;border-radius:8px;flex:none}
.rc-row label{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.rc-row label span{font-size:12px;color:var(--muted)}

/* 今月の一枚: the 1-photo sheet from the after-shoot LINE */
.aq-pick{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;margin:12px 0 4px}
.aq-pv{position:relative;margin:12px 0 4px;border-radius:12px;overflow:hidden;background:var(--line);width:100%;height:300px;display:flex;align-items:center;justify-content:center}
.aq-pv img{width:100%;height:100%;object-fit:contain}
.aq-pv .px{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:18px;line-height:28px;text-align:center}

/* 撮影場所: photo + Google Maps buttons on the shoot page */
.plc{padding-bottom:6px}
.plc .row{border-bottom:0}
.plc-ph{display:block;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--line);aspect-ratio:16/9;margin:2px 0 4px;cursor:pointer}
.plc-ph img{width:100%;height:100%;object-fit:cover;display:block}
.plc-cr{margin:0 0 8px;font-size:10.5px;color:var(--faint)}
.plc-cr a{color:inherit}
.plc-btns{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 10px}
.plc-btns .btn{flex:1 1 auto;justify-content:center}
