:root {
  color-scheme: light;
  --ink: #24324e;
  --muted: #65748d;
  --line: #dce4f2;
  --paper: #f2f5fc;
  --card: #ffffff;
  --accent: #446ed0;
  --accent-dark: #294fad;
  --danger: #ae454e;
  --blue: #729ff0;
  --lilac: #b4a1e4;
  --rose: #e6b5d0;
}
* { box-sizing: border-box; }
[hidden], .hidden { display: none !important; }
html { min-width: 320px; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 4% 10%, #e3edff 0, transparent 40%),
    radial-gradient(ellipse at 48% 46%, #eee7fa 0, transparent 44%),
    radial-gradient(ellipse at 98% 95%, #e5edfb 0, transparent 42%), var(--paper);
  font: 14px/1.6 "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin: 0; }
button, a, textarea, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid #7094de; outline-offset: 4px; }
::selection { background: #dbe4fc; color: #253855; }
.gp-shell { width: min(1180px, calc(100% - 80px)); margin: 0 auto; }
.gp-topbar { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #cdd8ec80; }
.gp-wordmark { display: flex; align-items: center; gap: 9px; font: 500 23px/1.2 "Trebuchet MS", "Segoe UI", sans-serif; letter-spacing: -.7px; }
.gp-wordmark svg { width: 22px; height: 22px; fill: #638bdb; }
.gp-wordmark-divider { height: 16px; width: 1px; background: #bdcce4; margin: 0 9px; }
.gp-topbar-label { font: 12px/1.4 "Segoe UI", "Microsoft YaHei", sans-serif; letter-spacing: .15em; color: var(--muted); }
.gp-topbar-caption { font-size: 12px; letter-spacing: .18em; color: #73829a; }
.gp-topbar-tools { display: flex; align-items: center; gap: 22px; }
.gp-language { display: inline-flex; align-items: center; flex-shrink: 0; gap: 2px; padding: 3px; border: 1px solid #cbd7eb; border-radius: 10px; background: #ffffff79; }
.gp-language button { border: 0; border-radius: 7px; padding: 7px 9px; min-height: 31px; background: transparent; color: #6e7f9a; font: 500 11px/1.4 "Segoe UI", "Microsoft YaHei", sans-serif; }
.gp-language button[aria-pressed="true"] { color: #3f619c; background: #e5edfbe6; box-shadow: 0 1px 4px #6c85af12; }
.gp-language button:hover { color: #345993; }
.gp-language button:focus-visible { outline: 2px solid #678dd1; outline-offset: 2px; }
.gp-experience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 72px; align-items: start; padding: 66px 0 48px; }
.gp-intro { position: relative; min-width: 0; min-height: 570px; overflow: clip; }
.gp-header { position: relative; z-index: 2; }
.gp-kicker { display: block; font-size: 10px; line-height: 1.4; font-weight: 650; letter-spacing: .21em; color: var(--muted); }
.gp-header .gp-kicker { margin: 9px 0 22px 5px; color: #6d7f9d; }
.gp-header h1 { display: flex; align-items: flex-start; width: fit-content; font: 400 clamp(76px, 7.7vw, 108px)/.97 "Trebuchet MS", "Segoe UI", sans-serif; letter-spacing: -.075em; color: #5a7fc4; background: linear-gradient(112deg, #4385de 5%, #687dd1 43%, #ad7dba 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gp-title-spark { font-size: 31px; margin: 3px 0 0 15px; letter-spacing: 0; -webkit-text-fill-color: #9b9cdb; }
.gp-headline { padding: 22px 0 0 6px; font-size: 26px; font-weight: 400; line-height: 1.65; letter-spacing: .05em; color: #465672; }
.gp-art { position: absolute; top: 137px; right: -28px; width: 355px; height: 355px; pointer-events: none; }
.gp-art::before { content: ""; position: absolute; inset: 55px 20px 25px 55px; border-radius: 50%; background: radial-gradient(ellipse, #c2caf663, transparent 68%); filter: blur(24px); }
.gp-prism { position: absolute; width: 100%; height: 100%; transform: rotate(-12deg); filter: drop-shadow(0 18px 30px #869ed031); }
.gp-orbit { position: absolute; left: -27px; top: 123px; width: 400px; height: 125px; border: 1px solid #aebddd48; border-radius: 50%; }
.gp-orbit-one { transform: rotate(-30deg); }
.gp-orbit-two { transform: rotate(-54deg); border-color: #c2b5de40; width: 360px; height: 170px; top: 102px; left: -9px; }
.gp-small-spark { position: absolute; color: #8ba3d5; line-height: 1; }
.gp-small-spark-one { left: 17px; bottom: 65px; font-size: 24px; }
.gp-small-spark-two { right: 22px; top: 68px; font-size: 13px; color: #bc9cc9; }
.gp-products { position: relative; margin-top: 238px; z-index: 2; }
.gp-product-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 13px; padding: 23px 0 4px 6px; border-top: 1px solid #b9c9e575; }
.gp-product-description { min-width: 0; flex-basis: 100%; }
.gp-product-code { font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.gp-product-card h2 { margin: 8px 0 7px; font-size: clamp(30px, 2.55vw, 34px); line-height: 1.35; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
.gp-product-card p { font-size: 11px; color: var(--muted); }
.gp-product-meta { flex-shrink: 0; max-width: 100%; text-align: left; }
.gp-product-meta [data-stock] { display: inline-block; max-width: 100%; padding: 4px 7px; border: 1px solid #a9c2ef; border-radius: 6px; color: #284c88; background: #e7efff; font-size: 12px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.gp-product-meta [data-stock]::before { content: attr(data-stock-prefix); }
.gp-product-meta [data-stock][data-empty="true"] { color: #a62335; border-color: #e6a0ac; background: #ffe8ec; }
.gp-product-meta [data-stock][data-empty="true"]::before { content: none; }
.gp-panel { min-width: 0; padding: 34px; border: 1px solid #ffffff; border-radius: 28px; background: #ffffffdc; box-shadow: 0 3px 7px #687c9b03, 0 25px 65px -30px #617ca344, inset 0 0 0 1px #e0e7f25c; }
.gp-redeem-panel { position: relative; }
.gp-redeem-panel::before { position: absolute; top: -1px; left: 34px; right: 34px; height: 2px; border-radius: 50%; content: ""; background: linear-gradient(90deg, transparent, #a3c3f5 25%, #baade6 65%, transparent); }
.gp-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.gp-panel-heading h2 { font-size: 27px; font-weight: 600; letter-spacing: -.04em; line-height: 1.4; margin-top: 9px; }
.gp-form-description { font-size: 13px; color: var(--muted); }
.gp-form-status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 23px; padding-bottom: 18px; border-bottom: 1px solid #e8edf6; }
.gp-status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.gp-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #a7b3c8; flex-shrink: 0; }
.gp-status.ready { color: #557c75; }
.gp-status.ready::before { background: #6d9c8d; box-shadow: 0 0 0 3px #6d9c8d0e; }
.gp-status.paused { color: #916f4a; }
.gp-status.paused::before { background: #b99871; }
.gp-delivery-type { font-size: 11px; color: #7b89a0; flex-shrink: 0; }
.gp-delivery-type span[aria-hidden] { margin-left: 6px; color: #8f9ec2; }
#gp-form label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 11px; font-size: 13px; font-weight: 600; }
#gp-form label small { font-size: 10px; font-weight: 400; color: #7b889f; }
#gp-codes { display: block; width: 100%; min-height: 154px; resize: vertical; border: 1px solid #dde5f1; border-radius: 13px; padding: 17px 18px; background: #f7f9fd; color: var(--ink); font: 13px/1.9 "Cascadia Code", Consolas, "Microsoft YaHei", monospace; outline: 0; transition: border-color .2s, box-shadow .2s, background .2s; }
#gp-codes::placeholder { color: #9aa6ba; font-size: 12px; }
#gp-codes:focus { border-color: #8eace1; box-shadow: 0 0 0 3px #88a5e015; background: #fbfcff; }
#gp-codes[readonly] { color: #7e8ba0; }
.gp-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: #8793a8; font-size: 11px; }
.gp-input-tools { display: flex; gap: 16px; }
.gp-link-button { padding: 4px 0; border: 0; background: none; color: #74849f; font-size: 11px; }
.gp-link-button:hover { color: var(--accent); }
.gp-submit-row { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 10px; margin-top: 24px; }
.gp-button { border: 1px solid transparent; border-radius: 11px; padding: 12px 18px; background: #4167b9; color: #fff; min-height: 46px; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .18s, box-shadow .18s, transform .18s; }
.gp-button:hover:not(:disabled) { background: var(--accent-dark); box-shadow: 0 6px 17px #3d63ac21; transform: translateY(-1px); }
.gp-button:active:not(:disabled) { transform: translateY(0); }
.gp-button:disabled { opacity: .46; }
#gp-submit { min-width: 0; min-height: 44px; padding: 10px 14px; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; background: linear-gradient(110deg, #4975c9, #6475c4); box-shadow: 0 5px 18px #5876b928; }
#gp-submit:disabled { opacity: 1; color: #55617a; background: #dfe5f0; box-shadow: none; }
#gp-submit:hover:not(:disabled) { background: linear-gradient(110deg, #3b64b7, #5969b5); }
#gp-submit::after { content: "↗"; padding-left: 14px; font-weight: 400; opacity: .75; }
.gp-button.secondary { color: #5e7294; background: #f2f5fa; border-color: #e6ebf3; box-shadow: none; }
.gp-button.secondary:hover:not(:disabled) { background: #eaf0fa; color: #375c9b; }
.gp-recover-hint { text-align: center; margin-top: 13px; font-size: 10px; color: #8995a9; }
.gp-status-guide { border-top: 1px solid #e8edf6; margin-top: 24px; padding-top: 17px; font-size: 12px; color: var(--muted); }
.gp-status-guide summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #6c7e99; font-size: 11px; }
.gp-status-guide summary::-webkit-details-marker { display: none; }
.gp-status-guide summary::after { content: "+"; font-size: 18px; font-weight: 300; color: #8195b5; }
.gp-status-guide[open] summary::after { content: "−"; }
.gp-status-guide dl { display: grid; gap: 12px; margin: 18px 0 0; }
.gp-status-guide dl > div { display: grid; gap: 2px; }
.gp-status-guide dt { font-weight: 600; color: #4d6183; }
.gp-status-guide dd { margin: 0; line-height: 1.7; }
.gp-status-guide dd, .gp-status-guide dt { overflow-wrap: anywhere; }
.gp-error { margin-top: 16px; color: var(--danger); font-size: 12px; line-height: 1.8; }
.gp-input-note { margin-top: 15px; padding: 11px 13px; border-radius: 10px; color: #546e9e; background: #f0f4fc; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.gp-footer { display: flex; align-items: center; gap: 10px; padding: 23px 0 30px; border-top: 1px solid #cdd8ec80; color: #7d8ca4; font-size: 11px; }
.gp-footer-symbol { color: #8ea4ce; font-size: 17px; }
.gp-footer-label { margin-left: auto; font-size: 9px; letter-spacing: .15em; white-space: nowrap; color: #8e9bb0; }
/* Existing result and dialog behavior is styled without changing its DOM contract. */
.gp-result { margin: 0 0 40px; scroll-margin-top: 25px; }
.gp-result-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.gp-result-actions .gp-button { min-height: 40px; padding: 10px 14px; font-size: 12px; }
.gp-result-summary { padding: 13px 15px; margin: 20px 0; border: 1px solid #e0e8f6; border-radius: 12px; background: #f4f7fd; font-size: 12px; line-height: 1.8; color: #5c7193; }
.gp-items, .gp-result-group { display: grid; gap: 12px; min-width: 0; }
.gp-result-group h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #526583; }
.gp-result-group h3 span { color: #8492a9; font-size: 11px; font-weight: 400; }
.gp-item { min-width: 0; padding: 18px; border: 1px solid #e1e8f3; border-radius: 14px; background: #fcfdff; }
.gp-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gp-item-code { min-width: 0; overflow-wrap: anywhere; font: 11px/1.7 "Cascadia Code", Consolas, monospace; color: #5b6c88; }
.gp-item-status { flex-shrink: 0; color: #4f7980; font-size: 11px; font-weight: 600; }
.gp-item-status.error { color: var(--danger); }
.gp-redeem-reminder { border: 1px solid #dddff7; border-radius: 9px; margin-top: 14px; padding: 10px 13px; color: #5c62a1; background: linear-gradient(100deg, #eef3fd, #f3effb); font-size: 14px; font-weight: 600; }
.gp-delivery { display: grid; grid-template-columns: max-content minmax(0,1fr) auto; align-items: start; gap: 10px; margin-top: 17px; font-size: 11px; }
.gp-delivery > span { color: #334d78; padding-top: 5px; font-size: 17px; font-weight: 800; }
.gp-delivery code { min-width: 0; padding-top: 5px; color: #334d78; font: 600 14px/1.7 "Cascadia Code", Consolas, monospace; overflow-wrap: anywhere; word-break: break-word; user-select: all; }
.gp-copy { min-height: 44px; border: 1px solid #bdd0ef; border-radius: 8px; padding: 9px 12px; color: #36588f; background: #e4edfc; font-size: 16px; font-weight: 700; white-space: nowrap; }
.gp-copy:hover { background: #e4ecfb; }
.gp-link-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.gp-open-link { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; max-width: 100%; border-radius: 8px; border: 1px solid #9cb8e4; padding: 10px 15px; color: #294f8c; background: #e7efff; font-size: 17px; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.gp-open-link:hover { background: #f1f5fc; }
.gp-link-actions > span { color: #8a96ab; font-size: 10px; }
.gp-note { margin-top: 13px; color: #7b899f; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.gp-copy-feedback { min-height: 18px; margin-top: 12px; color: #5671a2; font-size: 11px; }
.gp-pending-tools { padding: 15px; border: 1px solid #e8ddcd; border-radius: 12px; background: #fcf8f1; }
.gp-pending-tools > strong { color: #8e7150; font-size: 13px; }
.gp-pending-tools p { margin: 6px 0 12px; color: #927b5e; font-size: 11px; line-height: 1.8; }
.gp-pending-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-pending-buttons .gp-button { min-height: 38px; padding: 8px 11px; font-size: 11px; }
.gp-card-copy { margin-top: 12px; padding: 7px 11px; min-height: 34px; border: 1px solid #d8e2f3; border-radius: 8px; background: #f0f4fc; color: #5976a6; font-size: 11px; }
.gp-dialog-open { overflow: hidden; }
.gp-delivery-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); margin: auto; padding: 30px; border: 1px solid #fff; border-radius: 25px; color: var(--ink); background: #fafcff; box-shadow: 0 30px 120px #24385838; }
.gp-delivery-dialog[open] { display: flex; flex-direction: column; }
.gp-delivery-dialog::backdrop { background: #27385960; backdrop-filter: blur(9px); }
.gp-dialog-head { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.gp-dialog-heading { min-width: 0; flex: 1; }
.gp-dialog-head .gp-language { margin-left: auto; }
.gp-dialog-head h2 { margin-top: 6px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.gp-dialog-mark { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; border: 1px solid #cdddf5; border-radius: 16px; background: linear-gradient(135deg, #e3edff, #eee4f8); color: #627db8; font-size: 25px; }
.gp-delivery-dialog[data-state="error"] .gp-dialog-mark { color: #b16b70; background: #faedf0; border-color: #eed9df; }
.gp-delivery-dialog[data-state="processing"] .gp-dialog-mark { color: #a08558; background: #faf3e8; border-color: #eee1c9; }
.gp-dialog-summary { flex-shrink: 0; padding: 12px 14px; margin: 20px 0 16px; border: 1px solid #e0e7f4; border-radius: 11px; background: #f0f4fb; font-size: 12px; line-height: 1.8; color: #5c7296; }
.gp-dialog-items { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 0 4px 2px 0; }
.gp-dialog-items > .gp-result-group + .gp-result-group { margin-top: 10px; }
.gp-delivery-dialog > .gp-copy-feedback { flex-shrink: 0; margin: 11px 0; }
.gp-dialog-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; flex-shrink: 0; padding-top: 15px; border-top: 1px solid #e1e7f2; }
.gp-dialog-head h2:focus, .gp-result h2:focus { outline: none; }
@media (max-width: 1100px) and (min-width: 901px) {
  .gp-shell { width: calc(100% - 56px); }
  .gp-experience { gap: 36px; }
  .gp-panel { padding: 27px; }
  .gp-art { width: 300px; height: 300px; top: 175px; right: -15px; }
  .gp-orbit { width: 310px; left: -8px; top: 95px; }
  .gp-orbit-two { width: 290px; top: 70px; }
  .gp-product-card { flex-wrap: wrap; gap: 12px; }
  .gp-product-meta { max-width: 100%; }
}
@media (max-width: 900px) {
  .gp-shell { width: min(620px, calc(100% - 48px)); }
  .gp-topbar { height: 82px; }
  .gp-topbar-caption { display: none; }
  .gp-experience { grid-template-columns: minmax(0,1fr); padding: 37px 0 30px; gap: 25px; }
  .gp-intro { min-height: 0; }
  .gp-header .gp-kicker { margin: 0 0 16px 3px; font-size: 9px; }
  .gp-header h1 { font-size: 86px; }
  .gp-title-spark { font-size: 25px; margin-left: 12px; }
  .gp-headline { padding: 15px 0 0 3px; font-size: 20px; line-height: 1.6; }
  .gp-art { width: 270px; height: 270px; top: 0; right: -10px; }
  .gp-orbit { width: 300px; left: -17px; height: 100px; top: 86px; }
  .gp-orbit-two { width: 270px; height: 140px; left: 0; top: 65px; }
  .gp-small-spark-one { font-size: 20px; bottom: 51px; }
  .gp-small-spark-two { top: 38px; }
  .gp-products { margin-top: 36px; }
  .gp-product-card { padding: 18px 3px 0; }
  .gp-panel { padding: 30px; }
  .gp-footer { align-items: flex-start; gap: 9px; padding: 19px 0 24px; font-size: 10px; }
  .gp-footer-label { display: none; }
}
@media (max-width: 520px) {
  .gp-shell { width: calc(100% - 36px); }
  .gp-topbar { height: 70px; gap: 10px; }
  .gp-topbar-tools { gap: 0; }
  .gp-language { padding: 2px; border-radius: 9px; }
  .gp-language button { min-height: 30px; padding: 6px 7px; font-size: 10px; }
  .gp-wordmark { font-size: 21px; gap: 8px; }
  .gp-wordmark svg { width: 19px; height: 19px; }
  .gp-wordmark-divider { margin: 0 5px; }
  .gp-topbar-label { font-size: 9px; letter-spacing: .03em; white-space: nowrap; }
  .gp-topbar-caption { display: none; }
  .gp-experience { padding-top: 29px; gap: 23px; }
  .gp-header .gp-kicker { font-size: 8px; letter-spacing: .17em; margin-bottom: 13px; }
  .gp-header h1 { font-size: 71px; }
  .gp-title-spark { font-size: 19px; margin-top: 5px; margin-left: 9px; }
  .gp-headline { font-size: 17px; padding-top: 14px; }
  .gp-art { width: 185px; height: 185px; top: 65px; right: -12px; }
  .gp-prism { opacity: .88; }
  .gp-orbit { width: 205px; height: 65px; left: -9px; top: 68px; }
  .gp-orbit-two { width: 185px; height: 95px; left: 0; top: 55px; }
  .gp-small-spark-one { font-size: 15px; left: 6px; bottom: 24px; }
  .gp-small-spark-two { font-size: 9px; top: 30px; right: 10px; }
  .gp-products { margin-top: 39px; }
  .gp-product-card { gap: 12px; align-items: center; padding-top: 16px; }
  .gp-product-code { font-size: 9px; }
  .gp-product-card h2 { font-size: 27px; margin: 7px 0 6px; line-height: 1.35; }
  .gp-product-card p { font-size: 9px; }
  .gp-product-meta [data-stock] { font-size: 11px; padding: 3px 6px; }
  .gp-panel { padding: 24px 21px; border-radius: 22px; }
  .gp-panel-heading h2 { font-size: 24px; }
  .gp-kicker { font-size: 8px; }
  .gp-form-description { font-size: 11px; }
  .gp-form-status { margin-top: 21px; margin-bottom: 19px; padding-bottom: 15px; }
  .gp-status, .gp-delivery-type { font-size: 10px; }
  #gp-form label { font-size: 12px; flex-wrap: wrap; gap: 4px 10px; }
  #gp-form label small { font-size: 9px; }
  #gp-codes { min-height: 136px; padding: 13px 14px; font-size: 12px; }
  #gp-codes::placeholder { font-size: 11px; }
  .gp-submit-row { margin-top: 18px; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
  #gp-submit { font-size: 14px; min-height: 44px; padding: 10px 12px; }
  .gp-button { padding: 11px 13px; min-height: 44px; font-size: 12px; }
  #gp-submit::after { padding-left: 8px; }
  .gp-result .gp-panel-heading { flex-direction: column; }
  .gp-result-actions { justify-content: flex-start; }
  .gp-result { margin-bottom: 25px; }
  .gp-delivery-dialog { width: calc(100% - 20px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 19px; border-radius: 20px; }
  .gp-dialog-head { gap: 10px; flex-wrap: wrap; }
  .gp-dialog-heading { flex-basis: calc(100% - 60px); }
  .gp-dialog-head .gp-language { margin: 2px 0 0 52px; }
  .gp-dialog-head h2 { font-size: 22px; }
  .gp-dialog-mark { width: 42px; height: 42px; border-radius: 13px; font-size: 22px; }
  .gp-dialog-summary { margin-top: 15px; font-size: 11px; }
  .gp-item { padding: 13px; }
  .gp-item-head { flex-direction: column; align-items: flex-start; gap: 5px; }
  .gp-delivery { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .gp-delivery > span { grid-column: 1/-1; }
  .gp-delivery > code { font-size: 14px; }
  .gp-copy { font-size: 15px; padding: 9px 11px; justify-self: start; }
  .gp-redeem-reminder { font-size: 13px; padding: 9px 11px; }
  .gp-link-actions > span { font-size: 9px; }
  .gp-dialog-actions { gap: 8px; }
  .gp-dialog-actions .gp-button { font-size: 11px; padding: 10px 12px; }
  .gp-pending-buttons { display: grid; }
  .gp-pending-buttons .gp-button { width: 100%; }
}
html[lang="en"] .gp-topbar-caption { letter-spacing: .02em; }
html[lang="en"] .gp-product-card h2 { max-width: 440px; }
html[lang="en"] .gp-item-status { max-width: 52%; text-align: right; }
#gp-status { min-width: 0; max-width: 100%; padding: 4px 7px; border: 1px solid #aac0e8; border-radius: 6px; background: #e7efff; color: #294e89; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
#gp-status::before { width: 5px; height: 5px; }
.gp-product-meta [data-stock][data-stock-state="ready"], #gp-status[data-stock-state="ready"] { padding-left: 0; padding-right: 0; border-color: transparent; background: transparent; }
.gp-product-meta [data-stock][data-stock-state="empty"], .gp-product-meta [data-stock][data-stock-state="unavailable"], #gp-status[data-stock-state="empty"], #gp-status[data-stock-state="unavailable"] { color: #a62335; border-color: #e6a0ac; background: #ffe8ec; }
#gp-status[data-stock-state="empty"]::before, #gp-status[data-stock-state="unavailable"]::before { background: #c43c50; }
.gp-product-meta [data-stock][data-stock-state="unknown"], .gp-product-meta [data-stock][data-stock-state="paused"], #gp-status[data-stock-state="unknown"], #gp-status[data-stock-state="paused"] { color: #815619; border-color: #dfbb7b; background: #fff1d8; }
.gp-product-meta [data-stock]:not([data-stock-state="ready"])::before { content: none; }
.gp-result-actions [data-copy-all], .gp-dialog-actions [data-copy-all] { font-size: 16px; font-weight: 700; min-height: 44px; }
@media (max-width: 520px) {
  #gp-status { font-size: 11px; padding: 3px 6px; }
  html[lang="en"] .gp-form-status { align-items: flex-start; }
  html[lang="en"] .gp-item-status { max-width: 100%; text-align: left; }
  html[lang="en"] .gp-dialog-actions .gp-button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
