/* PHONE layout (designed for 390px wide). Separate from the desktop files on purpose: one column, thumb-sized controls, no horizontal or inner scrolling. */
html { background: #E7E1D2; }
body { max-width: 430px; margin: 0 auto; min-height: 100vh; box-shadow: 0 0 60px rgba(18,35,59,.18); position: relative; overflow-x: hidden; }
.mockbar { padding: 8px 12px; gap: 8px; font-size: 12px; }
.mockbar a { padding: 6px 10px; }
.m-app { min-height: calc(100vh - 44px); display: flex; flex-direction: column; }

/* top bar + progress */
.m-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 8px 8px 0; height: 56px; }
.m-top .t { text-align: center; font-weight: 700; font-size: 16px; }
.m-ib { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); text-decoration: none; }
.m-ib svg { width: 24px; height: 24px; }
.m-ib:active { background: #fff; }
.m-prog { padding: 8px 20px 0; }
.m-prog ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; list-style: none; margin: 0; padding: 0; }
.m-prog li { height: 5px; border-radius: 5px; background: #DDD6C4; }
.m-prog li.done { background: var(--teal-d); } .m-prog li.cur { background: var(--navy); }
.m-prog .lab { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-top: 10px; }
.m-main { flex: 1; padding: 20px 20px 96px; }
.m-head h1 { font-size: 34px; line-height: 1.04; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.m-head p { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.m-head { margin-bottom: 22px; }

/* sticky action bar */
.m-bar { position: sticky; bottom: 0; z-index: 20; background: rgba(251,248,242,.98); border-top: 1px solid var(--line); padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); }
.m-bar .cnt { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.m-bar .cnt .need { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.m-bar .cnt.ok .need { color: var(--good); }
.m-bar .btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px; }
.m-bar .btn { font-size: 17px; padding: 15px 16px; min-height: 52px; }

.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
.m-grid .tile-img { border-radius: 16px; }
.m-grid .tile-badge { width: 28px; height: 28px; top: 8px; right: 8px; }
.m-grid .tile-cap { padding-top: 8px; }
.m-grid .tile-cap b { font-size: 16px; line-height: 1.2; } .m-grid .tile-cap small { font-size: 13px; line-height: 1.3; margin-top: 2px; }
.m-lights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.m-lights .tile-img { aspect-ratio: 4/5; border-radius: 18px; }
.m-lights .tile-img img { object-position: 50% 50%; }
.m-lights .tile-cap b { font-size: 17px; } .m-lights .tile-cap small { font-size: 14px; }
.m-lights .rec { position: absolute; left: 8px; bottom: 8px; }

/* landing */
.m-land .logo-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 20px; }
.m-land .logo-row img { height: 30px; }
.m-hero { margin: 4px 12px 0; border-radius: 28px; background: radial-gradient(500px 300px at 90% 0, #1F3F63 0, transparent 60%), linear-gradient(160deg, #12233B, #0C1A2D); color: #fff; padding: 28px 20px 24px; }
.m-hero .eyebrow { font-weight: 700; letter-spacing: .14em; font-size: 12px; color: var(--amber); text-transform: uppercase; }
.m-hero h1 { font-size: 38px; line-height: 1.03; letter-spacing: -.04em; font-weight: 800; margin: 12px 0 12px; text-wrap: balance; }
.m-hero h1 em { font-style: normal; color: var(--teal-l); }
.m-hero p.lead { color: #C9D3E4; font-size: 17px; }
.m-hero .ba { aspect-ratio: 4/5; width: 100%; border-radius: 20px; margin-top: 22px; }
.m-hero .who { display: flex; gap: 10px; margin-top: 8px; justify-content: center; }
.m-hero .who button { min-height: 44px; border: 1.5px solid rgba(255,255,255,.28); background: transparent; color: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 15px; cursor: pointer; font-family: inherit; }
.m-hero .who button[aria-pressed="true"] { background: #fff; color: #12233B; border-color: #fff; }
.m-hero .hero-cap { margin: 10px 0 0; text-align: center; font-size: 14px; color: #C9D3E4; }
.m-hero .cs-toggle button:not([aria-pressed="true"]) { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.m-hero .cs-toggle button[aria-pressed="true"] { background: #fff; color: #12233B; border-color: #fff; }
.m-sec { padding: 56px 20px 0; }
.m-sec .kick { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--teal-d); }
.m-sec h2 { font-size: 32px; line-height: 1.06; letter-spacing: -.03em; font-weight: 800; margin-top: 10px; text-wrap: balance; }
.m-sec p.sub { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.m-card { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.m-card .txt { padding: 22px 22px 14px; }
.m-card h3 { font-size: 24px; letter-spacing: -.025em; line-height: 1.1; font-weight: 800; }
.m-card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.m-card.navy { background: var(--navy); color: #fff; border: 0; } .m-card.navy p { color: #C9D3E4; }
.m-card .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 22px 22px; }
.m-card .g3 img { aspect-ratio: 4/5; border-radius: 10px; width: 100%; object-fit: cover; }
.m-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 22px; }
.m-steps li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.m-steps .pic { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; }
.m-steps .pic img { width: 100%; height: 100%; object-fit: cover; }
.m-steps .n { position: absolute; left: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.m-steps h3 { font-size: 19px; letter-spacing: -.015em; font-weight: 800; }
.m-steps p { color: var(--ink-2); font-size: 15px; margin-top: 3px; }
/* PRICE SLOT: flag-off (BILLING_ENABLED unset). Designed in place; the real price and buy button appear when billing is turned on. */
.m-price { margin-top: 24px; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgba(18,35,59,.45); }
.m-price .t { padding: 28px 24px; background: linear-gradient(160deg, #12233B, #1C3150); color: #fff; }
.m-price .amt { font-size: 76px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.m-price .amt sup { font-size: 30px; vertical-align: top; position: relative; top: 10px; margin-right: 2px; letter-spacing: 0; }
.m-price .per { color: #C9D3E4; font-size: 17px; margin-top: 8px; }
.m-price .unit { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); color: #C9D3E4; font-size: 15px; }
.m-price .unit b { color: var(--amber); font-size: 19px; }
.m-price .b { padding: 22px 24px 26px; }
.m-price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.m-price li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 16px; }
.m-price li svg { width: 24px; height: 24px; color: var(--teal-d); }
.m-price .extra { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.m-price .extra b { color: var(--ink); }
.m-trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.m-trust li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.m-trust svg { width: 32px; height: 32px; color: var(--teal-d); }
.m-trust b { display: block; font-size: 17px; } .m-trust span { color: var(--ink-2); font-size: 15px; display: block; margin-top: 2px; }
.m-foot-note { text-align: center; color: var(--ink-3); font-size: 13px; padding: 36px 20px 24px; }
.m-start { position: sticky; bottom: 0; z-index: 25; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(251,248,242,1) 60%, rgba(251,248,242,0)); }
.m-start .btn { width: 100%; font-size: 19px; padding: 18px; min-height: 58px; }

/* photo */
.m-photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 24px 44px -28px rgba(18,35,59,.55); }
.m-photo.empty { aspect-ratio: 1/1; }   /* empty photo step: shorter box so Take a photo clears the Back/Next bar without scrolling */
.m-photo img { width: 100%; height: 100%; object-fit: cover; }
.m-photo .chip { position: absolute; left: 12px; bottom: 12px; }
.m-pbtns { display: grid; gap: 10px; margin-top: 16px; }
.m-pbtns .btn { padding: 15px; font-size: 16px; min-height: 52px; }
.m-tips h2 { font-size: 24px; letter-spacing: -.02em; font-weight: 800; margin: 36px 0 14px; }
.m-tips ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.m-tips li { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.m-tips li img { width: 104px; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }
.m-tips li b { font-size: 16.5px; display: block; line-height: 1.2; } .m-tips li span { color: var(--ink-2); font-size: 14.5px; display: block; margin-top: 2px; line-height: 1.3; }

/* match */
.m-match .portrait { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 28px 50px -30px rgba(18,35,59,.55); }
.m-match .portrait img { width: 100%; height: 100%; object-fit: cover; }
.m-match .portrait .chip { position: absolute; left: 12px; top: 12px; }
.m-match h2 { font-size: 28px; letter-spacing: -.03em; font-weight: 800; margin-top: 20px; }
.m-match .why { font-size: 16.5px; margin-top: 8px; color: var(--ink-2); }
.m-match .why b { color: var(--ink); }
.m-match .pick-label { margin-top: 26px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.m-match .people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.person { position: relative; cursor: pointer; text-align: center; }
.person input { position: absolute; opacity: 0; }
.person .av { display: block; width: 100%; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; outline: 2px solid var(--line-2); outline-offset: 2px; border: 3px solid transparent; }
.person .av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.person b { display: block; margin-top: 8px; font-size: 16px; }
.person input:checked + .av { outline: 3px solid var(--navy); border-color: #fff; }
.person input:focus-visible + .av { outline: 3px solid var(--teal); }

/* finish */
.m-finish .portrait { border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; margin-bottom: 18px; }
.m-finish .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.m-fc { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin-bottom: 12px; }
.m-fc .top { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.m-fc .ic { width: 44px; height: 44px; border-radius: 12px; background: #E4F1EF; color: var(--teal-d); display: grid; place-items: center; }
.m-fc .ic svg { width: 24px; height: 24px; }
.m-fc h3 { font-size: 19px; letter-spacing: -.015em; font-weight: 800; }
.m-fc p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.m-fc .ctl { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.m-fc .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.m-fc .seg span { text-align: center; padding: 12px 6px; font-size: 14.5px; min-height: 44px; }
.m-fc .ctl .state { font-weight: 700; font-size: 16px; }

/* consent */
.m-consent { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px 20px; margin-top: 8px; }
.m-consent label.agree { min-height: 44px; padding: 6px 0; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 19px; font-weight: 700; letter-spacing: -.01em; cursor: pointer; }
.m-consent input[type=checkbox] { appearance: none; width: 32px; height: 32px; border-radius: 9px; border: 2.5px solid var(--navy); background: #fff; margin: 0; display: grid; place-items: center; }
.m-consent input[type=checkbox]:checked { background: var(--navy); }
.m-consent input[type=checkbox]:checked::after { content: ""; width: 16px; height: 9px; border: 3.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-2px); }
.m-consent .terms { display: inline-block; margin: 16px 0 0 46px; font-size: 17px; font-weight: 600; color: var(--teal-d); min-height: 44px; padding-top: 10px; }

/* making */
.m-making { text-align: center; }
.m-making .ring { --p: 38; width: 168px; height: 168px; border-radius: 50%; background: conic-gradient(var(--teal-d) calc(var(--p) * 1%), #E4DFD2 0); display: grid; place-items: center; margin: 8px auto 0; }
.m-making .ring div { width: 138px; height: 138px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.m-making .ring small { font-size: 19px; font-weight: 700; }
.m-making h1 { font-size: 34px; letter-spacing: -.035em; line-height: 1.05; font-weight: 800; margin-top: 24px; }
.m-making .lead { font-size: 17px; color: var(--ink-2); margin-top: 10px; }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
.mgrid .m { aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: #E4DFD2; position: relative; }
.mgrid .m img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .8s; }
.mgrid .m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 220% 100%; animation: sh 1.6s infinite linear; }
.mgrid .m.done img { opacity: 1; }
.mgrid .m.done::after { display: none; }
@keyframes sh { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* results */
.m-racts { display: grid; gap: 10px; margin-bottom: 22px; }
.m-racts .btn { padding: 15px; font-size: 16px; min-height: 52px; }
.m-rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rcard { position: relative; }
.rcard .ph { display: block; width: 100%; padding: 0; border: 0; background: #E4DFD2; aspect-ratio: 4/5; position: relative; overflow: hidden; }
.rcard .ph img { width: 100%; height: 100%; object-fit: contain; }
.rcard .ph.open { cursor: zoom-in; } .rcard .ph.open::after { content: ""; position: absolute; inset: 0; } .rcard .ph.open:focus-visible { outline-offset: -4px; }
.rcard .kept { position: absolute; top: 8px; left: 8px; display: none; font-size: 12px; padding: 4px 9px; }
.rcard.is-kept .kept { display: inline-flex; }
.rcard .cap { padding: 8px 12px 0; } .rcard .cap b { display: block; font-size: 14px; line-height: 1.2; } .rcard .cap small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.25; }
.rcard .row { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px 4px 6px; position: relative; z-index: 2; background: #fff; }
.rcard .cap { padding-bottom: 2px; }
.ib { width: 100%; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--ink-2); display: grid; place-items: center; }
.ib svg { width: 22px; height: 22px; }
.ib[aria-pressed="true"] { background: var(--navy); color: #fff; }
.ib.up[aria-pressed="true"] { background: var(--good); }
.ib.keep[aria-pressed="true"] { background: var(--amber); color: var(--navy); }
.sheet-back { position: fixed; inset: 0; background: rgba(10,20,34,.45); z-index: 40; display: none; }
.sheet { position: fixed; left: 50%; bottom: 0; width: 100%; max-width: 430px; transform: translateX(-50%); background: #fff; border-radius: 26px 26px 0 0; padding: 12px 20px calc(22px + env(safe-area-inset-bottom)); z-index: 50; display: none; box-shadow: 0 -20px 60px rgba(0,0,0,.25); }
body.sheet-open .sheet, body.sheet-open .sheet-back { display: block; }
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: #D9D0BC; margin: 0 auto 14px; }
.sheet h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 800; }
.sheet label.t { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 8px; }
.sheet textarea { width: 100%; min-height: 84px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 14px; font: 500 16px/1.4 var(--font); color: var(--ink); resize: none; }
.sheet .chk { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.sheet .chk input { width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.sheet .acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 18px; }
.sheet .acts .btn { padding: 14px; min-height: 50px; font-size: 16px; }
.m-more { margin-top: 28px; background: var(--navy); color: #fff; border-radius: 26px; padding: 24px 20px; }
.m-more h2 { font-size: 25px; letter-spacing: -.025em; font-weight: 800; }
.m-more p { color: #C9D3E4; margin-top: 6px; font-size: 15.5px; }
.m-more .btn { width: 100%; margin-top: 16px; font-size: 17px; padding: 16px; min-height: 54px; }
.m-next h2 { font-size: 28px; letter-spacing: -.03em; font-weight: 800; margin-top: 18px; }
.m-next .sub { color: var(--ink-2); font-size: 16.5px; margin-top: 6px; }
.m-nc { display: grid; gap: 14px; margin-top: 18px; }
.ncard { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px 18px 18px; }
.nbub { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #E3F1EF; color: var(--teal-d); flex: none; }
.nbub.nb-jobs { background: #FBEFD0; color: #7a5410; }
.nbub .nic { width: 24px; height: 24px; max-width: 32px; max-height: 32px; }
.ncard h3 { font-size: 20px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; margin-top: 12px; }
.ncard p { color: var(--ink-2); margin-top: 6px; font-size: 16px; line-height: 1.4; }
.ncard .nbtn { margin-top: 16px; width: 100%; min-height: 54px; padding: 14px 18px; font-size: 17px; }
.nbtn .nic { width: 18px; height: 18px; max-width: 32px; max-height: 32px; flex: none; }
.m-ntop { display: grid; justify-items: center; gap: 4px; text-align: center; margin-top: 28px; }
.navatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 6px 16px -8px rgba(18,35,59,.5); }
.nthanks { font-size: 16.5px; font-weight: 600; margin-top: 8px; }
.nlink { background: none; border: 0; padding: 12px 8px; font: inherit; font-size: 16px; font-weight: 600; color: var(--teal-d); text-decoration: underline; cursor: pointer; min-height: 48px; }
.ncard .nlink { align-self: center; margin-top: 4px; text-align: center; }
.ndone { text-align: center; margin-top: 10px; } .ndone .nlink { color: var(--ink-2); }

/* nav page */
.m-navp .frame { background: var(--navy); border-radius: 22px; padding: 14px 10px; margin-top: 8px; }
.m-navp .frame a.nv { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; font-weight: 600; font-size: 16px; color: #B9C4D9; text-decoration: none; min-height: 44px; }
.m-navp .frame a.nv svg { width: 20px; height: 20px; }
.m-navp .frame a.nv.on { background: rgba(255,255,255,.14); color: #fff; }
.m-navp .frame .sub { margin: 2px 0 6px 22px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.14); display: grid; gap: 2px; }
.m-navp .frame .sub a { display: block; padding: 12px; border-radius: 9px; font-weight: 600; font-size: 15.5px; color: #B9C4D9; text-decoration: none; }
.m-navp .frame .sub a.on { background: var(--amber); color: var(--navy); }
.m-navp .frame .logo { padding: 4px 10px 14px; } .m-navp .frame .logo img { height: 30px; }
.m-navp p { color: var(--ink-2); font-size: 16px; margin-top: 12px; }
.m-navp h2 { font-size: 20px; font-weight: 800; margin-top: 28px; }
.m-navp .names { display: grid; gap: 8px; margin-top: 10px; }
.m-navp .names div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.m-navp .names div.pick { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; }
.m-navp .names small { display: block; font-weight: 500; color: var(--ink-2); font-size: 13.5px; }

.quiet { color: var(--ink-3); font-size: 16px; margin-top: 6px; }
.m-tips-card { margin-top: 24px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 18px; }
.m-tips-card h2 { font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.tipbox { margin-top: 10px; min-height: 96px; }
.tip { display: none; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.4; }
.tip.on { display: flex; animation: tipin .5s ease; }
.tbub { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #E3F1EF; color: var(--teal-d); flex: none; }
.tic { width: 22px; height: 22px; max-width: 32px; max-height: 32px; }
.m-making .leave { margin-top: 16px; } .m-making .leave .btn { min-height: 52px; }
@keyframes tipin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tip.on { animation: none; } }
/* full screen viewer, phone */
.vw-m .vw-top { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 52px 1fr 64px; align-items: center; gap: 4px; padding: calc(8px + env(safe-area-inset-top)) 8px 10px; background: linear-gradient(rgba(6,12,22,.78), rgba(6,12,22,0)); color: #fff; }
.vw-m .vw-x { width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.vw-m .vw-x svg { width: 24px; height: 24px; }
.vw-m .vw-title { text-align: center; min-width: 0; } .vw-m .vw-title b { display: block; font-size: 17px; line-height: 1.2; } .vw-m .vw-title small { display: block; font-size: 14px; opacity: .85; }
.vw-m .vw-count { font-size: 15px; font-weight: 700; text-align: right; padding-right: 8px; }
.vw-m .vw-stage { position: absolute; inset: 0; touch-action: none; }
.vw-m .vw-bar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; padding: 14px 4px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(6,12,22,0), rgba(6,12,22,.85) 40%); }
.vw-m .vw-act { flex: 1 1 0; min-width: 48px; min-height: 56px; padding: 0 2px; }
.vw-m .vw-sheet { left: 0; right: 0; bottom: 0; border-radius: 26px 26px 0 0; padding: 12px 20px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); }
.sheet-on .vw-m .vw-sheet { transform: none; }
/* SH-06: the Start button sits ABOVE the shared phone bar (both are sticky to the bottom; the button used to cover the bar) */
.m-land .m-start { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); padding-bottom: 12px; }
