/* Opt-in tool backgrounds do not create stacking contexts around board dialogs. */
.chess-page-surface {
    --chess-surface:#fcfaf5;
    --chess-surface-clear:#fcfaf500;
    --chess-motif:var(--chess-motif-light);
    --chess-pattern:url('/images/supporter-board.svg');
    background-color:var(--chess-surface);
    background-image:linear-gradient(to bottom,var(--chess-surface-clear),var(--chess-surface) 760px),var(--chess-motif),radial-gradient(ellipse 55% 260px at 50% 0,var(--chess-surface) 35%,var(--chess-surface-clear)),var(--chess-pattern);
    background-size:100% 100%,150px 180px,100% 100%,96px 96px;
    background-position:0 0,right 24px top 24px,0 0,0 0;
    background-repeat:no-repeat,no-repeat,no-repeat,repeat;
}
.chess-page-surface--analyze {--chess-motif-light:url('/images/tool-analysis.svg');--chess-motif-dark:url('/images/tool-analysis-dark.svg')}
.chess-page-surface--computer {--chess-motif-light:url('/images/tool-computer.svg');--chess-motif-dark:url('/images/tool-computer-dark.svg')}
.chess-page-surface--freestyle {--chess-motif-light:url('/images/tool-freestyle.svg');--chess-motif-dark:url('/images/tool-freestyle-dark.svg')}
.chess-page-surface--import {--chess-motif-light:url('/images/tool-import.svg');--chess-motif-dark:url('/images/tool-import-dark.svg')}
.chess-page-surface--best-move {--chess-motif-light:url('/images/tool-best-move.svg');--chess-motif-dark:url('/images/tool-best-move-dark.svg')}
.dark .chess-page-surface {
    --chess-surface:#0c1422;
    --chess-surface-clear:#0c142200;
    --chess-motif:var(--chess-motif-dark);
    --chess-pattern:url('/images/supporter-board-dark.svg');
}
/* Keep the margins decorative and the reading/interaction area calm. */
@media(max-width:1279px) {
    .chess-page-surface,.dark .chess-page-surface {--chess-motif:none}
}
@media(max-width:767px) {
    .chess-page-surface {
        background-image:linear-gradient(to bottom,var(--chess-surface-clear),var(--chess-surface) 420px),var(--chess-pattern);
        background-size:100% 100%,96px 96px;
        background-position:0 0,0 0;
        background-repeat:no-repeat,repeat;
    }
}
@media(forced-colors:active) {
    .chess-page-surface {background-image:none}
}
.sp-page-surface {
    --sp-surface:#fcfaf5;
    --sp-pattern:url('/images/supporter-board.svg');
    --sp-knight:url('/images/supporter-knight.svg');
    position:relative;
    isolation:isolate;
    background:var(--sp-surface);
}
.sp-page-surface::before,.sp-page-surface::after {
    content:'';
    position:absolute;
    pointer-events:none;
    z-index:-1;
}
.sp-page-surface::before {
    inset:0;
    background-image:radial-gradient(ellipse 65% 300px at 50% 0,var(--sp-surface),transparent),var(--sp-pattern);
    mask-image:linear-gradient(to bottom,#000,transparent 85%);
}
.sp-page-surface::after {
    inset-block-start:38px;
    inset-inline-end:clamp(18px,4vw,80px);
    width:160px;
    height:200px;
    background:var(--sp-knight) center / contain no-repeat;
    opacity:.14;
}
.dark .sp-page-surface {
    --sp-surface:#0c1422;
    --sp-pattern:url('/images/supporter-board-dark.svg');
    --sp-knight:url('/images/supporter-knight-dark.svg');
}
.dark .sp-page-surface::before {
    opacity:.65;
}
.dark .sp-page-surface::after {
    opacity:.22;
}
.sp-page-surface > .supporter {
    position:relative;
    z-index:0;
}
@media(max-width:1279px) {
    .sp-page-surface::after {display:none}
}
@media(max-width:767px) {
    .sp-page-surface::before {opacity:.6}
}
@media(prefers-contrast:more) {
    .chess-page-surface {background-image:none}
    .sp-page-surface::before,.sp-page-surface::after {display:none}
}
.dark .supporter .sp-auth-divider {color:#b7c5d8}
.dark .supporter .sp-auth-divider::before,.dark .supporter .sp-auth-divider::after {background:#40516a}
.chess-page-surface--import button[type="submit"] {color:#172033;background:#fbbf24}
.chess-page-surface--import button[type="submit"]:hover {background:#f59e0b}
.chess-page-surface--import .bg-amber-500.text-white {color:#172033}
.chess-page-surface--import .import-metadata {color:#475569}
.dark .chess-page-surface--import .import-metadata {color:#cbd5e1}
.chess-page-surface--import .import-tab-btn {min-width:0;flex:1 1 0;border-block-end:2px solid transparent}
.chess-page-surface--import #import-tab-indicator {display:none}
.chess-page-surface--import [role="tab"][aria-selected="true"] {color:#92400e;border-block-end-color:#b45309}
.dark .chess-page-surface--import [role="tab"][aria-selected="true"] {color:#fcd34d;border-block-end-color:#fbbf24}
@media(max-width:639px) {
    .chess-page-surface--import .import-tab-btn {padding:12px 6px;min-height:72px;font-size:13px;line-height:1.4}
    .chess-page-surface--import .import-tab-btn > div {flex-direction:column;gap:4px}
    .chess-page-surface--import .import-tab-btn span {overflow-wrap:anywhere}
    .chess-page-surface--import .import-tab-btn svg {flex-shrink:0}
}
@media(forced-colors:active) {
    .sp-page-surface::before,.sp-page-surface::after {display:none}
}
.supporter {
    --sp-accent:#b45309;
    --sp-bg:#fff;
    --sp-soft:#f8fafc;
    --sp-border:#e2e8f0;
    --sp-text:#0f172a;
    --sp-muted:#475569;
    color:var(--sp-text);
    max-width:1080px;
    margin:auto;
    padding:64px 22px 80px;
    line-height:1.65}
.dark .supporter {
    --sp-accent:#fbbf24;
    --sp-bg:#111c30;
    --sp-soft:#0f172a;
    --sp-border:#2b3b53;
    --sp-text:#f1f5f9;
    --sp-muted:#b7c5d8}
.supporter * {
    box-sizing:border-box}
.sp-hero {
    text-align:center;
    max-width:720px;
    margin:0 auto 36px}
.sp-eyebrow {
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.14em;
    color:var(--sp-accent);
    font-weight:700}
.sp-hero h1 {
    font-family:Georgia,serif;
    font-size:clamp(36px,6vw,62px);
    line-height:1.1;
    letter-spacing:-.035em;
    margin:16px 0 22px}
.sp-muted,.sp-hero p {
    color:var(--sp-muted)}
.sp-hero p {
    font-size:18px}
.sp-grid {
    display:grid;
    grid-template-columns:1fr 1.15fr;
    gap:24px;
    align-items:stretch}
.sp-card {
    background:var(--sp-bg);
    border:1px solid var(--sp-border);
    border-radius:22px;
    padding:30px;
    margin-bottom:24px}
.sp-featured {
    border-color:var(--sp-accent);
    box-shadow:0 12px 60px #b4530910;
    position:relative}
.sp-card h2 {
    font-size:23px;
    font-weight:700;
    margin:0 0 8px}
.sp-card p {
    margin:12px 0}
.sp-card ul {
    list-style:none;
    padding:0;
    margin:25px 0}
.sp-card li {
    padding:8px 0}
.sp-card li:before {
    content:'✓';
    color:var(--sp-accent);
    margin-inline-end:12px;
    font-weight:700}
.sp-price {
    font-size:44px;
    font-weight:750;
    letter-spacing:-.035em;
    line-height:1.15;
    margin-top:22px}
.sp-price small {
    font-size:14px;
    letter-spacing:normal;
    font-weight:400;
    color:var(--sp-muted)}
.sp-btn {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    min-height:46px;
    border-radius:12px;
    padding:10px 20px;
    background:#fbbf24;
    color:#172033;
    font-weight:750;
    text-align:center;
    text-decoration:none;
    border:1px solid transparent;
    cursor:pointer}
.sp-btn:hover {
    background:#fcd34d}
.sp-btn:focus-visible,.sp-link:focus-visible,.sp-switch input:focus-visible+span {
    outline:3px solid #f59e0b;
    outline-offset:4px}
.sp-btn-secondary {
    background:transparent;
    color:var(--sp-text);
    border-color:var(--sp-border)}
.sp-btn-secondary:hover {
    background:var(--sp-soft)}
.sp-wide {
    width:100%}
.sp-badge {
    display:inline-block;
    font-size:12px;
    font-weight:700;
    color:var(--sp-accent);
    padding:4px 10px;
    border-radius:50px;
    background:#d9770614}
.sp-small {
    font-size:13px}
.sp-switch {
    display:flex;
    gap:6px;
    max-width:390px;
    margin:0 auto 32px;
    border:1px solid var(--sp-border);
    border-radius:14px;
    padding:5px;
    background:var(--sp-bg)}
.sp-switch label {
    flex:1;
    cursor:pointer;
    position:relative}
.sp-switch input {
    position:absolute;
    opacity:0;
    width:1px;
    height:1px}
.sp-switch span {
    display:block;
    border-radius:10px;
    text-align:center;
    padding:10px;
    font-weight:650}
.sp-switch input:checked+span {
    background:#fbbf24;
    color:#172033}
.sp-link {
    color:var(--sp-accent);
    text-decoration:underline;
    text-underline-offset:3px}
.sp-note {
    text-align:center;
    max-width:720px;
    margin:0 auto 36px;
    color:var(--sp-muted);
    font-size:13px}
.sp-faq {
    max-width:760px;
    margin:50px auto 0}
.sp-faq h2 {
    text-align:center;
    font-size:25px;
    margin-bottom:22px}
.sp-faq details {
    border-bottom:1px solid var(--sp-border);
    padding:18px 0}
.sp-faq summary {
    cursor:pointer;
    font-weight:650}
.sp-faq p {
    color:var(--sp-muted);
    margin-top:12px}
.sp-auth {
    max-width:490px}
.sp-field {
    display:block;
    margin:18px 0;
    font-size:14px;
    font-weight:650}
.sp-field input {
    display:block;
    width:100%;
    margin-top:7px;
    min-height:46px;
    border:1px solid var(--sp-border);
    border-radius:10px;
    background:var(--sp-soft);
    color:var(--sp-text);
    padding:10px 12px}
.sp-check {
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:20px 0;
    color:var(--sp-muted);
    font-size:13px}
.sp-check input {
    margin-top:5px;
    flex-shrink:0;
    accent-color:#d97706}
.sp-alert {
    padding:15px 18px;
    border:1px solid var(--sp-border);
    border-radius:12px;
    background:var(--sp-soft);
    margin:0 0 20px;
    overflow-wrap:anywhere}
.sp-error {
    border-color:#ef4444;
    color:#dc2626}
.dark .sp-error {
    color:#fca5a5}
.sp-actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:center;
    margin-top:18px}
.sp-table-wrap {
    overflow-x:auto}
.sp-table {
    width:100%;
    border-collapse:collapse;
    font-size:14px}
.sp-table th,.sp-table td {
    text-align:start;
    padding:12px;
    border-bottom:1px solid var(--sp-border);
    white-space:nowrap}
.sp-preview {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin:44px 0}
.sp-mini-board {
    display:grid;
    grid-template-columns:repeat(8,1fr);
    aspect-ratio:1;
    max-width:210px;
    margin:18px auto}
.sp-mini-board i {
    background:#e8dbc7}
.sp-mini-board i:nth-child(16n+2),.sp-mini-board i:nth-child(16n+4),.sp-mini-board i:nth-child(16n+6),.sp-mini-board i:nth-child(16n+8),.sp-mini-board i:nth-child(16n+9),.sp-mini-board i:nth-child(16n+11),.sp-mini-board i:nth-child(16n+13),.sp-mini-board i:nth-child(16n+15) {
    background:#927553}
.sp-ad-example {
    background:var(--sp-soft);
    border:1px dashed var(--sp-border);
    text-align:center;
    padding:10px;
    font-size:11px;
    color:var(--sp-muted)}
.sp-toolbar {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:14px;
    padding:8px 20px;
    font-size:12px;
    border-bottom:1px solid #d9770625}
.sp-toolbar a {
    text-decoration:none}
.sp-nudge {
    max-width:760px;
    margin:24px auto;
    padding:18px 22px;
    border:1px solid #b4530955;
    border-radius:14px;
    background:#d977060b;
    color:inherit;
    display:flex;
    gap:20px;
    align-items:center;
    justify-content:space-between}
.sp-nudge[hidden] {
    display:none}
.sp-nudge p {
    font-size:13px;
    opacity:.8;
    margin:3px 0}
.sp-nudge button {
    background:none;
    border:0;
    font-size:12px;
    text-decoration:underline;
    cursor:pointer}
.sp-nudge .sp-btn {
    font-size:13px;
    white-space:nowrap}
.sp-preserved {
    margin-top:20px}
@media(max-width:640px) {
    .supporter {
    padding:36px 16px 50px}
.sp-grid {
    grid-template-columns:1fr}
.sp-card {
    padding:23px}
.sp-preview {
    gap:10px}
.sp-preview .sp-card {
    padding:14px}
.sp-nudge {
    margin:20px 16px;
    flex-direction:column;
    align-items:stretch;
    gap:12px}
.sp-toolbar {
    gap:10px}
.sp-price {
    font-size:38px}
}
@media(prefers-reduced-motion:reduce) {
    .supporter * {
    transition:none!important;
    animation:none!important}
}

.sp-toolbar .sp-header-plan {
    color:#92400e;
    background:#fef3c7;
    border:1px solid #fbbf2466;
    border-radius:8px;
    padding:5px 12px;
    font-weight:700}
.dark .sp-toolbar .sp-header-plan {
    color:#fcd34d;
    background:#78350f40}
.sp-toolbar a:focus-visible {
    outline:2px solid #f59e0b;
    outline-offset:3px}


/* Consistent membership typography, interaction and responsive composition. */
.supporter { width: 100%; padding-block: clamp(40px, 6vw, 76px); }
.sp-hero { max-width: 690px; margin-bottom: 32px; }
.sp-hero h1 { font-size: clamp(36px, 4.5vw, 60px); text-wrap: balance; }
.sp-hero p { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.75; text-wrap: pretty; }
.sp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; }
.sp-grid > .sp-card { display: flex; flex-direction: column; min-width: 0; margin-bottom: 0; }
.sp-grid > .sp-card > .sp-btn { margin-top: auto; }
.sp-grid > .sp-featured { background: radial-gradient(ellipse at 100% 0%, #f59e0b10, transparent 65%), var(--sp-bg); }
.sp-card { border-radius: 20px; padding: clamp(22px, 3vw, 34px); }
.sp-card h2 { line-height: 1.35; text-wrap: balance; }
.sp-price { font-variant-numeric: tabular-nums; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.sp-price small { line-height: 1.6; }
.sp-grid > .sp-card .sp-badge { align-self: flex-start; }
.sp-grid + .sp-note { margin-top: 22px; }
.sp-card .sp-alert { font-size: 14px; margin-top: auto; }
.sp-switch { width: min(100%, 340px); }
.sp-switch span { min-height: 44px; }
.sp-switch small { font-size: 11px; }
.sp-auth .sp-hero { margin-bottom: 24px; }
.sp-auth .sp-card { box-shadow: 0 8px 36px #0f172a06; }
.sp-field input { font-size: 16px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.sp-field input:focus { outline: 0; border-color: #d97706; box-shadow: 0 0 0 3px #f59e0b20; }
.sp-btn { min-height: 46px; transition: background .15s, border-color .15s; }
.sp-btn:disabled { cursor: wait; opacity: .6; }
.sp-faq details { padding: 0; }
.sp-faq summary { padding: 20px 4px; min-height: 56px; }
.sp-faq details p { margin: 0; padding: 0 4px 20px; line-height: 1.8; }
.sp-faq summary:focus-visible { outline: 2px solid #f59e0b; outline-offset: 3px; border-radius: 6px; }
.sp-preview { margin-block: 24px; }
.sp-preview .sp-card { margin-bottom: 0; }
.sp-mini-board { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px #0f172a10; }
.sp-alert { line-height: 1.75; }
.sp-table-wrap { max-width: 100%; }
.sp-actions form { max-width: 100%; }
@media (max-width: 767px) {
    .sp-grid { grid-template-columns: minmax(0, 1fr); }
    .sp-grid > .sp-featured { order: -1; }
    .sp-hero h1 { font-size: clamp(34px, 8vw, 46px); }
    .sp-preview { gap: 12px; }
    .sp-note { line-height: 1.8; }
    .sp-faq { margin-top: 36px; }
}
@media (max-width: 380px) {
    .supporter { padding-inline: 14px; }
    .sp-card { padding: 20px; }
    .sp-preview { grid-template-columns: minmax(0, 1fr); }
    .sp-actions { align-items: stretch; }
    .sp-actions > form, .sp-actions > a { width: 100%; }
    .sp-actions .sp-btn { width: 100%; }
}
/* Two directly comparable paid plans, with both prices always visible. */
.sp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.sp-plans .sp-plan-title { font-size: 28px; margin-top: 16px; }
.sp-plans .sp-billing-description { min-height: 44px; }
.sp-plans .sp-price { margin-top: 22px; }
.sp-plans .sp-card .sp-alert { margin-bottom: 0; }
@media(max-width: 767px) {
    .sp-plans { grid-template-columns: minmax(0, 1fr); }
    .sp-plans > .sp-featured { order: 0; }
    .sp-plans .sp-billing-description { min-height: 0; }
}
.sp-paypal-controls { width:100%; max-width:380px; }
.sp-paypal-controls [data-paypal-button] { min-height:48px; }
.sp-paypal-controls paypal-button {
    display:block; width:100%; min-height:48px;
    --paypal-button-border-radius:12px;
}
.sp-paypal-controls [hidden] { display:none!important; }
form[aria-busy="true"] .sp-paypal-controls { opacity:.7; }
.supporter { overflow-wrap:anywhere; }
.sp-plans > *, .sp-card, .sp-actions > * { min-width:0; }
.sp-btn { max-width:100%; }
.sp-badge { overflow-wrap:anywhere; }
[dir="rtl"] .sp-price { direction:ltr; unicode-bidi:isolate; text-align:right; }
[dir="rtl"] .sp-eyebrow { letter-spacing:normal; }
.sp-existing-member { text-align:end; font-size:13px; margin:0 0 18px; }
.sp-checkout { max-width:1040px; padding-top:36px; }
.sp-checkout-heading { max-width:700px; margin:0 auto 28px; text-align:center; }
.sp-checkout-heading h1 { font-family:Georgia,serif; font-size:clamp(29px,4vw,42px); line-height:1.15; margin:12px 0; }
.sp-checkout-heading p { color:var(--sp-muted); font-size:15px; }
.sp-checkout-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr); gap:24px; align-items:start; }
.sp-checkout-grid .sp-card { margin:0; padding:28px; }
.sp-order-summary { order:2; position:sticky; top:94px; background:var(--sp-soft); }
.sp-checkout-main { order:1; }
.sp-summary-top { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:18px; font-size:12px; color:var(--sp-muted); }
.sp-order-summary h2 { margin-bottom:10px; }
.sp-summary-price { font-size:40px; font-weight:750; line-height:1.2; letter-spacing:-.03em; margin-top:18px; }
.sp-summary-price small { font-size:14px; color:var(--sp-muted); letter-spacing:normal; }
.sp-order-summary .sp-due-today { font-size:12px; color:var(--sp-muted); margin-top:4px; }
.sp-order-summary .sp-summary-benefits { border-top:1px solid var(--sp-border); padding-top:14px; margin:18px 0 8px; font-size:13px; }
.sp-summary-benefits li { padding:5px 0; }
.sp-summary-details { font-size:12px; color:var(--sp-muted); margin-top:18px; }
.sp-summary-details summary,.sp-optional-name summary { cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.sp-account-tabs { display:flex; padding:4px; gap:4px; border-radius:11px; background:var(--sp-soft); margin-bottom:24px; }
.sp-account-tabs a { flex:1; min-width:0; padding:10px 8px; text-align:center; font-size:13px; font-weight:650; border:1px solid transparent; border-radius:8px; color:var(--sp-muted); }
.sp-account-tabs a[aria-current] { background:var(--sp-bg); color:var(--sp-text); border-color:var(--sp-border); box-shadow:0 2px 5px #0f172a08; }
.sp-checkout-main h2 { font-size:22px; }
.sp-password-wrap { display:flex; align-items:center; background:var(--sp-soft); border:1px solid var(--sp-border); border-radius:10px; margin-top:7px; }
.sp-password-wrap:focus-within { outline:2px solid #f59e0b; outline-offset:2px; }
.sp-field .sp-password-wrap input { flex:1; min-width:0; margin:0; border:0; background:transparent; }
.sp-password-toggle { flex-shrink:0; max-width:45%; padding:9px 12px; font-size:12px; font-weight:600; color:var(--sp-accent); border:0; background:transparent; cursor:pointer; line-height:1.3; }
.sp-optional-name { margin:18px 0; font-size:12px; color:var(--sp-muted); }
.sp-login-options { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:12px; margin-bottom:18px; }
.sp-login-options .sp-check { margin:6px 0; }
.sp-checkout-return { text-align:center; font-size:12px; margin-top:22px!important; }
.sp-billing-consent { padding:16px; border:1px solid var(--sp-border); border-radius:12px; background:var(--sp-soft); }
.sp-checkout-main .sp-paypal-controls { max-width:none; }
.sp-confirmation { max-width:660px; }
.sp-outcome { text-align:center; padding:38px; }
.sp-outcome h1 { font-family:Georgia,serif; font-size:clamp(28px,4vw,38px); line-height:1.2; margin:16px 0; }
.sp-outcome > p { color:var(--sp-muted); }
.sp-outcome-icon { margin:0 auto 22px; width:56px; height:56px; border-radius:50%; display:grid; place-items:center; color:var(--sp-accent); background:#d9770614; font-size:30px; }
.sp-outcome-summary { margin:24px 0; padding:20px; background:var(--sp-soft); border:1px solid var(--sp-border); border-radius:12px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; }
.sp-outcome-summary p { width:100%; border-top:1px solid var(--sp-border); padding-top:14px; margin:0; font-size:13px; color:var(--sp-muted); }
.sp-outcome-actions { display:flex; flex-direction:column; gap:12px; }
.sp-outcome-actions > .sp-link { margin-top:5px; font-size:13px; }
[dir="rtl"] .sp-checkout-main button > span[aria-hidden] { transform:scaleX(-1); }
@media(max-width:760px) {
    .sp-checkout { padding-top:25px; }
    .sp-checkout-heading { margin-bottom:22px; }
    .sp-checkout-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
    .sp-checkout-grid .sp-card { padding:22px; }
    .sp-order-summary { order:0; position:static; }
    .sp-order-summary .sp-summary-benefits,.sp-order-summary > .sp-muted { display:none; }
    .sp-summary-top { margin-bottom:12px; }
    .sp-summary-price { font-size:34px; margin-top:12px; }
    .sp-order-summary .sp-small { margin:8px 0; }
    .sp-order-summary .sp-summary-details { margin-top:12px; }
    .sp-outcome { padding:26px 22px; }
    .sp-order-summary { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 12px; }
    .sp-summary-top { grid-column:1 / -1; margin-bottom:7px; }
    .sp-order-summary h2 { grid-column:1; grid-row:2; margin:0; align-self:center; font-size:21px; }
    .sp-order-summary > .sp-badge { display:none; }
    .sp-order-summary .sp-summary-price { grid-column:2; grid-row:2; margin:0; font-size:30px; }
    .sp-order-summary .sp-due-today { grid-column:2; margin:0; text-align:end; }
    .sp-order-summary > .sp-small { grid-column:1 / -1; }
    .sp-order-summary .sp-summary-details { grid-column:1 / -1; margin-top:3px; }
}
.sp-google-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 16px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#172033;font-weight:600;text-decoration:none;text-align:center;overflow-wrap:anywhere}.sp-google-button svg{width:20px;height:20px;flex-shrink:0}.sp-google-button:hover{background:#f8fafc;border-color:#94a3b8}.sp-google-button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.sp-auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#64748b;font-size:14px}.sp-auth-divider:before,.sp-auth-divider:after{content:"";height:1px;background:#e2e8f0;flex:1}.sp-google-cancel{margin-top:16px;text-align:center}.sp-google-cancel button{background:none;border:0;font:inherit;cursor:pointer}

/* One-time membership pricing */
.sp-pass-pricing {
    max-width: 1000px;
    padding-block: clamp(36px, 6vw, 72px);
}
.sp-pass-hero { margin-block-end: clamp(24px, 4vw, 44px); }
.sp-pass-hero h1 { margin-block: 0 14px; text-wrap: balance; }
.sp-pass-hero p { margin: 0; font-size: clamp(15px, 2vw, 18px); text-wrap: pretty; }
.sp-pass-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-pass-card {
    gap: 12px;
    box-shadow: 0 12px 32px rgb(15 23 42 / 8%);
}
.sp-pass-card h2 { margin: 0; }
.sp-pass-price {
    font-size: clamp(36px, 6vw, 54px);
    font-weight: 750;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.sp-pass-price small { color: var(--sp-muted); font-size: 14px; }
.sp-pass-card .sp-pass-description { margin: 0 0 12px; color: var(--sp-muted); }
.sp-pass-card .sp-btn { width: 100%; }
.sp-pass-card .sp-pass-action { margin-block-start: auto; }
.sp-pass-payment { margin: 16px 0 28px; text-align: center; color: var(--sp-muted); font-size: 14px; }
.sp-pass-benefits { margin-block-end: 0; }
.sp-pass-benefits ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 22px;
    margin-block: 12px;
}
.sp-pass-benefits li { margin: 0; }
.sp-pass-benefits p:last-child { margin-block-end: 0; }
@media (max-width: 640px) {
    .sp-pass-grid, .sp-pass-benefits ul { grid-template-columns: minmax(0, 1fr); }
    .sp-pass-grid { gap: 14px; }
    .sp-pass-pricing { padding-inline: clamp(16px, 4vw, 22px); }
}

.sp-order-page { max-width: 980px; padding-block: clamp(36px, 6vw, 72px); }
.sp-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.sp-order-layout .sp-card { margin: 0; }
.sp-order-status > p:first-child { margin-block-start: 0; }
.sp-order-actions { margin-block-end: 0; }
.sp-order-details { margin: 12px 0 0; }
.sp-order-details > div { padding-block: 10px; border-block-end: 1px solid var(--sp-border); }
.sp-order-details > div:last-child { padding-block-end: 0; border: 0; }
.sp-order-details dt { font-size: 14px; color: var(--sp-muted); }
.sp-order-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.sp-order-details code { font-size: 13px; font-weight: 500; }
@media (max-width: 640px) {
    .sp-order-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .sp-order-actions { align-items: stretch; flex-direction: column; }
    .sp-order-actions .sp-btn { width: 100%; }
}
