:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-width:1300px;--bg:#12141a;--surface:#181b22;--surface-control:#1c1f27;--surface-popover:#1c1f27;--surface-raised:#2a2d36;--border:#2a2d36;--border-control:#3a3e4a;--border-strong:#5a5f6b;--text:#e8e8e8;--text-soft:#b8bcc6;--text-muted:#9aa0aa;--accent:#8ab4f8;--accent-hover:#aecbfa;--accent-subtle:#2a3550;--accent-contrast:#12141a;--positive:#4caf50;--negative:#f44336;font-family:system-ui,sans-serif}option{background:var(--surface-control);color:var(--text)}option:checked{background:var(--accent-subtle);color:var(--text)}body{background:var(--bg);color:var(--text);margin:0}.app{max-width:var(--page-width);margin:0 auto;padding:2rem 1.5rem}.navbar{background:var(--surface);border-bottom:1px solid var(--border)}.navbar-inner{max-width:var(--page-width);flex-wrap:wrap;align-items:stretch;margin:0 auto;padding:0 1.5rem;display:flex}.character-switcher{border-right:1px solid var(--border);flex-direction:column;justify-content:center;gap:.25rem;margin-right:1.5rem;padding:.75rem 1.5rem .75rem 0;display:flex}.character-switcher-label{color:var(--text-muted);letter-spacing:.05em;text-transform:uppercase;font-size:.7rem;font-weight:600}.character-switcher-control{align-items:baseline;gap:.6rem;display:flex}.character-switcher select{background:var(--surface-control);color:var(--text);border:1px solid var(--border-control);cursor:pointer;border-radius:.3rem;padding:.35rem .6rem;font-family:inherit;font-size:.95rem}.character-switcher select:not(:disabled):hover{border-color:var(--accent)}.character-switcher-world{color:var(--text-muted);font-size:.9rem}.navbar-links{flex-wrap:wrap;flex:1;column-gap:1.5rem;display:flex}.navbar-link{color:var(--text-muted);border-bottom:2px solid #0000;align-items:center;padding:.6rem 0;text-decoration:none;display:flex}.navbar-link:hover{color:var(--text)}.navbar-link.active{color:var(--text);border-bottom-color:var(--accent)}.navbar-github{align-items:center;margin-left:auto;padding-left:1.5rem;display:flex}.navbar-github-link{color:var(--text-muted);align-items:center;display:flex}.navbar-github-link:hover,.navbar-github-link:focus-visible{color:var(--text)}.navbar-github .tooltip{inset:calc(100% + .4rem) 0 auto auto;transform:none}.navbar-menu-button,.navbar-backdrop{display:none}@media (width<=640px){.navbar{z-index:10;position:sticky;top:0}.character-switcher{border-right:none;margin-right:0;padding-right:0}.navbar-menu-button{z-index:12;border:1px solid var(--border-control);background:var(--surface-control);color:var(--text);cursor:pointer;border-radius:.3rem;align-self:center;align-items:center;margin-left:auto;padding:.25rem .5rem;font-size:1.2rem;line-height:1;display:flex;position:relative}.navbar-backdrop{z-index:10;background:#00000080;display:block;position:fixed;inset:0}.navbar-links{z-index:11;background:var(--surface);border-left:1px solid var(--border);visibility:hidden;flex-flow:column;width:min(16rem,80vw);padding:4rem 1.5rem 1.5rem;transition:transform .2s ease-in-out,visibility .2s;position:fixed;top:0;bottom:0;right:0;transform:translate(100%);box-shadow:-4px 0 12px #00000080}.navbar-links-open{visibility:visible;transform:none}.navbar-link{border-bottom:none;border-left:2px solid #0000;padding:.75rem 0 .75rem .75rem}.navbar-link.active{border-left-color:var(--accent)}.navbar-github{align-self:flex-end;margin:auto 0 0;padding:1rem 0 0}.navbar-github .tooltip{inset:auto 0 calc(100% + .4rem) auto}}header h1{margin-bottom:.25rem}.subtitle{color:var(--text-muted);margin-top:0}.page-action{border:1px solid var(--border-control);background:var(--surface-control);color:var(--text);border-radius:.25rem;margin-bottom:1rem;padding:.5rem 1rem;font-size:.9rem;text-decoration:none;display:inline-block}.page-action:hover{border-color:var(--accent)}.page-section{margin-bottom:1.5rem}.page-section h2{margin:0 0 .5rem;font-size:1.1rem}.page-intro{max-width:50rem;color:var(--text);margin-bottom:1.25rem;font-size:.9rem;line-height:1.5}.page-intro p{margin:0 0 .5rem}.toolbar{align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.last-updated{color:var(--text-muted);font-size:.9rem}.toolbar button{background:var(--surface-control);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:.25rem;padding:.35rem .75rem;font-size:.9rem}.toolbar button:disabled{opacity:.5;cursor:default}.toolbar button:not(:disabled):hover{border-color:var(--accent)}.view-toggle{display:flex}.view-toggle button{position:relative}.view-toggle button:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.view-toggle button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.toolbar .view-toggle button[aria-pressed=true]{z-index:1;background:var(--accent-subtle);border-color:var(--accent)}.toolbar .view-toggle button:not(:disabled):hover{z-index:2}.route-leg{margin-bottom:2rem}.route-leg h2{margin-bottom:.5rem;font-size:1.2rem}.route-stop{margin-bottom:1.5rem}.route-stop h3{margin-bottom:.5rem;font-size:1rem}.route-stop h3 .muted{font-size:.85rem;font-weight:400}.character-select{color:var(--text-muted);align-items:center;gap:.5rem;font-size:.9rem;display:flex}.character-select select,.character-select .number-input{background:var(--surface-control);color:var(--text);border:1px solid var(--border);border-radius:.25rem;width:6rem;padding:.3rem .5rem;font-size:.9rem}.character-section{margin-bottom:2rem}.character-section h2{margin-bottom:.25rem;font-size:1.1rem}.character-note{color:var(--text-muted);margin-top:0;margin-bottom:.75rem;font-size:.85rem}.muted{color:var(--text-muted)}.character-switcher-empty{color:var(--accent);font-size:.95rem}.empty-state{border:1px solid var(--border);background:var(--surface);text-align:center;border-radius:.5rem;max-width:36rem;margin:3rem auto;padding:2rem}.empty-state h1{margin-top:0}.empty-state p{color:var(--text-muted);line-height:1.5}.empty-state-action{background:var(--accent);color:var(--accent-contrast);border-radius:.3rem;margin-top:.75rem;padding:.6rem 1.2rem;font-weight:600;text-decoration:none;display:inline-block}.empty-state-action:hover{background:var(--accent-hover)}.card{border:1px solid var(--border);background:var(--surface);border-radius:.4rem;margin-bottom:1.5rem;padding:1rem 1.25rem}.card h2{margin:0;font-size:1.1rem}.card h2 .muted{font-size:.9rem;font-weight:400}.card h3{margin:1rem 0 .5rem;font-size:.95rem}.character-card-header{align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.character-card-header h2{margin-right:auto}.entry-list{margin:0 0 .75rem;padding:0;list-style:none}.entry-row{border-bottom:1px solid var(--border);align-items:center;gap:.5rem;padding:.35rem 0;display:flex}.entry-row>span:first-child{margin-right:auto}.entry-row a,.character-card-header a{border:1px solid var(--border-control);background:var(--surface-control);color:var(--text);border-radius:.25rem;padding:.35rem .75rem;font-size:.85rem;text-decoration:none}.entry-row a:hover,.character-card-header a:hover{border-color:var(--accent)}.entry-form{flex-wrap:wrap;align-items:flex-end;gap:.75rem;display:flex}.entry-form label{color:var(--text-muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.entry-form-wide{flex:16rem}.entry-form-stacked{flex-direction:column;align-items:stretch;max-width:24rem}.entry-form input,.entry-form select{background:var(--surface-control);color:var(--text);border:1px solid var(--border-control);border-radius:.25rem;padding:.35rem .5rem;font-family:inherit;font-size:.9rem}.entry-form-actions{gap:.5rem;display:flex}.entry-form .hinted-field{color:var(--text-muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.hinted-field-label{align-items:center;gap:.35rem;display:inline-flex}.tooltip-anchor{display:inline-flex;position:relative}.tooltip-anchor button.hint-icon{border:1px solid var(--border-strong);width:1.1rem;height:1.1rem;color:var(--text-muted);cursor:help;background:0 0;border-radius:50%;padding:0;font-size:.7rem;font-weight:600;line-height:1}.tooltip-anchor button.hint-icon:hover,.tooltip-anchor button.hint-icon:focus-visible{border-color:var(--accent);color:var(--text)}.tooltip{visibility:hidden;opacity:0;z-index:3;background:var(--surface-raised);width:max-content;max-width:16rem;color:var(--text);text-align:left;pointer-events:none;border-radius:.25rem;padding:.5rem .6rem;font-size:.8rem;font-weight:400;line-height:1.4;transition:opacity .1s ease-in-out;position:absolute;bottom:calc(100% + .4rem);left:50%;transform:translate(-50%);box-shadow:0 4px 12px #00000080}.tooltip-anchor:hover>.tooltip,.tooltip-anchor:focus-within>.tooltip{visibility:visible;opacity:1}.item-table th .tooltip,.item-table td:last-child .tooltip{left:auto;right:0;transform:none}.item-table td:first-child .tooltip{left:0;right:auto;transform:none}.item-table th .tooltip-anchor{vertical-align:middle}.tooltip-anchor [tabindex]{cursor:help;outline:none}.tooltip-anchor [tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.quality-choice{border:none;gap:.75rem;margin:0;padding:0;display:flex}.quality-choice legend{color:var(--text-muted);margin-bottom:.25rem;padding:0;font-size:.85rem}.entry-form .quality-choice label{color:var(--text);flex-direction:row;align-items:center;font-size:.9rem}.item-search{flex-direction:column;gap:.5rem;margin-bottom:1rem;display:flex}.item-search label{color:var(--text-muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.item-search input{background:var(--surface-control);max-width:24rem;color:var(--text);border:1px solid var(--border-control);border-radius:.25rem;padding:.4rem .6rem;font-family:inherit;font-size:.95rem}.item-search p{margin:0}.item-search-results{flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.card button{background:var(--surface-control);color:var(--text);border:1px solid var(--border-control);cursor:pointer;border-radius:.25rem;padding:.35rem .75rem;font-family:inherit;font-size:.85rem}.card button:not(:disabled):hover{border-color:var(--accent)}.card button:disabled{opacity:.5;cursor:default}.form-error{color:var(--negative);flex-basis:100%;margin:0;font-size:.85rem}.item-table{border-collapse:collapse;width:100%}.item-table th,.item-table td{text-align:right;border-bottom:1px solid var(--border);padding:.5rem .75rem}.item-table th:first-child,.item-table td:first-child{text-align:left}.item-table a{color:var(--accent)}.item-table a:hover{color:var(--accent-hover)}.external-link{opacity:.7;font-size:.8rem}.external-link:hover{opacity:1}.row-gap{background:#ffc10714}.row-highlight{background:#4caf5026}.row-refreshing{animation:1.2s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.55}}.gap-badge{color:#1a1a1a;text-transform:uppercase;vertical-align:middle;-webkit-user-select:none;user-select:none;background:#ffc107;border-radius:.75rem;margin-left:.5rem;padding:.1rem .4rem;font-size:.7rem;font-weight:600}.quality-badge{vertical-align:middle;-webkit-user-select:none;user-select:none;border:1px solid;border-radius:.75rem;margin-left:.5rem;padding:.1rem .4rem;font-size:.7rem;font-weight:600}.undercut-badge{background:var(--negative);color:#fff;text-transform:uppercase;vertical-align:middle;cursor:help;-webkit-user-select:none;user-select:none;border-radius:.75rem;margin-left:.5rem;padding:.1rem .4rem;font-size:.7rem;font-weight:600;display:inline-block}.tooltip table{border-collapse:collapse;white-space:nowrap;margin-top:.35rem}.tooltip th,.tooltip td{text-align:right;padding:.1rem .5rem}.tooltip:has(>.undercut-listings){max-width:none}.undercut-listings th:first-child,.undercut-listings td:first-child{text-align:left}.undercut-listings .own-listing{color:#ffb74d;font-weight:700}.profit-tooltip-anchor{cursor:help;border-bottom:1px dotted;position:relative}.profit-tooltip{visibility:hidden;opacity:0;z-index:2;text-align:left;width:max-content;padding-right:.75rem;font-size:.85rem;transition:opacity .12s ease-in-out;display:block;position:absolute;top:-.75rem;right:100%}.profit-tooltip-anchor:hover .profit-tooltip,.profit-tooltip-anchor:focus-within .profit-tooltip{visibility:visible;opacity:1}.profit-tooltip-content{background:var(--surface-popover);border-radius:.25rem;padding:.75rem;display:block;box-shadow:0 4px 12px #00000080}.profit-tooltip .character-section{margin-bottom:1rem}.profit-tooltip .character-section:last-child{margin-bottom:0}.profit-tooltip .character-section h2{margin-top:0;font-size:.95rem}.copy-button{z-index:1;cursor:pointer;vertical-align:middle;-webkit-user-select:none;user-select:none;opacity:.7;background:0 0;border:none;margin-right:.4rem;padding:0;font-size:.8rem;position:relative}.copy-button:hover{opacity:1}.copy-tooltip{background:var(--surface-raised);color:var(--text);text-transform:none;white-space:nowrap;pointer-events:none;border-radius:.25rem;margin-bottom:.3rem;padding:.15rem .45rem;font-size:.7rem;font-weight:400;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.positive{color:var(--positive)}.negative{color:var(--negative)}.item-data-status{background:var(--surface);border-top:1px solid var(--border);color:var(--text-soft);font-size:.85rem;position:fixed;bottom:0;left:0;right:0}.item-data-status p{max-width:var(--page-width);margin:0 auto;padding:.5rem 1.5rem}.item-data-status-failed{color:var(--negative)}.item-data-status-bar{background:linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);background-repeat:no-repeat;background-size:50% 100%;height:3px;animation:1.4s linear infinite item-data-sweep}@keyframes item-data-sweep{0%{background-position:-50% 0}to{background-position:150% 0}}.item-table.fixed-columns{table-layout:fixed}.item-table.fixed-columns td{overflow-wrap:anywhere}.item-summary{text-align:left;gap:.5rem;display:flex}.item-summary-icon{flex-shrink:0;width:80px;height:80px}.tooltip:has(.item-summary){max-width:22rem}.item-summary-type,.item-summary-description,.item-summary-note{display:block}.item-summary-type{margin-bottom:.25rem;font-weight:600}.item-summary-description{white-space:pre-line}.item-summary-note{color:var(--text-muted);margin-top:.35rem}@media (width<=640px){.app{padding:1rem}.navbar-inner{padding:0 1rem}.toolbar{flex-wrap:wrap}.app{overflow-x:clip}:is(.tooltip,.tooltip:has(>.undercut-listings),.tooltip:has(.item-summary)){box-sizing:border-box;max-width:calc(100vw - 2rem)}.tooltip table{white-space:normal}}.expandable-list{border:1px solid var(--border);border-radius:.4rem;margin:0;padding:0;list-style:none}.expandable-list-row{border-bottom:1px solid var(--border);cursor:pointer;padding:.5rem .75rem}.expandable-list-row:last-child{border-bottom:none}.expandable-list-row-heading{align-items:baseline;gap:.5rem;font-weight:600;display:flex}.expand-row-button{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:0;font-size:.9rem}.expandable-list-row-heading .tooltip{left:0;right:auto;transform:none}.profit-row-badges{margin-top:.2rem}.profit-row-summary{flex-wrap:wrap;gap:.25rem 1.5rem;margin:.25rem 0 0;display:flex}.profit-row-summary div{align-items:baseline;gap:.4rem;display:flex}.profit-row-summary dt,.profit-row-details dt{color:var(--text-muted);font-size:.85rem}.profit-row-summary dd{margin:0}.profit-row-details{flex-direction:column;gap:.2rem;margin:.3rem 0 0;display:flex}.profit-row-details div{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.profit-row-details dd{text-align:right;margin:0}.profit-row-details a{color:var(--accent)}.tracked-item-figures{flex-wrap:wrap;gap:.25rem 1.5rem;margin:.25rem 0 0;display:flex}.tracked-item-figures div{align-items:baseline;gap:.4rem;display:flex}.tracked-item-figures dt{color:var(--text-muted);font-size:.85rem}.tracked-item-figures dd{margin:0;font-size:.85rem}.tracked-item-details{flex-direction:column;gap:.6rem;display:flex}.tracked-item-details .item-summary{font-size:.85rem;line-height:1.4}.tracked-item-actions{gap:.5rem;display:flex}.tracked-item-actions a,.tracked-item-actions button{border:1px solid var(--border-control);background:var(--surface-control);color:var(--text);cursor:pointer;border-radius:.25rem;padding:.35rem .75rem;font-family:inherit;font-size:.85rem;text-decoration:none}.tracked-item-actions a:hover,.tracked-item-actions button:hover{border-color:var(--accent)}.profit-row-badges .tooltip,.profit-row-summary .tooltip{left:0;right:auto;transform:none}.profit-row-details .tooltip{left:auto;right:0;transform:none}.theme-trial-switcher{z-index:20;border:1px solid var(--border-control);background:var(--surface);color:var(--text-muted);border-radius:.3rem;align-items:center;gap:.5rem;padding:.4rem .6rem;font-size:.8rem;display:flex;position:fixed;bottom:3rem;right:1rem}.theme-trial-switcher select{background:var(--surface-control);color:var(--text);border:1px solid var(--border-control);font-family:inherit}:root[data-theme=ff-dark]{--bg:#0d0d0d;--surface:#2b2b2b;--surface-control:#3b3b3b;--surface-popover:#262626;--surface-raised:#262626;--border:#3e3e3e;--border-control:#1a1a1a;--border-strong:#8a8a8a;--text:#eee;--text-soft:#cfcfcf;--text-muted:#a8a8a8;--accent:#e3c27a;--accent-hover:#f2d898;--accent-subtle:#4a3c20;--accent-contrast:#1c1405;--positive:#8fe08f;--negative:#ff7b6b;--ff-heading:#dcc28c;--ff-frame:#85703f;--ff-glow:0 0 0 1px #c9a24d, 0 0 8px #e6be5a8c;--ff-window:linear-gradient(180deg, #ffffff0a, transparent 120px), #2b2b2b;--ff-window-shadow:0 0 0 1px #0a0a0a, 0 0 0 2px var(--ff-frame), inset 0 1px 0 #ffffff12, 0 6px 18px #000000b3;--ff-panel-shadow:inset 0 1px 3px #0009, 0 1px 0 #ffffff0d;--ff-header-bar:linear-gradient(180deg, #4d4d4d 0%, #353535 100%);--ff-section-font:"Cinzel", serif}:root[data-theme=ff-dark] body{background:radial-gradient(ellipse at top, #1f1f1f 0%, transparent 70%), var(--bg);background-attachment:fixed}:root[data-theme=ff-dark] h1{color:#e4e4e4;border-bottom:1px solid #000;padding-bottom:.3rem;font-size:2.1rem;font-weight:400;box-shadow:0 1px #ffffff14}:root[data-theme=ff-dark] h2{font-family:var(--ff-section-font);color:var(--ff-heading);font-weight:400}:root[data-theme=ff-dark] h3{color:var(--text-muted);font-weight:400}:root[data-theme=ff-dark] .navbar{box-shadow:0 1px 0 var(--ff-frame), 0 4px 12px #0009;background:linear-gradient(#333 0%,#222 100%);border-bottom:1px solid #000}:root[data-theme=ff-dark] .navbar-link.active{color:var(--ff-heading);border-image:linear-gradient(90deg, transparent, var(--accent) 25%, var(--accent) 75%, transparent) 1}@media (width<=640px){:root[data-theme=ff-dark] .navbar-links{background:var(--ff-window);box-shadow:var(--ff-window-shadow);border-left:none}:root[data-theme=ff-dark] .navbar-link{border-bottom:2px solid #0000;border-left:none}}:root[data-theme=ff-dark] .card,:root[data-theme=ff-dark] .empty-state,:root[data-theme=ff-dark] .profit-tooltip-content,:root[data-theme=ff-dark] .tooltip{background:var(--ff-window);box-shadow:var(--ff-window-shadow);border:none;border-radius:.6rem}:root[data-theme=ff-dark] .item-table,:root[data-theme=ff-dark] .expandable-list{box-shadow:var(--ff-panel-shadow);background:#232323;border:1px solid #484848}:root[data-theme=ff-dark] .expandable-list{border-radius:.6rem}:root[data-theme=ff-dark] .item-table th{background:var(--ff-header-bar);color:var(--ff-heading);border-bottom:1px solid #111;font-weight:400}:root[data-theme=ff-dark] .item-table td,:root[data-theme=ff-dark] .expandable-list-row,:root[data-theme=ff-dark] .entry-row{border-bottom-color:#ffffff0a}:root[data-theme=ff-dark] .item-table a,:root[data-theme=ff-dark] .profit-row-details a{color:var(--accent);text-decoration-color:#e3c27a66}:root[data-theme=ff-dark] input,:root[data-theme=ff-dark] select{border-color:#1a1a1a;border-radius:.4rem;box-shadow:inset 0 1px 3px #0009}:root[data-theme=ff-dark] .card button,:root[data-theme=ff-dark] .toolbar button,:root[data-theme=ff-dark] .page-action,:root[data-theme=ff-dark] .entry-row a,:root[data-theme=ff-dark] .character-card-header a,:root[data-theme=ff-dark] .tracked-item-actions a,:root[data-theme=ff-dark] .tracked-item-actions button,:root[data-theme=ff-dark] .navbar-menu-button{color:#f0f0f0;background:linear-gradient(#5a5a5a 0%,#3a3a3a 50%,#2e2e2e 100%);border:1px solid #151515;border-radius:999px;padding-left:1rem;padding-right:1rem;box-shadow:inset 0 1px #ffffff26}:root[data-theme=ff-dark] .card button:not(:disabled):hover,:root[data-theme=ff-dark] .toolbar button:not(:disabled):hover,:root[data-theme=ff-dark] .page-action:hover,:root[data-theme=ff-dark] .entry-row a:hover,:root[data-theme=ff-dark] .character-card-header a:hover,:root[data-theme=ff-dark] .tracked-item-actions a:hover,:root[data-theme=ff-dark] .tracked-item-actions button:hover,:root[data-theme=ff-dark] .navbar-menu-button:hover,:root[data-theme=ff-dark] input:focus,:root[data-theme=ff-dark] select:focus{box-shadow:var(--ff-glow);border-color:#151515;outline:none}:root[data-theme=ff-dark] .toolbar .view-toggle button[aria-pressed=true]{box-shadow:var(--ff-glow);color:var(--ff-heading);border-color:#151515}:root[data-theme=ff-dark] .view-toggle button:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}:root[data-theme=ff-dark] .view-toggle button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}:root[data-theme=ff-dark] .empty-state-action{color:#f0f0f0;box-shadow:var(--ff-glow);background:linear-gradient(#5a5a5a 0%,#3a3a3a 50%,#2e2e2e 100%);border-radius:999px}:root[data-theme=ff-dark] .tooltip-anchor button.hint-icon{border:1px solid var(--border-strong);box-shadow:none;background:0 0;border-radius:50%;padding:0}
