/* ============================================================
   CableCast.ca member site (Home / Login / Account / Gift designs)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); background: var(--bg-page); color: var(--fg-1); font-size: 13px; line-height: 1.5; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-pressed); }
input, select, textarea, button { font-family: var(--font-body); color: var(--fg-1); }
button { cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--separator-brand); outline-offset: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: pretty; }
strong { font-weight: 700; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3) !important; }
.hidden { display: none !important; }
.shell { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Nav / footer ---------- */
.sitenav { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; border-bottom: 1px solid var(--border-hairline); gap: 12px; }
.sitenav.glass { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); }
.sitenav.plain { background: var(--bg-surface); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg-1); }
.brand:hover { color: var(--fg-1); }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.brand-name { font-size: 16px; font-weight: 700; }
.brand-name span { color: var(--brand); }
.navlinks { display: flex; align-items: center; gap: 20px; }
.navlink { font-size: 13px; font-weight: 600; color: var(--fg-1); }
.navlink.brand { color: var(--brand); }
.btn-pill { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); padding: 9px 18px; border-radius: 9999px; border: none; }
.btn-pill:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { display: inline-block; font-size: 12px; font-weight: 700; color: var(--fg-1); background: transparent; border: 1px solid var(--border-hairline); padding: 8px 16px; border-radius: 9999px; }
.btn-ghost:hover { background: var(--bg-tinted); color: var(--fg-1); }
.sitefooter { margin-top: auto; background: var(--bg-surface); border-top: 1px solid var(--border-hairline); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--fg-2); }
.sitefooter .links { display: flex; gap: 18px; }
/* Design-system Button */
.ds-btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .14px; padding: 12px 22px; border-radius: 9999px; border: none; background: var(--brand); color: var(--fg-on-brand); transition: background .15s ease, color .15s ease; text-decoration: none; }
.ds-btn:hover { background: var(--brand-hover); color: #fff; }
.ds-btn:disabled { background: var(--bg-neutral); color: var(--fg-3); cursor: not-allowed; }
.ds-btn.outlined { background: transparent; color: var(--fg-1); border: 1px solid var(--brand); padding: 11px 21px; }
.ds-btn.outlined:hover { background: var(--bg-tinted); color: var(--fg-1); }
.ds-btn.premium { background: linear-gradient(180deg,#FAE085 0%,#BA9509 100%); color: #1C1C1C; padding: 11px 22px; border: 1.5px solid rgba(158,133,36,0.7); box-shadow: rgba(0,0,0,.10) 0 4px 10px; }
.flash { border-radius: 8px; padding: 10px 14px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.flash.ok { background: #EAF6EE; color: var(--semantic-success); }
.flash.err { background: #FDF0F0; color: var(--semantic-negative); }
.flash.info { background: var(--bg-tinted); color: var(--brand-soft-fg); }

/* ---------- Forms ---------- */
.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: var(--fg-1); }
.input, .select, .textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border-hairline); border-radius: 8px; font-size: 13px; background: var(--bg-surface); }
.input.lg { padding: 12px 14px; font-size: 14px; }
.textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err-text { color: var(--semantic-negative); font-size: 12px; margin-top: 4px; }
.mac-ok { border-color: var(--semantic-success) !important; }
.mac-bad { border-color: var(--semantic-negative) !important; }
.help { font-size: 11px; color: var(--fg-2); }
.card { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: 12px; box-shadow: var(--shadow-card); padding: 24px; }
.card-lg { border-radius: 18px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--fg-2); text-transform: uppercase; }
.badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.badge.ok { background: #EAF6EE; color: var(--semantic-success); }
.badge.warn { background: #FBF3E4; color: var(--semantic-warn); }
.badge.neg { background: #FDF0F0; color: var(--semantic-negative); }
.badge.neutral { background: var(--bg-neutral); color: var(--fg-2); }
.badge.brand { background: var(--bg-tinted); color: var(--brand-soft-fg); }

/* ---------- Auth pages ---------- */
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-box { width: 380px; max-width: 100%; }
.auth-box h1 { font-size: 24px; font-weight: 700; color: var(--fg-1); margin: 0 0 6px; text-align: center; }
.auth-box .sub { font-size: 13px; color: var(--fg-2); margin: 0 0 24px; text-align: center; }
.auth-card { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: 18px; box-shadow: var(--shadow-card); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.auth-err { background: #FDF0F0; color: var(--semantic-negative); font-size: 12px; padding: 10px 14px; border-radius: 8px; }
.auth-btn { width: 100%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .14px; padding: 13px; border: none; border-radius: 9999px; transition: background 120ms var(--ease-out); }
.auth-btn:hover { background: var(--brand-hover); }
.auth-note { font-size: 11px; color: var(--fg-2); text-align: center; }
.auth-demo { margin-top: 20px; background: var(--bg-tinted); border-radius: 12px; padding: 16px 20px; font-size: 12px; line-height: 1.7; color: var(--fg-2); }
.auth-demo strong { color: var(--brand-soft-fg); }

/* ---------- Home ---------- */
.hero { position: relative; background: #060B12; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: .5; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,18,.30) 0%, rgba(6,11,18,.85) 100%); }
.hero .inner { position: relative; max-width: 960px; margin: 0 auto; padding: 110px 32px 90px; text-align: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(230,248,255,.12); border: 1px solid rgba(230,248,255,.25); color: #E6F8FF; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; padding: 6px 14px; border-radius: 9999px; margin-bottom: 20px; }
.hero h1 { font-size: 42px; font-weight: 700; line-height: 1.15; color: #fff; margin: 0 0 16px; }
.hero p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.hero .cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero .cta a { background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .14px; padding: 14px 30px; border-radius: 9999px; }
.hero .cta a:hover { background: var(--brand-hover); }
.hero .cta span { font-size: 13px; color: rgba(255,255,255,.7); }
.hero .cta strong { color: #fff; }
.stats { background: var(--bg-tinted); border-bottom: 1px solid var(--separator-brand); }
.stats .inner { max-width: 960px; margin: 0 auto; padding: 20px 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stat { text-align: center; flex: 1; min-width: 140px; }
.stat .big { font-size: 20px; font-weight: 700; color: var(--brand-soft-fg); }
.stat .small { font-size: 11px; color: var(--fg-2); }
.section { max-width: 960px; margin: 0 auto; width: 100%; padding: 64px 32px 24px; }
.section h2 { font-size: 26px; font-weight: 700; color: var(--fg-1); margin: 0 0 8px; text-align: center; }
.section p.lead { font-size: 13px; color: var(--fg-2); text-align: center; margin: 0 0 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.incl { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.incl:hover { background: var(--bg-tinted); }
.incl .n { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-soft-fg); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.incl .t { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.incl .d { font-size: 12px; line-height: 1.5; color: var(--fg-2); }
.features { max-width: 960px; margin: 0 auto; width: 100%; padding: 40px 32px; display: flex; flex-direction: column; gap: 48px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.feature.flip .pic { order: 2; }
.feature .pic { width: 100%; border-radius: 18px; box-shadow: var(--shadow-card); background-size: cover; background-position: center; }
.feature .kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--brand); margin-bottom: 8px; }
.feature h3 { font-size: 22px; font-weight: 700; color: var(--fg-1); margin: 0 0 10px; }
.feature p { font-size: 13px; line-height: 1.65; color: var(--fg-2); margin: 0; }
.gallery figure { margin: 0; }
.gallery .pic { width: 100%; border-radius: 18px; box-shadow: var(--shadow-card); background-size: cover; background-position: center; }
.gallery figcaption { font-size: 12px; color: var(--fg-2); margin-top: 8px; text-align: center; }
.gallery .wide { grid-column: 1 / -1; }
.evt { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.evt .pic { width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.evt .body { padding: 16px 18px 18px; }
.evt .t { font-size: 14px; font-weight: 700; color: var(--fg-1); margin-bottom: 4px; }
.evt .d { font-size: 12px; line-height: 1.55; color: var(--fg-2); }
.finenote { font-size: 11px; color: var(--fg-3); text-align: center; margin-top: 16px; }
.book { background: var(--bg-tinted); border-top: 1px solid var(--separator-brand); }
.book .inner { max-width: 720px; margin: 0 auto; padding: 64px 32px 80px; }
.book h2 { font-size: 26px; font-weight: 700; color: var(--fg-1); margin: 0 0 8px; text-align: center; }
.book p.lead { font-size: 13px; color: var(--fg-2); text-align: center; margin: 0 0 28px; }
.book p.lead strong { color: var(--brand); }
.steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--fg-2); }
.step .n { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-neutral); color: var(--fg-2); font-size: 11px; }
.step.active { color: var(--fg-1); }
.step.active .n, .step.done .n { background: var(--brand); color: #fff; }
.book-card { background: var(--bg-surface); border-radius: 18px; box-shadow: var(--shadow-card); padding: 32px; }
.book-card .pane { display: flex; flex-direction: column; gap: 20px; }
.date-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 14px; border: 1px solid var(--border-hairline); border-radius: 8px; font-size: 14px; color: var(--fg-3); background: var(--bg-surface); text-align: left; }
.date-btn.has { color: var(--fg-1); }
.date-btn.open { border-color: var(--brand); }
.date-btn:hover { border-color: var(--brand); }
.date-btn .chev { font-size: 11px; color: var(--fg-3); }
.cal { margin-top: 10px; border: 1px solid var(--border-hairline); border-radius: 12px; background: var(--bg-surface); padding: 16px 18px 18px; }
.cal .nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal .nav button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-hairline); background: var(--bg-surface); color: var(--fg-1); font-size: 14px; }
.cal .nav button:disabled { color: var(--fg-3); cursor: default; }
.cal .nav button:hover:not(:disabled) { background: var(--bg-tinted); }
.cal .nav span { font-size: 14px; font-weight: 700; color: var(--fg-1); }
.cal .wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.cal .wk div { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .8px; color: var(--fg-3); padding: 4px 0; }
.cal .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .days button { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--border-hairline); background: var(--bg-surface); color: var(--fg-1); font-size: 13px; font-weight: 600; }
.cal .days button:hover:not(:disabled) { border-color: var(--brand); }
.cal .days button:disabled { background: var(--bg-neutral); color: var(--fg-3); cursor: default; }
.cal .days button.blank { visibility: hidden; }
.cal .days button.sel { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.cal .note { font-size: 11px; color: var(--fg-2); margin-top: 10px; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slot { padding: 12px; border-radius: 9999px; border: 1px solid var(--border-hairline); background: var(--bg-surface); color: var(--fg-1); font-size: 13px; font-weight: 600; transition: background 120ms var(--ease-out); }
.slot:hover:not(:disabled) { background: var(--bg-tinted); }
.slot:disabled { background: var(--bg-neutral); color: var(--fg-3); cursor: not-allowed; }
.slot.sel { background: var(--brand); border-color: var(--brand); color: #fff; }
.pane-actions { display: flex; justify-content: space-between; gap: 8px; }
.pane-actions.end { justify-content: flex-end; }
.review { background: var(--bg-tinted); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.review .r { display: flex; justify-content: space-between; font-size: 13px; gap: 12px; }
.review .r .k { color: var(--fg-2); }
.review .r .v { font-weight: 600; color: var(--fg-1); text-align: right; }
.review .total { border-top: 1px solid var(--separator-brand); padding-top: 10px; display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.review .total .v { color: var(--brand); }
.review .note { font-size: 11px; color: var(--fg-2); text-align: right; }
.done { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.done .tick { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-tinted); color: var(--semantic-success); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto; }
.done .t { font-size: 18px; font-weight: 700; color: var(--fg-1); }
.done .s { font-size: 13px; color: var(--fg-2); margin-top: 4px; }
.etransfer { background: var(--bg-tinted); border-radius: 12px; padding: 20px; text-align: left; }
.etransfer .k { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; color: var(--brand-soft-fg); margin-bottom: 10px; }
.etransfer .v { font-size: 13px; line-height: 1.7; color: var(--fg-1); }
.etransfer .v .em { color: var(--brand); }
.etransfer .n { font-size: 12px; color: var(--fg-2); margin-top: 8px; }
.marquee-wrap { background: #060B12; padding: 56px 0 64px; overflow: hidden; }
.marquee-wrap h2 { font-size: 26px; font-weight: 700; color: #fff; margin: 0 0 8px; text-align: center; }
.marquee-wrap p { font-size: 13px; color: rgba(255,255,255,.65); text-align: center; margin: 0 0 32px; }
.marquee { display: flex; gap: 16px; width: max-content; animation: cc-marquee 70s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee img { height: 66vh; min-height: 380px; width: auto; border-radius: 14px; display: block; }
@keyframes cc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Account ---------- */
main.account { max-width: 960px; margin: 0 auto; width: 100%; padding: 36px 32px 72px; display: flex; flex-direction: column; gap: 24px; }
.acct-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.acct-head h1 { font-size: 24px; font-weight: 700; color: var(--fg-1); margin: 0 0 4px; }
.acct-head p { font-size: 13px; color: var(--fg-2); margin: 0; }
.club-card { position: relative; overflow: hidden; width: 320px; max-width: 100%; background: var(--gradient-premium-gold); border: 1.5px solid var(--premium-border); border-radius: 14px; padding: 18px 20px 16px; animation: cc-glow 2.6s var(--ease-out) infinite; }
.club-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.club-card .logo { display: flex; align-items: center; gap: 8px; }
.club-card .logo .m { width: 22px; height: 22px; border-radius: 6px; background: #1C1C1C; color: #FAE085; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.club-card .logo .t { font-size: 11px; font-weight: 700; letter-spacing: 1.8px; color: #1C1C1C; }
.club-card .chip { width: 34px; height: 24px; border-radius: 4px; background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.45)); border: 1px solid rgba(158,133,36,.5); margin-bottom: 14px; }
.club-card .name { font-size: 16px; font-weight: 700; letter-spacing: 2.4px; color: #1C1C1C; text-transform: uppercase; }
.club-card .foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 6px; }
.club-card .foot .l1 { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: rgba(28,28,28,.75); }
.club-card .foot .l2 { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: rgba(28,28,28,.6); margin-top: 2px; }
.club-card .what { font-size: 10px; font-weight: 700; color: #1C1C1C; text-decoration: underline; cursor: pointer; background: none; border: none; padding: 0; }
.club-card .shine { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.75), transparent); animation: cc-shimmer 2.6s var(--ease-out) infinite; pointer-events: none; }
@keyframes cc-shimmer { 0% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(340%) skewX(-18deg); } }
@keyframes cc-glow { 0%, 100% { box-shadow: 0 0 10px rgba(250,224,133,.45), var(--shadow-premium); } 50% { box-shadow: 0 0 22px rgba(250,224,133,.85), var(--shadow-premium); } }
.club-letter { background: var(--bg-tinted); border: 1px solid var(--separator-brand); border-radius: 18px; padding: 28px 32px; }
.club-letter .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.club-letter .k { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--brand-soft-fg); }
.club-letter .body { font-size: 13px; line-height: 1.75; color: var(--fg-1); max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.club-letter .body p { margin: 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 9999px; border: 1px solid var(--border-hairline); background: var(--bg-surface); color: var(--fg-1); transition: background 120ms var(--ease-out); }
.tab:hover { background: var(--bg-tinted); color: var(--fg-1); }
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.tab.active:hover { background: var(--brand-hover); color: #fff; }
.acct-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack.sm { gap: 10px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.device { border: 1px solid var(--border-hairline); border-radius: 10px; padding: 14px 16px; }
.device .name { font-size: 14px; font-weight: 700; color: var(--fg-1); }
.device .rename { background: transparent; border: none; padding: 2px; color: var(--fg-3); display: inline-flex; }
.device .rename:hover { color: var(--brand); }
.device .rename-input { font-size: 14px; font-weight: 700; color: var(--fg-1); padding: 4px 10px; border: 1px solid var(--brand); border-radius: 6px; width: 160px; }
.device .exp { font-size: 17px; font-weight: 700; color: var(--fg-1); }
.device .left { font-size: 12px; color: var(--fg-2); }
.device .meta { display: flex; gap: 18px; font-size: 12px; color: var(--fg-2); margin-top: 4px; flex-wrap: wrap; }
.device .meta strong { color: var(--fg-1); }
.redeem-btn { font-size: 11px; font-weight: 700; color: #1C1C1C; background: var(--gradient-premium-gold); border: 1px solid var(--premium-border); padding: 6px 14px; border-radius: 9999px; }
.renew { border-top: 1px solid var(--separator-brand); padding-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.term { padding: 12px 6px; border-radius: 10px; border: 1px solid var(--border-hairline); background: var(--bg-surface); text-align: center; }
.term .m { font-size: 14px; font-weight: 700; color: var(--fg-1); }
.term .p { font-size: 12px; color: var(--fg-2); }
.term.sel { background: var(--bg-tinted); border-color: var(--brand); }
.term.sel .m, .term.sel .p { color: var(--brand-soft-fg); }
.pick { border: 1px solid var(--border-hairline); background: var(--bg-surface); border-radius: 10px; padding: 12px 14px; }
.pick.sel { border-color: var(--brand); background: var(--bg-tinted); }
.pick .head { display: flex; align-items: center; gap: 10px; background: transparent; border: none; padding: 0; text-align: left; width: 100%; }
.pick .box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--border-strong); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.pick.sel .box { border-color: var(--brand); background: var(--brand); }
.pick .t { font-size: 13px; font-weight: 600; color: var(--fg-1); }
.pick .t span { font-weight: 400; color: var(--fg-2); }
.pick .s { font-size: 11px; color: var(--fg-2); }
.pick .s.mono { font-family: var(--font-mono); }
.pick .more { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.pick .more .row label { font-size: 11px; font-weight: 700; color: var(--fg-2); white-space: nowrap; }
.pick .more .select { flex: 1; width: auto; padding: 9px 12px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; text-transform: uppercase; font-family: var(--font-mono); padding: 10px 14px; }
.coupon-row button { font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); border: none; padding: 0 18px; border-radius: 8px; }
.coupon-row button:hover { background: var(--brand-hover); }
.total-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--separator-brand); padding-top: 14px; gap: 12px; flex-wrap: wrap; }
.total-row .t { font-size: 15px; font-weight: 700; color: var(--fg-1); }
.total-row .t span { color: var(--brand); }
.total-row .s { font-size: 11px; color: var(--fg-2); }
.total-row .save { font-size: 11px; font-weight: 700; color: var(--semantic-success); }
.ref-count { display: flex; align-items: baseline; gap: 8px; }
.ref-count .n { font-size: 28px; font-weight: 700; color: var(--brand); }
.ref-count .n span { color: var(--fg-3); font-size: 18px; }
.ref-count .m { font-size: 12px; color: var(--fg-2); }
.bar { height: 8px; background: var(--bg-tinted); border-radius: 9999px; overflow: hidden; }
.bar div { height: 100%; background: var(--brand); border-radius: 9999px; transition: width 320ms var(--ease-out); }
.code-row { display: flex; gap: 8px; }
.code-box { flex: 1; background: var(--bg-tinted); border: 1px dashed var(--separator-brand); border-radius: 8px; padding: 10px 14px; font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--brand-soft-fg); letter-spacing: 1px; }
.copy-btn { font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); border: none; padding: 0 16px; border-radius: 8px; }
.copy-btn:hover { background: var(--brand-hover); }
.ref-list { border-top: 1px solid var(--border-hairline); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.ref-list .r { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.ref-list .r .n { color: var(--fg-1); font-weight: 600; }
.ref-list .r .d { color: var(--semantic-success); font-weight: 600; }
.credits-box { background: var(--bg-tinted); border-radius: 8px; padding: 10px 14px; font-size: 12px; color: var(--brand-soft-fg); font-weight: 600; }
.orders-head, .orders-row { display: grid; grid-template-columns: 90px 100px 1fr 70px 130px 80px; gap: 12px; align-items: center; }
.orders-head { font-size: 11px; font-weight: 700; color: var(--fg-2); padding-bottom: 10px; border-bottom: 1px solid var(--border-hairline); text-transform: uppercase; }
.orders-row { font-size: 13px; padding: 12px 0; }
.orders-item { border-bottom: 1px solid var(--border-hairline); }
.orders-row .id { font-weight: 600; color: var(--brand); }
.orders-row .d { color: var(--fg-2); }
.orders-row .tot { font-weight: 600; }
.orders-row .badge { font-size: 11px; padding: 4px 10px; }
.del-btn { font-size: 11px; font-weight: 700; color: var(--semantic-negative); background: transparent; border: 1px solid var(--border-hairline); padding: 6px 12px; border-radius: 9999px; }
.del-btn:hover { background: #FDF0F0; }
.confirm-del { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #FDF0F0; border-radius: 10px; padding: 12px 16px; margin: 0 0 12px; flex-wrap: wrap; }
.confirm-del .t { font-size: 12px; line-height: 1.6; color: var(--fg-1); }
.confirm-del .t strong { color: var(--semantic-negative); }
.confirm-del .keep { font-size: 11px; font-weight: 700; color: var(--fg-1); background: var(--bg-surface); border: 1px solid var(--border-hairline); padding: 7px 14px; border-radius: 9999px; }
.confirm-del .yes { font-size: 11px; font-weight: 700; color: #fff; background: var(--semantic-negative); border: none; padding: 7px 14px; border-radius: 9999px; }
.pkg-note { background: var(--bg-tinted); border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-size: 12px; line-height: 1.7; color: var(--fg-1); max-width: 640px; }
.pkg-note strong { color: var(--brand-soft-fg); }
.tl { display: grid; grid-template-columns: 16px 1fr auto; gap: 14px; align-items: start; padding: 0 0 18px; }
.tl .rail { display: flex; flex-direction: column; align-items: center; height: 100%; }
.tl .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-3); border: 2px solid transparent; margin-top: 3px; }
.tl.current .dot { background: var(--brand); border-color: var(--brand-soft); }
.tl .line { flex: 1; width: 2px; background: var(--separator-brand); margin-top: 4px; }
.tl.last .line { background: transparent; }
.tl .name { font-size: 13px; font-weight: 700; color: var(--fg-1); }
.tl .range { font-size: 12px; color: var(--fg-2); margin-top: 2px; }
.tl .dur { font-size: 12px; font-weight: 600; color: var(--brand-soft-fg); background: var(--bg-tinted); padding: 4px 12px; border-radius: 9999px; white-space: nowrap; }
.faq-item { border-bottom: 1px solid var(--separator-brand); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--fg-1); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 16px; color: var(--brand); font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .a { font-size: 13px; line-height: 1.7; color: var(--fg-2); padding: 0 2px 16px; max-width: 620px; white-space: pre-line; }

/* ---------- Gift ---------- */
.gift-stage { flex: 1; min-height: calc(100vh - 60px); background: #060B12; position: relative; overflow: hidden; }
.gift-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gift-skip { position: absolute; bottom: 24px; right: 28px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); padding: 8px 18px; border-radius: 9999px; }
.gift-skip:hover { background: rgba(255,255,255,.22); color: #fff; }
.gift-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(180deg, rgba(6,11,18,.05) 0%, rgba(6,11,18,.45) 100%); }
.gift-box { width: 440px; max-width: 100%; text-align: center; background: rgba(255,255,255,.92); backdrop-filter: blur(20px); border-radius: 18px; box-shadow: var(--shadow-heavy); padding: 32px 28px; }
.gift-box h1 { font-size: 24px; font-weight: 700; color: var(--fg-1); margin: 0 0 8px; animation: reveal-up .5s var(--ease-out) .1s both; }
.gift-box p { font-size: 13px; line-height: 1.6; color: var(--fg-2); margin: 0 0 20px; animation: reveal-up .5s var(--ease-out) .25s both; }
.gift-box form { display: flex; flex-direction: column; gap: 12px; animation: reveal-up .5s var(--ease-out) .4s both; }
.gift-box .code { width: 100%; padding: 13px 16px; border: 1px solid var(--border-hairline); border-radius: 9999px; font-size: 14px; font-family: var(--font-mono); text-align: center; letter-spacing: 2px; text-transform: uppercase; background: #fff; }
.gift-box .note { font-size: 11px; color: var(--fg-2); margin-top: 14px; animation: reveal-up .5s var(--ease-out) .55s both; }
.gift-box.pop { animation: gift-pop .7s var(--ease-out) forwards; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gift-pop { 30% { transform: scale(1.12); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
main.gift { max-width: 880px; margin: 0 auto; width: 100%; padding: 40px 32px 72px; }
.gift-head { text-align: center; margin-bottom: 28px; }
.gift-head .pill { display: inline-block; background: var(--bg-tinted); color: var(--brand-soft-fg); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; padding: 6px 16px; border-radius: 9999px; margin-bottom: 14px; }
.gift-head h1 { font-size: 26px; font-weight: 700; color: var(--fg-1); margin: 0 0 6px; }
.gift-head p { font-size: 13px; color: var(--fg-2); margin: 0; }
.gift-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: start; }
.offer { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: 12px; box-shadow: var(--shadow-card); padding: 22px; }
.offer .t { font-size: 15px; font-weight: 700; color: var(--fg-1); margin: 12px 0 6px; }
.offer .d { font-size: 12px; line-height: 1.6; color: var(--fg-2); }
.helps { background: var(--bg-tinted); border-radius: 12px; padding: 22px; }
.helps .k { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--brand-soft-fg); margin-bottom: 12px; }
.helps .d { font-size: 12px; line-height: 1.7; color: var(--fg-1); }
.helps .fifth { margin-top: 12px; background: var(--bg-surface); border: 1px solid var(--separator-brand); border-radius: 8px; padding: 12px 14px; font-size: 12px; line-height: 1.6; color: var(--fg-1); }
.helps .fifth strong.b { color: var(--brand); }
.checkout { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: 18px; box-shadow: var(--shadow-card); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.done-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.done-box { width: 480px; max-width: 100%; background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: 18px; box-shadow: var(--shadow-card); padding: 32px; text-align: center; display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 860px) {
  .grid3, .feature, .acct-grid, .gift-grid, .form-grid { grid-template-columns: 1fr; }
  .feature.flip .pic { order: 0; }
  .grid2 { grid-template-columns: 1fr; }
  .hero .inner { padding: 72px 20px 56px; }
  .hero h1 { font-size: 32px; }
  .section, .features { padding-left: 20px; padding-right: 20px; }
  .book .inner, main.account, main.gift { padding-left: 20px; padding-right: 20px; }
  .sitenav { padding: 12px 16px; }
  .navlinks { gap: 10px; }
  .orders-head { display: none; }
  .orders-row { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: repeat(2, 1fr); }
  .marquee img { height: 44vh; min-height: 240px; }
}

/* ---------- Account renewal dialogs (confirm → order placed) ---------- */
.ds-modal-bg { position: fixed; inset: 0; background: rgba(1,50,91,.42); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 20px; box-sizing: border-box; }
.ds-modal-bg.hidden { display: none; }
.ds-modal { background: var(--bg-surface); border-radius: 16px; box-shadow: 0 6px 18px 4px rgba(0,0,0,.18); padding: 24px 26px; width: 460px; max-width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; box-sizing: border-box; }
.ds-modal .t { font-size: 17px; font-weight: 700; color: var(--fg-1); line-height: 1.35; }
.ds-modal .p { font-size: 13px; color: var(--fg-2); line-height: 1.6; margin-top: 8px; }
.ds-modal .n { font-size: 12px; color: var(--fg-2); line-height: 1.65; margin-top: 12px; }
.ds-modal .acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.rc-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rc-list li { background: var(--bg-page); border: 1px solid var(--border-hairline); border-radius: 10px; padding: 10px 13px; }
.rc-list .l { font-size: 13px; font-weight: 700; color: var(--fg-1); }
.rc-list .m { font-size: 12px; color: var(--fg-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin-top: 2px; }
.rc-list .s { font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.rc-expiry { background: var(--bg-tinted); border: 1px solid var(--separator-brand); border-radius: 10px; padding: 12px 14px; margin-top: 14px; }
.rc-expiry .k { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; color: var(--brand-soft-fg); }
.rc-expiry .v { font-size: 19px; font-weight: 700; color: var(--fg-1); margin-top: 3px; }
.rc-expiry .n { font-size: 12px; color: var(--fg-2); margin-top: 2px; }
.rc-total { font-size: 13px; color: var(--fg-2); margin-top: 12px; }
.rc-total strong { font-size: 15px; color: var(--fg-1); }
.rp-warn { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--semantic-warn); background: #FBF3E4; border-radius: 9999px; padding: 4px 11px; margin-bottom: 10px; }
.rp-details { margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; background: var(--border-hairline); border: 1px solid var(--border-hairline); border-radius: 10px; overflow: hidden; }
.rp-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--bg-surface); padding: 10px 13px; }
.rp-details dt { font-size: 12px; color: var(--fg-3); margin: 0; }
.rp-details dd { font-size: 14px; font-weight: 700; color: var(--fg-1); margin: 0; text-align: right; word-break: break-all; }
.rp-details dd.em { color: var(--brand); }
.rp-details dd.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 520px) { .ds-modal { padding: 20px 18px; } .ds-modal .acts { justify-content: stretch; } .ds-modal .acts .ds-btn { flex: 1; text-align: center; } }

/* Two-step sign-in: a secondary action and a plain "not you?" link. */
.auth-btn.outlined { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.auth-btn.outlined:hover { background: var(--bg-subtle, rgba(0,0,0,.03)); }
.linklike { background: none; border: none; padding: 0; font-size: 12px; color: var(--fg-2); cursor: pointer; text-decoration: underline; }
.linklike:hover { color: var(--brand); }
