:root {
  --ink: #222735;
  --muted: #7d8391;
  --teal: #232d48;
  --orange: #ef4e17;
  --line: #e3e5e9;
  --surface: #f5f6f8;
  font-family: Arial, "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #46598a;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  padding: 12px;
  background: var(--teal);
  color: white;
  z-index: 100;
}
.skip:focus {
  top: 0;
}
.masthead {
  background: #262930;
  color: #fff;
}
.header-inner {
  max-width: 1660px;
  margin: auto;
  min-height: 75px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.brand {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.brand span {
  font-size: 12px;
  margin-left: 6px;
  letter-spacing: 0;
  font-weight: 500;
}
.header-inner form {
  background: #f9fafb;
  border: 1px solid #d2d5de;
  border-radius: 4px;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 390px;
  min-width: 200px;
  color: #838896;
}
.header-inner form > i {
  padding-left: 14px;
  font-size: 17px;
}
.header-inner input {
  background: none;
  border: 0;
  width: 100%;
  min-width: 0;
  padding: 12px 10px;
  font-size: 14px;
  color: #363c4c;
}
.header-inner form button {
  background: none;
  border: 0;
  padding: 8px 12px;
  color: #5b6173;
}
.header-inner nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 22px;
  margin-left: auto;
  white-space: nowrap;
}
.header-inner nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  font-size: 13px;
  font-weight: 600;
}
.header-inner nav a.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #546289;
}
.nav-count {
  font-size: 10px;
  line-height: 19px;
  min-width: 19px;
  text-align: center;
  background: #3e4456;
  color: #c2c9de;
  border-radius: 10px;
}
.test-badge {
  font-size: 10px;
  color: #e6bc73;
  border: 1px solid #806943;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.age-marker {
  font-size: 10px;
  color: #afb2ba;
}
.page-shell {
  max-width: 1640px;
  margin: auto;
  padding: 27px 24px 58px;
  min-height: 75vh;
}
.page-intro {
  margin-bottom: 24px;
}
.page-intro h1 {
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: 0.015em;
  margin: 0 0 6px;
}
.page-intro p {
  font-size: 14px;
  color: #5d6375;
  margin: 0;
}
.intro-note {
  font-size: 11px !important;
  color: #8e929c !important;
  margin-top: 6px !important;
}
.workspace {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.filters {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 16px;
}
.filters > details > summary {
  display: none;
}
.filter-section {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.filter-title {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin: 0 0 14px;
}
.filter-title i {
  font-size: 11px;
  color: #7b808f;
}
.radio-label,
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5e6475;
  font-size: 13px;
  margin: 11px 0;
  cursor: pointer;
}
.filters input[type="radio"],
.filters input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--teal);
}
.budget-fields {
  display: flex;
  align-items: center;
  gap: 6px;
}
.budget-fields input {
  min-width: 0;
  width: calc(50% - 9px);
  height: 43px;
  border: 1px solid #d3d6df;
  background: #fcfdfe;
  border-radius: 3px;
  padding: 7px;
  font-size: 12px;
  color: #52586a;
}
.filter-help {
  font-size: 11px;
  color: #888c97;
  line-height: 1.9;
  margin: 12px 0 0;
}
.filter-reset {
  padding: 20px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #d0d3dc;
  border-radius: 4px;
  background: #fff;
  color: #53596b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.button:hover {
  background: #f2f4f6;
}
.button.primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.button.primary:hover {
  background: #192136;
}
.button.subtle {
  border: 0;
  background: none;
  color: #7e8493;
  font-weight: 400;
}
.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.full-width {
  width: 100%;
}
.results {
  min-width: 0;
}
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  margin: 8px 0 22px;
}
.tabs {
  display: flex;
  gap: 5px;
}
.tabs button {
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f3f4f6;
  color: #5f6575;
  font-size: 12px;
  white-space: nowrap;
}
.tabs button[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.tabs span {
  font-size: 11px;
  margin-left: 3px;
}
.sort-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #838896;
  white-space: nowrap;
}
.sort-group select {
  font-size: 12px;
  color: #5e6577;
  background: #fff;
  border: 1px solid #d3d6de;
  border-radius: 3px;
  padding: 10px 9px;
  max-width: 145px;
}
.list-count {
  color: #444a5c;
  white-space: nowrap;
  font-size: 12px;
}
.list-count strong {
  font-size: 15px;
}
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.price-table th {
  font-size: 11px;
  font-weight: 500;
  color: #7a7f8e;
  background: #f4f5f7;
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  text-align: left;
  white-space: nowrap;
}
.price-table th:first-child {
  width: auto;
  border-radius: 4px 0 0 0;
  padding-left: 12px;
}
.price-table th:nth-child(2) {
  width: 100px;
}
.price-table th:nth-child(3) {
  width: 104px;
}
.price-table th:nth-child(4) {
  width: 130px;
}
.price-table th:last-child {
  width: 58px;
  text-align: center;
}
.price-table td {
  height: 100px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  background: #fff;
}
.price-table tr.selected td {
  background: #f2f4f8;
  border-top: 1px solid #9ea8c2;
  border-bottom: 1px solid #9ea8c2;
}
.price-table tr.selected td:first-child {
  border-left: 1px solid #9ea8c2;
  border-radius: 4px 0 0 4px;
  padding-left: 9px;
}
.price-table tr.selected td:last-child {
  border-right: 1px solid #9ea8c2;
  border-radius: 0 4px 4px 0;
}
.product-cell {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.thumb-button {
  padding: 0;
  border: 0;
  background: #f0f1f3;
  border-radius: 2px;
  overflow: hidden;
  flex: 0 0 112px;
}
.thumb-button img {
  display: block;
  object-fit: cover;
  width: 112px;
  height: 70px;
}
.product-copy {
  min-width: 0;
  flex: 1;
}
.product-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: #272d3d;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.creator {
  font-size: 11px;
  color: #858995;
  line-height: 1.5;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #858b99;
}
.discount {
  display: inline-block;
  white-space: nowrap;
  background: #e4e8f0;
  color: #29375e;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 5px;
}
.price {
  font-size: 20px;
  color: var(--orange);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.old-price {
  font-size: 11px;
  color: #9da0a9;
  text-decoration: line-through;
  display: block;
  margin-top: 4px;
}
.record-price {
  font-size: 14px;
  font-weight: 700;
  color: #384054;
}
.record-date {
  display: block;
  font-size: 10px;
  color: #8a8f9b;
  margin-top: 5px;
}
.spark-holder {
  position: relative;
  width: 100%;
  height: 35px;
}
.save-cell {
  text-align: center;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border: 0;
  background: none;
  padding: 7px;
  font-size: 20px;
  color: #5e6475;
}
.icon-button.saved {
  color: #2f3f6d;
}
.detail-link {
  display: block;
  font-size: 10px;
  color: #445480;
  white-space: nowrap;
  margin-top: 3px;
}
.list-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  font-size: 11px;
  color: #8e929c;
}
.list-bottom button {
  border: 0;
  background: none;
  color: #5a637d;
  font-size: 11px;
}
.data-notice {
  font-size: 11px;
  color: #858a98;
  line-height: 1.9;
  margin: 14px 0;
}
.inspector {
  position: sticky;
  top: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 15px;
  min-width: 0;
  background: white;
}
.inspector-cover {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.inspector h2 {
  font-size: 21px;
  line-height: 1.6;
  margin: 12px 0 3px;
}
.inspector .creator {
  font-size: 12px;
  margin-bottom: 10px;
}
.tag-list {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tag-list span {
  font-size: 11px;
  background: #f0f2f7;
  color: #5e6579;
  padding: 3px 7px;
  border-radius: 3px;
}
.inspector-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 19px 0 0;
}
.inspector-price-row .price {
  font-size: 35px;
}
.inspector-price-row .old-price {
  display: inline;
  font-size: 12px;
  margin-left: 7px;
}
.inspector-price-row .discount {
  font-size: 16px;
  padding: 4px 7px;
}
.updated-label {
  font-size: 12px;
  color: #868b99;
  margin: 2px 0 15px;
}
.inspector-chart {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.inspector-chart h3 {
  font-size: 13px;
  margin: 0 0 9px;
}
.chart-box {
  height: 155px;
  position: relative;
}
.inspector-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 15px 0 18px;
}
.inspector-stats > div {
  padding-right: 8px;
}
.inspector-stats > div + div {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.inspector-stats span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 4px;
}
.inspector-stats strong {
  display: block;
  font-size: 23px;
  line-height: 1.4;
  color: #32394d;
}
.inspector-stats small {
  font-size: 10px;
  color: #888d9a;
}
.inspector-stats .green {
  color: #2a3a64;
}
.inspector .button + .button {
  margin-top: 9px;
}
.inspector-footnote {
  font-size: 10px;
  color: #888c98;
  line-height: 1.8;
  margin: 13px 0 0;
}
.empty-state {
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed #d6d9e2;
  background: #fbfcfc;
  border-radius: 4px;
}
.empty-state > i {
  font-size: 35px;
  color: #878d9f;
}
.empty-state h2 {
  font-size: 20px;
  margin: 13px 0 7px;
}
.empty-state p {
  font-size: 13px;
  color: #828896;
  margin: 0 0 20px;
}
.loading-state {
  padding: 100px 20px;
  text-align: center;
  color: #838895;
}
.footer {
  max-width: 1640px;
  margin: auto;
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.07em;
}
.footer-logo span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 5px;
}
.footer p {
  font-size: 11px;
  color: #8f939f;
  margin: 7px 0;
}
.footer nav {
  display: flex;
  gap: 23px;
  align-items: center;
  flex-wrap: wrap;
}
.footer nav a {
  font-size: 11px;
  color: #787e8c;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 10px;
  color: #9195a1;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 8px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  max-width: 90vw;
  background: #2c3240;
  color: #fff;
  border-radius: 5px;
  padding: 12px 21px;
  font-size: 13px;
  z-index: 50;
  box-shadow: 0 4px 20px #1f243022;
}
dialog {
  width: 390px;
  max-width: calc(100vw - 30px);
  border: 1px solid #dee1e8;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  color: var(--ink);
}
dialog::backdrop {
  background: #1e233388;
  backdrop-filter: blur(4px);
}
.dialog-brand {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.age-caption {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #8f95a3;
  margin: 7px 0 22px;
}
dialog h2 {
  font-size: 23px;
  margin: 0 0 15px;
}
dialog p {
  font-size: 13px;
  color: #797e8e;
  line-height: 2;
}
dialog .button {
  width: 100%;
  margin: 15px 0 2px;
}
dialog small {
  font-size: 10px;
  color: #8c91a0;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #858b99;
  margin-bottom: 20px;
}
.breadcrumb a {
  color: #4f5b7d;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 35px;
  max-width: 1260px;
  margin: auto;
}
.detail-main {
  min-width: 0;
}
.detail-title {
  font-size: 31px;
  line-height: 1.5;
  margin: 5px 0 8px;
}
.detail-main > .creator {
  font-size: 14px;
}
.detail-cover {
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  margin: 20px 0;
}
.sample-notice {
  background: #fff9ed;
  border: 1px solid #ecdfc1;
  color: #896b32;
  padding: 11px 14px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.8;
  margin: 15px 0;
}
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 23px;
}
.detail-panel h2 {
  font-size: 14px;
  margin: 0 0 10px;
}
.detail-panel .price {
  font-size: 38px;
}
.detail-panel .button {
  width: 100%;
  margin-top: 10px;
}
.detail-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 15px;
}
.detail-chart-head h2 {
  font-size: 20px;
  margin: 0;
}
.range-tabs {
  display: flex;
  gap: 4px;
}
.range-tabs button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px 12px;
  font-size: 12px;
}
.range-tabs button[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.large-chart {
  height: 270px;
  position: relative;
  padding: 15px 0;
}
.price-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 25px 0;
}
.price-summary span {
  font-size: 12px;
  color: #858b99;
}
.price-summary strong {
  display: block;
  font-size: 24px;
  margin-top: 5px;
}
.facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.facts th,
.facts td {
  border-bottom: 1px solid var(--line);
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
}
.facts th {
  width: 140px;
  color: #7c8190;
  font-weight: 500;
  background: #f8f9f9;
}
.section-title {
  font-size: 20px;
  margin: 30px 0 15px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-product {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.related-product img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  display: block;
}
.related-product > div {
  padding: 12px;
}
.related-product h3 {
  font-size: 13px;
  margin: 0 0 8px;
}
.related-product .price {
  font-size: 20px;
}
.prose {
  max-width: 820px;
  margin: 20px auto 40px;
}
.prose h1 {
  font-size: 32px;
}
.prose h2 {
  font-size: 21px;
  margin: 30px 0 12px;
}
.prose p,
.prose li {
  font-size: 14px;
  line-height: 2.1;
  color: #5e6476;
}
.prose ul {
  padding-left: 22px;
}
.prose a {
  color: #3c4b74;
  text-decoration: underline;
}
.compare-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compare-table th,
.compare-table td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  min-width: 150px;
  font-size: 13px;
}
.compare-table th {
  width: 150px;
  font-size: 12px;
  font-weight: 500;
  background: #f8f9fa;
  color: #7f8493;
}
.compare-table img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: 3px;
}
.compare-table h2 {
  font-size: 16px;
  line-height: 1.6;
}
.compare-table .price {
  font-size: 27px;
}
.compare-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0;
}
.stale-warning {
  font-size: 11px;
  color: #996916;
  margin: 7px 0;
}
.no-image {
  aspect-ratio: 1.7;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #848a98;
}
.not-found {
  max-width: 650px;
  margin: 60px auto;
  text-align: center;
}
@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: 220px minmax(0, 1fr) 320px;
    gap: 22px;
  }
  .price-table td {
    height: 108px;
  }
  .thumb-button {
    flex-basis: 120px;
  }
  .thumb-button img {
    width: 120px;
    height: 74px;
  }
  .product-title {
    font-size: 15px;
  }
}
@media (max-width: 1300px) {
  .header-inner {
    gap: 20px;
  }
  .brand {
    font-size: 25px;
  }
  .header-inner nav {
    gap: 17px;
  }
  .header-inner nav a {
    font-size: 12px;
  }
  .age-marker {
    display: none;
  }
  .workspace {
    grid-template-columns: 180px minmax(0, 1fr) 270px;
    gap: 16px;
  }
  .price-table th:nth-child(4) {
    width: 100px;
  }
  .thumb-button {
    flex-basis: 90px;
  }
  .thumb-button img {
    width: 90px;
    height: 63px;
  }
  .price-table th:nth-child(2) {
    width: 83px;
  }
  .price-table th:nth-child(3) {
    width: 88px;
  }
  .product-cell {
    gap: 10px;
  }
  .price-table td {
    padding: 12px 8px;
  }
  .price {
    font-size: 18px;
  }
  .product-title {
    font-size: 13px;
  }
  .inspector {
    padding: 13px;
  }
  .inspector h2 {
    font-size: 19px;
  }
  .inspector-price-row .price {
    font-size: 30px;
  }
  .inspector-price-row .discount {
    font-size: 13px;
  }
  .inspector-stats strong {
    font-size: 21px;
  }
  .tabs button {
    padding: 10px;
    font-size: 11px;
  }
  .sort-group {
    gap: 8px;
  }
  .sort-group > label {
    font-size: 0;
  }
  .sort-group select {
    font-size: 11px;
    max-width: 130px;
  }
}
@media (max-width: 1120px) {
  .test-badge {
    display: none;
  }
  .header-inner form {
    min-width: 180px;
  }
  .workspace {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .inspector {
    display: none;
  }
  .product-title {
    font-size: 14px;
  }
  .thumb-button {
    flex-basis: 112px;
  }
  .thumb-button img {
    width: 112px;
    height: 70px;
  }
  .price-table th:nth-child(4) {
    width: 120px;
  }
  .price-table th:nth-child(2) {
    width: 95px;
  }
  .price-table th:nth-child(3) {
    width: 100px;
  }
  .price {
    font-size: 20px;
  }
  .page-intro h1 {
    font-size: 31px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 25px;
  }
}
@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 17px 20px 0;
    gap: 17px;
    min-height: 115px;
  }
  .brand {
    font-size: 25px;
  }
  .header-inner form {
    max-width: none;
    flex: 1;
  }
  .header-inner nav {
    width: 100%;
    order: 3;
    margin: 0;
    gap: 28px;
    min-height: 44px;
  }
  .header-inner nav a {
    font-size: 12px;
    padding-bottom: 10px;
  }
  .page-shell {
    padding: 23px 20px 40px;
  }
  .page-intro h1 {
    font-size: 27px;
  }
  .page-intro p {
    font-size: 13px;
  }
  .workspace {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
  }
  .filters {
    padding: 0 12px;
  }
  .filter-title {
    font-size: 12px;
  }
  .radio-label,
  .check-label {
    font-size: 12px;
  }
  .price-table th:nth-child(4),
  .price-table td:nth-child(4) {
    display: none;
  }
  .price-table th:nth-child(3) {
    width: 90px;
  }
  .price-table th:nth-child(2) {
    width: 85px;
  }
  .price-table th:last-child {
    width: 46px;
  }
  .thumb-button {
    flex-basis: 80px;
  }
  .thumb-button img {
    width: 80px;
    height: 60px;
  }
  .product-title {
    font-size: 12px;
  }
  .creator {
    font-size: 10px;
  }
  .price-table td {
    height: 96px;
    padding: 11px 6px;
  }
  .price-table th {
    font-size: 10px;
    padding: 10px 6px;
  }
  .price {
    font-size: 18px;
  }
  .tabs button {
    font-size: 10px;
    padding: 9px 8px;
    min-height: 40px;
  }
  .tabs span {
    font-size: 9px;
  }
  .results-toolbar {
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
  }
  .sort-group {
    width: 100%;
    justify-content: space-between;
  }
  .sort-group select {
    padding: 8px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-panel {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .detail-panel > .sample-notice,
  .detail-panel > .data-notice {
    grid-column: span 2;
  }
  .detail-panel .button {
    align-self: start;
  }
  .detail-title {
    font-size: 27px;
  }
  .footer {
    padding: 26px 20px;
  }
  .footer-note {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .header-inner {
    padding: 16px 16px 0;
    gap: 14px;
  }
  .brand {
    font-size: 24px;
  }
  .brand span {
    font-size: 10px;
  }
  .header-inner form {
    width: 100%;
    order: 2;
    flex: auto;
  }
  .header-inner input {
    font-size: 14px;
    padding: 11px;
  }
  .header-inner nav {
    order: 3;
    gap: 18px;
    min-height: 41px;
    justify-content: space-between;
  }
  .header-inner nav a {
    font-size: 11px;
    gap: 4px;
  }
  .header-inner .test-badge {
    display: block;
    margin-left: auto;
    font-size: 9px;
  }
  .saved-label {
    display: none;
  }
  .header-inner nav .bi {
    font-size: 15px;
  }
  .nav-count {
    font-size: 10px;
    min-width: 17px;
    line-height: 17px;
  }
  .page-shell {
    padding: 22px 14px 35px;
  }
  .page-intro {
    margin-bottom: 17px;
  }
  .page-intro h1 {
    font-size: 24px;
  }
  .page-intro p {
    font-size: 12px;
    line-height: 1.9;
  }
  .intro-note {
    font-size: 10px !important;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .filters {
    padding: 0 14px;
  }
  .filters > details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 13px;
    min-height: 46px;
    cursor: pointer;
    list-style: none;
  }
  .filters summary::-webkit-details-marker {
    display: none;
  }
  .filter-section {
    padding: 15px 0;
  }
  .filter-section .radio-label,
  .filter-section .check-label {
    display: inline-flex;
    margin: 6px 14px 6px 0;
    font-size: 12px;
  }
  .filter-title {
    font-size: 13px;
    margin-bottom: 9px;
  }
  .filter-help {
    font-size: 10px;
  }
  .budget-fields input {
    font-size: 13px;
    width: calc(50% - 10px);
  }
  .filter-reset {
    padding: 15px 0;
  }
  .results-toolbar {
    gap: 12px;
  }
  .tabs {
    width: 100%;
    gap: 5px;
  }
  .tabs button {
    font-size: 11px;
    flex: 1;
    padding: 10px 6px;
  }
  .tabs span {
    font-size: 10px;
  }
  .sort-group {
    font-size: 11px;
  }
  .list-count {
    font-size: 11px;
  }
  .price-table th {
    font-size: 9px;
    padding: 10px 6px;
  }
  .price-table th:nth-child(3),
  .price-table td:nth-child(3) {
    display: none;
  }
  .price-table th:nth-child(2) {
    width: 76px;
  }
  .price-table th:last-child {
    width: 45px;
  }
  .price-table td {
    padding: 12px 5px;
    height: 100px;
  }
  .price-table th:first-child {
    padding-left: 6px;
  }
  .price-table tr.selected td:first-child {
    padding-left: 5px;
  }
  .product-cell {
    gap: 8px;
  }
  .thumb-button {
    flex-basis: 73px;
  }
  .thumb-button img {
    width: 73px;
    height: 59px;
  }
  .product-title {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 3px;
  }
  .creator {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 4px;
  }
  .product-meta {
    font-size: 9px;
  }
  .discount {
    font-size: 9px;
    padding: 1px 4px;
  }
  .price {
    font-size: 18px;
  }
  .old-price {
    font-size: 10px;
  }
  .icon-button {
    font-size: 18px;
    padding: 7px;
    min-width: 32px;
  }
  .detail-link {
    font-size: 9px;
  }
  .list-bottom {
    font-size: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .data-notice {
    font-size: 10px;
  }
  .footer nav {
    gap: 13px;
  }
  .footer nav a {
    font-size: 10px;
  }
  .footer-note {
    font-size: 9px;
  }
  .detail-title {
    font-size: 25px;
  }
  .detail-main > .creator {
    font-size: 13px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .detail-panel {
    padding: 17px;
    gap: 0 10px;
  }
  .detail-panel .price {
    font-size: 30px;
  }
  .detail-panel .button {
    font-size: 12px;
    padding: 11px 9px;
  }
  .detail-chart-head h2 {
    font-size: 18px;
  }
  .large-chart {
    height: 220px;
  }
  .price-summary {
    gap: 9px;
  }
  .price-summary span {
    font-size: 10px;
  }
  .price-summary strong {
    font-size: 20px;
  }
  .facts th {
    width: 105px;
  }
  .facts td,
  .facts th {
    font-size: 12px;
    padding: 12px 8px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .related-product h3 {
    font-size: 12px;
  }
  .related-product .price {
    font-size: 18px;
  }
  .prose h1 {
    font-size: 27px;
  }
  .prose h2 {
    font-size: 20px;
  }
  .prose p,
  .prose li {
    font-size: 13px;
  }
  .compare-actions {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .compare-table td,
  .compare-table th {
    padding: 13px;
  }
  .compare-table h2 {
    font-size: 14px;
  }
  .compare-table .price {
    font-size: 24px;
  }
  .empty-state {
    padding: 40px 15px;
  }
  .empty-state h2 {
    font-size: 18px;
  }
  .empty-state p {
    font-size: 12px;
  }
}
@media (min-width: 1301px) {
  .price-table .price {
    font-size: 24px;
  }
  .price-table .record-price {
    font-size: 16px;
  }
  .price-table .product-title {
    font-size: 16px;
  }
  .price-table th {
    font-size: 12px;
  }
  .workspace {
    grid-template-columns: 200px minmax(0, 1fr) 340px;
  }
  .page-intro h1 {
    font-size: 36px;
  }
  .price-table th:nth-child(2) {
    width: 110px;
  }
  .price-table th:nth-child(3) {
    width: 115px;
  }
  .price-table th:nth-child(4) {
    width: 155px;
  }
  .price-table th:last-child {
    width: 68px;
  }
  .thumb-button {
    flex-basis: 120px;
  }
  .thumb-button img {
    width: 120px;
    height: 72px;
  }
  .inspector h2 {
    font-size: 22px;
  }
  .inspector-price-row .price {
    font-size: 38px;
  }
}
.inspector-cover,
.detail-cover,
.related-product img,
.compare-table img {
  height: auto;
}
.inspector-cover {
  aspect-ratio: 1.65;
}
@media (min-width: 1121px) {
  .product-title {
    font-size: 15px;
  }
  .creator {
    font-size: 12px;
  }
  .price-table .product-meta {
    font-size: 11px;
  }
  .record-price {
    font-size: 15px;
  }
  .record-date {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Comparison and active conditions remain available on narrow screens. */
.row-compare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 32px;
  min-width: 46px;
  padding: 4px 2px;
  color: #555d72;
  border: 0;
  background: transparent;
  border-radius: 4px;
  font-size: 11px;
}
.row-compare:hover {
  background: #eceef2;
}
.row-compare.chosen {
  color: #243460;
  background: #e5e8f0;
}
.row-compare i {
  font-size: 13px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: -7px 0 17px;
}
.filter-chip-caption {
  color: #7b808c;
  font-size: 11px;
  margin-right: 3px;
}
.filter-chips button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d4d7e0;
  border-radius: 18px;
  background: #f2f3f7;
  color: #3c4660;
  padding: 5px 10px;
  font-size: 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.filter-chips .clear-conditions {
  border: 0;
  color: #777d8b;
  background: none;
  font-size: 11px;
}
.availability-note {
  background: #fff8e9;
  color: #816a39;
  padding: 10px 13px;
  font-size: 12px;
  border-radius: 4px;
}
.comparison-dock {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1060px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #c2c7d5;
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 5px 30px #1f243026;
}
.dock-summary {
  flex-shrink: 0;
}
.dock-summary strong {
  display: block;
  color: #31394e;
  font-size: 14px;
}
.dock-summary strong span {
  font-size: 12px;
  font-weight: 400;
  margin-left: 6px;
}
.dock-summary small {
  display: block;
  font-size: 11px;
  color: #838894;
  margin-top: 3px;
}
.dock-items {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}
.dock-items button {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid #dde0e8;
  background: #f5f7fa;
  color: #5a6072;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.dock-items button i {
  margin-left: auto;
  font-size: 15px;
}
.comparison-dock > .button {
  white-space: nowrap;
  min-width: 148px;
}
.has-comparison-dock {
  padding-bottom: 110px;
}
.has-comparison-dock #toast {
  bottom: 135px;
}
@media (max-width: 820px) {
  .comparison-dock {
    width: calc(100% - 28px);
    padding: 12px;
    gap: 12px;
    bottom: 14px;
  }
  .dock-items {
    display: none;
  }
  .dock-summary {
    flex: 1;
  }
}
@media (max-width: 600px) {
  .price-table th:last-child {
    width: 54px;
  }
  .save-cell .icon-button,
  .row-compare {
    min-height: 44px;
    min-width: 44px;
  }
  .row-compare {
    font-size: 10px;
    gap: 3px;
  }
  .row-compare i {
    font-size: 12px;
  }
  .comparison-dock {
    bottom: 10px;
    width: calc(100% - 20px);
    gap: 8px;
  }
  .dock-summary strong {
    font-size: 13px;
  }
  .dock-summary small {
    font-size: 10px;
  }
  .comparison-dock > .button {
    min-width: 122px;
    padding: 10px;
    font-size: 12px;
  }
  .filter-chips button {
    min-height: 36px;
    font-size: 11px;
  }
}
.personal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.recommendation-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dfe1e6;
  background: #f6f7f9;
  border-radius: 6px;
  margin-bottom: 28px;
}
.recommendation-summary div {
  padding: 18px;
  color: #606470;
  font-size: 13px;
}
.recommendation-summary strong {
  display: inline;
  color: #282b35;
  font-size: 22px;
  margin-bottom: 5px;
}
@media (max-width: 600px) {
  .header-inner nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    height: auto;
  }
  .header-inner nav a {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
  }
}
.suggestion-grid,
.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.suggestion-card,
.creator-card,
.alert-card {
  border: 1px solid #dfe1e6;
  border-radius: 6px;
  background: white;
  padding: 18px;
}
.suggestion-card > a {
  text-decoration: none;
  color: inherit;
}
.suggestion-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
}
.suggestion-card h2 {
  font-size: 17px;
  line-height: 1.6;
  margin: 12px 0 5px;
}
.suggestion-price {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.suggestion-price .price {
  font-size: 23px;
}
.recommendation-reason {
  font-size: 12px;
  color: #2b3552;
  background: #f2f3f6;
  padding: 10px;
  line-height: 1.7;
  min-height: 40px;
}
.suggestion-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.suggestion-actions .button {
  min-height: 40px;
}
.onboarding {
  padding: 28px;
  background: #f4f6f9;
  border: 1px solid #dfe1e6;
  border-radius: 6px;
  margin: 20px 0 32px;
}
.onboarding h2 {
  margin: 0 0 12px;
  font-size: 22px;
}
.onboarding p {
  max-width: 800px;
  line-height: 1.9;
  color: #5b606c;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 28px;
}
.settings-section {
  border: 1px solid #dfe1e6;
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
  background: white;
}
.settings-section h2 {
  font-size: 18px;
  margin: 0 0 14px;
}
.settings-section p {
  font-size: 13px;
  line-height: 1.9;
  color: #5b606c;
}
.preference-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.preference-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #dfe1e6;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.preference-check:has(input:checked) {
  background: #eaecf1;
  border-color: #2f3d64;
  color: #242d48;
}
.exclusions .preference-check:has(input:checked) {
  background: #fff0e9;
  border-color: #ad5930;
  color: #854221;
}
.settings-section input[type="number"],
.target-input input {
  display: block;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #c2c5ce;
  border-radius: 4px;
  width: min(100%, 240px);
}
.managed-item {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e8e9ec;
  font-size: 13px;
}
.managed-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.file-label {
  display: block;
  margin: 20px 0 10px;
  font-size: 13px;
  line-height: 1.7;
}
.settings-aside input[type="file"] {
  width: 100%;
  font-size: 12px;
}
.creator-card h2,
.alert-card h2 {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.creator-card p {
  font-size: 13px;
  color: #5b606c;
}
.creator-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.alert-list {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}
.alert-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.alert-card p {
  font-size: 13px;
}
.personal-controls {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #dfe1e6;
}
.personal-controls h3 {
  margin: 0 0 12px;
  font-size: 15px;
}
.personal-controls .button {
  margin-bottom: 8px;
  min-height: 44px;
}
.personal-controls form {
  margin-top: 16px;
  font-size: 13px;
}
.target-input {
  display: flex;
  gap: 6px;
  align-items: center;
}
.target-input input {
  min-width: 0;
  margin: 10px 0;
}
.target-input .button {
  margin: 0;
}
.related-product p {
  font-size: 12px;
  color: #2b3552;
}
@media (max-width: 900px) {
  .suggestion-grid,
  .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .suggestion-grid,
  .creator-grid {
    grid-template-columns: 1fr;
  }
  .recommendation-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .recommendation-summary div {
    padding: 14px;
  }
  .settings-section,
  .onboarding {
    padding: 20px;
  }
  .alert-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .personal-toolbar .button {
    min-height: 44px;
  }
}
