.mobile-only { display: none; }
.mobile-account { max-width: 620px; margin: 24px auto; }
.mobile-job-detail { max-width: 760px; margin: 24px auto; }
[hidden] { display: none !important; }
.contact-rail .contact-ticket { border-radius: 0; }
.contact-rail .contact-business { color: var(--text); cursor: pointer; }
.contact-business:hover { color: var(--accent-text); background: var(--accent-soft); }
.contact-business:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.business-dialog { max-width: 420px; }
.business-contact-body { padding: 24px; }
.business-contact-body .contact-number { margin: 0 0 20px; padding: 18px; }
.business-contact-body .contact-number > span { color: var(--muted); font-size: 14px; }
.business-contact-body .contact-number strong { font-size: 26px; }
.business-contact-body > button { width: 100%; }
.business-copy-status { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.business-copy-status:empty { display: none; }
.announcement-dialog { width: min(720px, calc(100vw - 48px)); overflow: hidden; }
.announcement-dialog[open] { display: flex; flex-direction: column; }
.announcement-dialog > header { flex-shrink: 0; padding: 24px 28px 20px; }
.announcement-dialog h2 { font-size: 24px; margin: 9px 0 0; }
.announcement-dialog h2:focus { outline: none; }
.announcement-meta { color: var(--muted); font-size: 12px; }
.announcement-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 24px 28px; font-size: 15px; line-height: 1.85; }
.announcement-body p { margin: 0 0 12px; }
.announcement-greeting { font-weight: 600; }
.announcement-gift { margin: 22px 0; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); }
.announcement-gift h3 { margin: 0 0 12px; font-size: 18px; }
.announcement-gift ul { list-style: none; padding: 0; margin: 12px 0; font-weight: 600; }
.announcement-gift p, .announcement-gift small { color: var(--muted); }
.announcement-gift small { display: block; font-size: 12px; }
.announcement-updates { list-style: none; margin: 24px 0; padding: 0; counter-reset: update; }
.announcement-updates li { counter-increment: update; position: relative; padding-left: 38px; margin: 0 0 26px; }
.announcement-updates li::before { content: counter(update, decimal-leading-zero); position: absolute; left: 0; top: 0; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.announcement-updates h3 { font-size: 17px; line-height: 1.6; margin: 0 0 8px; }
.announcement-updates p { color: var(--muted); }
.announcement-important strong { color: var(--text); font-weight: 600; }
.announcement-signature { color: var(--muted); text-align: right; }
.announcement-actions { flex-shrink: 0; padding: 16px 28px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.announcement-actions button { min-width: 140px; }
.login-announcement { display: inline-block; padding: 10px 16px; margin-top: 6px; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.oddsdeep-promo { margin: 14px 0; font-size: 14px; line-height: 1.8; }
.oddsdeep-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.oddsdeep-badges > * { border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 9px; font-size: 12px; font-weight: 550; background: var(--surface-2); }
.oddsdeep-promo p { margin: 6px 0; }
.oddsdeep-popular { font-weight: 650; }
.oddsdeep-promo .oddsdeep-warning { margin-top: 12px; color: var(--muted); font-size: 12px; }
@media (max-width: 800px) {
  .announcement-dialog { max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .announcement-dialog > header { padding: 20px; }
  .announcement-dialog h2 { font-size: 21px; }
  .announcement-body { padding: 20px; }
  .announcement-updates li { padding-left: 30px; }
  .announcement-actions { padding: 14px 20px; }
  .announcement-actions button { width: 100%; }
  .oddsdeep-promo { margin: 12px 16px 0; font-size: 13px; }
  .oddsdeep-promo .oddsdeep-warning { font-size: 11px; }
}
  .mobile-output { border-radius: 17px; overflow: hidden; background: var(--surface); }
  .mobile-output video { width: 100%; aspect-ratio: 16/9; background: #111; display: block; }
  .mobile-output-placeholder { height: 130px; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 13px; }
  .mobile-output-placeholder svg { width: 28px; height: 28px; }
  .mobile-output-copy { padding: 18px; }
  .mobile-output-copy h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.7; letter-spacing: -.02em; }
  .mobile-output-copy h2 small { color: var(--dim); font-size: 12px; font-weight: 400; padding: 0 5px; }
  .mobile-output-state { display: flex; gap: 10px; align-items: center; margin-bottom: 15px; }
  .mobile-output-state > span:last-child:not(.pill) { font-size: 11px; color: #bc791c; }
  .mobile-output-actions { display: flex; gap: 10px; }
  .mobile-output-actions > * { flex: 1; white-space: nowrap; text-align: center; text-decoration: none; }
  .mobile-save-help { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 12px 0 0; }
  .mobile-share-status { font-size: 12px; color: var(--muted); }
  .mobile-share-status:empty { display: none; }
  .mobile-detail-section { margin-top: 14px; padding: 0 18px; background: var(--surface); border-radius: 14px; }
  .mobile-detail-section summary { font-weight: 550; font-size: 14px; padding: 17px 0; }
  .mobile-detail-section summary span { float: right; color: var(--muted); font-size: 12px; font-weight: 400; }
  .mobile-detail-section [data-detail-progress] { padding-bottom: 18px; font-size: 13px; }
  .mobile-detail-section dl { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 12px; margin: 0; padding-bottom: 18px; }
  .mobile-detail-section dt { color: var(--muted); }
  .mobile-detail-section dd { margin: 0; text-align: right; }
  [data-detail-actions] { display: flex; gap: 10px; margin: 20px 0; }
  .mobile-review-button { flex: 1; }
  .mobile-identity { display: flex; align-items: center; gap: 14px; padding: 5px 0 27px; }
  .mobile-avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 25px; font-weight: 650; }
  .mobile-identity h2 { font-size: 21px; margin: 0 0 5px; font-weight: 650; }
  .mobile-identity p { font-size: 12px; color: var(--muted); margin: 0; }
  .mobile-balance { background: var(--surface); padding: 20px; border-radius: 18px; margin-bottom: 22px; }
  .mobile-balance > div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
  .mobile-balance > strong { display: block; font: italic 850 44px/1.5 var(--num); letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .mobile-balance footer { display: flex; gap: 30px; font-size: 11px; color: var(--muted); }
  .mobile-balance footer b { color: var(--text); margin-left: 5px; font-weight: 550; font-variant-numeric: tabular-nums; }
  .mobile-menu { background: var(--surface); border-radius: 15px; padding: 0 16px; margin: 18px 0; }
  .mobile-menu button { min-height: 56px; width: 100%; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 15px; text-align: left; }
  .mobile-menu button:last-child { border: 0; }
  .mobile-menu svg { width: 21px; height: 21px; flex: 0 0 21px; }
  .mobile-menu i { margin-left: auto; font-style: normal; font-size: 21px; color: var(--dim); }
  .mobile-appearance { margin: 25px 0 20px; }
  .mobile-appearance h3 { font-size: 12px; font-weight: 500; color: var(--muted); margin: 0 0 10px 3px; }
  .mobile-appearance > div { display: flex; background: var(--surface); border-radius: 11px; padding: 4px; }
  .mobile-appearance button { flex: 1; padding: 8px 3px; font-size: 12px; border-radius: 8px; }
  .mobile-appearance button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
  .mobile-account-note { font-size: 12px; color: var(--muted); margin: 20px 0; line-height: 1.8; }
  .mobile-signout { color: #cc3d3d; padding: 15px; background: var(--surface); width: 100%; border-radius: 12px; font-size: 14px; }
@media (max-width: 800px) {
  :root {
    --bg: #000; --surface: #1c1c1e; --surface-2: #242426; --surface-3: #303033;
    --text: #f5f5f7; --muted: #aaaab0; --dim: #93939a; --accent: #ffd21e; --accent-ink: #1a1500;
    --line: #ffffff12; --line-2: #ffffff24; --top-bg: #000; --cn: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
    --num: -apple-system, BlinkMacSystemFont, 'Arial Narrow', sans-serif;
  }
  :root[data-theme="light"] {
    --bg: #f2f2f7; --surface: #fff; --surface-2: #f2f2f7; --surface-3: #e7e7ed;
    --text: #18181b; --muted: #6e6e76; --dim: #85858e; --line: #0000000d; --line-2: #0000001c; --top-bg: #f2f2f7;
  }
  :root { --mobile-contact-height: calc(44px + env(safe-area-inset-top)); }
  html { scroll-padding-top: calc(var(--mobile-contact-height) + var(--preview-bar-height, 0px) + 12px); }
  body { font-size: 15px; line-height: 1.5; background: var(--bg); overflow-x: clip; padding-top: var(--mobile-contact-height); }
  button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
  button { touch-action: manipulation; }
  input, textarea, select { font-size: 16px !important; }
  .grid-floor, .top, .service-notice { display: none; }
  .contact-rail { position: fixed; z-index: 55; top: var(--preview-bar-height, 0px); right: 0; bottom: auto; left: 0; transform: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; height: var(--mobile-contact-height); padding: env(safe-area-inset-top) 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--surface); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .contact-rail .contact-item { display: flex; flex-direction: row; gap: 7px; height: 44px; min-height: 44px; padding: 0; border-radius: 0; font-size: 12px; font-weight: 500; }
  .contact-rail .contact-item svg { width: 19px; height: 19px; }
  .contact-rail .contact-item small { display: none; }
  .contact-rail .contact-wecom > summary { margin: 0; border: 0; border-radius: 0; }
  .contact-rail .contact-ticket, .contact-rail .contact-business { margin: 0; border-top: 0; border-left: 1px solid var(--line); }
  .mobile-only { display: block; }
  .wrap { padding: 0 20px; }
  main.wrap { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .mobile-header { padding: 12px 20px 22px; }
  .mobile-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 34px; margin-bottom: 20px; }
  .mobile-wordmark { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
  .mobile-wordmark i { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 5px; border-radius: 7px; background: var(--text); color: var(--bg); font-style: normal; font-size: 10px; padding-left: 2px; }
  .mobile-wallet { font-size: 17px; font-weight: 800; font-stretch: condensed; font-style: italic; font-variant-numeric: tabular-nums; }
  .mobile-header h1 { margin: 0; font-size: 32px; font-weight: 730; line-height: 1.2; letter-spacing: -.06em; }
  .mobile-subtitle { color: var(--muted); margin: 8px 0 0; font-size: 13px; }
  .mobile-back { display: flex; align-items: center; gap: 3px; min-height: 36px; margin-left: -8px; font-size: 15px; }
  .mobile-back svg { width: 23px; height: 23px; }
  .mobile-sample { font-size: 14px; font-weight: 500; }
  .mobile-tabs { position: fixed; z-index: 40; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border-top: 1px solid var(--line); padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-tabs button { min-width: 0; white-space: nowrap; display: grid; justify-items: center; gap: 3px; color: var(--muted); font-size: 10px; font-weight: 600; }
  .mobile-tab-icon { position: relative; width: 52px; height: 31px; border-radius: 11px; display: grid; place-items: center; }
  .mobile-tabs svg { width: 23px; height: 23px; }
  .mobile-tabs button[aria-current="page"] { color: var(--text); }
  .mobile-tabs button[aria-current="page"] .mobile-tab-icon { background: var(--accent); color: var(--accent-ink); }
  .mobile-tab-icon em { position: absolute; top: -3px; right: -3px; background: #e5484d; color: #fff; border: 2px solid var(--surface); min-width: 19px; height: 19px; line-height: 15px; border-radius: 20px; font-size: 10px; font-style: normal; padding: 0 3px; }
  .btn { border-radius: 12px; min-height: 44px; font-size: 15px; box-shadow: none; letter-spacing: 0; }
  .btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: none; font-weight: 650; }
  .btn-primary:disabled { opacity: .45; }
  .btn-ghost { background: var(--surface-2); color: var(--text); border-color: transparent; }
  .btn-sm { min-height: 36px; font-size: 13px; padding: 7px 13px; }
  .fade-in { animation: none; transform: none; }
  .eyebrow { display: none; }
  .dry-banner { margin: 0 20px 16px; border-radius: 8px; font-size: 11px; padding: 6px 10px; }
  .mobile-active { width: 100%; display: flex; align-items: center; gap: 9px; background: var(--surface); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: 13px; font-weight: 550; text-align: left; }
  .mobile-active b { margin-left: auto; color: var(--dim); font-size: 20px; line-height: 16px; }
  .mobile-status-dot { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); border-radius: 100%; margin: 0 3px; }
  .trial-banner { margin: 0 0 10px; padding: 10px 14px; border: 0; border-radius: 12px; box-shadow: none; background: var(--surface); gap: 10px; }
  .trial-banner strong { font-size: 13px; font-weight: 500; color: var(--text); }
  .trial-banner div > span { display: none; }
  .trial-banner > b { font-size: 11px; white-space: nowrap; color: var(--muted); }
  .promo-banner { display: none; }
  .publish-entry { margin: 0 0 18px; padding: 10px 2px; border: 0; background: none; box-shadow: none; display: flex; gap: 8px; align-items: center; border-radius: 0; }
  .publish-entry strong { font-size: 11px; color: var(--muted); font-weight: 400; }
  .publish-entry > span { display: none; }
  .publish-entry > b { margin-left: auto; color: var(--text); font-size: 12px; }
  .mobile-categories { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 23px; padding: 0 20px 9px; }
  .mobile-categories button { flex-shrink: 0; color: var(--muted); font-size: 13px; padding: 6px 0; }
  .mobile-categories button:first-child { color: var(--text); border-bottom: 2px solid var(--text); font-weight: 600; }
  .sample-baskets { gap: 30px; margin: 0; }
  .sample-basket { border: 0; background: none; padding: 0; border-radius: 0; box-shadow: none; scroll-margin-top: 24px; }
  .sample-basket-head { margin: 0 0 13px; padding: 0; border: 0; gap: 8px; }
  .sample-basket-head h2 { font: 650 17px/1.35 var(--cn); letter-spacing: -.03em; }
  .sample-basket-index { display: none; }
  .sample-basket-count { display: none; }
  .sample-grid, .showcase-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
  .sample-card, .showcase-card { display: flex; flex-direction: column; background: var(--surface); border: 0; border-radius: 17px; overflow: hidden; box-shadow: none; }
  .sample-card .media, .showcase-card .media { width: 100%; aspect-ratio: 16/9; border: 0; background: #151515; border-radius: 0; }
  .sample-card .media img, .sample-card .media video, .showcase-card .media img, .showcase-card .media video { width: 100%; height: 100%; object-fit: contain; }
  .media .play { left: auto; right: 12px; top: 12px; bottom: auto; transform: none; width: 34px; height: 34px; min-width: 0; min-height: 0; border: 1px solid #ffffff22; padding: 9px; background: #0009; box-shadow: none; border-radius: 50%; color: #fff; }
  .media .play svg { width: 11px; height: 13px; }
  .media .play span { display: none; }
  .mobile-card-title { margin: 16px 16px 0; font-weight: 650; font-size: 18px; }
  .card-cta, .showcase-cta { margin: 0; padding: 11px 16px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; }
  .card-cta .btn, .showcase-cta .btn { flex: none; min-height: 34px; padding: 7px 14px; font-size: 13px; border-radius: 10px; }
  .card-cta .btn svg, .showcase-cta .btn svg { display: none; }
  .promo-price { margin: 0; }
  .promo-price > em, .promo-price small { display: none; }
  .promo-price span { gap: 8px; }
  .promo-price b { font-family: var(--num); font-size: 20px; font-style: italic; font-weight: 800; color: var(--text); }
  .promo-price s { font-size: 12px; color: var(--dim); }
  .showcase-copy { padding: 16px 0 0; }
  .showcase-copy h3 { font: 650 18px/1.3 var(--cn); margin: 0 16px; }
  .showcase-card .showcase-headline, .showcase-card .showcase-description, .showcase-card .showcase-evidence, .showcase-card .showcase-gallery { display: none; }
  .showcase-card .new-badge { font-size: 9px; vertical-align: 3px; margin-left: 4px; }
  .sample-basket[data-category="fun"] .sample-grid { display: flex; overflow-x: auto; margin: 0 -20px; padding: 0 20px 7px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sample-basket[data-category="fun"] .sample-grid > article { flex: 0 0 86%; scroll-snap-align: center; }
  .mobile-notice { margin-top: 26px; color: var(--muted); font-size: 12px; }
  .mobile-notice summary { padding: 14px 0; list-style: none; display: flex; justify-content: space-between; border-top: 1px solid var(--line-2); }
  .mobile-notice p { line-height: 1.8; }
  #app[data-mobile-flow="true"] .mobile-tabs { display: none; }
  #app[data-mobile-flow="true"] main.wrap { padding-bottom: calc(125px + env(safe-area-inset-bottom)); }
  .template-top, .template-intro, .sheet-head { display: none; }
  .template-form { border: 0; background: none; border-radius: 0; margin: 0; overflow: visible; box-shadow: none; }
  .mobile-steps { display: flex; justify-content: space-between; margin: -5px 0 22px; gap: 10px; }
  .mobile-steps button { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--dim); }
  .mobile-steps button > span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); font-size: 10px; }
  .mobile-steps [aria-current="step"] { color: var(--text); font-weight: 600; }
  .mobile-steps [aria-current="step"] > span { background: var(--accent); color: var(--accent-ink); }
  .sheet-body { padding: 0; gap: 20px; display: flex; flex-direction: column; }
  .sheet-body > * { min-width: 0; }
  [data-mobile-current-step="0"] [data-mobile-step]:not([data-mobile-step="0"]),
  [data-mobile-current-step="1"] [data-mobile-step]:not([data-mobile-step="1"]),
  [data-mobile-current-step="2"] [data-mobile-step]:not([data-mobile-step="2"]) { display: none; }
  .field { background: var(--surface); padding: 18px 15px; border-radius: 15px; border: 0; margin: 0; }
  .field-head { flex-wrap: wrap; align-items: baseline; gap: 5px 12px; margin-bottom: 14px; }
  .field-head h4 { font-size: 16px; font-weight: 650; }
  .field-head .idx { display: none; }
  .field-head .hint { font-size: 12px; color: var(--muted); }
  .dates { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-bottom: 3px; }
  .date { flex: 0 0 54px; min-width: 54px; height: 64px; border: 0; border-radius: 11px; background: var(--surface-2); }
  .date .d { font: italic 750 19px/1.3 var(--num); }
  .date .w { font-size: 11px; }
  .date[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
  .filters { gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
  .search, .input { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--surface-2); min-width: 0; }
  .search { flex: 1 1 150px; }
  .chip { font-size: 12px; min-height: 40px; color: var(--text); }
  .chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
  .league { border: 0; margin-bottom: 13px; background: none; border-radius: 0; }
  .league-head { background: none; padding: 8px 0; font-size: 12px; border: 0; }
  .match { padding: 13px 9px; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 7px; grid-template-columns: 30px 1fr 22px; gap: 9px; background: var(--surface-2); }
  .match[aria-pressed="true"] { background: var(--accent-soft); border-color: #ffd21e; }
  .match .jc, .jc-code { color: #d23c3c !important; }
  .match .home, .match .away { font-size: 14px; }
  .match .time, .match time { font-size: 12px; font-style: italic; font-variant-numeric: tabular-nums; }
  .voices, .mode-options, .skit-type-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .voice, .mode { border-radius: 10px; padding: 12px 10px; border: 1px solid var(--line); background: var(--surface-2); }
  .voice b, .mode b { font-size: 13px; }
  .voice > span, .mode > span { font-size: 11px; color: var(--muted); }
  .voice[aria-pressed="true"], .mode[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); box-shadow: none; color: var(--text); }
  .voice-preview { padding: 7px 12px; font-size: 12px; color: var(--text); }
  .mode-recommend { font-size: 9px; color: var(--text); background: var(--surface-3); border: 0; }
  .channel-note { font-size: 12px; padding: 12px; line-height: 1.8; }
  .channel-note b { font-weight: 550; }
  .selected-fixtures { padding: 10px; font-size: 12px; }
  .sheet-foot { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
  .sheet-foot > .summary { width: 100%; font-size: 11px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sheet-foot .summary b { font-size: 12px; color: var(--text); display: inline; margin-right: 5px; }
  .mobile-step-actions { display: flex; width: 100%; gap: 10px; order: 2; }
  .mobile-step-actions button { flex: 1; }
  .sheet-foot > [data-act="go"] { width: 100%; order: 3; }
  .template-form:not([data-mobile-current-step="2"]) .sheet-foot > [data-act="go"],
  .template-form:not([data-mobile-current-step="2"]) > .generation-price,
  .template-form:not([data-mobile-current-step="2"]) .mobile-order-review { display: none; }
  [data-mobile-current-step="2"] .mobile-step-actions { display: none; }
  .mobile-step-error:empty { display: none; }
  .mobile-step-error { font-size: 12px; color: var(--bad); margin: 0; }
  .mobile-order-review { padding: 20px; border-radius: 15px; margin: 20px 0; background: var(--surface); }
  .mobile-order-review h2 { font-size: 17px; margin: 0 0 12px; }
  .mobile-order-review p { color: var(--muted); font-size: 13px; line-height: 1.9; }
  .generation-price { margin: 14px 0; padding: 15px; border-radius: 12px; font-size: 13px; }
  .star-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .star-styles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .star-search .search { width: 100%; }
  .hot-row { border-radius: 12px; }
  .page-head { margin: 0 0 22px; padding: 0; }
  .page-head h1 { display: none; }
  .page-head p { margin: 0 0 8px; font-size: 13px; max-width: none; }
  .jobs { gap: 14px; }
  .job { background: var(--surface); border: 0; border-radius: 15px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
  .job-title { font-size: 17px; line-height: 1.5; }
  .job-meta { gap: 4px 8px; font-size: 11px; }
  .job-actions { justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
  .job-actions .pill { margin-right: auto; }
  .pill { padding: 5px 8px; border: 0; font-size: 11px; }
  .pill.done { background: #30a56517; color: #289c61; }
  .pill.running { background: #ffd21e22; color: var(--text); }
  .job[data-status="awaiting_script"] .pill { color: #c7751f; background: #eb971c18; }
  .pill.failed { color: #d34040; background: #d3404015; }
  .job[data-status="done"] .job-progress { display: none; }
  .job-progress-track { height: 4px; }
  .mobile-job-open { width: 100%; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; text-align: left; font-size: 13px; }
  .mobile-job-open > span { color: var(--dim); font-size: 18px; }
  .mobile-job-detail { margin: 0; }
  .mobile-account { margin: 0; }
  .svip { padding: 0; }
  .svip-hero { display: block; padding: 25px 22px 22px; border: 1px solid #bda56a45; border-radius: 19px; background: radial-gradient(ellipse at top right,#68552b77,transparent 75%),linear-gradient(140deg,#151410,#242017); color: #fff; min-height: 0; margin: 0 0 25px; }
  .svip-hero-copy { padding: 0; }
  .svip-kicker { font-family: Georgia,serif; font-size: 14px; color: #e3c67d; letter-spacing: .12em; }
  .svip-kicker .svip-crown { display: none; }
  .svip-hero h1 { font-size: 26px; margin: 18px 0 7px; line-height: 1.3; color: #fff; }
  .svip-hero h1 span { display: none; }
  .svip-hero p { font-size: 13px; color: #ddc78c; line-height: 1.7; }
  .svip-steps { display: flex; gap: 10px; padding-top: 16px; margin: 18px 0 0; border-top: 1px solid #ddc78c33; }
  .svip-steps li { display: block; font-size: 11px; flex: 1; color: #e1cd98; }
  .svip-steps b { display: none; }
  .svip-card, .svip-perks { display: none; }
  .svip-form { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
  .svip-form-head { padding: 0 0 15px; margin: 0; border: 0; }
  .svip-form-head h2 { font: 600 16px/1.4 var(--cn); }
  .svip-form-head p { display: none; }
  .svip-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 18px 15px; border-radius: 15px; background: var(--surface); }
  .svip-field > span { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
  .svip-field > span i { display: none; }
  .svip-section { padding: 0; border: 0; margin: 24px 0; }
  .svip-section-head { margin: 0 0 12px; }
  .svip-section-head > span { display: none; }
  .svip-section-head h3 { font-size: 15px; }
  .svip-section-head p { font-size: 12px; }
  .svip-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
  .svip-tag { font-size: 12px; padding: 7px 10px; min-height: 34px; border: 1px solid var(--line-2); color: var(--text); background: transparent; border-radius: 18px; font-weight: 400; }
  .svip-tag[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .svip-drop { padding: 22px 12px; border: 1px dashed var(--line-2); border-radius: 13px; background: var(--surface); }
  .svip-drop strong { font-size: 14px; }
  .svip-drop small { font-size: 11px; }
  .svip-drop-icon { width: 27px; height: 27px; color: var(--muted); }
  .svip-rights { font-size: 12px; line-height: 1.7; margin-bottom: 25px; }
  .svip-submit { display: flex; flex-direction: column; gap: 7px; position: fixed; left: 0; right: 0; bottom: calc(65px + env(safe-area-inset-bottom)); z-index: 20; padding: 10px 20px; background: var(--bg); border: 0; }
  .svip-submit > div { font-size: 11px; text-align: center; order: 2; }
  .svip-submit > div b { font-size: 11px; color: var(--muted); }
  .svip-submit > div span { display: none; }
  .svip-btn { width: 100%; min-height: 48px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); box-shadow: none; font-size: 15px; border: 0; }
  .svip-btn .svip-crown { display: none; }
  .svip-btn:disabled { opacity: .45; }
  .svip-history { margin-top: 25px; }
  .svip-history h2 { font-size: 17px; }
  .svip-order { padding: 16px; border: 0; border-radius: 13px; background: var(--surface); gap: 10px; }
  .svip-order strong { font-size: 14px; }
  .svip-order small { font-size: 11px; }
  .svip-status { background: #e99e1c18; color: #bd7c13; font-size: 11px; border: 0; white-space: nowrap; }
  .mobile-brief-count { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; }
  .svip-desktop-requirement { display: none; }
  .finance-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .finance-kpi, .finance-panel { background: var(--surface); border: 0; border-radius: 14px; padding: 16px; }
  .finance-kpi strong { font-size: 25px; }
  .finance-toolbar { flex-wrap: wrap; gap: 9px; }
  .finance-toolbar h2 { font-size: 17px; }
  .finance-toolbar label { font-size: 12px; }
  .finance-row { align-items: flex-start; gap: 12px; }
  .finance-row b { font-size: 13px; }
  .finance-row small { font-size: 11px; }
  .finance-amount { white-space: nowrap; }
  .payment-layout { grid-template-columns: minmax(0,1fr); }
  .payment-presets { gap: 7px; }
  .payment-presets button b { font-size: 20px; }
  .payment-presets button span, .payment-presets button small { font-size: 10px; }
  .invite-card { display: block; }
  .invite-actions { margin-top: 18px; display: flex; gap: 8px; }
  .invite-actions .btn { font-size: 12px; }
  .publish-hero { padding: 0; }
  .publish-hero h1 { display: none; }
  .publish-hero p { font-size: 14px; }
  .publish-priority { font-size: 11px; }
  .publish-notice { padding: 16px; }
  .publish-directory { position: static; gap: 12px; padding: 16px; }
  .publish-directory > div { flex-wrap: wrap; gap: 8px; }
  .publish-directory button { padding: 8px; font-size: 12px; }
  .publish-part { padding: 0; }
  .publish-part-head h2 { font-size: 21px; }
  .publish-grid, .publish-example { grid-template-columns: minmax(0,1fr); }
  .publish-topic { padding: 19px; background: var(--surface); border: 0; border-radius: 15px; }
  .publish-topic p, .publish-topic li { font-size: 14px; }
  .publish-topic-heading h3 { font-size: 17px; }
  .publish-topic img { max-height: 360px; object-fit: contain; }
  .manuscript-workspace { border: 0; background: none; padding: 0; margin: 0; }
  .manuscript-heading h2 { font-size: 19px; }
  .manuscript-area { padding: 0; }
  .manuscript-editor, .manuscript-paper { padding: 16px; border: 0; background: var(--surface); border-radius: 14px; }
  .manuscript-actions { display: flex; flex-wrap: wrap; position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: var(--bg); }
  .manuscript-actions .btn { flex: 1; font-size: 13px; }
  .manuscript-actions small { width: 100%; }
  .login { display: block; min-height: 100dvh; padding: calc(50px + env(safe-area-inset-top)) 24px 40px; }
  .login-theme { top: calc(var(--mobile-contact-height) + var(--preview-bar-height, 0px) + 12px); }
  .login-brand { display: none; }
  .login-card { width: 100%; max-width: 420px; margin: 0 auto; border: 0; box-shadow: none; background: var(--surface); padding: 26px 22px; border-radius: 20px; }
  .login-card h1, .login-card h2 { font-size: 27px; line-height: 1.25; }
  .login-card .login-foot { font-size: 11px; }
  .login-tabs { gap: 4px; }
  .login-tabs button { font-size: 12px; padding: 9px 6px; }
  .login-card .code-row { gap: 8px; }
  .login-card .code-row button { font-size: 12px; padding: 0 9px; }
  .support-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 50px); border-radius: 18px; padding: 0; }
  .support-dialog-head { padding: 21px 18px; }
  .support-dialog-head h2 { font-size: 22px; }
  .support-form { padding: 0 18px 20px; }
  .support-form-grid { display: flex; flex-direction: column; }
  .support-actions { flex-direction: column; align-items: stretch; }
  .support-actions .btn { width: 100%; }
  .modal { padding: 16px; }
  .modal video { width: 100%; max-height: 80dvh; border-radius: 12px; }
  .modal .x { top: calc(var(--mobile-contact-height) + var(--preview-bar-height, 0px) + 12px); right: 20px; }
  .toast { bottom: calc(95px + env(safe-area-inset-bottom)); max-width: calc(100% - 40px); font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 800px) {
  #app[data-mobile-page="custom"] main.wrap { padding-bottom: calc(195px + env(safe-area-inset-bottom)); }
  .match { grid-template-columns: 43px minmax(0,1fr) 44px; }
  .match .t { font-size: 12px; font-style: italic; font-variant-numeric: tabular-nums; }
  .match .teams { display: flex; flex-wrap: wrap; gap: 4px 7px; align-items: center; font-size: 13px; }
  .match .sel { font-size: 10px; }
  .mobile-job-detail .pill.running { color: #b27814; }
}
@media (max-width: 800px) {
  .sample-baskets { grid-template-columns: minmax(0,1fr); padding: 0 0 30px; }
  .sample-basket, .sample-grid, .sample-grid.showcase-grid { min-width: 0; width: 100%; grid-template-columns: minmax(0,1fr); }
  .showcase-media { width: 100%; align-self: stretch; }
  .showcase-media .media .play, .sample-card .media .play { left: auto; right: 12px; top: 12px; bottom: auto; width: 36px; height: 36px; min-height: 36px; padding: 10px; background: #0009; border: 1px solid #ffffff44; color: #fff; box-shadow: none; }
  :root[data-theme="light"] .showcase-card { box-shadow: none; }
  .showcase-card .showcase-gallery { display: flex; gap: 6px; overflow-x: auto; padding: 9px 12px; background: var(--surface); scrollbar-width: none; }
  .showcase-gallery .showcase-thumb { flex: 0 0 auto; padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line-2); background: none; font-size: 10px; color: var(--muted); }
  .showcase-gallery .showcase-thumb img { display: none; }
  .showcase-gallery .showcase-thumb[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
  .showcase-card .new-badge { box-shadow: none; background: var(--surface-2); color: var(--muted); font-size: 9px; border-radius: 5px; }
  .mobile-categories { margin-bottom: 18px; }
}
@media (max-width: 800px) {
  .template-form .sheet-body { padding: 0; }
  .field + .field { margin-top: 0; border: 0; }
  .template-form .sheet-foot { position: fixed; display: flex; flex-direction: column; left: 0; right: 0; bottom: 0; width: 100%; z-index: 45; gap: 7px; padding: 11px 20px calc(14px + env(safe-area-inset-bottom)); box-shadow: none; background: var(--surface); }
  .template-form .sheet-foot .mobile-step-actions { width: 100%; }
  .template-form .sheet-foot .summary { width: 100%; flex: none; }
  .sheet-foot .summary b { white-space: normal; }
  .voices, .styles, .visuals, .channel-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .style, .visual, .channel { border-radius: 10px; padding: 12px 10px; border: 1px solid var(--line); background: var(--surface-2); }
  .style[aria-pressed="true"], .visual[aria-pressed="true"], .channel[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); box-shadow: none; }
  .style b, .visual b, .channel b { font-size: 13px; }
  .style span, .visual span, .channel span { font-size: 11px; }
  .selection-note { font-size: 12px; color: var(--muted); line-height: 1.7; }
}
@media (max-width: 800px) {
  .svip-hero { background: radial-gradient(ellipse at 100% 0%,#5d4d2e55,transparent 65%),#171715; box-shadow: none; }
  .svip-hero::before, .svip-hero::after, .svip-form::before, .svip-btn::after { display: none; }
  .svip-kicker { border: 0; background: none; padding: 0; font-family: var(--cn); font-size: 12px; }
  .svip-hero h1 { background: none; color: #f7f2e5; letter-spacing: 0; font-weight: 650; }
  .svip-steps li { padding: 0; border: 0; border-radius: 0; background: none; line-height: 1.7; }
  .svip-btn { letter-spacing: 0; font-weight: 650; }
  .svip-btn:disabled { filter: none; cursor: default; }
  .svip-btn:hover:not(:disabled) { box-shadow: none; transform: none; }
  .mobile-order-review [data-review-summary] b { display: block; color: var(--text); font-weight: 600; margin-bottom: 7px; }
}
@media (max-width: 800px) {
  .hot-pool .filters .search { flex-basis: 100%; }
  .script-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; background: var(--bg); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
  .script-actions > span { width: 100%; font-size: 12px; }
  .script-actions .btn { font-size: 13px; }
}
@media (max-width: 800px) {
  .mobile-product-info { font-size: 12px; color: var(--muted); line-height: 1.8; padding: 10px 2px; }
  .mobile-product-info summary { color: var(--text); }
  .mobile-product-warning { color: #c37b19; font-size: 12px; margin: 8px 0 0; }
  .mobile-job-detail[data-status="awaiting_script"] .pill { color: #c7751f; background: #eb971c18; }
}
