/* クローゼット帳 — ファッション誌・洗練。オフホワイト × 黒 × ベージュ */
:root {
  --paper: #f6f4ef;
  --paper-2: #ece7de;
  --paper-3: #e1d9cb;
  --ink: #111111;
  --ink-2: #57524a;
  --line: #d3cbbd;
  --beige: #d8c7ae;
  --accent: #74562f;
  --red: #9c2b1f;
  --f-dis: "Bodoni Moda", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --f-jp: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --f-ui: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sb: env(safe-area-inset-bottom, 0px);
  --st: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--paper-3);
  color: var(--ink);
  font: 400 15px/1.75 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  line-break: strict;
  overflow: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 400; font-feature-settings: "palt"; word-break: keep-all; }
em { font-style: italic; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.nb { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.noscript { padding: 24px; }
.pic { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }

/* ---------- 枠 ---------- */
.app { position: relative; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; margin: 0 auto; background: var(--paper); }
@media (min-width: 600px) {
  body { background: var(--paper-3) linear-gradient(90deg, transparent calc(50% - 216px), var(--ink) calc(50% - 216px), var(--ink) calc(50% - 215px), transparent calc(50% - 215px), transparent calc(50% + 215px), var(--ink) calc(50% + 215px), var(--ink) calc(50% + 216px), transparent calc(50% + 216px)); }
  .app { max-width: 430px; }
}
.views { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--paper); overflow: hidden; }
.in-fade { animation: fadeUp .32s var(--ease) both; }
.out-fade { animation: fadeOut .2s ease both; }
.in-push { animation: inPush .36s var(--ease) both; z-index: 3; }
.out-push { animation: outPush .36s var(--ease) both; }
.in-pop { animation: fadeIn .3s ease both; }
.out-pop { animation: outPop .3s var(--ease) both; z-index: 3; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes inPush { from { transform: translateX(100%); } }
@keyframes outPush { to { transform: translateX(-20%); opacity: .6; } }
@keyframes outPop { to { transform: translateX(100%); } }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.boot-fallback, .oops { padding: 80px 24px; text-align: center; }
.boot-fallback__title { font: 600 22px/1.4 var(--f-jp); }
.oops p { margin-bottom: 16px; }

/* ---------- 誌面の見出し ---------- */
.mast { flex: none; padding: calc(12px + var(--st)) 20px 10px; background: var(--paper); border-bottom: 1px solid var(--ink); position: relative; z-index: 2; }
.mast__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font: 500 12px/1.2 var(--f-dis); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.mast__set { display: grid; place-items: center; width: 44px; height: 44px; margin: -12px -12px -12px 0; color: var(--ink); }
.mast__t { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; transition: font-size .25s var(--ease); font-size: 52px; }
.mast__t em { font: italic 500 1em/1 var(--f-dis); letter-spacing: -.02em; white-space: nowrap; }
.view--style .mast__t { font-size: 40px; }
.view--style .mast.is-small .mast__t { font-size: 26px; }
.mast__t span { font: 500 13px/1 var(--f-jp); letter-spacing: .3em; color: var(--ink-2); }
.mast.is-small .mast__t { font-size: 28px; }

/* ---------- クローゼット ---------- */
#closet { padding-bottom: 96px; }
.cats { display: flex; gap: 18px; padding: 12px 20px 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; position: relative; display: flex; align-items: flex-start; gap: 2px; min-height: 44px; padding-top: 8px; font-size: 14px; color: var(--ink-2); }
.cat sup { font: 500 11px/1 var(--f-ui); margin-top: 1px; }
.cat.is-on { color: var(--ink); font-weight: 600; }
.cat::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .25s var(--ease); }
.cat.is-on::after { transform: scaleX(1); }
.feat { display: grid; grid-template-columns: 44% 1fr; gap: 16px; margin: 18px 20px 0; padding: 14px; background: var(--paper-2); transition: transform .2s var(--ease); }
.feat:active { transform: scale(.985); }
.feat__img { aspect-ratio: 4 / 5; overflow: hidden; }
.feat__img .pic { transition: transform 1.2s var(--ease); }
.feat:hover .feat__img .pic { transform: scale(1.04); }
.feat__t { display: flex; flex-direction: column; min-width: 0; }
.feat__k { font: italic 500 22px/1.1 var(--f-dis); }
.feat__h { margin-top: 8px; font: 700 18px/1.45 var(--f-jp); word-break: keep-all; }
.feat__n { margin-top: 8px; font-size: 14px; font-weight: 500; }
.feat__m { font-size: 13px; color: var(--ink-2); }
.feat__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--ink); align-self: flex-start; }
.feat__go .ic { width: 16px; height: 16px; }
.tools { display: flex; align-items: center; justify-content: space-between; margin: 16px 20px 6px; }
.tools__n { font: 500 15px/1 var(--f-dis); letter-spacing: .04em; }
.sortb { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; font-weight: 500; }
.sortb .ic { width: 18px; height: 18px; }
.masonry { columns: 2; column-gap: 14px; padding: 0 20px; }
.mi { break-inside: avoid; margin-bottom: 20px; animation: fadeUp .5s var(--ease) both; }
.mi:nth-child(2) { animation-delay: .04s; } .mi:nth-child(3) { animation-delay: .08s; } .mi:nth-child(4) { animation-delay: .12s; }
.mi__a { display: block; }
.mi__img { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); transition: transform .2s var(--ease); }
.mi--tall .mi__img { aspect-ratio: 4 / 5; }
.mi__a:active .mi__img { transform: scale(.97); }
.mi__no { margin-top: 8px; font: italic 500 13px/1 var(--f-dis); color: var(--ink-2); }
.mi__n { margin-top: 4px; font-size: 14px; font-weight: 500; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.feat__n, .dt__n, .sl__n, .cpw__n, .dayl__n { word-break: keep-all; overflow-wrap: anywhere; }
.mi__m { display: flex; gap: 8px; font-size: 12px; color: var(--ink-2); }
.fab { position: absolute; right: 18px; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; letter-spacing: .08em; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
.fab:active { transform: scale(.94); }
.empty { padding: 30px 30px 10px; text-align: center; }
.empty img { width: 70%; max-width: 260px; height: auto; mix-blend-mode: multiply; }
.empty__t { margin-top: 10px; font: 700 20px/1.5 var(--f-jp); word-break: keep-all; }
.empty__s { margin: 6px 0 16px; font-size: 14px; color: var(--ink-2); }

/* ---------- 共通部品 ---------- */
.bar { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: calc(52px + var(--st)); padding: var(--st) 6px 0; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.bar__back { justify-self: start; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 10px 0 4px; font-size: 14px; font-weight: 500; }
.bar__back .ic { width: 24px; height: 24px; }
.bar__t { font: italic 500 17px/1 var(--f-dis); letter-spacing: .06em; }
.bar__r { justify-self: end; display: flex; }
.ib { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.btn { min-height: 50px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .08em; transition: transform .15s var(--ease), background .2s, color .2s; }
.btn:active:not(:disabled) { transform: scale(.96); }
.btn .ic { width: 18px; height: 18px; stroke-width: 1.8; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--line { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line:disabled { color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.btn--wide { width: 100%; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); flex: none; }
.sw--lg { width: 34px; height: 34px; }
.sw--stripe { background: repeating-linear-gradient(180deg, var(--c) 0 4px, #f4f2ec 4px 8px); }
.tag { padding: 1px 8px; border: 1px solid var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.sec { margin-top: 30px; }
.sec__h { display: flex; align-items: baseline; gap: 10px; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 1px solid var(--ink); }
.sec__h em { font: italic 500 26px/1 var(--f-dis); }
.sec__h span { font: 500 13px/1 var(--f-jp); letter-spacing: .2em; color: var(--ink-2); }
.none { font-size: 14px; color: var(--ink-2); }
.fine { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* ---------- 服の詳細 ---------- */
.scroll--item { padding-bottom: 40px; }
.hero { aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.hero .pic { animation: zoomIn .8s var(--ease) both; }
@keyframes zoomIn { from { transform: scale(1.06); } }
.dt { padding: 18px 20px 0; }
.dt__k { font: 500 12px/1 var(--f-dis); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.dt__n { margin-top: 8px; font: 700 26px/1.4 var(--f-jp); }
.dt__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 14px; }
.dt__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-2); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.nums div { padding: 12px 0 10px; }
.nums div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.nums dt { font-size: 12px; color: var(--ink-2); }
.nums dd { font: 500 28px/1.15 var(--f-dis); }
.nums small { font: 500 13px/1 var(--f-ui); margin-left: 2px; }
.nums__s { font: 500 14px/1.4 var(--f-ui); color: var(--ink-2); }
.dt__fine { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.dt__acts { display: grid; gap: 10px; margin-top: 18px; }
.looks { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; }
.look { flex: none; display: flex; flex-direction: column; width: 84px; }
.look__p { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.look__p + .look__p { margin-top: 2px; }
.look__d { margin-top: 6px; font-size: 12px; font-weight: 500; text-align: center; }

/* ---------- コーデを組む ---------- */
#style { padding-bottom: 32px; }
.row { padding-top: 14px; }
.row__h { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.row__t { display: flex; align-items: baseline; gap: 8px; }
.row__t em { font: italic 500 18px/1 var(--f-dis); color: var(--ink-2); }
.row__t span { font: 600 15px/1 var(--f-dis); letter-spacing: .2em; text-transform: uppercase; }
.row__t small { font-size: 12px; color: var(--ink-2); }
.lockb { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s; position: relative; }
.lockb::before { content: ""; position: absolute; inset: -4px -2px; }
.lockb .ic { width: 16px; height: 16px; }
.lockb.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.car { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 27%; overscroll-behavior-x: contain; }
.car::-webkit-scrollbar { display: none; }
.car__i { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); transition: opacity .15s; will-change: transform; }
.car__i.is-on { box-shadow: 0 16px 26px -16px rgba(0, 0, 0, .45); }
.row__n { display: flex; justify-content: center; align-items: baseline; gap: 10px; padding: 2px 20px 0; min-height: 26px; text-align: center; }
.row__nm { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__c { font: italic 500 13px/1 var(--f-dis); color: var(--ink-2); }
.note { margin: 22px 20px 0; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.note.is-flash { animation: flash .6s ease; }
@keyframes flash { 30% { background: var(--paper-2); } }
.note__k { display: flex; align-items: baseline; gap: 10px; }
.note__k em { font: italic 500 20px/1 var(--f-dis); }
.note__k span { font: 500 12px/1 var(--f-jp); letter-spacing: .2em; color: var(--ink-2); }
.note__l { margin-top: 8px; }
.note__l li { position: relative; padding: 3px 0 3px 18px; font: 500 15px/1.7 var(--f-jp); }
.note__l li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 1px; background: var(--ink); }
.sty-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 20px 0; }
.sty-acts .btn--wide { grid-column: 1 / -1; }
.sec--saved { margin: 30px 20px 0; }
.saved { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 6px; }
.sv { position: relative; flex: none; }
.sv__b { display: flex; flex-direction: column; gap: 2px; width: 76px; transition: transform .15s var(--ease); }
.sv__b:active { transform: scale(.95); }
.sv__p { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.sv__p--x { background: var(--paper-3); }
.sv__x { position: absolute; top: -12px; right: -14px; width: 44px; height: 44px; display: grid; place-items: center; }
.sv__x .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--paper); stroke-width: 2; }

/* ---------- 着用日記 ---------- */
#diary { padding: 0 16px 30px; }
.mon { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 10px; }
.mon__b { width: 44px; height: 44px; display: grid; place-items: center; }
.mon__b:disabled { color: #9a9387; cursor: default; }
.mon__t { display: flex; flex-direction: column; align-items: center; }
.mon__t em { font: italic 500 28px/1.1 var(--f-dis); }
.mon__t span { font-size: 12px; color: var(--ink-2); letter-spacing: .1em; }
.cal__wd { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; font-weight: 600; color: var(--ink-2); padding-bottom: 4px; border-bottom: 1px solid var(--ink); }
.cal__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 4px; }
.dd { position: relative; aspect-ratio: 3 / 4; background: var(--paper-2); overflow: hidden; }
.dd--pad { background: transparent; }
.dd__img { position: absolute; inset: 0; }
.dd__img .pic { transition: transform .3s var(--ease); }
.dd:active .dd__img .pic { transform: scale(1.08); }
.dd__n { position: absolute; left: 0; top: 0; min-width: 22px; padding: 1px 4px; background: var(--paper); font: 500 12px/1.4 var(--f-dis); color: var(--ink); }
.dd--on .dd__n { background: var(--ink); color: var(--paper); }
.dd--today { box-shadow: inset 0 0 0 2px var(--ink); }
.dd--fut { background: transparent; box-shadow: inset 0 0 0 1px var(--paper-2); cursor: default; }
.dd--fut .dd__n { background: transparent; color: var(--ink-2); }
.msum { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; border-top: 1px solid var(--ink); }
.msum div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.msum div:nth-child(2) { padding-left: 14px; border-left: 1px solid var(--line); }
.msum__fav { grid-column: 1 / -1; }
.msum dt { font-size: 12px; color: var(--ink-2); }
.msum dd { font: 500 30px/1.2 var(--f-dis); }
.msum small { font: 500 13px/1 var(--f-ui); margin-left: 2px; }
.msum__a { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.msum__p { width: 56px; height: 56px; flex: none; overflow: hidden; }
.msum__n { font: 500 15px/1.5 var(--f-ui); }
.msum__n small { display: block; font: italic 500 14px/1.2 var(--f-dis); color: var(--ink-2); margin: 0; }
.hint { display: flex; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.hint .ic { width: 18px; height: 18px; margin-top: 3px; }

/* ---------- 分析 ---------- */
#insight { padding: 0 20px 32px; }
.rate { padding: 18px 0 0; text-align: center; }
.rate__k { font: 500 13px/1 var(--f-jp); letter-spacing: .2em; color: var(--ink-2); }
.rate__big { font: italic 500 88px/1.1 var(--f-dis); letter-spacing: -.02em; margin-top: 6px; }
.rate__big small { font-size: 36px; }
.rate__s { font-size: 14px; }
.rate__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-top: 14px; }
.rg { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); box-shadow: inset 0 0 0 1px transparent; }
.rg .pic { filter: grayscale(1); opacity: .32; }
.rg.is-on .pic { filter: none; opacity: 1; }
.rate__lg { display: flex; justify-content: center; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.rate__lg span { display: inline-flex; align-items: center; gap: 4px; }
.rate__lg i { width: 10px; height: 10px; }
.rg-on { background: var(--ink); }
.rg-off { background: var(--paper-3); }
.sleep li + li { border-top: 1px solid var(--line); }
.sl { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; }
.sl__p { aspect-ratio: 4 / 5; overflow: hidden; }
.sl__n { font: 700 16px/1.45 var(--f-jp); }
.sl__m { font-size: 13px; color: var(--ink-2); }
.sl__tip { margin-top: 6px; font-size: 14px; }
.sl__go { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 4px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--ink); }
.sl__go .ic { width: 16px; height: 16px; }
.rank li { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.rank li + li { border-top: 1px solid var(--line); }
.rank__no { width: 20px; font: italic 500 22px/1 var(--f-dis); }
.rank__p { width: 48px; height: 48px; flex: none; overflow: hidden; }
.rank__b { flex: 1; min-width: 0; }
.rank__n { display: block; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank__bar { display: block; height: 4px; margin-top: 6px; background: var(--paper-2); }
.rank__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: growX .8s var(--ease) both; }
@keyframes growX { from { transform: scaleX(0); } }
.rank__v { font: 500 17px/1 var(--f-dis); }
.pal { display: flex; height: 44px; box-shadow: 0 0 0 1px var(--line); }
.pal i { display: block; }
.pal__lg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin-top: 12px; }
.pal__lg li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pal__lg b { margin-left: auto; font: 500 15px/1 var(--f-dis); }
.pal__s { margin-top: 12px; font-size: 14px; }
.cpw li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cpw__p { width: 48px; height: 48px; flex: none; overflow: hidden; }
.cpw__n { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; }
.cpw__n small { display: block; font-size: 12px; color: var(--ink-2); font-weight: 400; }
.cpw__v { font: 500 20px/1 var(--f-dis); }

/* ---------- 登録 ---------- */
.scroll--add { padding: 0 20px 36px; }
.addf__lead { display: flex; align-items: baseline; gap: 12px; padding: 18px 0 12px; }
.addf__lead em { font: italic 500 30px/1 var(--f-dis); }
.addf__lead span { font: 500 14px/1 var(--f-jp); color: var(--ink-2); letter-spacing: .1em; }
.ph { aspect-ratio: 1; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ph__in { width: 100%; height: 100%; }
.ph__empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink-2); font-size: 14px; text-align: center; word-break: keep-all; padding: 20px; }
.ph__empty .ic { width: 40px; height: 40px; stroke-width: 1.2; }
.ph__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ph__btn { cursor: pointer; padding: 0 10px; }
.ph__acts .btn { font-size: 13px; letter-spacing: .02em; padding: 0 10px; }
.ph__note { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.fl { display: block; margin-top: 20px; }
.fl__l { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.fl__l b { font-size: 11px; font-weight: 600; padding: 0 6px; background: var(--ink); color: var(--paper); }
.fl__l i { font-style: normal; font-size: 11px; color: var(--ink-2); }
.fl input[type=text] { width: 100%; min-height: 50px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--ink); background: var(--paper-2); font-size: 16px; outline: none; border-radius: 0; }
.fl input::placeholder { color: #7a7368; }
.fl input:focus { background: #e6dfd3; }
.fl input.is-err { border-bottom: 2px solid var(--red); }
.fl__e { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--red); }
.fl__h { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; transition: background .2s, color .2s; }
.chip.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 4px; }
.swb { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; min-height: 70px; }
.swb__n { font-size: 11px; }
.swb.is-on .sw { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.swb.is-on .swb__n { font-weight: 600; }
.yen { display: flex; align-items: center; background: var(--paper-2); border-bottom: 1px solid var(--ink); }
.yen > span { padding-left: 14px; font: 500 18px/1 var(--f-dis); }
.yen input[type=text] { border-bottom: 0; background: transparent; }
.addf .btn--wide { margin-top: 26px; }

/* ---------- 設定・アプリについて ---------- */
.scroll--set { padding: 0 20px 30px; }
.set__lead { padding: 18px 0 10px; font: italic 500 34px/1 var(--f-dis); }
.set__sum { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.set__sum div { padding: 12px 0; }
.set__sum div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.set__sum dt { font-size: 12px; color: var(--ink-2); }
.set__sum dd { font: 500 20px/1.3 var(--f-dis); }
.grp { margin-top: 22px; border-top: 1px solid var(--ink); }
.link { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; text-align: left; }
.link__ch { margin-left: auto; }
.link--red { color: var(--red); }
.link:active { background: var(--paper-2); }
.scroll--about { padding-bottom: 0; }
.ab { padding: 26px 22px 0; text-align: center; }
.ab__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.ab__t { display: flex; flex-direction: column; align-items: center; margin-top: 12px; }
.ab__t em { font: italic 500 40px/1.1 var(--f-dis); }
.ab__t span { font: 500 14px/1.6 var(--f-jp); letter-spacing: .3em; color: var(--ink-2); }
.ab__v { font: 500 13px/1.4 var(--f-dis); color: var(--ink-2); letter-spacing: .1em; }
.ab__p { margin-top: 16px; text-align: left; font-size: 15px; }
.ab__note { margin-top: 14px; padding: 12px 14px; background: var(--paper-2); text-align: left; font-size: 14px; }
.ab__h { margin-top: 20px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); text-align: left; font: 700 15px/1.4 var(--f-jp); }
.ab__l { margin: 4px 0 20px; text-align: left; }
.ab__l li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.ab__art { display: block; width: 100%; height: auto; margin-top: 26px; }

/* ---------- タブ ---------- */
.tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 8px var(--sb); background: var(--paper); border-top: 1px solid var(--ink); position: relative; z-index: 4; }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: var(--ink-2); transition: color .2s; }
.tab span { font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.tab::before { content: ""; position: absolute; top: -1px; left: 26%; right: 26%; height: 3px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab.is-on { color: var(--ink); }
.tab.is-on span { font-weight: 600; }
.tab.is-on::before { transform: scaleX(1); }
.tab:active .ic { transform: scale(.88); }

/* ---------- シート・トースト ---------- */
.layer { position: absolute; inset: 0; z-index: 70; }
.scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); opacity: 0; transition: opacity .25s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88%; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px calc(22px + var(--sb)); background: var(--paper); border-top: 1px solid var(--ink); transform: translateY(100%); transition: transform .32s var(--ease); }
.layer.is-open .scrim { opacity: 1; }
.layer.is-open .sheet { transform: none; }
.sheet__grip { position: sticky; top: 0; z-index: 2; height: 26px; margin: 0 -20px; display: grid; place-items: center; background: var(--paper); touch-action: none; }
.sheet__grip::before { content: ""; width: 36px; height: 3px; background: var(--ink); }
.sheet__t { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font: 700 20px/1.5 var(--f-jp); margin-bottom: 10px; }
.sheet__en { font: italic 500 26px/1 var(--f-dis); }
.sheet__p { font-size: 15px; }
.sheet__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.opts { border-top: 1px solid var(--ink); }
.opt { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--line); font-size: 15px; text-align: left; }
.opt.is-on { font-weight: 600; }
.dayl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dayl__i { display: flex; flex-direction: column; gap: 6px; }
.dayl__p { display: block; aspect-ratio: 1; overflow: hidden; }
.dayl__n { font-size: 12px; line-height: 1.5; }
.pickl { display: flex; gap: 12px; overflow-x: auto; margin: 12px -20px 0; padding: 0 20px 6px; }
.pickl__b { flex: none; width: 92px; display: flex; flex-direction: column; gap: 2px; }
.pickl__t { margin-top: 6px; font-size: 12px; font-weight: 600; text-align: center; }
.toast { position: absolute; left: 16px; right: 16px; bottom: calc(76px + var(--sb)); z-index: 80; display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 6px 6px 6px 16px; background: var(--ink); color: var(--paper); font-size: 14px; transform: translateY(14px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s; }
.toast.is-on { transform: none; opacity: 1; pointer-events: auto; }
.toast__m { flex: 1; }
.toast__u { flex: none; min-height: 40px; padding: 0 12px; color: var(--beige); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- スプラッシュ・はじめに ---------- */
.splash { position: absolute; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--paper); transition: opacity .32s; }
.splash img { border-radius: 22px; }
.splash__en { margin-top: 18px; font: italic 500 46px/1 var(--f-dis); }
.splash__jp { margin-top: 8px; font: 500 13px/1 var(--f-jp); letter-spacing: .4em; color: var(--ink-2); }
.splash.is-out { opacity: 0; }
.ob { position: absolute; inset: 0; z-index: 95; display: flex; flex-direction: column; background: var(--paper); transition: opacity .3s; }
.ob.is-out { opacity: 0; }
.ob__img { flex: 1; min-height: 0; overflow: hidden; background: var(--paper-2); }
.ob__img img { width: 100%; height: 100%; object-fit: cover; animation: zoomIn 1.2s var(--ease) both; }
.ob__p { padding: 20px 22px calc(18px + var(--sb)); border-top: 1px solid var(--ink); }
.ob__no { display: flex; align-items: baseline; justify-content: space-between; }
.ob__no em { font: italic 500 30px/1 var(--f-dis); }
.ob__no span { font: 500 13px/1 var(--f-dis); letter-spacing: .14em; color: var(--ink-2); }
.ob__t { margin-top: 10px; font: 700 23px/1.5 var(--f-jp); }
.ob__s { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.ob__f { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.ob__skip { min-height: 44px; font-size: 14px; color: var(--ink-2); }
.ob__go { min-width: 140px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
