/* Customer hierarchy: keep the glass surfaces, give important actions real contrast. */
.shop-page {
  --focus-blue: #0867d5;
  --focus-blue-deep: #084fb1;
  --focus-blue-soft: #eaf3ff;
  --focus-green: #137447;
  --focus-green-soft: #eaf7ef;
  --focus-amber: #945008;
  --focus-amber-soft: #fff4df;
  --focus-line: rgba(43, 104, 178, .16);
}
.shop-page :is(.price, .amount strong, .co-sum .due strong, .order-amount) { color: var(--focus-blue-deep); }
.shop-page :is(.price, .amount strong) { font-weight: 730; }
.shop-page :is(.price small, .price-note) { color: var(--ink-soft); }
.shop-page .status { font-weight: 650; border: 1px solid rgba(165, 106, 32, .18); background: var(--focus-amber-soft); color: var(--focus-amber); }
.shop-page .status[data-status="paid"] { background: var(--focus-blue-soft); border-color: var(--focus-line); color: var(--focus-blue-deep); }
.shop-page .status[data-status="delivered"] { background: var(--focus-green-soft); border-color: rgba(19,116,71,.17); color: var(--focus-green); }
.shop-page .status:is([data-status="expired"], [data-status="cancelled"]) { color: #627181; background: #f1f4f7; border-color: #dfe5ec; }
.shop-page .tag.accent { color: var(--focus-blue-deep); background: var(--focus-blue-soft); }
.shop-page .tag.ok { color: var(--focus-green); background: var(--focus-green-soft); }
.shop-page .tag.warn { color: var(--focus-amber); background: var(--focus-amber-soft); }
.shop-page .callout { border: 1px solid var(--focus-line); color: #244e79; background: #eef5ff; }
.shop-page .callout.ok { color: var(--focus-green); border-color: rgba(19,116,71,.17); background: var(--focus-green-soft); }
.shop-page #result-note[data-state="paid"] { color: var(--focus-blue-deep); border-color: var(--focus-line); background: var(--focus-blue-soft); }
.shop-page :is(#buy-btn, #pay-btn):not(:disabled) {
  color: #fff; font-weight: 650;
  background: radial-gradient(ellipse at 28% 0, rgba(255,255,255,.26), transparent 64%), linear-gradient(155deg, #2b87ec, #0966ca 76%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -1px 0 rgba(0,53,128,.22), 0 0 0 .5px rgba(9,84,171,.25), 0 7px 14px -9px rgba(8,103,213,.5);
}
.shop-page :is(#buy-btn, #pay-btn):hover:not(:disabled) { color: #fff; background: linear-gradient(150deg, #3694ff, #075dbc 74%); }
.shop-page :is(#buy-btn, #pay-btn)::after { opacity: .15; }
.shop-page .card-list li { border: 1px solid #bfd6ef; background: linear-gradient(135deg, #f5faff, #edf5ff); }
.shop-page .card-list code { color: var(--focus-blue-deep); font-size: 15px; font-weight: 650; }
.shop-page .card-list .idx { color: var(--focus-blue-deep); background: #dfefff; }
.shop-page .card-list .btn { color: var(--focus-blue-deep); font-weight: 650; }
.shop-page .co-notes .purchase-condition { padding: 11px 14px; border-radius: 12px; list-style: none; margin: 0 0 12px -18px; color: var(--focus-amber); background: var(--focus-amber-soft); border: 1px solid #f1d9af; }
.shop-page .key-link { color: var(--focus-blue-deep); text-decoration: underline; text-underline-offset: 4px; font-weight: 650; }
.shop-page .co-notes strong.key-link { text-decoration: none; }
.shop-page .error:not(:empty) { padding: 11px 14px; border-radius: 12px; background: #fff1f1; border: 1px solid #f5d3d3; color: #b02525; }

/* The link customers need after payment is a distinct destination, not a footnote. */
.redeem-entry { margin-top: 6px; padding: 22px; border-radius: 21px; border: 1px solid #b8d3f2; background: radial-gradient(ellipse at 100% 0, rgba(61,151,255,.12), transparent 68%), linear-gradient(135deg, rgba(255,255,255,.96), rgba(235,245,255,.94)); box-shadow: inset 0 1px 0 #fff, 0 8px 24px -18px rgba(34,104,181,.42); }
.redeem-entry-top { display: flex; gap: 13px; align-items: center; }
.redeem-entry-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--focus-blue); background: #e0efff; box-shadow: inset 0 1px 0 #fff; }
.redeem-entry-icon svg { width: 22px; height: 22px; }
.redeem-entry-label { display: block; color: #37648e; font-size: 11px; letter-spacing: .08em; margin-bottom: 3px; }
.redeem-entry h3 { margin: 0; font-size: 19px; color: #143d69; font-weight: 670; }
.redeem-host { margin: 14px 0 9px; color: var(--focus-blue-deep); font-size: clamp(16px, 3vw, 22px); font-weight: 680; overflow-wrap: anywhere; letter-spacing: -.025em; }
.redeem-entry .hint { color: #526c86; line-height: 1.7; margin: 0 0 18px !important; }
.shop-page .redeem-entry .redeem-cta { min-height: 52px; color: #fff; font-weight: 650; background: linear-gradient(150deg, #2887f3, #0867d5 74%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 7px 18px -9px rgba(8,103,213,.6); display: flex; justify-content: space-between; gap: 12px; }
.shop-page .redeem-entry .redeem-cta:hover { color: #fff; background: linear-gradient(150deg, #3995ff, #075dbc); }
.shop-page .redeem-entry .redeem-cta::after { opacity: .15; }
.redeem-host .redeem-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(8,103,213,.35); text-underline-offset: 4px; }
.redeem-host .redeem-link:hover { text-decoration-color: currentColor; }
.redeem-entry-note { display: flex; gap: 7px; margin: 11px 0 0; color: #58718a; font-size: 12px; }
.redeem-guide-detail { margin-top: 8px; }
.redeem-guide-detail > summary { cursor: pointer; color: var(--focus-blue-deep); font-size: 13px; font-weight: 600; padding: 12px 0; }
.redeem-guide-detail[open] > summary { margin-bottom: 6px; }
.item-redeem-link { display: flex; align-items: center; gap: 13px; margin-top: 18px; padding: 15px 17px; border: 1px solid #bfd6ef; border-radius: 16px; background: linear-gradient(130deg, #f7fbff, #edf5ff); }
.item-redeem-link > svg { color: var(--focus-blue); width: 23px; height: 23px; }
.item-redeem-link > span { min-width: 0; flex: 1; }
.item-redeem-link strong { display: block; color: var(--focus-blue-deep); font-size: 14px; font-weight: 650; }
.item-redeem-link small { display: block; color: #536d86; margin-top: 2px; overflow-wrap: anywhere; font-size: 12px; }
.item-redeem-link > b { color: var(--focus-blue); font-size: 20px; font-weight: 450; }
.session-howto { margin-top: 18px; padding: 20px 20px 16px; border: 1px solid #d6e5f5; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(241,247,255,.92)); box-shadow: inset 0 1px 0 #fff; }
.session-howto h3 { margin: 0 0 6px; font-size: 16px; color: var(--focus-blue-deep); font-weight: 680; }
.session-howto-lead { margin: 0 0 14px; color: #536d86; font-size: 13px; line-height: 1.7; }
.session-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.session-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #e3edf8; border-radius: 14px; background: #fff; }
.session-step-no { flex: none; width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; background: var(--focus-blue-soft); color: var(--focus-blue); font-size: 12px; font-weight: 700; }
.session-steps li > div { min-width: 0; display: grid; gap: 4px; }
.session-steps strong { color: #17324f; font-size: 14px; font-weight: 640; }
.session-steps a { width: fit-content; max-width: 100%; color: var(--focus-blue); font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(8,103,213,.35); text-underline-offset: 3px; overflow-wrap: anywhere; }
.session-steps a:hover { text-decoration-color: currentColor; }
.session-steps small { color: #5b7189; font-size: 12px; line-height: 1.7; }
.session-steps code, .session-steps kbd { padding: 1px 5px; font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; border: 1px solid #d3deea; border-radius: 4px; background: #f3f7fb; color: #17324f; }
.session-howto-warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff8ec; border: 1px solid #f3dfb8; color: #7a5717; font-size: 12px; line-height: 1.7; }
.item-redeem-link:hover { border-color: #89b7eb; background: #eaf3ff; }

/* Six-scene walkthrough: full instructions with a quiet browser-like stage. */
.redemption-guide { --guide-duration: 6200ms; --guide-canvas-scale: 1; --guide-ink: #20364d; --guide-muted: #6d7e91; color: var(--guide-ink); min-width: 0; }
.guide-topline { display: flex; align-items: center; gap: 14px; margin: 20px 0 23px; }
.guide-kicker { display: inline-flex; align-items: center; gap: 7px; color: #55708c; font-size: 11px; font-weight: 550; white-space: nowrap; }
.guide-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--focus-blue); box-shadow: 0 0 0 3px #e1efff; }
.guide-play-controls { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.guide-play,.guide-replay { border: 0; padding: 6px 2px; background: transparent; color: #557494; font-size: 11px; cursor: pointer; white-space: nowrap; }
.guide-switch { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: #edf3f9; }
.guide-switch button { padding: 5px 12px; border: 0; border-radius: 999px; font-size: 12px; background: transparent; color: var(--guide-muted); cursor: pointer; }
.guide-switch button[aria-pressed="true"] { color: var(--focus-blue-deep); background: #fff; box-shadow: 0 1px 5px rgba(28,66,104,.1); }
.guide-layout { display: grid; grid-template-columns: 185px minmax(0,1fr); gap: 24px; align-items: start; }
.guide-steps { display: grid; gap: 8px; padding-top: 4px; }
.guide-steps button { display: flex; align-items: center; gap: 12px; padding: 13px 12px; text-align: left; min-height: 68px; border: 1px solid transparent; border-radius: 15px; background: transparent; color: #65768b; cursor: pointer; }
.guide-steps button[aria-current="step"] { color: #174d84; border-color: #d6e8fb; background: linear-gradient(120deg,rgba(243,249,255,.95),rgba(230,242,255,.85)); box-shadow: inset 0 1px 0 #fff; }
.guide-step-label { flex: 1; min-width: 0; }
.guide-steps strong { display: block; font-size: 12px; font-weight: 550; }
.guide-steps small { display: block; font-size: 10px; color: #7b8ba0; margin-top: 4px; }
.guide-step-number { width: 27px; height: 27px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; border: 1px solid #dde4ec; font-size: 10px; font-variant-numeric: tabular-nums; }
.guide-steps [aria-current="step"] .guide-step-number { background: var(--focus-blue); border-color: var(--focus-blue); color: #fff; box-shadow: 0 3px 8px -4px #0867d5; }
.guide-steps [data-completed="true"] .guide-step-number { color: #557ca3; background: #f2f6fa; }
.guide-step-chevron { font-size: 20px; opacity: 0; }
.guide-steps [aria-current="step"] .guide-step-chevron { opacity: 1; }
.guide-step-short { display: none; }
.guide-viewer { min-width: 0; }
.guide-window { border: 1px solid #dce5ef; border-radius: 18px; overflow: hidden; background: #fbfdff; box-shadow: 0 12px 32px -24px #38628d,inset 0 1px 0 #fff; }
.guide-browser-bar { display: flex; align-items: center; gap: 13px; height: 43px; padding: 0 16px; background: rgba(240,245,251,.9); border-bottom: 1px solid #e3eaf2; color: #7990a4; }
.guide-window-dots { display: flex; gap: 5px; }
.guide-window-dots i { width: 5px; height: 5px; background: #c3ceda; border-radius: 50%; }
.guide-address { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; flex: 1; height: 25px; border-radius: 6px; background: rgba(255,255,255,.9); font-size: 10px; }
.guide-address svg { width: 11px; height: 11px; stroke: #7d8d9e; stroke-width: 1.2; fill: none; flex-shrink: 0; }
.guide-address [data-guide-location] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.guide-demo-label { font-size: 8px; white-space: nowrap; color: #8e9baa; }
.guide-screen { height: 350px; display: grid; place-items: center; padding: 20px 22px; background: radial-gradient(ellipse at 60% 0,rgba(223,239,255,.7),transparent 74%),linear-gradient(145deg,#fff,#f8fbff); overflow: hidden; }
.guide-scene { position: relative; width: min(100%,390px); animation: guide-scene-in 350ms ease both; }
.guide-scene[hidden] { display: none; }
.guide-scene.demo-wide-scene { width: 100%; display: flex; justify-content: center; }
.guide-scene.demo-wide-scene[hidden] { display: none; }
.demo-chatgpt-mark { display: block; width: 31px; height: 31px; margin: 0 auto 13px; }
.demo-login-card { max-width: 300px; margin: auto; position: relative; }
.demo-login-title { color: #20364d; font-size: 20px; font-weight: 650; text-align: center; line-height: 1.4; }
.demo-login-subtitle { color: #7d8da0; text-align: center; font-size: 10px; line-height: 1.6; margin-top: 4px; margin-bottom: 18px; }
.demo-login-provider { display: flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid #d8e3ee; background: rgba(255,255,255,.95); border-radius: 10px; padding: 10px; font-size: 11px; }
.demo-login-provider b { color: #1973d3; font-size: 15px; }
.demo-login-divider { position: relative; border-top: 1px solid #e4ebf3; margin: 17px 0; text-align: center; height: 0; }
.demo-login-divider span { position: relative; top: -9px; padding: 0 10px; background: #fcfdff; font-size: 10px; color: #8a98a9; }
.demo-field { padding: 9px 12px; border: 1px solid #dbe5ef; background: #fff; border-radius: 10px; margin-bottom: 9px; }
.demo-field small { display: block; font-size: 9px; color: #7a8c9f; }
.demo-field span { display: block; font-size: 12px; color: #45617e; margin-top: 3px; }
.demo-primary { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 13px; margin-top: 11px; border-radius: 10px; color: #fff; background: linear-gradient(150deg,#2e89ef,#0968d4); font-size: 11px; font-weight: 550; box-shadow: inset 0 1px 0 rgba(255,255,255,.4),0 4px 12px -9px #0867d5; }
.demo-typing-line { animation: demo-type var(--guide-duration) ease both; }
.demo-cursor { position: absolute; width: 21px; height: 25px; bottom: 5px; right: 21px; fill: #1d3852; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 2px #ccd9e6); animation: demo-cursor-tap var(--guide-duration) ease both; }
.demo-session-scene { width: 100%; height: 100%; align-self: stretch; }
.demo-session-scene>.guide-for-card { height: 100%; }
.demo-json-heading { display: flex; justify-content: space-between; color: #7c8da0; font-size: 9px; margin-bottom: 9px; }
.demo-json-viewport { height: calc(100% - 26px); overflow: hidden; border-radius: 10px; border: 1px solid #e1e9f2; background: rgba(255,255,255,.92); }
.demo-json { margin: 0; padding: 13px; color: #536b84; font: 11px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; animation: demo-select var(--guide-duration) linear both; }
.demo-json code { font: inherit; background: none; color: inherit; }
.demo-shortcut { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 11px; min-width: 118px; border-radius: 10px; border: 1px solid #d4e0ed; background: rgba(255,255,255,.96); box-shadow: 0 7px 22px -9px #9bb5cf; color: #486888; font-size: 11px; opacity: 0; }
.demo-shortcut kbd,.demo-paste-key kbd { padding: 2px 5px; font: inherit; border: 1px solid #d3deea; border-radius: 4px; background: #f3f7fb; }
.demo-shortcut small { color: #587d9e; font-size: 9px; white-space: nowrap; }
.demo-shortcut-select { animation: demo-shortcut-select var(--guide-duration) linear both; }
.demo-shortcut-copy { animation: demo-shortcut-copy var(--guide-duration) linear both; }
.demo-condition-card { max-width: 340px; margin: 24px auto; padding: 22px; border: 1px solid #dbe7f3; border-radius: 16px; background: rgba(255,255,255,.95); }
.demo-plan-pill { font-size: 9px; color: var(--focus-blue); letter-spacing: .09em; }
.demo-shop-heading { font-size: 17px; font-weight: 650; color: #243e59; line-height: 1.4; margin-bottom: 16px; }
.demo-shop-heading>small { display: block; font-size: 10px; font-weight: 400; color: #7a8da0; margin-top: 4px; }
.demo-condition-card .demo-shop-heading { margin-top: 8px; }
.demo-condition-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 10px; color: #788a9c; }
.demo-condition-row strong { font-weight: 500; color: #476782; }
.demo-condition-note { border-top: 1px solid #e4ecf3; padding-top: 14px; margin-top: 19px; font-size: 10px; color: #527391; line-height: 1.8; }
.demo-canvas-wrap { position: relative; width: calc(720px * var(--guide-canvas-scale)); height: calc(304px * var(--guide-canvas-scale)); flex-shrink: 0; }
.demo-package-canvas { width: 720px; height: 304px; transform: scale(var(--guide-canvas-scale)); transform-origin: top left; border: 1px solid #e2eaf3; border-radius: 15px; overflow: hidden; background: #fff; box-shadow: 0 7px 25px -15px #8da6be; }
.demo-mini-header { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 24px; border-bottom: 1px solid #ebf0f6; color: #768ba0; font-size: 10px; }
.demo-mini-header>span:first-child { display: flex; align-items: center; gap: 8px; color: #344e68; font-weight: 600; }
.demo-mini-header img { width: 17px; height: 17px; }
.demo-package-layout { display: grid; grid-template-columns: 1.6fr 1fr; height: 264px; }
.demo-package-plans { padding: 22px 24px; }
.demo-package-plans .demo-shop-heading { font-size: 19px; margin-bottom: 12px; }
.demo-product-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border: 1px solid #e1e8f0; border-radius: 10px; background: #fff; }
.demo-product-option.selected { border-color: #8fbaec; background: #f0f7ff; }
.demo-product-option.faded { opacity: .65; }
.demo-product-option strong { display: block; font-size: 12px; font-weight: 600; }
.demo-product-option small { display: block; font-size: 9px; color: #7b8da1; margin-top: 3px; }
.demo-radio { width: 12px; height: 12px; border: 1px solid #cedbe9; border-radius: 50%; flex-shrink: 0; }
.selected .demo-radio { border: 4px solid #1873d9; }
.demo-price { margin-left: auto; font-size: 15px; font-weight: 650; color: var(--focus-blue-deep); }
.demo-package-plans .demo-field { padding: 7px 10px; }
.demo-package-plans .demo-field small { font-size: 8px; }
.demo-mini-check { font-size: 9px; color: #6b849b; }
.demo-package-summary { padding: 25px 23px; border-left: 1px solid #e5edf6; background: #f7faff; position: relative; }
.demo-package-summary>strong { font-size: 15px; }
.demo-package-summary .demo-primary { margin-top: 20px; }
.demo-package-summary .demo-cursor { bottom: 35px; right: 35px; }
.demo-bill { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; margin: 8px 0 12px; border-bottom: 1px dashed #dbe6f1; font-size: 11px; color: #7a8fa3; }
.demo-bill strong { font-size: 21px; font-weight: 650; color: var(--focus-blue-deep); }
.demo-end-note { margin-top: 10px; font-size: 9px; color: #8091a1; text-align: center; line-height: 1.7; }
.demo-payment-card { width: min(100%,300px); margin: auto; padding: 18px 22px; border: 1px solid #dce7f2; border-radius: 16px; background: #fff; }
.demo-payment-card .demo-shop-heading { margin-bottom: 4px; font-size: 15px; }
.demo-payment-card .demo-bill { padding: 5px 0 9px; margin-bottom: 9px; }
.demo-methods { display: flex; gap: 8px; }
.demo-methods>span { display: flex; align-items: center; gap: 6px; flex: 1; padding: 7px; background: #fff; border: 1px solid #e0e8f1; border-radius: 8px; font-size: 9px; }
.demo-methods>span.selected { border-color: #95c0f1; background: #eef6ff; }
.demo-methods b { display: grid; place-items: center; color: #fff; background: #1476ec; width: 18px; height: 18px; border-radius: 5px; font-size: 10px; }
.demo-methods>span+span b { background: #17a965; }
.demo-qr-area { display: flex; flex-direction: column; align-items: center; margin-top: 10px; gap: 3px; font-size: 8px; color: #92a0b0; }
.demo-qr { width: 88px; height: 88px; fill: #435e77; }
.demo-payment-done { font-size: 10px; color: #167349; background: #edf8f1; text-align: center; margin-top: 8px; border-radius: 8px; padding: 5px; animation: demo-late-show var(--guide-duration) linear both; }
.demo-redemption-card { position: relative; max-width: 380px; margin: auto; }
.demo-redemption-card .demo-shop-heading { font-size: 16px; margin-bottom: 12px; }
.demo-redeem-code { display: flex; gap: 8px; align-items: center; border: 1px solid #cee0f3; border-radius: 10px; background: #eef6ff; padding: 9px 12px; margin-bottom: 10px; }
.demo-redeem-code small { display: block; font-size: 8px; color: #6e8eaf; margin-bottom: 3px; }
.demo-redeem-code code { font-size: 11px; color: #24588c; font-weight: 600; }
.demo-redeem-code b { margin-left: auto; font-size: 9px; color: #397355; white-space: nowrap; animation: demo-verified var(--guide-duration) linear both; }
.demo-session-label { display: flex; justify-content: space-between; font-size: 10px; color: #4b6985; margin: 10px 0 7px; }
.demo-session-label span { font-size: 8px; color: #90a0b2; }
.demo-paste-field { position: relative; background: #fff; border: 1px solid #dce7f2; border-radius: 10px; padding: 9px 11px; height: 104px; overflow: hidden; }
.demo-paste-field pre { margin: 0; font: 9px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace; color: #58728c; white-space: pre-wrap; overflow-wrap: anywhere; animation: demo-paste var(--guide-duration) linear both; }
.demo-paste-key { position: absolute; top: 33px; left: 50%; transform: translateX(-50%); font-size: 10px; color: #70869b; animation: demo-paste-key var(--guide-duration) linear both; white-space: nowrap; }
.demo-identified { color: #427758; margin-top: 8px; font-size: 9px; animation: demo-identified var(--guide-duration) linear both; }
.demo-result-card { width: min(100%,340px); margin: auto; border: 1px solid #dbe8f4; background: rgba(255,255,255,.95); padding: 26px 22px; border-radius: 18px; }
.demo-result-icon { width: 48px; height: 48px; margin: 0 auto 14px; }
.demo-result-icon svg { fill: #e7f6ef; stroke: #278365; stroke-width: 1.6; }
.demo-result-icon path { fill: none; stroke-width: 2.2; stroke-dasharray: 34; animation: demo-success var(--guide-duration) ease both; }
.demo-result-card .demo-login-title { font-size: 19px; }
.demo-result-row { display: flex; justify-content: space-between; padding: 12px; border: 1px solid #e2ebf2; border-radius: 10px; font-size: 10px; color: #8496a8; }
.demo-result-row strong { color: #347757; font-weight: 550; animation: demo-identified var(--guide-duration) linear both; }
.guide-progress { height: 2px; background: #e6edf5; }
.guide-progress>span { display: block; width: 100%; height: 100%; background: var(--focus-blue); transform-origin: left; transform: scaleX(0); animation: guide-progress var(--guide-duration) linear both; }
.guide-caption { display: flex; justify-content: space-between; gap: 16px; padding: 19px 0 0; }
.guide-caption>div:first-child { flex: 1; min-width: 0; }
.guide-count { display: block; font-size: 10px; color: #8898a9; font-variant-numeric: tabular-nums; letter-spacing: .06em; margin-bottom: 4px; }
.guide-caption strong { display: block; font-size: 16px; color: #263f59; font-weight: 630; }
.guide-caption p { font-size: 12px; color: #6f8398; line-height: 1.85; margin: 7px 0 0 !important; min-height: 46px; }
.guide-arrows { display: flex; gap: 6px; align-self: flex-start; padding-top: 4px; }
.guide-arrows button { width: 33px; height: 33px; font-size: 24px; line-height: 1; border: 1px solid #e0e8f1; border-radius: 50%; background: #fff; color: #617f9c; cursor: pointer; }
.guide-arrows button:disabled { opacity: .3; cursor: default; }
.guide-external { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 550; color: var(--focus-blue-deep); text-decoration: underline; text-underline-offset: 4px; }
.guide-security { color: #8696a5; font-size: 10px; line-height: 1.8; margin: 13px 0 0 !important; }
.guide-footnote { border-top: 1px solid #e4ebf3; padding-top: 15px; margin: 21px 0 0 !important; font-size: 10px; color: #8a9baa; line-height: 1.8; }
.redemption-guide[data-guide-kind="card"] .guide-for-team,.redemption-guide[data-guide-kind="team"] .guide-for-card { display: none !important; }
.redemption-guide button:focus-visible,.guide-external:focus-visible,.item-redeem-link:focus-visible,.redeem-entry a:focus-visible { outline: 2px solid var(--focus-blue); outline-offset: 4px; }
.guide-steps button:hover:not([aria-current]),.guide-arrows button:hover:not(:disabled) { background: #edf5ff; color: var(--focus-blue-deep); }
.redemption-guide[data-guide-paused="true"] :is(.guide-progress>span,.demo-typing-line,.demo-cursor,.demo-json,.demo-shortcut,.demo-payment-done,.demo-redeem-code b,.demo-paste-field pre,.demo-paste-key,.demo-identified,.demo-result-icon path,.demo-result-row strong) { animation-play-state: paused; }
.redemption-guide[data-guide-paused="true"] :is(.demo-typing-line,.demo-paste-field pre,.demo-payment-done,.demo-identified,.demo-result-icon path,.demo-result-row strong,.demo-redeem-code b) { animation: none; opacity: 1; clip-path: none; }
.redemption-guide[data-guide-paused="true"] .demo-shortcut-copy { animation: none; opacity: 1; }
.redemption-guide[data-guide-paused="true"] .demo-json { animation: none; background: #e5f0ff; color: #22568a; }
.redemption-guide[data-guide-paused="true"] :is(.demo-shortcut-select,.demo-paste-key,.demo-cursor) { display: none; }
.help-walkthrough { margin: 0 0 28px; padding: 26px 28px; }
.help-walkthrough h2 { font-size: 20px; font-weight: 650; }
.help-walkthrough .guide-layout { grid-template-columns: 236px minmax(0,1fr); gap: 36px; }
.help-walkthrough .guide-steps button { min-height: 74px; padding: 14px; }
.help-walkthrough .guide-steps strong { font-size: 13px; }
.help-walkthrough .guide-steps small { font-size: 11px; }
.help-walkthrough .guide-screen { height: 356px; }
.help-walkthrough .guide-caption p { min-height: 44px; }
@keyframes guide-progress { to { transform: scaleX(1); } }
@keyframes guide-scene-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes demo-type { 0%,12% { clip-path: inset(0 100% 0 0); } 42%,100% { clip-path: inset(0 0 0 0); } }
@keyframes demo-cursor-tap { 0%,35% { opacity: 0; transform: translate(24px,14px); } 48%,60% { opacity: 1; transform: none; } 65% { opacity: 1; transform: scale(.82); } 70%,85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes demo-select { 0%,18% { background: #fff; color: #536b84; } 38%,100% { background: #e5f0ff; color: #22568a; } }
@keyframes demo-shortcut-select { 0%,18% { opacity: 0; } 23%,45% { opacity: 1; } 55%,100% { opacity: 0; } }
@keyframes demo-shortcut-copy { 0%,52% { opacity: 0; } 58%,100% { opacity: 1; } }
@keyframes demo-late-show { 0%,65% { opacity: 0; transform: translateY(3px); } 78%,100% { opacity: 1; transform: none; } }
@keyframes demo-verified { 0%,10% { opacity: 0; } 25%,100% { opacity: 1; } }
@keyframes demo-paste { 0%,32% { opacity: 0; } 42%,100% { opacity: 1; } }
@keyframes demo-paste-key { 0%,20% { opacity: 0; } 26%,40% { opacity: 1; } 48%,100% { opacity: 0; } }
@keyframes demo-identified { 0%,46% { opacity: 0; } 58%,100% { opacity: 1; } }
@keyframes demo-success { 0%,20% { stroke-dashoffset: 34; } 45%,100% { stroke-dashoffset: 0; } }
@media (max-width: 700px) {
  .guide-layout,.help-walkthrough .guide-layout { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .guide-steps { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 3px; padding-top: 0; }
  .guide-steps button,.help-walkthrough .guide-steps button { flex-direction: column; gap: 7px; padding: 10px 1px; min-height: 68px; border-radius: 11px; }
  .guide-step-label,.guide-step-chevron { display: none; }
  .guide-step-short { display: block; font-size: 10px; white-space: nowrap; }
  .guide-step-number { width: 23px; height: 23px; font-size: 9px; }
  .guide-topline { flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
  .guide-kicker { font-size: 10px; }
  .guide-switch button { padding: 5px 8px; font-size: 10px; }
  .guide-play-controls { gap: 8px; }
  .guide-play,.guide-replay,.guide-switch button { min-height: 40px; }
  .guide-play,.guide-replay { font-size: 10px; }
  .guide-browser-bar { padding: 0 10px; gap: 7px; height: 36px; }
  .guide-address { font-size: 8px; }
  .guide-demo-label { display: none; }
  .guide-screen,.help-walkthrough .guide-screen { height: 360px; padding: 16px; }
  .demo-login-title { font-size: 18px; }
  .demo-login-provider { font-size: 10px; }
  .demo-condition-card { padding: 15px; }
  .demo-condition-row { gap: 8px; font-size: 9px; }
  .demo-json { font-size: 10px; padding: 10px; }
  .demo-payment-card { padding: 15px; }
  .demo-redemption-card .demo-shop-heading { font-size: 15px; }
  .demo-redeem-code { padding: 9px; }
  .demo-redeem-code code { font-size: 10px; }
  .demo-result-card { padding: 22px 16px; }
  .guide-caption { gap: 9px; padding-top: 15px; }
  .guide-caption strong { font-size: 15px; }
  .guide-caption p { font-size: 11px; min-height: 0; }
  .guide-arrows { gap: 4px; }
  .guide-arrows button { width: 44px; height: 44px; }
  .guide-footnote,.guide-security { font-size: 9px; }
  .help-walkthrough { padding: 20px; }
  .redeem-entry { padding: 19px; border-radius: 18px; }
  .redeem-host { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .redemption-guide :is(.guide-scene,.demo-typing-line,.demo-cursor,.demo-json,.demo-shortcut,.demo-payment-done,.demo-redeem-code b,.demo-paste-field pre,.demo-paste-key,.demo-identified,.demo-result-icon path,.demo-result-row strong) { animation: none; }
  .demo-cursor,.demo-shortcut-select,.demo-paste-key { display: none; }
  .demo-shortcut-copy { opacity: 1; }
}

/* Keep the existing walkthrough and destination layout; refine only the material. */
.shop-page .item-redeem-link {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(230,243,255,.72));
  border-color: rgba(119,174,222,.37);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(102,160,211,.08), 0 8px 18px -15px rgba(42,108,165,.3);
}
.shop-page .item-redeem-link:hover { background: linear-gradient(135deg, #fff, rgba(217,237,255,.82)); }
.shop-page .guide-window { border-color: rgba(125,161,193,.22); box-shadow: inset 0 1px 0 #fff, 0 12px 26px -22px rgba(46,91,129,.28); }
.shop-page .guide-steps button[aria-current="step"] { background: var(--glass-blue); border-color: rgba(133,182,225,.33); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(113,159,199,.06); }
.shop-page .guide-switch { background: rgba(216,231,245,.38); box-shadow: inset 0 0 0 .5px rgba(100,141,176,.15); }
.shop-page .guide-switch button[aria-pressed="true"] { background: var(--glass-clear); box-shadow: var(--glass-shadow); }
.shop-page .redeem-entry { border-color: rgba(100,163,218,.4); background: radial-gradient(ellipse at 100% 0, rgba(69,152,231,.09), transparent 70%), linear-gradient(135deg, rgba(255,255,255,.97), rgba(238,248,255,.87)); }
.shop-page :is(#buy-btn, #pay-btn, .redeem-cta)::before {
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.09) 42%, rgba(255,255,255,.08) 70%, rgba(255,255,255,.45));
}
/* Solid fallback preserves readable white CTA text without transparency support. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .shop-page :is(#buy-btn, #pay-btn):not(:disabled), .shop-page .redeem-entry .redeem-cta { background: #0867d5 !important; color: #fff; }
}
@media (prefers-reduced-transparency: reduce) {
  .shop-page :is(#buy-btn, #pay-btn):not(:disabled), .shop-page .redeem-entry .redeem-cta { background: #0867d5 !important; color: #fff; }
  .shop-page :is(.item-redeem-link, .redeem-entry, .guide-window) { background: #fff; }
  .shop-page .guide-steps button[aria-current="step"] { background: #eaf3ff; }
}
