/* SL Compare Two 0.1.0 — すべて .slc2- で始まるクラスだけに当てる（既存カード・v9には当てない） */
.slc2-add {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 40px; margin: 8px 0 0; padding: 8px 12px;
  border: 1px solid #22252a; border-radius: 6px; background: #fff; color: #22252a;
  font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.3; cursor: pointer;
}
.slc2-add:hover { background: #f4f3f1; }
.slc2-add[aria-pressed="true"] { background: #22252a; color: #fff; }
.slc2-add:focus-visible, .slc2-btn:focus-visible, .slc2-linkbtn:focus-visible, .slc2-tray__open:focus-visible { outline: 3px solid #ff6a4d; outline-offset: 2px; }
.slc2-itembar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0 16px; }
.slc2-itembar .slc2-add { width: auto; margin: 0; padding: 8px 16px; }
.slc2-itembar__note { font-size: 12px; color: #6b7078; }
.slc2-handoff { margin: 0 0 10px; padding: 10px 12px; border-left: 3px solid #22252a; background: #f4f3f1; font-size: 13px; line-height: 1.6; }

.slc2-tray {
  position: fixed; left: 12px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 9980;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  max-width: min(420px, calc(100vw - 104px));
}
.slc2-tray[hidden] { display: none !important; }
.slc2-tray__open {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 8px 8px 14px;
  border: 1px solid #22252a; border-radius: 999px; background: #fff; color: #22252a;
  box-shadow: 0 4px 16px #15181e26; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.slc2-tray__go { padding: 7px 14px; border-radius: 999px; background: #22252a; color: #fff; }
.slc2-tray__msg { margin: 0; padding: 8px 12px; border-radius: 8px; background: #22252a; color: #fff; font-size: 12.5px; line-height: 1.5; box-shadow: 0 4px 16px #15181e26; }
.slc2-tray__msg .slc2-linkbtn { color: #fff; margin-left: 8px; }

.slc2-dialog {
  position: fixed; inset: 0; margin: auto; height: fit-content;
  width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0;
  border: 0; border-radius: 12px; background: #fff; color: #22252a; box-shadow: 0 12px 40px #15181e40;
}
.slc2-dialog::backdrop { background: #15181e80; }
.slc2-dialog__head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid #e2e0dc; background: #fff;
}
.slc2-dialog__title { margin: 0; padding: 0; border: 0; background: none; font-size: 17px; font-weight: 800; line-height: 1.4; }
.slc2-dialog__title::before, .slc2-dialog__title::after { content: none; }
.slc2-dialog__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f4f3f1; color: #22252a; font-size: 22px; line-height: 1; cursor: pointer; }
.slc2-dialog__body { padding: 14px 16px 20px; font-size: 14px; line-height: 1.6; }
.slc2-dialog__body p { margin: 0; }

.slc2-lead { margin: 0 0 12px !important; }
.slc2-lead a { display: inline-block; margin-left: 6px; }
.slc2-warn { margin: 0 0 10px !important; padding: 8px 12px; border-radius: 6px; background: #fff7e6; color: #5b3a00; font-size: 13px; }
.slc2-small { font-size: 12px; color: #5c6168; line-height: 1.55; }
.slc2-strong { font-weight: 700; }
.slc2-note { margin: 2px 0 10px !important; }
.slc2-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #f4f3f1; }
.slc2-controls label { font-size: 13px; font-weight: 700; }
.slc2-controls .slc2-small { flex-basis: 100%; }
.slc2-select { min-height: 40px; padding: 4px 8px; border: 1px solid #b9bcc2; border-radius: 6px; background: #fff; font: inherit; font-size: 14px; }

.slc2-grid { display: flex; flex-direction: column; }
.slc2-row { padding: 10px 0; border-top: 1px solid #e2e0dc; }
.slc2-row__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; padding: 0; border: 0; background: none; font-size: 12.5px; font-weight: 800; color: #4a4f57; }
.slc2-row__title::before, .slc2-row__title::after { content: none; }
.slc2-row__cells { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slc2-grid--one .slc2-row__cells { grid-template-columns: 1fr; }
.slc2-grid--one .slc2-row--head .slc2-row__cells { grid-template-columns: 1fr 1fr; }
.slc2-cell { min-width: 0; overflow-wrap: anywhere; }
.slc2-cell > * + * { margin-top: 3px !important; }
.slc2-cell--none { color: #6b7078; font-size: 13px; }
.slc2-cell--none small { display: block; font-size: 12px; }
.slc2-cell--empty { padding: 10px; border: 1px dashed #b9bcc2; border-radius: 8px; color: #5c6168; font-size: 13px; }
.slc2-cell--empty a { display: block; margin-top: 4px; }
.slc2-maker { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #c0392b; }
.slc2-name { display: block; font-size: 15px; font-weight: 800; color: #22252a; line-height: 1.4; }
.slc2-price { font-size: 19px; font-weight: 900; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.slc2-price small { margin-left: 2px; font-size: 11px; font-weight: 600; color: #5c6168; }
.slc2-spec { font-size: 13px; }
.slc2-spec__k { display: block; font-size: 11px; color: #6b7078; }
.slc2-spec small { display: block; font-size: 11px; color: #8a5a00; }
.slc2-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.slc2-tags li { margin: 0; padding: 2px 8px; border: 1px solid #d5d3cf; border-radius: 999px; font-size: 12px; }
.slc2-tags li.is-only { border-color: #22252a; font-weight: 700; }
.slc2-tags li small { margin-left: 4px; font-size: 10.5px; font-weight: 600; color: #5c6168; }
.slc2-details { margin-top: 6px; }
.slc2-details summary { cursor: pointer; font-size: 12.5px; font-weight: 700; }
.slc2-companies { margin: 6px 0 0; padding: 0 0 0 1.2em; }
.slc2-companies li { margin: 0 0 6px; }
.slc2-company { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.slc2-company b { font-variant-numeric: tabular-nums; white-space: nowrap; }

.slc2-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 10px 12px;
  border-radius: 6px; background: #fff3f0; color: #c0392b; font-size: 13px; font-weight: 700; text-decoration: none; line-height: 1.35;
}
.slc2-cta::after { content: "→"; font-weight: 700; }
.slc2-cta:hover { background: #ffe1da; color: #a3231a; }

.slc2-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid #22252a; border-radius: 6px; background: #22252a; color: #fff;
  font: inherit; font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.slc2-btn:hover { background: #383d44; color: #fff; }
.slc2-btn--ghost { background: #fff; color: #22252a; }
.slc2-btn--ghost:hover { background: #f4f3f1; color: #22252a; }
.slc2-btn--line { border-color: #06c755; background: #06c755; color: #fff; }
.slc2-btn--line:hover { background: #05a948; color: #fff; }
.slc2-linkbtn { padding: 0; border: 0; background: none; color: #22252a; font: inherit; font-size: 12px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.slc2-choices { display: flex; flex-direction: column; gap: 8px; }

.slc2-foot { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #f4f3f1; font-size: 12px; color: #4a4f57; }
.slc2-foot p + p { margin-top: 4px !important; }
.slc2-share, .slc2-save { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #e2e0dc; }
.slc2-share__title { margin: 0 0 4px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 800; }
.slc2-share__title::before, .slc2-share__title::after { content: none; }
.slc2-share__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.slc2-url { width: 100%; min-height: 36px; padding: 4px 8px; border: 1px solid #d5d3cf; border-radius: 6px; font-size: 12px; color: #4a4f57; }
.slc2-save .slc2-btn { margin-top: 8px; }

@media (max-width: 600px) {
  .slc2-dialog { width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
  .slc2-dialog__body { padding: 12px 12px 28px; }
  .slc2-row__cells { gap: 8px; }
  .slc2-price { font-size: 17px; }
  .slc2-name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .slc2-dialog, .slc2-tray { transition: none; } }
