/* Mio's mobile home, collision-aware page walk, and quiet shop motion (ADR-0057). */
.brand-mark {
  position: relative; display: inline-flex; flex: 0 0 auto; width: 46px; height: 46px;
  overflow: hidden; isolation: isolate; border-radius: 14px; background: #ff8273;
  border: 1px solid #ed736766; box-shadow: inset 0 1px 0 #ffffff70, 0 4px 10px #1a273310;
}
.brand .brand-mark > img { width: 100%; height: 100%; max-width: none; border-radius: 0; object-fit: cover; transform-origin: 50% 82%; animation: mio-brand-breathe 7s ease-in-out infinite; }
.brand:hover .brand-mark > img { animation-duration: 3.5s; }
.brand-mark.is-offscreen > img { animation-play-state: paused; }
@keyframes mio-brand-breathe { 0%, 62%, 100% { transform: translateY(0) rotate(0); } 18% { transform: translateY(-1px) rotate(-2deg) scale(1.025); } 36% { transform: translateY(0) rotate(2deg) scale(1.01); } }

/* The hero remains short; the new illustration has a complete composition. */
.shop-page.sv1 .sv1-hero { background: linear-gradient(115deg, #edf7f2, #f9f4e9 58%, #fff4dd); }
.shop-page.sv1 .sv1-hero__art { object-fit: contain; object-position: center; width: 47%; height: 100%; inset-inline-start: auto; inset-inline-end: auto; left: 0; right: auto; padding: 10px 14px; mask-image: none; -webkit-mask-image: none; }
.shop-page.sv1 .sv1-hero__copy { position: relative; z-index: 1; }
:root[data-theme="dark"] .shop-page.sv1 .sv1-hero { background: linear-gradient(115deg,#1a3839,#1b2935 60%,#242b35); }

/* Product links keep real semantics and visible keyboard focus without underlines. */
.shop-page.sv1 .sv2-card { border-color: var(--ds-line); background: var(--ds-surface-1); border-radius: 19px; box-shadow: 0 2px 8px #172c3c05; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.shop-page.sv1 .sv2-card .sv1-card__body { padding: 13px 14px 14px; gap: 4px; }
.shop-page.sv1 .sv2-card .sv1-card__media { border-bottom: 1px solid var(--ds-line); border-radius: 18px 18px 0 0; background: #fafbf9; }
.shop-page.sv1 .sv2-card :is(.sv2-open,.sv2-name__fa,.sv2-name__en) { text-decoration: none; text-underline-offset: initial; }
.shop-page.sv1 .sv2-card .sv2-open { outline-offset: 5px; }
.shop-page.sv1 .sv2-card .sv2-name__fa { font-size: .94rem; line-height: 1.75; font-weight: 650; letter-spacing: -.012em; }
.shop-page.sv1 .sv2-card .sv2-name__en { margin-top: 2px; color: var(--ds-ink-3); font-size: .7rem; line-height: 1.55; font-weight: 500; }
.shop-page.sv1 .sv2-card .sv1-card__desc { margin-block: 3px; color: var(--ds-ink-3); line-height: 1.7; font-size: .76rem; }
.shop-page.sv1 .sv2-card .sv1-card__foot { padding-top: 10px; gap: 8px; }
.shop-page.sv1 .sv2-card .sv1-price strong { color: var(--ds-ink-1); font-weight: 650; font-variant-numeric: tabular-nums; }
.shop-page.sv1 .sv2-card .sv1-add { min-height: 42px; border-radius: 12px; font-weight: 650; transition: background 160ms ease, transform 160ms ease; }
.shop-page.sv1 .sv2-card .sv1-add:active { transform: scale(.97); }
.shop-page.sv1 .sv2-card__stage { transition: transform 350ms cubic-bezier(.2,.7,.2,1); }
.shop-page.sv1 .sv2-compare-btn { min-height: 30px; padding-inline: 9px; background: transparent; border-color: var(--ds-line); }
.shop-page.sv1 .sv2-compare-btn[aria-pressed="true"] { background: var(--ds-success); color: var(--ds-ink-inverse); }
.mio-card-arrive { animation: mio-card-arrive 360ms cubic-bezier(.22,.65,.3,1) both; animation-delay: var(--mio-arrive-delay,0ms); }
@keyframes mio-card-arrive { from { opacity: .25; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (hover:hover) and (pointer:fine) { .shop-page.sv1 .sv2-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb,var(--ds-ai) 35%,var(--ds-line)); box-shadow: 0 10px 24px #172c3c0b; } .shop-page.sv1 .sv2-card:hover .sv2-card__stage { transform: scale(1.025); } }

.mio-nav-live { display: none; }
@media (max-width:760px) {
  .brand-mark { width: 43px; height: 43px; border-radius: 13px; }
  .shop-page.sv1 .sv1-hero { min-height: 174px; }
  .shop-page.sv1 .sv1-hero__art { width: 47%; padding: 8px 4px; }
  .shop-page.sv1 .sv1-hero__copy { max-width: 57%; }
  .shop-page.sv1 .sv1-hero h1 { font-size: clamp(1.05rem,4.4vw,1.4rem); line-height: 1.65; }
  .shop-page.sv1 .sv2-card .sv1-card__body { padding: 10px 10px 12px; }
  .shop-page.sv1 .sv2-card .sv2-name__fa { font-size: clamp(.8rem,2.9vw,.94rem); line-height: 1.8; }
  .shop-page.sv1 .sv2-card__kicker { align-items: start; gap: 5px; }
  .shop-page.sv1 .sv2-card__kicker small { font-size: .6rem; line-height: 1.6; }
  .shop-page.sv1 .sv2-compare-btn { font-size: .61rem; padding-inline: 7px; flex-shrink: 0; }
  .mobile-nav__ask.has-live-mio .mobile-nav__orb { position: relative; overflow: visible; width: 62px; height: 62px; margin-top: -27px; background: radial-gradient(ellipse at 50% 84%,#89c9bf40,transparent 64%); border: 0; box-shadow: none; transform: none; }
  .mobile-nav__ask.has-live-mio .mobile-nav__face { position: absolute; inset: 7px; width: 48px; height: 48px; border-radius: 50%; transform: none; animation: mio-nav-breathe 5.5s ease-in-out infinite; }
  .mio-nav-live { display: block; position: absolute; width: 76px; height: 86px; left: 50%; bottom: -1px; transform: translateX(-50%); pointer-events: none; }
  .mio-nav-live .mio-stage { width: 100%; height: 100%; min-height: 0; }
  .mio-nav-live .mio-bubble { display: none; }
  .mobile-nav__orb:has(.mio-stage.is-live) .mobile-nav__face { visibility: hidden; }
  .mobile-nav__ask.is-mio-away .mobile-nav__face { visibility: hidden; }
  .mobile-nav__ask.is-mio-away .mobile-nav__orb::after { content: none; }
  @keyframes mio-nav-breathe { 0%,100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-2px) rotate(-4deg); } 65% { transform: translateY(-1px) rotate(3deg); } }

}
@media (prefers-reduced-motion:reduce) {
  .brand .brand-mark > img,.mobile-nav__ask.has-live-mio .mobile-nav__face,.mio-card-arrive { animation: none; }
  .shop-page.sv1 .sv2-card,.shop-page.sv1 .sv2-card__stage,.shop-page.sv1 .sv2-card .sv1-add { transition: none; }
  .shop-page.sv1 .sv2-card:hover,.shop-page.sv1 .sv2-card:hover .sv2-card__stage { transform: none; }
}

:root[dir="ltr"] .shop-page.sv1 .sv1-hero__art { left: auto; right: 0; }

/* Product tour: no reserved gutter and no layout shift. */
.mio-free { position: fixed; left: 0; top: 0; width: 100px; height: 140px; z-index: 160; pointer-events: none; will-change: transform; }
.mio-free[hidden],.mio-free__pitch[hidden] { display: none; }
.mio-free__actor { display: block; position: relative; width: 100px; height: 120px; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; cursor: pointer; pointer-events: auto; animation: mio-free-emerge 650ms cubic-bezier(.2,.8,.3,1); }
.mio-free__actor .mio-stage { width: 100%; height: 100%; min-height: 0; }
.mio-free__actor .mio-bubble { display: none; }
.mio-free__return { position: absolute; right: -8px; top: -8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; pointer-events: auto; border: 0; border-radius: 50%; color: #315d65; background: #fffffff0; box-shadow: 0 2px 8px #152e3720; font: 400 1.2rem/1 sans-serif; cursor: pointer; }
.mio-free button:focus-visible,.mio-free__pitch button:focus-visible { outline: 3px solid var(--ds-focus); outline-offset: 2px; }
.mio-free__pitch { position: fixed; box-sizing: border-box; z-index: 161; padding: 10px 12px 8px; border: 1px solid #9dcac5; border-radius: 18px; background: #f4fffcfa; color: #163b42; box-shadow: 0 6px 24px #1439421c; font-family: inherit; text-align: start; overflow: auto; overscroll-behavior: contain; }
.mio-free__pitch small { display: block; color: #28746f; font-size: 10px; line-height: 1.5; }
.mio-free__pitch strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.6; margin-block: 3px; }
.mio-free__pitch p { font-size: 11px; line-height: 1.65; margin: 3px 0; }
.mio-free__actions { display: flex; gap: 4px; }
.mio-free__actions button { min-height: 44px; padding: 4px 8px; border: 0; border-radius: 10px; background: transparent; color: #245e62; font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.mio-free__actions button:first-child { background: #d7f1e9; flex: 1; }
.shop-page.sv1 .sv2-card.is-mio-featured { border-color: #61a99c; box-shadow: 0 0 0 2px #a3d7cd55; }
@keyframes mio-free-emerge { from { opacity: 0; transform: translateY(24px) scale(.7); } 55% { opacity: 1; transform: translateY(-8px) scale(1.04); } to { opacity: 1; transform: none; } }
@media(prefers-reduced-motion:reduce) { .mio-free__actor { animation: none; } }

/* Warm, tactile navigation. The typed word occupies only Mio's own slot. */
.mio-nav-word { display: none; }
@media(max-width:760px) {
  .mobile-nav { gap: 5px; padding: 7px; border-color: #e4d7cc; background: linear-gradient(150deg,#fffdf8f5,#f4ebe3f5); box-shadow: inset 0 1px 0 #fff,0 -2px 14px #ba8f7020,0 8px 24px #53392826; }
  .mobile-nav button { border: 1px solid #eaded366; border-radius: 17px; background: linear-gradient(155deg,#fffefa,#f4ece5); color: #655d58; box-shadow: inset 0 1px 0 #fff,0 3px 0 #d8c7b85c,0 4px 7px #67472c0a; transition: transform 160ms ease,box-shadow 160ms ease,background 160ms ease; }
  .mobile-nav button svg { filter: drop-shadow(0 1px 0 #fff); }
  .mobile-nav button.is-active { color: #9d3225; border-color: #e9aa9759; background: linear-gradient(145deg,#ffe2d2,#ffcbb9); box-shadow: inset 0 1px 0 #fff5ed,0 4px 0 #dda48f,0 6px 12px #b95d3030; transform: translateY(-2px); }
  .mobile-nav button:active { transform: translateY(2px) scale(.97); box-shadow: inset 0 2px 4px #6b422220,0 1px 0 #d8c7b8; }
  .mobile-nav .mobile-nav__ask { border-color: transparent; box-shadow: none; background: transparent; }
  .mobile-nav__ask.has-live-mio.is-mio-away .mobile-nav__orb { display: grid; place-items: center; width: 100%; max-width: 78px; height: 54px; margin-top: -18px; border-radius: 18px; background: linear-gradient(150deg,#fff2dd,#ffd8b9); border: 1px solid #edba94; box-shadow: inset 0 2px 0 #fff8ec,0 4px 0 #cb9c7955,0 8px 16px #a4613d22; }
  .mobile-nav__ask.is-mio-away .mio-nav-word { display: grid; place-items: center; width: 100%; color: #664333; font: 900 clamp(12px,3.2vw,16px)/1.3 ui-monospace,monospace; letter-spacing: -.4px; text-shadow: 0 1px 0 #fff7eb,0 2px 0 #cfaa84; }
  .mio-nav-word > span { display: block; width: 5ch; overflow: hidden; white-space: nowrap; border-inline-end: 2px solid transparent; animation: mio-word-type 850ms steps(5,end) both,mio-word-caret 420ms step-end 4; }
  :root[data-theme="dark"] .mobile-nav { background: linear-gradient(150deg,#332d2bfa,#22272ffa); border-color: #665048; box-shadow: inset 0 1px 0 #ffffff15,0 8px 24px #0005; }
  :root[data-theme="dark"] .mobile-nav button:not(.mobile-nav__ask) { background: linear-gradient(145deg,#414045,#2c3039); color: #e2d4c9; border-color: #79635444; box-shadow: inset 0 1px 0 #ffffff10,0 3px 0 #1118; }
  :root[data-theme="dark"] .mobile-nav button.is-active { background: linear-gradient(145deg,#76483c,#57372f); color: #ffe0cc; border-color: #b7795f; }
  :root[data-theme="dark"] .mobile-nav button svg { filter: none; }
}
@keyframes mio-word-type { from { width: 0; } to { width: 5ch; } }
@keyframes mio-word-caret { 0%,100% { border-color: transparent; } 50% { border-color: #a8633f; } }
@media(prefers-reduced-motion:reduce) {
  .mobile-nav button { transition: none; }
  .mio-nav-word > span { animation: none; width: 5ch; }
  .mobile-nav button:active { transform: none; }
}

/* Compact sign-in: one title, the live character and the current form. */
#petGate.pv1 { gap: 24px; }
#petGate .pv1-copy { width: 100%; max-width: 480px; margin-inline: auto; }
#petGate #petGateTitle { margin: 0 0 20px; font-size: clamp(1.3rem,2.4vw,1.8rem); line-height: 1.5; }
#petGate .pv1-auth { margin: 0; }
#petGate .pv1-stage-wrap { box-shadow: none; }
#petGate .pv1-stage.mio-slot { height: clamp(280px,32vw,380px); }
@media(max-width:760px) {
  #petGate.pv1 { padding: 12px 14px 20px; gap: 18px; margin-block: 10px 20px; border-radius: 26px; }
  #petGate .pv1-stage-wrap { padding: 0; }
  #petGate .pv1-stage.mio-slot { height: 190px; border-radius: 20px; }
  #petGate .pv1-copy { padding-inline: 0; }
  #petGate #petGateTitle { margin-bottom: 16px; font-size: 1.3rem; }
}

/* Habits setup: compact rows, meaningful groups and a reachable action row. */
#petPanel .pn-wizard:has([data-step="habits"]:not([hidden])) { gap: 10px; }
#petPanel [data-step="habits"] > legend { font-size: 1.08rem; margin: 0 0 8px; }
#petPanel [data-step="habits"] > legend::before { width: 34px; height: 34px; }
#petPanel [data-step="habits"] > .pn-hint { margin: 0 0 10px; font-size: .72rem; line-height: 1.6; }
#petPanel [data-step="habits"] .pn-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#petPanel [data-step="habits"] .pn-row .pn-hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#petPanel [data-step="habits"] .pn-field { height: 44px; border: 1px solid var(--mp-hair); border-radius: 12px; box-shadow: inset 0 1px 3px #9064390b; background: var(--nm-card); }
#petPanel [data-step="habits"] .pn-field input { font-size: .84rem; }
#petPanel [data-step="habits"] .pn-label { margin: 9px 0 5px; font-size: .75rem; }
#petPanel #pnLikesToys { display: grid; gap: 4px; padding: 8px; margin: 0; background: var(--nm-card); border: 1px solid var(--mp-hair); border-radius: 16px; box-shadow: none; }
#petPanel #pnLikesToys .pn-like-group { display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 6px; margin: 0; padding: 3px 0; border-bottom: 1px solid var(--mp-hair); }
#petPanel #pnLikesToys .pn-like-group:last-child { border-bottom: 0; }
#petPanel #pnLikesToys .pn-like-h { display: block; min-height: 0; padding: 0; margin: 0; font-size: .68rem; text-align: start; background: none; box-shadow: none; }
#petPanel #pnLikesToys .pn-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
#petPanel #pnLikesToys .pn-chip-pick { flex: 0 1 auto; }
#petPanel #pnLikesToys .pn-chip-pick span { display: inline-flex; justify-content: center; min-height: 44px; padding: 0 9px; font-size: .7rem; border: 1px solid var(--mp-hair); border-radius: 10px; background: var(--mp-surface); box-shadow: none; }
#petPanel #pnLikesToys .pn-chip-pick input:checked + span { color: var(--mp-done); background: var(--mp-done-soft); border-color: var(--mp-done); box-shadow: inset 0 0 0 1px var(--mp-done); }
#petPanel [data-step="habits"] .pn-consent { margin-block: 10px 0; font-size: .7rem; line-height: 1.6; }
#petPanel [data-step="habits"] > .pn-row,#petPanel [data-step="habits"] > .pn-field,#petPanel #pnLikesToys .pn-like-group { animation: pn-habit-arrive 280ms ease both; }
#petPanel #pnLikesToys .pn-like-group:nth-child(1) { animation-delay: 50ms; }
#petPanel #pnLikesToys .pn-like-group:nth-child(2) { animation-delay: 95ms; }
#petPanel #pnLikesToys .pn-like-group:nth-child(3) { animation-delay: 140ms; }
#petPanel #pnLikesToys .pn-like-group:nth-child(4) { animation-delay: 185ms; }
#petPanel #pnLikesToys .pn-like-group:nth-child(5) { animation-delay: 230ms; }
#petPanel .pn-wizard:has([data-step="habits"]:not([hidden])) .pn-wiz-foot { display: flex; flex-wrap: nowrap; gap: 8px; padding-top: 8px; border-top: 1px solid var(--mp-hair); background: var(--nm-card); }
#petPanel .pn-wizard:has([data-step="habits"]:not([hidden])) .pn-wiz-foot .pn-cta { flex: 1 1 auto; min-height: 46px; }
#petPanel .pn-wizard:has([data-step="habits"]:not([hidden])) #pnLater { display: none; }
@keyframes pn-habit-arrive { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media(max-width:760px) {
  #petPanel[data-mode="wizard"]:has([data-step="habits"]:not([hidden])) { grid-template-areas: "main"; padding: 6px; margin: 4px 0; }
  #petPanel[data-mode="wizard"]:has([data-step="habits"]:not([hidden])) > .pn-stage-wrap { display: none; }
  #petPanel .pn-wizard:has([data-step="habits"]:not([hidden])) { padding: 12px; max-height: calc(100dvh - 146px); grid-template-rows: auto minmax(0,1fr) auto auto; overflow: hidden; }
  #petPanel .pn-wizard:has([data-step="habits"]:not([hidden])) .pn-wiz-top { grid-row: 1; }
  #petPanel [data-step="habits"]:not([hidden]) { grid-row: 2; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px 3px 6px; }
  #petPanel .pn-wizard:has([data-step="habits"]:not([hidden])) #pnError { grid-row: 3; margin: 0; }
  #petPanel .pn-wizard:has([data-step="habits"]:not([hidden])) .pn-wiz-foot { grid-row: 4; }
  body:has(#petPanel[data-mode="wizard"]) .mio-dock { display: none; }
}
@media(prefers-reduced-motion:reduce) {
  #petPanel [data-step="habits"] > .pn-row,#petPanel [data-step="habits"] > .pn-field,#petPanel #pnLikesToys .pn-like-group { animation: none; }
}
@media(max-width:760px) {
  .mio-nav__item--today.has-live-mio .mio-nav__ic { position: relative; overflow: visible; }
  .mio-nav__item--today.has-live-mio .mio-nav-live { position: absolute; width: 70px; height: 76px; left: 50%; bottom: -3px; transform: translateX(-50%); pointer-events: none; }
  .mio-nav__item--today.has-live-mio .mio-nav-live .mio-stage { width: 100%; height: 100%; min-height: 0; }
  .mio-nav__item--today.has-live-mio .mio-nav-live .mio-bubble { display: none; }
  .mio-nav__item--today:has(.mio-stage.is-live) .mio-nav__ic > img,.mio-nav__item--today.is-mio-away .mio-nav__ic > img { visibility: hidden; }
  .mio-nav__item--today.is-mio-away .mio-nav__ic { background: linear-gradient(145deg,#fff0db,#ffd7b9); border-radius: 14px; box-shadow: inset 0 1px 0 #fff,0 3px 0 #d4ae8d55; }
  .mio-nav__item--today.is-mio-away .mio-nav-word { display: grid; place-items: center; position: absolute; inset: 0; color: #684736; font: 900 12px/1.3 ui-monospace,monospace; text-shadow: 0 1px #fff; }
  body.is-mio-panel-free #petPanel[data-mode="wizard"] .pn-wizard { padding-top: 164px; }
  body.is-mio-panel-free #petPanel:not([data-mode="wizard"]) .pn-main { padding-top: 156px; }
}

/* Map joining: identity, preferences and privacy in a compact, warm card. */
#meeowMap[data-view="join"] .mm-head { margin-bottom: 12px; padding-block: 8px; }
#meeowMap[data-view="join"] .mm-overline { display: none; }
#meeowMap[data-view="join"] #mmTitle { font-size: clamp(1.2rem,2vw,1.6rem); line-height: 1.5; margin: 0; }
#mmJoin { gap: 12px; align-items: start; }
#mmJoin .mm-join-main,#mmJoin .mm-join-side { padding: 16px; gap: 12px; background: var(--ds-surface-1,var(--b-surface)); border: 1px solid var(--ds-line,var(--b-hair)); border-radius: 22px; box-shadow: 0 2px 3px #724a2510,0 10px 26px -18px #724a2540; }
#mmJoin .mm-join-main { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
#mmJoin .mm-profile-fields,#mmJoin .mm-join-main > fieldset:last-child { grid-column: 1 / -1; }
#mmJoin .mm-profile-fields { gap: 12px; }
#mmJoin .mm-block { min-width: 0; }
#mmJoin .mm-block > legend,#mmJoin .mm-label { margin-bottom: 6px; font-size: .8rem; }
#mmJoin .mm-hint { font-size: .7rem; line-height: 1.65; margin: 5px 0 0; }
#mmJoin .mm-field { min-height: 46px; padding-inline: 10px; background: var(--ds-surface-2,var(--b-bg)); border-radius: 12px; box-shadow: inset 0 1px 3px #553c2010; }
#mmJoin .mm-field input,#mmJoin .mm-field select { height: 44px; font-size: .84rem; }
#mmJoin .mm-pet-pick { gap: 6px; }
#mmJoin .mm-pet-pick span { min-height: 46px; padding: 4px 8px; border-radius: 13px; font-size: .8rem; }
#mmJoin .mm-pet-pick img { width: 34px; height: 34px; }
#mmJoin .mm-chips { gap: 6px; }
#mmJoin .mm-chips span { min-height: 44px; padding-inline: 10px; font-size: .76rem; border-radius: 12px; }
#mmJoin .mm-join-options { padding: 0 12px; border: 1px solid var(--b-hair); border-radius: 14px; background: var(--b-surface); }
#mmJoin .mm-join-options summary { cursor: pointer; min-height: 46px; align-content: center; font-size: .8rem; font-weight: 700; }
#mmJoin .mm-join-options summary small { color: var(--b-muted); font-size: .68rem; margin-inline-start: 8px; }
#mmJoin .mm-join-options__body { display: grid; gap: 12px; padding-block: 4px 12px; }
#mmJoin .mm-swatches { gap: 6px; }
#mmJoin .mm-swatches label { display: grid; place-items: center; width: 44px; height: 44px; }
#mmJoin .mm-loc { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 7px; }
#mmJoin .mm-loc .mm-soft { min-height: 46px; padding-inline: 8px; font-size: .73rem; border-radius: 12px; }
#mmJoin .mm-privacy h2 { font-size: .9rem; margin-bottom: 8px; }
#mmJoin .mm-privacy-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
#mmJoin .mm-privacy-list li { padding: 7px 8px; font-size: .71rem; line-height: 1.5; border-radius: 10px; background: var(--b-mint-soft); }
#mmJoin .mm-privacy-list li.is-no { background: var(--ds-surface-2,var(--b-bg)); }
#mmJoin .mm-privacy-list li:nth-child(-n+3) { grid-column: 1; }
#mmJoin .mm-privacy-list li:nth-child(4) { grid-column: 2; grid-row: 1; }
#mmJoin .mm-privacy-list li:nth-child(5) { grid-column: 2; grid-row: 2; }
#mmJoin .mm-privacy-list li:nth-child(6) { grid-column: 2; grid-row: 3; }
#mmJoin .mm-privacy > p { font-size: .7rem; line-height: 1.6; margin-top: 8px; }
#mmJoin .mm-consent { padding: 10px; font-size: .75rem; line-height: 1.7; background: var(--b-mint-soft); border: 1px solid var(--b-hair); border-radius: 12px; }
#mmJoin .mm-cta { min-height: 48px; border-radius: 14px; }
#mmJoin summary:focus-visible,#mioMoreSheet summary:focus-visible { outline: 3px solid var(--ds-focus,var(--b-mint)); outline-offset: 3px; border-radius: 8px; }
@media(max-width:760px) {
  #mmJoin .mm-join-side { position: static; }
  #meeowMap[data-view="join"] { padding-top: 2px; }
}
@media(max-width:370px) {
  #mmJoin .mm-join-main,#mmJoin .mm-join-side { padding: 12px; }
  #mmJoin .mm-loc { grid-template-columns: minmax(0,1fr); }
  #mmJoin .mm-or { display: none; }
}

/* Nine primary shortcuts; device/account controls remain a separate disclosure. */
#mioMoreSheet { width: min(520px,calc(100% - 16px)); max-height: calc(100dvh - 32px); border-radius: 26px; }
#mioMoreSheet .mio-more__head { padding: 8px 16px 12px; }
#mioMoreSheet .mio-more__body { padding: 4px 14px 14px; }
#mioMoreSheet .mio-more__services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
#mioMoreSheet .mio-more__services .mio-more__group,#mioMoreSheet .mio-more__services .mio-more__grid { display: contents; }
#mioMoreSheet .mio-more__services h3,#mioMoreSheet .mio-more__services .mio-more__tile small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#mioMoreSheet .mio-more__services .mio-more__tile { aspect-ratio: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 9px 5px; border-radius: 18px; text-align: center; background: var(--ds-surface-1,var(--b-surface)); box-shadow: inset 0 1px 0 #ffffff80,0 3px 0 #a1836c12,0 7px 15px -10px #78492860; }
#mioMoreSheet .mio-more__services .mio-more__tile img { width: clamp(38px,12vw,62px); height: clamp(38px,12vw,62px); border-radius: 14px; }
#mioMoreSheet .mio-more__services .mio-more__tile strong { font-size: clamp(.68rem,2.5vw,.84rem); line-height: 1.5; }
#mioMoreSheet[open] .mio-more__services .mio-more__tile { animation: mio-shortcut-in 260ms ease-out both; animation-delay: calc(var(--tile-order) * 35ms + 60ms); }
#mioMoreSheet.is-closing .mio-more__services .mio-more__tile { animation: none; }
#mioMoreSheet .mio-more__device { margin-top: 16px; border-top: 1px solid var(--ds-line); }
#mioMoreSheet .mio-more__device summary { min-height: 48px; align-content: center; cursor: pointer; font-size: .8rem; font-weight: 750; color: var(--ds-ink-2); }
#mioMoreSheet .mio-more__device .mio-more__tile { min-height: 60px; padding: 8px 10px; }
#mioMoreSheet .mio-more__device .mio-more__tile img { width: 38px; height: 38px; }
#mioMoreSheet .mio-more__device .mio-more__tile strong { font-size: .8rem; }
@keyframes mio-shortcut-in { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@media(prefers-reduced-motion:reduce) {
  #mioMoreSheet[open],#mioMoreSheet[open]::backdrop,#mioMoreSheet .mio-more__services .mio-more__tile { animation: none; }
}
#mioMoreSheet .mio-more__services .mio-more__tile { gap: 6px; padding: 7px 5px; }
#mioMoreSheet .mio-more__services .mio-more__tile img { width: clamp(32px,9vw,54px); height: clamp(32px,9vw,54px); }
#mioMoreSheet .mio-more__services [data-more-feature] small { position: absolute; inset: 5px auto auto 6px; width: auto; height: auto; clip-path: none; font-size: .55rem; color: var(--ds-ink-3); }
.hv3-services.hv3-services--account { grid-template-columns: minmax(0,1fr); }
#moreSheet .more-sheet__list { grid-template-columns: repeat(3,minmax(0,1fr)); }
#moreSheet .more-sheet__list button { min-height: 0; aspect-ratio: 1; border-radius: 18px; padding: 8px 5px; }
#moreSheet .more-sheet__list small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#moreSheet[open] { animation: mio-more-up 280ms ease-out both; }
#moreSheet.is-closing { animation: mio-more-down 220ms ease-in both; }
#moreSheet[open] .more-sheet__list button { animation: mio-shortcut-in 260ms ease both; }
#moreSheet .more-sheet__list button:nth-child(2) { animation-delay: 35ms; }
#moreSheet .more-sheet__list button:nth-child(3) { animation-delay: 70ms; }
#moreSheet .more-sheet__list button:nth-child(4) { animation-delay: 105ms; }
#moreSheet .more-sheet__list button:nth-child(5) { animation-delay: 140ms; }
#moreSheet .more-sheet__list button:nth-child(6) { animation-delay: 175ms; }
#moreSheet.is-closing .more-sheet__list button { animation: none; }
@media(prefers-reduced-motion:reduce) {
  #moreSheet[open],#moreSheet[open] .more-sheet__list button { animation: none; }
}
