


.om-photo { width: min(94%, 340px); margin: 12px auto 8px; padding: 10px 10px 0; rotate: -0.8deg; }
.om-photo .om-mt { top: 8px; left: -18px; width: 74px; height: 17px; }
.om-photo .om-mt.r { right: -18px; }
.om-photo .om-cap { padding: 10px 4px 13px; font-size: 17px; }
.om-line { margin-top: 6px; }


.shop-pass .pass-plans { grid-template-columns: 1fr; gap: 10px; }
.shop-pass .pp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "name name" "price rows"; align-items: center; column-gap: 14px; row-gap: 8px; padding: 12px 14px 12px; }
.shop-pass .pp-name { grid-area: name; min-height: 0; align-items: center; padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--brass-700) 35%, transparent); font-size: 15.5px; }
.shop-pass .pp-name > img { display: block; }
.shop-pass .pp-price { grid-area: price; padding-bottom: 0; border-bottom: 0; }
.shop-pass .pp-price b { font-size: 30px; white-space: nowrap; }
.shop-pass .pp-rows { grid-area: rows; align-self: center; padding-left: 12px; border-left: 1px solid color-mix(in srgb, var(--brass-700) 35%, transparent); }
.shop-pass .pp-rows div { display: grid; grid-template-columns: 1fr; row-gap: 1px; padding: 5px 1px; }
.shop-pass .pp-rows dt { font-size: 11px; line-height: 1.3; }
.shop-pass .pp-rows dd { justify-self: end; justify-content: flex-end; align-items: baseline; font-size: 12.5px; line-height: 1.2; white-space: nowrap; }
.shop-pass .pp-rows dd b { font-size: 20px; margin: 0 2px; }
.shop-pass .pp-now { grid-column: 1 / -1; }

@media (max-width: 360px) {
  .shop-pass .pp { grid-template-columns: 1fr; grid-template-areas: "name" "price" "rows"; }
  .shop-pass .pp-rows { padding: 4px 0 0; border-left: 0; border-top: 1px dotted var(--oak-300); }
  .shop-pass .pp-price b { font-size: 27px; }
}


.om-book { position: relative; }
.om-cover {
  position: absolute; inset: 0; z-index: 4; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 18px;
  padding: 34px 22px 26px; border-radius: 3px 10px 10px 3px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 70, 40, .05) 0 1px, transparent 1px 3px),
    var(--om-cover);
  box-shadow: inset 6px 0 0 rgba(120, 70, 40, .18), inset 0 0 0 1px rgba(120, 70, 40, .25), 3px 4px 0 rgba(79, 61, 48, .2);
}
.om-cover::before {                                   
  content: ""; position: absolute; inset: 10px 10px 10px 16px; border-radius: 2px 8px 8px 2px;
  border: 2px dashed rgba(251, 248, 242, .75); pointer-events: none;
}
.om-cover-plate {
  align-self: center; display: grid; justify-items: center; gap: 6px; width: min(88%, 250px); padding: 22px 16px 18px;
  background: var(--om-paper); box-shadow: inset 0 0 0 1px rgba(120, 70, 40, .22), 0 2px 0 rgba(120, 70, 40, .18);
}
.om-cover-face { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 1px 0 rgba(79, 61, 48, .2)); }
.om-cover-title { margin: 4px 0 0; font: 700 30px/1.2 var(--f-title); letter-spacing: .28em; text-indent: .28em; color: var(--ink-900); }
.om-cover-sub { margin: 0; font: 600 13px/1.5 var(--f-hand); color: var(--ink-700); letter-spacing: .08em; }
.om-cover-year { margin: 6px 0 0; padding: 2px 12px; font: 700 13px/1.4 var(--f-title); letter-spacing: .2em; color: var(--akane); box-shadow: inset 0 0 0 1.5px var(--akane); font-variant-numeric: lining-nums; }
.om-cover-acts { display: grid; gap: 10px; width: min(92%, 270px); position: relative; }
.om-cover-acts button { min-height: 48px; border: 0; font: 700 15px/1 var(--f-body); letter-spacing: .08em; color: var(--ink-900); cursor: pointer; }
.om-cover-open { background: var(--om-paper); box-shadow: 0 0 0 2px var(--oak-700), inset 0 -3px 0 var(--cream-300); }
.om-cover-week { min-height: 40px !important; font-size: 13.5px !important; background: transparent; color: var(--cream-050) !important; text-decoration: underline; text-underline-offset: 4px; }
.om-cover-acts button:focus-visible { outline: 3px solid var(--cream-050); outline-offset: 3px; }
.om-cover.is-opening { animation: om-cover-open .36s steps(3, end) forwards; transform-origin: left center; }
@keyframes om-cover-open { to { transform: perspective(900px) rotateY(-80deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .om-cover.is-opening { animation: none; opacity: 0; } }


.om-photo.develop img { animation: none; }
.om-photo, .om-cheki { background: #FFFCF4; }
.om-photo { box-shadow: 0 0 0 1px rgba(150, 110, 70, .12), 2px 5px 10px rgba(120, 80, 50, .18); }
.om-ph, .om-cheki img { background: var(--cream-200); }


.om-cover-title { white-space: nowrap; }
@media (max-width: 340px) { .om-cover-title { font-size: 26px; letter-spacing: .2em; text-indent: .2em; } .om-cover-face { width: 70px; height: 70px; } .om-cover-plate { padding: 16px 12px 14px; } }

.shd-note { word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; line-break: strict; text-wrap: pretty; }
@media (max-width: 360px) {
  .shop-detail { grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; }
  .shd-icon { width: 40px; height: 40px; }
  .shd-note { font-size: 12px; line-height: 1.75; letter-spacing: 0; }
}

.shop-pass .pp { row-gap: 6px; padding: 10px 14px 8px; }
.shop-pass .pp-name { padding-bottom: 6px; }
.shop-pass .pp-rows div { padding: 3px 1px; }
.shop-pass .pp-price b { font-size: 28px; }



.storage-grid .slot[data-empty] { display: none; }

.st-keep { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-700); }
.st-keep::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; vertical-align: 1px; background: var(--sage-500); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.om-share-btn { display: block; margin: 2px auto 6px; min-height: 36px; padding: 0 18px; border: 0; font: 700 13px/1 var(--f-body); letter-spacing: .1em; color: var(--ink-900); cursor: pointer;
  background: var(--om-paper); box-shadow: inset 0 0 0 1.5px var(--oak-500), inset 0 -2px 0 var(--cream-300); }
.om-share-btn::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; vertical-align: 1px; background: var(--akane); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.om-share { position: absolute; inset: 0; z-index: 20; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px 22px;
  background: color-mix(in srgb, var(--ink-900) 86%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.om-share-card { width: min(70vw, 268px); padding: 12px 12px 10px; background: #FFFCF4; box-shadow: 0 0 0 1px rgba(150, 110, 70, .15), 3px 6px 14px rgba(40, 25, 15, .35); rotate: -1deg; }
.om-share-pic { margin: 0; }
.om-share-pic img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.om-share-pic figcaption { padding: 9px 0 4px; text-align: center; font: 600 16px/1.35 var(--f-hand); color: var(--ink-700); letter-spacing: .04em; }
.om-share-brand { margin: 2px 0 0; text-align: right; font: 400 12px/1 var(--f-pixel, monospace); letter-spacing: .1em; color: var(--ink-500); }
.om-share-note { margin: 0; text-align: center; font-size: 12.5px; line-height: 1.6; color: var(--cream-100); }
.om-share-acts { display: grid; gap: 8px; width: min(70vw, 268px); }
.om-share-acts button { min-height: 46px; border: 0; font: 700 15px/1 var(--f-body); letter-spacing: .08em; cursor: pointer; }
.om-share-save { color: var(--ink-900); background: var(--apricot-300); box-shadow: 0 0 0 2px var(--oak-900), inset 0 -3px 0 var(--apricot-500); }
.om-share-close { color: var(--cream-050); background: transparent; text-decoration: underline; text-underline-offset: 4px; min-height: 38px !important; font-size: 13.5px !important; }

.door[data-mode="talk"] .home-now[data-speaking] .home-now-dot { animation: none; }

.shop-grid:not([data-kind="talk"]):not([data-kind="pack"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 6px; }

.pass-lead-app { justify-content: center; text-align: center; font-size: 13.5px; color: var(--ink-700); }

.talk-limit { font-size: 12px; margin-bottom: 8px; }
.talk-limit .talk-more { display: none; }


.door[data-view="pantry"] .gate-screen,
.door[data-view="storage"] .gate-screen { visibility: visible; clip-path: inset(0 0 50% 0); }
.door[data-view="pantry"] .pantry,
.door[data-view="storage"] .storage-view { align-content: end; padding-bottom: 12px; }

.pantry-grid .slot[data-empty] { display: none; }

.door[data-view="pantry"] .gate-video,
.door[data-view="storage"] .gate-video { top: 0 !important; left: 0 !important; width: 100% !important; height: auto !important; aspect-ratio: 9 / 16; object-fit: cover !important; transform: translateY(-10.7%) !important; }


.terms > div { grid-template-columns: 1fr !important; gap: 2px !important; padding: 10px 14px !important; }
.terms dt { font-size: 11.5px !important; letter-spacing: .1em; }
.terms dd { text-wrap: pretty; }
.terms dd small { text-wrap: pretty; margin-top: 2px; }

.mame-line.app-line { font-size: 13.5px; }

/* ---------- the last screen before payment: everything on one page, nothing small, both buttons the same size ---------- */
.pp[aria-checked="true"] { outline: 2px solid var(--apricot-500); outline-offset: 2px; }
.pp:focus-visible { outline: 3px solid var(--apricot-300); outline-offset: 2px; }
.pass-confirm { position: fixed; inset: 0; z-index: 40; text-align: left; overflow-y: auto; padding: 0 16px calc(32px + env(safe-area-inset-bottom)); background: var(--cream-100); color: var(--ink-900); word-break: normal; overflow-wrap: anywhere; font-size: 15px; line-height: 1.65; }
.pass-confirm[hidden] { display: none; }
.pass-confirm > * { max-width: 430px; margin-inline: auto; }
.pc-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 56px; }
.pc-head h2 { margin: 0; text-align: center; font-family: var(--f-title); font-size: 18px; font-weight: 700; letter-spacing: .06em; color: var(--oak-900); }
.pc-back { width: 44px; height: 44px; border: 0; background: none; color: var(--oak-900); font-size: 24px; cursor: pointer; }
.pc-card h3 { text-align: left; }
.pc-notice { margin-block: 0 12px; padding: 9px 12px; background: var(--brass-100); color: var(--oak-900); font-weight: 700; font-size: 14px; text-align: center; }
.pc-card { margin-bottom: 12px; padding: 14px; background: var(--cream-050); box-shadow: inset 0 0 0 1px var(--cream-300); }
.pc-card h3 { margin: 0 0 8px; font-family: var(--f-title); font-size: 14.5px; font-weight: 700; letter-spacing: .08em; color: var(--oak-700); }
.pc-name { display: flex; align-items: center; gap: 12px; font-family: var(--f-title); font-size: 19px; font-weight: 700; }
.pc-name img { width: 52px; height: 52px; image-rendering: pixelated; }
.pc-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 10px 0 0; font-family: var(--f-title); }
.pc-price b { font-size: 40px; line-height: 1.1; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.pc-price span { font-size: 15px; color: var(--ink-700); }
.pc-total { margin: 2px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-700); }
.pc-card dl { margin: 0; }
.pc-card dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-top: 1px solid var(--cream-200); }
.pc-card dl > div:first-child { padding-top: 2px; border-top: 0; }
.pc-card dt { font-size: 13.5px; color: var(--ink-500); }
.pc-card dd { margin: 0; font-weight: 700; }
.pc-card dd small { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.6; color: var(--ink-700); }
.pc-card ul { margin: 0; padding: 0; list-style: none; }
.pc-card li { position: relative; padding: 7px 0 7px 16px; border-top: 1px solid var(--cream-200); font-size: 14.5px; }
.pc-card li:first-child { padding-top: 2px; border-top: 0; }
.pc-card li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; background: var(--apricot-500); }
.pc-card li:first-child::before { top: 10px; }
.pc-card a, .pc-links a { color: var(--apricot-700); text-decoration: underline; text-underline-offset: 2px; }
.pc-dob { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 6px; }
.pc-dob label { display: grid; gap: 2px; font-size: 12.5px; color: var(--ink-500); }
.pc-dob select { width: 100%; min-height: 46px; padding: 0 6px; font: inherit; font-size: 16px; color: var(--ink-900); background: var(--cream-100); border: 1px solid var(--cream-300); }
.pc-check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; margin-top: 10px; padding: 10px; background: var(--cream-100); font-size: 14.5px; font-weight: 700; }
.pc-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--apricot-500); }
.pc-warn { margin: 8px 0 0; font-size: 13.5px; color: var(--berry-500); }
.pc-stop { margin: 10px 0 0; padding: 10px; background: var(--berry-100); color: var(--berry-500); font-size: 14.5px; font-weight: 700; text-align: center; }
.pc-fine { margin: 8px 0 0; font-size: 13px; color: var(--ink-500); }
.pc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-block: 2px 10px; font-size: 13.5px; }
.pc-agree { margin-block: 0 10px; text-align: center; font-size: 13.5px; color: var(--ink-700); }
.pc-why { margin-block: 0 8px; min-height: 1em; text-align: center; font-size: 13.5px; color: var(--ink-500); }
.pc-btns { display: grid; gap: 8px; }
.pc-btns .btn { min-height: 56px; width: 100%; font-size: 16.5px; font-weight: 700; }
.pc-go:disabled { opacity: .45; }
