#phone { display: none; }

@media (max-width: 760px) {
  :root { --dock: 64px; }
  html, body { height: 100%; overflow: hidden; overscroll-behavior: none; background: #000; }
  body > .nav, body > main, body > .foot, body > .spill, body > .sk-back, .cursor-dot { display: none !important; }

  #phone { display: block; position: fixed; inset: 0; background: #000; color: var(--text); font: 400 16px/1.45 var(--sans); -webkit-tap-highlight-color: transparent; }
  .ph .v { position: absolute; inset: 0 0 calc(var(--dock) + env(safe-area-inset-bottom)); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: max(14px, env(safe-area-inset-top)) 18px 40px; }
  .ph .v[hidden] { display: none; }
  .ph h1 { font-size: clamp(42px, 13vw, 64px); line-height: .98; letter-spacing: -.028em; font-weight: 500; text-wrap: balance; }
  .ph h2 { font-size: 30px; line-height: 1.06; letter-spacing: -.02em; }
  .ph .pnote { color: var(--mute); font-size: 15px; margin-top: 10px; }
  .ph .block { margin-top: 44px; scroll-margin-top: 14px; }
  .ph .swipe-hint { color: var(--mute); font-size: 15px; margin-top: 4px; }

  .pb { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border: 1px solid #55554f; border-radius: 12px; font-weight: 600; font-size: 16px; color: var(--text); text-decoration: none; }
  .pb.pfill { background: var(--text); color: #000; border-color: var(--text); }
  .pb.pwide { display: flex; width: 100%; margin-top: 12px; }
  .pb:active, .p-opt:active, .iss:active, .pj-row:active { transform: scale(.98); }

  .ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--dock) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: 1fr 1fr 92px 1fr 1fr; background: #0d0d0e; border-top: 1px solid #262628; z-index: 100; }
  .ph-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; color: #8e8c84; }
  .ph-tabs svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
  .ph-tabs button[aria-current] { color: var(--text); }
  .ph-tabs button[aria-current] svg { stroke-width: 2.1; }
  .ph-tabs .ph-ask { justify-content: flex-end; padding-bottom: 5px; }
  .ph:has(textarea:focus, input:focus) .ph-tabs { display: none; }
  .ph:has(textarea:focus, input:focus) .v { bottom: 0; }

  .v-home { padding-top: 0 !important; }
  .h-first { display: flex; flex-direction: column; height: calc(100dvh - var(--dock) - env(safe-area-inset-bottom)); padding: max(14px, env(safe-area-inset-top)) 0 14px; }
  .h-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .h-brand { font-weight: 700; font-size: 18px; }
  .h-open { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--mute); }
  .h-open i { width: 8px; height: 8px; border-radius: 50%; background: #62d67c; box-shadow: 0 0 0 3px rgba(98, 214, 124, .18); }
  .h-stage { flex: 1 1 0; min-height: 0; position: relative; margin: 8px -18px 0; }
  .h-stage::before { content: ''; position: absolute; left: 50%; top: 52%; width: min(86vw, 64dvh); aspect-ratio: 1; border-radius: 50%; background: #161618; transform: translate(-50%, -50%); }
  .h-stage img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
  .h-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; flex: none; }
  .h-stats { display: grid; grid-auto-flow: column; grid-auto-columns: 42vw; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .h-stats::-webkit-scrollbar, .deck::-webkit-scrollbar, .pg-track::-webkit-scrollbar { display: none; }
  .h-stats li { scroll-snap-align: center; padding: 14px; border: 1px solid #262628; border-radius: 12px; background: #101011; }
  .h-stats b { display: block; font-size: 28px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }
  .h-stats span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.25; color: var(--mute); }
  .h-since { margin-top: 14px; color: var(--mute); font-size: 15px; }
  .h-kicker { margin-bottom: 10px; color: var(--mute); font-size: 15px; }

  .deck { display: grid; grid-auto-flow: column; grid-auto-columns: 84vw; gap: 12px; overflow-x: auto; margin: 16px -18px 0; padding: 0 18px 4px; scroll-snap-type: x mandatory; scroll-padding: 0 18px; scrollbar-width: none; }
  .deck > * { scroll-snap-align: center; }
  #phone .dmq { columns: 1; }
  #phone .dmq-shot { overflow-x: auto; }
  #phone .dmq-shot img { max-width: none; width: min(calc(var(--w) * 1px), max(100%, calc(var(--w) * .62px))); }
  .iss { --occ: #101011; display: flex; flex-direction: column; text-align: left; padding: 16px; border: 1px solid #262628; border-radius: 14px; background: #101011; }
  .iss-draw { display: block; height: 118px; margin-bottom: 10px; }
  .iss-draw .sketch { height: 100%; width: auto; max-width: 100%; }
  .iss b { font-size: 20px; line-height: 1.15; font-weight: 600; }
  .iss-fix { display: block; margin-top: 6px; color: var(--mute); font-size: 15px; flex: 1; }
  .iss-go { display: block; margin-top: 12px; font-weight: 600; color: var(--accent); }

  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .chips li { padding: 8px 13px; border: 1px solid #333336; border-radius: 999px; font-size: 15px; }

  .pfig { margin: 0; padding: 16px; border: 1px solid #262628; border-radius: 14px; background: #0b0b0c; }
  .pfig h3 { font-size: 20px; font-weight: 600; line-height: 1.15; }
  .pfig p { margin-top: 5px; color: var(--mute); font-size: 15px; }
  .pfig-draw { margin-top: 10px; }
  .pfig-draw .sketch { max-height: 54dvh; }

  .prd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 13px 15px; border-radius: 12px; color: #fff; text-decoration: none; }
  .prd img { height: 22px; width: auto; }
  .prd span { font-size: 14px; }
  .prd b { font-size: 21px; }
  .rv { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; margin: 0; padding: 18px; min-height: 240px; border: 1px solid #262628; border-radius: 14px; background: #101011; }
  .rv blockquote { font: 400 21px/1.28 var(--note); }
  .rv-stars { font-size: 22px; line-height: 1; color: var(--accent); letter-spacing: 2px; }
  .rv { justify-content: flex-start; }
  .rv figcaption { margin-top: auto; }
  .rv figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; color: var(--mute); }
  .rv figcaption b { color: var(--text); font-weight: 600; }
  .rv figcaption img { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; background: #1e1e20; flex: none; }
  .end { margin-top: 40px; color: var(--mute); font-size: 15px; }

  .v-work { padding-top: 0 !important; }
  .segs { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 0 -18px; padding: max(10px, env(safe-area-inset-top)) 18px 10px; background: #000; }
  .segs button { min-height: 40px; border-radius: 10px; font-size: 15px; color: var(--mute); background: #141415; }
  .segs button[aria-selected="true"] { background: var(--text); color: #000; font-weight: 600; }
  .seg[hidden] { display: none; }
  .seg { padding-top: 8px; }

  .ph.in-games .v-work { overflow: hidden; }
  .seg-games { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(max(10px, env(safe-area-inset-top)) + 62px) 0 8px; background: radial-gradient(90% 48% at 50% 32%, var(--glow, #111), transparent), var(--room, #000); transition: background-color .4s; }
  .seg-games[hidden] { display: none; }
  .ph.in-games .segs { background: transparent; }
  .pg-bars { display: flex; gap: 4px; padding: 0 18px 12px; flex: none; }
  .pg-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); transition: background .25s; }
  .pg-bars i.on { background: #fff; }
  .pg-track { flex: 1 1 0; min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 84vw; gap: 10px; overflow-x: auto; padding: 0 8vw; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pg { scroll-snap-align: center; scroll-snap-stop: always; min-width: 0; overflow-y: auto; scrollbar-width: none; padding-bottom: 34px; transform: scale(calc(1 - var(--k, 0) * .1)); opacity: calc(1 - var(--k, 0) * .55); transform-origin: center 30%; }
  .pg-pic img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
  .pg-visits { margin-top: 16px; font-size: 16px; color: var(--mute); }
  .pg-visits b { font-size: clamp(52px, 17vw, 76px); line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--tone); margin-right: 4px; }
  .pg h2 { margin-top: 6px; font-size: 23px; line-height: 1.15; font-weight: 600; }
  .pg-role { margin-top: 7px; font-size: 15px; color: #d4d2c9; }
  .pg-about { margin-top: 7px; font-size: 15px; color: var(--mute); }
  .pg-open { margin-top: 14px; min-height: 44px; border-color: rgba(255, 255, 255, .35); }
  .pg-off { margin-top: 14px; font-size: 14px; color: #9a988f; }

  .pj-periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 6px; }
  .pj-periods li { padding: 12px; border-radius: 12px; background: #101011; border: 1px solid #262628; }
  .pj-periods b { display: block; font-size: 26px; line-height: 1; font-weight: 600; color: var(--accent); }
  .pj-periods span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.25; color: var(--mute); }
  .jobs-p { margin-top: 8px; }
  .job-p { border-bottom: 1px solid #222224; }
  .pj-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 12px 0; text-align: left; }
  .pj-row img, .job-blank { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #1a1a1c; }
  .job-text { min-width: 0; }
  .job-text b { display: block; font-size: 16px; line-height: 1.2; font-weight: 600; }
  .job-text span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.25; color: var(--mute); }
  .pj-res { font-size: 14px; color: var(--accent); text-align: right; max-width: 76px; line-height: 1.2; }
  .job-more-p { padding: 0 0 16px 68px; font-size: 15px; color: #d4d2c9; }
  .job-more-p[hidden] { display: none; }
  .job-when { font-size: 14px; color: var(--mute); margin-bottom: 6px; }
  .job-more-p blockquote { margin-top: 10px; font: 400 18px/1.3 var(--note); color: var(--text); }
  .job-more-p cite { display: block; margin-top: 5px; font: 400 13.5px var(--sans); color: var(--mute); }

  .thread { margin-top: 12px; }
  .ph .dm-log { margin: 0 -18px; background: #313338; padding: 4px 0 14px; }
  .ph .dm-msg { display: grid; padding: 2px 14px; column-gap: 12px; margin-top: 14px; font-size: 15.5px; }
  .ph .dm-card, .ph .dm-file { max-width: 100%; }
  .ph .dm-card.iris img { height: 46dvh; }
  .ph .dm-h { font-size: 21px; }
  .th-step { display: grid; grid-template-columns: 30px 1fr; gap: 10px; margin: 26px 0 12px; padding-top: 16px; border-top: 1px solid #222224; }
  .th-step:first-child { margin-top: 0; }
  .th-step > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: #000; font-weight: 700; font-size: 15px; }
  .th-step b { font-size: 18px; line-height: 1.2; font-weight: 600; }
  .th-step p { margin-top: 3px; font-size: 15px; color: var(--mute); }

  .board-shot { display: block; margin-top: 14px; border: 1px solid #262628; border-radius: 12px; overflow: hidden; }
  .board-shot img { display: block; width: 100%; height: 42dvh; object-fit: cover; object-position: top; }
  .feats { margin-top: 20px; }
  .feats li { padding: 13px 0; border-top: 1px solid #222224; }
  .feats b { display: block; font-size: 17px; font-weight: 600; }
  .feats span { display: block; margin-top: 2px; font-size: 15px; color: var(--mute); }

  .v-price { display: flex; flex-direction: column; padding-bottom: 0 !important; }
  #ph-step { flex: 1 0 auto; padding-bottom: 20px; }
  .p-bar { display: flex; gap: 4px; margin-bottom: 14px; }
  .p-bar i { flex: 1; height: 3px; border-radius: 2px; background: #2a2a2c; }
  .p-bar i.on { background: var(--accent); }
  .p-back { min-height: 44px; color: var(--mute); font-size: 15px; }
  #ph-step h2 { margin-bottom: 16px; }
  .p-issue { margin: 0 0 8px; color: var(--accent); font-size: 15px; }
  .p-opts { display: grid; gap: 8px; }
  .p-opts.two-up { grid-template-columns: 1fr 1fr; }
  .p-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 11px 14px; border: 1px solid #333336; border-radius: 12px; text-align: left; background: #101011; }
  .p-opt b { font-weight: 600; font-size: 16px; line-height: 1.2; }
  .p-opt span { flex: none; font-size: 14px; color: var(--mute); }
  .p-opt.sel { border-color: var(--accent); }
  .ptwo-up .p-opt { justify-content: center; min-height: 84px; text-align: center; }
  .p-label { display: block; margin: 16px 0 6px; font: italic 400 16px var(--note); color: var(--mute); }
  .p-input { display: block; width: 100%; padding: 12px; font: 400 16px/1.4 var(--sans); color: var(--text); background: #0d0d0e; border: 1px solid #333336; border-radius: 10px; }
  .p-days { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; margin-top: 22px; }
  .p-days button { height: 72px; border: 1px solid #333336; border-radius: 14px; font-size: 32px; background: #101011; }
  .p-days output { text-align: center; font-size: 15px; color: var(--mute); }
  .p-days output b { display: block; font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
  .p-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .p-quick button { min-height: 44px; padding: 6px; border-radius: 10px; background: #18181a; font-size: 14.5px; }
  .p-rush { margin-top: 12px; color: #ffb36b; font-size: 15px; }
  .p-sum { position: sticky; bottom: 0; flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 -18px; padding: 11px 18px 30px; background: #101011; border-top: 1px solid #262628; }
  .p-sum[hidden] { display: none; }
  .p-sum span { font-size: 14px; color: var(--mute); }
  .p-sum b { font-size: 19px; font-weight: 600; text-align: right; }
  .q-usually { font: italic 400 17px var(--note); color: var(--mute); }
  .q-big { font-size: clamp(38px, 12vw, 54px); line-height: 1.03; font-weight: 600; letter-spacing: -.025em; color: var(--accent); }
  .q-line { margin-top: 8px; font-size: 15.5px; color: #d4d2c9; }
  .q-table { margin-top: 14px; border-top: 1px solid #222224; }
  .q-table div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #222224; font-size: 15px; }
  .q-table dt { color: var(--mute); }
  .q-table dd { text-align: right; }

  .v-talk > h2 { font-size: 44px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 14px; }
  .composer { border: 1px solid #262628; border-radius: 14px; background: #101011; padding: 14px; }
  .composer-head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
  .composer-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #1a1a1c; }
  .composer-hi { margin-top: 10px; padding: 10px 12px; background: #1b1b1d; border-radius: 12px; font-size: 15px; }
  .composer label { display: block; margin: 12px 0 5px; font: italic 400 15px var(--note); color: var(--mute); }
  .composer input, .composer textarea { display: block; width: 100%; padding: 11px 12px; font: 400 16px/1.4 var(--sans); color: var(--text); background: #0a0a0b; border: 1px solid #333336; border-radius: 10px; }
  .composer-fields[hidden], .composer-sent[hidden] { display: none; }
  .form-err-p { min-height: 0; margin-top: 8px; color: #ffb36b; font-size: 14px; }
  .bubble-me { margin: 10px 0 0 auto; width: fit-content; max-width: 90%; padding: 10px 12px; border-radius: 12px; background: #2a2a2d; font-size: 15px; white-space: pre-wrap; }
  .sent-ok { margin-top: 12px; font-weight: 600; }
  .composer-sent .pb { margin-top: 10px; }
  .routes { margin-top: 18px; border-top: 1px solid #222224; }
  .routes li { position: relative; border-bottom: 1px solid #222224; }
  .routes a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; color: inherit; text-decoration: none; }
  .r-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: #1b1b1d; }
  .r-ico svg { width: 21px; height: 21px; fill: #fff; }
  .r-ico.rd-ico { background: var(--navy); }
  .r-text { min-width: 0; font-size: 13px; color: var(--mute); }
  .r-text b { display: block; font-size: 16px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
  .r-copy { position: absolute; right: 0; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 13px; border: 1px solid #333336; border-radius: 9px; font-size: 14px; }
  .faqs { margin-top: 10px; }
  .faqs details { border-bottom: 1px solid #222224; }
  .faqs summary { padding: 14px 24px 14px 0; font-weight: 600; font-size: 16px; line-height: 1.25; list-style: none; position: relative; }
  .faqs summary::-webkit-details-marker { display: none; }
  .faqs summary::after { content: '+'; position: absolute; right: 2px; top: 11px; font-size: 22px; font-weight: 400; color: var(--mute); }
  .faqs details[open] summary::after { content: '-'; }
  .faqs p { padding: 0 0 14px; color: var(--mute); font-size: 15px; }
}
