:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #5e6875;
  --line: #dfe4ea;
  --soft: #eef3f7;
  --accent: #256f7a;
  --accent-dark: #174f58;
  --teal: #f85800;
  --teal-dark: #a33700;
  --teal-soft: #fff1e8;
  --teal-line: #ffc4a3;
  --note: #fff7ed;
  --note-line: #fed7aa;
  --shadow: 0 12px 30px rgba(23, 32, 42, 0.06);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #17202a, #256f7a);
  font-weight: 900;
}

.site-logo strong,
.site-logo small {
  display: block;
}

.site-logo small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.global-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: #2c3642;
  font-size: 14px;
  font-weight: 800;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.wiki-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(37, 111, 122, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 111, 122, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 34px 34px;
}

.wiki-hero__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 38px;
}

.wiki-hero h1 {
  max-width: 820px;
  margin: 6px 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.2;
  letter-spacing: 0;
}

.wiki-hero p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.label {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-strip,
.wiki-index,
.suggested-categories,
.category-layout,
.category-header,
.article-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto;
}

.section-heading {
  margin: 0 0 14px;
}

.section-heading h2 {
  margin: 2px 0 0;
  font-size: 26px;
  line-height: 1.35;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.news-card,
.category-banner,
.suggestion-list article,
.wiki-panel,
.widget,
.article-header,
.summary-box,
.article-body,
.related-posts,
.category-summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.news-card {
  padding: 16px;
}

.news-card h3 {
  margin: 8px 0;
  font-size: 17px;
  line-height: 1.45;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.meta span {
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
}

.ad-slot {
  width: min(100%, 760px);
  min-height: 92px;
  margin: 24px auto;
  display: grid;
  place-items: center;
  border: 1px dashed #aab5c2;
  border-radius: var(--radius);
  color: #6b7280;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.ad-slot--wide {
  width: min(960px, calc(100% - 32px));
}

.ad-slot--side {
  min-height: 250px;
  margin: 0;
}

.category-group {
  margin-top: 24px;
}

.category-group h3 {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 4px solid var(--accent);
  font-size: 18px;
}

.category-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-banner {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.category-banner::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  opacity: 0.16;
  background: currentColor;
}

.category-banner span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.category-banner strong {
  display: block;
  margin: 8px 0;
  font-size: 19px;
  line-height: 1.45;
}

.category-banner small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.category-banner--gpu { color: #256f7a; }
.category-banner--cpu { color: #4f46e5; }
.category-banner--board { color: #7c3aed; }
.category-banner--power { color: #b45309; }
.category-banner--cooler { color: #0284c7; }
.category-banner--case { color: #475569; }
.category-banner--memory { color: #15803d; }
.category-banner--storage { color: #0f766e; }
.category-banner--terms { color: #be123c; }
.category-banner--gadget { color: #9333ea; }

.suggestion-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.suggestion-list article {
  padding: 16px;
}

.suggestion-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: stretch;
}

.category-header > div:first-child {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.category-header h1 {
  margin: 4px 0 8px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.2;
}

.category-header p:last-child {
  margin: 0;
  color: var(--muted);
}

.category-summary-card,
.wiki-panel,
.widget,
.article-header,
.summary-box,
.article-body,
.related-posts {
  padding: 22px;
}

.category-summary-card ul,
.summary-box ul,
.check-list {
  margin: 10px 0 0;
  padding-left: 22px;
}

.category-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.main-column,
.article-main {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.sidebar {
  display: grid;
  gap: 16px;
}

.start-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.start-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.start-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.start-card strong {
  display: block;
  margin: 6px 0;
  line-height: 1.45;
}

.start-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.compact-post-list {
  display: grid;
  gap: 10px;
}

.compact-post-list article {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.compact-post-list article:last-child {
  border-bottom: 0;
}

.compact-post-list time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.compact-post-list h3 {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.45;
}

.topic-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.topic-columns h3,
.widget h2,
.related-posts h2 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.4;
}

.link-list {
  margin: 0;
  padding-left: 20px;
}

.link-list li {
  margin: 8px 0;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.2;
}

.button--primary {
  color: #fff;
  background: var(--accent);
}

.button--primary:hover {
  background: var(--accent-dark);
}

.button--full {
  width: 100%;
}

.widget--buy {
  border-color: rgba(37, 111, 122, 0.25);
  background: #f1fbfc;
}

.widget p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.article-layout {
  grid-template-columns: minmax(0, 790px) 320px;
}

.article-header h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.28;
}

.article-header p {
  margin: 0;
  color: var(--muted);
}

.summary-box {
  border-color: rgba(37, 111, 122, 0.25);
  background: #f1fbfc;
}

.summary-box h2,
.article-body h2,
.affiliate-box h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.4;
}

.article-body h2 {
  margin-top: 34px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  color: #344050;
}

.term-box,
.affiliate-box {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--note-line);
  border-radius: var(--radius);
  background: var(--note);
}

.term-box p,
.affiliate-box p {
  margin: 6px 0 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
}

.mistake-list {
  display: grid;
  gap: 12px;
}

.mistake-list section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.mistake-list h3 {
  margin: 0 0 6px;
}

.mistake-list p {
  margin: 0;
}

.check-list li {
  margin: 8px 0;
}

.shop-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.shop-buttons a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: #17202a;
  color: #fff;
  font-weight: 900;
}

.shop-buttons a:nth-child(2) {
  background: #b45309;
}

.shop-buttons a:nth-child(3) {
  background: var(--accent);
}

.site-footer {
  padding: 32px 16px;
  color: #d5dbe3;
  background: #17202a;
  text-align: center;
}

.site-footer p {
  margin: 0 0 10px;
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-page {
  --teal: #f85800;
  --teal-dark: #a33700;
  --teal-soft: #fff1e8;
  --teal-line: #ffc4a3;
  background: #f3f5f6;
}

.top-notice {
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.top-notice__inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-notice p {
  margin: 0;
}

.top-notice__links {
  display: flex;
  gap: 14px;
  white-space: nowrap;
}

.media-header {
  position: static;
  background: #fff;
  border-bottom: 0;
  backdrop-filter: none;
}

.media-brand {
  width: min(1240px, calc(100% - 32px));
  min-height: 102px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 360px) 44px;
  gap: 18px;
  align-items: center;
}

.media-logo .site-logo__mark {
  width: 62px;
  height: 62px;
  background: var(--teal);
  font-size: 21px;
}

.media-logo strong {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: 0;
}

.media-logo small {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  height: 42px;
  border: 1px solid #cbd5dd;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.search-box input {
  min-width: 0;
  border: 0;
  padding: 0 12px;
  font: inherit;
}

.search-box button {
  border: 0;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  cursor: pointer;
}

.media-header .nav-toggle {
  display: none;
}

.media-nav {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.media-nav a {
  min-height: 52px;
  padding: 10px 13px;
  border-left: 1px solid #edf0f3;
  border-radius: 0;
  font-size: 13px;
}

.media-nav a:last-child {
  border-right: 1px solid #edf0f3;
}

.media-nav a:hover,
.media-nav a:focus-visible {
  color: var(--teal);
  background: var(--teal-soft);
}

.media-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 14px auto 34px;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 18px;
  align-items: start;
}

.main-feed {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 12px;
}

.lead-card,
.rank-feature,
.media-section,
.side-widget,
.ad-box {
  border: 1px solid #d8e1e5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(14, 32, 38, 0.05);
}

.lead-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.lead-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 24 / 9;
  overflow: hidden;
  background: #d6e2e4;
}

.lead-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d6e2e4;
}

.lead-card__body {
  padding: 16px;
  color: var(--ink);
  background: #fff;
}

.badge,
.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 8px;
  border-radius: 3px;
  color: #fff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.lead-card h1 {
  margin: 10px 0 8px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.18;
  letter-spacing: 0;
}

.lead-card h1 a,
.lead-card h1 a:visited {
  color: inherit;
}

.lead-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.post-meta span {
  padding: 2px 7px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 3px;
}

.headline-stack {
  display: grid;
  gap: 8px;
}

.rank-feature {
  min-height: 116px;
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.rank-feature img {
  width: 92px;
  height: 96px;
  object-fit: cover;
  border-radius: 3px;
  background: #d6e2e4;
}

.rank-number {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.rank-feature h2 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.4;
}

.rank-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.news-ticker {
  min-height: 42px;
  display: grid;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d8e1e5;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  overflow: hidden;
}

.news-ticker__line {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.news-ticker strong {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 3px;
  color: #fff;
  background: var(--teal);
}

.news-ticker__item {
  margin-left: 0;
  color: #111111;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.news-ticker__more {
  margin-left: auto;
  color: var(--teal);
  font-weight: 900;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.news-ticker__list {
  margin-top: 0;
}

.media-section {
  padding: 12px;
}

.section-accent-bottom {
  border-bottom: 3px solid var(--teal);
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid #d8e1e5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(14, 32, 38, 0.05);
}

.category-label {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.text-area-label {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.edit-note,
.template-note {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.edit-note {
  display: inline-flex;
  margin-right: 8px;
}

.template-note {
  margin: 0 0 10px;
}

.category-lead h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.category-lead p {
  margin: 0;
  color: #344050;
  font-size: 15px;
}

.category-summary-box {
  padding: 14px;
  border: 1px solid var(--teal-line);
  border-radius: 4px;
  background: var(--teal-soft);
}

.category-summary-box h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.category-summary-box ul {
  margin: 0;
  padding-left: 18px;
  color: #26323a;
  font-size: 13px;
  font-weight: 800;
}

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

.category-index-grid--purchase {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-index-grid a {
  min-width: 0;
  padding: 13px;
  border: 1px solid #edf1f3;
  border-radius: 4px;
  background: #fff;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.category-index-grid a:hover,
.category-index-grid a:focus-visible {
  border-color: var(--teal-line);
  background: var(--teal-soft);
}

.category-index-grid span,
.category-index-grid strong,
.category-index-grid p {
  display: block;
}

.category-index-grid span {
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.category-index-grid strong {
  color: #111111;
  font-size: 15px;
  line-height: 1.45;
}

.category-index-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.category-post-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid #edf1f3;
}

.category-post-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid #edf1f3;
  font-size: 14px;
  font-weight: 800;
}

.category-post-list time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.category-post-list a {
  color: #111111;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.category-post-list a:hover,
.category-post-list a:focus-visible {
  color: var(--teal);
  background: var(--teal-soft);
}

.article-page .media-shell {
  padding-bottom: 24px;
}

.article-detail {
  gap: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb span::before {
  content: ">";
  margin-right: 8px;
  color: #9aa4ad;
}

.article-hero,
.article-content,
.article-summary,
.article-toc,
.article-related {
  border: 1px solid #d8e1e5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(14, 32, 38, 0.05);
}

.article-hero {
  overflow: hidden;
}

.article-hero__text {
  padding: 18px 18px 14px;
}

.article-hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

.article-hero p {
  margin: 0;
  color: #344050;
  font-size: 15px;
  font-weight: 700;
}

.article-eyecatch {
  margin: 0;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #d6e2e4;
}

.article-eyecatch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-ad {
  min-height: 96px;
  margin: 0;
  font-size: 18px;
}

.article-summary ul,
.article-toc ol,
.check-list {
  margin: 0;
  padding-left: 20px;
  color: #26323a;
  font-size: 14px;
  font-weight: 800;
}

.article-summary li,
.article-toc li,
.check-list li {
  padding: 4px 0;
}

.article-toc a {
  color: #111111;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--teal);
  background: var(--teal-soft);
}

.article-content {
  padding: 18px;
}

.article-content h2,
.article-buy-box h2 {
  margin: 30px 0 12px;
  padding-left: 10px;
  border-left: 5px solid var(--teal);
  color: #14262b;
  font-size: 23px;
  line-height: 1.35;
}

.article-content > h2:first-child {
  margin-top: 0;
}

.article-content p {
  color: #344050;
}

.term-box,
.article-buy-box {
  margin: 22px 0;
  padding: 14px;
  border: 1px solid var(--teal-line);
  border-radius: 4px;
  background: var(--teal-soft);
}

.term-box strong {
  color: #111111;
}

.table-wrap {
  overflow-x: auto;
}

.article-content table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.article-content th,
.article-content td {
  padding: 10px;
  border: 1px solid #d8e1e5;
  text-align: left;
  vertical-align: top;
}

.article-content th {
  color: #fff;
  background: var(--teal);
}

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

.mistake-list section {
  padding: 13px;
  border: 1px solid #edf1f3;
  border-radius: 4px;
  background: #fff;
}

.mistake-list h3 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 16px;
  line-height: 1.4;
}

.mistake-list p {
  margin: 0;
  font-size: 13px;
}

.article-buy-box h2 {
  margin-top: 0;
}

.article-buy-box > p {
  margin: 0 0 12px;
  font-size: 14px;
}

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

.article-related-grid a {
  min-width: 0;
  padding: 13px;
  border: 1px solid #edf1f3;
  border-radius: 4px;
  background: #fff;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.article-related-grid a:hover,
.article-related-grid a:focus-visible {
  border-color: var(--teal-line);
  background: var(--teal-soft);
}

.article-related-grid span,
.article-related-grid strong,
.article-related-grid p {
  display: block;
}

.article-related-grid span {
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.article-related-grid strong {
  color: #111111;
  font-size: 15px;
  line-height: 1.45;
}

.article-related-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.media-section__head {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #d8e1e5;
}

.media-section__head h2 {
  margin: 0;
  color: #14262b;
  font-size: 20px;
  line-height: 1.3;
}

.media-section__head h2::before,
.side-widget h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 18px;
  margin-right: 8px;
  border-radius: 2px;
  vertical-align: -3px;
  background: var(--teal);
}

.media-section__head a {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.card-row {
  display: grid;
  gap: 14px;
}

.card-row--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-card {
  position: relative;
  min-width: 0;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 3px;
  background: #d6e2e4;
}

.article-card h3 {
  margin: 8px 0 4px;
  font-size: 15px;
  line-height: 1.45;
}

.lead-card h1 a:visited,
.rank-feature h2 a:visited,
.article-card h3 a:visited,
.text-news-list a:visited,
.mini-list a:visited,
.ranking-widget a:visited,
.category-widget a:visited {
  color: #8a4a2a;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.text-news-list {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #edf1f3;
}

.text-news-list li {
  list-style: none;
  border-bottom: 1px solid #edf1f3;
}

.text-news-list a {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.text-news-list a::before {
  content: "▶";
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 10px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.text-news-list--single {
  grid-template-columns: 1fr;
}

.tag--alert {
  position: absolute;
  top: 6px;
  left: 6px;
  color: #fff;
  background: var(--teal);
}

.dashboard-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.small-panel {
  min-width: 0;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-list a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  transition: background-color 0.2s ease;
}

.mini-list img {
  width: 76px;
  height: 54px;
  object-fit: cover;
  border-radius: 3px;
  background: #d6e2e4;
}

.score-list {
  display: grid;
  gap: 10px;
}

.score-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1f3;
  font-size: 13px;
}

.score-list span {
  color: #078143;
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.step-list {
  margin: 0;
  padding: 0;
  counter-reset: steps;
  display: grid;
  gap: 8px;
}

.step-list li {
  list-style: none;
  counter-increment: steps;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.step-list a {
  min-height: 28px;
  display: flex;
  align-items: center;
  border-radius: 3px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px;
  height: 28px;
  color: #fff;
  background: var(--teal);
  border-radius: 3px;
  font-size: 12px;
}

.sponsored-parts .media-section__head h2 span {
  color: var(--teal);
  font-size: 13px;
}

.parts-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #edf1f3;
  border-left: 1px solid #edf1f3;
}

.parts-strip a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border-right: 1px solid #edf1f3;
  border-bottom: 1px solid #edf1f3;
  font-size: 12px;
  line-height: 1.35;
  transition: background-color 0.2s ease;
}

.parts-strip img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 3px;
}

.parts-strip strong,
.parts-strip em,
.parts-strip small {
  display: block;
}

.parts-strip em {
  color: #b42318;
  font-style: normal;
  font-weight: 900;
}

.parts-strip small {
  color: var(--muted);
}

.media-sidebar {
  display: grid;
  gap: 14px;
}

.side-widget {
  padding: 14px;
}

.side-widget h2 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d8e1e5;
  font-size: 17px;
}

.ranking-widget ol {
  margin: 0;
  padding: 0;
  counter-reset: ranking;
  display: grid;
  gap: 10px;
}

.ranking-widget li {
  list-style: none;
  counter-increment: ranking;
}

.ranking-widget a {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  transition: background-color 0.2s ease;
}

.ranking-widget a::before {
  content: counter(ranking);
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.ranking-widget img {
  width: 64px;
  height: 50px;
  object-fit: cover;
  background: #d6e2e4;
}

.lead-card__image img,
.rank-feature img,
.article-card img,
.mini-list img,
.parts-strip img,
.ranking-widget img {
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.lead-card:hover .lead-card__image img,
.lead-card:focus-within .lead-card__image img,
.rank-feature:hover img,
.rank-feature:focus-within img,
.article-card:hover img,
.article-card:focus-within img,
.mini-list a:hover img,
.mini-list a:focus-visible img,
.parts-strip a:hover img,
.parts-strip a:focus-visible img,
.ranking-widget a:hover img,
.ranking-widget a:focus-visible img {
  filter: brightness(1.08);
}

.rank-feature:hover,
.rank-feature:focus-within,
.article-card:hover,
.article-card:focus-within,
.mini-list a:hover,
.mini-list a:focus-visible,
.parts-strip a:hover,
.parts-strip a:focus-visible,
.ranking-widget a:hover,
.ranking-widget a:focus-visible {
  background: var(--teal-soft);
}

.news-ticker a:hover,
.news-ticker a:focus-visible,
.media-section__head a:hover,
.media-section__head a:focus-visible,
.text-news-list a:hover,
.text-news-list a:focus-visible,
.step-list a:hover,
.step-list a:focus-visible,
.category-widget a:hover,
.category-widget a:focus-visible {
  color: var(--teal);
  background: var(--teal-soft);
}

.news-ticker a:hover,
.news-ticker a:focus-visible,
.media-section__head a:hover,
.media-section__head a:focus-visible {
  padding-inline: 4px;
  border-radius: 3px;
}

.text-news-list a:hover::before,
.text-news-list a:focus-visible::before {
  transform: translateX(2px);
}

.category-widget ul {
  margin: 0;
  padding: 0;
}

.category-widget li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #edf1f3;
  font-size: 13px;
  font-weight: 800;
}

.category-widget a {
  border-radius: 3px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.category-widget span {
  color: var(--muted);
}

.category-widget .category-gap {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 2px solid #d8e1e5;
}

.ad-box {
  min-height: 250px;
  display: grid;
  place-items: center;
  color: #8a949d;
  background:
    linear-gradient(135deg, rgba(7, 84, 95, 0.06), rgba(255, 255, 255, 0.88)),
    #f4f6f7;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
}

.media-footer {
  color: #fff;
  background: var(--teal);
}

.media-footer a {
  color: #fff;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: grid;
  }

  .news-grid,
  .category-banner-grid,
  .suggestion-list,
  .start-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-header,
  .category-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-slot--side {
    min-height: 160px;
  }

  .media-brand {
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 88px;
  }

  .media-brand .search-box {
    grid-column: 1 / -1;
    order: 3;
  }

  .media-header .nav-toggle {
    display: block;
    justify-self: end;
  }

  .media-nav {
    position: static;
    width: min(100% - 32px, 1240px);
    min-height: auto;
    margin: 0 auto 12px;
    display: none;
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: var(--shadow);
  }

  .media-nav.is-open {
    display: grid;
  }

  .media-nav a {
    min-height: 42px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #edf0f3;
  }

  .media-grid,
  .lead-layout,
  .category-hero {
    grid-template-columns: 1fr;
  }

  .mistake-list,
  .article-related-grid {
    grid-template-columns: 1fr;
  }

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

  .category-index-grid {
    grid-template-columns: 1fr;
  }

  .card-row--four,
  .dashboard-row,
  .parts-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .wiki-hero__inner,
  .news-strip,
  .wiki-index,
  .suggested-categories,
  .category-layout,
  .category-header,
  .article-layout {
    width: min(100% - 24px, 1180px);
  }

  .site-logo small {
    display: none;
  }

  .wiki-hero__inner {
    padding: 32px 0;
  }

  .news-grid,
  .category-banner-grid,
  .suggestion-list,
  .start-list,
  .topic-columns,
  .sidebar,
  .shop-buttons {
    grid-template-columns: 1fr;
  }

  .category-header > div:first-child,
  .category-summary-card,
  .wiki-panel,
  .widget,
  .article-header,
  .summary-box,
  .article-body,
  .related-posts {
    padding: 18px;
  }

  .category-banner {
    min-height: 138px;
  }

  .top-notice__inner,
  .media-brand,
  .media-shell {
    width: min(100% - 24px, 1240px);
  }

  .top-notice {
    font-size: 12px;
  }

  .top-notice__inner {
    min-height: 38px;
    padding: 6px 0;
    align-items: center;
  }

  .top-notice p {
    line-height: 1.35;
  }

  .top-notice__links {
    display: none;
  }

  .media-brand {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 10px 12px;
    padding: 12px 0;
    align-items: center;
  }

  .media-brand .search-box {
    grid-column: 1 / -1;
    order: 3;
    height: 40px;
  }

  .media-header .nav-toggle {
    width: 40px;
    height: 40px;
    justify-self: end;
  }

  .media-logo .site-logo__mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 15px;
  }

  .media-logo {
    min-width: 0;
    gap: 9px;
  }

  .media-logo > span:last-child {
    min-width: 0;
  }

  .media-logo strong {
    font-size: 22px;
    white-space: nowrap;
  }

  .media-logo small {
    display: block;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lead-card__body {
    padding: 14px;
  }

  .article-hero__text,
  .article-content {
    padding: 14px;
  }

  .article-hero h1 {
    font-size: 26px;
  }

  .article-eyecatch {
    aspect-ratio: 16 / 9;
  }

  .headline-stack,
  .media-sidebar,
  .card-row--four,
  .dashboard-row,
  .parts-strip,
  .category-index-grid,
  .article-related-grid,
  .mistake-list {
    grid-template-columns: 1fr;
  }

  .category-hero {
    padding: 14px;
  }

  .category-post-list li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 9px 0;
  }

  .mobile-two-col.card-row--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-two-col .article-card h3 {
    font-size: 13px;
    line-height: 1.4;
  }

  .mobile-two-col .article-card p {
    font-size: 11px;
  }

  .text-news-list {
    grid-template-columns: 1fr;
  }

  .news-ticker {
    display: grid;
    gap: 8px;
  }

  .news-ticker__line {
    display: grid;
    gap: 8px;
  }

  .news-ticker a {
    margin-left: 0;
  }

  .media-section {
    padding: 10px;
  }

  .media-section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .rank-feature {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .rank-feature img {
    width: 96px;
  }
}
