/* Panke theme (preview). Palette from ~/panketape/make_images.py L15 + /workspace/ta-style/spcx_chart.py L20 */
@font-face{font-family:"Michroma";src:url(/static/fonts/Michroma-Regular.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Pacifico";src:url(/static/fonts/Pacifico-Regular.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Space Grotesk";font-weight:700;src:url(/static/fonts/SpaceGrotesk-Bold.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Liberation Sans";src:url(/static/fonts/LiberationSans-Regular.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Liberation Sans";font-weight:700;src:url(/static/fonts/LiberationSans-Bold.ttf) format("truetype");font-display:swap}
html.pk{--pk-bg:#0b0a0c;--pk-card:#141216;--pk-card2:#1c1a1e;--pk-neon:#e19ff9;--pk-neond:#8f45ba;--pk-amber:#bc885f;--pk-paper:#f4e5d9;--pk-sub:#b9b0b3;--pk-muted:#8a8590;--pk-grey:#3a363d;--pk-edge:#2a2630;--pk-up:#7fd18b;--pk-dn:#e0705a;--pk-red:#e0474c;
 --ink:#f4e5d9;--muted:#b9b0b3;--paper:#0b0a0c;--card:#141216;--line:#2a2630;--navy:#1c1a1e;--gold:#bc885f;--rust:#e0705a;--teal:#8f45ba;--up:#7fd18b;--dn:#e0705a;color-scheme:dark}
html.pk body{background:#0b0a0c!important;color:#f4e5d9!important;font-family:"Liberation Sans",Arial,Helvetica,sans-serif!important;font-size:16px;line-height:1.5}
html.pk h1,html.pk h2,html.pk h3,html.pk .np-num,html.pk .cap-big{font-family:"Space Grotesk","Liberation Sans",sans-serif!important;color:#f4e5d9!important;letter-spacing:-.01em}
html.pk .kicker,html.pk .cap-kicker,html.pk .kind,html.pk th,html.pk nav a,html.pk .go{font-family:"Michroma","Liberation Sans",sans-serif!important;letter-spacing:.04em}
html.pk .kicker,html.pk .cap-kicker{color:#bc885f!important}
html.pk p,html.pk li,html.pk td,html.pk dd,html.pk dt,html.pk small,html.pk em,html.pk label,html.pk span{color:inherit}
html.pk .lede,html.pk .sub,html.pk .src,html.pk .share-note,html.pk .form,html.pk .so,html.pk .vote,html.pk .brand em,html.pk small{color:#b9b0b3!important}
html.pk a{color:#e19ff9}
html.pk a:hover{color:#f4e5d9}
html.pk header.top{background:#0b0a0ce6!important;border-bottom:1px solid #2a2630!important}
html.pk .mark{background:#8f45ba!important;color:#f4e5d9!important;font-family:"Pacifico",cursive}
html.pk .brand strong,html.pk .brand b{font-family:"Pacifico",cursive;color:#e19ff9;font-weight:400}
html.pk nav a{color:#b9b0b3!important;font-size:11px}
html.pk nav a.on,html.pk nav a:hover{color:#e19ff9!important;border-color:#e19ff9!important}
/* every card-like surface */
html.pk .card,html.pk .deal,html.pk .own-row,html.pk .why,html.pk .cap,html.pk .hero,html.pk article,html.pk .tbl-wrap,html.pk .board,html.pk section.np-sec,html.pk .grid>div,html.pk dl{background:#141216!important;border-color:#2a2630!important;color:#f4e5d9!important;box-shadow:none!important}
html.pk .hero{background:transparent!important}
html.pk .np-big{background:#141216!important;border:1px solid #8f45ba;box-shadow:0 0 24px #8f45ba33!important}
html.pk .np-num{color:#e19ff9!important;text-shadow:0 0 18px #8f45ba99}
html.pk .np-take{color:#f4e5d9!important;border-left-color:#bc885f!important}
html.pk section.np-sec{padding:14px;border:1px solid #2a2630;border-radius:14px}
/* tables */
html.pk table{background:#141216!important;color:#f4e5d9!important}
html.pk th{background:#1c1a1e!important;color:#bc885f!important;font-size:11px;border-bottom:1px solid #3a363d!important}
html.pk td{border-bottom:1px solid #2a2630!important;color:#f4e5d9!important}
html.pk tr:nth-child(even) td{background:#100e12}
html.pk td strong,html.pk .big,html.pk .pct-now{color:#f4e5d9!important}
/* buttons & pills */
html.pk .btn{background:#8f45ba!important;color:#f4e5d9!important;border:1px solid #e19ff9!important}
html.pk .btn.ghost{background:transparent!important;color:#e19ff9!important}
html.pk .np-pill{background:#3a363d!important;color:#f4e5d9!important}
html.pk .np-pill.ok{background:#1f3b26!important;color:#7fd18b!important}
html.pk .np-pill.no{background:#3d1d18!important;color:#e0705a!important}
html.pk .up{color:#7fd18b!important} html.pk .dn{color:#e0705a!important}
/* bars & stacks */
html.pk .np-bar .t,html.pk .run-bar,html.pk .stack{background:#2a2630!important}
html.pk .np-bar .f,html.pk .fill{background:#e19ff9!important}
html.pk .np-bar .f.p{background:repeating-linear-gradient(45deg,#bc885f,#bc885f 6px,#8f45ba 6px,#8f45ba 12px)!important}
html.pk .seg.elon,html.pk .legend i.elon,html.pk .fill.elon{background:#e19ff9!important}
html.pk .seg.rest,html.pk .legend i.rest{background:#3a363d!important}
html.pk .seg:not(.elon):not(.rest),html.pk .legend i.named{background:#bc885f!important}
/* inline light backgrounds in templates */
html.pk [style*="background:#fff"],html.pk [style*="background: #fff"],html.pk [style*="background:#f"],html.pk [style*="background: #f"],html.pk [style*="background:#e"],html.pk [style*="background:#d"]{background:#1c1a1e!important;color:#f4e5d9!important}
html.pk input,html.pk select,html.pk textarea{background:#1c1a1e!important;color:#f4e5d9!important;border:1px solid #3a363d!important}
html.pk hr{border-color:#2a2630}
/* first-profit page */
html.pk .fp-chart{background:#0b0a0c!important;border-color:#2a2630!important}
html.pk .fp-live{background:#e19ff9!important;color:#0b0a0c!important}
html.pk .fp-wm{color:#e19ff9;opacity:.35;font-family:"Pacifico",cursive;font-weight:400}
html.pk .fp-prev{background:#3d1d18!important;color:#f4e5d9!important}
html.pk .pk-wm{position:fixed;right:12px;bottom:10px;font-family:"Pacifico",cursive;color:#e19ff9;opacity:.35;font-size:20px;pointer-events:none;z-index:60}
html.pk .pk-banner{background:#8f45ba;color:#f4e5d9;font:12px "Michroma",sans-serif;text-align:center;padding:6px}
html.pk .pk-banner a{color:#f4e5d9;text-decoration:underline}
@media (max-width:600px){html.pk body{font-size:15px}html.pk td,html.pk th{padding:7px 6px!important}html.pk th{font-size:10px}}
/* pass 2 fixes after phone screenshots */
html.pk .cat-strip{background:#141216!important;border:1px solid #8f45ba!important;color:#f4e5d9!important}
html.pk .cat-strip .cs-k{color:#bc885f!important;font-family:"Michroma",sans-serif}
html.pk .cat-strip .cs-i,html.pk .cat-strip .cs-i *{color:#f4e5d9!important}
html.pk .cat-strip .cs-i b{color:#e19ff9!important}
html.pk .cat-strip .cs-more{color:#e19ff9!important}
html.pk .hero .kicker,html.pk section.hero p.kicker{font-family:"Liberation Sans",sans-serif!important;text-transform:none!important;letter-spacing:0!important;font-size:13px!important;color:#b9b0b3!important}
html.pk .np-tbl td small{font-size:11px;line-height:1.35}
/* pass 3: first-profit stacked cards on phones */
@media (max-width:600px){
 html.pk #fp-main,html.pk #fp-main tbody{display:block;background:transparent!important}
 html.pk #fp-main tr:first-child{display:none}
 html.pk #fp-main tr{display:grid;grid-template-columns:repeat(4,1fr);gap:4px 8px;background:#1c1a1e;border:1px solid #2a2630;border-radius:12px;padding:10px;margin:0 0 10px}
 html.pk #fp-main td{display:block;border:0!important;background:transparent!important;padding:0!important;text-align:left!important}
 html.pk #fp-main td[data-l="#"]{display:none}
 html.pk #fp-main td[data-l=""]{grid-column:1/-1;margin-bottom:6px}
 html.pk #fp-main td.np-hide{display:none}
 html.pk #fp-main td[data-l]:not([data-l=""]):not([data-l="#"])::before{content:attr(data-l);display:block;font:9px "Michroma",sans-serif;color:#bc885f;letter-spacing:.04em}
 html.pk #fp-main td[data-l="Multiple"] strong{color:#e19ff9!important;font-size:18px}
}
/* pass 3: full-site sweep fixes */
html.pk .al-msg{background:#1f3b26!important;color:#f4e5d9!important;border:1px solid #2a2630}
html.pk .q3-card{background:#141216!important;border-color:#2a2630!important}
html.pk .q3-card.pk{background:#1c1a1e!important;border-color:#8f45ba!important}
html.pk .q3-card .segs span{background:#2a2630!important;color:#f4e5d9!important}
html.pk .q3-cd div{background:#1c1a1e!important;color:#e19ff9!important}
html.pk .q3-beat{color:#7fd18b!important} html.pk .q3-miss{color:#e0705a!important}
html.pk footer{color:#8a8590!important;border-color:#2a2630!important}
