/* Home: warm editorial color, compact discovery, one clear card description. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% 40%, #f7e8bf80, transparent 55%),
    linear-gradient(115deg, #fffcf7 20%, #f6f1e6);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 24px -8% auto auto;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid #b9a47330;
  border-radius: 50%;
  transform: rotate(-12deg);
}
.hero-inner {
  max-width: 1240px;
  margin: auto;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 370px;
}
.hero h1 {
  font-size: clamp(40px, 4.1vw, 56px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.035em;
}
.hero-description {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin: 18px 0 22px;
}
.hero-art {
  min-width: 0;
}
.hero-art img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border: 1px solid #cdbca5;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 4px 0 #d3ba9126,
    0 8px 24px #382b2506;
  max-width: 490px;
}
.search-form:focus-within {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}
.search-form > svg {
  width: 20px;
  color: var(--brown);
}
.search-form input {
  flex: 1;
  width: 0;
  min-width: 0;
  padding: 8px 0;
  min-height: 42px;
  font-size: 16px;
  background: transparent;
  border: 0;
  outline: none;
}
.search-form input::placeholder {
  color: var(--muted);
}
.search-form button {
  padding: 10px 18px;
  min-height: 44px;
  background: var(--brown);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
}
.rankings {
  padding-top: 32px;
  padding-bottom: 48px;
  scroll-margin-top: 20px;
}
.category-strip {
  margin-bottom: 30px;
  scroll-margin-top: 20px;
}
.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.category-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 1;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.category-button .theme-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}
.category-button.active {
  color: var(--brown);
  border-color: var(--brown);
  background: linear-gradient(110deg, #fcf3df, #fffaf2);
  box-shadow: inset 0 -2px 0 var(--brown);
}
.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.sort-control select {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}
.results-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -10px 0 20px;
  font-size: 13px;
  color: var(--muted);
}
#result-count {
  flex: 1;
}
.results-bar button {
  background: none;
  min-height: 40px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.articles-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.articles-more .outline-button {
  background: var(--paper);
  min-width: 240px;
  min-height: 48px;
  justify-content: center;
}
.articles-more:has(button[hidden]) {
  display: none;
}
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.ranking-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform var(--motion-state) var(--ease-out),
    border-color var(--motion-state),
    box-shadow var(--motion-state);
}
.rankings .ranking-card:first-child {
  border-color: #ccb685;
}
.rankings .ranking-card:first-child .card-body {
  background: linear-gradient(150deg, #fbf4e4, #fff 80%);
}
.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--paper);
}
.card-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-image > .save-button {
  position: absolute;
  top: 12px;
  right: 12px;
}
.card-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.card-kicker span {
  padding: 2px 7px;
  border-radius: 4px;
  background: #f6f0e3;
  color: var(--brown);
  white-space: nowrap;
}
.card-body h3 {
  font-size: 24px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.card-description {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  font-size: 12px;
  color: var(--brown);
}
.round-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f6f0e3;
  color: var(--brown);
}
.round-arrow svg {
  width: 18px;
  transition: transform var(--motion-state) var(--ease-out);
}
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.ranking-card:has(.card-link:focus-visible) {
  outline: 3px solid var(--brown);
  outline-offset: 4px;
}
.card-link:focus-visible {
  outline: none;
}
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border: 1px dashed #c9b99f;
  border-radius: var(--radius);
}
.empty-state > img {
  width: 80px;
  margin: 0 auto 16px;
}
.empty-state h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.about-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto 64px;
  padding: 30px;
  background: linear-gradient(110deg, #eee9de, #f5efdf);
  border-radius: var(--radius);
}
.banner-crown {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fffaf1;
  color: #b38423;
}
.banner-crown svg {
  width: 32px;
  height: 32px;
}
.about-banner h2 {
  font-size: 23px;
  margin-bottom: 8px;
}
.about-banner p {
  font-size: 14px;
  color: var(--muted);
}
.about-banner .outline-button {
  margin-left: auto;
  white-space: nowrap;
}
/* Article introduction and navigation. */
.article-page {
  padding-top: 24px;
  padding-bottom: 64px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
}
.article-header {
  position: relative;
  min-width: 0;
}
.article-title-icon {
  display: none;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.pill {
  display: inline-block;
  padding: 4px 10px;
  background: #eee9de;
  border-radius: 5px;
  color: var(--brown);
  font-size: 12px;
}
.ad-badge {
  font-size: 12px;
  color: var(--muted);
}
.article-header h1 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.article-header > p {
  font-size: 16px;
  line-height: 1.9;
}
.article-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 14px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}
.article-meta > span {
  grid-column: 1;
}
.article-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-save {
  margin-left: auto;
  grid-column: 2;
  grid-row: 1 / span 3;
}
.article-footer-note {
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 12px;
}
.article-footer-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-thumbnail {
  margin: 0;
  min-width: 0;
}
.article-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}
.article-jump {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  margin-bottom: 28px;
  background: #fffcf7f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.article-jump a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  white-space: nowrap;
  font-size: 13px;
  border-radius: 8px;
  transition:
    background-color var(--motion-state),
    color var(--motion-state);
}
.article-jump a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brown);
  transform: scaleX(0);
  transition: transform var(--motion-state) var(--ease-out);
}
.article-jump a[aria-current="location"] {
  background: #f3ecdd;
  color: var(--brown);
}
.article-jump a[aria-current="location"]::after {
  transform: scaleX(1);
}
.article-jump a:focus-visible {
  outline-offset: -3px;
}
.mobile-toc {
  display: none;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 36px;
  align-items: start;
}
.article-content {
  min-width: 0;
}
.article-content h2[id],
.rank-item,
.pick-card {
  scroll-margin-top: 88px;
}
.article-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 22px;
  font-size: 13px;
}
.sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 16px;
}
.sidebar-title .theme-icon {
  width: 32px;
  height: 32px;
}
.compare-anchor {
  display: block;
  color: var(--brown);
  font-weight: 700;
  padding: 10px 12px;
  background: #f4eddd;
  border-radius: 8px;
}
.article-sidebar ol {
  padding-left: 22px;
  margin: 16px 0 20px;
}
.article-sidebar li {
  padding: 6px 0;
}
.article-sidebar li::marker {
  color: var(--muted);
  font-size: 12px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
}
.back-link svg {
  width: 18px;
}
/* Purpose-based choices lead directly to specifications or a shop. */
.purpose-picks {
  margin-bottom: 36px;
}
.picks-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.picks-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.picks-heading h2 {
  font-size: 25px;
}
.purpose-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.purpose-options button {
  border: 1px solid #cbbba5;
  border-radius: 24px;
  background: #fff;
  padding: 9px 14px;
  font-size: 13px;
  min-height: 44px;
}
.purpose-options button[aria-pressed="true"] {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}
.pick-status {
  font-size: 13px;
  color: var(--brown);
  margin-top: 12px;
}
.pick-status:empty {
  display: none;
}
.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.pick-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, #fffdf8, #fff);
  transition:
    background-color var(--motion-state),
    border-color var(--motion-state);
}
.pick-card .product-photo {
  --photo-height: 150px;
  --photo-padding: 12px;
  margin: 0 0 14px;
  min-width: 0;
}
.pick-card.is-picked {
  border-color: #a77b2b;
  background: #fff6dd;
  box-shadow: inset 0 3px 0 var(--gold);
}
.pick-use {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 14px;
}
.pick-maker {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.pick-card h3 {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.pick-benefit {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 12px;
}
.pick-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pick-detail {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pick-actions .shop-link {
  justify-content: center;
  padding: 11px 8px;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
/* Comparison: sticky names and an edge cue for horizontal overflow. */
.comparison {
  margin: 36px 0 44px;
}
.comparison-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 12px;
}
.comparison h2 {
  font-size: 26px;
}
.comparison-count {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.comparison-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.compare-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(110deg, #f1ecdf, #f7f3e9);
  border-radius: 12px 12px 0 0;
}
.compare-controls p {
  font-size: 13px;
}
.compare-controls > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.compare-controls button {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--brown);
  color: #fff;
  font-size: 13px;
}
.compare-controls button:disabled {
  background: #ded6c8;
  color: #62564a;
}
.compare-controls #compare-reset {
  background: #fff;
  color: var(--brown);
  border: 1px solid #cbbba5;
}
.table-wrap {
  position: relative;
}
.table-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 24px;
  background: linear-gradient(90deg, transparent, #7963401f);
  pointer-events: none;
  opacity: 1;
  transition: opacity var(--motion-state);
  z-index: 4;
}
.table-wrap[data-overflow="false"] + .scroll-hint {
  display: none;
}
.table-wrap[data-at-end="true"]::after {
  opacity: 0;
}
.table-scroll {
  overflow: auto;
  max-height: 640px;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  overscroll-behavior-x: contain;
  scrollbar-color: #bbaa91 #f1ecdf;
}
.table-scroll table {
  width: 100%;
  min-width: 780px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.85;
  font-variant-numeric: tabular-nums;
}
.table-scroll th,
.table-scroll td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eee8db;
  min-width: 118px;
  font-size: 13px;
  font-weight: 700;
}
.table-scroll tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 272px;
  background: #fffdf8;
  border-right: 1px solid var(--line);
  font-weight: 500;
}
.comparison-product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
}
.table-scroll .product-photo {
  --photo-height: 56px;
  --photo-padding: 0px;
  display: contents;
}
.table-scroll .product-photo-stage {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  border: 0;
}
.table-scroll .product-photo-stage img:not([width="1"]) {
  width: auto;
  max-width: 56px;
  max-height: 56px;
}
.table-scroll .product-photo figcaption {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 2px;
}
.comparison-product-name {
  grid-column: 2;
  grid-row: 1;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.comparison-product > .compare-choice {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}
.table-scroll .media-status {
  grid-column: 1 / -1;
  grid-row: 4;
  padding: 8px;
  font-size: 12px;
}
.table-scroll thead th:first-child {
  left: 0;
  z-index: 3;
  width: 272px;
}
.table-scroll tbody th a {
  display: block;
}
.table-scroll tbody th strong {
  font-size: 14px;
}
.table-scroll tbody th small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.table-scroll tbody tr:nth-child(even) > * {
  background: #f8f5ee;
}
.table-scroll tbody tr:focus-within > * {
  background: #f5efdf;
}
.table-scroll tbody tr.is-selected td,
.table-scroll tbody tr.is-selected th {
  background: #fff3ce;
}
.table-scroll tr:last-child > * {
  border-bottom: 0;
}
.compare-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 12px;
  color: var(--brown);
  cursor: pointer;
  margin-top: 8px;
}
.compare-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--brown);
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.compare-choice:has(input:disabled) {
  color: var(--muted);
  cursor: default;
}
.unknown-value {
  color: var(--muted);
}
.scroll-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
/* Reading rhythm: typography and open space separate chapters. */
.chapter-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin: 36px 0 24px;
}
.chapter-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.chapter-heading h2 {
  font-size: 26px;
}
.chapter-heading > span {
  margin-left: auto;
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
}
.guide-diagram {
  padding: 24px;
  background: linear-gradient(130deg, #f4efe4, #f8f5ef);
  border-radius: 14px;
  margin-bottom: 24px;
}
.diagram-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.diagram-heading h3 {
  font-size: 18px;
  line-height: 1.8;
}
.diagram-heading .theme-icon {
  width: 36px;
  height: 36px;
}
.guide-diagram > img {
  width: 100%;
  object-fit: contain;
}
.diagram-keys {
  display: none;
}
.criteria-box {
  border-left: 3px solid #c6ac7a;
  padding: 4px 0 4px 20px;
  margin: 24px 0;
}
.criteria-box summary,
.article-history summary {
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  padding-block: 10px;
}
.criteria-box[open] summary {
  margin-bottom: 8px;
}
.criteria-box p {
  font-size: 15px;
  line-height: 1.95;
}
.buying-guide {
  margin: 36px 0 48px;
}
.buying-guide h2 {
  font-size: 23px;
  margin-bottom: 24px;
}
.buying-guide h3 {
  font-size: 20px;
  line-height: 1.75;
  margin: 28px 0 12px;
}
.buying-guide p {
  font-size: 16px;
  line-height: 1.95;
}
.article-illustration {
  margin: 32px 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.article-illustration img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}
.illustration-use img {
  max-height: var(--photo-height, 360px);
}
.illustration-check img {
  max-width: 300px;
  max-height: 200px;
  margin: auto;
}
/* Product details: original external media remains unaltered. */
.rank-item {
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--line);
}
.item-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.rank-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  min-height: 68px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f1e4c4, #f6f0e5);
  color: var(--brown);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.rank-number small {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
}
.product-maker {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 5px;
}
.product-maker span {
  display: inline-block;
  overflow-wrap: anywhere;
}
.item-heading h2 {
  font-size: 26px;
  line-height: 1.6;
}
.rank-item > p {
  font-size: 16px;
  line-height: 1.95;
}
.rank-item .product-lead {
  font-size: 20px;
  line-height: 1.8;
  font-weight: 700;
  margin: 24px 0 12px;
}
.product-photo {
  margin: 22px 0;
}
.product-photo-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: var(--photo-height, 240px);
  padding: var(--photo-padding, 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: visible;
  position: relative;
  box-shadow: none;
  transform: none;
}
.product-photo-stage > a {
  max-width: 100%;
  position: static;
}
.product-photo-stage img {
  height: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  box-shadow: none;
  transform: none;
  clip-path: none;
  opacity: 1;
}
.product-photo-stage img[width="1"] {
  position: absolute;
  max-width: 1px;
  max-height: 1px;
}
.product-photo figcaption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 8px;
}
.product-photo figcaption a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-photo-stage.is-unavailable {
  display: none;
}
.media-status {
  padding: 18px;
  border: 1px dashed #c9bba7;
  background: #f8f6f0;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
}
.media-status a {
  display: block;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 8px;
}
.product-specs {
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.85;
}
.product-specs > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}
.product-specs > div:first-child {
  border-top: 1px solid var(--line);
}
.product-specs dt {
  font-weight: 700;
  color: var(--brown);
}
.product-specs dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.item-verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.editor-reason {
  padding: 20px;
  background: #f6efdf;
  border-radius: 10px;
}
.editor-reason > strong,
.product-caution > strong {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
.editor-reason > p,
.product-caution {
  font-size: 14px;
  line-height: 1.95;
}
.product-caution {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.shop-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
  transition:
    transform var(--motion-fast) var(--ease-out),
    background-color var(--motion-state),
    box-shadow var(--motion-state);
}
.shop-link:active {
  transform: scale(0.98);
}
.amazon-link {
  background: #f2d38f;
  color: #49301c;
  box-shadow: inset 0 -2px 0 #c8a45240;
}
.rakuten-link {
  background: var(--red);
  color: #fff;
  box-shadow: inset 0 -2px 0 #65241e40;
}
.shop-link > span:not(.sr-only) {
  font-size: 20px;
}
.product-evidence {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 24px;
  font-size: 13px;
}
.evidence-title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.product-evidence ul {
  padding-left: 20px;
  margin: 0;
}
.product-evidence a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.evidence-date {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.evidence-details summary {
  cursor: pointer;
  min-height: 44px;
  font-size: 13px;
  padding-block: 10px;
}
.evidence-scope,
.evidence-pending {
  font-size: 13px;
  line-height: 1.9;
}
.evidence-pending {
  margin-top: 6px;
}
.back-to-comparison {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 12px;
}
.mascot-tip {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin-top: 32px;
  background: linear-gradient(90deg, #faf1dc, transparent);
}
.mascot-tip strong {
  font-size: 15px;
  color: var(--brown);
}
.mascot-tip p {
  font-size: 15px;
  margin-top: 10px;
}
.article-history {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
  padding: 8px 0;
}
.article-history ul {
  padding-left: 20px;
  margin: 12px 0;
  font-size: 13px;
}
.article-history li {
  padding-block: 6px;
}
.article-history time {
  display: block;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.archived-products {
  margin-top: 40px;
}
.archived-products > h2 {
  font-size: 23px;
}
.archived-products > p,
.archived-notice {
  font-size: 14px;
  color: var(--muted);
}
.archived-notice {
  padding: 16px;
  background: #f0eeea;
  border-radius: 8px;
  margin-bottom: 20px;
}
.archived-toc {
  color: var(--muted);
}
.related {
  margin-top: 64px;
}
@media (hover: hover) and (pointer: fine) {
  .category-button:hover {
    border-color: #ac8a61;
    background: #fff8ea;
  }
  .ranking-card:hover {
    transform: translateY(-4px);
    border-color: #b9a484;
    box-shadow:
      0 6px 10px #382b2506,
      0 18px 34px #382b2512;
  }
  .ranking-card:hover .round-arrow svg {
    transform: translateX(3px);
  }
  .article-jump a:hover {
    background: #f3ecdd;
  }
  .article-sidebar a:hover,
  .table-scroll tbody th a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .amazon-link:hover {
    background: #ebc572;
    box-shadow: 0 4px 12px #aa843019;
  }
  .rakuten-link:hover {
    background: #90372e;
    box-shadow: 0 4px 12px #90372e19;
  }
  .search-form button:hover {
    background: #603521;
  }
  .purpose-options button:hover:not([aria-pressed="true"]) {
    background: #fcf3df;
  }
}
@media (max-width: 1100px) {
  .hero-inner {
    padding-inline: 28px;
    gap: 24px;
  }
  .ranking-grid {
    gap: 20px;
  }
  .card-body {
    padding: 18px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 28px;
  }
  .article-intro {
    gap: 24px;
  }
  .picks-grid {
    grid-template-columns: 1fr;
  }
  .pick-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 0 20px;
    padding: 20px;
  }
  .pick-card .product-photo,
  .pick-use,
  .pick-maker,
  .pick-card h3,
  .pick-benefit {
    grid-column: 1;
  }
  .pick-actions {
    grid-column: 2;
    grid-row: 1/6;
    align-self: center;
    margin: 0;
  }
  .pick-use {
    margin-bottom: 6px;
  }
  .pick-benefit {
    margin-bottom: 0;
  }
  .about-banner {
    margin-inline: 28px;
  }
  .about-banner .outline-button {
    white-space: normal;
    min-width: 150px;
  }
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-sidebar {
    display: none;
  }
  .mobile-toc {
    display: block;
    font-size: 13px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }
  .mobile-toc summary {
    min-height: 44px;
    padding-block: 10px;
    cursor: pointer;
  }
  .mobile-toc li {
    padding-block: 5px;
  }
  .article-intro {
    grid-template-columns: 1fr 1fr;
  }
  .article-header h1 {
    font-size: 27px;
  }
  .article-header > p {
    font-size: 15px;
  }
  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-description br {
    display: none;
  }
  .about-banner {
    flex-wrap: wrap;
  }
  .about-banner .outline-button {
    margin-left: 88px;
  }
  .comparison-count {
    font-size: 12px;
  }
  .item-heading h2 {
    font-size: 25px;
  }
}
@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px 8px;
    padding: 28px 20px 26px;
    min-height: 0;
  }
  .hero-copy {
    display: contents;
  }
  .hero h1 {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(27px, 7.1vw, 42px);
    line-height: 1.55;
    letter-spacing: 0;
  }
  .hero-art {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .hero-art img {
    width: 100%;
    max-height: 160px;
  }
  .hero-description {
    grid-column: 1/-1;
    grid-row: 2;
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.85;
    max-width: 500px;
  }
  .search-form {
    grid-column: 1/-1;
    grid-row: 3;
    width: 100%;
    max-width: none;
    margin-top: 4px;
    padding-left: 12px;
  }
  .search-form button {
    padding-inline: 16px;
  }
  .rankings {
    padding-top: 24px;
    padding-bottom: 28px;
  }
  .category-strip {
    margin-bottom: 26px;
  }
  .category-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .category-button {
    min-height: 46px;
    font-size: 12px;
    padding: 6px 8px;
    gap: 6px;
  }
  .category-button .theme-icon,
  .all-topics {
    width: 27px;
    height: 27px;
  }
  .rankings .section-heading {
    align-items: flex-start;
  }
  .sort-control > span {
    display: none;
  }
  .sort-control select {
    font-size: 12px;
    max-width: 130px;
  }
  .results-bar {
    font-size: 12px;
    margin-top: -12px;
    margin-bottom: 16px;
  }
  .ranking-grid {
    gap: 20px;
  }
  .card-body h3 {
    font-size: 22px;
  }
  .card-description {
    font-size: 14px;
  }
  .card-kicker {
    font-size: 12px;
  }
  .card-kicker span {
    font-size: 11px;
  }
  .about-banner {
    margin: 0 20px 40px;
    padding: 24px;
    gap: 16px;
  }
  .banner-crown {
    width: 48px;
    height: 48px;
  }
  .banner-crown svg {
    width: 28px;
    height: 28px;
  }
  .about-banner > div:not(.banner-crown) {
    flex: 1;
    min-width: 180px;
  }
  .about-banner h2 {
    font-size: 21px;
  }
  .about-banner .outline-button {
    margin-left: 0;
    width: 100%;
  }
  .article-page {
    padding-top: 18px;
  }
  .breadcrumbs {
    font-size: 12px;
    margin-bottom: 20px;
    gap: 6px;
  }
  .article-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 22px;
  }
  .article-header h1 {
    font-size: 28px;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .article-header > p {
    font-size: 16px;
  }
  .article-tags {
    margin-bottom: 12px;
    gap: 6px 10px;
  }
  .article-meta {
    margin-top: 12px;
    gap: 2px 12px;
  }
  .article-thumbnail {
    max-width: 320px;
    width: 100%;
    margin-inline: auto;
  }
  .article-jump {
    gap: 0;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-block: 8px;
  }
  .article-jump a {
    font-size: 12px;
    padding: 8px 9px;
    min-height: 44px;
  }
  .article-jump a::after {
    left: 9px;
    right: 9px;
  }
  .mobile-toc {
    margin-bottom: 14px;
    padding-bottom: 0;
  }
  .picks-heading h2 {
    font-size: 23px;
  }
  .picks-heading {
    gap: 10px;
    margin-bottom: 12px;
  }
  .picks-heading p {
    font-size: 12px;
  }
  .purpose-options {
    gap: 7px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3px 3px 8px;
    margin-inline: -3px;
    scrollbar-width: thin;
  }
  .purpose-options button {
    flex-shrink: 0;
    font-size: 12px;
    padding: 9px 12px;
  }
  .picks-grid {
    gap: 14px;
    margin-top: 16px;
  }
  .pick-card {
    display: flex;
    padding: 20px;
  }
  .pick-use {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .pick-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
  }
  .pick-benefit {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .pick-actions {
    align-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
  }
  .pick-actions .shop-link {
    font-size: 13px;
  }
  .comparison {
    margin-block: 32px 36px;
  }
  .comparison h2 {
    font-size: 24px;
  }
  .comparison-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .comparison-count {
    font-size: 12px;
  }
  .compare-controls {
    padding: 14px;
  }
  .table-scroll {
    max-height: 560px;
  }
  .table-scroll table {
    min-width: 700px;
    font-size: 14px;
  }
  .table-scroll tbody th,
  .table-scroll thead th:first-child {
    width: 180px;
  }
  .table-scroll th,
  .table-scroll td {
    padding: 14px 12px;
  }
  .comparison-product {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 4px 8px;
  }
  .table-scroll .product-photo {
    --photo-height: 40px;
  }
  .table-scroll .product-photo-stage {
    width: 40px;
    height: 40px;
  }
  .table-scroll .product-photo-stage img:not([width="1"]) {
    max-width: 40px;
    max-height: 40px;
  }
  .comparison-product > .compare-choice {
    grid-column: 1 / -1;
  }
  .table-scroll .product-photo-stage {
    grid-row: 1;
  }
  .table-scroll tbody th strong {
    font-size: 14px;
  }
  .table-scroll tbody th small {
    font-size: 12px;
  }
  .table-scroll thead th {
    font-size: 12px;
    min-width: 110px;
  }
  .chapter-heading {
    gap: 10px;
    padding-top: 24px;
    margin: 32px 0 22px;
  }
  .chapter-heading h2 {
    font-size: 23px;
  }
  .chapter-heading p {
    font-size: 12px;
  }
  .guide-diagram {
    padding: 18px;
  }
  .diagram-heading {
    gap: 8px;
  }
  .diagram-heading h3 {
    font-size: 17px;
  }
  .diagram-heading .theme-icon {
    width: 30px;
    height: 30px;
  }
  .diagram-keys {
    display: grid;
    gap: 8px;
    list-style: none;
    padding: 12px 0 0;
    margin: 0;
  }
  .diagram-keys li {
    display: flex;
    gap: 10px;
    font-size: 12px;
    line-height: 1.8;
  }
  .diagram-keys strong {
    min-width: 108px;
    color: var(--brown);
  }
  .diagram-keys span {
    color: var(--muted);
  }
  .buying-guide h2 {
    font-size: 22px;
  }
  .buying-guide h3 {
    font-size: 19px;
  }
  .buying-guide p {
    font-size: 16px;
  }
  .article-illustration {
    margin-block: 28px;
  }
  .illustration-use img {
    max-height: 280px;
  }
  .illustration-check img {
    max-width: 270px;
    max-height: 180px;
  }
  .item-heading {
    gap: 12px;
  }
  .item-heading h2 {
    font-size: 23px;
  }
  .rank-number {
    width: 52px;
    min-height: 62px;
    font-size: 25px;
  }
  .product-maker {
    font-size: 12px;
  }
  .rank-item {
    padding-block: 28px 34px;
  }
  .rank-item .product-lead {
    font-size: 19px;
  }
  .product-photo-stage {
    padding: var(--photo-padding, 18px);
    min-height: var(--photo-height, 220px);
  }
  .product-specs > div {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 6px;
  }
  .product-specs {
    font-size: 14px;
  }
  .item-verdict {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .editor-reason,
  .product-caution {
    padding: 18px;
  }
  .shop-links {
    gap: 10px;
  }
  .shop-link {
    font-size: 13px;
    padding: 12px;
  }
  .related {
    margin-top: 48px;
  }
}
@media (max-width: 520px) {
  .ranking-grid {
    grid-template-columns: 1fr;
  }
  .card-body {
    padding: 20px;
  }
  .card-description {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .card-body h3 {
    font-size: 24px;
  }
}
@media (max-width: 360px) {
  .hero-inner {
    padding-inline: 16px;
    grid-template-columns: minmax(0, 1fr) 88px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-description {
    font-size: 14px;
  }
  .search-form {
    gap: 8px;
  }
  .search-form button {
    padding-inline: 12px;
  }
  .article-header h1 {
    font-size: 25px;
  }
  .article-jump a {
    font-size: 11px;
    padding-inline: 6px;
  }
  .about-banner {
    margin-inline: 16px;
  }
  .pick-actions {
    grid-template-columns: 1fr;
  }
  .pick-detail {
    min-height: 40px;
  }
  .card-body {
    padding: 18px;
  }
  .shop-links {
    grid-template-columns: 1fr;
  }
  .picks-heading h2 {
    font-size: 21px;
  }
}

@media(max-width:760px){.category-button{min-width:0;white-space:normal}.category-button>span:last-child{overflow-wrap:anywhere}.category-button .theme-icon,.category-button .all-topics{flex-shrink:0}}

/* Keep the full expanded category catalog reachable without pushing articles away. */
.category-buttons {
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  gap:8px;
  padding:3px 2px 10px;
  scroll-padding-inline:4px;
}
.category-button {flex:0 0 auto;white-space:nowrap;min-height:46px;}
.category-button>span:last-child {overflow-wrap:normal;}
@media (max-width:700px) {
  .category-strip {margin-bottom:18px;}
}
