:root {
  color-scheme: light;
  --ink: #151922;
  --muted: #6c778b;
  --paper: #ffffff;
  --surface: #f4f6fa;
  --line: #dfe5f0;
  --blue: #245cff;
  --blue-dark: #1844d0;
  --apricot: #fff0de;
  --danger: #ae4049;
}
* { box-sizing: border-box; }
[hidden], .hidden { display: none !important; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, summary:focus-visible { outline: 3px solid #7c9bff; outline-offset: 3px; }
.muse-shell { width: min(1160px, calc(100% - 80px)); margin: 0 auto; }
.muse-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 87px; border-bottom: 1px solid var(--line); }
.muse-wordmark { display: inline-flex; align-items: center; gap: 19px; font: 900 30px/1 "Arial Black", Arial, sans-serif; letter-spacing: -.07em; }
.muse-wordmark-divider { width: 1px; height: 17px; background: #d5deed; }
.muse-wordmark > span:last-child { font: 500 13px/1.5 "Segoe UI", "Microsoft YaHei", sans-serif; letter-spacing: .08em; color: var(--muted); }
.muse-language { display: inline-flex; align-items: center; flex-shrink: 0; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.muse-language button { border: 0; border-radius: 6px; padding: 7px 10px; min-height: 32px; background: transparent; color: var(--muted); font: 600 13px/1.4 "Segoe UI", "Microsoft YaHei", sans-serif; }
.muse-language button[aria-pressed="true"] { background: #edf2ff; color: var(--blue); }
.muse-language button:hover { color: var(--blue-dark); }
.muse-header { position: relative; display: flex; align-items: center; gap: 58px; min-height: 242px; padding: 35px 0 39px; overflow: hidden; }
.muse-title { position: relative; z-index: 1; flex-shrink: 0; }
.muse-kicker { display: block; font-size: 12px; line-height: 1.5; font-weight: 650; letter-spacing: .15em; color: var(--muted); }
.muse-title .muse-kicker { margin: 0 0 12px 6px; font-size: 10px; }
.muse-title h1 { font: 900 clamp(86px, 9vw, 121px)/.85 "Arial Black", Arial, sans-serif; letter-spacing: -.085em; }
.muse-title h1 > span { color: var(--blue); }
.muse-intro { position: relative; z-index: 1; padding-top: 17px; max-width: 340px; }
.muse-headline { font-size: 26px; line-height: 1.5; letter-spacing: -.035em; font-weight: 550; }
.muse-intro-note { margin-top: 13px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.muse-drawing { position: absolute; right: -5px; top: 11px; width: 325px; height: 225px; pointer-events: none; }
.muse-paper { position: absolute; top: 22px; left: 9px; width: 270px; height: 190px; transform: rotate(-5deg); }
.muse-ink { position: absolute; top: 2px; right: -7px; width: 310px; height: 190px; color: var(--blue); transform: rotate(-10deg); }
.muse-workspace { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.muse-products { grid-column: 2; grid-row: 1; display: grid; gap: 14px; padding-top: 5px; min-width: 0; }
.muse-products-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 1px; padding: 0 2px; }
.muse-products-heading .muse-kicker { font-size: 10px; letter-spacing: .12em; }
.muse-products-heading p { color: var(--muted); font-size: 12px; }
.muse-product-card { padding: 25px 27px 22px; border: 1px solid #e5eaf3; border-radius: 18px; background: var(--surface); position: relative; overflow: hidden; }
.muse-product-apricot { background: #fff5e9; border-color: #f0e4d4; }
.muse-product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.muse-product-code { color: #73819a; font: 13px/1.4 Consolas, "Cascadia Code", monospace; letter-spacing: .03em; }
.muse-product-symbol { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #c7d4f0; border-radius: 50%; color: var(--blue); font: 15px/1 Arial, sans-serif; }
.muse-product-apricot .muse-product-symbol { color: #94734c; border-color: #dbc7ab; }
.muse-product-card h2 { font-size: clamp(27px, 2.35vw, 32px); font-weight: 700; line-height: 1.35; letter-spacing: -.05em; margin: 15px 0 8px; text-wrap: balance; overflow-wrap: break-word; }
.muse-product-card h2 span { white-space: nowrap; }
.muse-product-card > p { font-size: 13px; color: var(--muted); }
.muse-product-meta { display: flex; align-items: center; gap: 12px; margin-top: 24px; min-width: 0; }
.muse-product-meta [data-stock] { display: block; min-width: 0; max-width: 100%; padding: 4px 7px; border: 1px solid #b0c7ff; border-radius: 6px; background: #e7efff; color: #264eae; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.muse-product-meta [data-stock]::before { content: attr(data-stock-prefix); }
.muse-product-line { display: none; }
.muse-product-apricot .muse-product-line { background: #eadbc6; }
.muse-panel { min-width: 0; padding: 33px 35px; border: 1px solid #e0e6f0; border-radius: 21px; background: white; }
.muse-redeem-panel { grid-column: 1; grid-row: 1; box-shadow: 0 9px 30px -20px #3d527833; }
.muse-panel-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 18px; }
.muse-panel-heading h2 { margin-top: 8px; font-size: 30px; line-height: 1.35; font-weight: 700; letter-spacing: -.05em; }
.muse-status { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; max-width: 44%; padding: 7px 9px; margin-top: 4px; color: var(--muted); background: #f4f6fa; border-radius: 7px; font-size: 12px; line-height: 1.5; }
.muse-status::before { content: ""; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: #a2adbe; }
.muse-status.ready { color: #365cbb; background: #edf2ff; }
.muse-status.ready::before { background: #6186e9; }
.muse-status.paused { color: #8b704d; background: #fff4e6; }
.muse-status.paused::before { background: #be9862; }
.muse-form-description { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
#muse-form { margin-top: 29px; }
#muse-form label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin-bottom: 10px; color: #465167; font-size: 14px; font-weight: 600; }
#muse-form label small { font-size: 12px; font-weight: 400; color: #8a94a5; }
#muse-codes { display: block; width: 100%; min-height: 150px; padding: 15px 17px; resize: vertical; border: 1px solid #dce4f0; border-radius: 11px; background: #f8faff; color: var(--ink); font: 14px/1.9 Consolas, "Cascadia Code", "Microsoft YaHei", monospace; outline: none; transition: border-color .18s, box-shadow .18s; }
#muse-codes::placeholder { color: #94a0b5; font-size: 13px; }
#muse-codes:focus { border-color: #8fa9f5; box-shadow: 0 0 0 3px #245cff0a; }
#muse-codes[readonly] { color: #758198; }
.muse-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; font-size: 12px; color: #8791a3; }
.muse-input-tools { display: flex; gap: 18px; }
.muse-link-button { padding: 3px 0; border: 0; background: transparent; font-size: 12px; color: #6c7c98; }
.muse-link-button:hover { color: var(--blue); }
.muse-submit-row { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 11px; margin-top: 23px; }
.muse-button { min-height: 46px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px; background: var(--blue); color: white; font-size: 14px; font-weight: 650; line-height: 1.5; transition: background .18s, transform .18s; }
.muse-button:hover:not(:disabled) { background: var(--blue-dark); transform: translateY(-1px); }
.muse-button:disabled { opacity: .46; }
.muse-button.secondary { background: #f0f3fa; color: #5a6c8c; border-color: #e7ebf4; }
.muse-button.secondary:hover:not(:disabled) { color: #3558a2; background: #e6edfc; }
#muse-submit { min-width: 0; min-height: 44px; padding: 10px 14px; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
#muse-submit:disabled { opacity: 1; color: #52617e; background: #e0e7f5; }
#muse-submit::after { content: "↗"; padding-left: 13px; font-weight: 400; opacity: .85; }
.muse-recover-hint { margin-top: 13px; text-align: center; font-size: 12px; line-height: 1.7; color: #8b95a7; }
.muse-error { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--danger); }
.muse-input-note { margin-top: 14px; padding: 11px 13px; border-radius: 9px; background: #f0f4ff; color: #536eac; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.muse-status-guide { margin-top: 24px; padding-top: 17px; border-top: 1px solid #e6ebf3; color: var(--muted); font-size: 13px; }
.muse-status-guide summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; color: #60708c; }
.muse-status-guide summary::-webkit-details-marker { display: none; }
.muse-status-guide summary::after { content: "+"; font-size: 17px; font-weight: 300; }
.muse-status-guide[open] summary::after { content: "−"; }
.muse-status-guide dl { display: grid; gap: 13px; margin: 16px 0 0; }
.muse-status-guide dl > div { display: grid; gap: 3px; }
.muse-status-guide dt { color: #445777; font-weight: 600; }
.muse-status-guide dd { margin: 0; line-height: 1.7; }
.muse-status-guide dd, .muse-status-guide dt { overflow-wrap: anywhere; }
.muse-footer { display: flex; align-items: center; gap: 13px; padding: 22px 0 28px; border-top: 1px solid var(--line); }
.muse-footer-mark { font: 900 25px/1 "Arial Black", Arial, sans-serif; letter-spacing: -.1em; color: var(--blue); }
.muse-footer p { color: #8390a6; font-size: 12px; line-height: 1.8; }
.muse-footer-label { margin-left: auto; color: #95a0b2; font-size: 10px; letter-spacing: .12em; white-space: nowrap; }
.muse-result { margin-bottom: 32px; scroll-margin-top: 24px; }
.muse-result-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.muse-result-actions .muse-button { min-height: 39px; padding: 9px 13px; font-size: 13px; }
.muse-result-summary { margin: 21px 0 19px; padding: 13px 15px; border: 1px solid #e0e8fc; border-radius: 10px; background: #f1f5ff; color: #526ba3; font-size: 14px; line-height: 1.8; }
.muse-items, .muse-result-group { display: grid; gap: 12px; min-width: 0; }
.muse-result-group h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; color: #465b80; font-size: 14px; font-weight: 650; }
.muse-result-group h3 span { color: #8793aa; font-size: 13px; font-weight: 400; }
.muse-item { min-width: 0; padding: 18px; border: 1px solid #e0e6f2; border-radius: 13px; background: #fcfdff; }
.muse-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.muse-item-code { min-width: 0; color: #52627c; font: 13px/1.7 Consolas, "Cascadia Code", monospace; overflow-wrap: anywhere; }
.muse-item-status { flex-shrink: 0; color: #4772c2; font-size: 13px; font-weight: 600; }
.muse-item-status.error { color: var(--danger); }
.muse-delivery { display: grid; grid-template-columns: max-content minmax(0,1fr) auto; align-items: start; gap: 13px 12px; padding-top: 15px; margin-top: 13px; border-top: 1px solid #e6ebf5; }
.muse-delivery > span { padding-top: 6px; color: #365283; font-size: 16px; font-weight: 800; }
.muse-delivery code { min-width: 0; padding-top: 5px; color: #365283; font: 600 15px/1.8 Consolas, "Cascadia Code", monospace; overflow-wrap: anywhere; word-break: break-word; user-select: all; }
.muse-copy { min-height: 44px; padding: 9px 12px; border: 1px solid #b7ccf6; border-radius: 7px; background: #e4edff; color: #355c9f; font-size: 16px; font-weight: 700; white-space: nowrap; }
.muse-copy:hover { background: #e3edff; }
.muse-note { margin-top: 14px; color: #8490a6; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.muse-copy-feedback { min-height: 18px; margin-top: 12px; color: #4e72b8; font-size: 13px; line-height: 1.6; }
.muse-pending-tools { padding: 15px; border: 1px solid #eedec8; border-radius: 11px; background: #fff8ed; }
.muse-pending-tools > strong { color: #8d724e; font-size: 14px; }
.muse-pending-tools p { margin: 6px 0 12px; color: #927e63; font-size: 13px; line-height: 1.8; }
.muse-pending-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.muse-pending-buttons .muse-button { min-height: 37px; padding: 8px 11px; font-size: 13px; }
.muse-card-copy { min-height: 34px; padding: 7px 11px; margin-top: 12px; border: 1px solid #dce5f7; border-radius: 7px; background: #eef3ff; color: #5776b2; font-size: 13px; }
.muse-dialog-open { overflow: hidden; }
.muse-delivery-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); margin: auto; padding: 29px; border: 1px solid white; border-radius: 21px; background: white; color: var(--ink); box-shadow: 0 25px 110px #17387230; }
.muse-delivery-dialog[open] { display: flex; flex-direction: column; }
.muse-delivery-dialog::backdrop { background: #19274275; backdrop-filter: blur(6px); }
.muse-dialog-head { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.muse-dialog-heading { min-width: 0; flex: 1; }
.muse-dialog-head .muse-language { margin-left: auto; }
.muse-dialog-head h2 { margin-top: 5px; font-size: 27px; line-height: 1.3; letter-spacing: -.04em; }
.muse-dialog-mark { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; background: var(--blue); color: white; font-size: 24px; }
.muse-delivery-dialog[data-state="error"] .muse-dialog-mark { background: #f7e8eb; color: var(--danger); }
.muse-delivery-dialog[data-state="processing"] .muse-dialog-mark { background: var(--apricot); color: #9a7a50; }
.muse-dialog-summary { flex-shrink: 0; padding: 12px 14px; margin: 19px 0 16px; border-radius: 10px; background: #f1f5ff; color: #546da3; font-size: 14px; line-height: 1.8; }
.muse-dialog-items { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 0 4px 2px 0; }
.muse-dialog-items > .muse-result-group + .muse-result-group { margin-top: 10px; }
.muse-delivery-dialog > .muse-copy-feedback { flex-shrink: 0; margin: 11px 0; }
.muse-dialog-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; flex-shrink: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.muse-dialog-head h2:focus, .muse-result h2:focus { outline: none; }
html[lang="en"] .muse-item-status { max-width: 52%; text-align: right; }
@media (max-width: 1100px) {
  .muse-shell { width: calc(100% - 52px); }
  .muse-header { gap: 35px; min-height: 222px; }
  .muse-title h1 { font-size: 100px; }
  .muse-headline { font-size: 22px; }
  .muse-drawing { width: 240px; right: -17px; transform: scale(.83); transform-origin: right center; }
  .muse-workspace { gap: 24px; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .muse-panel { padding: 28px; }
  .muse-product-card { padding: 22px; }
  .muse-products-heading { flex-wrap: wrap; gap: 4px 10px; }
  .muse-panel-heading h2 { font-size: 27px; }
}
@media (max-width: 800px) {
  .muse-shell { width: min(620px, calc(100% - 44px)); }
  .muse-topbar { min-height: 74px; }
  .muse-header { min-height: 211px; gap: 28px; padding: 31px 0; }
  .muse-title h1 { font-size: 91px; }
  .muse-title .muse-kicker { font-size: 9px; letter-spacing: .08em; }
  .muse-intro { padding-top: 15px; }
  .muse-headline { font-size: 21px; }
  .muse-intro-note { font-size: 12px; max-width: 190px; }
  .muse-drawing { right: -20px; top: 39px; opacity: .08; transform: scale(.78); }
  .muse-workspace { grid-template-columns: minmax(0,1fr); gap: 23px; margin-bottom: 30px; }
  .muse-products { grid-column: 1; grid-row: 1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 0; }
  .muse-products-heading { grid-column: 1/-1; justify-content: space-between; margin-bottom: 0; }
  .muse-product-card { padding: 20px; border-radius: 15px; }
  .muse-product-card h2 { font-size: 27px; }
  .muse-product-meta { margin-top: 20px; }
  .muse-redeem-panel { grid-column: 1; grid-row: 2; }
  .muse-footer-label { display: none; }
}
@media (max-width: 520px) {
  .muse-shell { width: calc(100% - 34px); }
  .muse-topbar { min-height: 67px; }
  .muse-wordmark { font-size: 27px; gap: 13px; }
  .muse-wordmark > span:last-child { font-size: 12px; }
  .muse-language { padding: 2px; border-radius: 8px; }
  .muse-language button { min-height: 30px; padding: 6px 8px; font-size: 12px; }
  .muse-header { min-height: 184px; padding: 28px 0; gap: 20px; align-items: center; }
  .muse-title h1 { font-size: 75px; }
  .muse-title .muse-kicker { max-width: 145px; font-size: 8px; margin: 0 0 11px 3px; letter-spacing: .04em; }
  .muse-intro { padding-top: 13px; }
  .muse-headline { font-size: 17px; line-height: 1.55; }
  .muse-intro-note { margin-top: 8px; font-size: 12px; max-width: 140px; }
  .muse-drawing { right: -40px; top: 24px; transform: scale(.7); }
  .muse-products { gap: 10px; }
  .muse-products-heading .muse-kicker { font-size: 9px; }
  .muse-products-heading p { font-size: 12px; }
  .muse-product-card { padding: 15px 14px; border-radius: 13px; }
  .muse-product-code { font-size: 12px; }
  .muse-product-symbol { width: 21px; height: 21px; font-size: 14px; }
  .muse-product-card h2 { margin: 12px 0 8px; font-size: 25px; line-height: 1.35; }
  .muse-product-card > p { font-size: 12px; line-height: 1.8; }
  .muse-product-meta { margin-top: 14px; gap: 8px; }
  .muse-product-meta [data-stock] { font-size: 13px; padding: 3px 6px; }
  .muse-panel { padding: 24px 21px; border-radius: 17px; }
  .muse-panel-heading { gap: 13px; }
  .muse-panel-heading h2 { font-size: 25px; }
  .muse-kicker { font-size: 10px; }
  .muse-status { padding: 6px 7px; font-size: 12px; max-width: 42%; }
  .muse-form-description { font-size: 13px; margin-top: 10px; }
  #muse-form { margin-top: 23px; }
  #muse-form label { font-size: 13px; }
  #muse-form label small { font-size: 12px; }
  #muse-codes { min-height: 134px; padding: 13px 14px; }
  #muse-codes::placeholder { font-size: 12px; }
  .muse-submit-row { margin-top: 20px; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 9px; }
  #muse-submit { font-size: 15px; min-height: 44px; padding: 10px 12px; }
  .muse-button { min-height: 44px; padding: 11px 12px; font-size: 13px; }
  .muse-recover-hint { font-size: 12px; }
  .muse-footer { padding: 19px 0 24px; gap: 10px; }
  .muse-footer p { font-size: 12px; }
  .muse-result .muse-panel-heading { flex-direction: column; }
  .muse-result-actions { justify-content: flex-start; }
  .muse-item { padding: 13px; }
  .muse-item-head { flex-direction: column; align-items: flex-start; gap: 5px; }
  .muse-item-status, html[lang="en"] .muse-item-status { max-width: 100%; text-align: left; }
  .muse-delivery { grid-template-columns: minmax(0,1fr); gap: 8px; padding-top: 10px; }
  .muse-delivery > span { grid-column: 1/-1; margin-top: 5px; padding-top: 0; }
  .muse-delivery > code { font-size: 15px; align-self: center; padding-top: 0; }
  .muse-copy { grid-column: 1; padding: 9px 11px; font-size: 15px; justify-self: start; margin-bottom: 6px; }
  .muse-delivery-dialog { width: calc(100% - 20px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 19px; border-radius: 17px; }
  .muse-dialog-head { flex-wrap: wrap; gap: 10px; }
  .muse-dialog-heading { flex-basis: calc(100% - 60px); }
  .muse-dialog-head .muse-language { margin: 2px 0 0 52px; }
  .muse-dialog-head h2 { font-size: 23px; }
  .muse-dialog-mark { width: 42px; height: 42px; border-radius: 11px; font-size: 23px; }
  .muse-dialog-summary { margin-top: 15px; font-size: 13px; }
  .muse-dialog-actions { gap: 8px; }
  .muse-dialog-actions .muse-button { padding: 10px 12px; font-size: 13px; }
  .muse-pending-buttons { display: grid; }
  .muse-pending-buttons .muse-button { width: 100%; }
  html[lang="en"] .muse-dialog-actions .muse-button { flex: 1 1 100%; }
}
@media (max-width: 359px) {
  .muse-header { gap: 13px; }
  .muse-title h1 { font-size: 64px; }
  .muse-title .muse-kicker { max-width: 123px; font-size: 7px; }
  .muse-headline { font-size: 15px; }
  .muse-product-card { padding: 13px 11px; }
  .muse-product-card h2 { font-size: 23px; }
}
#muse-status { min-width: 0; max-width: 100%; padding: 4px 7px; border: 1px solid #adc4f8; border-radius: 6px; background: #e7efff; color: #294fa5; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
#muse-status::before { width: 5px; height: 5px; }
.muse-product-meta [data-stock][data-stock-state="ready"], #muse-status[data-stock-state="ready"] { padding-left: 0; padding-right: 0; border-color: transparent; background: transparent; }
.muse-product-meta [data-stock][data-stock-state="unavailable"], #muse-status[data-stock-state="unavailable"] { color: #a62335; border-color: #e6a0ac; background: #ffe8ec; }
#muse-status[data-stock-state="unavailable"]::before { background: #c43c50; }
.muse-product-meta [data-stock][data-stock-state="unknown"], .muse-product-meta [data-stock][data-stock-state="paused"], #muse-status[data-stock-state="unknown"], #muse-status[data-stock-state="paused"] { color: #815619; border-color: #dfbb7b; background: #fff1d8; }
.muse-product-meta [data-stock]:not([data-stock-state="ready"])::before { content: none; }
.muse-result-actions [data-copy-all], .muse-dialog-actions [data-copy-all] { font-size: 16px; font-weight: 700; min-height: 44px; }
@media (max-width: 520px) {
  #muse-status { font-size: 13px; padding: 3px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Three Muse tiers share the existing card rhythm. */
.muse-product-blue { background: #edf3ff; border-color: #d1dfff; }
.muse-product-card { padding-top: 18px; padding-bottom: 18px; }
.muse-product-card h2 { margin-top: 10px; }
.muse-product-meta { margin-top: 16px; }

@media (min-width: 801px) {
  .muse-products { align-self: stretch; grid-template-rows: auto repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 0; }
  .muse-product-card { display: flex; flex-direction: column; justify-content: center; min-height: 0; padding: 14px 22px; }
  .muse-product-card h2 { margin: 7px 0 6px; font-size: clamp(22px, 2vw, 26px); }
  .muse-product-meta { margin-top: 10px; }
}

@media (max-width: 600px) {
  .muse-products { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .muse-product-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 105px); gap: 4px 10px; padding: 13px 16px; }
  .muse-product-top { grid-column: 1 / -1; }
  .muse-product-symbol { display: none; }
  .muse-product-card h2 { grid-column: 1; margin: 2px 0 0; font-size: 21px; }
  .muse-product-card > p { grid-column: 1; font-size: 12px; }
  .muse-product-meta { grid-column: 2; grid-row: 2 / 4; margin: 0; justify-content: flex-end; }
  .muse-product-meta [data-stock] { text-align: right; }
}

.muse-business-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px;border:1px solid #dbe5f4;border-radius:12px;background:#f3f6fc;margin:18px 0 0}.muse-business-tabs a{flex:1;padding:12px 16px;border-radius:8px;color:#52647f;text-align:center;text-decoration:none;font-size:15px;font-weight:700;line-height:1.5}.muse-business-tabs a[aria-current="page"]{color:#fff;background:#245cff;box-shadow:0 3px 10px #245cff24}.muse-business-tabs a:hover{outline:1px solid #8aa9ee}.muse-business-tabs small{display:block;font-size:12px;font-weight:400;margin-top:3px}.muse-admin-page .muse-business-tabs{max-width:1360px;margin:0 auto 18px}.muse-admin-page .muse-business-tabs a{flex:0 1 220px}@media(max-width:600px){.muse-business-tabs a{padding:10px 8px;font-size:14px}.muse-admin-page .muse-business-tabs a{flex:1}}

.muse-account-page .muse-products{grid-template-rows:auto repeat(2,minmax(0,1fr))}.muse-account-page .muse-next-card{min-height:50px;font-size:17px;padding:13px 24px;margin:0 0 22px;font-weight:700;box-shadow:0 6px 18px #245cff24}.muse-account-page .muse-product-card[data-product="MUSE_31B"] [data-stock][data-stock-state="unavailable"]{color:#a62335;background:#ffe8ec;border:1px solid #e6a0ac}.muse-account-page .muse-product-card p{line-height:1.8}.muse-account-page .muse-item-time{font-size:13px;color:var(--muted);line-height:1.8;margin:8px 0}.muse-account-page .muse-sync-note{color:#815619;font-size:14px;line-height:1.8}@media(max-width:800px){.muse-account-page .muse-products{grid-template-rows:auto}.muse-account-page .muse-next-card{width:100%;min-height:50px;font-size:17px}.muse-account-page .muse-product-card h2{font-size:24px}.muse-account-page .muse-redeem-panel{grid-row:1}.muse-account-page .muse-products{grid-row:2}}

/* Keep entry and delivery text readable without changing the page grid. */
#muse-codes, .muse-invite-page #muse-form > input { font-size: 16px; }
#muse-codes::placeholder { font-size: 14px; }
#muse-submit, #muse-recover { font-size: 16px; }
.muse-delivery code { font-size: 16px; }
.muse-recover-hint, .muse-form-description, #muse-form label,
.muse-invite-page .muse-product-card p, .muse-invite-page .muse-product-card li,
.muse-field-note, .muse-package-notice { font-size: 14px; }
.muse-business-tabs a { min-width: 0; overflow-wrap: anywhere; }
.muse-form-foot { flex-wrap: wrap; }
.muse-item-head { flex-wrap: wrap; }

/* Illustrated Muse entry: keep the original pen stroke and paper artwork. */
.muse-shell { width: min(1360px, calc(100% - 80px)); }
.muse-topbar { min-height: 72px; gap: 24px; }
.muse-wordmark { font-size: 32px; }
.muse-wordmark > span:last-child { font-size: 14px; letter-spacing: 0; }
.muse-business-tabs { margin: 0 0 0 auto; padding: 4px; gap: 4px; flex-wrap: nowrap; background: #f3f6fc; border-radius: 12px; }
.muse-business-tabs a { flex: 0 1 auto; padding: 9px 24px; font-size: 15px; white-space: nowrap; }
.muse-business-tabs a[aria-current="page"] { box-shadow: 0 3px 8px #245cff20; }
.muse-header { min-height: 130px; gap: 36px; padding: 26px 0 28px; overflow: hidden; }
.muse-title h1 { font-size: 90px; }
.muse-intro, .muse-invite-page .muse-intro { max-width: 420px; padding-top: 8px; }
.muse-headline, .muse-invite-page .muse-headline { font-size: 24px; font-weight: 500; line-height: 1.5; }
.muse-drawing { right: 20px; top: -35px; width: 325px; height: 190px; transform: scale(.7); transform-origin: right center; opacity: 1; }
.muse-workspace { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; margin-bottom: 18px; align-items: stretch; }
.muse-panel { padding: 28px 32px; border-radius: 22px; }
.muse-redeem-panel { box-shadow: 0 12px 36px -26px #52689455; }
.muse-panel-heading { gap: 12px; align-items: center; }
.muse-panel-heading h2 { margin-top: 0; font-size: 28px; }
.muse-kicker, .muse-products-heading, .muse-footer-mark, .muse-footer-label { display: none; }
.muse-form-description { margin-top: 9px; font-size: 15px; }
#muse-form, .muse-invite-page #muse-form { margin-top: 22px; }
#muse-form label { font-size: 15px; }
#muse-form label small { font-size: 13px; }
#muse-codes { height: 118px; min-height: 118px; padding: 14px 16px; background: #f7f9fe; }
.muse-form-foot { margin-top: 9px; font-size: 13px; }
.muse-link-button { font-size: 13px; }
.muse-submit-row { margin-top: 18px; }
#muse-submit, #muse-recover { min-height: 48px; }
.muse-recover-hint { margin-top: 11px; font-size: 13px; }
.muse-status-guide { margin-top: 18px; padding-top: 13px; font-size: 14px; }
.muse-account-page .muse-products { grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; }
.muse-product-card { padding: 24px 30px; border-radius: 22px; }
.muse-account-page .muse-product-card { display: flex; flex-direction: column; justify-content: center; }
.muse-account-page .muse-product-card h2 { margin: 12px 0 6px; font-size: clamp(27px, 2.3vw, 34px); letter-spacing: -.045em; }
.muse-account-page .muse-product-card h2 span:last-child { margin-left: .15em; }
.muse-account-page .muse-product-card > p { font-size: 14px; }
.muse-product-meta { margin-top: 13px; }
.muse-product-symbol { width: 30px; height: 30px; font-size: 18px; }
.muse-invite-page .muse-products { grid-template-rows: minmax(0, 1fr); }
.muse-invite-page .muse-product-card { justify-content: flex-start; gap: 16px; padding: 30px; background: #eef3ff; border-color: #d5e0fb; }
.muse-invite-page .muse-product-card h2 { font-size: clamp(29px, 2.6vw, 38px); line-height: 1.3; margin-top: 8px; }
.muse-plan-badge { font-size: 14px; background: #fff8; }
.muse-invite-page .muse-package-notice { margin: 4px 0 0; padding: 14px 16px; font-size: 14px; background: #fff9ef; }
.muse-invite-page .muse-status-guide { align-self: stretch; margin-top: auto; }
.muse-invite-page .muse-status-guide p { margin-top: 12px; }
.muse-invite-page #muse-form > input { min-height: 50px; padding: 11px 14px; margin-bottom: 16px; font-size: 16px; }
.muse-invite-page #muse-form > input::placeholder { font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.muse-invite-page .muse-field-note { font-size: 14px; margin: 7px 0 12px; }
.muse-footer { padding: 13px 0 18px; }
.muse-footer p { font-size: 13px; }
html[lang^="en"] .compact-zh, html:not([lang^="en"]) .compact-en { display: none; }
@media (min-width: 1600px) and (min-height: 850px) {
  .muse-header { min-height: 170px; }
  .muse-title h1 { font-size: 108px; }
  .muse-drawing { top: -15px; transform: scale(.9); }
  .muse-panel { padding: 34px 38px; }
  #muse-codes { min-height: 150px; }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .muse-shell { width: calc(100% - 48px); }
  .muse-topbar { gap: 14px; }
  .muse-wordmark > span:last-child, .muse-wordmark-divider { display: none; }
  .muse-business-tabs a { padding-inline: 18px; }
  .muse-header { min-height: 112px; gap: 20px; padding: 20px 0; }
  .muse-title h1 { font-size: 66px; }
  .muse-headline, .muse-invite-page .muse-headline { font-size: 18px; max-width: 240px; }
  .muse-drawing { right: -10px; transform: scale(.55); top: -45px; }
  .muse-workspace { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
  .muse-panel, .muse-product-card, .muse-invite-page .muse-product-card { padding: 20px; }
  .muse-panel-heading h2 { font-size: 25px; }
  .muse-account-page .muse-product-card h2 { font-size: 27px; }
  .muse-invite-page .muse-product-card h2 { font-size: 29px; }
  .muse-invite-page .muse-product-card { gap: 12px; }
}
@media (max-width: 800px) {
  .muse-shell { width: calc(100% - 32px); }
  .muse-topbar { flex-wrap: wrap; gap: 12px; padding: 16px 0; }
  .muse-wordmark { font-size: 29px; }
  .muse-wordmark > span:last-child { font-size: 12px; }
  .muse-language { margin-left: auto; }
  .muse-business-tabs { order: 3; width: 100%; margin: 2px 0 0; }
  .muse-business-tabs a { flex: 1; padding: 10px 8px; font-size: 14px; white-space: normal; }
  .muse-header { min-height: 132px; padding: 22px 0; gap: 16px; align-items: flex-start; flex-direction: column; }
  .muse-title h1 { font-size: 66px; }
  .muse-intro, .muse-invite-page .muse-intro { padding: 0; max-width: 100%; }
  .muse-headline, .muse-invite-page .muse-headline { font-size: 16px; }
  .muse-drawing { right: 0; top: -48px; transform: scale(.49); opacity: 1; }
  .muse-workspace { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .muse-panel { padding: 22px; border-radius: 18px; }
  .muse-panel-heading h2 { font-size: 25px; }
  .muse-account-page .muse-products { grid-template-rows: auto; gap: 12px; }
  .muse-account-page .muse-product-card { padding: 22px; border-radius: 18px; }
  .muse-account-page .muse-product-card h2 { font-size: 26px; }
  .muse-product-meta { justify-content: flex-start; }
  .muse-invite-page .muse-product-card { padding: 24px; border-radius: 18px; }
  .muse-invite-page .muse-product-card h2 { font-size: 30px; }
  .muse-invite-page .muse-product-card p { font-size: 14px; }
  .muse-invite-page .muse-status-guide { margin-top: 5px; }
}
@media (max-width: 380px) {
  .muse-wordmark { gap: 10px; }
  .muse-wordmark > span:last-child { font-size: 11px; }
  .muse-panel { padding: 18px; }
  .muse-drawing { right: 0; transform: scale(.43); }
  .muse-title h1 { font-size: 60px; }
}
