*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #0f1117;--surface: #1a1d27;--surface-alt: #21253a;--border: #2e3250;--text: #e2e8f0;--text-muted: #7a85a3;--accent: #6c8fff;--unlocked: #22c55e;--unlocked-bg: #052012;--locked-bg: transparent;--header-bg: #13162a}body{background:var(--bg);color:var(--text);font-family:Segoe UI,system-ui,sans-serif;min-height:100vh}.app{padding:2rem;max-width:100%}.app-header{margin-bottom:2rem}.app-header h1{font-size:1.6rem;font-weight:700;color:var(--accent);letter-spacing:.04em}.app-header p{color:var(--text-muted);font-size:.875rem;margin-top:.25rem}.table-wrap{overflow-x:auto;border-radius:10px;border:1px solid var(--border)}table{border-collapse:collapse;width:100%;min-width:max-content;background:var(--surface)}thead th{background:var(--header-bg);color:var(--text-muted);font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:.6rem .75rem;border-bottom:2px solid var(--border);white-space:nowrap;text-align:center}thead th.col-character{text-align:left;position:sticky;left:0;z-index:2;background:var(--header-bg);border-right:1px solid var(--border);min-width:120px}tbody tr{border-bottom:1px solid var(--border);transition:background .1s}tbody tr:last-child{border-bottom:none}tbody tr:hover{background:var(--surface-alt)}tbody td{padding:.55rem .75rem;text-align:center;font-size:.9rem}tbody td.col-character{text-align:left;position:sticky;left:0;z-index:1;background:var(--surface);border-right:1px solid var(--border);font-weight:600;color:var(--text);text-transform:capitalize}tbody tr:hover td.col-character{background:var(--surface-alt)}.power-unlocked{color:var(--unlocked);font-size:1rem;line-height:1}.power-locked{color:var(--border);font-size:.75rem;line-height:1}.status-loading,.status-error{padding:3rem;text-align:center;color:var(--text-muted);font-size:.95rem}.status-error{color:#f87171}.count-badge{display:inline-block;background:var(--surface-alt);border:1px solid var(--border);color:var(--text-muted);font-size:.75rem;border-radius:999px;padding:.15rem .65rem;margin-left:.5rem;vertical-align:middle}.toggle-btn{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:.75rem;padding:0 .35rem 0 0;line-height:1;transition:color .15s}.toggle-btn:hover{color:var(--accent)}.row-expanded td{border-bottom:none}.row-cooldown td{background:#10132000;background:var(--bg);border-bottom:1px solid var(--border);padding:.35rem .75rem;font-size:.78rem}.row-cooldown .col-character{background:var(--bg);color:var(--text-muted);font-size:.72rem;font-weight:400;text-transform:uppercase;letter-spacing:.06em}.td-cooldown{text-align:center}.cooldown-ready{color:var(--unlocked);font-size:.75rem}.cooldown-active{color:#f59e0b;font-size:.75rem;font-weight:600}.cooldown-na{color:var(--border);font-size:.75rem}.power-on-cooldown{display:flex;flex-direction:column;align-items:center;gap:.1rem;line-height:1.2}.cooldown-icon{font-size:.95rem;line-height:1}.cooldown-timer{color:#f59e0b;font-size:.68rem;font-weight:600;white-space:nowrap}:root{--room-title: #f5c26b;--exit: #5fd4c4;--player: #a9c4ff;--legendary: #f5a623;--superior: #b48cff;--good: #4fc3f7;--average: #c7cdd9;--poor: #8a93a8;--cooldown: #f0b429}.app{max-width:1200px;margin:0 auto}.site-header{display:flex;align-items:baseline;gap:.75rem;margin-bottom:2rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}.site-name{font-size:1.3rem;font-weight:800;letter-spacing:.08em;color:var(--accent);text-decoration:none}.site-tagline{color:var(--text-muted);font-size:.85rem}a{color:var(--accent)}a:focus-visible,button:focus-visible,input:focus-visible,th.sortable:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.room{font-family:Cascadia Mono,Consolas,ui-monospace,monospace;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.5rem 1.75rem;max-width:820px;line-height:1.6}.room-title{color:var(--room-title);font-size:1.15rem;font-weight:700;margin-bottom:.5rem}.room-desc{color:var(--text);margin-bottom:.75rem}.room-exits{color:var(--text-muted);margin-bottom:1.25rem}.room-exits-label{color:var(--text-muted)}.room-exit{color:var(--exit);text-decoration:none;margin-right:.75rem}.room-exit:hover{text-decoration:underline}.room-contents{display:flex;flex-direction:column;gap:.15rem}.room-player{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem;padding:.35rem .6rem;margin:0 -.6rem;border-radius:6px;color:var(--text);text-decoration:none}.room-player:hover{background:var(--surface-alt)}.room-player-name{color:var(--player);font-weight:700}.room-player:hover .room-player-name{text-decoration:underline}.room-player-tags{display:inline-flex;gap:.35rem;margin-left:.5rem}.tag{font-family:Segoe UI,system-ui,sans-serif;font-size:.7rem;color:var(--text-muted);border:1px solid var(--border);border-radius:999px;padding:.05rem .5rem}.room-empty{color:var(--text-muted);font-style:italic;padding:.5rem 0}.page{display:flex;flex-direction:column;gap:1rem}.back-link{color:var(--text-muted);text-decoration:none;font-size:.9rem;width:fit-content}.back-link:hover{color:var(--accent)}.page-title{font-size:1.8rem;color:var(--player)}.section{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.25rem 1.5rem}.section-title{font-size:1.05rem;color:var(--accent);margin-bottom:.5rem}.section-note{color:var(--text-muted);font-size:.85rem}.section-soon{opacity:.7}.power-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.5rem;margin-top:.75rem}.power-tile{display:flex;flex-direction:column;gap:.15rem;padding:.6rem .75rem;border-radius:8px;border:1px solid var(--border);background:var(--surface-alt)}.power-name{font-weight:600;font-size:.9rem}.power-status{font-size:.8rem;color:var(--text-muted)}.power-ready{border-color:var(--unlocked);background:var(--unlocked-bg)}.power-ready .power-status{color:var(--unlocked)}.power-cooldown{border-color:var(--cooldown)}.power-cooldown .power-status{color:var(--cooldown);font-variant-numeric:tabular-nums}.power-locked{opacity:.45}.table-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin:.5rem 0 .75rem}.search{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:.45rem .7rem;font-size:.9rem;min-width:220px}.search-level{min-width:0;width:9.5rem}table.satchel{min-width:100%}table.satchel th,table.satchel td{white-space:nowrap}table.satchel .col-text{text-align:left}table.satchel .col-num{text-align:right;font-variant-numeric:tabular-nums}th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}th.sortable:hover,th.sorted{color:var(--accent)}.sort-arrow{margin-left:.3rem;font-size:.7rem}td.zero{color:var(--border)}td.q-legendary:not(.zero){color:var(--legendary);font-weight:600}td.q-superior:not(.zero){color:var(--superior)}td.q-good:not(.zero){color:var(--good)}td.q-average:not(.zero){color:var(--average)}td.q-poor:not(.zero){color:var(--poor)}td.col-total{font-weight:700}table.satchel tfoot td{border-top:1px solid var(--border);font-weight:700;background:var(--header-bg);padding:.6rem 1rem}@media (max-width: 640px){.app,.room,.section{padding:1rem}.search{min-width:0;flex:1}}.profile-header{margin-top:-.5rem}.profile-title{color:var(--room-title);font-style:italic}.sub-title{font-size:.95rem;color:var(--text);margin-bottom:.5rem;display:flex;gap:.6rem;align-items:baseline;flex-wrap:wrap}.updated{font-weight:400}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.5rem 1rem}.facts dt{color:var(--text-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.facts dd{font-size:1rem;font-variant-numeric:tabular-nums}table.stats{min-width:0;width:100%}table.stats th,table.stats td{padding:.35rem .6rem}table.stats .col-text{text-align:left}table.stats .col-num{text-align:right;font-variant-numeric:tabular-nums}.stat-value{font-weight:700}.bonus-up{color:var(--unlocked)}.bonus-down{color:#f87171}.equipment{display:flex;flex-direction:column}.equipment>div{display:grid;grid-template-columns:8.5rem 1fr;gap:1rem;padding:.3rem 0;border-top:1px solid var(--border)}.equipment>div.same-slot{border-top:none;padding-top:0}.equipment dt{color:var(--text-muted);font-size:.85rem}.equipment dd{overflow-wrap:anywhere}.resist{margin-top:.75rem}table.inventory{min-width:100%}table.inventory .col-text{text-align:left;white-space:normal}table.inventory .col-num{text-align:right;width:3rem;font-variant-numeric:tabular-nums}.kept{color:var(--legendary)}.item-state{color:var(--text-muted);white-space:nowrap}@media (max-width: 640px){.equipment>div{grid-template-columns:6.5rem 1fr;gap:.6rem}}.score-title{color:var(--room-title);margin-bottom:.6rem;font-family:Cascadia Mono,Consolas,ui-monospace,monospace}.facts-wide{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.char-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:1.25rem;align-items:start}.char-nav{position:sticky;top:1rem;display:flex;flex-direction:column;gap:.2rem;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:.5rem}.char-nav-item{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;padding:.55rem .75rem;border-radius:7px;color:var(--text);text-decoration:none;font-size:.92rem;border-left:3px solid transparent}.char-nav-item:hover{background:var(--surface-alt)}.char-nav-item.active{background:var(--surface-alt);border-left-color:var(--accent);color:var(--accent);font-weight:600}.char-nav-item.is-empty{color:var(--text-muted)}.char-nav-count{font-size:.75rem;color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.char-panel{min-width:0}@media (max-width: 760px){.char-layout{grid-template-columns:minmax(0,1fr)}.char-nav{position:static;flex-direction:row;overflow-x:auto;padding:.35rem;scrollbar-width:thin}.char-nav-item{white-space:nowrap;border-left:none;border-bottom:3px solid transparent}.char-nav-item.active{border-bottom-color:var(--accent)}}.item-link{color:var(--text);text-decoration:none;border-bottom:1px dotted var(--accent)}.item-link:hover{color:var(--accent);border-bottom-style:solid}.item-versions{color:var(--text-muted);font-size:.8em}.item-unknown{color:var(--text)}.link-button{background:none;border:none;cursor:pointer;font:inherit;padding:0;text-align:left}.item-title{color:var(--room-title)}.item-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.25rem;align-items:start}.resist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.4rem;margin-bottom:1rem}.resist-cell{display:flex;justify-content:space-between;gap:.5rem;padding:.4rem .6rem;background:var(--surface-alt);border:1px solid var(--border);border-radius:6px;font-size:.85rem;text-transform:capitalize}.resist-cell strong{font-variant-numeric:tabular-nums}.flag-row{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.75rem}.item-specials{color:var(--room-title);margin-bottom:.75rem}.item-desc{font-family:Cascadia Mono,Consolas,ui-monospace,monospace;font-size:.88rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:1rem}.plain-list{list-style:none;display:flex;flex-direction:column;gap:.25rem}tr.click-row{cursor:pointer}.lore-list{display:flex;flex-direction:column;gap:.3rem;margin:.5rem 0 .75rem}.lore-list>div{display:grid;grid-template-columns:7.5rem 1fr;gap:.75rem}.lore-list dt{color:var(--text-muted);font-size:.85rem}.lore-legend{border-left:3px solid var(--room-title);padding:.4rem .9rem;color:var(--text-muted);font-style:italic;line-height:1.6}.login-control{margin-left:auto;display:inline-flex;flex-wrap:wrap;align-items:center;gap:.6rem;position:relative}.login-link{color:var(--accent);font-size:.9rem}.login-form{position:absolute;right:0;top:1.8rem;z-index:10;display:flex;flex-direction:column;gap:.5rem;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:.9rem;width:16rem;box-shadow:0 8px 24px #0006}.login-form .search{min-width:0;width:100%}.button{background:var(--accent);color:#0b0d14;border:none;border-radius:6px;padding:.45rem .9rem;font:inherit;font-weight:600;cursor:pointer}.button:disabled{opacity:.5;cursor:default}.button-quiet{background:var(--surface-alt);color:var(--text);border:1px solid var(--border)}.button-danger{background:#b91c1c;color:#fff}.form-error{font-size:.85rem}.staff-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.item-editor{display:flex;flex-direction:column;gap:.75rem}.field-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.6rem 1rem}.field-grid-small{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}.field{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--text-muted)}.field-wide{grid-column:1 / -1}.field input,.field select,.field textarea{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:.4rem .55rem;font:inherit;font-size:.9rem}.field textarea{resize:vertical}.flag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.35rem}.check{display:flex;align-items:center;gap:.4rem;font-size:.88rem}.form-buttons{display:flex;gap:.6rem}@media (max-width: 640px){.login-form{right:auto;left:0}}.lore-raw{margin-top:.5rem}.lore-raw summary{cursor:pointer}.lore-raw[open] summary{margin-bottom:.5rem}.bench{display:grid;grid-template-columns:minmax(260px,340px) 1fr;gap:1rem;align-items:start}.bench-pick .search{min-width:0;flex:1}.recipe-list{list-style:none;max-height:65vh;overflow-y:auto;display:flex;flex-direction:column;gap:.15rem}.recipe{width:100%;text-align:left;background:none;border:1px solid transparent;border-radius:6px;padding:.35rem .5rem;color:var(--text);cursor:pointer;display:flex;flex-direction:column;font:inherit}.recipe:hover{background:var(--surface-alt)}.recipe-picked{border-color:var(--accent);background:var(--surface-alt)}.recipe-name{font-weight:600}.recipe-meta{color:var(--text-muted);font-size:.8rem}.bench-verdict{margin:.25rem 0 .75rem}.bench-grid th.bench-maker{color:var(--unlocked)}.bench-grid td.bench-have{color:var(--unlocked);font-weight:700}.bench-grid td.bench-some{color:var(--cooldown, #f59e0b)}.bench-grid td.bench-short{color:#f87171}.bench-other{color:var(--text-muted);font-size:.75rem;font-weight:400}@media (max-width: 800px){.bench{grid-template-columns:1fr}.recipe-list{max-height:40vh}}.map-page{display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-rows:64vh auto;grid-template-areas:"areas view" "nav room";gap:.75rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.map-panel{background:#07080c;border:1px solid var(--border);border-radius:6px;padding:.6rem .75rem;min-width:0}.map-panel-title{color:var(--room-title);font-weight:700}.map-areas{grid-area:areas;display:flex;flex-direction:column;gap:.5rem;border-color:#1f7a3a;min-height:0}.map-areas .search{min-width:0;font-family:inherit}.map-areas ul{list-style:none;overflow-y:auto;flex:1;min-height:0}.map-areas li button{width:100%;display:flex;justify-content:space-between;gap:.5rem;background:none;border:0;color:var(--text);font:inherit;font-size:.88rem;text-align:left;padding:.1rem .4rem;cursor:pointer}.map-areas li button:hover{background:var(--surface-alt)}.map-area-count{color:var(--text-muted);font-size:.75rem}.map-areas li button.map-area-picked{color:#f14c4c}.map-areas li button.map-area-picked:before{content:"-> "}.map-view{grid-area:view;display:flex;flex-direction:column;gap:.4rem;min-height:0}.map-view-tools{display:flex;align-items:baseline;gap:.75rem}.map-zoom{margin-left:auto;display:inline-flex;align-items:center;gap:.4rem;color:var(--text-muted);font-size:.8rem}.map-zoom button,.map-compass button,.map-updown button,.map-floors button{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:4px;font:inherit;cursor:pointer;padding:.15rem .5rem}.map-zoom button:hover:not(:disabled),.map-compass button:hover:not(:disabled),.map-updown button:hover:not(:disabled),.map-floors button:hover{border-color:var(--accent)}button:disabled{opacity:.3;cursor:default}.map-scroll{flex:1;overflow:auto;min-height:0}.map-hint{padding:2rem}.map-svg{display:block}.map-lines line{stroke:#9ca3af;stroke-width:1.5}.map-lines line.map-stub{stroke-dasharray:3 3;opacity:.6}.map-lines line.map-out{stroke:var(--exit);stroke-dasharray:2 2}.map-room{cursor:pointer}.map-room rect{fill:#07080c;stroke:none}.map-room text{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:14px;fill:#d4d4d4}.map-room .map-bracket{fill:#9ca3af}.map-room:hover rect{fill:var(--surface-alt)}.map-here rect{fill:#10301b;stroke:#23d18b;stroke-width:1.5}.map-here text tspan:not(.map-bracket){fill:#23d18b!important;font-weight:700}.map-room .map-updown-mark{font-size:11px;fill:#f5c26b}.map-nav{grid-area:nav;border-color:#d9661f;display:flex;flex-direction:column;align-items:center;gap:.6rem;text-align:center}.map-compass{display:grid;grid-template-columns:repeat(3,3rem);gap:.3rem}.map-compass-here{align-self:center;color:var(--text-muted)}.map-updown,.map-floors{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:center;align-items:center}.map-floors button.map-floor-on{border-color:#23d18b;color:#23d18b}.map-info{grid-area:room;border-color:#d9661f;display:flex;flex-direction:column;gap:.5rem;cursor:default}.map-room-facts>div{display:grid;grid-template-columns:6rem 1fr;gap:.5rem}.map-room-facts dt{color:var(--text-muted)}.map-exit{background:none;border:0;color:var(--exit);font:inherit;cursor:pointer;padding:0}.map-exit:hover{text-decoration:underline}.map-room-desc{white-space:pre-wrap;line-height:1.45}@media (max-width: 800px){.map-page{grid-template-columns:1fr;grid-template-rows:30vh 55vh auto auto;grid-template-areas:"areas" "view" "nav" "room"}}.map-seen-mob{fill:#f14c4c}.map-seen-item{fill:#f5c26b}.map-seen{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.75rem}.map-seen ul{list-style:none}.map-seen-title{color:var(--text-muted);margin-bottom:.2rem}.map-mob{color:#f14c4c}.map-carries{padding-left:1.2rem;font-size:.9em}.map-carries li:before{content:"└ ";color:var(--text-muted)}.map-seen a{color:var(--exit)}.guild-score-lines{overflow-x:auto;font-size:.85rem;line-height:1.35}.bench-kinds{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-bottom:.6rem}.bench-kind{background:var(--surface-alt);color:var(--text);border:1px solid var(--border);border-radius:6px;padding:.5rem;font:inherit;font-weight:600;cursor:pointer}.bench-kind:hover{border-color:var(--accent)}.bench-kind-on{border-color:var(--accent);background:#1c2550;color:var(--player)}.bench-search{flex-wrap:nowrap;gap:.4rem}.bench-search .search[type=search]{flex:1;min-width:0}.bench-pick .search.bench-level{flex:0 0 4rem;width:4rem;min-width:0;padding-left:.45rem;padding-right:.2rem}.bench-tags{display:flex;flex-wrap:wrap;gap:.3rem;margin:-.25rem 0 .6rem}.bench-tag{display:inline-flex;align-items:center;gap:.25rem;border:1px solid var(--border);border-radius:999px;padding:.15rem .55rem;font-size:.8rem;cursor:pointer;-webkit-user-select:none;user-select:none}.bench-tag input{margin:0}.bench-tag-on{border-color:var(--accent);color:var(--player);background:#1c2550}.preview-anchor{display:inline}.preview-card{position:fixed;z-index:50;width:320px;max-width:calc(100vw - 16px);background:#10131e;border:1px solid var(--accent);border-radius:8px;padding:.6rem .75rem;box-shadow:0 8px 24px #00000080;pointer-events:none;font-size:.85rem}.preview-title{font-weight:700;color:var(--room-title)}.preview-mob{color:#f14c4c}.preview-sub{color:var(--text-muted);font-size:.78rem;margin-top:.1rem}.preview-facts{display:grid;grid-template-columns:max-content 1fr;gap:.1rem .6rem;margin-top:.45rem}.preview-facts dt{color:var(--text-muted)}.preview-facts dd{overflow-wrap:anywhere}.preview-desc{margin-top:.45rem;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.75rem;white-space:pre-wrap;color:var(--text);max-height:8rem;overflow:hidden}.preview-wrap{font-family:inherit}.power-detail{display:flex;flex-direction:column;gap:.05rem;font-size:.72rem;color:var(--text-muted);white-space:nowrap}.power-detail span:first-child{color:var(--text);font-weight:600}.eternal-hp{color:var(--unlocked);font-weight:600;margin-bottom:.75rem}
