/* Visitor theme switcher + Classic "Panke brand corner". Loaded only when the switcher is on. */
@font-face{font-family:"Pacifico";src:url(/static/fonts/Pacifico-Regular.ttf) format("truetype");font-display:swap}
header.top{gap:8px}
.tsw{position:relative;margin-left:auto;order:2}
header.top nav{order:3}
.tsw summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;min-height:40px;padding:6px 12px;border-radius:999px;border:1px solid var(--line,#ddd4c4);background:var(--card,#fffcf6);color:var(--ink,#102033);font:600 13px/1 system-ui,-apple-system,sans-serif;-webkit-tap-highlight-color:transparent}
.tsw summary::-webkit-details-marker{display:none}
.tsw summary::after{content:"\25BE";font-size:11px;opacity:.7}
.tsw[open] summary::after{content:"\25B4"}
.tsw-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:180px;background:var(--card,#fffcf6);border:1px solid var(--line,#ddd4c4);border-radius:14px;box-shadow:0 10px 30px #0004;padding:6px;z-index:80}
.tsw-menu a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:10px;text-decoration:none;color:var(--ink,#102033)!important;font:500 15px system-ui,-apple-system,sans-serif}
.tsw-menu a.on{background:#e19ff933;font-weight:700}
.tsw-menu a:active{background:#e19ff955}
.tsw-dot{display:inline-block;width:16px;height:16px;border-radius:50%;border:1px solid #0003;flex:none}
.tsw-classic{background:linear-gradient(135deg,#f3efe6 50%,#0f2744 50%)}
.tsw-dark{background:linear-gradient(135deg,#0b0a0c 50%,#e19ff9 50%)}
.tsw-light{background:linear-gradient(135deg,#ffffff 50%,#8f45ba 50%)}
.pkc-corner{order:1;font-family:"Pacifico",cursive;font-size:17px;line-height:1;color:#e19ff9;background:#0b0a0c;padding:5px 10px 7px;border-radius:10px;box-shadow:0 0 12px #8f45ba66;margin-left:4px}
html.pk .tsw summary,html.pk .tsw-menu{background:#1c1a1e!important;border-color:#3a363d!important;color:#f4e5d9!important}
html.pk .tsw-menu a{color:#f4e5d9!important}
html.pk.pkl .tsw summary,html.pk.pkl .tsw-menu{background:#ffffff!important;border-color:#e7dfe6!important;color:#0b0a0c!important}
html.pk.pkl .tsw-menu a{color:#0b0a0c!important}
@media (max-width:600px){.pkc-corner{font-size:15px;padding:4px 8px 6px}.tsw-lab{display:inline}}
.pk-banner{background:#8f45ba;color:#ffffff;font:12px system-ui,sans-serif;text-align:center;padding:6px}.pk-banner a{color:#fff;text-decoration:underline}
@media (max-width:430px){html.pkc header.top{flex-wrap:wrap}html.pkc .tsw-lab{display:none}html.pkc .tsw summary{padding:6px 10px}}
html.pkc .np-big .pk-c{background:#16304f;border:1px solid #2b4c8a}
html.pkc .pk-v{color:#e3c46a}
html.pkc .pk-tag{color:#e3c46a}
/* Classic: /first-profit stacked cards on phones */
@media (max-width:600px){
 html.pkc #fp-main,html.pkc #fp-main tbody{display:block}
 html.pkc #fp-main tr:first-child{display:none}
 html.pkc #fp-main tr{display:grid;grid-template-columns:repeat(4,1fr);gap:4px 8px;background:#fffcf6;border:1px solid #ddd4c4;border-radius:12px;padding:10px;margin:0 0 10px}
 html.pkc #fp-main td{display:block;border:0;padding:0;text-align:left}
 html.pkc #fp-main td[data-l="#"],html.pkc #fp-main td.np-hide{display:none}
 html.pkc #fp-main td[data-l=""]{grid-column:1/-1;margin-bottom:6px}
 html.pkc #fp-main td[data-l]:not([data-l=""]):not([data-l="#"])::before{content:attr(data-l);display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#8a5a00}
 html.pkc #fp-main td[data-l="Multiple"] strong{color:#0f2744;font-size:18px}
}

/* Panke brand tile (replaces green T) */
.brand .mark.pkmark{background:#0b0a0c!important;color:#e19ff9!important;font-family:"Pacifico",cursive!important;font-weight:400!important;font-size:22px;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding-bottom:5px;box-sizing:border-box;border-radius:10px;text-shadow:0 0 8px #8f45ba;box-shadow:0 0 10px #8f45ba55;border:0}
.brand em{white-space:nowrap}
html.pk:not(.pkl) .brand .mark.pkmark{border:1px solid #e19ff999!important}
html.pkc .kicker.pk-2l{text-transform:none;letter-spacing:0;font-size:12.5px;line-height:1.45}
