:root {
  color: #202b2a;
  background: #f4f6f5;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  --brand: #1f5149;
  --brand-2: #2f7567;
  --line: #dbe2df;
  --muted: #687573;
  --soft: #edf2f0;
  --up: #d94b43;
  --down: #2f70c7;
  --warning-bg: #fff3cc;
  --warning-text: #8b6500;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: #f4f6f5; }
button, input { font: inherit; letter-spacing: 0; }
button { color: inherit; }
button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(47, 117, 103, .24); outline-offset: 2px; }

.boot-state, .error-state { min-height: 100vh; display: grid; place-content: center; gap: 8px; text-align: center; color: var(--muted); }
.error-state strong { color: #222; font-size: 20px; }

.site-header {
  position: sticky; top: 0; z-index: 50; display: grid; gap: 8px;
  padding: 10px 32px 12px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.controlled-banner { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px 16px; background: #fff3cc; color: #6d5200; border-bottom: 1px solid #e4ce8f; font-size: 12px; }
.header-primary { width: min(1440px, 100%); min-height: 42px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { border: 0; background: none; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; justify-self: start; padding: 0; }
.brand-mark { width: 66px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; image-rendering: pixelated; }
.brand strong { font-size: 19px; white-space: nowrap; }
.server-switch { display: inline-grid; grid-template-columns: repeat(3, 1fr); flex: 0 0 auto; padding: 3px; border: 1px solid #d3dcda; border-radius: 7px; background: #edf1f0; font-size: 11px; font-weight: 800; }
.server-switch button, .server-switch span { min-width: 52px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 5px; padding: 0 9px; white-space: nowrap; }
.server-switch button { background: transparent; cursor: pointer; }
.server-switch button:not(.is-active):not(:disabled):hover { background: #e0e7e5; }
.server-switch button:disabled { background: transparent; color: #a0aaa7; cursor: not-allowed; }
.server-switch .is-active { background: var(--brand); color: white; box-shadow: 0 1px 3px rgba(31,81,73,.2); }
.server-switch .is-loading { color: var(--brand); }
.server-switch .is-experimental:not(.is-active) { color: #7a6331; }
.market-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.market-dot.is-origin { color: #2f70a8; }
.market-dot.is-burning { color: #c56b2b; }
.market-status { min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 6px 16px; border-bottom: 1px solid #cadbd6; background: #eaf3f0; color: var(--brand); font-size: 12px; font-weight: 750; }
.market-status.is-error { border-color: #ead6d2; background: #fff0ed; color: #9d3f37; }
.primary-tabs { display: inline-grid; grid-template-columns: repeat(2, minmax(74px, 1fr)); align-items: center; gap: 3px; padding: 3px; border: 1px solid #d3dcda; border-radius: 7px; background: #edf1f0; }
.primary-tabs button { position: relative; height: 30px; border: 0; border-radius: 5px; background: transparent; padding: 0 13px; color: #667471; font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.primary-tabs button.is-active { background: var(--brand); color: white; box-shadow: 0 1px 3px rgba(31,81,73,.2); }
.primary-tabs button.is-active::after { display: none; }
.primary-tabs button:disabled { color: #99a4a1; cursor: default; }
.primary-tabs .pro-chart-tab { display: grid; place-content: center; padding: 8px 10px 1px; line-height: 1; }
.primary-tabs .coming-soon-label { position: absolute; top: 3px; left: 50%; transform: translateX(-50%); color: #7f8d89; font-size: 6px; font-weight: 850; line-height: 1; letter-spacing: 0; }
.mobile-primary-menu { display: none; position: relative; margin-left: auto; }
.mobile-primary-menu summary { width: 36px; height: 36px; display: grid; place-content: center; gap: 4px; border: 1px solid #cad5d2; border-radius: 6px; background: white; cursor: pointer; list-style: none; }
.mobile-primary-menu summary::-webkit-details-marker { display: none; }
.mobile-primary-menu summary span { width: 17px; height: 2px; display: block; border-radius: 2px; background: var(--brand); }
.mobile-primary-menu[open] summary { border-color: var(--brand-2); background: var(--soft); }
.mobile-primary-menu nav { position: absolute; z-index: 70; top: 42px; right: 0; width: 132px; display: grid; gap: 3px; padding: 5px; border: 1px solid #cdd8d5; border-radius: 7px; background: white; box-shadow: 0 12px 30px rgba(31,50,46,.16); }
.mobile-primary-menu nav button { min-height: 36px; border: 0; border-radius: 4px; background: transparent; padding: 0 10px; text-align: left; color: #667471; font-size: 12px; font-weight: 800; }
.mobile-primary-menu nav button.is-active { background: var(--soft); color: var(--brand); }
.mobile-primary-menu nav button:disabled { color: #a0aaa7; }
.header-search-row { width: min(760px, 100%); margin: 0 auto; }
.global-search { position: relative; width: 100%; }
.global-search input { width: 100%; height: 48px; padding: 0 52px 0 46px; border: 1px solid #cad4d1; border-radius: 8px; background: white; font-size: 16px; font-weight: 650; color: #25312f; }
.global-search input::-webkit-search-cancel-button { appearance: none; }
.global-search input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47,117,103,.1); }
.search-icon { position: absolute; z-index: 2; left: 17px; top: 15px; width: 15px; height: 15px; border: 2px solid #54706a; border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; width: 8px; height: 2px; background: #54706a; right: -6px; bottom: -3px; transform: rotate(45deg); border-radius: 2px; }
.clear-search { position: absolute; z-index: 3; right: 12px; top: 9px; width: 32px; height: 32px; border: 0; background: transparent; color: #7a8684; font-size: 23px; cursor: pointer; }
.search-suggestions { position: absolute; z-index: 60; top: 58px; left: 0; right: 0; max-height: 480px; overflow: auto; background: white; border: 1px solid #cdd8d5; border-radius: 7px; box-shadow: 0 18px 44px rgba(31,50,46,.16); padding: 7px; }
.search-result { width: 100%; min-height: 62px; border: 0; background: white; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 5px; text-align: left; cursor: pointer; }
.search-result:hover { background: var(--soft); }
.search-result.is-active { background: var(--soft); box-shadow: inset 3px 0 0 var(--brand-2); }
.search-result span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.search-result strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-favorite { margin-left: 6px; color: #9a7116; font-size: 11px; font-style: normal; }
.search-result small { color: var(--muted); }
.search-result b { display: flex; align-items: flex-end; flex-direction: column; gap: 3px; font-size: 13px; color: #41504d; }
.search-result b span { display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 5px; white-space: nowrap; }
.recent-search-heading { min-height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 2px 10px 4px; color: #60706c; font-size: 11px; }
.recent-search-heading button { border: 0; background: transparent; color: #7a8684; font-size: 10px; cursor: pointer; }
.recent-search-result { position: relative; }
.recent-search-result .search-result { padding-right: 42px; }
.remove-recent-search { position: absolute; z-index: 2; top: 50%; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 4px; background: transparent; color: #7a8684; font-size: 18px; transform: translateY(-50%); cursor: pointer; }
.remove-recent-search:hover { background: #e9f0ed; color: #40524e; }
.search-empty { padding: 28px; text-align: center; color: var(--muted); }
.search-item-icon { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.search-shortcuts { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 14px; margin: 5px -1px -1px; padding: 8px 10px; border-top: 1px solid #e2e8e6; background: rgba(255,255,255,.96); color: #74817e; font-size: 11px; font-weight: 700; }
[hidden] { display: none !important; }

.page-shell { width: min(1440px, calc(100% - 64px)); margin: 0 auto; }
.home-page { padding: 34px 0 90px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.market-board, .ranking-panel, .content-band { background: white; border: 1px solid var(--line); border-radius: 7px; }
.market-board { position: relative; min-width: 0; padding: 26px 24px 0; }
.board-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.board-mobile-actions { display: none; }
.board-title p, .chart-head p, .rail-section > p, .content-band header p { margin: 0 0 6px; color: var(--brand-2); font-weight: 800; font-size: 13px; }
.board-title h1 { margin: 0; font-size: 28px; }
.board-title-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 12px; }
.price-reference-note { color: #87928f; font-size: 11px; font-weight: 650; line-height: 1.45; }
.price-reference-note.is-detail { grid-column: 1 / -1; margin-top: 8px; }
.category-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 0 16px; }
.category-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-category-chips { display: none; }
.category-chip, .filter-toggle { height: 34px; border: 1px solid #d3dcda; border-radius: 17px; background: white; padding: 0 12px; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.category-chip:hover, .filter-toggle:hover { border-color: var(--brand-2); }
.category-chip.is-active, .filter-toggle.is-active { background: var(--brand); color: white; border-color: var(--brand); }
.favorite-chip { color: #987119; border-color: #d8c48c; padding-inline: 12px; font-size: 17px; }
.favorite-chip.is-active { background: #8a691d; border-color: #8a691d; }
.filter-toggle { border-radius: 6px; display: inline-flex; align-items: center; gap: 7px; color: var(--brand); flex: 0 0 auto; font-size: 12px; }
.filter-toggle b { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 10px; background: var(--brand); color: white; font-size: 12px; }
.filter-toggle.is-active b { background: white; color: var(--brand); }
.filter-icon { display: flex; flex-direction: column; gap: 3px; width: 17px; }
.filter-icon i { height: 1px; background: currentColor; display: block; }
.filter-icon i:nth-child(2) { width: 12px; margin-left: 3px; }
.filter-icon i:nth-child(3) { width: 7px; margin-left: 6px; }

.filter-panel { position: absolute; top: 148px; right: 24px; z-index: 20; width: min(560px, calc(100% - 48px)); margin: 0; overflow: hidden; border: 1px solid #cbd8d4; border-radius: 8px; background: #fbfcfc; box-shadow: 0 12px 30px rgba(29,42,48,.13); }
.active-filter-row { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; margin: -8px 0 12px; }
.active-filter-chip { min-height: 28px; display: inline-flex; align-items: center; gap: 4px; padding: 0 4px 0 10px; border-radius: 5px; background: #e8f1ee; color: var(--brand); font-size: 11px; font-weight: 800; }
.active-filter-chip button { width: 22px; height: 22px; border: 0; background: transparent; color: inherit; font-size: 17px; line-height: 1; cursor: pointer; }
.filter-head { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.filter-major { display: flex; gap: 3px; flex-wrap: wrap; }
.filter-major button, .filter-row button { border: 0; border-radius: 5px; background: transparent; padding: 7px 9px; color: #5d6b68; font-size: 12px; font-weight: 750; cursor: pointer; }
.filter-major button.is-active, .filter-row button.is-active { background: var(--brand); color: white; }
.filter-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.filter-actions strong { color: var(--brand); font-size: 15px; }
.filter-actions strong small { font-size: 10px; margin-left: 2px; }
.filter-actions button { border: 0; background: transparent; color: #667471; font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-actions .close-filter { width: 34px; height: 34px; border: 1px solid #cdd7d4; border-radius: 5px; background: white; font-size: 22px; line-height: 1; }
.filter-body { padding: 8px 16px 14px; }
.filter-row { display: grid; grid-template-columns: 90px 1fr; align-items: start; padding: 10px 0; border-bottom: 1px solid #edf0ef; }
.filter-row:last-child { border-bottom: 0; }
.filter-row > strong { padding: 7px 0; color: #63716e; font-size: 12px; }
.filter-row > div { display: flex; gap: 3px; flex-wrap: wrap; min-width: 0; }
.price-availability-filter { align-items: center; }
.filter-row .price-availability-toggle { display: inline-flex; align-items: center; gap: 8px; padding-inline: 0; color: #52625f; }
.filter-row .price-availability-toggle:hover { color: var(--brand); }
.filter-row .price-availability-toggle.is-active { background: transparent; color: var(--brand); }
.price-availability-toggle > span { width: 30px; height: 17px; display: inline-flex; align-items: center; padding: 2px; border-radius: 9px; background: #cbd5d2; transition: background .16s ease; }
.price-availability-toggle > span i { width: 13px; height: 13px; border-radius: 50%; background: white; box-shadow: 0 1px 2px rgba(29,42,48,.18); transition: transform .16s ease; }
.price-availability-toggle.is-active > span { background: var(--brand); }
.price-availability-toggle.is-active > span i { transform: translateX(13px); }
.no-filter-message { margin: 12px 0; text-align: center; color: var(--muted); }

.market-table { margin: 0 -24px; border-top: 1px solid var(--line); }
.market-load-more { margin: 0 -24px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: #fbfcfc; text-align: center; }
.market-load-more button { min-width: 150px; min-height: 38px; border: 1px solid #cbd8d4; border-radius: 6px; background: white; color: var(--brand); font-size: 12px; font-weight: 850; cursor: pointer; }
.market-load-more button:hover { border-color: var(--brand-2); background: #f4f8f7; }
.market-load-more small { margin-left: 6px; color: #73817e; font-size: 10px; font-weight: 700; }
.market-row { display: grid; grid-template-columns: minmax(320px,1fr) 170px 170px; min-height: 78px; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); }
.market-head { min-height: 50px; background: #edf2f0; color: #52625f; }
.sort-head { justify-self: stretch; height: 50px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; border: 0; background: none; font-size: 13px; font-weight: 850; cursor: pointer; }
.sort-arrows { display: inline-flex; flex-direction: column; gap: 2px; }
.sort-arrows i { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; opacity: .28; }
.sort-arrows .up { border-bottom: 6px solid #55706b; }
.sort-arrows .down { border-top: 6px solid #55706b; }
.sort-arrows i.is-on { opacity: 1; }
.market-item { position: relative; width: 100%; border-top: 0; border-left: 0; border-right: 0; background: white; text-align: left; }
.market-item:hover { background: #fafcfb; }
.market-item.is-no-price { background: #fcfdfd; }
.market-row-link { position: absolute; z-index: 1; inset: 0; border: 0; background: transparent; cursor: pointer; }
.market-row-link:focus-visible { outline: 2px solid var(--brand-2); outline-offset: -3px; }
.market-item > :not(.market-row-link) { position: relative; z-index: 2; pointer-events: none; }
.item-cell { display: flex; align-items: center; gap: 14px; min-width: 0; }
.item-cell > span { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 5px; }
.item-cell strong { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 15px; }
.item-name-group { min-width: 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.item-name { min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }
.item-name-tail { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.item-cell small { color: #5e6c69; font-size: 12px; font-weight: 750; }
.item-icon { width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; flex: 0 0 auto; }
.favorite-toggle { width: 32px; height: 32px; flex: 0 0 auto; display: inline-grid; place-items: center; border: 1px solid #d6ddda; border-radius: 50%; background: white; color: #89928f; padding: 0; font-size: 18px; line-height: 1; cursor: pointer; pointer-events: auto !important; }
.favorite-toggle:hover { border-color: #c6a85d; color: #9a7116; background: #fffbef; }
.favorite-toggle.is-active { border-color: #d8c48c; background: #fff8e4; color: #9a7116; }
.row-favorite, .detail-favorite { border: 0; border-radius: 0; background: transparent; }
.row-favorite:hover, .detail-favorite:hover, .row-favorite.is-active, .detail-favorite.is-active { border: 0; background: transparent; }
.row-favorite { width: 28px; height: 28px; margin-left: 0; }
.evidence-badge { font-style: normal; font-size: 11px; line-height: 20px; padding: 0 7px; border-radius: 4px; background: var(--warning-bg); color: var(--warning-text); white-space: nowrap; }
.evidence-badge.is-review { background: #e9eceb; color: #4f5c59; }
.price-cell { font-size: 17px; }
.home-price { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; overflow: hidden; white-space: nowrap; }
.home-price > span, .home-price-basis { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.home-price-basis { color: #778480; font-size: 10px; font-weight: 750; }
.no-price-cell { color: #7b8784; font-size: 12px !important; font-weight: 750; }
.change-cell { display: flex; align-items: center; }
.change-value { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.market-table .change-value { flex-direction: row; align-items: baseline; gap: 8px; white-space: nowrap; }
.change-value b { font-size: 16px; }
.change-value small, .change-unavailable { color: #6c7977; font-size: 12px; }
.is-up { color: var(--up) !important; }
.is-down { color: var(--down) !important; }
.is-flat { color: #687573 !important; }
.mobile-price-head, .mobile-price-cell { display: none; }
.comparison-price-stack, .comparison-change-stack { min-width: 0; display: grid; align-content: center; gap: 7px; font-variant-numeric: tabular-nums; }
.comparison-value-row { min-width: 0; min-height: 24px; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 8px; }
.comparison-value-row > strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.comparison-change-row { min-height: 24px; display: flex; align-items: center; }
.comparison-change-row .change-value b { font-size: 14px; }
.comparison-change-row .change-value small { font-size: 10px; }
.market-text-badge { width: 44px; height: 21px; display: inline-grid; place-items: center; border-radius: 4px; color: white; font-size: 10px; font-style: normal; font-weight: 850; line-height: 1; white-space: nowrap; }
.market-text-badge.is-origin { background: #2f7567; }
.market-text-badge.is-burning { background: #c56b2b; }
.mobile-comparison-cell { display: none; }
.table-empty, .favorite-empty { min-height: 280px; display: grid; place-content: center; text-align: center; color: var(--muted); }
.favorite-empty { gap: 7px; }
.favorite-empty span { font-size: 34px; color: #a37b24; }
.favorite-empty strong { color: #35423f; }
.favorite-empty small { font-size: 12px; }

.ranking-stack { display: flex; flex-direction: column; gap: 18px; }
.ranking-panel { padding: 20px; }
.ranking-panel h2 { margin: 0 0 13px; font-size: 19px; }
.ranking-panel h2 small { color: var(--muted); font-size: 11px; }
.ranking-empty { margin: 0; padding: 22px 0; color: var(--muted); font-size: 12px; text-align: center; }
.ranking-panel button { width: 100%; min-height: 62px; display: grid; grid-template-columns: 20px 40px minmax(0,1fr) auto; align-items: center; gap: 8px; border: 0; border-bottom: 1px solid var(--line); background: white; text-align: left; cursor: pointer; }
.ranking-panel button:last-child { border-bottom: 0; }
.rank { color: #7a8583; font-size: 12px; }
.rank-icon { width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; }
.rank-name { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rank-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.rank-name small { color: var(--muted); font-size: 11px; }
.rank-name small:has(.market-badge) { display: flex; align-items: center; gap: 5px; }
.market-badge { display: inline-flex; align-items: center; min-height: 17px; padding: 0 5px; border: 1px solid currentColor; border-radius: 3px; font-size: 9px; font-style: normal; font-weight: 850; line-height: 1; }
.market-badge.is-origin { color: #2f70a8; }
.market-badge.is-burning { color: #a85b24; }
.rank-change { display: grid; gap: 3px; justify-items: end; text-align: right; font-variant-numeric: tabular-nums; }
.rank-change b { font-size: 13px; }
.rank-change small { color: var(--muted); font-size: 11px; }

.detail-page { padding: 20px 0 100px; }
.detail-toolbar { min-height: 36px; display: flex; align-items: start; margin-bottom: 8px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin: 0; color: #6d7977; font-size: 13px; }
.breadcrumb button { border: 0; background: none; padding: 0; color: var(--brand-2); font-weight: 800; cursor: pointer; }
.detail-workspace { display: grid; column-gap: 24px; row-gap: 16px; align-items: start; }
.detail-workspace.layout-chart { grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr); }
.detail-workspace.layout-balanced { grid-template-columns: minmax(0, 2.35fr) minmax(350px, 1fr); }
.detail-workspace.layout-info { grid-template-columns: minmax(0, 2fr) minmax(390px, 1fr); }
.detail-workspace { grid-template-areas: "identity drops" "chart rail"; }
.detail-summary-main { grid-area: identity; min-width: 0; min-height: 96px; display: grid; grid-template-columns: minmax(300px, 1fr) minmax(180px, max-content) minmax(210px, max-content); grid-template-areas: "summary-identity summary-facts summary-quote"; align-items: center; gap: 16px; padding: 0 4px; }
.detail-identity { grid-area: summary-identity; display: flex; align-items: center; gap: 18px; min-width: 0; }
.detail-icon { width: 76px; height: 76px; object-fit: contain; image-rendering: pixelated; }
.detail-title-block { min-width: 0; }
.detail-kicker { display: flex; align-items: center; gap: 7px; }
.detail-title-row { min-width: 0; display: flex; align-items: center; gap: 7px; }
.detail-favorite { width: 28px; height: 28px; font-size: 16px; }
.detail-identity small { color: var(--brand-2); font-weight: 800; }
.detail-identity h1 { margin: 5px 0 0; font-size: 30px; }
.detail-summary-main.is-non-equipment .detail-identity h1 { white-space: nowrap; }
.detail-summary-main.has-long-title .detail-identity h1 { font-size: 24px; }
.detail-quote { grid-area: summary-quote; flex: 0 0 auto; text-align: right; }
.detail-quote > span { color: #667471; font-size: 13px; font-weight: 750; }
.detail-quote > div { display: flex; align-items: baseline; justify-content: flex-end; gap: 13px; margin: 5px 0; }
.detail-quote > div > strong { font-size: 29px; }
.detail-quote .change-value b { font-size: 15px; }
.detail-quote > small { color: var(--muted); font-size: 11px; }
.equipment-price-summary { grid-area: summary-quote; min-width: 230px; display: grid; justify-items: end; gap: 5px; }
.equipment-price-summary .detail-quote { grid-area: auto; }
.equipment-slot-tabs { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; padding: 2px; border: 1px solid #d5dfdc; border-radius: 6px; background: #f5f8f7; }
.equipment-slot-tabs button { min-height: 25px; border: 0; border-radius: 4px; background: transparent; padding: 0 9px; color: #65736f; font-size: 10px; font-weight: 850; white-space: nowrap; cursor: pointer; }
.equipment-slot-tabs button.is-active { background: white; color: var(--brand); box-shadow: 0 1px 3px rgba(30, 61, 53, .12); }
.equipment-slot-tabs button:disabled { color: #aab4b1; cursor: not-allowed; opacity: .62; }
.equipment-slot-tabs > span, .equipment-slot-note span { color: #7b6250; font-size: 9px; font-weight: 800; }
.equipment-slot-note { display: flex; justify-content: flex-end; }
.breadcrumb em { padding: 2px 6px; border-radius: 3px; background: #edf2f0; color: #536762; font-size: 10px; font-style: normal; font-weight: 800; }
.comparison-summary { grid-template-columns: minmax(0, 1fr) minmax(300px, auto); grid-template-areas: "summary-identity summary-quote" "summary-facts summary-quote"; align-items: center; column-gap: 24px; row-gap: 7px; }
.comparison-summary .detail-inline-facts { justify-self: end; }
.comparison-summary-quotes { width: min(350px, 33vw); display: grid; align-items: stretch; gap: 5px; text-align: right; }
.comparison-no-common { justify-items: end; gap: 3px; color: #53645f; }
.comparison-no-common > strong { font-size: 16px; }
.comparison-no-common > small { color: var(--muted); font-size: 10px; }
.summary-market-quote { min-width: 0; min-height: 35px; display: grid; grid-template-columns: auto auto auto; align-items: center; justify-content: end; gap: 8px; padding: 4px 0; font-variant-numeric: tabular-nums; }
.summary-market-quote + .summary-market-quote { border-top: 1px solid #e2e8e6; }
.summary-market-quote .market-text-badge { justify-self: end; margin-right: 2px; }
.summary-market-price { justify-self: end; font-size: 22px; white-space: nowrap; }
.summary-market-quote .change-value b { font-size: 12px; }
.summary-market-quote > small { grid-column: 2 / -1; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.summary-market-quote .no-price-title { justify-self: end; margin: 0; font-size: 14px; }
.no-price-title { display: block; margin: 6px 0; font-size: 22px; }
.detail-inline-facts { grid-area: summary-facts; width: auto; min-width: 0; max-width: 440px; display: grid; grid-template-columns: repeat(2, max-content); justify-self: end; gap: 12px; }
.detail-inline-facts dl { min-width: 0; margin: 0; padding: 0; }
.detail-inline-facts dl + dl { padding-left: 12px; border-left: 1px solid #d7dfdc; }
.detail-inline-facts dl div { min-height: 20px; display: grid; grid-template-columns: max-content minmax(0, max-content); align-items: baseline; justify-content: start; gap: 7px; }
.detail-inline-facts dt { color: #71807c; font-size: 11px; white-space: nowrap; }
.detail-inline-facts dd { min-width: 0; margin: 0; overflow: hidden; color: #33413e; font-size: 12px; font-weight: 800; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.detail-inline-facts.is-equipment dl div { grid-template-columns: 54px minmax(0, max-content); gap: 6px; }
.detail-inline-facts.is-equipment dd { justify-self: start; text-align: left; }
.detail-inline-facts.is-non-equipment { width: max-content; min-width: 190px; max-width: 280px; display: block; justify-self: end; }
.detail-inline-facts.is-non-equipment dl { grid-column: 1; width: 100%; }
.detail-inline-facts.is-non-equipment dl div { grid-template-columns: 52px minmax(0, 1fr); gap: 5px; }
.detail-inline-facts.is-non-equipment dd { overflow: visible; text-overflow: clip; white-space: normal; }
.mobile-detail-facts { display: none; }
.mobile-fact-toggle, .mobile-fact-popup-trigger, .mobile-fact-dialog, .mobile-fact-popover, .mobile-fact-popover-backdrop { display: none; }
.drop-summary { grid-area: drops; min-width: 0; padding: 2px 0 4px; }
.drop-summary.is-flow { display: block; align-self: start; box-sizing: border-box; padding-left: 26px; }
.drop-summary.is-flow .drop-monster-list { grid-template-columns: repeat(4, minmax(0, 82px)); justify-content: space-between; gap: 0; }
.drop-summary h2 { margin: 0 0 9px; color: var(--brand-2); font-size: 13px; }
.drop-monster-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.drop-monster-list article { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.drop-monster-icon { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.drop-monster-list strong { width: 100%; overflow: hidden; color: #52625f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.drop-empty { margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.chart-panel { grid-area: chart; min-width: 0; padding: 0; }
.detail-data-toolbar { display: flex; align-items: center; gap: 7px; margin: 0 0 7px; }
.detail-data-view-tabs { width: max-content; display: inline-flex; gap: 2px; margin: 0; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #eef3f1; }
.detail-data-view-tabs button { min-width: 78px; min-height: 30px; border: 0; border-radius: 5px; background: transparent; color: #687773; font-size: 11px; font-weight: 850; cursor: pointer; }
.detail-data-view-tabs button.is-active { background: var(--brand); color: white; }
.detail-data-toolbar .equipment-slot-tabs { min-height: 38px; box-sizing: border-box; }
.detail-data-toolbar .equipment-slot-tabs button { min-height: 30px; font-size: 11px; }
.chart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 10px; }
.chart-head.is-controls-only { justify-content: flex-end; min-height: 38px; margin-bottom: 8px; }
.period-control { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf9; }
.period-control button { min-width: 60px; min-height: 32px; border: 0; border-radius: 6px; background: transparent; color: #607178; font-size: 12px; font-weight: 750; cursor: pointer; }
.period-control button.is-active { background: var(--brand); color: white; box-shadow: none; }
.period-control button:disabled { opacity: .35; cursor: not-allowed; }
.chart-topbar { position: relative; min-height: 43px; border-bottom: 1px solid #edf0ef; background: #fbfcfc; }
.chart-period-slot { position: absolute; z-index: 2; top: 5px; right: 8px; }
.chart-period-slot { display: flex; align-items: center; gap: 6px; }
.chart-period-slot .period-control { padding: 2px; border-radius: 6px; }
.chart-period-slot .period-control button { min-width: 50px; min-height: 27px; padding: 0 8px; border-radius: 4px; font-size: 11px; }
.range-detail-toggle { min-height: 31px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #cbd7d3; border-radius: 6px; background: white; padding: 0 10px; color: #53645f; font-size: 10px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.range-detail-toggle > span { width: 14px; height: 9px; position: relative; display: inline-block; border-top: 2px solid #7aa297; border-bottom: 2px solid #7aa297; }
.range-detail-toggle > span::after { content: ""; position: absolute; top: 2px; right: 2px; left: 2px; height: 3px; background: rgba(35,106,91,.16); }
.range-detail-toggle:hover { border-color: #8fb0a8; background: #f6faf8; }
.range-detail-toggle.is-active { border-color: var(--brand); background: var(--brand); color: white; }
.range-detail-toggle.is-active > span { border-color: white; }
.range-detail-toggle.is-active > span::after { background: rgba(255,255,255,.38); }
.chart-topbar.has-range-detail { min-height: 43px; }
.range-detail-meta { min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 285px 0 10px; }
.range-detail-mode-control { display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 2px; border: 1px solid #ccd8d4; border-radius: 6px; background: #f4f7f6; }
.range-detail-mode-control button { min-width: 42px; min-height: 25px; border: 0; border-radius: 4px; background: transparent; padding: 0 7px; color: #667470; font-size: 10px; font-weight: 800; cursor: pointer; }
.range-detail-mode-control button.is-active { background: white; color: var(--brand); box-shadow: 0 1px 3px rgba(35,60,54,.12); }
.range-detail-legend { min-height: 30px; display: flex; align-items: center; gap: 12px; padding: 0; }
.range-detail-legend span { display: inline-flex; align-items: center; gap: 6px; color: #65736f; font-size: 10px; font-weight: 800; white-space: nowrap; }
.range-band-key { width: 20px; height: 8px; display: inline-block; border-top: 1px solid rgba(35,106,91,.42); border-bottom: 1px solid rgba(35,106,91,.42); background: rgba(35,106,91,.14); }
.range-box-key { width: 11px; height: 11px; display: inline-block; border: 1px solid rgba(35,106,91,.62); background: rgba(35,106,91,.16); }
.range-whisker-key { width: 14px; height: 12px; position: relative; display: inline-block; border-left: 1px solid rgba(35,106,91,.58); }
.range-whisker-key::before, .range-whisker-key::after { content: ""; position: absolute; left: -4px; width: 7px; border-top: 1px solid rgba(35,106,91,.58); }
.range-whisker-key::before { top: 0; }
.range-whisker-key::after { bottom: 0; }
.comparison-chart-legend { min-height: 43px; display: flex; align-items: center; gap: 18px; padding: 0 190px 0 14px; }
.comparison-chart-legend span { display: inline-flex; align-items: center; gap: 7px; color: #52635f; font-size: 11px; font-weight: 850; }
.comparison-chart-legend i { width: 20px; height: 3px; border-radius: 2px; background: var(--series-color); }
.chart-topbar.has-comparison-equipment { min-height: 82px; }
.has-comparison-equipment .comparison-chart-legend { min-height: 34px; border-top: 1px solid #edf0ef; }
.comparison-equipment-controls { min-height: 47px; display: flex; align-items: center; gap: 10px; padding: 5px 190px 5px 10px; }
.comparison-option-selector { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.comparison-option-selector button { min-height: 25px; border: 1px solid #d5dfdc; border-radius: 4px; background: #fff; padding: 0 7px; color: #65736f; font-size: 10px; font-weight: 800; cursor: pointer; }
.comparison-option-selector button.is-active { border-color: var(--brand-2); background: var(--brand); color: #fff; }
.chart-topbar:not(.has-selector) { min-height: 43px; }
.option-selector { display: flex; align-items: flex-start; gap: 10px; padding: 7px 240px 7px 10px; background: #fbfcfc; }
.option-selector > span { padding-top: 4px; min-width: 38px; color: #687573; font-size: 12px; font-weight: 800; }
.option-selector > .option-heading { display: flex; align-items: baseline; gap: 8px; min-width: max-content; }
.option-heading b { font: inherit; }
.option-heading small { color: #87928f; font-size: 10px; font-weight: 700; white-space: nowrap; }
.option-buttons { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 3px 8px; }
.option-buttons button { min-width: 0; height: 24px; display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 3px; background: transparent; padding: 0 2px; color: #697572; font-size: 11px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.option-buttons button.is-visible { color: #334a45; }
.option-buttons button.is-selected { font-weight: 900; }
.option-checkbox { width: 13px; height: 13px; display: inline-grid; place-items: center; border: 1px solid #aebbb8; border-radius: 2px; background: white; color: white; font-size: 9px; line-height: 1; }
.option-buttons button.is-visible .option-checkbox { border-color: var(--series-color); background: var(--series-color); }
.chart-wrap { position: relative; height: auto; margin-top: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 16px 36px rgba(29,42,48,.07); }
.chart-wrap.has-options { height: auto; }
.chart-plot { position: relative; height: auto; min-height: 0; aspect-ratio: 760 / 500; }
.chart-wrap.has-options .chart-plot { height: auto; }
.trade-history-wrap { position: relative; min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 16px 36px rgba(29,42,48,.07); }
.trade-history-topbar { position: relative; min-height: 43px; border-bottom: 1px solid #e5ebe9; background: #fbfcfc; }
.trade-history-topbar .option-selector { min-height: 43px; }
.equipment-trade-table { width: min(calc(100% - 32px), var(--trade-table-width, 760px)); margin: 12px auto 0; display: grid; grid-template-columns: 110px minmax(0, 1fr) 76px 84px; overflow: hidden; border: 1px solid #d8e2df; border-radius: 6px; }
.equipment-trade-head, .equipment-trade-row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: stretch; }
.equipment-trade-head { min-height: 42px; border-bottom: 1px solid #d8e2df; background: #f7faf9; color: #53635f; font-size: 12px; font-weight: 900; }
.equipment-trade-head > span { display: grid; place-items: center; padding: 0 10px; text-align: center; }
.equipment-trade-head > span + span, .equipment-trade-row > div + div { border-left: 1px solid #e3e9e7; }
.equipment-trade-body { min-height: 360px; display: contents; }
.equipment-trade-row { min-height: 60px; border-bottom: 1px solid #e3e9e7; }
.equipment-trade-row.is-new-day { border-top: 3px solid #cbd9d5; }
.equipment-trade-row:last-child { border-bottom: 0; }
.equipment-trade-row:hover { background: #f8fbfa; }
.trade-field-label { display: none; }
.trade-price-cell, .trade-maker-cell, .trade-date-cell { min-width: 0; display: flex; align-items: center; justify-content: center; padding: 5px 8px; }
.trade-price-cell { flex-direction: column; gap: 3px; }
.trade-maker-cell { justify-content: center; padding-inline: 4px; }
.trade-date-cell { justify-content: center; }
.trade-options-cell { min-width: 0; display: flex; align-items: center; justify-content: flex-start; padding: 5px 12px; }
.trade-price { color: #243632; font-size: 15px; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.trade-price-exact { color: #899491; font-size: 9px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.trade-options { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 8px; }
.trade-option { min-width: max-content; display: grid; grid-template-rows: 20px 22px; align-items: center; justify-items: start; gap: 1px; text-align: left; }
.trade-option-delta { min-height: 18px; display: inline-flex; align-items: center; border-radius: 3px; padding: 0 5px; font-size: 9px; font-weight: 850; font-variant-numeric: tabular-nums; }
.trade-option-delta.is-positive { background: #e8f4f0; color: #16715f; }
.trade-option-delta.is-negative { background: #faecea; color: #a74c42; }
.trade-option-delta.is-neutral { background: #edf1f0; color: #687672; }
.trade-option strong { color: #2d3d39; font-size: 12px; font-weight: 850; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trade-option.is-primary strong { color: var(--trade-primary-color, var(--brand)); font-weight: 950; }
.trade-option.is-primary .trade-option-delta { background: #e7f1fb; color: #2f6fae; box-shadow: inset 0 0 0 1px #bdd3e8; }
.trade-option-empty { color: #899491; font-size: 11px; }
.trade-maker, .equipment-trade-row time { font-size: 12px; font-weight: 850; white-space: nowrap; }
.trade-maker.is-applied { color: #c26721; }
.trade-maker.is-not-applied { color: #4b5b57; }
.trade-maker.is-unknown { color: #929c99; }
.equipment-trade-row time { color: #53635f; }
.trade-history-empty { min-height: 360px; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 24px; color: #71807c; text-align: center; }
.trade-history-empty strong { color: #40514d; font-size: 14px; }
.trade-history-empty small { font-size: 10px; }
.trade-history-more { min-height: 38px; display: block; margin: 10px auto 0; border: 1px solid #c9d6d2; border-radius: 5px; background: white; padding: 0 18px; color: var(--brand); font-size: 10px; font-weight: 850; cursor: pointer; }
.trade-history-more:hover { background: #f2f7f5; }
.trade-history-count { margin: 8px 16px 12px; color: #83908c; font-size: 9px; text-align: right; }
.chart-empty-state { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 24px; color: var(--muted); text-align: center; }
.chart-empty-state strong { margin-top: 12px; color: #40504c; }
.chart-empty-state small { font-size: 12px; }
.price-chart { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-grid line { stroke: #e8eeed; stroke-width: 1; vector-effect: non-scaling-stroke; }
.axis-labels text { fill: #7a898e; font-family: inherit; font-size: 11px; font-weight: 650; letter-spacing: 0; }
.axis-labels .axis-month-label { fill: #52635f; font-weight: 850; }
.selected-area { fill: url(#selected-area); }
.series-path { fill: none; stroke: var(--series-color); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.95; opacity: .42; vector-effect: non-scaling-stroke; }
.series-path.is-selected { stroke-width: 3; opacity: 1; }
.series-gap { fill: none; stroke: var(--series-color); stroke-width: 1.2; stroke-dasharray: 4 5; stroke-linecap: round; opacity: .34; vector-effect: non-scaling-stroke; }
.series-gap.is-selected { stroke-width: 1.8; opacity: .82; }
.series-marker { fill: var(--series-color); stroke: white; stroke-width: 1; opacity: .55; vector-effect: non-scaling-stroke; }
.series-marker.is-selected { opacity: 1; }
.series-marker.is-provisional, .series-marker.is-indicative { fill: white; stroke: var(--series-color); stroke-width: 2; }
.range-iqr-bands path { fill: var(--series-color); opacity: .14; stroke: none; }
.range-minmax-whiskers line { stroke: var(--series-color); stroke-width: 1; opacity: .34; vector-effect: non-scaling-stroke; }
.range-box-whiskers line { stroke: var(--series-color); stroke-width: 1; opacity: .42; vector-effect: non-scaling-stroke; }
.range-box-whiskers .range-median-tick { stroke-width: 1.4; opacity: .72; }
.range-iqr-boxes rect { fill: var(--series-color); fill-opacity: .14; stroke: var(--series-color); stroke-width: 1; stroke-opacity: .62; vector-effect: non-scaling-stroke; }
.current-guide { stroke: #287867; stroke-dasharray: 3 4; stroke-width: 1; opacity: .34; vector-effect: non-scaling-stroke; }
.current-badge rect { fill: var(--brand-2); }
.current-badge text { fill: white; font-family: inherit; font-size: 11px; font-weight: 850; letter-spacing: 0; }
.comparison-current-badge path { fill: none; stroke: var(--series-color); stroke-width: 1; stroke-dasharray: 3 4; opacity: .45; vector-effect: non-scaling-stroke; }
.comparison-current-badge rect { fill: var(--series-color); }
.comparison-current-badge text { fill: white; font-family: inherit; font-size: 9px; font-weight: 850; letter-spacing: 0; }
.equipment-end-label path { fill: none; stroke: var(--series-color); stroke-width: 1; stroke-dasharray: 2 3; opacity: .55; vector-effect: non-scaling-stroke; }
.equipment-end-label text { fill: var(--series-color); font-family: inherit; font-size: 9px; font-weight: 850; letter-spacing: 0; }
.equipment-end-labels.is-text text { stroke: white; stroke-width: 3px; paint-order: stroke; }
.dimension-guide { stroke: #5d857c; stroke-width: 1; stroke-dasharray: 3 4; opacity: .55; vector-effect: non-scaling-stroke; }
.dimension-line, .dimension-cap { stroke: #2f7f70; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.dimension-label rect { fill: white; stroke: #b9cbc7; }
.dimension-label text { fill: #315c53; font-family: inherit; font-size: 10px; font-weight: 800; letter-spacing: 0; }
.extreme line { stroke: #466b64; stroke-dasharray: 2 3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.extreme circle { fill: white; stroke: #287867; stroke-width: 2; vector-effect: non-scaling-stroke; }
.extreme rect { fill: white; stroke: #b9cbc7; }
.extreme text { fill: #315c53; font-family: inherit; font-size: 10px; font-weight: 800; letter-spacing: 0; }
.series-hit-path { fill: none; stroke: transparent; stroke-width: 16; pointer-events: stroke; cursor: pointer; vector-effect: non-scaling-stroke; }
.chart-hits circle { fill: transparent; cursor: pointer; }
.chart-tooltip { position: absolute; z-index: 4; transform: translate(-50%, calc(-100% - 14px)); min-width: 148px; display: grid; gap: 2px; padding: 10px 12px; border: 1px solid rgba(23,49,45,.16); border-radius: 7px; background: rgba(30,49,47,.96); color: white; pointer-events: none; box-shadow: 0 8px 20px rgba(20,37,35,.16); }
.chart-tooltip[hidden] { display: none; }
.chart-tooltip strong { font-size: 14px; }
.chart-tooltip span, .chart-tooltip small { color: #d7e2df; font-size: 10px; }
.chart-tooltip small + small { color: #aebfba; }
.coverage-note { margin: 12px 10px 0; color: #6d7977; font-size: 11px; }
.mobile-chart-metrics { display: none; }
.no-price-chart { height: 390px; display: grid; place-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; text-align: center; gap: 8px; color: var(--muted); box-shadow: 0 16px 36px rgba(29,42,48,.07); }
.empty-chart-line { width: 180px; height: 52px; border-bottom: 2px dashed #ccd6d3; transform: skewY(-8deg); margin: auto; }
.no-price-chart strong { margin-top: 12px; color: #40504c; }
.no-price-chart small { font-size: 12px; }
.comparison-lines-icon { width: 180px; height: 56px; position: relative; display: block; margin: auto; }
.comparison-lines-icon i { position: absolute; right: 0; left: 0; height: 2px; border-radius: 2px; transform-origin: left; }
.comparison-lines-icon i:first-child { top: 16px; background: #2f70a8; transform: rotate(-5deg); }
.comparison-lines-icon i:last-child { top: 35px; background: #c56b2b; transform: rotate(4deg); }

.info-rail { grid-area: rail; min-width: 0; margin-top: 43px; padding: 0 0 0 26px; border-left: 1px solid #c4d0d2; }
.rail-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-rail { padding-top: 0; }
.rail-section:last-child { border-bottom: 0; }
.rail-section h2 { margin: 2px 0 0; font-size: 21px; }
.rail-section dl { margin: 16px 0 0; border-top: 1px solid #c4d0d2; }
.rail-section dl div { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0; border-bottom: 1px solid var(--line); }
.rail-section dt { color: #697572; font-size: 12px; }
.rail-section dd { margin: 0; text-align: right; font-weight: 800; font-size: 13px; }
.basis-time { margin-top: 28px; padding: 15px; border-radius: 8px; background: var(--soft); display: flex; flex-direction: column; gap: 3px; }
.basis-time span { color: #697572; font-size: 11px; }
.basis-time strong { font-size: 12px; }
.price-info-table { margin-top: 16px; border-top: 1px solid #c4d0d2; }
.price-info-head, .price-info-row { display: grid; grid-template-columns: minmax(80px, 1.35fr) minmax(64px, 1fr) 58px 58px; align-items: center; gap: 7px; text-align: right; }
.price-info-head { min-height: 35px; color: #77827f; font-size: 10px; font-weight: 800; }
.price-info-head span:first-child { text-align: left; }
.price-info-row { width: 100%; min-height: 44px; border: 0; border-top: 1px solid #edf0ef; background: transparent; padding: 0; font-size: 11px; cursor: pointer; }
.price-info-row:hover { background: #f7faf9; }
.price-info-row.is-selected { background: #edf5f2; box-shadow: inset 3px 0 0 var(--brand-2); }
.price-info-row:disabled { color: inherit; cursor: default; }
.price-info-row:disabled:hover { background: transparent; }
.price-info-row strong { min-width: 0; overflow: hidden; padding-left: 7px; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.price-info-row > span { font-weight: 800; white-space: nowrap; }
.price-info-row > span:nth-child(2) { font-size: 12px; }
.price-info-row .rate-unavailable { color: #a0aaa7; }
.comparison-price-row { cursor: default; }
.comparison-price-row strong { display: inline-flex; align-items: center; gap: 6px; }
.comparison-price-row.is-origin { box-shadow: inset 3px 0 0 rgba(47,112,168,.55); }
.comparison-price-row.is-burning { box-shadow: inset 3px 0 0 rgba(197,107,43,.55); }
.comparison-basis-times { margin-top: 20px; display: grid; gap: 7px; padding: 12px 14px; border-radius: 7px; background: var(--soft); }
.comparison-basis-times > span { min-width: 0; display: grid; grid-template-columns: 8px max-content minmax(0, 1fr); align-items: center; gap: 6px; }
.comparison-basis-times small { color: #697572; font-size: 10px; font-weight: 800; white-space: nowrap; }
.comparison-basis-times strong { overflow: hidden; font-size: 10px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.shop-price-row { min-height: 45px; display: grid; grid-template-columns: minmax(80px, 1.35fr) minmax(64px, 1fr) 58px 58px; align-items: center; gap: 7px; border-top: 1px solid #c4d0d2; color: #687573; font-size: 11px; }
.shop-price-row strong { grid-column: 2; color: #293633; font-size: 12px; text-align: right; white-space: nowrap; }

.content-band { margin-top: 22px; padding: 24px; }
.content-band header { margin-bottom: 18px; }
.content-band h2 { margin: 0; font-size: 20px; }
.monster-list { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.monster-list article { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e3e8e6; border-radius: 6px; }
.monster-icon { width: 46px; height: 46px; object-fit: contain; image-rendering: pixelated; flex: 0 0 auto; }
.monster-list strong { min-width: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.related-list button { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e0e6e4; border-radius: 6px; background: white; text-align: left; cursor: pointer; }
.related-icon { width: 42px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.related-list span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.related-list strong, .related-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-list small { color: var(--muted); font-size: 11px; }
.related-comparison-price { display: flex; align-items: center; gap: 9px; }
.related-comparison-price span { display: inline-flex; flex-direction: row; align-items: center; gap: 4px; }
.icon-fallback { display: grid; place-items: center; border-radius: 5px; background: var(--soft); color: #75827f; }

.information-page { max-width: 860px; padding: 46px 0 92px; }
.information-hero { padding: 6px 4px 30px; border-bottom: 1px solid var(--line); }
.information-hero p { margin: 0 0 9px; color: var(--brand-2); font-size: 12px; font-weight: 850; letter-spacing: 0; }
.information-hero h1 { margin: 0; color: #253330; font-size: 32px; letter-spacing: 0; }
.information-hero span { display: block; margin-top: 14px; color: #687573; font-size: 14px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
.information-intro { margin: 18px 0 0; padding: 18px 20px; border: 1px solid #cfdfd9; border-radius: 8px; background: #edf5f2; color: #405650; }
.information-intro strong { display: block; color: #245a4e; font-size: 13px; }
.information-intro p { margin: 7px 0 0; font-size: 13px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
.information-sections { display: grid; gap: 0; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.information-sections section { padding: 23px 25px; }
.information-sections section + section { border-top: 1px solid #e3e8e6; }
.information-sections h2 { margin: 0; color: #2c3b37; font-size: 16px; }
.information-sections p { margin: 9px 0 0; color: #66736f; font-size: 13px; line-height: 1.75; }
.information-list { display: grid; gap: 11px; margin: 13px 0 0; padding: 0; list-style: none; color: #66736f; font-size: 13px; line-height: 1.75; }
.information-list li { position: relative; padding-left: 14px; word-break: keep-all; overflow-wrap: break-word; }
.information-list li::before { content: ""; position: absolute; top: .72em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #5e988a; }
.information-note { margin: 14px 0 0; padding: 13px 15px; border: 1px solid #d8e2de; border-radius: 7px; background: #edf4f1; color: #52645e; font-size: 12px; line-height: 1.6; }
.notice-list { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid #e3e8e6; }
.notice-list li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: center; padding: 17px 4px; border-bottom: 1px solid #e3e8e6; }
.notice-list time { color: #84908c; font-size: 12px; font-variant-numeric: tabular-nums; }
.notice-list a { color: #31433d; font-size: 14px; font-weight: 750; text-decoration: none; }
.notice-list a:hover { color: var(--brand); text-decoration: underline; }
.notice-empty-state { display: grid; justify-items: center; gap: 6px; margin: 18px 0 0; padding: 42px 20px; border: 1px solid #e0e7e4; border-radius: 8px; background: #fbfcfb; color: #61716b; text-align: center; }
.notice-empty-state strong { color: #41524c; font-size: 14px; }
.notice-empty-state span { font-size: 12px; }
.contact-guide { display: grid; gap: 20px; margin-top: 18px; padding: 24px; border: 1px solid #dfe7e4; border-radius: 8px; background: #fbfcfb; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #e2e9e6; }
.contact-email a { color: #285c50; font-size: 16px; font-weight: 800; text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }
.contact-email button { border: 1px solid #c7d7d1; border-radius: 5px; background: white; padding: 6px 10px; color: #45625a; font-size: 12px; font-weight: 800; cursor: pointer; }
.contact-guide ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: #596a64; font-size: 13px; line-height: 1.6; }
.privacy-policy { margin-top: 18px; }
.privacy-policy p + p { margin-top: 10px; }
.privacy-policy a { color: #285c50; font-weight: 750; }
.privacy-policy, .privacy-policy section, .privacy-table-wrap { min-width: 0; max-width: 100%; }
.privacy-table-wrap { box-sizing: border-box; width: 100%; margin-top: 16px; overflow-x: auto; border: 1px solid #e0e7e4; border-radius: 6px; }
.privacy-table { width: 100%; min-width: 620px; border-collapse: collapse; color: #596a64; font-size: 12px; line-height: 1.55; text-align: left; }
.privacy-table th, .privacy-table td { padding: 12px 13px; border-bottom: 1px solid #e0e7e4; vertical-align: top; }
.privacy-table thead th { background: #f1f5f3; color: #40534d; font-size: 11px; }
.privacy-table tbody th { width: 126px; color: #40534d; font-weight: 800; }
.privacy-table tbody tr:last-child > * { border-bottom: 0; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }

.site-footer { border-top: 1px solid var(--line); background: white; color: #697572; }
.footer-inner { width: min(1120px, calc(100% - 48px)); display: grid; justify-items: center; gap: 13px; margin: 0 auto; padding: 25px 0 27px; text-align: center; }
.footer-copy { display: grid; gap: 5px; justify-items: center; }
.footer-copy p, .footer-contact, .footer-copyright { margin: 0; color: #77837f; font-size: 12px; line-height: 1.6; }
.footer-copy .footer-price-note { color: #53635f; font-weight: 750; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px; }
.footer-links a { padding: 3px 7px; color: #52645f; font-size: 12px; font-weight: 800; text-decoration: none; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; }
.footer-contact { color: #9ba5a2; }
.footer-copyright { color: #7d8985; font-weight: 750; }

@media (min-width: 761px) and (max-width: 1180px) {
  .home-layout { display: block; }
  .ranking-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .detail-page { width: calc(100% - 32px); }
  .detail-toolbar { height: auto; display: flex; }
  .drop-summary.is-flow { padding-left: 0; }
  .detail-workspace, .detail-workspace.layout-chart, .detail-workspace.layout-balanced, .detail-workspace.layout-info {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "identity" "chart" "price" "drops" "facts"; gap: 22px;
  }
  .info-rail { display: contents; }
  .price-rail { grid-area: price; }
  .item-facts { grid-area: facts; }
  .drop-summary { padding-top: 22px; border-top: 1px solid #c4d0d2; }
  .drop-monster-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail-section { border-bottom: 0; }
}

@media (max-width: 1100px) {
  .home-layout { grid-template-columns: minmax(0,1fr) 270px; }
  .market-row { grid-template-columns: minmax(260px,1fr) 140px 140px; }
  .monster-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .related-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .comparison-summary-quotes { width: min(370px, 46vw); }
}

@media (min-width: 761px) and (max-width: 900px) {
  .market-table .change-value small { display: none; }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .detail-summary-main { grid-template-columns: minmax(280px, 1fr) minmax(180px, max-content) minmax(210px, max-content); grid-template-areas: "summary-identity summary-facts summary-quote"; column-gap: 16px; row-gap: 0; }
  .detail-inline-facts { justify-self: end; }
  .detail-summary-main.has-long-title .detail-identity h1 { font-size: 22px; }
}

@media (max-width: 760px) {
  .site-header { gap: 8px; padding: 8px 12px 10px; }
  .header-primary { min-height: 36px; flex-wrap: nowrap; gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 54px; height: 36px; }
  .brand strong { font-size: 16px; }
  .server-switch { padding: 2px; font-size: 10px; }
  .server-switch button, .server-switch span { min-width: 39px; height: 26px; padding: 0 5px; }
  .primary-tabs { display: none; }
  .mobile-primary-menu { display: block; }
  .header-search-row { width: 100%; }
  .global-search input { height: 42px; padding-left: 42px; padding-right: 40px; font-size: 16px; }
  .search-icon { left: 15px; top: 12px; width: 16px; height: 16px; }
  .clear-search { top: 5px; }
  .search-suggestions { position: fixed; top: 104px; left: 8px; right: 8px; max-height: min(68vh, 520px); }
  .search-result { grid-template-columns: 38px minmax(0,1fr) auto; padding-inline: 8px; }
  .search-result b { max-width: 100px; text-align: right; font-size: 11px; }
  .search-shortcuts { display: none; }
  .page-shell { width: calc(100% - 20px); }
  .home-page { padding-top: 18px; }
  .home-layout { display: block; }
  .market-board { padding: 18px 12px 0; }
  .board-title-row { align-items: center; }
  .board-title h1 { font-size: 23px; }
  .board-title-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .price-reference-note { max-width: 100%; font-size: 10px; overflow-wrap: anywhere; }
  .board-mobile-actions { align-items: center; gap: 5px; }
  .market-board.category-nav-two-row-title .board-mobile-actions,
  .market-board.category-nav-compact .board-mobile-actions { display: flex; }
  .board-mobile-actions .category-chip { height: 32px; padding-inline: 10px; }
  .board-mobile-actions .favorite-chip { padding-inline: 9px; }
  .board-mobile-actions .filter-toggle { min-width: 68px; height: 38px; padding-inline: 12px; gap: 6px; font-size: 12px; }
  .board-mobile-actions .filter-toggle b { min-width: 19px; height: 19px; font-size: 11px; }
  .category-toolbar { gap: 5px; margin: 14px 0 12px; }
  .desktop-category-chips { display: none; }
  .mobile-category-chips { min-width: 0; flex: 1; }
  .category-chip { height: 30px; flex: 0 0 auto; padding: 0 10px; border-radius: 15px; font-size: 12px; scroll-snap-align: start; }
  .favorite-chip { font-size: 14px; padding-inline: 9px; }
  .mobile-category-more { display: flex; gap: 4px; }
  .mobile-category-more > .category-chip, .mobile-category-more > .category-more-root { min-width: 0; flex: 1 1 0; }
  .mobile-category-more > .category-chip, .category-more-toggle { width: 100%; padding-inline: 4px; font-size: 11px; }
  .category-more-root { position: relative; }
  .category-more-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
  .category-more-toggle span { margin-top: -3px; font-size: 10px; }
  .category-more-menu { position: absolute; z-index: 30; top: 36px; right: 0; width: 184px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px; border: 1px solid #cbd8d4; border-radius: 7px; background: white; box-shadow: 0 12px 28px rgba(29,42,48,.16); }
  .category-more-menu .category-chip { width: 100%; padding-inline: 5px; }
  .mobile-category-two-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .mobile-category-two-row .category-chip { width: 100%; padding-inline: 5px; }
  .category-nav-two-row .filter-toggle { align-self: flex-start; }
  .market-board.category-nav-two-row-title .toolbar-filter-toggle,
  .market-board.category-nav-compact .toolbar-filter-toggle { display: none; }
  .market-board.category-nav-compact .category-toolbar { display: none; }
  .market-board.category-nav-compact .board-title-row { margin-bottom: 14px; }
  .market-board.category-nav-compact .active-filter-row { margin-top: 12px; }
  .filter-toggle { height: 30px; padding: 0 7px; font-size: 10px; gap: 4px; }
  .filter-toggle b { min-width: 17px; height: 17px; font-size: 10px; }
  .filter-panel { top: 120px; right: 12px; left: 12px; width: auto; max-height: 520px; overflow-y: auto; }
  .filter-head { align-items: flex-start; padding: 8px; }
  .filter-major { gap: 1px; }
  .filter-major button { padding: 6px 5px; font-size: 9.5px; }
  .filter-actions { gap: 5px; }
  .filter-actions strong { font-size: 15px; }
  .filter-actions > button:not(.close-filter) { font-size: 10px; padding: 0 2px; }
  .filter-actions .close-filter { width: 30px; height: 30px; }
  .filter-body { padding: 5px 9px 10px; }
  .filter-row { grid-template-columns: 54px 1fr; padding: 6px 0; }
  .filter-row > strong { font-size: 10px; padding-top: 7px; }
  .filter-row > div { gap: 2px; }
  .filter-row button { padding: 6px 5px; font-size: 9.5px; }
  .filter-row .price-availability-toggle { gap: 6px; padding-inline: 0; font-size: 10px; }
  .price-availability-toggle > span { width: 28px; height: 16px; }
  .price-availability-toggle > span i { width: 12px; height: 12px; }
  .price-availability-toggle.is-active > span i { transform: translateX(12px); }
  .market-table { margin: 0 -12px; }
  .market-load-more { margin: 0 -12px; padding: 10px 12px; }
  .market-load-more button { width: 100%; min-height: 42px; }
  .market-row { grid-template-columns: minmax(0,1fr) max-content; column-gap: 10px; min-height: 70px; padding: 0 12px; }
  .market-head { min-height: 43px; }
  .market-head .sort-head:first-child { height: 43px; }
  .desktop-only { display: none !important; }
  .mobile-price-head { display: block; justify-self: end; text-align: right; font-size: 12px; font-weight: 850; }
  .mobile-price-head small { font-size: 10px; }
  .mobile-price-cell { min-width: 64px; display: flex; flex-direction: column; align-items: flex-end; justify-self: end; gap: 4px; text-align: right; }
  .mobile-price-cell > strong { max-width: 100%; font-size: 14px; white-space: nowrap; }
  .mobile-price-cell .home-price { align-items: flex-end; gap: 1px; }
  .mobile-price-cell .home-price-basis { font-size: 8px; }
  .mobile-price-cell .change-value { display: block; text-align: right; }
  .mobile-price-cell .change-value b { font-size: 12px; }
  .comparison-market-row { grid-template-columns: minmax(0, 1fr) 145px; min-height: 70px; }
  .comparison-market-row .item-cell small { display: none; }
  .mobile-comparison-cell { min-width: 0; display: grid; gap: 2px; }
  .mobile-comparison-row { min-width: 0; min-height: 22px; display: grid; grid-template-columns: 34px 45px 42px; justify-content: end; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
  .mobile-comparison-row .market-text-badge { width: 34px; height: 18px; font-size: 8px; }
  .mobile-comparison-row > strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-comparison-row .home-price { align-items: flex-start; }
  .mobile-comparison-row .home-price.no-price-cell { font-size: 11px !important; font-weight: 500; }
  .mobile-comparison-row .home-price-basis { font-size: 9px; font-weight: 500; }
  .mobile-comparison-row .change-value { width: 42px; display: block; text-align: right; }
  .mobile-comparison-row .change-value b { font-size: 10px; white-space: nowrap; }
  .mobile-comparison-row .change-unavailable { width: 42px; font-size: 8px; line-height: 1.1; text-align: right; white-space: normal; word-break: keep-all; }
  .item-icon { width: 42px; height: 42px; }
  .item-cell { gap: 10px; }
  .item-cell strong { display: block; font-size: 13px; }
  .item-name-group { display: inline; }
  .item-name { display: inline; }
  .item-name-tail { gap: 3px; }
  .row-favorite { width: 20px; height: 20px; display: inline-grid; vertical-align: -4px; font-size: 16px; }
  .item-name { line-height: 1.25; }
  .item-cell small { font-size: 10px; }
  .evidence-badge { line-height: 17px; font-size: 9px; }
  .ranking-stack { margin-top: 14px; }
  .ranking-panel { padding: 16px; }
  .ranking-panel button { grid-template-columns: 18px 36px minmax(0,1fr) auto; }
  .detail-page { padding-top: 12px; }
  .detail-toolbar { height: 24px; min-height: 24px; display: block; margin-bottom: 9px; }
  .breadcrumb { margin: 0 2px; white-space: nowrap; }
  .drop-summary.is-toolbar { display: none; }
  .drop-summary.is-flow { display: block; }
  .detail-icon { width: 52px; height: 52px; }
  .detail-summary-main { min-height: 76px; grid-template-columns: minmax(0, 1fr) minmax(100px, 108px); grid-template-areas: "summary-identity summary-quote"; align-items: center; gap: 7px; padding: 0 2px; }
  .detail-identity { flex: 1 1 auto; gap: 8px; }
  .detail-kicker { gap: 5px; }
  .detail-title-row { gap: 5px; }
  .detail-favorite { width: 28px; height: 28px; font-size: 17px; }
  .detail-identity h1 { min-width: 0; max-width: none; font-size: 18px; overflow-wrap: anywhere; }
  .detail-summary-main.has-long-title .detail-identity h1 { font-size: 16px; }
  .detail-quote { display: block; flex: 0 1 108px; max-width: 108px; }
  .detail-quote > span { display: block; font-size: 9px; line-height: 1.3; }
  .detail-quote > div { display: grid; justify-items: end; gap: 1px; margin: 3px 0; }
  .detail-quote > div > strong { font-size: 18px; }
  .detail-quote .change-value b { font-size: 11px; }
  .detail-quote > small { display: block; color: #75817e; font-size: 8px; line-height: 1.35; }
  .equipment-price-summary { min-width: 100px; gap: 3px; }
  .equipment-slot-tabs button { min-height: 22px; padding: 0 6px; font-size: 8px; }
  .detail-quote .no-price-title { font-size: 14px; }
  .detail-inline-facts { width: 100%; min-width: 0; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-self: stretch; gap: 8px; padding: 6px 2px 0; border-top: 1px solid #dde4e1; }
  .detail-inline-facts dl + dl { padding-left: 11px; }
  .detail-inline-facts dl div, .detail-inline-facts.is-equipment dl div { min-height: 18px; grid-template-columns: 46px minmax(0, 1fr); gap: 4px; }
  .detail-inline-facts dt { font-size: 10px; }
  .detail-inline-facts dd { overflow: visible; font-size: 11px; line-height: 1.25; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .detail-inline-facts.is-non-equipment { width: 100%; min-width: 0; max-width: none; display: block; justify-self: stretch; }
  .detail-inline-facts.is-non-equipment dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 1px 8px; }
  .detail-inline-facts.is-non-equipment dl div { min-width: 0; min-height: 18px; grid-template-columns: max-content minmax(0, 1fr); gap: 4px; }
  .detail-inline-facts.is-non-equipment dd { justify-self: start; }
  .detail-summary-main > .detail-inline-facts { display: none; }
  .mobile-detail-facts { grid-area: facts; display: block; padding: 12px 2px 2px; border-top: 1px solid #dce4e1; }
  .mobile-detail-facts > p { margin: 0 0 8px; color: var(--brand-2); font-size: 11px; font-weight: 850; }
  .mobile-detail-facts .detail-inline-facts { display: grid; padding: 0; border-top: 0; }
  .detail-inline-facts.is-equipment:not(.is-expanded) .is-mobile-extra { display: none; }
  .detail-inline-facts.is-equipment.is-mobile-sheet-mode,
  .detail-inline-facts.is-equipment.is-mobile-popover-mode,
  .detail-inline-facts.is-equipment.is-mobile-expand-mode:not(.is-expanded) { display: none; }
  .mobile-fact-toggle { grid-column: 2; display: inline-flex; align-items: center; justify-content: center; min-height: 24px; margin-top: 2px; padding: 2px 0; border: 0; background: none; color: var(--brand-2); font-size: 10px; font-weight: 800; cursor: pointer; }
  .mobile-fact-popup-trigger { display: inline-grid; align-items: center; justify-content: center; min-width: 48px; min-height: 32px; padding: 3px 4px; border: 1px solid #aebfba; border-radius: 5px; background: #fff; color: var(--brand-2); font-size: 8.5px; font-weight: 800; line-height: 1.15; white-space: nowrap; cursor: pointer; }
  .mobile-fact-popup-trigger span { display: block; }
  .detail-summary-main.has-mobile-fact-popup .detail-identity { gap: 6px; }
  .detail-summary-main.has-mobile-fact-popup .detail-icon { width: 52px; height: 52px; }
  .detail-summary-main.has-mobile-fact-popup .detail-favorite { width: 22px; height: 22px; font-size: 15px; }
  .detail-summary-main.has-mobile-fact-popup .detail-title-block { flex: 1 1 auto; }
  .detail-summary-main.has-mobile-fact-popup .detail-title-row { justify-content: flex-start; gap: 4px; }
  .detail-summary-main.has-mobile-fact-popup .detail-title-row h1 { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 78px); font-size: 17px; line-height: 1.1; }
  .mobile-fact-dialog.is-open { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; background: rgba(20, 34, 31, .38); }
  .mobile-fact-sheet { box-sizing: border-box; width: 100%; max-height: min(72vh, 560px); overflow: hidden; border-radius: 8px 8px 0 0; background: #fff; box-shadow: 0 -10px 30px rgba(22, 45, 39, .16); }
  .mobile-fact-sheet > header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #dde5e2; }
  .mobile-fact-sheet > header span { min-width: 0; display: grid; gap: 2px; }
  .mobile-fact-sheet > header small { color: var(--brand-2); font-size: 10px; font-weight: 800; }
  .mobile-fact-sheet > header strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-fact-sheet > header button { flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #c8d3d0; border-radius: 5px; background: #fff; color: #596966; font-size: 22px; line-height: 1; cursor: pointer; }
  .mobile-fact-sheet-body { max-height: calc(min(72vh, 560px) - 59px); overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 22px; }
  .mobile-fact-sheet-body dl { min-width: 0; margin: 0; }
  .mobile-fact-sheet-body dl + dl { padding-left: 12px; border-left: 1px solid #dde5e2; }
  .mobile-fact-sheet-body dl div { min-height: 25px; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: baseline; gap: 5px; }
  .mobile-fact-sheet-body dt { color: #71807c; font-size: 11px; white-space: nowrap; }
  .mobile-fact-sheet-body dd { min-width: 0; margin: 0; color: #33413e; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
  .detail-title-row { position: relative; }
  .mobile-fact-popover-backdrop { position: fixed; inset: 0; z-index: 70; display: block; border: 0; background: transparent; }
  .mobile-fact-popover { position: fixed; z-index: 71; left: 12px; right: 12px; box-sizing: border-box; max-height: 62vh; overflow: hidden; display: block; border: 1px solid #cbd7d3; border-radius: 7px; background: #fff; box-shadow: 0 12px 28px rgba(22, 45, 39, .18); }
  .mobile-fact-popover::before { content: ""; position: absolute; top: -5px; right: 22px; width: 9px; height: 9px; border-left: 1px solid #cbd7d3; border-top: 1px solid #cbd7d3; background: #fff; transform: rotate(45deg); }
  .mobile-fact-popover > header { min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 5px 8px 5px 12px; border-bottom: 1px solid #e0e7e4; }
  .mobile-fact-popover > header strong { font-size: 12px; }
  .mobile-fact-popover > header button { width: 29px; height: 29px; border: 1px solid #d0dad7; border-radius: 4px; background: #fff; color: #61706d; font-size: 18px; }
  .mobile-fact-popover-body { max-height: calc(62vh - 41px); overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 12px 14px; }
  .mobile-fact-popover-body dl { min-width: 0; margin: 0; }
  .mobile-fact-popover-body dl + dl { padding-left: 10px; border-left: 1px solid #e0e7e4; }
  .mobile-fact-popover-body dl div { min-height: 22px; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: baseline; gap: 4px; }
  .mobile-fact-popover-body dt { color: #71807c; font-size: 10px; white-space: nowrap; }
  .mobile-fact-popover-body dd { min-width: 0; margin: 0; color: #33413e; font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
  .detail-inline-facts.is-mobile-expand-mode { margin-top: 2px; padding: 9px 8px 7px; border: 1px solid #d8e2df; border-radius: 6px; background: #f8faf9; }
  .detail-summary-main.is-non-equipment { grid-template-columns: minmax(0, 1fr) 108px; }
  .detail-summary-main.is-non-equipment .detail-identity h1 { max-width: none; overflow-wrap: normal; white-space: nowrap; font-size: 14px; }
  .detail-summary-main.is-non-equipment.has-long-title .detail-identity h1 { font-size: 14px; }
  .detail-summary-main.comparison-summary { grid-template-columns: minmax(0, 1fr); grid-template-areas: "summary-identity" "summary-quote" "summary-facts"; gap: 8px; }
  .comparison-summary .detail-identity h1 { max-width: none; }
  .comparison-summary-quotes { width: 100%; max-width: none; display: grid; gap: 2px; }
  .summary-market-quote { min-height: 31px; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 6px; padding: 4px 2px; border: 0; border-radius: 0; text-align: right; }
  .summary-market-quote + .summary-market-quote { border-top: 1px solid #dce4e1; }
  .summary-market-quote .market-text-badge { width: 39px; height: 19px; justify-self: start; font-size: 9px; }
  .summary-market-price { font-size: 17px; }
  .summary-market-quote > small { font-size: 8px; }
  .detail-workspace, .detail-workspace.layout-chart, .detail-workspace.layout-balanced, .detail-workspace.layout-info {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "identity" "chart" "facts" "price" "drops"; gap: 18px;
  }
  .chart-panel, .info-rail { width: 100%; }
  .chart-panel { padding: 0; }
  .detail-data-toolbar { gap: 5px; margin-bottom: 6px; }
  .detail-data-view-tabs { padding: 2px; }
  .detail-data-view-tabs button { min-width: 66px; min-height: 27px; font-size: 10px; }
  .detail-data-toolbar .equipment-slot-tabs { min-height: 33px; }
  .detail-data-toolbar .equipment-slot-tabs button { min-height: 27px; padding: 0 7px; font-size: 10px; }
  .detail-data-toolbar { flex-wrap: wrap; }
  .chart-period-slot { top: 5px; right: 6px; }
  .chart-period-slot { gap: 4px; }
  .chart-period-slot .period-control { padding: 2px; border-radius: 6px; }
  .chart-period-slot .period-control button { min-width: 39px; min-height: 25px; padding: 0 7px; border-radius: 4px; font-size: 10px; }
  .range-detail-toggle { min-height: 29px; gap: 4px; padding: 0 7px; font-size: 9px; }
  .range-detail-toggle > span { width: 11px; height: 8px; }
  .chart-topbar.has-range-detail { min-height: 0; display: flex; flex-direction: column; padding-top: 39px; }
  .chart-topbar.has-range-detail .range-detail-meta { order: 1; min-height: 31px; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 7px; padding: 3px 7px; border-top: 1px solid #edf0ef; }
  .chart-topbar.has-range-detail .option-selector { order: 2; padding-top: 5px; }
  .range-detail-mode-control { gap: 1px; padding: 1px; border-radius: 5px; }
  .range-detail-mode-control button { min-width: 35px; min-height: 24px; padding: 0 5px; font-size: 9px; }
  .range-detail-legend { min-height: 25px; gap: 8px; padding: 0; }
  .range-detail-legend span { gap: 4px; font-size: 8px; }
  .range-band-key { width: 14px; height: 7px; }
  .range-box-key { width: 9px; height: 9px; }
  .range-whisker-key { width: 9px; height: 10px; }
  .comparison-chart-legend { min-height: 35px; gap: 12px; padding: 0 128px 0 9px; }
  .comparison-chart-legend span { gap: 5px; font-size: 10px; }
  .comparison-chart-legend i { width: 14px; height: 2px; }
  .chart-topbar.has-comparison-equipment { min-height: 104px; }
  .comparison-equipment-controls { min-height: 69px; display: grid; align-content: center; gap: 4px; padding: 5px 128px 5px 7px; }
  .comparison-equipment-controls .equipment-slot-tabs { justify-self: start; }
  .comparison-option-selector { max-height: 42px; overflow-y: auto; }
  .comparison-option-selector button { min-height: 21px; padding: 0 5px; font-size: 9px; }
  .chart-topbar:not(.has-selector) { min-height: 35px; }
  .option-selector { display: block; min-height: 35px; padding: 42px 8px 6px; }
  .option-selector > span { display: block; padding: 0 0 4px; font-size: 11px; }
  .option-selector > .option-heading { display: flex; gap: 7px; }
  .option-heading small { font-size: 9px; }
  .option-buttons { gap: 2px 7px; }
  .option-buttons button { height: 22px; font-size: 10px; }
  .option-checkbox { width: 12px; height: 12px; font-size: 8px; }
  .chart-wrap { height: auto; }
  .chart-wrap.has-options { height: auto; }
  .trade-history-wrap { min-height: 420px; overflow: visible; }
  .trade-history-topbar { min-height: 86px; }
  .trade-history-topbar .option-selector { min-height: 86px; padding-top: 39px; }
  .equipment-trade-table { width: min(calc(100% - 12px), var(--trade-mobile-table-width, 354px)); min-width: 0; grid-template-columns: 60px minmax(0, 1fr) 44px 50px; margin-top: 7px; }
  .equipment-trade-head { min-height: 36px; display: grid; font-size: 10px; }
  .equipment-trade-head > span { padding: 0 4px; }
  .equipment-trade-body { min-height: 330px; display: contents; }
  .equipment-trade-row { min-height: 58px; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
  .trade-field-label { display: none; }
  .trade-price-cell, .trade-maker-cell, .trade-date-cell { padding: 3px 2px; }
  .trade-options-cell { padding: 3px 6px; }
  .trade-price { font-size: 12px; }
  .trade-price-exact { font-size: 8px; white-space: normal; overflow-wrap: anywhere; }
  .trade-options { gap: 2px 5px; padding: 0; }
  .trade-option { grid-template-rows: 18px 20px; }
  .trade-option-delta { min-height: 17px; padding: 0 4px; font-size: 9px; }
  .trade-option strong { font-size: 10px; white-space: normal; }
  .trade-maker, .equipment-trade-row time { font-size: 10px; text-align: center; white-space: normal; }
  .trade-history-empty { min-height: 330px; }
  .chart-plot, .chart-wrap.has-options .chart-plot { height: 500px; aspect-ratio: auto; }
  .no-price-chart { height: 320px; }
  .desktop-annotations { display: none; }
  .mobile-chart-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 8px; }
  .mobile-chart-metrics span { display: flex; align-items: center; justify-content: space-between; padding: 8px 9px; border: 1px solid #e0e6e4; border-radius: 5px; }
  .mobile-chart-metrics small { color: var(--muted); font-size: 10px; }
  .mobile-chart-metrics strong { font-size: 12px; }
  .chart-tooltip { min-width: 120px; padding: 8px 9px; }
  .info-rail { display: contents; }
  .price-rail { grid-area: price; padding-top: 18px; border-top: 1px solid #c4d0d2; }
  .item-facts { grid-area: facts; padding-top: 18px; border-top: 1px solid #c4d0d2; }
  .drop-summary { grid-area: drops; padding: 18px 0 2px; border-top: 1px solid #c4d0d2; }
  .drop-summary h2 { font-size: 14px; }
  .drop-monster-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .drop-monster-icon { width: 56px; height: 56px; }
  .drop-monster-list strong { font-size: 10px; }
  .price-info-head, .price-info-row, .shop-price-row { grid-template-columns: minmax(92px, 1.4fr) minmax(68px, 1fr) 54px 54px; gap: 4px; }
  .price-info-row { min-height: 44px; }
  .price-info-row strong { font-size: 11px; }
  .price-info-row > span { font-size: 10px; }
  .price-info-row > span:nth-child(2) { font-size: 11px; }
  .content-band { margin-top: 12px; padding: 17px 14px; }
  .related-list { grid-template-columns: 1fr 1fr; gap: 7px; }
  .related-list button { padding: 9px; gap: 8px; }
  .related-icon { width: 36px; height: 36px; }
  .information-page { width: calc(100% - 28px); padding: 28px 0 62px; }
  .information-hero { padding: 3px 1px 22px; }
  .information-hero h1 { font-size: 26px; }
  .information-hero span { margin-top: 10px; font-size: 13px; }
  .information-intro { margin-top: 14px; padding: 16px; }
  .information-sections { margin-top: 14px; }
  .information-sections section { padding: 18px 16px; }
  .information-sections h2 { font-size: 15px; }
  .information-sections p { font-size: 13px; }
  .notice-list li { grid-template-columns: 1fr; gap: 5px; padding: 16px 2px; }
  .notice-list a { font-size: 13px; }
  .contact-guide { gap: 18px; padding: 20px 16px; }
  .contact-email a { font-size: 14px; }
  .privacy-table-wrap { margin-top: 14px; }
  .footer-inner { width: calc(100% - 28px); gap: 13px; padding: 20px 0 22px; }
}

@media (min-width: 520px) and (max-width: 760px) {
  .market-row:not(.comparison-market-row) .item-name { white-space: nowrap; }
}

@media (max-width: 390px) {
  .header-primary { gap: 8px; }
  .brand-mark { width: 48px; height: 32px; }
  .brand strong { font-size: 15px; }
  .server-switch button, .server-switch span { min-width: 36px; padding-inline: 3px; }
  .category-chip { padding-inline: 10px; font-size: 12px; }
  .filter-toggle { padding-inline: 5px; }
  .filter-icon { width: 13px; }
  .detail-identity h1 { max-width: 140px; }
}
