.internet-page {
  overflow-x: hidden;
}

.internet-page .tab[aria-current="page"] {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(29, 111, 214, 0.22);
}

.internet-hero .hero-main {
  min-height: 300px;
}

.internet-hero h1 {
  max-width: 900px;
}

.internet-compare-card,
.internet-detail-section,
.internet-policy-card {
  overflow: hidden;
}

.internet-rule-box {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #c8dfff;
  border-radius: 16px;
  background: #f8fbff;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}

.internet-rule-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.internet-rule-box p {
  margin: 0;
}

.internet-compare-shell {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid #c8dfff;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
}

.internet-slider-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(105deg, #0c2246 0%, #123b68 68%, #0f5b61 100%);
}

.internet-slider-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 217, 190, 0.25), transparent 68%);
}

.internet-slider-panel > * {
  position: relative;
  z-index: 1;
}

.internet-slider-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.internet-slider-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 14px;
}

.internet-current-price {
  margin: 0;
  line-height: 1;
  font-weight: 1000;
  white-space: nowrap;
}

.internet-current-price span {
  color: #54ddcb;
  font-size: clamp(60px, 7vw, 88px);
  letter-spacing: -0.04em;
}

.internet-current-price small {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 22px;
  font-weight: 900;
}

.internet-range-wrap {
  position: relative;
  min-width: 0;
}

.internet-slider-track {
  position: relative;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(96, 172, 239, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(38, 112, 224, 0.22);
}

.internet-slider-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #53dec8 0%, #61c9d1 100%);
  box-shadow: 0 0 24px rgba(83, 222, 200, 0.24);
}

.internet-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 46px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.internet-range::-webkit-slider-runnable-track {
  height: 46px;
  background: transparent;
}

.internet-range::-moz-range-track {
  height: 46px;
  background: transparent;
}

.internet-range::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: 8px;
  border: 2px solid #163252;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.28);
  -webkit-appearance: none;
}

.internet-range::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 2px solid #163252;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.28);
}

.internet-slider-ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 850;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  appearance: none;
  border: 1px solid #c8dfff;
  background: #ffffff;
  color: #31526d;
  border-radius: 999px;
  padding: 8px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip[aria-pressed="true"] {
  background: #0f604f;
  color: #ffffff;
  border-color: #0f604f;
}

.saving-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.saving-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.saving-card.best {
  border-color: #47d8ad;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffc 100%);
  box-shadow: 0 10px 24px rgba(15, 159, 134, 0.07);
}

.saving-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e9fbf6;
  color: #0f604f;
  font-size: 14px;
  font-weight: 1000;
}

.saving-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.saving-name {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.saving-value {
  color: #0f604f;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 1000;
  line-height: 1.05;
}

.saving-contract {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.saving-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #c8dfff;
  border-radius: 999px;
  background: #ffffff;
  color: #0f604f;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.saving-jump:hover,
.saving-jump:focus-visible {
  outline: none;
  border-color: #34c4aa;
  background: #e9fbf6;
}

.empty-note {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px dashed #bdd7fb;
  border-radius: 16px;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
}

.internet-detail-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.plan-panel {
  overflow: hidden;
  border: 1px solid #c8eef0;
  border-radius: 20px;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  scroll-margin-top: 90px;
}

.plan-panel.detail-highlight {
  border-color: #41cab9;
  box-shadow: 0 0 0 3px rgba(50, 199, 179, 0.14), 0 18px 34px rgba(16, 93, 85, 0.08);
}

.plan-top {
  display: grid;
  grid-template-columns: 315px minmax(0, 1fr);
}

.plan-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(180deg, #0c2246 0%, #0c244b 100%);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(83, 222, 200, 0.13);
  color: #bdfdf4;
  font-size: 12px;
  font-weight: 950;
}

.plan-price-wrap {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.plan-price-main {
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 0.95;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.plan-price-sub {
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 900;
}

.plan-side-note {
  color: rgba(231, 241, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.plan-side h3 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.45;
}

.plan-main {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfffd 100%);
}

.plan-lead {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid #3acdb8;
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.plan-info-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #c6efe7;
  border-radius: 16px;
  background: #f4fffb;
}

.plan-info-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f604f;
  font-size: 11px;
  font-weight: 950;
}

.plan-info-card b {
  display: block;
  margin-top: 6px;
  color: #145f54;
  font-size: 17px;
  line-height: 1.45;
}

.plan-info-card small,
.plan-info-note {
  display: block;
  margin-top: 4px;
  color: #3f726a;
  font-size: 12px;
  line-height: 1.6;
}

.plan-info-note {
  margin-top: 0;
  align-self: center;
  padding-left: 12px;
  border-left: 1px solid #d2e7e2;
}

.plan-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e9fbf6;
  color: #0f604f;
  font-size: 11px;
  font-weight: 950;
}

.tag.warn {
  background: #fff7ed;
  color: #b45309;
}

.plan-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plan-mini {
  display: grid;
  gap: 6px;
}

.plan-mini strong {
  font-size: 14px;
}

.plan-mini.merit strong {
  color: #0f9f86;
}

.plan-mini.caution strong {
  color: #b45309;
}

.plan-mini p {
  margin: 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.7;
}

.plan-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid #e5edf6;
  background: #fbfdff;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #bdd7fb;
  border-radius: 14px;
  background: #ffffff;
  color: #155bb2;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.action-btn.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.ad-note-slot {
  flex: 1 1 170px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.no-js-plan-list {
  display: block;
}

html.js-enabled .no-js-plan-list {
  display: none;
}

.fallback-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.fallback-grid article,
.policy-grid > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
  padding: 14px;
}

.fallback-grid strong,
.fallback-grid span {
  display: block;
}

.fallback-grid span {
  margin-top: 4px;
  color: #0f604f;
  font-weight: 950;
}

.fallback-grid p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.policy-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.policy-grid ul {
  margin: 0;
  padding-left: 1.2em;
  color: #475569;
  font-size: 13px;
  line-height: 1.75;
}

.internet-source-box {
  margin-bottom: 20px;
}

.internet-source-box span {
  flex: 1 1 100%;
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 980px) {
  .internet-slider-layout,
  .plan-top {
    grid-template-columns: 1fr;
  }

  .saving-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .internet-slider-panel {
    padding: 18px;
  }

  .internet-current-price span {
    font-size: 52px;
  }

  .internet-current-price small {
    font-size: 17px;
  }

  .saving-card-grid,
  .plan-info-card,
  .plan-mini-grid,
  .fallback-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .saving-card {
    grid-template-columns: 36px minmax(0, 1fr) 40px;
    min-height: 98px;
    padding: 14px;
    gap: 12px;
  }

  .saving-rank {
    width: 34px;
    height: 34px;
  }

  .saving-jump {
    width: 40px;
    height: 40px;
  }

  .plan-main,
  .plan-side,
  .plan-footer {
    padding: 18px;
  }

  .action-btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .internet-compare-shell {
    padding: 10px;
  }

  .internet-slider-panel {
    padding: 16px;
  }

  .filter-chip {
    max-width: 100%;
    padding: 7px 11px;
    font-size: 11px;
  }

  .saving-card {
    grid-template-columns: 34px minmax(0, 1fr) 38px;
    gap: 9px;
    padding: 12px;
  }

  .saving-name {
    font-size: 14px;
  }

  .saving-value {
    font-size: 22px;
  }
}
