/* GPU Controls */

/* GPU Ranking */

.ranking-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.ranking-tab {
  appearance: none;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #dbe3f3;
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s ease;
}

.ranking-tab:hover,
.ranking-tab.is-active {
  color: #07111f;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(25, 227, 255, 0.16);
}

.ranking-board {
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.ranking-header,
.ranking-row {
  display: grid;
  grid-template-columns: 72px minmax(210px, 1.35fr) minmax(150px, 0.8fr) minmax(130px, 0.7fr) minmax(240px, 1.25fr);
  gap: 16px;
  align-items: center;
}

.ranking-header {
  padding: 14px 20px;
  color: #9aa7bd;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.ranking-list {
  display: grid;
}

.ranking-row {
  min-height: 82px;
  padding: 18px 20px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.22s ease;
}

.ranking-row:hover {
  background: rgba(25, 227, 255, 0.06);
}

.ranking-row-top {
  background:
    linear-gradient(135deg, rgba(25, 227, 255, 0.14), rgba(123, 97, 255, 0.13)),
    rgba(255, 255, 255, 0.035);
}

.ranking-row-top-1 {
  border-top-color: rgba(25, 227, 255, 0.35);
  box-shadow: inset 4px 0 0 #19e3ff;
}

.ranking-row-top-2 {
  box-shadow: inset 4px 0 0 #a8b3ff;
}

.ranking-row-top-3 {
  box-shadow: inset 4px 0 0 #7b61ff;
}

.ranking-rank strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #07111f;
  background: #19e3ff;
  font-size: 18px;
  box-shadow: 0 0 24px rgba(25, 227, 255, 0.16);
}

.ranking-row:not(.ranking-row-top) .ranking-rank strong {
  color: #dbe3f3;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.ranking-gpu strong,
.ranking-score strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.ranking-gpu small {
  display: block;
  margin-top: 4px;
  color: #9aa7bd;
  font-size: 12px;
  font-weight: 800;
}

.ranking-score {
  display: grid;
  gap: 8px;
}

.ranking-score strong {
  color: #19e3ff;
}

.ranking-score-bar {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.ranking-score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
}

.ranking-price {
  display: inline-flex;
  justify-content: center;
  justify-self: start;
  min-width: 112px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #dbe3f3;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.ranking-use {
  color: #cfd6e6;
  line-height: 1.55;
  font-size: 14px;
}

.gpu-controls {
  display: flex;
  gap: 12px;
  margin: 0 0 36px;
  flex-wrap: wrap;
}

.gpu-controls input,
.gpu-controls select {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.gpu-controls input {
  flex: 1;
  min-width: 260px;
}

.gpu-controls input::placeholder {
  color: #8f9bb0;
}

.gpu-controls input:focus,
.gpu-controls select:focus {
  border-color: rgba(25, 227, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(25, 227, 255, 0.12);
}

.gpu-controls select:focus {
  border-color: rgba(25, 227, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(25, 227, 255, 0.12);
}

.gpu-controls option {
  color: #111827;
}

/* GPU Cards */

.gpu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gpu-card {
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.125), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  transition: 0.22s ease;
}

.gpu-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 227, 255, 0.38);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(25, 227, 255, 0.08);
}

.gpu-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.gpu-brand,
.gpu-resolution {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.gpu-brand {
  color: #07111f;
  background: #19e3ff;
}

.gpu-resolution {
  color: #dbe3f3;
  background: rgba(255, 255, 255, 0.08);
}

.gpu-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.gpu-summary {
  margin: 0 0 20px;
  color: #d7deec;
  line-height: 1.8;
}

.gpu-specs {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.gpu-spec {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gpu-spec span {
  color: #aab6cc;
  font-size: 14px;
}

.gpu-spec strong {
  text-align: right;
  font-size: 14px;
}

.gpu-score-box {
  margin-top: 18px;
}

.gpu-score-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.gpu-score-head span {
  color: #9aa7bd;
}

.gpu-score-head strong {
  color: #19e3ff;
}

.performance-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.performance-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
}

/* Recommend */

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.recommend-card {
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.125), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  transition: 0.22s ease;
  display: flex;
  flex-direction: column;
}

a.recommend-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 227, 255, 0.38);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(25, 227, 255, 0.08);
}

.recommend-card-cta {
  margin-top: auto;
  padding-top: 16px;
  color: #19e3ff;
  font-size: 13px;
  font-weight: 900;
}

.recommend-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  color: #07111f;
  background: #19e3ff;
  font-size: 12px;
  font-weight: 900;
}

.recommend-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.recommend-card p {
  margin: 0;
  color: #d7deec;
  line-height: 1.8;
}

/* Related Sites */

.related-site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-site-button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 999px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(25, 227, 255, 0.18), rgba(123, 97, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  transition: 0.22s ease;
}

.related-site-button:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 227, 255, 0.45);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(25, 227, 255, 0.08);
}

.related-site-button span {
  font-size: 16px;
  font-weight: 900;
}

.related-site-button small {
  color: #cfd6e6;
  font-size: 12px;
  line-height: 1.5;
}

/* Skeleton UI */

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-line {
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.6s ease infinite;
}

.skeleton-card {
  padding: 24px;
  border-radius: var(--radius-card, 26px);
  background: linear-gradient(180deg, var(--glass-high, rgba(255,255,255,0.095)), var(--glass-low, rgba(255,255,255,0.035)));
  border: 1px solid var(--border, rgba(255,255,255,0.12));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-card-top {
  display: flex;
  gap: 8px;
}

.skeleton-ranking-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.skeleton-circle {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.07) 25%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.07) 75%
  );
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.6s ease infinite;
}

.skeleton-text-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* GPU Labels */

.gpu-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.gpu-label-recommend {
  color: #07111f;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
}

.gpu-label-entry {
  color: #a8b3ff;
  background: rgba(123, 97, 255, 0.15);
  border: 1px solid rgba(123, 97, 255, 0.4);
}

.gpu-label-popular {
  color: #19e3ff;
  background: rgba(25, 227, 255, 0.1);
  border: 1px solid rgba(25, 227, 255, 0.35);
}

.gpu-label-value {
  color: #dbe3f3;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Ranking Labels */

.ranking-label {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.ranking-label-recommend {
  color: #07111f;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
}

.ranking-label-entry {
  color: #a8b3ff;
  background: rgba(123, 97, 255, 0.2);
  border: 1px solid rgba(123, 97, 255, 0.4);
}

.ranking-label-popular {
  color: #19e3ff;
  background: rgba(25, 227, 255, 0.12);
  border: 1px solid rgba(25, 227, 255, 0.35);
}

.ranking-label-value {
  color: #dbe3f3;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Detail CTA */

.detail-cta-inner {
  padding: 48px;
  border-radius: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(25, 227, 255, 0.08), rgba(123, 97, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.detail-cta-heading {
  margin: 8px 0 12px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.detail-cta-text {
  margin: 0 0 28px;
  color: #cfd6e6;
  font-size: 16px;
  line-height: 1.75;
}

/* Empty */

.empty-message {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 24px;
  color: #cfd6e6;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile */

@media (max-width: 900px) {
  .ranking-header {
    display: none;
  }

  .ranking-board {
    overflow: visible;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .ranking-list {
    gap: 12px;
  }

  .ranking-row {
    grid-template-columns: 58px 1fr;
    gap: 10px 14px;
    min-height: unset;
    padding: 18px;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  }

  .ranking-row-top {
    background:
      linear-gradient(135deg, rgba(25, 227, 255, 0.14), rgba(123, 97, 255, 0.13)),
      rgba(255, 255, 255, 0.045);
  }

  .ranking-rank {
    grid-row: span 4;
  }

  .ranking-gpu,
  .ranking-score,
  .ranking-price,
  .ranking-use {
    display: grid;
    gap: 5px;
  }

  .ranking-gpu::before,
  .ranking-score::before,
  .ranking-price::before,
  .ranking-use::before {
    content: attr(data-label);
    color: #9aa7bd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
  }

  .ranking-price {
    justify-content: start;
    justify-self: start;
  }

  .gpu-grid,
  .recommend-grid,
  .related-site-grid {
    grid-template-columns: 1fr;
  }

  .gpu-controls {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .gpu-controls input,
  .gpu-controls select {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .gpu-card,
  .recommend-card,
  .related-site-card {
    padding: 20px;
    border-radius: 22px;
  }

  .gpu-card h3 {
    font-size: 21px;
  }

  .gpu-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-cta-inner {
    padding: 32px 24px;
    border-radius: 22px;
  }

  .detail-cta-heading {
    font-size: 24px;
  }
}
/* GPU Detail */

.gpu-detail-hero {
  padding: 72px 0 40px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #9aa7bd;
  font-weight: 700;
}

.back-link:hover {
  color: #19e3ff;
}

.gpu-detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.gpu-detail-main,
.gpu-detail-side,
.gpu-info-card {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.125), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

/* 詳細ページの小見出しラベル（VRAM / 価格目安 など） */
.info-label {
  margin: 0 0 10px;
  color: #19e3ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gpu-detail-main {
  padding: 32px;
}

.gpu-detail-main h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.gpu-detail-lead {
  margin: 0;
  color: #cfd6e6;
  font-size: 17px;
  line-height: 1.85;
}

.detail-score {
  margin-top: 28px;
}

.gpu-detail-side {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-label {
  margin: 0 0 12px;
  color: #19e3ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.gpu-detail-side h2 {
  margin: 0 0 14px;
  font-size: 42px;
  letter-spacing: -0.04em;
}

.gpu-detail-side p {
  color: #cfd6e6;
  line-height: 1.8;
}

.gpu-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gpu-info-card {
  padding: 24px;
}

.gpu-info-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.gpu-info-card p {
  margin: 0;
  color: #cfd6e6;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .gpu-detail-layout,
  .gpu-info-grid {
    grid-template-columns: 1fr;
  }

  .gpu-detail-hero {
    padding: 52px 0 28px;
  }
}

@media (max-width: 520px) {
  .gpu-detail-main,
  .gpu-detail-side,
  .gpu-info-card {
    padding: 20px;
    border-radius: 22px;
  }
}
/* GPU Detail Extra */

.gpu-detail-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.gpu-extra-card {
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.125), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.gpu-extra-card-wide {
  grid-column: span 2;
}

.gpu-extra-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.gpu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gpu-list li {
  padding: 12px 0 12px 26px;
  position: relative;
  color: #dbe3f3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gpu-list li:last-child {
  border-bottom: none;
}

.gpu-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #19e3ff;
  font-weight: 900;
}

.compare-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.compare-link-card {
  display: block;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.22s ease;
}

.compare-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 227, 255, 0.38);
}

.compare-link-card span {
  display: block;
  margin-bottom: 8px;
  color: #19e3ff;
  font-size: 12px;
  font-weight: 900;
}

.compare-link-card strong {
  display: block;
  color: #ffffff;
  line-height: 1.45;
}

/* Purchase Links */

.purchase-section .section-heading {
  margin-bottom: 22px;
}

.purchase-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.purchase-link-card {
  display: flex;
  min-height: 124px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(25, 227, 255, 0.16), rgba(123, 97, 255, 0.2)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
  transition: 0.22s ease;
  overflow-wrap: anywhere;
}

.purchase-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 227, 255, 0.46);
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(25, 227, 255, 0.1);
}

.purchase-link-card-disabled {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.35);
}

.purchase-link-card-disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.purchase-link-card span {
  color: #19e3ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.purchase-link-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.purchase-link-card small {
  color: #cfd6e6;
  font-size: 12px;
  line-height: 1.5;
}

.affiliate-disclosure {
  margin: 16px 0 0;
  color: #9aa7bd;
  font-size: 12px;
  line-height: 1.7;
}

/* CPU Recommendation Section */

.cpu-rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.cpu-rec-card {
  padding: 28px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: 0.22s ease;
}

.cpu-rec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 227, 255, 0.25);
}

.cpu-rec-card-budget {
  box-shadow: inset 4px 0 0 #19e3ff, 0 20px 60px rgba(0, 0, 0, 0.24);
}

.cpu-rec-card-balanced {
  box-shadow: inset 4px 0 0 #7b61ff, 0 20px 60px rgba(0, 0, 0, 0.24);
}

.cpu-rec-card-high {
  box-shadow: inset 4px 0 0 #a8b3ff, 0 20px 60px rgba(0, 0, 0, 0.24);
}

.cpu-tier-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.cpu-tier-budget {
  color: #07111f;
  background: #19e3ff;
}

.cpu-tier-balanced {
  color: #07111f;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
}

.cpu-tier-high {
  color: #07111f;
  background: #a8b3ff;
}

.cpu-rec-name {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cpu-rec-reason {
  margin: 0;
  color: #cfd6e6;
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
}

.cpu-rec-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.cpu-rec-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.cpu-rec-spec-item:last-child {
  border-bottom: none;
}

.cpu-rec-spec-item span {
  color: #9aa7bd;
  white-space: nowrap;
}

.cpu-rec-spec-item strong {
  text-align: right;
  color: #dbe3f3;
}

.cpu-rec-bottleneck {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(25, 227, 255, 0.06);
  border: 1px solid rgba(25, 227, 255, 0.18);
  color: #cfd6e6;
  font-size: 13px;
  line-height: 1.65;
}

.cpu-rec-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .cpu-rec-grid,
  .cpu-rec-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cpu-rec-card {
    padding: 20px;
    border-radius: 22px;
  }
}

@media (max-width: 900px) {
  .gpu-grid,
  .recommend-grid,
  .related-site-grid,
  .gpu-detail-layout,
  .gpu-info-grid,
  .gpu-detail-extra-grid,
  .compare-link-grid,
  .purchase-link-grid {
    grid-template-columns: 1fr;
  }

  .gpu-controls {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .gpu-controls input,
  .gpu-controls select {
    width: 100%;
  }

  .gpu-controls input {
    min-width: 100%;
    flex: unset;
  }

  .related-site-button {
    border-radius: 22px;
    padding: 18px;
  }

  .gpu-extra-card-wide {
    grid-column: span 1;
  }

  .gpu-detail-hero {
    padding: 52px 0 28px;
  }

}

/* ============================================================
   UI Refresh 2026 — 初心者向け補足 & 案内キャラクター
   - .hint-box      : 吹き出し風のヒントボックス（用語の補足など）
   - .guide-mascot  : シッポ風の案内キャラクター枠（画像不要のCSS実装）
   ============================================================ */

/* ヒントボックス（吹き出し） */
.hint-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 22px 0 0;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--hint-bg, linear-gradient(135deg, rgba(25, 227, 255, 0.1), rgba(123, 97, 255, 0.08)));
  border: 1px solid var(--hint-border, rgba(25, 227, 255, 0.3));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.hint-box-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  background: rgba(25, 227, 255, 0.16);
  border: 1px solid rgba(25, 227, 255, 0.42);
}

.hint-box-body {
  margin: 0;
  color: #e2e8f5;
  font-size: 14.5px;
  line-height: 1.85;
}

.hint-box-body strong {
  color: #19e3ff;
  font-weight: 900;
}

/* シッポ風 案内キャラクター枠 */
.guide-mascot {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 28px 0 0;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(25, 227, 255, 0.12), rgba(123, 97, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(25, 227, 255, 0.28);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
}

.guide-mascot-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  box-shadow:
    0 0 0 4px rgba(25, 227, 255, 0.14),
    0 12px 28px rgba(25, 227, 255, 0.3);
}

.guide-mascot-bubble {
  position: relative;
  flex: 1;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* 吹き出しの三角（アバター側を指す） */
.guide-mascot-bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%) rotate(45deg);
  background: rgba(255, 255, 255, 0.07);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.guide-mascot-name {
  display: block;
  margin: 0 0 4px;
  color: #19e3ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.guide-mascot-text {
  margin: 0;
  color: #e2e8f5;
  font-size: 14.5px;
  line-height: 1.85;
}

@media (max-width: 520px) {
  .guide-mascot {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px;
  }

  .guide-mascot-avatar {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  /* スマホでは吹き出しの三角を上向きに */
  .guide-mascot-bubble::before {
    top: -8px;
    left: 26px;
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: none;
  }

  .hint-box-body,
  .guide-mascot-text {
    font-size: 15px;
    line-height: 1.9;
  }
}
