/* styles.css */
:root {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f5f6f8;
  --ink: #262d35;
  --muted: #737d88;
  --line: #e9ecf0;
  --blue: #337e9f;
  --blue-soft: #edf5f9;
  --green: #337e9f;
  --action: #2b3540;
  --action-hover: #3a4856;
  --action-text: #ffffff;
  --danger: #b4424d;
  --shadow: 0 16px 45px -30px #20324426;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); transition: background .2s, color .2s; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; transition: background .16s, border-color .16s; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.site-header { height: 84px; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1140px; margin: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 23px; letter-spacing: -.7px; font-weight: 700; flex-shrink: 0; }
.brand-light { font-weight: 500; }
.brand-planet { object-fit: contain; width: 42px; height: 42px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.currency-control { position: relative; display: flex; align-items: center; }
.currency-control select { appearance: none; background: var(--surface-soft); border: 0; height: 40px; padding: 0 31px 0 13px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; border-radius: 12px; }
.currency-control option { background: var(--surface); color: var(--ink); }
.currency-control .icon { position: absolute; right: 10px; width: 13px; pointer-events: none; color: var(--muted); }
.icon-button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--surface-soft); }
.icon-button:hover { background: var(--line); }
.theme-toggle .icon { width: 19px; height: 19px; color: var(--muted); }
.header-divider { height: 20px; width: 1px; background: var(--line); margin: 0 8px; }
.login-button { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; border: 0; background: transparent; padding: 11px 12px; border-radius: 12px; }
.login-button:hover { background: var(--surface-soft); }
.login-button .icon { width: 17px; height: 17px; }
.register-button { background: var(--action); color: var(--action-text); border: 0; border-radius: 12px; padding: 12px 17px; font-size: 14px; font-weight: 500; }
.register-button:hover { background: var(--action-hover); }
.page-shell { max-width: 936px; margin: 0 auto; padding: 66px 28px 30px; }
.page-heading { margin-bottom: 30px; }
.category-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 14px; }
.category-label .icon { width: 17px; height: 17px; color: var(--blue); }
h1 { font-size: 36px; line-height: 1.2; letter-spacing: -1.2px; font-weight: 600; margin: 0 0 11px; }
.page-heading p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
.store-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 18px; align-items: start; }
.methods-card, .purchase-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: 0 2px 3px #182c3802; }
.card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.step-number { color: var(--muted); background: var(--surface-soft); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; font-size: 12px; font-weight: 500; flex-shrink: 0; }
h2 { font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.35px; margin: 0; }
.methods { display: flex; flex-direction: column; gap: 10px; }
.method { position: relative; display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 17px; min-height: 82px; padding: 16px; background: var(--surface-soft); text-align: left; }
.method-icon { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--muted); flex-shrink: 0; }
.method-icon .icon { width: 20px; height: 20px; }
.method-description { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.method b { font-size: 14px; font-weight: 600; line-height: 1.4; }
.method b span { font-weight: 400; }
.method small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.method.active { background: var(--blue-soft); border-color: #b9d5e3; }
.method.active .method-icon { background: #dcecf4; color: var(--blue); }
.method.active small { color: var(--blue); }
.selected-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; flex-shrink: 0; }
.selected-check .icon { width: 11px; height: 11px; stroke-width: 2.5; }
.method.unavailable { color: #9ba2aa; }
.method.unavailable .method-icon { color: #abb1b8; background: transparent; }
.method.unavailable small { color: #9ba2aa; }
.method-lock { width: 14px; height: 14px; color: #aab1b9; }
.method-footnote { margin: 24px 0 0; display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 12px; line-height: 1.7; }
.method-footnote .icon { width: 16px; height: 16px; margin-top: 2px; }
.amount-field { display: flex; align-items: center; gap: 12px; background: var(--surface-soft); border: 1px solid transparent; border-radius: 17px; padding: 0 18px; height: 81px; }
.amount-field:focus-within { border-color: #9bbdce; }
.amount-field>.icon { width: 26px; height: 26px; color: var(--blue); }
.amount-field input { font-weight: 500; font-size: 33px; letter-spacing: -.8px; color: var(--ink); border: 0; background: none; min-width: 0; width: 100%; height: 100%; outline: none; appearance: textfield; -moz-appearance: textfield; }
.amount-field input::-webkit-outer-spin-button, .amount-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-field input:focus-visible { outline: none; }
.amount-field>span { font-size: 14px; color: var(--muted); }
.presets { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 10px; }
.presets button { font-size: 14px; font-weight: 500; padding: 11px 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.presets button:hover, .presets button[aria-pressed=true] { background: var(--blue-soft); border-color: #bad2df; color: var(--blue); }
.amount-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.field-hint, .rate { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.rate { white-space: nowrap; }
.error-text { color: var(--danger); font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.price-summary { margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--line); }
.summary-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.summary-line b { display: flex; gap: 5px; align-items: center; color: var(--ink); font-size: 14px; font-weight: 500; }
.summary-line .icon { width: 15px; height: 15px; color: var(--muted); }
.total-line { margin-top: 17px; }
.total-line>span { color: var(--ink); }
.total-line strong { color: var(--ink); font-size: 29px; letter-spacing: -1px; font-weight: 600; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 20px; min-height: 53px; background: var(--action); color: var(--action-text); border: 1px solid transparent; border-radius: 14px; font-size: 15px; font-weight: 500; }
.primary-button:hover:not(:disabled) { background: var(--action-hover); }
.primary-button:disabled { background: var(--surface-soft); color: var(--muted); border-color: var(--line); }
.buy-button { width: 100%; margin-top: 21px; justify-content: space-between; }
.buy-button .icon { width: 19px; height: 19px; }
.card-note { text-align: center; color: var(--muted); font-size: 12px; margin: 13px 0 0; line-height: 1.5; }
.site-footer { max-width: 936px; margin: 0 auto; padding: 0 28px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.site-footer>div { display: flex; flex-direction: column; gap: 3px; }
.footer-brand { font-weight: 500; color: var(--ink); }
.preview-label { font-size: 12px; }
.overline { font-size: 11px; letter-spacing: .8px; font-weight: 500; color: var(--muted); }


.modal{border:1px solid var(--line);border-radius:23px;padding:0;background:var(--surface);color:var(--ink);width:calc(100% - 32px);max-width:510px;max-height:calc(100dvh - 40px);box-shadow:0 25px 100px #0003;overflow:auto}.modal::backdrop{background:#10253565;backdrop-filter:blur(5px)}.modal-shell{padding:28px}.modal-header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:22px}.modal-header h2{font-size:25px;margin:2px 0 0}.modal-header .icon-button{width:34px;height:34px;border:0;background:var(--surface-soft);flex-shrink:0}.modal-subtitle{color:var(--muted);font-size:14px;line-height:1.65;margin:10px 0 22px}.flow-steps{display:flex;gap:10px;margin:0 0 24px;padding:0;list-style:none}.flow-steps li{flex:1;display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted);border-bottom:2px solid var(--line);padding-bottom:11px}.flow-steps li span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--surface-soft);font-size:10px;font-weight:800}.flow-steps li.current{color:var(--blue);border-color:var(--blue);font-weight:800}.flow-steps li.current span{background:var(--blue-soft);color:var(--blue)}.flow-steps li.complete{color:var(--green);border-color:#a7d45f}.order-chip{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;background:var(--surface-soft);border-radius:12px;font-size:13px;margin-bottom:22px}.order-chip strong{display:flex;align-items:center;gap:7px}.order-chip .icon{width:18px;height:18px;color:var(--blue)}.order-chip>span{font-size:12px;color:var(--muted)}.form-label{font-size:14px;font-weight:700;display:block;margin-bottom:9px}.text-input{width:100%;height:49px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft);color:var(--ink);padding:0 14px;font-size:15px;min-width:0}.text-input:focus{border-color:var(--blue)}.search-row{display:flex;gap:8px}.search-row .primary-button{min-height:49px;padding:12px 15px}.demo-note{font-size:12px;line-height:1.6;color:var(--muted);background:var(--surface-soft);border-radius:10px;padding:11px 13px;margin:15px 0}.demo-note b{font-weight:700;color:var(--ink)}.search-status{font-size:14px;line-height:1.6;color:var(--muted);padding:22px 8px;text-align:center}.profile-results{display:flex;flex-direction:column;gap:9px;margin:15px 0;max-height:240px;overflow:auto}.profile-option{display:flex;align-items:center;gap:12px;width:100%;background:var(--surface);border:1px solid var(--line);padding:12px;border-radius:12px;text-align:left}.profile-option:hover{background:var(--surface-soft)}.profile-option.selected{border-color:var(--blue);background:var(--blue-soft)}.avatar{display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);border-radius:13px;width:51px;height:51px;flex-shrink:0;overflow:hidden}.avatar .icon{width:26px;height:26px}.avatar img{width:100%;height:100%;object-fit:cover}.profile-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.profile-text b{font-size:14px;overflow-wrap:anywhere}.profile-text small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.selection-circle{width:20px;height:20px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;flex-shrink:0}.profile-option.selected .selection-circle{background:var(--blue);color:#fff;border-color:var(--blue)}.selection-circle .icon{width:13px;height:13px}.modal-actions{display:flex;gap:10px;margin-top:23px}.modal-actions>.primary-button{flex:1}.secondary-button{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:14px 17px;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px}.secondary-button:hover{background:var(--surface-soft)}.secondary-button .icon{width:17px;height:17px}.confirm-profile{text-align:center;padding:22px 15px;background:var(--surface-soft);border-radius:16px}.confirm-profile .avatar{width:86px;height:86px;border-radius:22px;margin:0 auto 12px;background:var(--surface)}.confirm-profile .avatar .icon{width:43px;height:43px}.confirm-profile h3{font-size:21px;margin:0 0 5px;overflow-wrap:anywhere}.confirm-profile p{font-size:14px;color:var(--muted);margin:0 0 12px;overflow-wrap:anywhere}.profile-link{font-size:12px;color:var(--blue);text-decoration:underline;text-underline-offset:3px}.checkbox-row{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:20px 0 0;cursor:pointer}.checkbox-row input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--blue);flex-shrink:0}.review-list{margin:18px 0 0}.review-list>div{display:flex;justify-content:space-between;gap:18px;font-size:14px;padding:13px 0;border-bottom:1px solid var(--line)}.review-list dt{color:var(--muted)}.review-list dd{font-weight:700;margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.review-total{font-size:20px!important;border-bottom:0!important}.review-total dd{font-size:25px}.status-panel{border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;align-items:flex-start;gap:10px;margin-top:16px;font-size:13px;line-height:1.6;color:var(--muted)}.status-panel .icon{color:var(--blue);width:19px;height:19px;margin-top:2px}.auth-tabs{display:flex;background:var(--surface-soft);padding:4px;border-radius:12px;margin:20px 0 23px}.auth-tabs button{width:50%;background:transparent;border:0;border-radius:9px;padding:10px;font-size:14px;font-weight:700;color:var(--muted)}.auth-tabs button[aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:0 2px 5px #00000008}.form-group{margin-bottom:17px}.password-wrap{position:relative}.password-wrap input{padding-right:80px}.password-toggle{position:absolute;right:8px;top:8px;border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:700;height:33px;padding:0 5px}.auth-submit{width:100%;margin-top:22px}.auth-note{font-size:12px;color:var(--muted);line-height:1.6;text-align:center;margin-bottom:0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);padding:15px 22px;border-radius:13px;max-width:calc(100% - 32px);z-index:10;font-size:14px;box-shadow:var(--shadow)}body:has(dialog[open]){overflow:hidden}


.modal { border-radius: 24px; }
.modal-header h2 { font-weight: 600; letter-spacing: -.6px; }
.flow-steps li { font-size: 12px; }
.flow-steps li.complete { color: var(--blue); border-color: #bad2df; }
.checkbox-row { font-size: 14px; }
.secondary-button { border-radius: 14px; font-weight: 500; }
.auth-tabs button { font-weight: 500; }
.text-input { border-radius: 13px; height: 51px; }
.confirm-profile h3 { font-weight: 600; }
.password-toggle { font-size: 12px; }
.order-chip { flex-wrap: wrap; row-gap: 6px; }
.text-button { display: inline; padding: 0; background: transparent; border: 0; color: var(--blue); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.spinner { width: 20px; height: 20px; border: 2px solid #ffffff40; border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[data-theme=dark] { color-scheme: dark; --bg: #15191e; --surface: #1d232a; --surface-soft: #252c34; --ink: #e5eaf0; --muted: #9ba5b0; --line: #303842; --blue: #8fbad1; --blue-soft: #273540; --green: #8fbad1; --action: #b2ccda; --action-hover: #c3d9e4; --action-text: #202c34; --shadow: 0 20px 50px -25px #0008; --danger: #ee98a0; }
[data-theme=dark] .method.active { border-color: #4c697a; }
[data-theme=dark] .method.active .method-icon { background: #354a57; }
[data-theme=dark] .selected-check { color: #1e2d36; }
[data-theme=dark] .method.unavailable, [data-theme=dark] .method.unavailable small, [data-theme=dark] .method.unavailable .method-icon { color: #7d8792; }
[data-theme=dark] .presets button[aria-pressed=true], [data-theme=dark] .presets button:hover { border-color: #4c697a; }
@media(min-width:1600px) { .page-shell { padding-top: 86px; } }
@media(max-width:900px) { .store-layout { grid-template-columns: .88fr 1.12fr; gap: 14px; } .methods-card,.purchase-card { padding: 22px; } .method { padding: 14px 12px; gap: 10px; } .method-icon { width: 33px; height: 33px; } .method b { font-size: 13px; } .page-shell { padding-top: 48px; } }
@media(max-width:700px) { .site-header { height: 74px; } .header-inner { padding: 0 20px; gap: 12px; } .brand { font-size: 22px; } .brand-planet { width: 37px; height: 37px; } .register-button { display: none; } .header-divider { margin: 0 3px; } .header-actions { gap: 6px; } .login-button { padding: 11px 7px; } .page-shell { padding: 37px 20px 23px; } .page-heading { margin-bottom: 24px; } h1 { font-size: 32px; } .page-heading p { font-size: 15px; } .category-label { margin-bottom: 11px; } .store-layout { display: flex; flex-direction: column; gap: 14px; } .methods-card, .purchase-card { width: 100%; border-radius: 21px; padding: 23px; } .card-heading { margin-bottom: 20px; } .methods { flex-direction: row; gap: 8px; } .method { width: 33.333%; min-height: 119px; flex-direction: column; align-items: flex-start; gap: 10px; border-radius: 15px; padding: 13px 12px; } .method-icon { width: 28px; height: 28px; border-radius: 9px; background: transparent; } .method.active .method-icon { background: transparent; } .method-description { gap: 5px; } .method b { font-size: 14px; } .method b span { font-size: 12px; } .method small { font-size: 11px; } .selected-check, .method-lock { position: absolute; top: 16px; right: 12px; } .selected-check { width: 15px; height: 15px; } .selected-check .icon { width: 9px; height: 9px; } .method-lock { width: 12px; height: 12px; } .method-footnote { margin-top: 15px; font-size: 12px; } .method-footnote span { max-width: 300px; } .amount-field { height: 77px; } .price-summary { margin-top: 23px; } .site-footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 24px 28px; } .site-footer>div { flex-direction: row; gap: 8px; flex-wrap: wrap; } .preview-label { font-size: 11px; } }
@media(max-width:430px) { .header-inner { padding: 0 14px; gap: 6px; } .brand { font-size: 20px; gap: 3px; } .brand-planet { width: 33px; height: 33px; } .header-divider, .login-button .icon { display: none; } .header-actions { gap: 5px; } .currency-control select { font-size: 12px; padding-left: 10px; padding-right: 26px; } .currency-control .icon { right: 8px; width: 12px; } .icon-button { width: 36px; height: 40px; } .login-button { font-size: 13px; padding-left: 7px; padding-right: 2px; } .page-shell { padding-left: 16px; padding-right: 16px; padding-top: 30px; } h1 { font-size: 30px; } .methods-card,.purchase-card { padding: 21px; } h2 { font-size: 16px; } .method { padding: 12px 9px; min-height: 116px; } .method b { font-size: 12px; } .method b span { font-size: 10px; } .method small { font-size: 10px; } .selected-check,.method-lock { right: 9px; } .amount-meta { gap: 5px; } .amount-meta .field-hint, .rate { font-size: 11px; } .modal-shell { padding: 23px; } .flow-steps { gap: 6px; } .flow-steps li { font-size: 10px; gap: 5px; } .flow-steps li span { width: 18px; height: 18px; } .modal-actions { gap: 8px; } .modal-actions .primary-button,.modal-actions .secondary-button { font-size: 13px; padding: 14px; } }
@media(max-width:360px) { .header-actions { gap: 3px; } .brand { font-size: 18px; } .brand-planet { width: 29px; height: 29px; } .currency-control select { padding-left: 8px; padding-right: 23px; font-size: 11px; } .login-button { font-size: 12px; } .methods-card,.purchase-card { padding: 17px; } .method { padding: 11px 7px; } .method b { font-size: 11px; } .method b span { font-size: 10px; } .method-footnote { font-size: 11px; } .modal-shell { padding: 18px; } }
@media(max-width:700px) {
  .methods { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .method { width:100%; min-height:84px; flex-direction:row; align-items:center; padding:13px 10px; gap:8px; }
  .method.active { grid-column:1 / -1; min-height:65px; padding:13px; }
  .method-description { min-width:0; }
  .method b,.method b span { font-size:14px; }
  .method small { font-size:12px; }
  .method-icon { width:24px; height:28px; }
  .method.active .method-icon { width:32px; height:32px; background:#dcecf4; }
  .selected-check { position:static; width:18px; height:18px; }
  .selected-check .icon { width:11px; height:11px; }
  .method-lock { display:none; }
  .method-footnote { font-size:12px; }
  .flow-steps li { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* planet-theme.css */
/* Blue water, soft evergreen and neutral surfaces. */
:root{--bg:#f6f7f9;--surface:#fff;--surface-soft:#f2f4f7;--ink:#263347;--muted:#778292;--line:#e4e8ee;--blue:#386dbe;--blue-soft:#edf3ff;--green:#32876b;--green-soft:#ecf6f0;--green-line:#bcdccc;--action:#386dbe;--action-hover:#2b5dae;--action-text:#fff;--brand-gradient:linear-gradient(105deg,#3066bd,#4381ce);--brand-gradient-hover:linear-gradient(105deg,#285aab,#3673bd);--focus:#92afd7;--shadow:0 10px 30px -24px #26334730}
[data-theme=dark]{--bg:#111720;--surface:#1a222e;--surface-soft:#222d3b;--ink:#e4ebf5;--muted:#98a6b9;--line:#2d3949;--blue:#8bb4f0;--blue-soft:#24354d;--green:#88c4ac;--green-soft:#223b34;--green-line:#416856;--action:#467cce;--action-hover:#548bdf;--action-text:#fff;--brand-gradient:linear-gradient(105deg,#396bbd,#4c84d1);--brand-gradient-hover:linear-gradient(105deg,#4277cd,#5892df);--focus:#6488b6}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{min-height:100dvh;display:flex;flex-direction:column;background:var(--bg)}
.site-header{background:var(--surface);height:80px;flex-shrink:0}
.header-inner{max-width:1110px}
.brand{letter-spacing:-.8px;color:var(--ink);font-weight:700}
.brand-light{color:#2181a7;font-weight:500}
[data-theme=dark] .brand-light{color:#72bedc}
.brand-planet{width:42px;height:42px;margin-right:1px}
.page-shell{width:100%;max-width:996px;padding:45px 28px 64px;flex:1}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px;padding:0 2px}
.page-heading h1{font-size:36px;letter-spacing:-1.3px;font-weight:600;margin-bottom:9px}
.heading-dot{color:var(--green)}
.page-heading p{font-size:14px;color:var(--muted)}
.heading-help{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.heading-help .icon{width:17px;height:17px;transform:rotate(45deg)}
.heading-help:hover{color:var(--blue)}
.store-layout{grid-template-columns:1fr 1.12fr;gap:20px;align-items:stretch}
.methods-card,.purchase-card{border-radius:24px;padding:27px;box-shadow:var(--shadow);border-color:var(--line)}
.methods-card{display:flex;flex-direction:column}
.card-heading{margin-bottom:25px;gap:11px}
.card-heading h2{font-size:16px}
.step-number{color:var(--muted);background:var(--surface-soft);border-radius:8px;font-size:11px;width:25px;height:25px}
.purchase-card .step-number{background:var(--blue-soft);color:var(--blue)}
.methods{flex:1;gap:12px}
.method-item{position:relative;flex:1;display:flex}
.method{width:100%;min-height:105px;border-radius:16px;gap:12px;padding:18px 38px 18px 16px}
.method-help{position:absolute;right:13px;top:15px;width:20px;height:20px;display:grid;place-items:center;font-size:12px;font-weight:500;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:var(--surface);z-index:1}
.method-help:hover{background:var(--blue-soft);border-color:var(--focus);color:var(--blue)}
.method.active,[data-theme=dark] .method.active{background:var(--green-soft);border-color:var(--green-line)}
.method.active .method-icon,[data-theme=dark] .method.active .method-icon{background:var(--surface);color:var(--green);width:41px;height:41px;border-radius:12px;border:1px solid var(--green-line)}
.method.active b{color:var(--ink)}
.method b{font-size:15px}
.method b span{font-size:12px;font-weight:400;color:var(--green)}
.method small{font-size:12px;line-height:1.5}
.method.active small{color:var(--green)}
.method.unavailable{background:var(--surface-soft);border-color:transparent}
.method.unavailable small,[data-theme=dark] .method.unavailable small{color:var(--muted)}
.unavailable-label{font-size:11px;color:var(--muted);opacity:.7;margin-top:3px}
.method-description{gap:5px}
.method-lock{display:none}
.stock-note{display:flex;align-items:center;justify-content:flex-end;gap:7px;color:var(--green);font-size:11px;margin:-11px 1px 13px}
.stock-note:before{content:'';width:5px;height:5px;background:var(--green);border-radius:50%}
.stock-note b{font-weight:500}
.amount-field{height:84px;border:1px solid var(--line);background:var(--surface-soft);border-radius:16px}
.amount-field:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px #467acb0d}
.amount-field>.icon{color:var(--blue);width:28px;height:28px}
.amount-field input{font-size:35px;font-weight:500}
.slider-control{margin:22px 1px 18px}
.slider-control input{appearance:none;-webkit-appearance:none;display:block;touch-action:pan-y;width:100%;height:5px;border-radius:20px;cursor:pointer;margin:0;background:linear-gradient(to right,var(--blue) var(--range-progress,20%),var(--line) var(--range-progress,20%))}
.slider-control input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:19px;height:19px;border:4px solid var(--surface);border-radius:50%;background:var(--blue);box-shadow:0 0 0 1px var(--focus),0 2px 5px #26334720}
.slider-control input::-moz-range-thumb{width:11px;height:11px;border:4px solid var(--surface);border-radius:50%;background:var(--blue);box-shadow:0 0 0 1px var(--focus)}
.slider-control input:focus-visible{outline:2px solid var(--focus);outline-offset:8px}
.slider-limits{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:13px}
.presets{margin-top:0;gap:8px}
.presets button{background:var(--surface);border-color:var(--line);border-radius:10px;font-weight:500;font-size:13px}
.presets button[aria-pressed=true],[data-theme=dark] .presets button[aria-pressed=true]{background:var(--blue-soft);border-color:var(--focus);color:var(--blue)}
.presets button:hover,[data-theme=dark] .presets button:hover{background:var(--blue-soft);border-color:var(--focus)}
.amount-meta .field-hint{display:none}
.amount-meta{justify-content:flex-end;margin-top:12px}
.price-summary{margin-top:22px;padding-top:20px}
.total-line strong{font-size:30px}
.primary-button,.register-button{background:var(--brand-gradient);color:var(--action-text);box-shadow:0 5px 12px -8px #3066bd60}
.primary-button:hover:not(:disabled),.register-button:hover{background:var(--brand-gradient-hover)}
.primary-button:disabled{background:var(--surface-soft);box-shadow:none}
.register-button{border-radius:11px}
.buy-button{border-radius:13px}
.card-note{font-size:11px}
.recent-section{margin-top:36px;min-width:0}
.recent-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;padding:0 2px}
.recent-heading h2{font-size:20px;font-weight:600}
.recent-viewport{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:15px;position:relative;padding:1px 0}
.recent-viewport::-webkit-scrollbar{display:none}
.recent-viewport.is-carousel{overflow:hidden}
.recent-viewport.is-carousel:after{content:'';pointer-events:none;position:absolute;inset:0 0 0 auto;width:18px;background:linear-gradient(90deg,transparent,var(--bg))}
.recent-viewport:focus-visible{outline:2px solid var(--focus);outline-offset:5px}
.recent-track{display:flex;width:max-content;gap:12px}
.recent-viewport.is-carousel .recent-track{will-change:transform}
.recent-group{display:flex;flex:0 0 auto;gap:12px}
.purchase-tile{flex:0 0 200px;width:200px;padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.recent-profile{display:flex;gap:10px;align-items:center}
.recent-avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#eaf0f9;color:var(--blue);flex-shrink:0;overflow:hidden}
.recent-avatar img{width:100%;height:100%;object-fit:contain}
.recent-avatar .icon{width:25px;height:25px}
.recent-avatar.tone-1{background:#eaf2eb}
.recent-avatar.tone-2{background:#f2ece5}
.recent-avatar.tone-3{background:#eeecf7}
[data-theme=dark] .recent-avatar{background:#344258}
[data-theme=dark] .recent-avatar.tone-1{background:#304b3e}
[data-theme=dark] .recent-avatar.tone-2{background:#4b403a}
[data-theme=dark] .recent-avatar.tone-3{background:#433d56}
.recent-profile>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.recent-username{font-size:13px;font-weight:500;color:var(--ink);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent-method{display:inline-flex;align-items:center;align-self:flex-start;gap:3px;font-size:11px;color:var(--green);background:var(--green-soft);border-radius:6px;padding:3px 6px}
.recent-method .icon{width:12px;height:12px}
.recent-value{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.recent-value>span:first-child{font-size:11px;color:var(--muted)}
.recent-amount{display:flex;align-items:center;gap:5px;font-weight:600;font-size:16px;color:var(--ink);white-space:nowrap}
.recent-amount .icon{color:var(--green);width:19px;height:19px}
.benefits-section,.faq-section{margin-top:45px}
.section-heading{margin-bottom:20px}
.section-heading>span{font-size:10px;letter-spacing:1.4px;color:var(--muted)}
.section-heading h2{font-size:26px;letter-spacing:-.7px;margin:7px 0 0;font-weight:600}
.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.benefit-card{padding:23px;border-radius:21px;background:var(--surface);border:1px solid var(--line)}
.benefit-icon{display:grid;place-items:center;width:39px;height:39px;background:var(--blue-soft);border-radius:12px;color:var(--blue);margin-bottom:18px}
.benefit-icon.green{background:var(--green-soft);color:var(--green)}
.benefit-card:nth-child(3) .benefit-icon{background:var(--green-soft);color:var(--green)}
.benefit-card h3{font-size:15px;font-weight:500;line-height:1.5;margin:0 0 10px}
.benefit-card p{font-size:13px;line-height:1.8;color:var(--muted);margin:0}
.faq-list{display:flex;flex-direction:column;gap:9px}
.faq-list details{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden;scroll-margin-top:24px}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none;padding:21px 24px;font-size:15px;font-weight:500;cursor:pointer}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary>.icon{color:var(--blue);width:18px;height:18px;flex-shrink:0}
.faq-list details[open] summary>.icon{transform:rotate(45deg)}
.faq-list details[open]{border-color:var(--focus)}
.faq-list details[open] summary{color:var(--blue)}
.faq-list summary:focus-visible{outline:2px solid var(--focus);outline-offset:-3px;border-radius:15px}
.faq-answer{padding:0 24px 22px;color:var(--muted);font-size:14px;line-height:1.8}
.faq-answer p{margin:0 0 12px}.faq-answer p:last-child{margin-bottom:0}
.faq-answer a{color:var(--blue);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.site-footer{max-width:none;width:100%;padding:0;margin:0;background:var(--surface);border-top:1px solid var(--line);display:block;flex-shrink:0}
.site-footer>.footer-inner{display:block;max-width:1050px;margin:0 auto;padding:37px 28px 20px}
.footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:35px;padding-bottom:30px}
.footer-identity .brand{font-size:22px}
.footer-identity p{font-size:13px;color:var(--muted);margin:10px 0 0 6px}
.footer-navigation{display:flex;flex-direction:column;gap:12px;padding-top:8px;font-size:14px}
.footer-navigation a,.footer-navigation button{color:var(--muted);background:transparent;border:0;text-align:left;padding:0;font-size:14px;line-height:1.5}
.footer-navigation a:hover,.footer-navigation button:hover{color:var(--blue)}
.footer-currencies{padding-top:8px;font-size:13px;color:var(--muted)}
.footer-currencies>div{display:flex;gap:8px;margin-top:12px}
.footer-currencies button{border:1px solid var(--line);background:var(--surface);border-radius:10px;font-size:13px;padding:9px 12px;color:var(--muted)}
.footer-currencies button[aria-pressed=true]{border-color:var(--focus);background:var(--blue-soft);color:var(--blue)}
.footer-bottom{border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--muted)}
.currency-control{position:relative}
.currency-trigger{display:flex;align-items:center;gap:10px;min-width:88px;padding:11px 12px;border:1px solid transparent;border-radius:11px;background:var(--surface-soft);font-size:13px;color:var(--ink)}
.currency-trigger>span{white-space:nowrap}
.currency-trigger:hover,.currency-trigger[aria-expanded=true]{background:var(--blue-soft);border-color:var(--line)}
.currency-control .currency-trigger>.icon{position:static;width:13px;height:13px;color:var(--muted)}
.currency-trigger[aria-expanded=true]>.icon{transform:rotate(180deg)}
.currency-menu{position:absolute;right:0;top:calc(100% + 9px);min-width:192px;padding:7px;border:1px solid var(--line);background:var(--surface);border-radius:17px;box-shadow:0 12px 35px #243e5324;z-index:30}
.currency-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:11px;background:transparent;text-align:left}
.currency-menu button:hover,.currency-menu button:focus-visible{background:var(--surface-soft);outline:0}
.currency-menu button[aria-selected=true]{background:var(--blue-soft)}
.currency-symbol{display:grid;place-items:center;width:33px;height:33px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--blue);font-size:17px}
.currency-menu button>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}
.currency-menu b{font-size:14px;font-weight:500;color:var(--ink)}
.currency-menu small{font-size:11px;color:var(--muted)}
.currency-control .currency-menu .icon{position:static;width:16px;height:16px;visibility:hidden;color:var(--blue)}
.currency-menu button[aria-selected=true]>.icon{visibility:visible}
.checkout-modal{max-width:650px}
.checkout-modal .modal-shell{padding:34px}
.modal{border-color:var(--line);box-shadow:0 25px 95px #17263830}
.modal::backdrop{background:#17263865;backdrop-filter:blur(6px)}
.modal-header{margin-bottom:26px}.modal-header h2{font-size:27px}
.flow-steps{gap:17px;margin-bottom:27px}
.flow-steps li{font-size:13px;gap:8px}
.flow-steps li.current{border-color:var(--blue)}
.flow-steps li.current span{background:var(--blue-soft)}
.flow-steps li.complete{border-color:var(--green-line);color:var(--green)}
.order-chip{background:var(--surface-soft);padding:14px 17px;border-radius:13px}
.search-row{gap:9px}
.text-input:focus,.text-input:focus-visible{outline:none;outline-offset:0;border-color:var(--focus);box-shadow:0 0 0 3px #467acb0d;background:var(--surface)}
.text-input{transition:border-color .16s,box-shadow .16s;background:var(--surface-soft);border-color:var(--line)}
.search-row .primary-button{min-width:53px;box-shadow:none;border-radius:13px}
.form-label{font-weight:500}
.search-status{min-height:64px;display:grid;place-items:center;padding:23px 15px;color:var(--muted);font-size:14px}
.profile-results{margin:20px 0}
.profile-option.selected{border-color:var(--focus);background:var(--blue-soft)}
.form-status{font-size:13px;line-height:1.6;padding:13px;border-radius:11px;background:var(--surface-soft);color:var(--muted)}
button:focus-visible,a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.currency-menu button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
@media(max-width:900px){
.page-shell{padding-top:35px}.methods-card,.purchase-card{padding:23px}.store-layout{gap:16px}
.method{padding:14px 33px 14px 12px;gap:9px}.method-icon{width:29px}
.method.active .method-icon{width:35px;height:35px}.method b{font-size:14px}
.footer-top{gap:24px}.benefit-card{padding:20px}
}
@media(max-width:700px){
.site-header{height:72px}.page-shell{padding:30px 18px 42px}
.page-heading{margin-bottom:23px;align-items:flex-start}.page-heading h1{font-size:31px;letter-spacing:-1px}
.page-heading p{font-size:12px}.heading-help{font-size:11px;margin-top:12px;gap:5px}.heading-help .icon{width:14px}
.store-layout{gap:15px}.methods-card,.purchase-card{padding:23px;border-radius:22px}
.methods{display:grid;grid-template-columns:1fr 1fr;gap:9px}.method-item:first-child{grid-column:1/-1}
.method{width:100%;min-height:101px;padding:13px 26px 13px 13px;gap:9px;flex-direction:row}
.method.active{min-height:74px;padding:13px 39px 13px 14px;align-items:center}
.method b{font-size:14px}.method small{font-size:11px}.method.active .method-description{gap:3px}
.method.active .method-icon{width:34px;height:34px}.method.unavailable .method-icon{display:none}
.unavailable-label{font-size:10px}.method-help{right:10px;top:13px;width:17px;height:17px;font-size:10px}
.method-item:first-child .method-help{top:26px;right:15px;width:20px;height:20px;font-size:12px}
.card-heading{margin-bottom:20px}.amount-field{height:76px}.amount-field input{font-size:32px}
.recent-section{margin-top:30px}.recent-heading h2{font-size:19px}.purchase-tile{width:184px;flex-basis:184px}
.benefits-section,.faq-section{margin-top:34px}.benefits-grid{grid-template-columns:1fr;gap:11px}
.benefit-card{display:grid;grid-template-columns:38px 1fr;gap:0 16px;padding:22px}
.benefit-icon{grid-row:1/3;margin:0;width:38px;height:38px}.benefit-card h3{font-size:16px;margin-bottom:7px}.benefit-card p{font-size:14px}
.section-heading h2{font-size:24px}.faq-list summary{padding:19px 20px;font-size:14px}.faq-answer{padding:0 20px 19px;font-size:14px}
.footer-top{display:grid;grid-template-columns:1fr 1fr;gap:27px 20px;padding-bottom:24px}
.footer-identity{grid-column:1/-1}.site-footer>.footer-inner{padding:28px 22px 20px}
.footer-identity p{margin-top:7px}.footer-navigation{gap:11px}.footer-currencies>div{flex-direction:column;align-items:flex-start;gap:7px}
.footer-currencies button{width:100px;text-align:left}.footer-bottom{font-size:11px}
.checkout-modal .modal-shell{padding:25px}.modal-header h2{font-size:24px}.flow-steps{gap:10px}.flow-steps li{font-size:12px}
.currency-menu{right:-37px;min-width:185px}.currency-trigger{min-width:79px;padding:11px 10px;font-size:12px;gap:7px}.brand-planet{width:37px;height:37px}
}
@media(max-width:430px){
.purchase-tile{width:164px;flex-basis:164px;padding:12px}.recent-avatar{width:40px;height:40px}.recent-profile{gap:8px}.recent-username{font-size:12px}
.header-inner{padding:0 15px;gap:9px}.brand{font-size:20px;gap:4px}.brand-planet{width:33px;height:33px}
.header-actions{gap:5px}.header-divider{display:none}.header-actions .theme-toggle{width:34px;height:38px}.login-button{padding:10px 4px;width:28px;height:38px;justify-content:center}.login-button .icon{display:block;width:18px;height:18px}.login-button span{display:none}
.page-shell{padding-left:15px;padding-right:15px}.page-heading{gap:12px}.heading-help{font-size:0;gap:0;margin-top:10px;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;justify-content:center}.heading-help .icon{width:16px}
.methods-card,.purchase-card{padding:21px}.method small{font-size:11px}.modal-shell,.checkout-modal .modal-shell{padding:22px}
.flow-steps{gap:7px}.flow-steps li{font-size:11px;gap:5px}.modal-header h2{font-size:23px}
}
@media(max-width:360px){
.currency-trigger{min-width:68px;font-size:11px;padding-left:8px;padding-right:8px;gap:5px}.brand-planet{width:29px;height:29px}
.methods-card,.purchase-card{padding:17px}.checkout-modal .modal-shell{padding:18px}.flow-steps li{font-size:10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* legal.css */
.footer-legal-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:18px 0 0;border-top:1px solid var(--line);margin-top:18px;font-size:12px;line-height:1.6;color:var(--muted)}
.footer-legal-links a:hover,.legal-notice a:hover{color:var(--blue)}
.footer-legal-links .support-email{margin-left:auto;overflow-wrap:anywhere}
.legal-notice{font-size:12px;line-height:1.7;color:var(--muted);margin:16px 0 0}
.legal-notice a{text-decoration:underline;text-underline-offset:3px;color:var(--blue)}
.legal-page .header-inner{min-height:76px}
.legal-page .header-actions a{font-size:13px;text-decoration:none}
.legal-shell{max-width:1060px;width:100%;margin:0 auto;padding:56px 28px 70px;flex:1}
.legal-heading{max-width:760px;margin:0 0 34px}
.legal-heading .overline{font-size:11px;letter-spacing:1.8px;color:var(--muted)}
.legal-heading h1{font-size:clamp(28px,4vw,42px);line-height:1.18;letter-spacing:-1.1px;margin:16px 0}
.legal-heading p{color:var(--muted);font-size:14px;line-height:1.8}
.legal-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:32px;align-items:start}
.legal-toc{position:sticky;top:24px;display:grid;gap:14px;font-size:13px;line-height:1.5}
.legal-toc a{color:var(--muted);text-decoration:none}
.legal-toc a:hover{color:var(--blue)}
.legal-document{min-width:0;padding:34px;background:var(--surface);border:1px solid var(--line);border-radius:22px}
.legal-document section{scroll-margin-top:30px}
.legal-document section+section{margin-top:30px;padding-top:26px;border-top:1px solid var(--line)}
.legal-document h2{font-size:19px;line-height:1.4;margin:0 0 14px}
.legal-document p,.legal-document li{font-size:14px;line-height:1.85;color:var(--ink)}
.legal-document p{margin:10px 0}
.legal-document ul,.legal-document ol{padding-left:22px;margin:12px 0}
.legal-document li+li{margin-top:9px}
.legal-document a{color:var(--blue);text-underline-offset:3px;overflow-wrap:anywhere}
.legal-contact{padding:18px 20px;background:var(--blue-soft);border-radius:14px;margin:0 0 28px}
.legal-contact p{margin:5px 0}
.legal-contact a{font-size:16px;font-weight:600}
.legal-page .footer-inner{max-width:1060px}
.legal-page .footer-legal-links{margin:0;padding:0;border:0}
.legal-page .footer-bottom{margin-top:22px}
.legal-skip{position:absolute;left:18px;top:-60px;padding:12px;background:var(--surface);z-index:20}
.legal-skip:focus{top:10px}
.footer-top{display:grid;grid-template-columns:minmax(190px,1fr) minmax(150px,.75fr) minmax(210px,1fr);gap:28px}
.footer-support{min-width:0;padding-top:8px}
.footer-support h2{font-size:14px;font-weight:600;line-height:1.5;margin:0 0 12px;color:var(--ink)}
.footer-support>a{display:grid;gap:3px;font-size:13px;line-height:1.5;color:var(--ink);width:fit-content;max-width:100%;overflow-wrap:anywhere}
.footer-support>a+a{margin-top:13px}
.support-channel{font-size:11px;color:var(--muted)}
.footer-support>a:hover{color:var(--blue)}
.site-footer a:focus-visible,.site-footer button:focus-visible,.support-cards>a:focus-visible{outline:2px solid var(--blue);outline-offset:5px;border-radius:4px}
.site-footer .footer-legal-links{gap:12px 24px;padding:18px 0;border-top:1px solid var(--line);margin:0}
.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0;padding-top:16px}
.project-review{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}
.project-review b{padding:2px 8px;border:1px solid var(--line);border-radius:6px;color:var(--ink);font-weight:500;letter-spacing:.3px}
.support-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 22px}
.support-cards>a{display:grid;gap:8px;padding:20px;background:var(--blue-soft);border:1px solid var(--line);border-radius:15px;text-decoration:none}
.support-cards>a:hover{border-color:var(--blue)}
.support-cards span{font-size:12px;color:var(--muted)}
.support-cards strong{font-size:17px;font-weight:600;overflow-wrap:anywhere;color:var(--blue)}
.support-cards small{font-size:12px;line-height:1.6;color:var(--muted)}
.tariff-highlight{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 20px;background:var(--blue-soft);border-radius:14px;margin:22px 0 14px}
.tariff-highlight>span{font-size:13px;color:var(--muted)}
.tariff-highlight strong{font-size:19px;font-weight:600;color:var(--ink)}
.tariff-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;font-variant-numeric:tabular-nums}
.tariff-table caption{text-align:left;padding:10px 0 12px;font-size:13px;color:var(--muted)}
.tariff-table th,.tariff-table td{padding:13px 10px;border-bottom:1px solid var(--line);text-align:left}
.tariff-table thead th{font-weight:500;color:var(--muted);font-size:12px}
.tariff-table th:last-child,.tariff-table td:last-child{text-align:right}
.tariff-table tbody th{font-weight:500}
.tariff-table td{font-weight:600;color:var(--ink)}
.legal-document .tariff-status{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0 18px}
@media(max-width:700px){.site-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.footer-identity{grid-column:1/-1}.support-cards{grid-template-columns:1fr}.tariff-highlight strong{font-size:17px}}
@media(max-width:440px){.site-footer .footer-top{grid-template-columns:1fr}.footer-identity{grid-column:auto}.footer-support{padding-top:0}.site-footer .footer-legal-links{gap:14px}.support-cards>a{padding:18px}.tariff-highlight{padding:16px}.tariff-table th,.tariff-table td{padding:12px 0}}
@media(max-width:700px){.legal-layout{grid-template-columns:1fr;gap:24px}.legal-toc{position:static;display:flex;flex-wrap:wrap;gap:10px 16px;padding-bottom:20px;border-bottom:1px solid var(--line)}.legal-shell{padding:36px 20px 45px}.legal-document{padding:24px 20px;border-radius:18px}.legal-page .header-inner{padding:0 20px}.legal-page .brand{font-size:20px}.legal-heading{margin-bottom:26px}.footer-legal-links{align-items:flex-start;flex-direction:column;gap:10px}.footer-legal-links .support-email{margin-left:0}.legal-page .header-actions .legal-support-link{display:none}}
@media print{.site-header,.site-footer,.legal-toc,.legal-skip{display:none}.legal-shell{padding:0;max-width:none}.legal-layout{display:block}.legal-document{border:0;padding:0}.legal-document section{break-inside:avoid}.legal-heading h1{font-size:28px}}

/* local-design.css */
/* Local-only RBXworld visual refresh, based on the supplied blue checkout reference. */
:root {
  --bg: #f5fbff;
  --surface: #ffffff;
  --surface-soft: #f3f9fc;
  --ink: #102a3b;
  --muted: #71889a;
  --line: #d7e8f1;
  --blue: #078fe8;
  --blue-soft: #eaf8ff;
  --green: #14a88c;
  --green-soft: #e9faf5;
  --green-line: #c5eee2;
  --action: #078fe8;
  --action-hover: #087bd0;
  --action-text: #ffffff;
  --brand-gradient: linear-gradient(110deg, #087fe8 0%, #19b6ed 100%);
  --brand-gradient-hover: linear-gradient(110deg, #1597f4 0%, #31c4f2 100%);
  --focus: #72c9f2;
  --shadow: 0 14px 34px -25px #087fbd48;
}

[data-theme="dark"] {
  --bg: #101b28;
  --surface: #172536;
  --surface-soft: #1d3043;
  --ink: #edf8ff;
  --muted: #a1b6c8;
  --line: #2c455a;
  --blue: #39b9f4;
  --blue-soft: #17384f;
  --green: #54d7bd;
  --green-soft: #183c3b;
  --green-line: #2d635b;
  --action: #168fe8;
  --action-hover: #27a8ef;
  --brand-gradient: linear-gradient(110deg, #087fe8 0%, #19b6ed 100%);
  --brand-gradient-hover: linear-gradient(110deg, #1597f4 0%, #31c4f2 100%);
  --focus: #278fc5;
  --shadow: 0 16px 38px -24px #0008;
}

body {
  background:
    radial-gradient(ellipse at 50% 6%, #e7f7ff 0, transparent 44rem),
    var(--bg);
}

[data-theme="dark"] body {
  background: radial-gradient(ellipse at 50% 4%, #122c42 0, transparent 42rem), var(--bg);
}

.site-header,
.shop-nav,
.site-footer {
  background: color-mix(in srgb, var(--surface) 96%, #eaf8ff);
  border-color: var(--line);
}

.brand-light {
  background: linear-gradient(105deg, #087fe8 5%, #19b6ed 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.shop-nav a[aria-current],
.shop-nav a:hover,
.login-button,
.currency-switch button,
.method-label a,
.profile-link,
.faq-answer a {
  color: var(--blue);
}





.purchase-card,
.buy-card.purchase-card {
  border-color: #d1e8f4;
  background: linear-gradient(155deg, #ffffff 55%, #f8fcff 100%);
  box-shadow: 0 16px 42px -29px #078fe866;
}

[data-theme="dark"] .purchase-card,
[data-theme="dark"] .buy-card.purchase-card {
  background: linear-gradient(155deg, #172536 50%, #172b3d 100%);
  border-color: var(--line);
}

.buy-card-heading .icon,
.amount-input > .icon,
.new-method .icon,
.promise-strip .icon,
.faq-list summary > .icon,
.amount-field > .icon {
  color: #078fe8;
}

.buy-card-heading-icon {
  opacity: 1;
}

.amount-field,
.amount-input.amount-field {
  background: linear-gradient(115deg, #f3f9fc 0%, #edf8fc 100%);
  border-color: #d3e8f2;
}

[data-theme="dark"] .amount-field,
[data-theme="dark"] .amount-input.amount-field {
  background: var(--surface-soft);
  border-color: var(--line);
}

.amount-field:focus-within,
.text-input:focus,
.text-input:focus-visible {
  border-color: #42b9ee;
  box-shadow: 0 0 0 3px #1ca8e51c;
}

#amount-range {
  background: linear-gradient(to right, #078fe8 var(--range-progress, 20%), #dceaf1 var(--range-progress, 20%));
  accent-color: #078fe8;
}

#amount-range::-webkit-slider-thumb {
  background: #12b6ed;
  box-shadow: 0 0 0 1px #078fe8, 0 2px 7px #087fbd36;
}

#amount-range::-moz-range-thumb {
  background: #12b6ed;
  box-shadow: 0 0 0 1px #078fe8;
}

.presets button[aria-pressed="true"],
.new-method.active {
  background: linear-gradient(145deg, #effbff 0%, #e7f8ff 100%);
  border-color: #48c3f4;
  color: #087bc7;
  box-shadow: 0 4px 14px -11px #078fe8b3;
}

[data-theme="dark"] .presets button[aria-pressed="true"],
[data-theme="dark"] .new-method.active {
  background: linear-gradient(145deg, #17374d 0%, #193c53 100%);
  border-color: #278fc5;
  color: #dff6ff;
}

.new-method {
  border-color: var(--line);
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-soft) 100%);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.new-method:hover:not(:disabled) {
  border-color: #75cfee;
  transform: translateY(-1px);
  box-shadow: 0 9px 20px -17px #078fe8b3;
}

.primary-button,
.register-button {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 18px -10px #078fe882;
}

.primary-button:hover:not(:disabled),
.register-button:hover:not(:disabled) {
  background: var(--brand-gradient-hover);
  color: #fff;
  box-shadow: 0 9px 20px -10px #078fe899;
}

.primary-button:focus-visible,
.register-button:focus-visible,
button:focus-visible,
a:focus-visible {
  outline-color: #5cc3ef;
}

.primary-button:disabled,
.primary-button:disabled:hover,
.primary-button:disabled:active {
  background: #e7f0f5;
  color: #8297a7;
  box-shadow: none;
}

[data-theme="dark"] .primary-button:disabled {
  background: #2b4053;
  color: #9cb1c2;
}

.plus-stock {
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #d8eef8;
  border-radius: 999px;
  background: linear-gradient(105deg, #f5fcff 0%, #eaf8ff 100%);
  box-shadow: 0 3px 11px -8px #078fe87a;
}

.plus-stock b {
  background: linear-gradient(105deg, #087fe8 0%, #0b88e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
}

.plus-stock .icon {
  color: #078fe8;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: block;
  transform: translateY(-1px);
}

[data-theme="dark"] .plus-stock {
  background: linear-gradient(105deg, #173448 0%, #183b52 100%);
  border-color: #2e617a;
}

.plus-stock[hidden] {
  display: none;
}

/* Quiet interaction feedback for buttons and menu/dialog entrances. */
button:not(:disabled),
[role="button"],
.new-method,
.payment-choice,
.profile-option {
  transition-property: transform, box-shadow, background-color, border-color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(.2,.75,.3,1);
}

button:active:not(:disabled),
[role="button"]:active,
.primary-button:active:not(:disabled),
.register-button:active:not(:disabled),
.secondary-button:active,
.icon-button:active,
.new-method:active:not(:disabled),
.payment-choice:active:not(:disabled),
.profile-option:active {
  transform: scale(.987);
}

dialog.modal[open] {
  animation: rbxworld-menu-open 210ms cubic-bezier(.2,.75,.3,1) both;
}

dialog.modal[open]::backdrop {
  animation: rbxworld-menu-backdrop 210ms ease-out both;
}

@keyframes rbxworld-menu-open {
  from { opacity: 0; transform: translateY(7px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rbxworld-menu-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  button:not(:disabled),
  [role="button"],
  .primary-button,
  .register-button,
  .secondary-button,
  .icon-button,
  .new-method,
  .payment-choice,
  .profile-option,
  dialog.modal[open],
  dialog.modal[open]::backdrop {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.recent-heading h2 {
  color: var(--ink);
}

.purchase-tile {
  position: relative;
  overflow: hidden;
  border-color: #d5e9f3;
  background: linear-gradient(150deg, var(--surface) 0%, #f6fbfe 100%);
  box-shadow: 0 9px 24px -22px #078fe8a6;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.purchase-tile::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(100deg, #078fe8 0%, #15c1ed 100%);
  content: "";
}

.purchase-tile:hover {
  transform: translateY(-2px);
  border-color: #a9dff3;
  box-shadow: 0 14px 26px -21px #078fe8b3;
}

.recent-method:not(.recent-method-in-game):not(.recent-method-gamepass) {
  color: #087fbd;
  background: #e9f8ff;
}

.recent-method-in-game {
  color: #087fbd;
  background: #e5f7ff;
}

.recent-method-gamepass {
  color: #b84957;
  background: #fff0f1;
}

.recent-amount .icon {
  color: #0a99df;
}

.recent-amount-in-game .icon {
  color: #319acb;
}

[data-theme="dark"] .purchase-tile {
  background: linear-gradient(150deg, #172536 0%, #192b3e 100%);
  border-color: var(--line);
}

[data-theme="dark"] .recent-method:not(.recent-method-in-game):not(.recent-method-gamepass),
[data-theme="dark"] .recent-method-in-game {
  color: #95e0ff;
  background: #173b52;
}

[data-theme="dark"] .recent-method-gamepass {
  color: #ffb7bd;
  background: #492c3a;
}

.checkout-modal {
  border-color: #cbe6f3;
  box-shadow: 0 28px 90px #087fbd35;
}

.checkout-modal .modal-shell {
  background: linear-gradient(165deg, #ffffff 0%, #f7fcff 100%);
}

[data-theme="dark"] .checkout-modal .modal-shell {
  background: linear-gradient(165deg, #172536 0%, #172b3d 100%);
}

.modal-header .overline,
.flow-steps,
.modal-subtitle,
#profile-help {
  display: none !important;
}

.modal-header {
  align-items: center;
  margin-bottom: 17px;
}

.modal-header h2 {
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -.7px;
}

.order-chip {
  margin-bottom: 19px;
  border: 1px solid #dceef7;
  background: linear-gradient(110deg, #f2faff 0%, #e9f7fd 100%);
  color: var(--ink);
}

.order-chip .icon {
  color: #078fe8;
}

[data-theme="dark"] .order-chip {
  background: linear-gradient(110deg, #173448 0%, #193b51 100%);
  border-color: var(--line);
}

.form-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.text-input {
  background: #f4f9fc;
  border-color: #d5e8f1;
}

[data-theme="dark"] .text-input {
  background: var(--surface-soft);
  border-color: var(--line);
}

.profile-results {
  gap: 8px;
  margin: 11px 0 0;
}

.profile-option {
  min-height: 68px;
  border-color: #d7e9f2;
  border-radius: 15px;
  background: linear-gradient(110deg, #fff 0%, #f6fbfe 100%);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.profile-option:hover {
  border-color: #80d1f0;
  background: #f2fbff;
  transform: translateY(-1px);
}

.profile-option.selected {
  border-color: #29b5ec;
  background: linear-gradient(110deg, #effaff 0%, #e5f7ff 100%);
}

.profile-option .avatar {
  background: linear-gradient(145deg, #e5f7ff, #f4fbff);
  border: 1px solid #d7edf7;
  color: #078fe8;
}

.selection-circle,
.profile-option.selected .selection-circle {
  border-color: #078fe8;
}

.profile-option.selected .selection-circle {
  background: var(--brand-gradient);
}

.search-status.profile-search-status {
  min-height: 20px;
  padding: 11px 2px 2px;
  color: var(--muted);
  font-size: 12px;
}

.modal-actions {
  margin-top: 18px;
}

.secondary-button {
  border-color: var(--line);
  color: var(--muted);
}

.secondary-button:hover {
  border-color: #a8dff2;
  background: var(--blue-soft);
  color: var(--blue);
}

.gp-place,
.gp-pass,
.checkout-recipient,
.confirm-profile,
.kaspi-invoice-total,
.payment-choice {
  border-color: var(--line);
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.gp-pass[aria-pressed="true"],
.kaspi-method[aria-pressed="true"],
.payment-choice[aria-pressed="true"] {
  border-color: #42b9ee;
  background: linear-gradient(135deg, #effaff 0%, #e1f6ff 100%);
  box-shadow: 0 6px 16px -14px #078fe8b3;
}

.gp-price {
  border: 1px solid #d5edf8;
  background: linear-gradient(125deg, #effaff 0%, #e4f7ff 100%);
}

.gp-place:hover,
.gp-pass:hover,
.kaspi-method:hover:not(:disabled) {
  border-color: #80d1f0;
}

[data-theme="dark"] .gp-place,
[data-theme="dark"] .gp-pass,
[data-theme="dark"] .checkout-recipient,
[data-theme="dark"] .confirm-profile,
[data-theme="dark"] .kaspi-invoice-total,
[data-theme="dark"] .payment-choice {
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-soft) 100%);
  border-color: var(--line);
}

[data-theme="dark"] .gp-pass[aria-pressed="true"],
[data-theme="dark"] .kaspi-method[aria-pressed="true"],
[data-theme="dark"] .payment-choice[aria-pressed="true"] {
  background: linear-gradient(135deg, #17384f 0%, #1b425a 100%);
  border-color: #278fc5;
}

[data-theme="dark"] .gp-price {
  background: linear-gradient(125deg, #17384f 0%, #1b425a 100%);
  border-color: #2d6179;
}

.promise-strip {
  display: none;
}

/* Keep customer pages consistent with the shop's blue/cyan theme. */
.portal-shell {
  color: var(--ink);
}

.portal-heading h1 {
  background: linear-gradient(105deg, #087fe8 5%, #19b6ed 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.portal-heading .overline,
.help-articles .overline {
  color: #168fc8;
}

.shop-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  transition: color .16s ease, background .16s ease;
}

.shop-nav a:hover,
.shop-nav a[aria-current="page"] {
  background: linear-gradient(110deg, #effaff, #e8f7ff);
  color: #087fc7;
}

.portal-shell .portal-card,
.portal-shell .empty-state {
  border-color: #d6e9f2;
  background: linear-gradient(150deg, #fff 0%, #f7fbfe 100%);
  box-shadow: 0 12px 30px -25px #087fbd55;
}

.portal-shell .notice {
  border-color: #d9edf7;
  background: linear-gradient(110deg, #f2faff, #eaf7fc);
}

.portal-shell .order-toolbar,
.portal-shell .help-category {
  border-color: #d6e9f2;
  background: linear-gradient(145deg, #fff, #f5faff);
}

.portal-shell .order-filters {
  border-color: #d6e9f2;
  background: #f3f9fc;
}

.portal-shell .order-filters button[aria-pressed="true"],
.portal-shell .help-category[aria-current="page"] {
  border-color: #51bde9;
  background: linear-gradient(110deg, #eaf9ff, #e2f5fd);
  color: #087fc7;
}

.portal-shell .order-search {
  border-color: #d1e6f1;
  background: #f6fafc;
}

.portal-shell .order-card {
  position: relative;
  overflow: hidden;
  border-color: #d7e9f2;
  background: linear-gradient(150deg, #fff 0%, #f7fbfe 100%);
  box-shadow: 0 10px 25px -22px #078fe866;
}

.portal-shell .order-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(100deg, #078fe8, #15c1ed);
  content: "";
}

.portal-shell .order-card:hover {
  border-color: #a9dff3;
  box-shadow: 0 14px 26px -21px #078fe899;
}

.portal-shell .primary-button,
.portal-shell a.primary-button {
  background: var(--brand-gradient);
  color: #fff;
}

.portal-shell .primary-button:hover:not(:disabled) {
  background: var(--brand-gradient-hover);
}

.portal-shell .secondary-button {
  border-color: #d3e7f1;
  background: linear-gradient(145deg, #fff, #f3f9fc);
}

.portal-shell .payment-option:has(input:checked) {
  border-color: #51bde9;
  background: linear-gradient(110deg, #effaff, #e5f7ff);
}

.legal-page .legal-heading h1 {
  background: linear-gradient(105deg, #087fe8 5%, #19b6ed 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.legal-page .legal-document {
  border-color: #d6e9f2;
  background: linear-gradient(150deg, #fff 0%, #f7fbfe 100%);
  box-shadow: 0 12px 30px -25px #087fbd55;
}

.legal-page .legal-contact,
.legal-page .tariff-highlight {
  border: 1px solid #d7ebf5;
  background: linear-gradient(110deg, #effaff, #e5f7ff);
}

.recent-avatar,
.recent-avatar.tone-0,
.recent-avatar.tone-1,
.recent-avatar.tone-2,
.recent-avatar.tone-3 {
  border: 1px solid #e4ebef;
  background: #f4f7f9;
  color: #788894;
}

[data-theme="dark"] .portal-shell .portal-card,
[data-theme="dark"] .portal-shell .empty-state,
[data-theme="dark"] .portal-shell .order-card {
  border-color: var(--line);
  background: linear-gradient(150deg, var(--surface), #172b3d);
}

[data-theme="dark"] .portal-shell .notice,
[data-theme="dark"] .portal-shell .order-toolbar,
[data-theme="dark"] .portal-shell .help-category,
[data-theme="dark"] .portal-shell .secondary-button {
  border-color: var(--line);
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}

[data-theme="dark"] .legal-page .legal-document {
  border-color: var(--line);
  background: linear-gradient(150deg, var(--surface), #172b3d);
}

[data-theme="dark"] .legal-page .legal-contact,
[data-theme="dark"] .legal-page .tariff-highlight {
  border-color: #2e617a;
  background: linear-gradient(110deg, #173448, #193b51);
}

[data-theme="dark"] .portal-shell .order-filters {
  border-color: var(--line);
  background: var(--surface-soft);
}

[data-theme="dark"] .portal-shell .order-filters button[aria-pressed="true"],
[data-theme="dark"] .portal-shell .help-category[aria-current="page"],
[data-theme="dark"] .portal-shell .payment-option:has(input:checked) {
  border-color: #278fc5;
  background: linear-gradient(110deg, #17384f, #1b425a);
  color: #dff6ff;
}

[data-theme="dark"] .recent-avatar,
[data-theme="dark"] .recent-avatar.tone-0,
[data-theme="dark"] .recent-avatar.tone-1,
[data-theme="dark"] .recent-avatar.tone-2,
[data-theme="dark"] .recent-avatar.tone-3 {
  border-color: #3a4a57;
  background: #34414b;
  color: #d9e3e9;
}

@media (max-width: 520px) {
  .plus-stock {
    gap: 4px;
    padding: 4px 7px;
    font-size: 9px;
  }

  .plus-stock b {
    font-size: 14px;
  }

  .plus-stock .icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .modal-header h2 {
    font-size: 21px;
  }

  .profile-option {
    min-height: 64px;
    padding: 10px;
  }

  .portal-shell .order-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .new-method,
  .purchase-tile,
  .profile-option {
    transition: none;
  }
}

/* responsive-theme-fixes.css */
/* Shared responsive and theme fixes. Keep these rules after the page stylesheets. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
:root:not([data-theme="dark"]) {
  --muted: #5d6d78 !important;
}

:root[data-theme="dark"] {
  --muted: #a0b7c3 !important;
}

.new-method:disabled,
.primary-button:disabled,
.primary-button:disabled:hover,
.primary-button:disabled:active {
  color: var(--muted) !important;
}

/* The desktop nav overlaps the header by design; its own surface created the
   floating rectangle seen at some zoom levels. On phones it stays flush with
   the full-width header instead. */
.shop-nav {
  box-sizing: border-box;
  flex-wrap: nowrap;
  background: transparent !important;
  box-shadow: none !important;
}

.shop-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  border-bottom-color: transparent !important;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.shop-nav a:hover {
  background: #f1f8fa;
  color: #087f9e;
}

.shop-nav a[aria-current="page"] {
  background: #e9f7fb !important;
  border-color: #c8e9f2 !important;
  color: #087f9e !important;
  font-weight: 600;
}

[data-theme="dark"] .shop-nav a:hover {
  background: #1a3440;
  color: #c5edf3;
}

[data-theme="dark"] .shop-nav a[aria-current="page"] {
  background: #193b47 !important;
  border-color: #356574 !important;
  color: #b9eaf1 !important;
}

[data-theme="dark"] .order-card {
  background: #162831 !important;
  border: 1px solid #2d424b !important;
  border-top: 1px solid #2d424b !important;
  background-image: none !important;
  color: #e8f0f3;
}

[data-theme="dark"] .order-card:hover {
  border-color: #45616c !important;
}

[data-theme="dark"] .order-filters button[aria-pressed="true"] {
  background: #203640;
  border-color: #3b5661;
  color: #b9eaf1;
}

@media (max-width: 800px) {
  .shop-nav {
    width: 100%;
    height: auto !important;
    min-height: 54px;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    align-items: center;
    justify-content: center;
    gap: 6px !important;
    background: var(--surface) !important;
    border-bottom: 1px solid var(--line);
    flex-wrap: nowrap;
  }

  .shop-nav a {
    white-space: nowrap;
  }

  #admin-nav {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .header-inner {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding-inline: 8px !important;
  }

  .brand {
    gap: 2px !important;
    font-size: 16px !important;
  }

  .brand-planet {
    width: 25px !important;
    height: 25px !important;
  }

  .header-actions {
    gap: 3px !important;
  }

  .language-switch {
    gap: 0 !important;
    padding: 2px !important;
  }

  .language-switch a {
    padding: 4px 3px !important;
    font-size: 9px !important;
  }

  .currency-switch {
    gap: 0 !important;
    padding: 2px !important;
  }

  .currency-switch button {
    width: 22px !important;
    height: 26px !important;
    font-size: 14px !important;
  }

  #theme-toggle,
  .header-actions .login-button {
    flex-basis: 28px !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
  }

  .shop-nav {
    gap: 2px !important;
    padding-inline: 6px !important;
  }

  .shop-nav a {
    padding: 6px 6px !important;
    min-height: 34px;
    font-size: 11px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-nav a {
    transition: none;
  }
}

/* footer-refresh.css */
/* A softer footer without the former column and row dividers. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(145deg, #f8fcff 0%, #edf7fc 100%) !important;
  box-shadow: 0 -12px 38px -34px #0e719d59;
}

.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -235px;
  right: -150px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, #b8ebff4d 0%, transparent 70%);
  pointer-events: none;
}

.site-footer > .footer-inner,
.legal-page .site-footer > .footer-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px !important;
  margin: 0 auto;
  padding: 52px 32px 29px !important;
}

.site-footer .footer-top {
  display: grid !important;
  grid-template-columns: minmax(215px, 1.25fr) minmax(130px, .75fr) minmax(155px, .85fr) minmax(240px, 1.15fr);
  align-items: start;
  gap: clamp(20px, 3vw, 48px) !important;
  padding: 0 !important;
}

.site-footer .footer-identity,
.site-footer .footer-column,
.site-footer .footer-support {
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
}

.site-footer .footer-identity .brand {
  width: fit-content;
  font-size: 23px;
}

.site-footer .footer-identity p {
  max-width: 245px;
  margin: 18px 0 0 !important;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer .footer-column h2,
.site-footer .footer-support h2 {
  margin: 3px 0 19px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.1px;
}

.site-footer .footer-navigation {
  display: grid;
  gap: 13px;
  padding: 0;
}

.site-footer .footer-navigation a,
.site-footer .footer-navigation button {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .18s ease, transform .18s ease;
}

.site-footer .footer-navigation a:hover,
.site-footer .footer-navigation button:hover {
  color: #087fc8;
  transform: translateX(2px);
}

.site-footer .footer-support {
  margin-top: -12px;
  padding: 21px 23px !important;
  border-radius: 21px;
  background: linear-gradient(135deg, #e4f5fd 0%, #f6fbff 100%);
  box-shadow: 0 14px 33px -25px #188abd57;
}

.site-footer .footer-support h2 {
  margin: 0 0 14px;
}

.site-footer .footer-support > a {
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer .footer-support > a + a {
  margin-top: 15px;
}

.site-footer .footer-support > a:hover {
  color: #087fc8;
}

.site-footer .support-channel {
  color: #56829b;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .04em;
}

.site-footer .footer-legal-links,
.legal-page .site-footer .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px !important;
  margin: 31px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.site-footer .footer-legal-links a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer .footer-legal-links a:hover {
  color: #087fc8;
}

.site-footer .footer-bottom,
.legal-page .site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  min-height: 33px;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--muted);
  font-size: 11px;
}

.site-footer .footer-language .language-switch {
  border-color: color-mix(in srgb, #9bd5ed 35%, var(--line));
  background: #ffffffa8;
}

.legal-page .site-footer .footer-top {
  grid-template-columns: minmax(220px, 1.2fr) minmax(210px, 1fr) minmax(250px, 1.05fr);
}

.legal-page .site-footer .footer-top > .footer-navigation {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 22px;
  padding-top: 3px;
}

[data-theme="dark"] .site-footer {
  background: linear-gradient(145deg, #132b39 0%, #102430 100%) !important;
  box-shadow: 0 -12px 38px -34px #020e1bc4;
}

[data-theme="dark"] .site-footer::before {
  background: radial-gradient(circle, #117cac32 0%, transparent 70%);
}

[data-theme="dark"] .site-footer .footer-support {
  background: linear-gradient(135deg, #1a3b4d 0%, #163343 100%);
  box-shadow: 0 14px 30px -25px #000e1dbf;
}

[data-theme="dark"] .site-footer .support-channel {
  color: #a6c2d0;
}

[data-theme="dark"] .site-footer .footer-navigation a:hover,
[data-theme="dark"] .site-footer .footer-navigation button:hover,
[data-theme="dark"] .site-footer .footer-support > a:hover,
[data-theme="dark"] .site-footer .footer-legal-links a:hover {
  color: #80d9ff;
}

[data-theme="dark"] .site-footer .footer-language .language-switch {
  border-color: #2d5364;
  background: #193a4a;
}

@media (max-width: 920px) {
  .site-footer .footer-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 31px 44px !important;
  }

  .site-footer .footer-support {
    margin-top: 0;
  }

  .legal-page .site-footer .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .legal-page .site-footer .footer-support {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    border-radius: 25px 25px 0 0;
  }

  .site-footer > .footer-inner,
  .legal-page .site-footer > .footer-inner {
    padding: 39px 22px 25px !important;
  }

  .site-footer .footer-top,
  .legal-page .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 31px 18px !important;
  }

  .site-footer .footer-identity,
  .site-footer .footer-support,
  .legal-page .site-footer .footer-identity,
  .legal-page .site-footer .footer-support {
    grid-column: 1 / -1;
  }

  .site-footer .footer-identity p {
    max-width: none;
    margin-top: 12px !important;
  }

  .site-footer .footer-support {
    margin-top: 0;
    padding: 20px !important;
  }

  .site-footer .footer-legal-links,
  .legal-page .site-footer .footer-legal-links {
    margin-top: 30px !important;
  }

  .legal-page .site-footer .footer-top > .footer-navigation {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .site-footer .footer-bottom,
  .legal-page .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-navigation a,
  .site-footer .footer-navigation button {
    transition: none;
  }
}

/* theme-compat.css */
/* The site owns both palettes. Do not apply a second automatic colour inversion. */
:root:not([data-theme="dark"]) { color-scheme: light; color-scheme: only light; }
:root[data-theme="dark"] { color-scheme: dark; }
html { background-color: var(--bg, #f6f9fa); color: var(--ink, #193139); }
button, input, textarea, select { color-scheme: inherit; }
input, textarea { -webkit-text-fill-color: currentColor; }
select option { background-color: var(--surface); color: var(--ink); }
input:-webkit-autofill, textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-soft) inset;
}
/* Payment marks sit on deliberately light tiles in either palette. */
.payment-choice-grid .payment-logo-tile { color-scheme: only light; }
.payment-choice-grid .payment-logo-tile .payment-tile-brand { color: #172e38; }
@media (max-width: 600px) {
  .modal .text-input, .modal .search-input, .modal textarea,
  .order-search, #support-view input, #support-view textarea { font-size: 16px; }
}
/* Keep all four navigation links visible on small phones. */
@media (max-width:360px){
 .site-header .shop-nav{gap:4px!important;justify-content:space-between!important}
 .site-header .shop-nav a{font-size:10.5px!important;padding-inline:0!important}
}
@media (max-width:340px){.site-header .shop-nav a{font-size:10px!important}}

