.cross-compare { width: min(1100px, calc(100% - 64px)); padding-block: 27px 72px; }
.cross-compare .breadcrumbs { margin-bottom: 16px; }
.compare-title { margin-bottom: 20px; }
.compare-title h1 { margin-bottom: 7px; font-size: clamp(34px, 5vw, 60px); font-weight: 550; }
.compare-title p { color: var(--muted); font-size: 16px; }
.compare-search { display: grid; grid-template-columns: minmax(215px, .76fr) minmax(0, 1.5fr); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.compare-pick { padding: 17px 20px 15px; min-width: 0; }
.compare-pick-necchi { background: #f7f6f3; border-radius: 9px 0 0 9px; border-right: 1px solid var(--line); }
.compare-pick label { font-weight: 650; font-size: 14px; }
.compare-necchi-model { display: flex; align-items: center; gap: 11px; margin-top: 5px; }
.compare-necchi-model img { width: 74px; height: 54px; flex: none; object-fit: contain; mix-blend-mode: multiply; }
.compare-necchi-model select, .compare-input-row input { width: 100%; min-width: 0; min-height: 46px; background-color: #fff; border: 1px solid #aaa59b; border-radius: 5px; color: var(--ink); padding: 9px 11px; }
.compare-search-label { display: flex; flex-wrap: wrap; gap: 5px 13px; justify-content: space-between; align-items: center; min-height: 24px; }
.compare-ai { display: inline-flex; align-items: center; gap: 6px; color: #71383a; font-size: 12px; }
.compare-ai svg { width: 15px; height: 15px; }
.compare-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 6px 0 5px; }
.compare-input-row .btn { gap: 8px; min-height: 46px; padding: 8px 13px; border-radius: 5px; }
.compare-notice:empty { display: none; }
.compare-notice { margin: 8px 0; color: var(--muted); font-size: 13px; }
.compare-start { display: flex; flex-wrap: wrap; align-items: center; gap: 0 13px; }
.compare-start button { gap: 8px; font-size: 13px; }
.compare-start svg, .compare-share svg { width: 16px; height: 16px; }
#cross-result:not(:empty) { margin-top: 25px; }
.compare-result-head { display: flex; justify-content: space-between; align-items: end; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.compare-result-head h2, .compare-state-panel h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 550; margin-bottom: 5px; }
.compare-share { gap: 7px; flex: none; }
.compare-model-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 15px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.compare-model-card { min-width: 0; margin: 0; }
.compare-model-card + .compare-model-card { border-left: 1px solid var(--line); }
.compare-model-preview { --photo-height: clamp(138px, 19vw, 225px); position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; height: var(--photo-height); overflow: hidden; background: #fff; }
.compare-model-preview:focus-visible { outline-offset: -4px; }
.compare-licensed-photo img { width: min(100%, 295px); height: 100%; object-fit: cover; object-position: center 91%; }
.compare-photo-link { gap: 7px; padding: 10px 14px; color: #80202a; text-decoration: underline; text-underline-offset: 3px; text-align: center; font-size: 14px; }
.compare-photo-link svg { width: 15px; height: 15px; }
.compare-model-card figcaption { padding: 10px 12px 13px; text-align: center; }
.compare-model-name { display: inline-block; font-weight: 650; font-size: clamp(14px, 2.15vw, 19px); line-height: 1.25; }
.compare-model-name:hover, .compare-photo-credit a:hover { color: var(--red); }
.compare-photo-credit { display: block; font-size: 11px; line-height: 1.5; color: var(--muted); margin-top: 5px; }
.compare-photo-credit a { text-decoration: underline; text-underline-offset: 2px; }
.compare-toolbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 7px 14px; margin: 14px 0 9px; }
.compare-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.compare-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 6px 10px; font-weight: 600; font-size: 13px; border-radius: 5px; border: 1px solid var(--line); background: #fff; }
.compare-filters button:hover, .compare-filters button[aria-pressed="true"] { background: #f8ebec; border-color: #a52332; color: #80202a; }
.compare-filters button span { color: var(--muted); font-size: 11px; font-weight: 500; }
#compare-jumps { display: flex; flex-wrap: wrap; gap: 0 10px; }
.compare-jump { display: inline-flex; align-items: center; gap: 2px; min-height: 42px; padding: 0; font-size: 13px; color: #565249; }
.compare-jump:hover { color: var(--red); }
.compare-jump svg { width: 13px; height: 13px; }
.cross-table { width: 100%; border-spacing: 0; border-collapse: separate; table-layout: fixed; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.cross-table thead { position: sticky; top: var(--compare-header-height, 94px); z-index: 3; }
.cross-table thead th { background: #fff; padding: 12px 14px; border-bottom: 1px solid #c9c3b8; box-shadow: 0 5px 6px -6px #625e54; }
.cross-table th, .cross-table td { text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.cross-table thead th:first-child { width: 25%; vertical-align: middle; }
.cross-table thead th:last-child, .cross-table td:last-child { border-left: 1px solid var(--line); }
.cross-table thead th strong { display: block; color: var(--ink); font-size: clamp(15px, 2vw, 20px); line-height: 1.2; }
.cross-table thead th small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 4px; }
.cross-table thead th a { display: inline-flex; align-items: center; min-height: 30px; color: #82232e; font-weight: 550; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.cross-table .compare-category th { padding: 10px 14px; background: #eeeae2; color: #494239; font-size: 13px; font-weight: 650; scroll-margin-top: calc(var(--compare-header-height, 94px) + 107px); }
.compare-row > * { padding: 12px 14px; border-bottom: 1px solid #e9e5df; background: white; }
.compare-row th { font-weight: 550; }
.compare-row[data-row-state="different"] td { background: #fbf6f0; }
.compare-row[data-row-state="different"] th { box-shadow: inset 3px 0 #a52332; }
.compare-value { display: block; font-weight: 550; line-height: 1.42; }
.compare-unconfirmed { color: #635f56; font-size: 13px; }
.compare-conflict { color: #774514; font-size: 13px; }
.compare-conflict summary { cursor: pointer; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.compare-conflict ul { margin: 8px 0 0; padding-inline-start: 19px; color: var(--ink); }
.compare-conflict li + li { margin-top: 5px; }
.compare-sources { display: flex; flex-wrap: wrap; gap: 0 10px; }
.compare-sources a { display: inline-flex; align-items: center; gap: 3px; min-height: 29px; text-decoration: underline; text-underline-offset: 2px; color: #6f383b; font-size: 11px; }
.compare-sources a svg { width: 11px; height: 11px; transform: rotate(-40deg); }
.compare-state-panel { margin-block: 15px; border: 1px solid var(--line); border-radius: 8px; background: #f8f7f4; padding: 20px; }
.compare-state-panel p + p { margin-top: 7px; }
.compare-state-panel > .btn { margin-top: 10px; min-height: 44px; padding: 7px 11px; gap: 7px; }
.compare-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 13px 0 0; gap: 8px; }
.compare-variants button { width: 100%; min-height: 56px; justify-content: space-between; gap: 8px; text-align: start; padding: 9px 12px; border-radius: 5px; background: #fff; }
.compare-variants small { display: block; color: var(--muted); }
.compare-practical { margin-top: 30px; }
.compare-practical h3 { margin-bottom: 12px; font-size: 26px; }
.compare-practical > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 10px; }
.compare-practical article { border: 1px solid var(--line); border-top: 3px solid #a52332; border-radius: 5px; padding: 13px 14px; background: #fff; }
.compare-practical p { color: var(--muted); font-size: 14px; margin-top: 5px; }
.compare-method { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 13px; font-size: 14px; color: var(--muted); }
.compare-method summary { color: var(--ink); font-weight: 650; min-height: 44px; padding-block: 10px; cursor: pointer; }
.compare-method p { max-width: 740px; margin: 4px 0 10px; }
.compare-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pdp-comparison-link { gap: 8px; margin-top: 5px; font-weight: 650; color: #80202a; }
.pdp-comparison-link svg { width: 19px; height: 19px; }

@media (max-width: 740px) {
  .cross-compare { width: calc(100% - 32px); padding-top: 16px; }
  .compare-title h1 { font-size: clamp(26px, 6.6vw, 40px); }
  .compare-search { grid-template-columns: 1fr; }
  .compare-pick { padding: 10px 12px; }
  .compare-pick-necchi { border-radius: 9px 9px 0 0; border: 0; border-bottom: 1px solid var(--line); }
  .compare-pick-necchi label { margin-left: 61px; }
  .compare-necchi-model { margin-top: 2px; gap: 7px; }
  .compare-necchi-model img { width: 54px; height: 43px; }
  .compare-result-head { align-items: start; flex-wrap: wrap; gap: 0 8px; padding-top: 15px; }
  .compare-share { min-height: 40px; }
  .compare-model-card figcaption { padding-inline: 7px; }
  .compare-toolbar { margin-top: 8px; }
  .compare-jump { min-height: 39px; }
  .cross-table, .cross-table thead, .cross-table tbody { display: block; }
  .cross-table tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .cross-table thead th.compare-colname { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cross-table thead th { padding: 8px 9px 3px; }
  .cross-table thead th a { min-height: 42px; }
  .cross-table .compare-category th { grid-column: 1/-1; padding: 8px 9px; }
  .compare-row th { grid-column: 1/-1; padding: 9px 9px 4px; border-bottom: 0; background: #f8f7f4; }
  .compare-row[data-row-state="different"] th { background: #f4ece3; }
  .compare-row td { padding: 8px 9px 4px; }
  .compare-sources a { min-height: 44px; }
  .compare-variants { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .compare-input-row { grid-template-columns: 1fr; }
  .compare-filters { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare-filters button { padding-inline: 4px; font-size: 12px; gap: 4px; }
}
@media (max-width: 365px) {
  .compare-input-row .btn i { display: none; }
  .compare-filters button { padding-inline: 6px; font-size: 12px; }
}
