/* Extensions inherit Claude's original theme. PC-98 uses the unmodified pc98.css tokens. */
.eco-shell,.frontier-shell{color:var(--ink);background:var(--win);border-color:var(--stroke-2)}
.eco-header,.fx-hero{background:var(--win-2);border-color:var(--stroke-2)}
.eco-card,.eco-stat,.eco-item,.fx-card,.fx-location,.fx-mission,.fx-moment,.fx-form,.fx-map,.fx-league,.eco-table-wrap{background:var(--win);border-color:var(--stroke-2);color:var(--ink)}
.eco-app,.fx-summary{background:var(--panel-2);border-color:var(--stroke-2);color:var(--ink)}
.eco-app:hover{background:var(--win-2);border-color:var(--cyan)}
.eco-nav,.fx-nav{border-color:var(--stroke-2)}
.eco-nav button,.fx-nav button{color:var(--ink-2)}
.eco-nav button[aria-selected=true],.fx-nav button[aria-selected=true]{background:var(--magenta);color:var(--ink)}
.eco-content :is(p,small,label),.eco-finance :is(p,small,label),.fx-content :is(p,small,label),.fx-hero p{color:var(--ink-2)}
.eco-content :is(h2,h3,h4),.eco-finance :is(h2,h3,h4),.eco-header h1,.fx-hero h2,.fx-section h3{color:var(--ink)}
.eco-stat strong,.eco-card>strong,.fx-stats strong,.fx-summary strong{color:var(--up)}
.eco-profile b,.eco-item h3,.fx-card h3,.fx-location h3,.fx-mission h3{color:var(--ink)}
.eco-header>span,.eco-stat span,.eco-account small,.eco-profile small,.eco-item small,.fx-stats small,.fx-muted{color:var(--ink-2)}
.eco-intro>small,.eco-header small,.fx-eyebrow,.eco-post header b,.eco-app>span{color:var(--cyan)}
.eco-empty,.eco-reply,.eco-room-preview>div,.eco-avatar,.fx-empty,.fx-quiet,.fx-map-caption{background:var(--bg);color:var(--ink-2);border-color:var(--stroke-2)}
.eco-finance dl,.eco-table td,.eco-ledger,.fx-risk-row,.eco-account{color:var(--ink);border-color:var(--stroke)}
.eco-table th,.fx-league>div{background:var(--win-2);color:var(--ink);border-color:var(--stroke-2)}
.eco-up{color:var(--up)!important}.eco-down{color:var(--down)!important}
.fx-league>div.you,.fx-mission.ready{background:var(--win-2);color:var(--up);border-color:var(--up)}
.fx-meter{background:var(--bg)}.fx-meter i{background:var(--up)}
.fx-chip,.fx-stamps span{background:var(--win-2);color:var(--cyan);border-color:var(--stroke-2)}
.fx-pin{background:var(--win);border-color:var(--stroke-3);color:var(--ink)}
.fx-pin.on,.fx-pin:hover{background:var(--win-2);border-color:var(--cyan)}
.frontier-welcome,.frontier-pill{background:var(--win-2);color:var(--cyan);border-color:var(--cyan)}
#ecoPost,#ecoExportText,.eco-post textarea,.eco-inline input,.eco-finance input,.eco-toolbar select,.fx-form input[type=number],.fx-form select{background:var(--bg);color:var(--up);border-color:var(--stroke-3);font-family:var(--mono)}
.eco-finance .btn{background:var(--win-2);color:var(--ink);border-color:var(--stroke-3)}
.trait-count{margin-bottom:12px;color:var(--cyan)}
.traits-summary{margin:12px 0;border:1px solid var(--stroke-2);padding:10px;background:var(--win)}
.traits-summary summary{cursor:pointer;color:var(--cyan)}
.traits-summary p,.traits-summary small{font:13px/1.5 var(--font);color:var(--ink-2)}
html.pc98 .traits-summary{border-width:2px;box-shadow:4px 4px 0 #000}
html.pc98 .traits-summary :is(p,small){font:16px/1.4 var(--font)}
/* Hard edges, native 16px dot typography, striped title bars and inverted tabs. */
html.pc98 :is(.eco-shell,.eco-card,.eco-item,.eco-stat,.eco-app,.eco-table-wrap,.eco-empty,.eco-reply,.eco-avatar,.eco-room-preview>div,.frontier-shell,.fx-card,.fx-location,.fx-mission,.fx-moment,.fx-form,.fx-map,.fx-summary,.fx-league,.fx-empty,.fx-quiet,.fx-map-caption,.fx-chip,.fx-stamps span,.frontier-pill){border-radius:0;border-width:2px;box-shadow:4px 4px 0 #000}
html.pc98 :is(.eco-header,.fx-hero){background:repeating-linear-gradient(180deg,var(--bar) 0 2px,var(--bar-2) 2px 4px);border-bottom:2px solid var(--hi);padding:16px 20px}
html.pc98 :is(.eco-header h1,.fx-hero h2){font:32px/1.2 var(--display);color:#fff;background:var(--bar);width:fit-content;letter-spacing:0}
html.pc98 :is(.eco-header small,.eco-header>span,.fx-eyebrow,.fx-hero p){color:var(--ink);background:var(--bar);font:16px/1.4 var(--mono);letter-spacing:0}
html.pc98 :is(.eco-content,.eco-finance,.fx-content){font:16px/1.5 var(--font)}
html.pc98 :is(.eco-content,.eco-finance,.fx-content) :is(p,small,label,span,b,button,td,th,dd,dt,input,select,textarea){font-family:var(--font);font-size:16px;line-height:1.4;letter-spacing:0}
html.pc98 :is(.eco-content,.eco-finance,.fx-content) :is(h2,h3,h4){font:16px/1.5 var(--display);letter-spacing:.06em;color:var(--cyan)}
html.pc98 :is(.eco-stat strong,.eco-card>strong,.fx-stats strong,.fx-summary strong){font:32px/1.2 var(--mono)}
html.pc98 :is(.eco-stats,.eco-grid,.eco-collection,.eco-wallet-grid,.fx-cards){gap:12px}
html.pc98 :is(.eco-stat,.eco-card,.eco-app,.fx-card,.fx-mission){padding:14px}
html.pc98 :is(.eco-nav,.fx-nav){padding:6px 8px 0;gap:2px;border-bottom:2px solid var(--stroke-2)}
html.pc98 :is(.eco-nav,.fx-nav) button{font:16px/1.4 var(--font);padding:3px 10px;border-radius:0;border:2px solid transparent;border-bottom:0;transition:none}
html.pc98 :is(.eco-nav,.fx-nav) button:hover{background:var(--win-2);color:#fff}
html.pc98 :is(.eco-nav,.fx-nav) button[aria-selected=true]{background:var(--win);color:#fff;border-color:var(--stroke-2);box-shadow:none}
html.pc98 .eco-app{background:var(--win);text-align:left;border-color:var(--stroke);transition:none}
html.pc98 .eco-app:hover{background:var(--win-2);border-color:var(--cyan)}
html.pc98 :is(.eco-content,.eco-finance,.frontier-shell) .btn{font:16px/1.4 var(--font);border-radius:0;padding:3px 12px;color:var(--ink);background:var(--btn);border:2px solid;border-color:var(--bevel-hi) var(--bevel-lo) var(--bevel-lo) var(--bevel-hi);box-shadow:2px 2px 0 #000}
html.pc98 :is(.eco-content,.eco-finance,.frontier-shell) .btn.primary{color:#002211;background:var(--up);border-color:#aaffdd #116644 #116644 #aaffdd}
html.pc98 :is(.eco-content,.eco-finance,.frontier-shell) .btn:disabled{color:#7777aa;background:#1a1a44;box-shadow:none}
html.pc98 :is(#ecoPost,#ecoExportText,.eco-post textarea,.eco-inline input,.eco-finance input,.eco-toolbar select,.fx-form input[type=number],.fx-form select){font:16px/1.4 var(--mono);border-radius:0;border:2px solid;border-color:var(--bevel-lo) var(--stroke-3) var(--stroke-3) var(--bevel-lo);padding:6px 8px}
html.pc98 :is(.eco-ledger,.eco-account,.fx-risk-row,.fx-journal p){border-bottom:2px dotted var(--stroke)}
html.pc98 :is(.eco-avatar,.eco-profile .eco-avatar){border-radius:0;background:var(--bg)}
html.pc98 .eco-avatar svg{width:100%;height:100%}
html.pc98 :is(.eco-shell,.frontier-shell) svg{shape-rendering:crispEdges}
html.pc98 :is(.fx-property-art,.fx-location-art){border-radius:0;background:var(--bg)}
html.pc98 :is(.fx-icon,.fx-card-icon){color:var(--cyan)}
html.pc98 .fx-meter{height:14px;border:2px solid var(--stroke-2);border-radius:0}
html.pc98 .fx-meter i{background:repeating-linear-gradient(90deg,var(--up) 0 6px,#000 6px 8px);border-radius:0}
html.pc98 .fx-pin{border-radius:0;transition:none;font:16px var(--mono)}
html.pc98 .fx-pin.selected{background:var(--ink);color:var(--bg);border-color:var(--ink)}
html.pc98 .fx-pin.visited::after{border-radius:0;background:var(--up)}
html.pc98 .fx-map-caption{font:16px/1.4 var(--mono)}
html.pc98 .fx-map .fx-pin span{font:12px/1.25 var(--mono);letter-spacing:0;background:var(--bg);color:var(--ink);border-radius:0}
html.pc98 .fx-moment.fx-quiet{background:var(--win);border-color:var(--stroke-2)}
html.pc98 .fx-muted{font:16px/1.4 var(--mono)!important;color:var(--ink-2)!important}
html.pc98 .frontier-shell .btn:hover:not(:disabled){filter:none}
html.pc98 .fx-stamps article{background:var(--win);border-color:var(--stroke-2);border-radius:0;border-width:2px}
html.pc98 :is(.fx-card strong,.fx-summary strong small){color:var(--up)}
html.pc98 .fx-summary span:not(.fx-eyebrow,.fx-chip){color:var(--ink-2)}
html.pc98 .fx-form input[type=checkbox]{accent-color:var(--cyan)}
html.pc98 :is(.eco-content,.eco-finance,.fx-content) .btn:hover:not(:disabled){background:var(--btn-hover)}
html.pc98 :is(.eco-content,.eco-finance,.fx-content) .btn.primary:hover:not(:disabled){background:#66ffbb}
html.pc98 :is(.eco-content,.eco-finance,.fx-content) .btn:active:not(:disabled){transform:translate(2px,2px);box-shadow:none;border-color:var(--bevel-lo) var(--bevel-hi) var(--bevel-hi) var(--bevel-lo)}
html.pc98 #ecoExport .modal-body>p{font:16px/1.4 var(--font)}
html.pc98 .frontier-welcome{font:16px/1.4 var(--mono);border:2px dotted var(--cyan)}
@media(max-width:700px){html.pc98 :is(.eco-content,.fx-content){padding:10px}html.pc98 :is(.eco-header,.fx-hero){padding:12px}html.pc98 .eco-header>span{max-width:140px}html.pc98 .eco-header h1{font-size:24px}html.pc98 .eco-collection{grid-template-columns:repeat(2,minmax(0,1fr))}html.pc98 .eco-item>div{padding:8px}html.pc98 .eco-item .btn{padding:4px}html.pc98 .eco-profile{flex-wrap:wrap}html.pc98 .eco-stat strong{font-size:24px}}

html.pc98 .fx-hero { padding: 6px 12px !important; }
html.pc98 :is(.eco-header,.fx-hero) h2 { font-size: 20px; margin: 0; }
