/* Gothic monochrome across the whole ledger. Colors belong to saved items. */
.npl-wrap,.npl-command,.npl-dashboard {
 --npl-black:#080809;--npl-surface:#121214;--npl-raised:#1b1b1e;--npl-border:#414145;--npl-text:#f0f0f2;--npl-muted:#b4b4bc;
 color-scheme:dark;
}
body.npl-gothic-admin,#wpbody-content:has(>.npl-wrap){background:#080809}
.npl-gothic-admin #wpcontent,.npl-gothic-admin #wpfooter{background:#080809;color:#b4b4bc}
.npl-gothic-admin #wpadminbar,.npl-gothic-admin #adminmenuback,.npl-gothic-admin #adminmenuwrap,.npl-gothic-admin #adminmenu{background:#111113}
.npl-gothic-admin #adminmenu .wp-has-current-submenu>a,.npl-gothic-admin #adminmenu a.current{background:#303034;color:#fff}
.npl-wrap{background:var(--npl-black);color:var(--npl-text);padding:24px;min-height:80vh;font:15px/1.6 ui-monospace,"Courier New",monospace}
.npl-wrap,.npl-wrap *{box-sizing:border-box}
.npl-wrap h1,.npl-wrap h2,.npl-wrap h3,.npl-wrap th,.npl-wrap label,.npl-wrap .form-table th{color:var(--npl-text)}
.npl-wrap>h1,.npl-wrap>h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:.04em}
.npl-wrap>h1{font-size:30px;border-bottom:1px solid var(--npl-border);padding-bottom:16px}
.npl-wrap h2{margin-top:28px}
.npl-wrap p,.npl-wrap .description,.npl-wrap .npl-empty,.npl-wrap .npl-creed{color:var(--npl-muted);font-style:normal}
.npl-wrap a{color:#f5f5f7}
.npl-wrap a:hover{color:#fff;text-decoration:underline}
.npl-wrap .npl-cols{gap:24px}.npl-wrap .npl-col{min-width:0;flex:1 1 400px}
.npl-wrap .form-table{table-layout:auto}.npl-wrap .form-table th{width:170px}
.npl-wrap input:not([type=checkbox]):not([type=radio]):not([type=color]),.npl-wrap select,.npl-wrap textarea{
 background:#0d0d0f;color:#f1f1f3;border:1px solid #55555e;border-radius:2px;max-width:100%;box-shadow:inset 0 1px 4px #000;
}
.npl-wrap input::placeholder,.npl-wrap textarea::placeholder{color:#aaaab2;opacity:1}
.npl-wrap input[type=checkbox],.npl-wrap input[type=radio]{background:#141416;border-color:#73737c;accent-color:#eee}
.npl-wrap input:focus,.npl-wrap textarea:focus,.npl-wrap select:focus{border-color:#e5e5ea;box-shadow:0 0 0 1px #e5e5ea}
.npl-wrap input[type=file]{padding:8px}
.npl-wrap ::file-selector-button{background:#303034;color:#fff;border:1px solid #777;padding:6px 12px;margin-right:8px}
.npl-wrap .button,.npl-wrap .button-primary,.npl-wrap .button-secondary{
 background:#27272c;color:#fafafa;border:1px solid #686870;border-radius:2px;box-shadow:2px 2px #000;min-height:34px;font-family:inherit;
}
.npl-wrap .button:hover,.npl-wrap .button-primary:hover{background:#3b3b41;color:#fff;border-color:#aaa}
.npl-wrap .button-link-delete{color:#ff949f}
.npl-wrap .widefat,.npl-wrap .npl-ladder{background:#111113;color:#eee;border:1px solid #414145;border-collapse:collapse;width:100%}
.npl-wrap .widefat th,.npl-wrap .widefat td,.npl-wrap .npl-ladder th,.npl-wrap .npl-ladder td{color:#e2e2e7;padding:12px;border-bottom:1px solid #35353a;overflow-wrap:anywhere}
.npl-wrap .widefat thead,.npl-wrap .npl-ladder thead{background:#222225}
.npl-wrap .widefat tbody tr:nth-child(even){background:#18181b}
.npl-wrap .npl-table tr.status-archived td{color:#aaaab3}
.npl-wrap .npl-table tr.status-complete td{color:#fff}
.npl-wrap .npl-table tr.status-paused td{color:#ccc}
.npl-wrap .npl-weather-board,.npl-wrap .npl-observations,.npl-wrap .npl-removal{background:#141417;border-color:#48484f}
.npl-wrap .npl-weather-tile{background:#09090b;border-color:#48484f}
.npl-wrap .npl-swatch-label,.npl-wrap .npl-phrase{color:#e4e4eb}
.npl-wrap .npl-soul-base{background:#141416;border-color:#5e5e66;border-left:3px solid #edce73}
.npl-wrap .npl-soul-base.revoked{background:#141416;border-color:#444}
.npl-wrap .npl-soul-title{color:#fff}.npl-wrap .npl-soul-reason,.npl-wrap .npl-soul-code{color:#c4c4cc;font-style:normal}
.npl-wrap .npl-soul-image{background:#080809}
.npl-wrap .npl-activity li{border-color:#4c4c51}
.npl-wrap .npl-creed{border-color:#aaa}
.npl-wrap .notice{background:#17171a;border-color:#4d4d56;color:#fff}
.npl-wrap .npl-keystone-label{color:#ffcf58}
.npl-wrap .npl-hp-form{border-left:2px solid #ff5774}
.npl-wrap .npl-info-form{border-left:2px solid #56c0ff}
.npl-wrap .npl-ruby-entry{border-left:3px solid #ff5774}
.npl-wrap .npl-sapphire-entry{border-left:3px solid #56c0ff}
.npl-wrap .npl-ruby-entry .npl-chest-code{color:#ff5774}
.npl-wrap .npl-sapphire-entry .npl-chest-code{color:#56c0ff}
.npl-gothic-admin .notice{background:#17171a;color:#eee}
.npl-gothic-admin .notice p{color:#eee}
.npl-wrap .npl-chest-entry{background:#141416;border:1px solid #44444c;padding:16px;margin:12px 0}
.npl-wrap .npl-ruby-entry{border-left:3px solid #ff5774}
.npl-wrap .npl-sapphire-entry{border-left:3px solid #56c0ff}
.npl-wrap .npl-chest-code{color:#fff;font-weight:700}
.npl-wrap .npl-chest-text dt{color:#efeff5;margin-top:12px;font-weight:700}
.npl-wrap .npl-chest-text dd{color:#cacad2;margin:4px 0 12px;white-space:pre-wrap}
.npl-wrap .npl-journal-picker{padding:16px;background:#161619;border:1px solid #44444b;display:flex;flex-wrap:wrap;gap:12px}
.npl-command{--ink:#f0f0f3;--muted:#b5b5c0;--bg:#080809;--panel:#141416;--edge:#424248;--green:#e3e3ea;--ruby:#ff5774;--blue:#56c0ff;--gold:#e3e3ea}
.npl-command .stone,.npl-command .npl-inventory-slot.stone{color:#fff}
.npl-command .ruby{color:#ff5774}.npl-command .sapphire{color:#56c0ff}
.npl-command .soul,.npl-command .keystone{color:#ffcf58}
.npl-command .npl-emblem-art{color:#ffcf58}
.npl-command .npl-inventory-cluster{padding:16px 0 20px;border-bottom:1px solid #44444a}
.npl-command .npl-inventory-cluster:first-of-type{padding-top:0}
.npl-command .npl-inventory-cluster:last-of-type{border-bottom:0}
.npl-command .npl-inventory-cluster>header{margin-bottom:12px}
.npl-command .npl-inventory-cluster>header small{color:var(--muted);font-size:var(--xs);text-transform:uppercase}
.npl-command .npl-inventory-cluster>header h3{font-size:var(--base);color:#fff}
.npl-command .npl-inventory-cluster .npl-slot-grid{grid-template-columns:minmax(0,1fr);list-style:none;margin:0;padding:0}
.npl-command .npl-inventory-row{margin:0;min-width:0}
.npl-command .npl-inventory-cluster{margin-top:20px;border-top:1px solid #44444a;border-bottom:0;padding:16px 0 0}
.npl-command .npl-inventory-cluster .npl-inventory-slot summary{display:grid;grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"art label count" "art hint count";gap:0 12px;align-items:center;text-align:left;min-height:84px;padding:10px 16px}
.npl-command .npl-inventory-cluster .npl-item-art{grid-area:art;margin:0;width:64px;height:64px}
.npl-command .npl-inventory-cluster summary strong{grid-area:label;align-self:end}
.npl-command .npl-inventory-cluster summary small{grid-area:hint;align-self:start;display:block}
.npl-command .npl-inventory-cluster .npl-stack-count{grid-area:count;position:static;font-size:var(--sm)}
.npl-command .npl-cluster-log{font-size:var(--xs);display:block;margin-top:12px}
.npl-dashboard{background:#09090b;color:#eee;padding:24px;border:1px solid #414146}
.npl-dashboard .npl-monument{background:#151517;border-color:#44444c;border-left-color:#b4b4bb}
.npl-dashboard .npl-monument-title,.npl-dashboard .npl-monument-rank,.npl-dashboard .npl-stones-label{color:#f2f2f5}
.npl-dashboard .npl-monument-purpose,.npl-dashboard .npl-progress-label,.npl-dashboard .npl-monument-code{color:#b9b9c1}
.npl-dashboard .npl-keystone-note{color:#ffcf58}
.npl-dashboard .npl-progress{background:#050506;border-color:#55555d}
.npl-dashboard .npl-progress-fill{background:repeating-linear-gradient(90deg,#dddde3 0,#dddde3 8px,#77777f 8px,#77777f 10px)}
/* Nine compact blocks first; the original full-detail cards remain below. */
#npl-overview{order:4}#npl-badges{order:5}.npl-command-grid{order:6}#npl-souls{order:7}.npl-console-footer{order:8}
.npl-command .npl-overview-page{margin-top:8px}
.npl-command .npl-overview-page>summary{cursor:pointer;font-size:var(--xs);color:var(--muted);padding:4px 0 10px}
.npl-command .npl-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.npl-command a.npl-mini{display:block;min-width:0;padding:12px;background:#0e0e10;border:1px solid #47474d;color:var(--ink);text-decoration:none;box-shadow:inset 0 0 0 2px #1c1c1f}
.npl-command a.npl-mini:hover{background:#222225;border-color:#ddd}
.npl-command .npl-mini-top{display:flex;gap:10px;align-items:center}
.npl-command .npl-mini-top>div{min-width:0;flex:1}
.npl-command .npl-mini-top h3{font-size:var(--sm);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.npl-command .npl-mini-top small,.npl-command .npl-mini-rank{display:block;font-size:11px;line-height:1.6;color:var(--muted)}
.npl-command .npl-mini .npl-insignia{width:34px;height:42px}
.npl-command .npl-mini .npl-insignia>span{font-size:16px}
.npl-command .npl-mini .npl-insignia i{bottom:8px;left:8px;right:8px;height:2px}
.npl-command .npl-mini .npl-xp{height:9px;padding:1px}
.npl-command .npl-mini .npl-meter-label{margin:8px 0 4px;font-size:11px}
.npl-command .npl-mini-loot{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;font-size:12px}
.npl-command .npl-mission{scroll-margin-top:48px}
@media(max-width:850px){.npl-command .npl-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.npl-command .npl-mini-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
 .npl-wrap{padding:12px;margin-left:0;margin-right:0;font-size:14px}
 .npl-wrap .form-table,.npl-wrap .form-table tbody,.npl-wrap .form-table tr{display:block;width:100%;min-width:0}
 .npl-wrap .form-table th{display:block;width:auto;padding:12px 0 4px}
 .npl-wrap .form-table td{display:block;width:auto;padding:4px 0 12px}
 .npl-wrap input,.npl-wrap textarea,.npl-wrap select{max-width:100%;min-width:0}
 .npl-wrap .npl-stone-action{min-width:0;width:100%}
 .npl-wrap .widefat,.npl-wrap .npl-ladder{display:block;overflow-x:auto;max-width:100%}
}
