/* GENERATED from m/app.css by gen-desk-story.js: the phone story styles, scoped to .omo-story. Desktop rules follow at the end. */
.omo-story {
  --paper: #f1ebe0;
  --paper-2: #e7dece;
  --paper-rgb: 241, 235, 224;
  --ink: #1f2722;
  --ink-2: #39443d;
  --muted: #4c4f47;
  --gold: #8a6630;
  --gold-2: #c9a467;
  --gold-3: #e3c48a;
  --green: #26322c;
  --night: #121815;
  --night-rgb: 18, 24, 21;
  --cream: #f6f0e5;
  --line: rgba(31, 39, 34, .14);
  --line-2: rgba(31, 39, 34, .24);
  --vermilion: #b4432b;
  --line-green: #06c755;
  --fg: var(--ink);
  --fg-muted: var(--muted);
  --fg-line: var(--line);
  --serif: "OMOTEID Num", "OMOTEID Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --latin: "Manrope", "OMOTEID Sans", "Hiragino Sans", sans-serif;
  --grotesk: "Manrope", "OMOTEID Sans", "Hiragino Sans", sans-serif;
  --sans: "Manrope", "OMOTEID Sans", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --hd-h: calc(58px + var(--safe-t));
  --ease: cubic-bezier(.2, .7, .15, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --washi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .27 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.omo-story[data-tone="dark"] { --fg: var(--cream); --fg-muted: rgba(246, 240, 229, .88); --fg-line: rgba(246, 240, 229, .22); }
.omo-story img { max-width: 100%; }
.omo-story .num { font-family: var(--latin); font-weight: 400; font-feature-settings: "lnum"; letter-spacing: .01em; }
.omo-story .gold { color: var(--gold); }
/* Small numerals use the grotesk: the display face's "1" reads like a "4" at small sizes. */
.omo-story .wl b, .omo-story .menu-chapters b, .omo-story .doubts b, .omo-story .qa summary .num, .omo-story .deck-label .num, .omo-story .kicker .num, .omo-story .q .num { font-family: var(--grotesk); font-weight: 700; letter-spacing: .06em; font-feature-settings: "tnum"; }
.omo-story .veil { position: absolute; left: 0; right: 0; pointer-events: none; transition: opacity .6s, background .8s; }
.omo-story .veil--top { top: 0; z-index: 3; height: calc(var(--hd-h) + 44px); background: linear-gradient(to bottom, rgba(var(--paper-rgb), .9), rgba(var(--paper-rgb), .55) 55%, rgba(var(--paper-rgb), 0)); }
.omo-story .veil--bottom { bottom: 0; z-index: 1; height: 68vh; height: 68svh; background: linear-gradient(to top, rgba(var(--paper-rgb), .99) 0%, rgba(var(--paper-rgb), .95) 30%, rgba(var(--paper-rgb), .62) 55%, rgba(var(--paper-rgb), 0) 100%); }
.omo-story[data-tone="dark"] .veil--top { background: linear-gradient(to bottom, rgba(var(--night-rgb), .88), rgba(var(--night-rgb), .45) 55%, rgba(var(--night-rgb), 0)); }
.omo-story[data-tone="dark"] .veil--bottom { background: linear-gradient(to top, rgba(var(--night-rgb), .95) 0%, rgba(var(--night-rgb), .86) 24%, rgba(var(--night-rgb), .45) 52%, rgba(var(--night-rgb), 0) 100%); }
.omo-story .wipe { position: fixed; inset: 0; z-index: 60; background: var(--paper) var(--washi); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .32s var(--ease-io), visibility 0s .32s; }
.omo-story.is-wiping .wipe { opacity: 1; visibility: visible; transition: opacity .28s var(--ease-io), visibility 0s; }

/* World labels projected from 3D */
.omo-story .wl-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.omo-story .wl { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 0; padding: 6px 11px 5px; border: 1px solid rgba(201, 164, 103, .5); border-radius: 999px; background: rgba(var(--paper-rgb), .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 18px rgba(60, 45, 20, .12); line-height: 1.2; opacity: 0; visibility: hidden; transform: translate3d(-200px, -200px, 0); will-change: transform, opacity; pointer-events: none; transition: border-color .4s, background .4s, color .4s; }
.omo-story .wl::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: linear-gradient(rgba(201, 164, 103, .8), rgba(201, 164, 103, 0)); }
.omo-story .wl b { font-size: 10.5px; color: var(--gold); }
.omo-story .wl span { font-family: var(--serif); font-weight: 600; font-size: 13px; color: var(--ink); }
.omo-story .wl.is-hot { border-color: var(--gold-2); background: rgba(255, 250, 240, .96); box-shadow: 0 0 0 4px rgba(227, 196, 138, .28), 0 8px 22px rgba(60, 45, 20, .16); }
.omo-story .wl.is-live { pointer-events: auto; visibility: visible; }
.omo-story .wl.is-done b::after { content: " ✓"; font-family: var(--sans); font-size: 10px; }
.omo-story .touch-zone { position: absolute; left: 0; right: 0; top: var(--hd-h); height: 46vh; height: 46svh; z-index: 4; display: none; touch-action: pan-y; }
.omo-story[data-touch] .touch-zone { display: block; }
/* ---------------------------------------------------------------- Story */
.omo-story main { position: relative; z-index: 2; }
.omo-story .st { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: calc(var(--h) * 1vh); height: calc(var(--h) * 1svh); padding: 18vh 0 0; padding: 18svh 0 0; pointer-events: none; }
.omo-story .copy { position: sticky; bottom: calc(var(--safe-b) + 26px); margin: 0 22px; color: var(--fg); pointer-events: auto; opacity: calc(1 - var(--out, 0)); transition: color .6s; will-change: opacity; }
.omo-story .copy .ln { --k: clamp(0, calc(var(--in, 1) * 2.3 - var(--i, 0) * .26), 1); display: block; opacity: var(--k); transform: translate3d(0, calc((1 - var(--k)) * 24px), 0); will-change: transform, opacity; }
.omo-story .copy > * + * { margin-top: 13px; }
.omo-story .copy p, .omo-story .copy li, .omo-story .reading p, .omo-story .qa summary span { text-wrap: pretty; word-break: auto-phrase; }
.omo-story .copy:not(.copy--panel) { text-shadow: 0 0 16px rgba(var(--paper-rgb), .95), 0 0 3px rgba(var(--paper-rgb), .9); }
.omo-story[data-tone="dark"] .copy:not(.copy--panel) { text-shadow: 0 0 16px rgba(var(--night-rgb), .95), 0 0 3px rgba(var(--night-rgb), .9); }
.omo-story .copy--panel { margin: 0 12px; padding: 20px 18px 18px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 18px; background: rgba(250, 246, 238, .8); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); box-shadow: 0 22px 48px rgba(60, 45, 20, .14), inset 0 1px 0 rgba(255, 255, 255, .7); color: var(--ink); --fg: var(--ink); --fg-muted: var(--muted); --fg-line: var(--line); }
.omo-story[data-tone="dark"] .copy--panel { background: rgba(250, 246, 238, .86); }
.omo-story .copy--hero { bottom: calc(var(--safe-b) + 20px); }
.omo-story .copy--final .display { margin-top: 8px; }

.omo-story .eyebrow { font-family: var(--grotesk); font-size: 11px; line-height: 1.6; letter-spacing: .26em; color: var(--gold); }
.omo-story[data-tone="dark"] .copy:not(.copy--panel) .eyebrow { color: var(--gold-2); }
.omo-story .display { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(29px, 8.5vw, 38px); line-height: 1.5; letter-spacing: .03em; }
.omo-story .kagi { margin-left: -.46em; }
.omo-story .title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 7.6vw, 32px); line-height: 1.5; letter-spacing: .02em; }
.omo-story .title--s { font-size: clamp(21px, 6.2vw, 26px); }
.omo-story .title--xl { font-size: clamp(31px, 9.4vw, 41px); }
/* A title that must stay on one line: shrink to the copy width instead of wrapping. */
.omo-story .title.title--one { white-space: nowrap; font-size: min(32px, calc((100vw - 50px) / 12.4)); }
.omo-story .title .num { margin: 0 .05em; font-size: 1.24em; letter-spacing: 0; }
.omo-story .title--xl .num { font-size: 2.1em; line-height: 1; vertical-align: -.1em; }
.omo-story .lead, .omo-story .sub { font-size: 15.5px; line-height: 1.85; font-weight: 500; color: var(--fg-muted); }
.omo-story .note { font-size: 12.5px; line-height: 1.8; color: var(--fg-muted); }
.omo-story .kicker { display: flex; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--fg-muted); }
.omo-story .kicker .num { font-size: 15px; color: var(--gold); }

/* Hero */
.omo-story .hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 18px !important; font-size: 12.5px; color: var(--ink-2); }
.omo-story .hero-price b { font-size: 31px; line-height: 1; color: var(--ink); }
.omo-story .hero-price i { align-self: center; width: 1px; height: 18px; margin: 0 9px; background: var(--line-2); }
.omo-story .cue { display: flex; align-items: center; gap: 12px; margin-top: 20px !important; font-family: var(--grotesk); font-size: 9.5px; letter-spacing: .34em; color: var(--muted); }
.omo-story .cue i { position: relative; width: 1px; height: 34px; background: var(--line); overflow: hidden; }
.omo-story .cue i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--gold-2); animation: omo-cue 2s var(--ease-io) infinite; }
@keyframes omo-cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* Doubts */
.omo-story .doubts { margin: 4px 0 0; padding: 0; list-style: none; }
.omo-story .doubts li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--fg-line); font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.5; }
.omo-story .doubts b { flex: none; font-size: 12px; color: var(--gold); }

/* Chapter cards between worlds */
.omo-story .st--chapter { justify-content: flex-start; padding: 0; }
.omo-story .chap { position: sticky; top: 34vh; top: 34svh; display: grid; justify-items: center; text-align: center; color: var(--fg); opacity: calc(var(--in, 0) * (1 - var(--out, 0))); transform: translate3d(0, calc((1 - var(--in, 0)) * 30px), 0) scale(calc(.96 + var(--in, 0) * .04)); will-change: transform, opacity; }
.omo-story .chap .num { font-size: 92px; line-height: .9; color: var(--gold-2); text-shadow: 0 10px 40px rgba(var(--paper-rgb), .9); letter-spacing: calc((1 - var(--in, 0)) * .3em); }
.omo-story .chap-en { margin-top: 10px; font-family: var(--grotesk); font-size: 10px; letter-spacing: .5em; padding-left: .5em; color: var(--fg-muted); }
.omo-story .chap-ja { margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: .12em; text-shadow: 0 2px 18px rgba(var(--paper-rgb), .9); }
.omo-story[data-tone="dark"] .chap .num, .omo-story[data-tone="dark"] .chap-ja { text-shadow: 0 6px 30px rgba(var(--night-rgb), .9); }

/* Tags & lists */
.omo-story .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.omo-story .tags.ln { display: flex; }
.omo-story .tags li { padding: 4px 12px; border: 1px solid var(--fg-line); border-radius: 999px; font-size: 12px; letter-spacing: .05em; background: rgba(var(--paper-rgb), .5); }
.omo-story .list { margin: 12px 0 0; padding: 0; list-style: none; }
.omo-story .list li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--fg-line); font-size: 14.5px; font-weight: 500; line-height: 1.75; color: var(--fg-muted); }
.omo-story .list li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 10px; height: 1px; background: var(--gold-2); }

/* Pages slider */
.omo-story .pages label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.omo-story .pages output { font-family: var(--latin); font-size: 19px; color: var(--gold); }
.omo-story .pages input { display: block; width: 100%; height: 40px; margin: 4px 0 0; background: transparent; -webkit-appearance: none; appearance: none; touch-action: pan-x; }
.omo-story .pages input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--gold-2) var(--fill, 0%), rgba(31, 39, 34, .14) var(--fill, 0%)); }
.omo-story .pages input::-moz-range-track { height: 3px; background: rgba(31, 39, 34, .14); }
.omo-story .pages input::-moz-range-progress { height: 3px; background: var(--gold-2); }
.omo-story .pages input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13.5px; border-radius: 50%; background: var(--green); border: 7px solid #fbf8f2; box-shadow: 0 3px 12px rgba(0, 0, 0, .25); }
.omo-story .pages input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 7px solid #fbf8f2; box-shadow: 0 3px 12px rgba(0, 0, 0, .25); }
.omo-story .pages-total { display: flex; align-items: baseline; gap: 6px; font-size: 14px; }
.omo-story .pages-total b { font-size: 44px; line-height: 1.1; }
.omo-story .pages-total b.is-bump { animation: omo-bump .5s var(--ease); }
@keyframes omo-bump { 30% { transform: translateY(-3px); color: var(--gold); } }
.omo-story .pages-total small { font-size: 12px; color: var(--muted); }

/* Schedule */
.omo-story .schedule { margin: 12px 0 0; }
.omo-story .schedule div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.omo-story .schedule dt { color: var(--gold); font-size: 12.5px; letter-spacing: .06em; }
.omo-story .schedule dd { margin: 0; }
.omo-story .schedule b { margin: 0 2px; font-size: 23px; }
.omo-story .schedule small { display: block; font-size: 12px; color: var(--muted); }

/* Questions */
.omo-story .q { display: flex; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.5; }
.omo-story .q.ln { display: flex; }
.omo-story .q .num { flex: none; font-size: 15px; line-height: 2; color: var(--gold); }
.omo-story .answer { padding-left: 37px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.omo-story .answer::before { content: "→ "; color: var(--gold-2); }
.omo-story .chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px !important; }
.omo-story .chips.ln { display: grid; }
.omo-story .chips button { min-height: 50px; padding: 0 2px; border: 1px solid rgba(31, 39, 34, .24); border-radius: 12px; background: rgba(255, 255, 255, .5); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.omo-story .chips button:active { transform: scale(.96); }
.omo-story .chips button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.omo-story .hint { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--fg-muted); }
.omo-story .hint.ln { display: flex; }
.omo-story .hint i { position: relative; width: 34px; height: 1px; background: var(--fg-line); }
.omo-story .hint i::after { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); animation: omo-swipe 2.4s var(--ease-io) infinite; }
@keyframes omo-swipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(27px); } }

/* Buyout */
.omo-story .buyout { display: flex; align-items: baseline; gap: 6px; font-size: 14px; }
.omo-story .buyout.ln { display: flex; }
.omo-story .buyout b { font-size: 50px; line-height: 1.05; }
.omo-story .buyout small { font-size: 12px; color: var(--muted); }

/* Docs */
.omo-story .deck { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; }
.omo-story .deck.ln { display: grid; }
.omo-story .deck-step { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, .4); font-family: var(--latin); font-size: 16px; }
.omo-story .deck-label { display: grid; justify-items: center; text-align: center; line-height: 1.35; }
.omo-story .deck-label .num { font-size: 12px; letter-spacing: .24em; color: var(--gold); }
.omo-story .deck-label b { font-family: var(--serif); font-weight: 500; font-size: 18px; }
.omo-story .deck-label small { margin-left: .6em; font-family: var(--latin); font-size: 14px; color: var(--muted); }
.omo-story .doc-links { display: grid; gap: 8px; margin-top: 14px !important; }
.omo-story .doc-links.ln { display: grid; }
.omo-story .docs-static { display: none; }

/* Buttons */
.omo-story .btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 12px 18px; border: 1px solid var(--green); border-radius: 14px; background: var(--green); color: var(--cream); font-size: 14px; letter-spacing: .03em; transition: transform .3s var(--ease), background .3s; }
.omo-story .btn:active { transform: scale(.985); }
.omo-story .btn small { margin-right: auto; font-size: 11px; opacity: .7; }
.omo-story .btn--ghost { background: transparent; color: var(--ink); border-color: rgba(31, 39, 34, .28); }
.omo-story .btn--line { justify-content: flex-start; background: var(--green); }
.omo-story .btn--line > span:last-child { margin-left: auto; }
.omo-story .btn--cream { background: var(--cream); color: var(--green); border-color: var(--cream); }
.omo-story .btn--big { min-height: 62px; font-size: 15px; }
.omo-story .line-mark { display: inline-grid; place-items: center; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--line-green); color: #fff; font-family: Arial, sans-serif; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .02em; }
.omo-story .cta { display: grid; gap: 8px; margin-top: 18px !important; }
.omo-story .cta.ln { display: grid; }

/* ---------------------------------------------------------------- Lightbox */
.omo-story .lightbox { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-rows: 1fr auto; background: rgba(18, 24, 21, .95); animation: menu-in .35s var(--ease); }
.omo-story .lightbox-scroll { overflow: auto; padding: calc(64px + var(--safe-t)) 12px 12px; -webkit-overflow-scrolling: touch; }
.omo-story .lightbox img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.omo-story .lightbox-close { position: absolute; top: calc(10px + var(--safe-t)); right: 10px; z-index: 1; width: 46px; height: 46px; border: 0; background: none; color: var(--cream); font-size: 28px; line-height: 1; }
.omo-story .lightbox-nav { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; padding: 8px 12px calc(12px + var(--safe-b)); color: var(--cream); text-align: center; }
.omo-story .lightbox-nav button { height: 48px; border: 1px solid rgba(246, 240, 229, .3); border-radius: 12px; background: none; font-family: var(--latin); }
.omo-story .lightbox-count { font-size: 14px; letter-spacing: .14em; }
html.lightbox-open { overflow: hidden; }
/* Static reading layout: no module support, no WebGL, or an error while starting. */
.omo-story.no-gl .st { height: auto; padding: 0; display: block; }
.omo-story.no-gl .copy { position: relative; bottom: auto; margin: 0 22px 64px; opacity: 1; }
.omo-story.no-gl .copy--panel { margin: 0 12px 64px; }
.omo-story.no-gl .copy .ln { opacity: 1; transform: none; }
.omo-story.no-gl .st--chapter { padding: 48px 0 26px; }
.omo-story.no-gl .chap { position: relative; top: auto; opacity: 1; transform: none; }
.omo-story.no-gl .chap .num { font-size: 64px; letter-spacing: 0; }
.omo-story.no-gl .st--hero { display: flex; min-height: 100vh; min-height: 100svh; padding-top: 30vh; background: linear-gradient(to top, var(--paper) 30%, rgba(var(--paper-rgb), .2)), url("img/shop.jpg") center top / cover no-repeat; }
.omo-story.no-gl #gl, .omo-story.no-gl .veil, .omo-story.no-gl .wl-layer, .omo-story.no-gl .touch-zone { display: none; }
.omo-story.no-gl .docs-static { display: flex; gap: 12px; margin: -30px 0 40px; padding: 0 22px 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.omo-story .docs-static button { flex: 0 0 62%; padding: 0; border: 0; background: none; scroll-snap-align: center; }
.omo-story .docs-static img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 28px rgba(60, 48, 30, .16); }
.omo-story.no-gl .deck-step { display: none; }

@media (max-width: 359px) {
  .omo-story .hd-logo svg { width: 90px; }
  .omo-story .hd-line { padding: 0 10px; font-size: 11px; }
  .omo-story .copy { margin: 0 18px; }
  .omo-story .copy--panel { margin: 0 8px; padding: 18px 14px 16px; }
}
@media (max-height: 700px) {
  .omo-story .display { font-size: 28px; }
  .omo-story .title { font-size: 24px; }
  .omo-story .title--s { font-size: 20.5px; }
  .omo-story .title--xl { font-size: 29px; }
  .omo-story .lead, .omo-story .sub { font-size: 13.5px; line-height: 1.75; }
  .omo-story .copy > * + * { margin-top: 9px; }
  .omo-story .hero-price { margin-top: 12px !important; }
  .omo-story .hero-price b { font-size: 26px; }
  .omo-story .cue { display: none !important; }
  .omo-story .doubts li { padding: 7px 0; font-size: 16.5px; }
  .omo-story .copy--panel { padding: 15px 15px 14px; }
  .omo-story .schedule div { padding: 7px 0; }
  .omo-story .schedule b { font-size: 19px; }
  .omo-story .pages-total b { font-size: 34px; }
  .omo-story .buyout b { font-size: 40px; }
  .omo-story .list li { padding: 6px 0 6px 22px; font-size: 12.5px; }
  .omo-story .note { font-size: 11px; line-height: 1.7; }
  .omo-story .chap .num { font-size: 72px; }
}

/* ---------------------------------------------------------------- Desktop and tablet */
@font-face { font-family: "OMOTEID Mincho"; src: url("m/fonts/omoteid-mincho.woff2?v=20261030") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "OMOTEID Sans"; src: url("m/fonts/omoteid-sans.woff2?v=20261030") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("m/fonts/manrope-500.woff2?v=20261030") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "OMOTEID Num"; src: url("m/fonts/manrope-500.woff2?v=20261030") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0030-0039, U+002B-002E, U+0025, U+00A5; }
@keyframes omo-menu-in { from { opacity: 0; } }

/* The page's own base styles stop at this box: the story brings the phone's. */
.omo-story { --hd-h: 104px; position: relative; color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; text-align: left; }
.omo-story *, .omo-story *::before, .omo-story *::after { box-sizing: border-box; }
.omo-story p, .omo-story h1, .omo-story h2, .omo-story ol, .omo-story ul, .omo-story dl, .omo-story dd { margin: 0; }
.omo-story a { color: inherit; text-decoration: none; }
.omo-story button, .omo-story input { font: inherit; color: inherit; }
.omo-story button { cursor: pointer; }
.omo-story .btn { height: auto; }
.omo-story [hidden] { display: none !important; }
.omo-story.omo-overlay { position: static; }
.omo-story .lightbox { animation: omo-menu-in .35s var(--ease); }
.omo-story .lightbox-scroll { display: grid; justify-items: center; }
.omo-story .lightbox img { width: min(100%, 860px); }

/* The pinned stage: the world, its veils and labels stay on screen while the story scrolls over them.
   The page's arch follows only after the closing screen, where the phone's reading pages begin. */
html body #hero.section { height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; background: #f1ebe0 !important; }
html body #hero.section > .container { display: none !important; }
.omo-stage { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; background: var(--paper) var(--washi); }
.omo-gl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .9s var(--ease); }
.omo-story.gl-on .omo-gl { opacity: 1; }
.omo-story:not(.gl-on) .veil--bottom { opacity: 0; }
.omo-steps { position: relative; z-index: 1; }
.omo-tail { height: 0; pointer-events: none; }
.omo-story.no-gl .omo-stage { display: none; }
.omo-story.no-gl .st--hero { background: linear-gradient(to top, var(--paper) 30%, rgba(var(--paper-rgb), .2)), url("m/img/shop.jpg") center top / cover no-repeat; }

/* Larger type for larger screens; short windows keep it within the height. */
@media (min-width: 768px) {
  .omo-story .display { font-size: clamp(30px, min(3.4vw, 6.4vh), 58px); }
  .omo-story .title { font-size: clamp(26px, min(2.6vw, 5vh), 44px); }
  .omo-story .title--s { font-size: clamp(22px, min(2.1vw, 4.2vh), 34px); }
  .omo-story .title--xl { font-size: clamp(31px, min(3.2vw, 6vh), 54px); }
  .omo-story .title.title--one { font-size: clamp(24px, min(2.5vw, 4.8vh), 40px); }
  .omo-story .lead, .omo-story .sub { font-size: clamp(14px, min(1.1vw, 2.4vh), 17px); line-height: 1.85; }
  .omo-story .note { font-size: 13px; line-height: 1.8; }
  .omo-story .eyebrow { font-size: 12px; }
  .omo-story .kicker { font-size: 14px; }
  .omo-story .kicker .num { font-size: 16px; }
  .omo-story .doubts li { padding: min(10px, 1.4vh) 0; font-size: clamp(17px, min(1.5vw, 3vh), 23px); }
  .omo-story .hero-price { font-size: 13.5px; }
  .omo-story .hero-price b { font-size: clamp(28px, min(2.4vw, 4.8vh), 40px); }
  .omo-story .cue { font-size: 10.5px; }
  .omo-story .chap .num { font-size: clamp(80px, min(8vw, 15vh), 140px); }
  .omo-story .chap-en { font-size: 11px; }
  .omo-story .chap-ja { font-size: clamp(22px, 1.9vw, 30px); }
  .omo-story .wl { padding: 7px 13px 6px; }
  .omo-story .wl b { font-size: 11px; }
  .omo-story .wl span { font-size: 14px; }
  .omo-story .copy > * + * { margin-top: min(13px, 1.8vh); }
  .omo-story .copy--panel { padding: 22px 24px 20px; }
  .omo-story .cue { display: flex !important; }
  /* Tall screens (a tablet held upright): the phone's layout, a little roomier. */
  .omo-story .copy { margin: 0 6vw; max-width: 600px; }
  .omo-story .copy--panel { margin: 0 4vw; max-width: 620px; }
}

/* Wide screens: the world steps right, the copy holds a column on the left. */
.omo-story.is-wide .veil--bottom { top: 0; bottom: 0; right: auto; width: 66vw; height: auto; background: linear-gradient(to right, rgba(var(--paper-rgb), .96) 0%, rgba(var(--paper-rgb), .86) 32%, rgba(var(--paper-rgb), .42) 58%, rgba(var(--paper-rgb), 0) 100%); }
.omo-story.is-wide[data-tone="dark"] .veil--bottom { background: linear-gradient(to right, rgba(var(--night-rgb), .94) 0%, rgba(var(--night-rgb), .8) 32%, rgba(var(--night-rgb), .38) 58%, rgba(var(--night-rgb), 0) 100%); }
.omo-story.is-wide .copy { width: min(480px, 38vw); max-width: none; margin: 0 0 0 clamp(40px, 7vw, 132px); bottom: max(36px, 9vh); }
.omo-story.is-wide .copy--panel { width: min(460px, 38vw); margin-left: clamp(28px, 6vw, 120px); }
.omo-story.is-wide .copy--hero { bottom: max(44px, 12vh); }
.omo-story.is-wide .touch-zone { left: 36vw; height: calc(100% - var(--hd-h)); }
.omo-story[data-touch] .touch-zone { cursor: grab; }

/* Lighter on large screens: a nearly opaque panel instead of re-blurring a big area of the moving world
   every frame, and the page's idle paper-tear layer is hidden while the story is on screen. */
@media (min-width: 768px) {
  .omo-story .copy--panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250, 246, 238, .94); }
  .omo-story[data-tone="dark"] .copy--panel { background: rgba(250, 246, 238, .96); }
}
html.omo-story-live .paper-tear-webgl-wrap { visibility: hidden; }

/* ---------------------------------------------------------------- Tablet (ipad.html only)
   Held at arm's length, a tablet needs the phone's proportions, not the desktop's. Every size here is
   in --u, which follows this screen's width (and height when sideways), drawn 1.2x larger than an
   820-wide iPad design held upright and 1.1x larger sideways, where the height runs out first.
   Nothing is capped in pixels, because iPad Safari may lay the page out wider than the screen and zoom
   it down; a cap would then shrink the type along with the page. */
html[data-ipad-desktop-layout] .omo-story { --u: calc(100vw / 683); }
html[data-ipad-desktop-layout] .omo-story.is-wide { --u: min(calc(100vw / 1073), calc(100vh / 745)); }

html[data-ipad-desktop-layout] .omo-story .eyebrow { font-size: calc(14 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .kicker { gap: calc(12 * var(--u)); font-size: calc(16 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .kicker .num { font-size: calc(19 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .display { font-size: calc(47.5 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .title { font-size: calc(41 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .title--s { font-size: calc(34.5 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .title--xl { font-size: calc(54 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .title.title--one { font-size: calc(39 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .lead,
html[data-ipad-desktop-layout] .omo-story .sub { font-size: calc(19.5 * var(--u)); line-height: 1.85; }
html[data-ipad-desktop-layout] .omo-story .note { font-size: calc(15.5 * var(--u)); line-height: 1.8; }
html[data-ipad-desktop-layout] .omo-story .copy > * + * { margin-top: calc(16 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .doubts li { gap: calc(16 * var(--u)); padding: calc(13 * var(--u)) 0; font-size: calc(25 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .doubts b { font-size: calc(15 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .hero-price { margin-top: calc(22 * var(--u)) !important; font-size: calc(16 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .hero-price b { font-size: calc(42 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .hero-price i { height: calc(24 * var(--u)); margin: 0 calc(12 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .cue { font-size: calc(12 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .cue i { height: calc(42 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .chap .num { font-size: calc(130 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .chap-en { margin-top: calc(14 * var(--u)); font-size: calc(13 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .chap-ja { margin-top: calc(8 * var(--u)); font-size: calc(31 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .wl { padding: calc(8 * var(--u)) calc(15 * var(--u)) calc(7 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .wl b { font-size: calc(13 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .wl span { font-size: calc(17 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .copy--panel { padding: calc(28 * var(--u)) calc(30 * var(--u)) calc(26 * var(--u)); border-radius: calc(22 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .tags { gap: calc(8 * var(--u)); margin-top: calc(20 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .tags li { padding: calc(6 * var(--u)) calc(15 * var(--u)); font-size: calc(15 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .list li { padding: calc(12 * var(--u)) 0 calc(12 * var(--u)) calc(26 * var(--u)); font-size: calc(18 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .list li::before { width: calc(12 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .pages label { font-size: calc(16 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .pages output { font-size: calc(24 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .pages input { height: calc(52 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .pages-total { font-size: calc(17 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .pages-total b { font-size: calc(58 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .pages-total small { font-size: calc(14 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .schedule div { grid-template-columns: calc(96 * var(--u)) 1fr; gap: calc(10 * var(--u)); padding: calc(13 * var(--u)) 0; font-size: calc(18 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .schedule dt { font-size: calc(15 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .schedule b { font-size: calc(30 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .schedule small { font-size: calc(14 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .q { gap: calc(12 * var(--u)); font-size: calc(25 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .q .num { font-size: calc(19 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .answer { padding-left: calc(47 * var(--u)); font-size: calc(19 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .chips { gap: calc(8 * var(--u)); margin-top: calc(20 * var(--u)) !important; }
html[data-ipad-desktop-layout] .omo-story .chips button { min-height: calc(62 * var(--u)); border-radius: calc(14 * var(--u)); font-size: calc(17 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .hint { gap: calc(12 * var(--u)); font-size: calc(15 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .buyout { font-size: calc(17 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .buyout b { font-size: calc(66 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .buyout small { font-size: calc(14 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .deck { grid-template-columns: calc(56 * var(--u)) 1fr calc(56 * var(--u)); gap: calc(10 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .deck-step { width: calc(56 * var(--u)); height: calc(56 * var(--u)); font-size: calc(20 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .deck-label .num { font-size: calc(14 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .deck-label b { font-size: calc(23 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .deck-label small { font-size: calc(17 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .doc-links { gap: calc(10 * var(--u)); margin-top: calc(18 * var(--u)) !important; }
html[data-ipad-desktop-layout] .omo-story .btn { gap: calc(12 * var(--u)); min-height: calc(64 * var(--u)); padding: calc(14 * var(--u)) calc(22 * var(--u)); border-radius: calc(16 * var(--u)); font-size: calc(17 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .btn small { font-size: calc(13 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .line-mark { height: calc(26 * var(--u)); padding: 0 calc(8 * var(--u)); border-radius: calc(7 * var(--u)); font-size: calc(12 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story .cta { gap: calc(10 * var(--u)); margin-top: calc(22 * var(--u)) !important; }

/* Upright: the copy sits at the bottom across the screen, as on the phone. */
html[data-ipad-desktop-layout] .omo-story:not(.is-wide) .copy { max-width: none; margin: 0 6vw; bottom: 3.5vw; }
html[data-ipad-desktop-layout] .omo-story:not(.is-wide) .copy--panel { margin: 0 4vw; }
html[data-ipad-desktop-layout] .omo-story:not(.is-wide) .copy--hero { bottom: 3vw; }

/* Sideways: a wide column on the left, the world beside it. */
html[data-ipad-desktop-layout] .omo-story.is-wide .copy { width: 47vw; margin-left: 5vw; bottom: 6.5vh; }
html[data-ipad-desktop-layout] .omo-story.is-wide .copy--panel { width: 48vw; margin-left: 4vw; }
html[data-ipad-desktop-layout] .omo-story.is-wide .copy--hero { bottom: 9vh; }
html[data-ipad-desktop-layout] .omo-story.is-wide .display { font-size: calc(50 * var(--u)); }
html[data-ipad-desktop-layout] .omo-story.is-wide .title.title--one { font-size: calc(38 * var(--u)); }
