/* One server-selected palette. No asynchronous colour repaint. */
html[data-jb-theme="pearl"], [data-theme-card="pearl"] {--bay-page:#ffffff;--bay-surface:#ffffff;--bay-soft:#f8eceb;--bay-ink:#34232e;--bay-muted:#705762;--bay-line:#e7d5d3;--bay-accent:#d39b9a;--bay-accent-hover:#c48988;--bay-on-accent:#34232e;color-scheme:light;}
html[data-jb-theme="corsair"], [data-theme-card="corsair"] {--bay-page:#111d2d;--bay-surface:#1b2b40;--bay-soft:#263d55;--bay-ink:#f5f0df;--bay-muted:#bdcddd;--bay-line:#3f5871;--bay-accent:#f5c86d;--bay-accent-hover:#ffdf96;--bay-on-accent:#172433;color-scheme:dark;}
html[data-jb-theme="parchment"], [data-theme-card="parchment"] {--bay-page:#f6ecd6;--bay-surface:#fffaf0;--bay-soft:#ebdbb7;--bay-ink:#3d2b22;--bay-muted:#725a44;--bay-line:#d6bf91;--bay-accent:#85502d;--bay-accent-hover:#69391d;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="halloween"], [data-theme-card="halloween"] {--bay-page:#211726;--bay-surface:#302038;--bay-soft:#432a44;--bay-ink:#fff3dd;--bay-muted:#dbbcd9;--bay-line:#694764;--bay-accent:#ffb35e;--bay-accent-hover:#ffd08a;--bay-on-accent:#281925;color-scheme:dark;}
html[data-jb-theme="scary"], [data-theme-card="scary"] {--bay-page:#131f21;--bay-surface:#203135;--bay-soft:#2c4444;--bay-ink:#e3f4db;--bay-muted:#b2cbc6;--bay-line:#49665e;--bay-accent:#b6df9e;--bay-accent-hover:#d6f4c5;--bay-on-accent:#183128;color-scheme:dark;}
html[data-jb-theme="thanksgiving"], [data-theme-card="thanksgiving"] {--bay-page:#fff5e7;--bay-surface:#fffcf5;--bay-soft:#f1dfbe;--bay-ink:#4a2b1e;--bay-muted:#795c42;--bay-line:#d9ba87;--bay-accent:#97502c;--bay-accent-hover:#7d3b1d;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="christmas"], [data-theme-card="christmas"] {--bay-page:#fbf6ec;--bay-surface:#fffdfa;--bay-soft:#e4eee0;--bay-ink:#23392d;--bay-muted:#526b59;--bay-line:#c5d4bc;--bay-accent:#a83540;--bay-accent-hover:#842631;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="winter"], [data-theme-card="winter"] {--bay-page:#f0f7fb;--bay-surface:#ffffff;--bay-soft:#dcecf5;--bay-ink:#233a52;--bay-muted:#506c83;--bay-line:#bbd0e0;--bay-accent:#31668c;--bay-accent-hover:#244e71;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="independence"], [data-theme-card="independence"] {--bay-page:#f8f5ec;--bay-surface:#ffffff;--bay-soft:#e8edf5;--bay-ink:#243555;--bay-muted:#59647c;--bay-line:#cad0de;--bay-accent:#a7323c;--bay-accent-hover:#84252e;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="angelic"], [data-theme-card="angelic"] {--bay-page:#faf7ec;--bay-surface:#fffdf6;--bay-soft:#eee6c9;--bay-ink:#3e3826;--bay-muted:#71684c;--bay-line:#d9ceab;--bay-accent:#786020;--bay-accent-hover:#5b4814;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="valentine"], [data-theme-card="valentine"] {--bay-page:#fff4f5;--bay-surface:#ffffff;--bay-soft:#f8dce5;--bay-ink:#512b40;--bay-muted:#80576c;--bay-line:#e7bcca;--bay-accent:#a52b59;--bay-accent-hover:#842044;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="easter"], [data-theme-card="easter"] {--bay-page:#f8f5ff;--bay-surface:#ffffff;--bay-soft:#ede5f8;--bay-ink:#44324f;--bay-muted:#766283;--bay-line:#d4c4e5;--bay-accent:#785297;--bay-accent-hover:#5c3b79;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="spring"], [data-theme-card="spring"] {--bay-page:#f3f9ed;--bay-surface:#ffffff;--bay-soft:#e2edd8;--bay-ink:#304431;--bay-muted:#5f7658;--bay-line:#c6d9b6;--bay-accent:#416c3a;--bay-accent-hover:#2f5229;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="stpatrick"], [data-theme-card="stpatrick"] {--bay-page:#f2f8ec;--bay-surface:#ffffff;--bay-soft:#dcebd2;--bay-ink:#223e2d;--bay-muted:#55705b;--bay-line:#b9d1b3;--bay-accent:#28623f;--bay-accent-hover:#1d4b2e;--bay-on-accent:#ffffff;color-scheme:light;}
html[data-jb-theme="newyear"], [data-theme-card="newyear"] {--bay-page:#1e1b28;--bay-surface:#2c2838;--bay-soft:#3a3447;--bay-ink:#fff5d7;--bay-muted:#d6c8ae;--bay-line:#655a70;--bay-accent:#ecc36d;--bay-accent-hover:#ffe1a0;--bay-on-accent:#2a2333;color-scheme:dark;}

html[data-jb-theme]{--bg:var(--bay-page);--ink:var(--bay-ink);--text:var(--bay-ink);--muted:var(--bay-muted);--card:var(--bay-surface);--border:var(--bay-line);--line:var(--bay-line);--accent:var(--bay-accent);--accent-ink:var(--bay-on-accent);--jb-bg:var(--bay-page);--jb-card:var(--bay-surface);--jb-border:var(--bay-line);--jb-text:var(--bay-ink);--jb-muted:var(--bay-muted);--jb-accent:var(--bay-accent);--jb-accent-dark:var(--bay-accent-hover);--jbPink:var(--bay-accent);--jbTop:var(--bay-soft);--jelly-pink:var(--bay-accent);--jelly-blue:var(--bay-soft);background:var(--bay-page);scroll-behavior:auto}
html[data-jb-theme] body{background:var(--bay-page)!important;color:var(--bay-ink)!important;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;margin:0;min-width:0}
html[data-jb-theme] :is(h1,h2,h3,h4,h5,h6){color:inherit}
html[data-jb-theme] a{color:var(--bay-accent)}
html[data-jb-theme] a:hover{color:var(--bay-accent-hover)}
html[data-jb-theme] :is(.bg-secondary,.bg-light,.card-header,.jb-cardhead,.thead-light th){background:var(--bay-soft)!important;color:var(--bay-ink)!important}
html[data-jb-theme] :is(.card,.jb-card,.jb-auth-card,.modal-content,.modal-box,.list-group-item,.dropdown-menu,.kpi){background:var(--bay-surface)!important;color:var(--bay-ink)!important;border-color:var(--bay-line)!important}
html[data-jb-theme] :is(.text-dark,.text-body,.table,.dropdown-item,.nav-link){color:var(--bay-ink)!important}
html[data-jb-theme] :is(.text-muted,.small-muted,.muted,.subtle){color:var(--bay-muted)!important}
html[data-jb-theme] :is(.border,.table td,.table th,.form-control,.jb-input,.modal-header,.modal-footer){border-color:var(--bay-line)!important}
html[data-jb-theme] :is(.form-control,.jb-input,.custom-select){background:var(--bay-surface)!important;color:var(--bay-ink)!important}
html[data-jb-theme] :is(.text-primary,a.text-primary){color:var(--bay-accent)!important}
html[data-jb-theme] :is(.btn-primary,.bg-primary,.badge-primary,.jb-btn,.page-item.active .page-link,.nav-pills .nav-link.active){background:var(--bay-accent)!important;border-color:var(--bay-accent)!important;color:var(--bay-on-accent)!important}
html[data-jb-theme] :is(.btn-primary,.jb-btn):hover{background:var(--bay-accent-hover)!important;border-color:var(--bay-accent-hover)!important}
html[data-jb-theme] :is(.btn-outline-primary,.jb-outline){background:transparent!important;color:var(--bay-accent)!important;border-color:var(--bay-accent)!important}
html[data-jb-theme] :is(.btn-outline-primary,.jb-outline):hover{background:var(--bay-accent)!important;color:var(--bay-on-accent)!important}
html[data-jb-theme] .bg-white{background:var(--bay-surface)!important}
html[data-jb-theme] .page-link{background:var(--bay-surface);border-color:var(--bay-line);color:var(--bay-accent)}
html[data-jb-theme] .nav-tabs .nav-link.active{background:var(--bay-surface);border-color:var(--bay-line);color:var(--bay-accent)!important}
html[data-jb-theme] .table-hover tbody tr:hover{background:var(--bay-soft);color:var(--bay-ink)}
html[data-jb-theme] .section-title span{background:var(--bay-page)!important}
html[data-jb-theme] :focus-visible{outline:3px solid var(--bay-accent);outline-offset:4px}
html[data-jb-theme] input::placeholder{color:var(--bay-muted);opacity:1}
.jb-skip{position:absolute;left:12px;top:-100px;z-index:2000;background:var(--bay-surface);padding:12px}.jb-skip:focus{top:8px}
html[data-jb-theme] .jb-site-header{background:var(--bay-surface)!important;color:var(--bay-ink);border-bottom:1px solid var(--bay-line)}
.jb-topline,.jb-mainline,.jb-navline{padding:12px max(24px,calc((100% - 1320px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}
.jb-topline{font-size:10px;letter-spacing:1.2px;background:var(--bay-soft);font-weight:750}.jb-topline nav{display:flex;gap:20px;font-size:12px;letter-spacing:0;white-space:nowrap}
.jb-mainline{padding-top:18px;padding-bottom:18px;gap:40px}.jb-brand{display:flex;gap:10px;align-items:center;line-height:.95;white-space:nowrap;text-decoration:none!important;font-family:Georgia,serif;font-size:31px;font-weight:900;color:var(--bay-ink)!important;letter-spacing:-1px}.jb-brand img{width:70px;height:78px;object-fit:contain}.jb-brand small{display:block;font-family:system-ui;font-size:10px;letter-spacing:4px;margin-bottom:7px}.jb-brand em{display:block;font-family:system-ui;font-size:10px;font-weight:500;letter-spacing:1px;margin-top:9px}
.jb-search{display:flex;flex:1;max-width:560px;border:1px solid var(--bay-line);border-radius:8px;overflow:hidden;background:var(--bay-page)}.jb-search input{width:100%;min-width:0;border:0;background:transparent;padding:13px 16px;color:var(--bay-ink);font-size:14px}.jb-search button{border:0;background:var(--bay-accent);color:var(--bay-on-accent);padding:10px 20px;font-weight:700}
.jb-account{display:flex;gap:16px;align-items:center;font-size:13px;white-space:nowrap}.jb-cart{border:1px solid var(--bay-line);border-radius:8px;padding:10px 14px}.jb-cart span{background:var(--bay-soft);border-radius:50%;padding:2px 6px;margin-left:5px}
.jb-navline{border-top:1px solid var(--bay-line);font-size:13px;font-weight:650;flex-wrap:wrap}.jb-navline>div{display:flex;gap:24px;flex-wrap:wrap}.jb-navline a{color:var(--bay-ink)!important}
.jb-voyage{margin:24px auto 28px;width:calc(100% - 48px);max-width:1320px;padding:20px 32px;display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--bay-soft);border:1px solid var(--bay-line);border-radius:12px}.jb-voyage>div{max-width:700px}.jb-voyage h2{font-family:Georgia,serif;font-size:30px;font-weight:700;margin-bottom:9px}.jb-voyage p:last-child{margin-bottom:0;color:var(--bay-muted);font-size:14px}.jb-voyage img{object-fit:contain;flex-shrink:0}.jb-voyage-home{padding:32px 64px;min-height:360px}.jb-voyage-home h2{font-size:clamp(32px,4vw,56px);line-height:1.03;max-width:650px}.jb-voyage-home p{max-width:530px}.jb-voyage-home .btn{margin-top:14px;padding:12px 22px;border-radius:6px}.jb-eyebrow{font-size:10px!important;letter-spacing:2px;font-weight:800;color:var(--bay-accent)!important;margin-bottom:12px}
.jb-theme-page{max-width:1320px;margin:40px auto;padding:0 24px 64px}.jb-theme-page h1{font:700 clamp(32px,4vw,48px)/1.1 Georgia,serif}.jb-lede{max-width:710px;color:var(--bay-muted);font-size:16px}.jb-theme-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:26px 0 18px;padding:20px;background:var(--bay-soft);border:1px solid var(--bay-line);border-radius:10px}.jb-theme-actions{display:flex;gap:10px}.jb-personal-option{display:flex;gap:10px;align-items:center;margin:16px 0 24px}.jb-theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.jb-theme-choice{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px;background:var(--bay-page);color:var(--bay-ink);border:2px solid var(--bay-line);border-radius:14px;cursor:pointer;gap:8px}.jb-theme-choice input{position:absolute;left:16px;top:16px;width:18px;height:18px;accent-color:var(--bay-accent)}.jb-theme-choice:has(input:checked){outline:3px solid var(--bay-accent);outline-offset:3px}.jb-theme-choice img{height:210px;width:100%;object-fit:contain}.jb-theme-choice strong{font-size:18px}.jb-theme-choice span{font-size:12px;line-height:1.4;color:var(--bay-muted)}
@media(max-width:1000px){.jb-mainline{gap:20px;flex-wrap:wrap}.jb-search{order:3;max-width:none;flex-basis:100%}.jb-brand{font-size:27px}.jb-navline>div{gap:16px}.jb-voyage-home{padding:28px}.jb-voyage-home img{width:220px;height:260px}.jb-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.jb-topline>span{display:none}.jb-topline{justify-content:center}.jb-mainline,.jb-navline{padding-left:16px;padding-right:16px}.jb-brand img{width:50px;height:62px}.jb-brand{font-size:23px;gap:5px}.jb-brand em{font-size:8px}.jb-account{font-size:12px;gap:8px;flex-wrap:wrap;max-width:150px;justify-content:flex-end}.jb-navline{font-size:12px;gap:14px}.jb-navline>div{gap:14px}.jb-voyage{width:calc(100% - 24px);margin:16px 12px;padding:20px;gap:14px}.jb-voyage h2{font-size:25px}.jb-voyage img{width:76px;height:100px}.jb-voyage-home{min-height:0}.jb-voyage-home img{width:104px;height:160px}.jb-voyage-home h2{font-size:31px}.jb-voyage-home p{font-size:12px}.jb-voyage-home .btn{font-size:12px}.jb-theme-page{margin-top:28px;padding:0 16px 48px}.jb-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.jb-theme-choice{padding:12px}.jb-theme-choice img{height:160px}.jb-theme-choice strong{font-size:15px}.jb-theme-toolbar{padding:14px}.jb-theme-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Preserve the requested Bay pink while using a readable text tone for small links. */
html[data-jb-theme="pearl"] a:not(.btn):not(.jb-btn):not(.jb-outline){color:#82504f}
html[data-jb-theme="pearl"] .jb-eyebrow{color:#82504f!important}
.jb-pirate-carousel{margin-top:24px;overflow:hidden;border-radius:12px;background:#182d44;border:1px solid var(--bay-line)}
.jb-pirate-carousel .carousel-item{height:480px;position:relative}
.jb-pirate-carousel .carousel-item>img{width:100%;height:100%;object-fit:cover;object-position:center}
.jb-pirate-carousel .carousel-item:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(12,22,36,.65),rgba(12,22,36,.12) 58%,transparent 75%)}
.jb-carousel-copy{position:absolute;z-index:1;left:5%;top:50%;transform:translateY(-50%);width:43%;max-width:480px;color:#fff9ec}
html[data-jb-theme] .jb-carousel-copy h1{font:700 clamp(30px,3.3vw,52px)/1.04 Georgia,serif;color:#fff9ec;margin-bottom:18px}
.jb-carousel-copy>p{font-size:14px;line-height:1.6;color:#fff4e6}.jb-carousel-copy .jb-carousel-eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#f3cfbb}.jb-carousel-copy .btn{margin-top:9px;padding:11px 19px;border-radius:5px;font-weight:650}
.jb-carousel-controls{display:flex;justify-content:space-between;align-items:center;background:var(--bay-surface);padding:10px 18px;color:var(--bay-muted);font-size:10px;font-weight:750;letter-spacing:2px}.jb-carousel-controls button{background:var(--bay-soft);border:1px solid var(--bay-line);color:var(--bay-ink);border-radius:50%;width:36px;height:36px;font-size:21px;cursor:pointer}
#navbar-vertical{max-height:536px;overflow-y:auto}#navbar-vertical .navbar-nav{width:100%}
@media(max-width:767px){.jb-pirate-carousel .carousel-item{height:auto}.jb-pirate-carousel .carousel-item>img{height:260px;object-position:72% center}.jb-pirate-carousel .carousel-item:after{display:none}.jb-carousel-copy{position:static;transform:none;width:auto;max-width:none;padding:24px;background:#182d44}.jb-carousel-copy h1{font-size:33px!important}.jb-carousel-copy>p{font-size:13px}.jb-pirate-carousel{margin-top:16px}.jb-carousel-controls{padding:10px 15px}}

/* Legacy page components share the same palette at first paint. */
html[data-jb-theme] :is(.seller-chip,.rating-pill,.card-lite,.hero,.page-hero,.bg-jelly-blue){background:var(--bay-soft)!important;color:var(--bay-ink)!important;border-color:var(--bay-line)!important}
html[data-jb-theme] :is(.btn-jelly,.bg-jelly-pink){background:var(--bay-accent)!important;color:var(--bay-on-accent)!important;border-color:var(--bay-accent)!important}
html[data-jb-theme] .btn-jelly:hover{background:var(--bay-accent-hover)!important}
html[data-jb-theme] a.badge-jelly{background:var(--bay-accent)!important;color:var(--bay-on-accent)!important}
html[data-jb-theme="pearl"] .btn-outline-primary{color:#82504f!important}
