/* Account-only type and travel passes. No third-party font request on sign-in. */
@font-face { font-family:"OxyGet Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/oxyget-account-manrope-cyrillic-v1.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:"OxyGet Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/oxyget-account-manrope-latin-v1.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:"OxyGet Nunito";font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/oxyget-account-nunito-cyrillic-v1.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:"OxyGet Nunito";font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/oxyget-account-nunito-latin-v1.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
html.ox-redesign .cabinet-story { background:radial-gradient(ellipse at 95% 0,color-mix(in srgb,var(--travel-lilac) 9%,transparent),transparent 58%),radial-gradient(ellipse at 0 65%,color-mix(in srgb,var(--travel-peach) 7%,transparent),transparent 52%); }
.cabinet-story { --ox-sans:"OxyGet Manrope","Inter",sans-serif;--account-display:"OxyGet Nunito","OxyGet Manrope",sans-serif;--story-ink:#fff7ef;--story-glass:#192441df;--story-ticket:#e1ecff;--story-ticket-ink:#142d54;--sheet:#29364f;--sheet-face:#34445f;--sheet-line:#13223a;--sheet-text:#fff7ed;--sheet-muted:#c2cde0;--sheet-blue:#d4e5ff;--sheet-peach:#ffd09e;font-family:var(--ox-sans); }
html[data-theme="light"] .cabinet-story { --sheet:#fff8ed;--sheet-face:#f0eadf;--sheet-line:#233650;--sheet-text:#233650;--sheet-muted:#5a697d; }
.cabinet-story .cab-account-heading h1 { letter-spacing:-.055em;font-weight:800; }
html.ox-redesign .cabinet-story .cab-section-nav { border:0;border-radius:24px;background:color-mix(in srgb,var(--travel-lilac) 6%,var(--surface));padding:7px; }
html.ox-redesign .cabinet-story .cab-section-nav .btn-primary { background:color-mix(in srgb,var(--travel-lilac) 18%,var(--surface)) !important;border-radius:18px; }
.cabinet-story .cab-payment-switch { width:fit-content;padding:4px;gap:4px;border:0;border-radius:99px;background:var(--surface); }
.cabinet-story .cab-payment-switch button { border:0;border-radius:99px;background:transparent;min-width:120px; }
.cabinet-story .cab-payment-switch [aria-pressed="true"] { background:var(--rd-button);color:var(--rd-button-text); }
html.ox-redesign .ox-page-shell .cabinet-workspace.cabinet-story :is(.saas-card-balance,.saas-card-buy,.ref-simple) { border:0 !important;box-shadow:none !important;border-radius:32px; }
html.ox-redesign .ox-page-shell .cabinet-story .saas-card-balance { grid-template-columns:1fr 1.05fr;align-items:start;padding:0;background:transparent !important;overflow:visible; }
.cabinet-story .cab-wallet-pass { position:sticky;top:100px;display:block;align-self:start;min-height:0;margin:0 22px 0 0;padding:0 0 76px;border:2px solid var(--sheet-line);border-radius:26px 26px 12px 26px;isolation:isolate;background:var(--sheet);overflow:hidden;box-shadow:0 5px 0 var(--sheet-line); }
.cabinet-story .cab-wallet-pass>img { display:block;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;margin:0; }
.cabinet-story .cab-wallet-pass:after { content:none; }
.cabinet-story .cab-story-balance { position:absolute;z-index:2;bottom:18px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:auto;max-width:none;margin:0;padding:12px 16px;border:2px solid var(--sheet-line);border-radius:15px 15px 6px 15px;background:var(--sheet-peach);color:var(--story-ticket-ink);backdrop-filter:none; }
.cabinet-story .cab-story-balance span { color:var(--story-ticket-ink);font-size:12px;font-weight:650; }
.cabinet-story .cab-story-balance strong { font:850 clamp(26px,3.4vw,34px)/1.1 var(--account-display);letter-spacing:-.02em;color:var(--story-ticket-ink);overflow-wrap:anywhere; }
.cabinet-story .cab-story-action { display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;width:100%;padding:16px 22px;border:0;border-radius:20px;background:var(--story-ticket);color:var(--story-ticket-ink);font:750 15px/1.4 var(--ox-sans);text-decoration:none;cursor:pointer;transition:background-color .15s,box-shadow .15s; }
.cabinet-story .cab-story-action:hover { background:#f3f6ff;box-shadow:0 4px 18px #111c3b26; }
.cabinet-story .cab-story-action:active { transform:translateY(1px); }
.cabinet-story .cab-story-action:disabled { cursor:wait;opacity:.65; }
.cabinet-story .cab-story-action svg { width:20px;height:20px;flex:none; }
.cabinet-story .cab-wallet-form { padding:0;position:relative;min-width:0; }
.cabinet-story .cab-amount-ticket { padding:26px;border:2px solid var(--sheet-line);border-radius:26px 26px 12px 26px;background:var(--sheet);color:var(--sheet-text);box-shadow:0 5px 0 var(--sheet-line); }
.cabinet-story .cab-panel-heading { gap:12px;align-items:center;margin-bottom:26px; }
.cabinet-story .cab-wallet-form .cab-panel-heading h2 { font:850 30px/1.05 var(--account-display);letter-spacing:-.02em;color:var(--sheet-text); }
.cab-wallet-title-icon { display:grid;place-items:center;flex:none;width:42px;height:42px;border:2px solid var(--sheet-line);border-radius:14px 14px 6px 14px;background:var(--sheet-peach);color:var(--story-ticket-ink);transform:rotate(-5deg); }
.cab-wallet-title-icon svg { width:23px;height:23px; }
.cabinet-story .cab-method-badge { padding:8px 11px;border-radius:99px;background:color-mix(in srgb,var(--travel-mint) 14%,var(--surface));color:var(--text);font-weight:700;flex:none; }
.cabinet-story .cab-amount-field { gap:10px;padding:0;border:0;border-radius:0;background:none;font:600 12px/1.5 var(--ox-sans);color:var(--sheet-muted); }
.cabinet-story .cab-amount-input { position:relative;gap:10px;padding:14px 18px;border:2px solid var(--sheet-line);border-radius:18px 18px 8px 18px;background:var(--sheet-blue);box-shadow:0 3px 0 var(--sheet-line);color:var(--story-ticket-ink); }
.cabinet-story .cab-amount-input:focus-within { outline:0; }
.cabinet-story .cab-amount-field:focus-within { outline:0; }
.cabinet-story .cab-amount-field:focus-within .cab-amount-input { outline:2px solid var(--brand);outline-offset:4px; }
html.ox-redesign .cabinet-story input.cabinet-topup-custom { flex:1;min-width:0;width:100%;padding:0;border:0;background:none;box-shadow:none;font:850 clamp(42px,4.6vw,60px)/1.1 var(--account-display);letter-spacing:-.025em;font-variant-numeric:tabular-nums;color:var(--story-ticket-ink); }
.cabinet-story .cab-amount-input>b { color:var(--story-ticket-ink);font:750 30px/1 var(--account-display); }
.cabinet-story .cab-amount-edit { display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:0;background:none;color:#4a6688; }
.cab-amount-edit svg { width:16px;height:16px; }
.cabinet-story .saas-topup-pills { display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px; }
.cabinet-story .saas-topup-pills .saas-pill { flex:1;min-width:68px;min-height:44px;padding:9px 10px;border:2px solid var(--sheet-line);border-radius:12px 12px 5px 12px;background:var(--sheet-face);font:800 15px/1.3 var(--account-display);font-variant-numeric:tabular-nums;color:var(--sheet-text);box-shadow:0 2px 0 var(--sheet-line); }
.cabinet-story .saas-topup-pills .saas-pill.active { background:var(--sheet-peach);border-color:var(--sheet-line);color:var(--story-ticket-ink); }
.cab-payment-method { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;color:var(--sheet-muted);font-size:11px; }
.cab-payment-method strong { display:flex;align-items:center;gap:7px;color:var(--sheet-text);font-size:12px;font-weight:650; }
.cab-payment-method svg { width:17px;height:17px; }
.cabinet-story .cab-wallet-form .cab-story-action { min-height:58px;padding:15px 18px;border:2px solid var(--sheet-line);border-radius:17px 17px 7px 17px;background:var(--sheet-peach);color:var(--story-ticket-ink);font:850 18px/1.3 var(--account-display);letter-spacing:0;box-shadow:0 4px 0 var(--sheet-line); }
.cabinet-story .cab-wallet-form .cab-story-action:hover { background:#ffdcaf;box-shadow:0 4px 0 var(--sheet-line); }
.cabinet-story .cab-wallet-form .cab-story-action:active { transform:translateY(3px);box-shadow:0 1px 0 var(--sheet-line); }
.cabinet-story .cabinet-topup-actions:empty { display:none; }
.cabinet-story .cab-wallet-form .cab-topup-note { margin:13px 0 22px;text-align:center;font-size:11px;line-height:1.6;color:var(--sheet-muted); }
.cabinet-story .cab-wallet-form .cab-wallet-explain { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;width:100%;padding:14px 0;margin:0 0 12px;border:0;background:none;text-align:left;color:var(--text-muted);font:500 12px/1.6 var(--ox-sans);cursor:pointer; }
.cab-wallet-explain>span { display:flex;gap:6px;align-items:center;color:var(--brand);font-weight:750; }
.cab-wallet-explain svg { width:16px;height:16px; }
.cabinet-story :is(.cab-balance-tools,.cab-history-disclosure) { border:0;background:var(--sheet-face);border-radius:13px 13px 5px 13px;margin:12px 0 0;padding:0 14px;color:var(--sheet-text); }
.cabinet-story :is(.cab-balance-tools,.cab-history-disclosure)>summary { font-size:12px;min-height:50px; }
.cabinet-story :is(.cab-balance-tools,.cab-history-disclosure)[open] { padding-bottom:14px; }
.cabinet-story .cab-balance-tools input { min-width:0;min-height:48px;width:100%;padding:12px;border:2px solid var(--sheet-line);border-radius:12px;background:var(--sheet-blue);color:var(--story-ticket-ink);font:650 16px/1.4 var(--ox-sans); }
/* Subscription controls and the receipt share one state and one purchase action. */
html.ox-redesign .ox-page-shell .cabinet-workspace.cabinet-story .saas-card-buy { display:block;padding:28px;border:2px solid var(--sheet-line) !important;border-radius:28px 28px 12px 28px;background:var(--sheet) !important;box-shadow:0 5px 0 var(--sheet-line) !important; }
.cab-plan-intro { display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px; }
.cab-plan-intro>div { position:relative;flex:1;padding:17px 20px;border:2px solid var(--sheet-line);border-radius:23px 23px 7px 23px;background:var(--sheet-blue);box-shadow:0 3px 0 var(--sheet-line); }
.cab-plan-intro h2 { margin:0;font:850 clamp(28px,3.4vw,36px)/1.1 var(--account-display);letter-spacing:-.02em;color:var(--story-ticket-ink); }
.cab-plan-intro p { margin:8px 0 0;color:var(--text-muted);font-size:13px; }
.cab-plan-intro>img { width:82px;height:105px;object-fit:contain;flex:none; }
.cabinet-story .cab-purchase-switch { width:min(100%,420px);border-radius:0;gap:10px;margin-bottom:28px;padding:0;background:none; }
.cabinet-story .cab-purchase-switch button { min-height:46px;border:2px solid var(--sheet-line);border-radius:13px 13px 5px 13px;background:var(--sheet-face);color:var(--sheet-muted);font:800 16px/1.25 var(--account-display); }
.cabinet-story .cab-purchase-switch [aria-pressed="true"] { border-color:var(--sheet-line);background:var(--sheet-peach);color:var(--story-ticket-ink);box-shadow:0 3px 0 var(--sheet-line); }
.cab-plan-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.72fr);gap:34px;align-items:start; }
.cab-plan-controls { display:grid;gap:28px;min-width:0; }
.cabinet-story .cab-plan-controls>* { order:0; }
html.ox-redesign .cabinet-story .cab-plan-controls .ox-cfg-group { margin:0; }
.cabinet-story .cab-plan-controls .cab-plan-devices { gap:0; }
.cabinet-story .cab-buy-pricing .ox-cfg-label { display:block;font:750 16px/1.4 var(--account-display);color:var(--sheet-text);margin:0 0 4px; }
html.ox-redesign .cabinet-story .cab-plan-controls .cab-renew-key-select { padding:0;border:0;border-radius:0;background:none !important;box-shadow:none; }
html.ox-redesign .cabinet-story .cab-renew-key-list { display:grid;grid-template-columns:minmax(0,1fr);gap:8px;max-height:220px; }
html.ox-redesign .cabinet-story .cab-renew-key-option { display:flex;align-items:center;gap:10px;min-width:0;min-height:54px;padding:10px 12px;text-align:left;border:2px solid var(--sheet-line);border-radius:12px 12px 5px 12px;background:var(--sheet-face);color:var(--sheet-text); }
.cabinet-story .cab-renew-key-option>span { display:flex;flex:1;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;min-width:0; }
.cabinet-story .cab-renew-key-option strong { font:750 14px/1.4 var(--account-display);white-space:normal;overflow-wrap:anywhere; }
.cabinet-story .cab-renew-key-option em { font:500 11px/1.4 var(--ox-sans);color:inherit;opacity:.8; }
.cab-choice-check { display:grid;place-items:center;flex:none;width:24px;height:24px;border:2px solid currentColor;border-radius:8px;background:transparent; }
.cab-choice-check svg { width:17px;height:17px;visibility:hidden; }
.is-selected .cab-choice-check svg { visibility:visible; }
html.ox-redesign .cabinet-story .cab-renew-key-option.is-selected { border-color:var(--sheet-line);background:var(--sheet-blue);color:var(--story-ticket-ink);box-shadow:0 2px 0 var(--sheet-line); }
html.ox-redesign .cabinet-story .ox-seg.months { display:grid;gap:8px;padding:0;background:none;border:0; }
html.ox-redesign .cabinet-story .ox-seg.months button { display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-height:84px;min-width:0;padding:12px 6px;border:2px solid var(--sheet-line);border-radius:14px 14px 6px 14px;background:var(--sheet-face);color:var(--sheet-text);font-family:var(--account-display);box-shadow:0 2px 0 var(--sheet-line);transform:none; }
.cabinet-story .ox-seg.months button strong { font:850 30px/1.05 var(--account-display);letter-spacing:-.02em; }
.cabinet-story .ox-seg.months button small { font:650 11px/1.4 var(--account-display);color:inherit;opacity:1;margin-top:5px; }
html.ox-redesign .cabinet-story .ox-seg.months button.is-active { background:var(--sheet-peach);border-color:var(--sheet-line);color:var(--story-ticket-ink);box-shadow:0 4px 0 var(--sheet-line); }
html.ox-redesign .cabinet-story .ox-seg-save { position:absolute;top:-9px;right:5px;margin:0;padding:3px 5px;border:1px solid var(--sheet-line);border-radius:5px;background:#c6ecd5;color:var(--story-ticket-ink);font:800 10px/1 var(--account-display); }
.cabinet-story .cab-devices-head { margin-bottom:14px; }
.cabinet-story .cab-devices-head em { font:750 16px/1.4 var(--account-display);color:var(--sheet-text); }
.cab-device-stepper { display:flex;align-items:center;gap:2px;padding:2px;border:2px solid var(--sheet-line);border-radius:13px 13px 5px 13px;background:var(--sheet-blue);box-shadow:0 2px 0 var(--sheet-line); }
.cab-device-stepper button { display:grid;place-items:center;min-width:38px;height:40px;border:0;border-radius:9px;background:transparent;color:var(--story-ticket-ink);font:750 23px/1 var(--account-display);cursor:pointer; }
.cab-device-stepper button:hover:not(:disabled) { background:#bfd5f6; }
.cab-device-stepper button:disabled { opacity:.4;cursor:default; }
.cabinet-story .cab-device-stepper [data-device-count] { display:block;min-width:24px;margin:0;padding:0;border:0;background:none;box-shadow:none; }
.cabinet-story .cab-device-stepper [data-device-count] i { font:850 25px/1.2 var(--account-display);color:var(--story-ticket-ink); }
.cabinet-story .cab-device-range { width:100%;min-width:0;margin:8px 0 16px; }
.cabinet-story .cab-device-range::-webkit-slider-runnable-track { height:10px;border:2px solid var(--sheet-line);background:linear-gradient(var(--sheet-peach),var(--sheet-peach)) 0 / var(--pct) 100% no-repeat,var(--sheet-face);box-shadow:none; }
.cabinet-story .cab-device-range::-webkit-slider-thumb { width:26px;height:26px;margin-top:-10px;border:2px solid var(--sheet-line);background:var(--sheet-blue);box-shadow:0 2px 0 var(--sheet-line); }
.cabinet-story .cab-device-range::-moz-range-track { height:7px;border:2px solid var(--sheet-line);background:var(--sheet-face); }
.cabinet-story .cab-device-range::-moz-range-progress { height:7px;background:var(--sheet-peach); }
.cabinet-story .cab-device-range::-moz-range-thumb { width:22px;height:22px;border:2px solid var(--sheet-line);background:var(--sheet-blue);box-shadow:0 2px 0 var(--sheet-line); }
.cabinet-story .cab-devices-foot { gap:10px;font:500 11px/1.6 var(--ox-sans);color:var(--sheet-muted); }
.cabinet-story .cab-devices-foot span:last-child { color:var(--sheet-muted); }
html.ox-redesign .cabinet-story .cab-plan-controls .public-whitelist-option { margin:0;padding:16px;border:2px solid var(--sheet-line);border-radius:17px 17px 7px 17px;background:var(--sheet-face);box-shadow:0 3px 0 var(--sheet-line); }
.cabinet-story .public-whitelist-copy strong { font:750 16px/1.4 var(--account-display);color:var(--sheet-text); }
.cabinet-story .public-whitelist-copy small { max-width:34ch;font-size:11px;line-height:1.6;color:var(--sheet-muted); }
.cabinet-story .public-whitelist-copy b { color:var(--sheet-text);font:750 13px/1.3 var(--account-display); }
.cabinet-story .public-whitelist-switch { width:46px;height:28px;border:2px solid var(--sheet-line);background:var(--sheet);border-radius:9px 9px 4px 9px; }
.cabinet-story .public-whitelist-switch:after { width:18px;height:18px;top:3px;left:3px;border:1px solid var(--sheet-line);border-radius:5px;background:var(--sheet-blue); }
.cabinet-story .public-whitelist-option input:checked+.public-whitelist-switch { border-color:var(--sheet-line);background:var(--sheet-peach); }
.cabinet-story .public-whitelist-option input:checked+.public-whitelist-switch:after { left:21px;background:var(--story-ticket-ink); }
html.ox-redesign .cabinet-story .cab-buy-pricing .cab-plan-ticket { position:sticky;top:100px;min-width:0;margin:0;padding:24px;border:2px solid var(--sheet-line);border-radius:23px 23px 9px 23px;background:var(--sheet-face) !important;color:var(--sheet-text);box-shadow:0 4px 0 var(--sheet-line);text-align:left; }
.cab-ticket-heading { display:flex;gap:8px;align-items:center;color:var(--text-muted);font-size:12px;font-weight:750; }
.cab-ticket-heading img { width:34px;height:27px;object-fit:contain; }
.cab-ticket-heading>span:last-child { margin-left:auto; }
.cab-ticket-heading svg { width:20px;height:20px; }
.cab-plan-ticket h3 { margin:24px 0 18px;font:850 25px/1.15 var(--account-display);letter-spacing:-.02em;overflow-wrap:anywhere; }
.cab-ticket-features { display:grid;gap:12px;padding:0;margin:0 0 24px;list-style:none; }
.cab-ticket-features li { display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6; }
.cab-ticket-features svg { width:18px;height:18px;flex:none;color:var(--text-muted); }
.cab-ticket-total { border-top:1px solid var(--border);padding-top:20px; }
html.ox-redesign .cabinet-story .cab-plan-ticket .ox-cfg-total { margin:8px 0;font:850 clamp(38px,4.5vw,50px)/1.1 var(--account-display);letter-spacing:-.025em;color:var(--sheet-text);overflow-wrap:anywhere;white-space:normal; }
html.ox-redesign .cabinet-story .cab-plan-ticket .ox-cfg-permo { padding:0;border:0;font-size:12px; }
.cabinet-story .cab-plan-ticket .ox-cfg-permo b { font-family:inherit;color:var(--text); }
.cab-ticket-wallet { display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:22px 0 0;font-size:11px;color:var(--text-muted); }
.cab-ticket-wallet b { color:var(--text); }
.cabinet-story .cab-purchase-submit { min-height:54px;border:2px solid var(--sheet-line);border-radius:14px 14px 6px 14px;background:var(--sheet-peach);color:var(--story-ticket-ink);font:850 17px/1.3 var(--account-display);box-shadow:0 3px 0 var(--sheet-line) !important; }
.cabinet-story .cab-purchase-submit:hover { background:#ffdcaf; }
html.ox-redesign .ox-page-shell .cabinet-story :is(.cab-purchase-submit,.cab-amount-ticket .btn-primary) { border:2px solid var(--sheet-line) !important;background:var(--sheet-peach) !important;color:var(--story-ticket-ink) !important;box-shadow:0 3px 0 var(--sheet-line) !important;font-family:var(--account-display);font-weight:850; }
html.ox-redesign .cabinet-story :is(.cab-purchase-submit,.cab-amount-ticket .btn-primary):hover { background:#ffdcaf !important; }
.cabinet-story .cab-purchase-context { margin:14px 0 0;font-size:11px;line-height:1.6; }
/* An invitation postcard, with the live reward kept separate from the artwork. */
html.ox-redesign .ox-page-shell .cabinet-story .ref-simple { display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:0;padding:18px;background:var(--surface) !important;overflow:hidden; }
.cabinet-story .ref-invite-scene { position:relative;display:block;align-self:start;min-width:0;min-height:0;padding:0 0 88px;overflow:hidden;isolation:isolate;background:#24304d;border-radius:25px; }
.cabinet-story .ref-invite-scene>img { display:block;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:0;transform:none;box-shadow:none; }
.cabinet-story .ref-invite-scene .cab-story-action { position:absolute;z-index:2;bottom:18px;left:18px;right:18px;width:calc(100% - 36px);margin:0;max-width:none;min-height:54px;background:#e5dcff;transform:none;border-radius:18px;box-shadow:none !important; }
.cabinet-story .ref-invite-scene .cab-story-action:hover { background:#f2ecff; }
.cabinet-story .ref-invite-scene .cab-story-action span { color:var(--story-ticket-ink);font-size:14px;font-weight:750; }
.cabinet-story .ref-invite-body { display:grid;grid-template-columns:minmax(0,1fr);padding:16px 12px 16px 30px;gap:22px;min-width:0; }
.cabinet-story .ref-story-heading h2 { margin:0;font:800 clamp(27px,3.2vw,36px)/1.15 var(--ox-sans);letter-spacing:-.055em;color:var(--text); }
.cabinet-story .ref-story-heading p { margin:8px 0 0;font-size:12px;line-height:1.6;color:var(--text-muted); }
.ref-reward { display:flex;align-items:center;gap:18px; }
.ref-reward>strong { font:800 clamp(48px,5vw,64px)/1 var(--ox-sans);letter-spacing:-.075em;color:var(--brand); }
.ref-reward>span { display:grid;gap:5px;font-size:12px;color:var(--text-muted);line-height:1.5; }
.ref-reward b { color:var(--text);font-weight:700; }
.cabinet-story .ref-share-box { gap:9px; }
.cabinet-story .ref-share-box>label { font-size:11px;color:var(--text-muted);font-weight:650; }
.ref-how { display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;list-style:none;margin:-10px 0 0;padding:0;font-size:10px;line-height:1.6;color:var(--text-muted); }
.ref-how li:not(:last-child):after { content:"\203A";margin-left:10px;opacity:.7; }
.cabinet-story .ref-results { gap:0;padding:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border); }
.cabinet-story .ref-results>div { gap:6px;padding:0 14px 0 0;border:0;border-radius:0;background:none; }
.cabinet-story .ref-results>div+div { padding:0 0 0 18px;border-left:1px solid var(--border); }
.cabinet-story .ref-results strong { font:800 26px/1.25 var(--ox-sans);letter-spacing:-.05em;overflow-wrap:anywhere; }
.cabinet-story .ref-results span { font-size:10px; }
.cabinet-story .ref-more { border:0;margin:0;padding:0;min-width:0; }
.cabinet-story .ref-more summary { display:flex;justify-content:space-between;gap:12px;padding:4px 0;list-style:none;font-size:12px;font-weight:700;color:var(--text); }
.cabinet-story .ref-more summary::-webkit-details-marker { display:none; }
.ref-more summary:after { content:"+";font-size:19px;line-height:1; }
.ref-more[open] summary:after { content:"\2212"; }
.cabinet-story .ref-more p { margin:14px 0;font-size:12px;line-height:1.7; }
.cabinet-story .ref-secondary-links { gap:10px;margin:18px 0; }
.cabinet-story .ref-secondary-links a { padding:10px 14px;border-radius:99px;background:var(--bg);font-size:11px;text-decoration:none; }
/* One integrated copy control, reused for invitations and connection links. */
.cabinet-story .ref-link-field,html.ox-redesign .cab-happ-prompt .cab-wizard-url { padding:0;gap:0;grid-template-columns:minmax(0,1fr) 54px;border:1px solid var(--border-strong);border-radius:17px;background:color-mix(in srgb,var(--travel-lilac) 7%,var(--bg));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text) 7%,transparent);overflow:hidden; }
.cabinet-story .ref-link-field input,.cab-happ-prompt .cab-wizard-url input { padding:16px 14px;font:450 12px/1.5 var(--ox-sans);letter-spacing:0;color:var(--text);text-overflow:ellipsis; }
.cabinet-story .ref-link-field button,.cab-happ-prompt .cab-wizard-url button { width:54px;height:54px;border:0;border-left:1px dashed var(--border-strong);border-radius:0;background:color-mix(in srgb,var(--travel-sky) 17%,var(--surface));color:var(--brand); }
.cabinet-story .ref-link-field button:hover,.cab-happ-prompt .cab-wizard-url button:hover { background:var(--rd-button);color:var(--rd-button-text); }
.cabinet-story .ref-link-field button svg,.cab-happ-prompt .cab-wizard-url button svg { width:22px;height:22px; }
.cab-copy-field-label { display:block;margin-bottom:9px;color:var(--text-muted);font:500 12px var(--ox-sans); }
.cab-copy-field { display:grid;grid-template-columns:minmax(0,1fr) 54px;min-width:0;border:1px solid var(--border-strong);border-radius:17px;background:color-mix(in srgb,var(--travel-lilac) 7%,var(--bg));overflow:hidden; }
.cab-copy-field input { min-width:0;width:100%;padding:16px 14px;border:0;background:transparent;color:var(--text);font:450 12px/1.5 var(--ox-sans);text-overflow:ellipsis; }
.cab-copy-field button { display:grid;place-items:center;width:54px;height:54px;border:0;border-left:1px dashed var(--border-strong);border-radius:0;background:color-mix(in srgb,var(--travel-sky) 17%,var(--surface));color:var(--brand);cursor:pointer; }
.cab-copy-field button svg { width:22px;height:22px; }
.cab-copy-field button:hover { background:var(--rd-button);color:var(--rd-button-text); }
.cab-copy-field:focus-within { outline:2px solid var(--brand);outline-offset:3px; }
.cabinet-story :is(button,a,input,summary):focus-visible { outline:2px solid var(--brand);outline-offset:3px; }
.cabinet-story .ref-link-field:focus-within { outline:2px solid var(--brand);outline-offset:3px; }
.cabinet-story .ref-link-field { grid-template-columns:minmax(0,1fr) 46px;padding:6px;gap:4px;border:0;border-radius:20px;background:color-mix(in srgb,var(--travel-sky) 10%,var(--bg));box-shadow:none; }
.cabinet-story .ref-link-field input { padding:10px;font-size:12px; }
.cabinet-story .ref-link-field button { width:46px;height:46px;border:0;border-radius:15px;background:color-mix(in srgb,var(--travel-lilac) 20%,var(--surface));color:var(--text); }
.cabinet-story .ref-link-field button:disabled { opacity:.4;cursor:default; }
@media(max-width:760px) {
 html.ox-redesign .ox-page-shell .cabinet-workspace.cabinet-story .saas-card-balance { grid-template-columns:minmax(0,1fr);padding:0;border-radius:28px; }
 .cabinet-story .cab-wallet-pass { position:relative;top:auto;min-height:0;aspect-ratio:auto;margin:0 0 18px;padding-bottom:76px; }
 .cabinet-story .cab-wallet-pass>img { object-fit:contain;object-position:center; }
 .cabinet-story .cab-story-balance { bottom:14px;left:14px;right:14px;margin:0;padding:10px 13px;border-radius:14px 14px 5px 14px; }
 .cabinet-story .cab-story-balance strong { font-size:28px; }
 .cabinet-story .cab-story-action { min-height:54px;padding:14px 18px;font-size:14px; }
 .cabinet-story .cab-wallet-form { z-index:2;margin:0;padding:0;border-radius:0;background:none; }
 .cabinet-story .cab-amount-ticket { padding:20px 18px; }
 .cabinet-story .cab-wallet-form .cab-panel-heading h2 { font-size:28px; }
 .cabinet-story .cab-amount-field { padding:0; }
 .cabinet-story .cab-amount-input { padding:12px;gap:8px; }
 html.ox-redesign .cabinet-story input.cabinet-topup-custom { font-size:48px; }
 html.ox-redesign .cabinet-story input.cabinet-topup-custom.is-long-amount { font-size:34px; }
 .cabinet-story .cab-plan-layout { grid-template-columns:minmax(0,1fr);gap:28px; }
 html.ox-redesign .ox-page-shell .cabinet-workspace.cabinet-story .saas-card-buy { padding:20px 16px;border-radius:24px 24px 10px 24px; }
 .cab-plan-intro { gap:10px; }
 .cab-plan-intro>div { padding:15px; }
 .cab-plan-intro>img { width:64px;height:90px; }
 .cab-plan-intro h2 { font-size:29px; }
 .cab-plan-intro p { font-size:12px; }
 .cabinet-story .cab-plan-controls { gap:24px; }
 html.ox-redesign .cabinet-story .ox-seg.months button { min-height:80px;padding:12px 5px; }
 html.ox-redesign .cabinet-story .cab-buy-pricing .cab-plan-ticket { position:static;top:auto;padding:20px;border-radius:20px 20px 7px 20px; }
 html.ox-redesign .ox-page-shell .cabinet-workspace.cabinet-story .ref-simple { grid-template-columns:minmax(0,1fr);padding:12px;border-radius:28px; }
 .cabinet-story .ref-invite-scene { border-radius:20px;padding-bottom:82px; }
 .cabinet-story .ref-invite-scene .cab-story-action { bottom:14px;left:14px;right:14px;width:calc(100% - 28px); }
 .cabinet-story .ref-invite-body { grid-template-columns:minmax(0,1fr);padding:24px 8px 12px;gap:22px; }
 .cabinet-story .ref-story-heading h2 { font-size:29px; }
 .cabinet-story .ref-results { gap:0; }
}
@media(max-width:370px) {
 .cabinet-story .cab-payment-switch { width:100%; }
 .cabinet-story .cab-payment-switch button { flex:1;min-width:0; }
 html.ox-redesign .cabinet-story .ox-seg.months { gap:5px; }
 html.ox-redesign .cabinet-story .ox-seg.months button { padding:12px 4px;min-height:78px;border-radius:12px 12px 5px 12px; }
 .cabinet-story .ox-seg.months button strong { font-size:27px; }
 html.ox-redesign .cabinet-story .ox-seg-save { right:5px;font-size:9px; }
 .cabinet-story .cab-wallet-form .cab-panel-heading h2 { font-size:26px; }
 .cabinet-story .ref-results strong { font-size:23px; }
 .cabinet-story .cab-plan-intro h2 { font-size:27px; }
}
@media(prefers-reduced-motion:reduce) { .cabinet-story .cab-story-action,.cabinet-story .cab-wallet-form .cab-story-action:active { transform:none;transition:none; } }
