/* Both themes share layouts and motion; the selected palette applies to every portal. */
.theme-switch{display:flex;align-items:center;flex-shrink:0;gap:3px;padding:4px;border:1px solid #ffffffd9;border-radius:30px;background:#ffffff73;box-shadow:0 3px 12px #8c729010}.theme-switch button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:42px;min-height:32px;padding:4px 8px;border-radius:24px;font-size:11px;color:var(--ink-2);transition:background .2s,box-shadow .2s}.theme-switch button[aria-pressed=true]{background:#fffdfc;box-shadow:0 2px 8px #89768b18;color:var(--ink);font-weight:700}.theme-dot{width:11px;height:11px;flex-shrink:0;border:1px solid #ffffffb3;border-radius:50%;box-shadow:0 0 0 1px #00000008}.theme-dot.blue{background:#82bde8}.theme-dot.rose{background:#dfa4bc}.theme-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.theme-changing body{animation:theme-soften .24s ease-out}@keyframes theme-soften{from{opacity:.82}to{opacity:1}}
:root[data-theme=blue]{--c-lav:#e6f1fc;--c-blue:#d3eafb;--c-pink:#cfe9fc;--c-lilac:#e3f2ff;--ink:#163b60;--ink-2:#405f7c;--ink-3:#5b7894;--line:rgba(142,180,213,.7);--surface:#fbfdff;--surface-2:#f3f9ff;--bg:#eef7ff;--pink-ink:#1c64a0;--lav-ink:#466f9a;--blue-ink:#246fa8;--gold-ink:#50728f;--grad-cta:linear-gradient(120deg,#277bb8,#1d5993);--grad-soft:linear-gradient(135deg,#f9fdff,#e6f3ff);--glass:rgba(251,253,255,.91);--shadow-card:0 8px 28px rgba(57,111,159,.055)}
html[data-theme=blue] body{background:#f8fcff}html[data-theme=blue] body:before{background:radial-gradient(65% 38% at 96% 54%,#d8efee 0%,#d8efee00 80%),linear-gradient(#ffffff00 0%,#ffffff70 30%,#ffffffe0 65%,#fff 92%),linear-gradient(90deg,#b6d5ef,#e4f1ff 50%)}
html[data-theme=blue] .ambient-one{background:#b1d8f4}html[data-theme=blue] .ambient-two{background:#c6e9e5}html[data-theme=blue] .site-header{background:#f8fcffb8}html[data-theme=blue] .brand small,html[data-theme=blue] .eyebrow{color:#436c8e}html[data-theme=blue] .brand img{filter:contrast(1.1) saturate(1.08)}
html[data-theme=blue] .icon-button{background:linear-gradient(145deg,#fbfdfff0,#d2eafa);color:#3b80b7}html[data-theme=blue] .primary{color:#fff;background:var(--grad-cta)}html[data-theme=blue] .secondary{color:#5985a8;border-color:#cee2f2;background:#fbfdffcf}html[data-theme=blue] .text-button{color:#1c64a0}
html[data-theme=blue] .member-card,html[data-theme=blue] .admin-hero,html[data-theme=blue] .identity-card{background:linear-gradient(120deg,#fbfdfff0,#bddaf1 62%,#dcefeb);box-shadow:0 10px 30px #8bb4d51a}html[data-theme=blue] .member-level,html[data-theme=blue] .member-no,html[data-theme=blue] .card-bottom small,html[data-theme=blue] .card-wordmark,html[data-theme=blue] .card-bottom button{color:#3c5971}html[data-theme=blue] .member-progress span{background:linear-gradient(90deg,#85bae0,#abd8dd)}html[data-theme=blue] .card-chip{color:#21699f}
html[data-theme=blue] .quick-icon,html[data-theme=blue] .quick-card:has(.reference-icon) .quick-icon{color:#5a9dce;background:linear-gradient(140deg,#f9fdff,#dceefa);box-shadow:0 3px 10px #b4d7ee24}html[data-theme=blue] .quick-card:nth-child(2) .quick-icon{color:#4d96c7;background:linear-gradient(140deg,#f6fcff,#dbf0fa)}html[data-theme=blue] .quick-card:nth-child(3) .quick-icon{color:#74a9b7;background:linear-gradient(140deg,#f6fffd,#dcefeb)}html[data-theme=blue] .avatar,html[data-theme=blue] .avatar.lav{color:#5e99c2;background:linear-gradient(135deg,#f4fbff,#d4eafa)}
html[data-theme=blue] .tabs,html[data-theme=blue] .role-switch{background:#e7f2fa;border-color:#d5e6f4}html[data-theme=blue] .tabs .selection-pill{background:#fbfdff;box-shadow:0 3px 8px #6c9cbd0a}html[data-theme=blue] .tabs button.active{color:#1c64a0}html[data-theme=blue] .bottom-nav{background:#f8fcffd9;box-shadow:0 8px 30px #5f98c312}html[data-theme=blue] .bottom-nav a{color:#536e88}html[data-theme=blue] .bottom-nav a.active{color:#1c64a0}html[data-theme=blue] .bottom-nav .selection-pill{background:linear-gradient(135deg,#e3f2fd,#f6fbff)}
html[data-theme=blue] .reference-icon{filter:contrast(1.1) saturate(1.08)}html[data-theme=blue] .bottom-nav .reference-icon{filter:contrast(1.1) saturate(1.08)}html[data-theme=blue] .bottom-nav a.active .reference-icon{filter:contrast(1.15) saturate(1.12)}html[data-theme=blue] .member-art{filter:grayscale(.5) sepia(.3) hue-rotate(165deg) drop-shadow(0 8px 9px #92b8d51f)}
html[data-theme=blue] .sheet-row.field,html[data-theme=blue] .profile-item,html[data-theme=blue] .detail-row,html[data-theme=blue] .ledger-row{border-color:#dbe9f4}html[data-theme=blue] .sheet-row.field>span,html[data-theme=blue] .form-heading p,html[data-theme=blue] .field>span{color:#496780}html[data-theme=blue] .field input,html[data-theme=blue] .field select,html[data-theme=blue] .field textarea{color:var(--ink);border-color:#d5e5f3;background:#fbfdffcc}html[data-theme=blue] .field input::placeholder,html[data-theme=blue] .field textarea::placeholder{color:#607e97}html[data-theme=blue] .field input:read-only{background:#f0f7fd}html[data-theme=blue] .field em{color:#6da5ce}html[data-theme=blue] .fee-input{border-color:#d5e5f3}html[data-theme=blue] .sheet-row.field .fee-input select{border-color:#d5e5f3;color:#486f90;background:#e7f2fa}html[data-theme=blue] .sheet-row.net-row{background:linear-gradient(110deg,#e0f1fd,#ecf9f6)}html[data-theme=blue] .net-output small,html[data-theme=blue] .fee-row.field small,html[data-theme=blue] .report-balance-note{color:#526e89}html[data-theme=blue] .report-more{border-color:#d5e5f3;background:#f6fbff}
html[data-theme=blue] .recall-options button{background:#f4faff;border-color:#d5e5f3;color:#4b7192}html[data-theme=blue] .recall-options .selected{background:#e3f1fc;color:#1c64a0;border-color:#bfdcf0}html[data-theme=blue] .recall-options .recall-history{color:#1c64a0}html[data-theme=blue] .recall-options button:hover,html[data-theme=blue] .recall-options button:focus-visible{background:#deeffb;border-color:#a9cde6}
html[data-theme=blue] .dialog,html[data-theme=blue] .dialog-head{background:#fafdff;color:var(--ink)}html[data-theme=blue] .dialog::backdrop{background:#254c6d55}html[data-theme=blue] .dialog-head{border-color:#d5e5f3}html[data-theme=blue] .info-banner,html[data-theme=blue] .note-strip,html[data-theme=blue] .tips-panel .note-strip{background:#eff7fd;color:#506b83}html[data-theme=blue] .summary-card .icon,html[data-theme=blue] .range-note{color:#536e88}html[data-theme=blue] .status.completed{color:#2c6895;background:#e4f2fb;border-color:#cee3f3}html[data-theme=blue] .user-rank-list .is-me{background:#e4f2fb}html[data-theme=blue] .game-symbol{background:#e6f2fb;color:#6c9fbe}html[data-theme=blue] .member-code{border-color:#b8d6ec}html[data-theme=blue] .member-record .member-actions{border-color:#d5e5f3}
html[data-theme=blue] .identity-top>span{color:#315976}html[data-theme=blue] .member-login-button,html[data-theme=blue] .identity-logged-in{color:#1c64a0;background:#fbfdffe6}html[data-theme=blue] .identity-main p,html[data-theme=blue] .identity-bottom{color:#3b5973}html[data-theme=blue] .locked-wallet>label{color:#4a6881}html[data-theme=blue] .locked-amount strong{color:#48657f}html[data-theme=blue] .locked-wallet>p{color:#55718a}html[data-theme=blue] .locked-summary{border-color:#d9e8f2;color:#526d83}html[data-theme=blue] .locked-content{color:#526d83}html[data-theme=blue] .guest-links button{color:#446681}html[data-theme=blue] .guest-links span{color:#536e88}html[data-theme=blue] .demo-badge i,html[data-theme=blue] .online-dot{background:#4b8fbd}
html[data-theme=blue] input:focus,html[data-theme=blue] select:focus,html[data-theme=blue] textarea:focus{outline-color:#a0c9e7}html[data-theme=blue] button:focus-visible,html[data-theme=blue] a:focus-visible{outline-color:#a0c9e7}html[data-theme=blue] ::selection{background:#cfe9fc}
@media(max-width:600px){.header-inner{gap:6px}.brand{gap:7px;flex-shrink:0}.brand img{width:32px;height:32px}.brand strong{font-size:15px;letter-spacing:0}.brand small{font-size:7px;letter-spacing:1.6px}.portal-heading{max-width:30%;font-size:10px}.account-link>span{display:none}.account-link .icon{display:block;width:20px;height:20px}.account-link{padding:4px}.theme-switch{padding:3px;gap:2px}.theme-switch button{min-width:26px;min-height:32px;gap:0;padding:4px 6px}.theme-switch .theme-dot{width:12px;height:12px}.theme-choice-label{display:none}.notice-button{width:32px;height:32px;border-radius:12px}.notice-button .icon{width:19px;height:19px}}
@media(prefers-reduced-motion:reduce){.theme-changing body{animation:none}.theme-switch button{transition:none}}

/* Original illustrated assets retain their color and definition in navigation. */
.bottom-nav .reference-icon{filter:none;opacity:1}.quick-icon .reference-icon{width:42px;height:42px}.summary-card>.reference-icon{width:30px;height:30px}.guest-links .reference-icon{width:42px;height:42px}.wallet-hero>.reference-icon{opacity:.9}.card-chip .reference-icon{width:26px;height:26px}
html[data-theme=blue] .quick-card:has(.reference-icon) .quick-icon{background:#e1effb;border-color:#a8c9e4}html[data-theme=blue] .profile-item>.icon:first-child{color:#2c6a9c}html[data-theme=blue] .profile-item>.icon:last-child{color:#527593}html[data-theme=blue] .amount-positive{color:#246b9e}html[data-theme=blue] .avatar{color:#366f9a}html[data-theme=blue] .locked-content,html[data-theme=blue] .locked-wallet>p{color:#4e6d87}
