/* Render authored navigation labels and preserve the account name's original case. */
html[data-reverse-theme] #navbar nav :is(ul,li,a,.nav-link,.reverse-theme-switch) {text-transform:none}
dialog.rv-theme-picker {
  --tp-panel:#f9f8fc;--tp-ink:#211d28;--tp-card:#fff;--tp-edge:#c7c1d3;--tp-accent:#89528e;
  box-sizing:border-box; width:min(45rem,calc(100% - 2rem)); max-height:calc(100dvh - 2rem);
  margin:auto; padding:clamp(1rem,3vw,1.6rem); overflow:auto; border:1px solid var(--tp-edge);
  border-radius:1rem; color-scheme:light; background:var(--tp-panel); color:var(--tp-ink);
  box-shadow:0 24px 80px #0e0b1b55; font:16px "Trebuchet MS","Segoe UI",Arial,sans-serif;
}
html[data-reverse-theme="remodernized"] dialog.rv-theme-picker {
  --tp-panel:#0f1430;--tp-ink:#f6f5ff;--tp-card:#171d3b;--tp-edge:#515876;--tp-accent:#e68bcd;color-scheme:dark;
}
dialog.rv-theme-picker::backdrop {background:rgb(12 11 28 / .62);backdrop-filter:blur(3px)}
.rv-theme-picker * {box-sizing:border-box}
.rv-tp-top {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.2rem}
dialog.rv-theme-picker #rv-theme-picker-title {font:700 clamp(1.25rem,3vw,1.6rem)/1.2 "Trebuchet MS","Segoe UI",sans-serif;color:var(--tp-ink);letter-spacing:-.04em;margin:0}
.rv-theme-picker button {cursor:pointer;font:inherit}
.rv-tp-close {display:grid;place-items:center;background:transparent;border:1px solid var(--tp-edge);border-radius:50%;width:2rem;height:2rem;color:var(--tp-ink);font-size:1.35rem!important}
.rv-tp-options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.rv-tp-option {min-width:0;text-align:left;position:relative;display:grid;gap:.65rem;padding:.5rem;background:var(--tp-card);color:var(--tp-ink);border:1px solid var(--tp-edge);border-radius:.7rem}
.rv-tp-option:hover {border-color:#80728d}
.rv-tp-option[aria-pressed="true"] {border-color:var(--tp-accent);box-shadow:0 0 0 1px var(--tp-accent)}
.rv-tp-option:focus-visible,.rv-tp-close:focus-visible {outline:3px solid #117397;outline-offset:3px}
.rv-tp-name {font-weight:bold;display:flex;align-items:center;justify-content:space-between;padding:.1rem .15rem .2rem}
.rv-tp-option[aria-pressed="true"] .rv-tp-name::after {content:"✓";font-size:.78rem;line-height:1.1rem;text-align:center;width:1.1rem;border-radius:50%;background:#5e3c69;color:white}
.rv-tp-mini {position:relative;overflow:hidden;display:block;aspect-ratio:1.5;border-radius:.3rem;background:#f7f5f9;border:1px solid #d1cbd8}
.rv-tp-mini * {position:absolute;display:block}
.rv-tp-mast {inset:0 0 83%;background:#26202c;border-bottom:3px solid #ad81c6}
.rv-tp-mast i:nth-child(1){height:37%;width:13%;top:31%;left:7%;border-radius:2px;background:white}
.rv-tp-mast i:nth-child(2),.rv-tp-mast i:nth-child(3){height:15%;width:10%;top:42%;left:60%;background:#b2aabe}
.rv-tp-mast i:nth-child(3){left:76%}
.rv-tp-cover {inset:22% 5% auto;height:23%;border-radius:3px;background:linear-gradient(120deg,#9ad8f0,#bc99e0 52%,#f899ba)}
.rv-tp-id {inset:39% 7% auto;height:22%}
.rv-tp-head {left:0;top:0;bottom:0;aspect-ratio:1;background:#f2d5c2;border:2px solid white;border-radius:6px;overflow:hidden}
.rv-tp-head::before,.rv-tp-head::after {content:"";position:absolute;border-radius:50%;background:#806d80}
.rv-tp-head::before{inset:16% 34% 43%}.rv-tp-head::after{inset:58% 12% -30%}
.rv-tp-id b {height:16%;width:32%;left:19%;top:60%;border-radius:2px;background:#71667d}
.rv-tp-content {inset:69% 6% 7%;display:grid;grid-template-columns:1.55fr 1fr;gap:4px}
.rv-tp-content i {position:static;background:white;border:1px solid #dbd5e1;border-radius:3px}
.rv-tp-content i:first-child {grid-row:span 2}
.rv-tp-option[data-theme="classic"] .rv-tp-mini {border-radius:0;background:#fff}
.rv-tp-option[data-theme="classic"] .rv-tp-mast {background:#08090e;border-color:#3f566c}
.rv-tp-option[data-theme="classic"] .rv-tp-cover {inset:24% 5% 7% 46%;height:auto;border:1px solid #ccc;border-radius:0;background:linear-gradient(#101014 15%,#eee 15% 43%,#42adca 43% 58%,#e9e9e9 58%)}
.rv-tp-option[data-theme="classic"] .rv-tp-id {inset:24% 58% 7% 5%;height:auto;background:#eee;border:1px solid #9ba5b1}
.rv-tp-option[data-theme="classic"] .rv-tp-head {inset:8% 8% auto;width:84%;border-radius:0;background:linear-gradient(#182032,#5c3254)}
.rv-tp-option[data-theme="classic"] .rv-tp-head::before,.rv-tp-option[data-theme="classic"] .rv-tp-head::after {background:#0e0c17}
.rv-tp-option[data-theme="classic"] .rv-tp-id b {left:15%;top:79%;width:66%;height:6%;background:#496079}
.rv-tp-option[data-theme="classic"] .rv-tp-content {display:none}
.rv-tp-option[data-theme="remodernized"] .rv-tp-mini {background:#080b1e;border-color:#171f3e}
.rv-tp-option[data-theme="remodernized"] .rv-tp-mast {background:#10142c;border-color:#313856}
.rv-tp-option[data-theme="remodernized"] .rv-tp-cover {inset:22% 5% auto;height:37%;border:1px solid #39304f;background:linear-gradient(95deg,#0c112bed,#18112d55),url("/reverse-welcome/assets/nv_rooftop.jpg") center 45% / cover}
.rv-tp-option[data-theme="remodernized"] .rv-tp-id {top:31%;left:9%;height:23%}
.rv-tp-option[data-theme="remodernized"] .rv-tp-head {border:2px solid transparent;background:linear-gradient(#9081a7,#6e607e) padding-box,linear-gradient(135deg,#ff3bab,#29acd5) border-box;border-radius:5px}
.rv-tp-option[data-theme="remodernized"] .rv-tp-id b {background:#efedf5;left:23%;top:42%;width:37%}
.rv-tp-option[data-theme="remodernized"] .rv-tp-content {inset:66% 5% 8%;grid-template-columns:1.6fr 1fr}
.rv-tp-option[data-theme="remodernized"] .rv-tp-content i {background:#151a3b;border-color:#313856}
@media(max-width:540px){
  .rv-tp-options{grid-template-columns:1fr;gap:.5rem}
  .rv-tp-option{grid-template-columns:6.8rem 1fr;align-items:center}
  .rv-tp-name{padding:0 .45rem .05rem .05rem}
}
