/* Private JanOne theme-selector enhancement; v4.3.1 base styles untouched. */
.jj-themebar{position:relative;z-index:3;padding:0 0 16px;color:#f7f4ff}
.jj-themebar-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border:1px solid #ffffff30;background:#ffffff12;border-radius:17px;padding:10px 14px;backdrop-filter:blur(12px)}
.jj-themebar-label{font-size:.78rem;font-weight:750;letter-spacing:.03em;color:#f4eaff}
.jj-themebar-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.jj-theme-select{appearance:auto;max-width:180px;border:1px solid #d4cbec;background:#fff;color:#17254f;border-radius:10px;font:inherit;font-size:.84rem;font-weight:650;padding:8px 10px}
.jj-mode{display:flex;gap:3px;flex-wrap:wrap;background:#080c2490;border-radius:11px;padding:3px;border:1px solid #ffffff22}
.jj-mode button{font:inherit;font-size:.78rem;font-weight:650;cursor:pointer;border:0;border-radius:8px;background:transparent;color:#e9e3fa;padding:7px 10px}
.jj-mode button[aria-pressed=true]{background:#fff;color:#202c52;box-shadow:0 1px 6px #0003}
.jj-themebar button:focus-visible,.jj-themebar select:focus-visible{outline:3px solid #a1deff;outline-offset:2px}
.jj-themebar-hint{font-size:.73rem;color:#ebe5fc;margin:0}
@media(max-width:600px){.jj-themebar-inner{align-items:flex-start;gap:8px}.jj-themebar-label{width:100%}.jj-themebar-controls{gap:8px}.jj-theme-select{max-width:160px}.jj-mode button{padding:7px 8px}}

/* Each palette supplies both content and dark-section roles; the unchanged Pearl/Original path uses no overrides. */
html[data-jj-theme="pearl"]{--jj-accent:#8271d3;--jj-accent-2:#d78ecb;--jj-tint:#e9edff;--jj-glow:#b98bd9}
html[data-jj-theme="ocean"]{--jj-accent:#1976c4;--jj-accent-2:#25a5d6;--jj-tint:#e6f4ff;--jj-glow:#268de2}
html[data-jj-theme="lavender"]{--jj-accent:#8355c1;--jj-accent-2:#b68ee8;--jj-tint:#f0e9fc;--jj-glow:#ad83f1}
html[data-jj-theme="blush"]{--jj-accent:#ba4484;--jj-accent-2:#e994b3;--jj-tint:#fff0f5;--jj-glow:#e184b1}
html[data-jj-theme="sage"]{--jj-accent:#4c8668;--jj-accent-2:#91b59b;--jj-tint:#edf6ef;--jj-glow:#86b497}
html[data-jj-theme="graphite"]{--jj-accent:#61728d;--jj-accent-2:#8a9ab0;--jj-tint:#edf0f5;--jj-glow:#8c97ae}
html[data-jj-theme="sunset"]{--jj-accent:#ad6e15;--jj-accent-2:#e3aa52;--jj-tint:#fff4df;--jj-glow:#e6a349}

html[data-jj-mode="light"]{--jj-page:#fbfbff;--jj-surface:#fff;--jj-surface2:var(--jj-tint);--jj-text:#192744;--jj-muted:#53617a;--jj-border:#dbe0ed;--jj-dark1:#263659;--jj-dark2:#39426d;--jj-dark3:#494066;--jj-on-dark:#fff;--jj-on-dark-muted:#e6e6f6;--jj-band:var(--jj-tint);--jj-footer:#243250;--jj-shadow:#1d2a6c0a}
html[data-jj-mode="dark"]{--jj-page:#111827;--jj-surface:#202b40;--jj-surface2:#27354c;--jj-text:#eef2ff;--jj-muted:#c1cce0;--jj-border:#475470;--jj-dark1:#0d1425;--jj-dark2:#1d2540;--jj-dark3:#32314d;--jj-on-dark:#fff;--jj-on-dark-muted:#dce2ef;--jj-band:#22324a;--jj-footer:#090f1f;--jj-shadow:#0003}
html[data-jj-theme="ocean"][data-jj-mode="dark"]{--jj-surface2:#18374e;--jj-band:#173149;--jj-dark2:#133756}
html[data-jj-theme="lavender"][data-jj-mode="dark"]{--jj-surface2:#302848;--jj-band:#2b2542;--jj-dark2:#322550}
html[data-jj-theme="blush"][data-jj-mode="dark"]{--jj-surface2:#3b263b;--jj-band:#342438;--jj-dark2:#47253e}
html[data-jj-theme="sage"][data-jj-mode="dark"]{--jj-surface2:#223a36;--jj-band:#213530;--jj-dark2:#254339}
html[data-jj-theme="graphite"][data-jj-mode="dark"]{--jj-surface2:#303744;--jj-band:#252c36;--jj-dark2:#353b4d}
html[data-jj-theme="sunset"][data-jj-mode="dark"]{--jj-surface2:#433421;--jj-band:#3a2e22;--jj-dark2:#483223}

html[data-jj-mode="light"] body,html[data-jj-mode="dark"] body{background:var(--jj-page);color:var(--jj-text)}
html[data-jj-mode="light"] p,html[data-jj-mode="dark"] p{color:var(--jj-muted)}
html[data-jj-mode="light"] .hero,html[data-jj-mode="dark"] .hero{background:radial-gradient(ellipse at 15% 22%,var(--jj-glow),transparent 47%),linear-gradient(125deg,var(--jj-dark1),var(--jj-dark2) 62%,var(--jj-dark3));color:var(--jj-on-dark)}
html[data-jj-mode="light"] .hero p,html[data-jj-mode="dark"] .hero p{color:var(--jj-on-dark-muted)}
html[data-jj-mode="light"] .hero:after,html[data-jj-mode="dark"] .hero:after{background:radial-gradient(ellipse,var(--jj-glow),transparent 65%);opacity:.25}
html[data-jj-mode="light"] .under-hero,html[data-jj-mode="dark"] .under-hero{background:var(--jj-band);color:var(--jj-muted)}
html[data-jj-mode="light"] .under-hero strong,html[data-jj-mode="dark"] .under-hero strong{color:var(--jj-text)}
html[data-jj-mode="light"] .soft,html[data-jj-mode="dark"] .soft{background:var(--jj-band)}
html[data-jj-mode="light"] .card,html[data-jj-mode="dark"] .card,html[data-jj-mode="light"] .mini-panel,html[data-jj-mode="dark"] .mini-panel,html[data-jj-mode="light"] .shield,html[data-jj-mode="dark"] .shield,html[data-jj-mode="light"] .price,html[data-jj-mode="dark"] .price,html[data-jj-mode="light"] .faq-entry,html[data-jj-mode="dark"] .faq-entry{background:var(--jj-surface);border-color:var(--jj-border);box-shadow:0 15px 36px var(--jj-shadow);color:var(--jj-text)}
html[data-jj-mode="light"] .symbol,html[data-jj-mode="dark"] .symbol{background:var(--jj-surface2);color:var(--jj-accent)}
html[data-jj-mode="light"] .eyebrow,html[data-jj-mode="dark"] .eyebrow,html[data-jj-mode="light"] .more-link,html[data-jj-mode="dark"] .more-link{color:var(--jj-accent)}
html[data-jj-mode="light"] .feature-dark,html[data-jj-mode="dark"] .feature-dark,html[data-jj-mode="light"] .cta,html[data-jj-mode="dark"] .cta,html[data-jj-mode="light"] .page-banner,html[data-jj-mode="dark"] .page-banner{background:linear-gradient(122deg,var(--jj-dark1),var(--jj-dark2),var(--jj-dark3));color:var(--jj-on-dark)}
html[data-jj-mode="light"] .feature-dark p,html[data-jj-mode="dark"] .feature-dark p,html[data-jj-mode="light"] .cta p,html[data-jj-mode="dark"] .cta p,html[data-jj-mode="light"] .page-banner p,html[data-jj-mode="dark"] .page-banner p{color:var(--jj-on-dark-muted)}
html[data-jj-mode="light"] .feature-dark .mini-panel,html[data-jj-mode="dark"] .feature-dark .mini-panel{background:#ffffff17;border-color:#ffffff39;color:#fff}
html[data-jj-mode="light"] .feature-dark .mini-panel p,html[data-jj-mode="dark"] .feature-dark .mini-panel p{color:#f3f0ff}
html[data-jj-mode="light"] .footer,html[data-jj-mode="dark"] .footer,html[data-jj-mode="light"] .subnav,html[data-jj-mode="dark"] .subnav{background:var(--jj-footer);color:#ecf1ff}
html[data-jj-mode="light"] .footer a,html[data-jj-mode="dark"] .footer a{color:#e9edff}
html[data-jj-mode="light"] .footer small,html[data-jj-mode="dark"] .footer small{color:#c9d1df}
html[data-jj-mode="light"] .button.primary,html[data-jj-mode="dark"] .button.primary{background:linear-gradient(110deg,var(--jj-tint),var(--jj-accent-2));color:#172442}
html[data-jj-mode="light"] .amount-grid div,html[data-jj-mode="dark"] .amount-grid div{background:var(--jj-surface2)}
html[data-jj-mode="light"] .amount-grid strong,html[data-jj-mode="dark"] .amount-grid strong,html[data-jj-mode="light"] .time,html[data-jj-mode="dark"] .time{color:var(--jj-accent)}
html[data-jj-mode="light"] .amount-grid small,html[data-jj-mode="dark"] .amount-grid small,html[data-jj-mode="light"] .fine,html[data-jj-mode="dark"] .fine,html[data-jj-mode="light"] .notice,html[data-jj-mode="dark"] .notice,html[data-jj-mode="light"] .price small,html[data-jj-mode="dark"] .price small{color:var(--jj-muted)}
html[data-jj-mode="light"] .feature-dark .fine,html[data-jj-mode="dark"] .feature-dark .fine{color:#e3dcef}
html[data-jj-mode="light"] .time-row,html[data-jj-mode="dark"] .time-row,html[data-jj-mode="light"] .faq-entry[open] summary,html[data-jj-mode="dark"] .faq-entry[open] summary{border-color:var(--jj-border)}
html[data-jj-mode="light"] .faq-answer,html[data-jj-mode="dark"] .faq-answer{color:var(--jj-muted)}
html[data-jj-mode="light"] .faq-filter button,html[data-jj-mode="dark"] .faq-filter button{background:var(--jj-surface);color:var(--jj-text);border-color:var(--jj-border)}
html[data-jj-mode="light"] .faq-filter button[aria-pressed=true],html[data-jj-mode="dark"] .faq-filter button[aria-pressed=true]{background:var(--jj-accent);color:#fff}
html[data-jj-mode="light"] .faq-alert,html[data-jj-mode="dark"] .faq-alert{background:var(--jj-surface2);color:var(--jj-text);border-color:var(--jj-accent)}
html[data-jj-mode="light"] .faq-search,html[data-jj-mode="dark"] .faq-search{background:var(--jj-surface);color:var(--jj-text);border-color:var(--jj-border)}
html[data-jj-mode="light"] .page-content,html[data-jj-mode="dark"] .page-content{color:var(--jj-text)}
html[data-jj-mode="light"] .page-content li,html[data-jj-mode="dark"] .page-content li{color:var(--jj-muted)}
html[data-jj-mode="light"] .page-content strong,html[data-jj-mode="dark"] .page-content strong{color:var(--jj-text)}
html[data-jj-mode="light"] .support-choice,html[data-jj-mode="dark"] .support-choice{background:var(--jj-surface);border-color:var(--jj-border);color:var(--jj-text)}
html[data-jj-mode="light"] .support-copy,html[data-jj-mode="dark"] .support-copy{color:var(--jj-muted)}
html[data-jj-mode="light"] .support-symbol,html[data-jj-mode="dark"] .support-symbol{background:var(--jj-surface2);color:var(--jj-accent)}
html[data-jj-mode="light"] .support-safety,html[data-jj-mode="dark"] .support-safety{background:var(--jj-surface2);border-color:var(--jj-accent);color:var(--jj-text)}
html[data-jj-mode="light"] .support-safety p,html[data-jj-mode="dark"] .support-safety p{color:var(--jj-muted)}
html[data-jj-mode="light"] .page-content a:not(.support-choice),html[data-jj-mode="dark"] .page-content a:not(.support-choice){text-decoration-color:var(--jj-accent)}
html[data-jj-mode="light"] .jj-themebar-inner,html[data-jj-mode="dark"] .jj-themebar-inner{border-color:#ffffff46}
html[data-jj-mode="dark"] .theme-art{box-shadow:0 18px 50px #0008}
html[data-jj-mode="light"] .hero .eyebrow,html[data-jj-mode="dark"] .hero .eyebrow{color:#e6d8ff}
@media(prefers-reduced-motion:no-preference){body,.card,.price,.shield,.mini-panel,.faq-entry,.soft,.footer,.page-banner,.feature-dark,.cta,.hero{transition:background-color .2s ease,color .2s ease,border-color .2s ease}}

/* JanOne clickable Meet the Themes gallery; additions only, original website retained. */
.jj-gallery{padding-top:15px;padding-bottom:52px}
.jj-gallery-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:20px}
.jj-gallery-head h3{font-size:clamp(1.15rem,2vw,1.4rem);margin:0 0 5px;color:var(--jj-text,#233254)}
.jj-gallery-head p{margin:0;color:var(--jj-muted,#63718b);font-size:.94rem}
.jj-gallery-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.jj-theme-tile{font:inherit;cursor:pointer;border:2px solid transparent;border-radius:18px;background:var(--jj-surface,#fff);padding:12px 8px 11px;color:var(--jj-text,#233254);box-shadow:0 9px 24px #141e4310;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.jj-theme-tile:hover{transform:translateY(-3px);box-shadow:0 14px 28px #131f4c24}
.jj-theme-tile[aria-pressed=true]{border-color:var(--jj-accent,#8271d3);box-shadow:0 0 0 2px var(--jj-accent,#8271d3),0 12px 25px #141e4314}
.jj-theme-tile img{width:100%;max-width:98px;aspect-ratio:1;object-fit:contain;border-radius:20%;display:block}
.jj-theme-tile span{font-size:.78rem;font-weight:700;text-align:center;line-height:1.25}
.jj-theme-tile:focus-visible,.jj-gallery .jj-mode button:focus-visible{outline:3px solid var(--jj-accent,#8271d3);outline-offset:4px}
.jj-gallery .jj-mode{background:#15254b16;border:1px solid #8271d33b}
.jj-gallery .jj-mode button{color:var(--jj-text,#24335b)}
.jj-gallery .jj-mode button[aria-pressed=true]{background:var(--jj-accent,#8271d3);color:white}
.jj-gallery-note{font-size:.78rem;margin:15px 0 0;color:var(--jj-muted,#60708b)}
html[data-jj-mode=dark] .jj-gallery-head h3,html[data-jj-mode=dark] .jj-gallery .jj-mode button{color:var(--jj-text)}
html[data-jj-mode=dark] .jj-gallery .jj-mode button[aria-pressed=true]{color:white}
@media(max-width:860px){.jj-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:510px){.jj-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.jj-theme-tile{padding:9px;flex-direction:row;justify-content:flex-start;gap:10px}.jj-theme-tile img{width:62px;flex-shrink:0}.jj-theme-tile span{text-align:left;font-size:.82rem}.jj-gallery{padding-bottom:35px}}
@media(prefers-reduced-motion:reduce){.jj-theme-tile{transition:none}.jj-theme-tile:hover{transform:none}}

html[data-jj-mode="dark"] .eyebrow{color:#d5d8ff} html[data-jj-mode="dark"] .symbol{color:#e8eaff} html[data-jj-mode] .feature-dark .eyebrow{color:#e2d9ff}
