.augur-theme-fantasy.trade-good-detail .window-content {
    padding: 0;
    overflow: hidden;
    background: rgba(5, 9, 11, .98);
}

.trade-good-detail-shell { height: 100%; min-height: 0; display: flex; flex-direction: column; color: var(--nexus-text-primary); }
.trade-good-detail-header { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--nexus-border-strong); background: linear-gradient(135deg, var(--nexus-accent-surface), rgba(5, 9, 11, .92)); }
.trade-good-detail-good-image { width: 78px; height: 78px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--nexus-border-strong); background: rgba(0, 0, 0, .3); }
.trade-good-detail-good-image img { width: 100%; height: 100%; object-fit: contain; border: 0; }
.trade-good-detail-good-image i { color: var(--nexus-accent-primary); font-size: 30px; }
.trade-good-detail-title { min-width: 0; }
.trade-good-detail-title>span, .trade-good-detail-list>header span { color: var(--nexus-accent-bright); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trade-good-detail-title h2 { margin: 2px 0; font-family: var(--nexus-font-heading, serif); font-size: 28px; }
.trade-good-detail-title p { margin: 0; color: var(--nexus-text-muted); font-size: 12px; }
.trade-good-detail-value { display: grid; justify-items: end; }
.trade-good-detail-value>strong { color: var(--nexus-accent-bright); font-family: var(--nexus-font-heading, serif); font-size: 25px; }
.trade-good-detail-value>span { color: var(--nexus-text-muted); font-size: 10px; text-transform: uppercase; }
.trade-good-detail-value>em { margin-top: 6px; padding: 3px 7px; border: 1px solid var(--nexus-border-strong); color: var(--nexus-accent-bright); font-size: 10px; font-style: normal; text-transform: uppercase; }
.trade-good-detail-description, .trade-good-detail-warning { margin: 0; padding: 9px 20px; border-bottom: 1px solid var(--nexus-border-subtle); color: var(--nexus-text-secondary); font-size: 12px; }
.trade-good-detail-warning { color: #e2a066; }
.trade-good-detail-route { margin: 12px 12px 0; border: 1px solid var(--nexus-border-subtle); background: rgba(8, 13, 15, .78); }
.trade-good-detail-route>header { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 9px; padding: 9px 11px 7px; border-bottom: 1px solid var(--nexus-border-subtle); }
.trade-good-detail-route>header>span { color: var(--nexus-accent-bright); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trade-good-detail-route>header h3 { margin: 0; font-family: var(--nexus-font-heading, serif); font-size: 17px; }
.trade-good-detail-route>header p { grid-column: 1 / -1; margin: 3px 0 0; color: var(--nexus-text-muted); font-size: 10px; }
.trade-good-detail-route-chain { min-height: 70px; display: flex; align-items: stretch; padding: 8px; overflow-x: auto; }
button.trade-good-detail-route-node { width: auto; height: auto; min-width: 120px; min-height: 56px; align-self: stretch; flex: 1 1 145px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 7px; margin: 0; padding: 6px 7px; border: 1px solid transparent; border-radius: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
button.trade-good-detail-route-node:hover { border-color: var(--nexus-border-strong); background: var(--nexus-accent-surface); }
.trade-good-detail-route-node>.nexus-entity-image { width: 40px; height: 42px; }
.trade-good-detail-route-node>span:last-child { min-width: 0; display: grid; gap: 2px; }
.trade-good-detail-route-node>* { pointer-events: none; }
.trade-good-detail-route-node strong, .trade-good-detail-route-node small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trade-good-detail-route-node strong { font-family: var(--nexus-font-heading, serif); font-size: 14px; }
.trade-good-detail-route-node small { color: var(--nexus-accent-bright); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.trade-good-detail-route-arrow { min-width: 48px; display: grid; place-content: center; justify-items: center; gap: 3px; color: var(--nexus-accent-primary); }
.trade-good-detail-route-arrow i { font-size: 17px; }
.trade-good-detail-route-arrow small { color: var(--nexus-text-muted); font-size: 8px; text-transform: uppercase; white-space: nowrap; }
.trade-good-detail-route-arrow.is-incomplete { min-width: 90px; }
.trade-good-detail-columns { min-height: 0; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; overflow: hidden; }
.trade-good-detail-list { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); border: 1px solid var(--nexus-border-subtle); background: rgba(8, 13, 15, .78); }
.trade-good-detail-list.is-markets { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.trade-good-detail-list>header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--nexus-border-subtle); }
.trade-good-detail-list>header h3 { margin: 2px 0 0; font-family: var(--nexus-font-heading, serif); font-size: 18px; }
.trade-good-detail-list>header>strong { color: var(--nexus-accent-bright); font-size: 20px; }
.trade-good-detail-help { margin: 0; padding: 8px 12px; border-bottom: 1px solid var(--nexus-border-subtle); color: var(--nexus-text-muted); font-size: 11px; }
.trade-good-detail-rows { min-height: 0; display: grid; align-content: start; gap: 6px; padding: 8px; overflow: auto; }
button.trade-good-detail-row { width: 100%; min-height: 70px; display: grid; grid-template-columns: 54px minmax(0, 1fr) 68px; align-items: center; gap: 9px; margin: 0; padding: 8px; border: 1px solid var(--nexus-border-subtle); border-radius: 0; background: rgba(4, 8, 10, .7); color: inherit; text-align: left; }
button.trade-good-detail-row:hover { border-color: var(--nexus-border-strong); background: var(--nexus-accent-surface); }
.trade-good-detail-row>.nexus-entity-image { width: 52px; height: 54px; }
.trade-good-detail-location { min-width: 0; display: grid; gap: 2px; }
.trade-good-detail-location strong, .trade-good-detail-location small, .trade-good-detail-location em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trade-good-detail-location strong { font-family: var(--nexus-font-heading, serif); font-size: 15px; }
.trade-good-detail-location small { color: var(--nexus-text-secondary); font-size: 11px; }
.trade-good-detail-location em { color: var(--nexus-text-muted); font-size: 10px; font-style: normal; }
.trade-good-detail-rate { display: grid; justify-items: center; align-content: center; align-self: stretch; border-left: 1px solid var(--nexus-border-subtle); }
.trade-good-detail-rate strong { color: var(--nexus-text-secondary); font-size: 16px; }
.trade-good-detail-rate.is-full strong { color: var(--nexus-accent-bright); }
.trade-good-detail-rate small { color: var(--nexus-text-muted); font-size: 9px; text-align: center; text-transform: uppercase; }
.trade-good-detail-list>footer { padding: 8px 11px; border-top: 1px solid var(--nexus-border-subtle); color: var(--nexus-text-muted); font-size: 10px; }
.trade-good-detail-list>footer i { margin-right: 4px; color: var(--nexus-accent-primary); }
.trade-good-detail-empty { min-height: 140px; display: grid; place-content: center; justify-items: center; gap: 5px; padding: 20px; color: var(--nexus-text-muted); text-align: center; }
.trade-good-detail-empty>i { color: var(--nexus-accent-primary); font-size: 27px; }
.trade-good-detail-empty strong { color: var(--nexus-text-secondary); }
.trade-good-detail-empty span { max-width: 280px; font-size: 11px; }

@media (max-width: 700px) {
    .trade-good-detail-header { grid-template-columns: 66px minmax(0, 1fr); }
    .trade-good-detail-good-image { width: 62px; height: 62px; }
    .trade-good-detail-value { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; gap: 6px; }
    .trade-good-detail-columns { grid-template-columns: 1fr; overflow: auto; }
    .trade-good-detail-list { min-height: 280px; }
}
