/* ItemNova PC — dedicated layout (do not share with mobile) */

@font-face {
  font-family: 'NexonLv1Gothic';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON%20Lv1%20Gothic%20OTF%20Bold.woff')
    format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2')
    format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-SemiBold.woff2')
    format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2')
    format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --pc-accent: #f4c430;
  --pc-accent-hover: #e0b01c;
  --pc-navy: #1a2744;
  --pc-text: #1a2744;
  --pc-text-muted: #6b7280;
  --pc-border: #e5e7eb;
  --pc-border-soft: #eceff3;
  --pc-bg: #f5f6f8;
  --pc-surface: #ffffff;
  --pc-up: #e11d48;
  --pc-down: #2563eb;
  --pc-flat: #9ca3af;
  /* 넓은 PC 화면(1440) 실측 고정값 — 창 축소 시에도 유지 */
  --pc-layout-width: 1440px;
  --pc-max: 1440px;
  --pc-pad-x: 40px;
  --pc-content-width: 1360px;
  --pc-workspace-left: 590px;
  --pc-workspace-right: 750px;
  --pc-workspace-gap: 20px;
  --pc-feature-col: 670px;
  --pc-feature-gap: 20px;
  --pc-game-card-width: 161px;
  --pc-game-rail-gap: 10px;
  --pc-radius: 12px;
  --pc-radius-sm: 8px;
  --pc-font: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --pc-font-logo: 'NexonLv1Gothic', 'Pretendard', 'Noto Sans KR', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: auto;
  overflow-y: auto;
}

body.pc-body {
  font-family: var(--pc-font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--pc-text);
  background: var(--pc-bg);
  -webkit-font-smoothing: antialiased;
  min-width: var(--pc-layout-width);
  width: auto;
  overflow-x: visible;
  overflow-y: visible;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button,
a,
[role='button'] {
  touch-action: manipulation;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pc-shell {
  width: var(--pc-layout-width);
  min-width: var(--pc-layout-width);
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--pc-pad-x) 18px;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* ——— Header ——— */
.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 10px 0 8px;
}

.pc-header-brand {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  flex: 1 1 auto;
}

.pc-logo {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: -0.055em;
  -webkit-text-stroke: 0.25px currentColor;
}

.pc-logo-main,
.pc-logo-accent {
  font-family: var(--pc-font-logo);
  font-weight: 700;
  font-size: 28px;
}

.pc-logo-main {
  color: var(--pc-navy);
}

.pc-logo-accent {
  color: var(--pc-accent);
}

.pc-header-tagline {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
}

.pc-header-tagline-text {
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.pc-header-site-url {
  color: #f4c430;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.3;
  width: fit-content;
}

.pc-header-site-url:hover {
  text-decoration: underline;
}

.pc-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex-shrink: 0;
}

.pc-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--pc-navy);
  white-space: nowrap;
}

.pc-nav-link:hover {
  color: #0f172a;
}

/* ——— Main ——— */
.pc-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: var(--pc-content-width);
  min-width: var(--pc-content-width);
  flex-shrink: 0;
}

.pc-seo-money-links,
.pc-seo-item-links,
.seo-money-links,
.seo-item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 10px 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.pc-seo-money-links a,
.pc-seo-item-links a,
.seo-money-links a,
.seo-item-links a {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.pc-seo-item-intro {
  width: var(--pc-content-width);
  min-width: var(--pc-content-width);
  padding: 4px 2px 8px;
}

.pc-seo-item-intro__title {
  margin: 0 0 8px;
  font-family: 'NexonLv1Gothic', sans-serif;
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pc-seo-item-intro__desc {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 46rem;
}

.pc-seo-item-intro__site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 8px;
  font-size: 0.875rem;
}

.pc-seo-item-intro__site-links a {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Top feature: slide 50% + ad 50% (PC fixed, no stack) ——— */
.pc-top-feature-row {
  width: var(--pc-content-width);
  min-width: var(--pc-content-width);
  display: grid;
  grid-template-columns: var(--pc-feature-col) var(--pc-feature-col);
  gap: var(--pc-feature-gap);
  height: 250px;
  align-items: stretch;
  flex-shrink: 0;
}

.pc-hero-slider-wrap,
.pc-hero-ad-wrap {
  width: var(--pc-feature-col);
  min-width: var(--pc-feature-col);
  height: 250px;
  flex-shrink: 0;
}

.pc-hero-slide {
  height: 100%;
  border: 1px solid #e1e5ec;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}


.pc-hero-slide-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 37% 63%;
  align-items: stretch;
}

.pc-hero-copy {
  position: relative;
  height: 100%;
  min-width: 0;
  /* 오른쪽 박스와 동일 상단 패딩 → 제목 첫 줄 ↔ 박스 상단 가로 줄맞춤 */
  padding: 20px 18px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
}

.pc-hero-copy-body {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.pc-hero-copy-title {
  width: 100%;
  margin: 0;
  color: #172033;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.pc-hero-title-line {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.pc-hero-title-line .is-highlight {
  color: #f4c430;
}

.pc-hero-copy-description {
  width: 100%;
  margin: 12px 0 0;
  color: #7c8799;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.pc-hero-copy-description span {
  display: block;
  white-space: nowrap;
}

.pc-hero-dots {
  position: absolute;
  left: 28px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.pc-hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #d4d9e1;
  padding: 0;
}

.pc-hero-dot.is-active {
  background: #f4c430;
}

.pc-hero-visual {
  min-width: 0;
  height: 100%;
  /* 왼쪽 문구와 동일 상단 패딩 */
  padding: 20px 18px 20px 8px;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
}

.pc-hero-visual > * {
  width: 100%;
  min-width: 0;
}

.pc-hero-mini-compare {
  display: grid;
  gap: 8px;
}

.pc-hero-rank-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pc-hero-rank-card {
  min-width: 0;
  padding: 10px 6px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.pc-hero-rank-card--best {
  background: linear-gradient(180deg, #f4edff 0%, #eee7ff 100%);
  color: #c99a08;
}

.pc-hero-rank-card--second {
  background: linear-gradient(180deg, #edfdf4 0%, #e5f8ee 100%);
  color: #20a464;
}

.pc-hero-rank-card--third {
  background: linear-gradient(180deg, #eef7ff 0%, #e4f2ff 100%);
  color: #2f95d8;
}

.pc-hero-rank-icon,
.pc-hero-rank-card strong,
.pc-hero-rank-card em,
.pc-hero-rank-card b {
  display: block;
}

.pc-hero-rank-icon {
  font-size: 1rem;
  line-height: 1;
}

.pc-hero-rank-card strong {
  margin-top: 0.3rem;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.pc-hero-rank-card em {
  width: fit-content;
  max-width: 100%;
  margin: 0.35rem auto 0;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.pc-hero-rank-card--best em {
  background: rgba(244, 196, 48, 0.22);
  color: #c99a08;
}

.pc-hero-rank-card b {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.pc-hero-compare-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  padding: 0 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.pc-hero-compare-cta span {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1;
}

.pc-hero-compare-panel {
  display: grid;
  gap: 0.4rem;
  padding: 0.6rem 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.pc-hero-flow-title {
  margin: 0;
  color: #101828;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.15;
}

.pc-hero-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.pc-hero-source-card {
  min-width: 0;
  padding: 0.4rem 0.32rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.045);
}

.pc-hero-source-head {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
}

.pc-hero-source-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #f4c430;
  color: #111827;
  font-size: 0.5rem;
  font-weight: 900;
}

.pc-hero-source-card--b .pc-hero-source-head span {
  background: #5da7e8;
}

.pc-hero-source-card--c .pc-hero-source-head span {
  background: #56c879;
}

.pc-hero-source-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #101828;
  font-size: 0.6rem;
  font-weight: 900;
}

.pc-hero-source-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 0.28rem;
  border-radius: 7px;
  background: #f2f4f7;
  font-size: 0.82rem;
}

.pc-hero-source-card i {
  display: block;
  height: 4px;
  margin: 0.14rem 0 0 30px;
  border-radius: 999px;
  background: #d0d5dd;
}

.pc-hero-source-card i:nth-of-type(2) {
  width: 70%;
}

.pc-hero-source-card b {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.2rem 0 0 auto;
  padding: 0.08rem 0.24rem;
  border-radius: 999px;
  background: #fff5cc;
  color: #c99a08;
  font-size: 0.58rem;
  font-weight: 900;
  white-space: nowrap;
}

.pc-hero-source-card--b b {
  background: #eff7ff;
  color: #5da7e8;
}

.pc-hero-source-card--c b {
  background: #ecfdf3;
  color: #56c879;
}

.pc-money-preview-card {
  min-width: 0;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  padding: 4px 0;
  overflow: hidden;
}

.pc-money-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.pc-money-preview-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 58px;
  padding: 6px 8px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.pc-money-preview-cell:nth-child(2n) {
  border-right: none;
}

.pc-money-preview-cell:nth-child(n + 5) {
  border-bottom: none;
}

.pc-money-preview-cell__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: #111827;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 2px 6px rgba(15, 23, 42, 0.1);
}

.pc-money-preview-cell__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.pc-money-preview-cell__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1 1 auto;
}

.pc-money-preview-cell__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #101828;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.pc-money-preview-cell__currency {
  color: #667085;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.pc-money-preview-cell__quote {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
  min-width: max-content;
}

.pc-money-preview-cell__price {
  color: #101828;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-align: right;
  white-space: nowrap;
}

.pc-money-preview-cell__change {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.pc-money-preview-cell__change.is-up {
  color: #c99a08;
}

.pc-money-preview-cell__change.is-down {
  color: #3b82f6;
}

.pc-money-preview-cell__change.is-flat {
  color: #9ca3af;
}

.pc-hero-ad-slot {
  width: 100%;
  height: 100%;
  aspect-ratio: 970 / 250;
  max-height: 250px;
  border: 1px dashed #cbd2dd;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #929caf;
  box-sizing: border-box;
  overflow: hidden;
}

.pc-hero-ad-label {
  font-size: 13px;
  font-weight: 600;
}

.pc-hero-ad-title {
  margin-top: 7px;
  color: #354056;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pc-hero-ad-size {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 600;
}

.pc-change-up {
  color: var(--pc-up);
}

.pc-change-down {
  color: var(--pc-down);
}

.pc-change-flat {
  color: var(--pc-flat);
}

/* ——— Game list ——— */
.pc-games {
  width: var(--pc-content-width);
  min-width: var(--pc-content-width);
  flex-shrink: 0;
}

.pc-games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pc-section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--pc-navy);
}

.pc-games-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-navy);
  padding: 4px 2px;
}

.pc-games-expand-btn.is-expanded .pc-chevron {
  transform: rotate(180deg);
}

.pc-game-rail {
  display: grid;
  grid-template-columns: repeat(8, var(--pc-game-card-width));
  gap: var(--pc-game-rail-gap);
  width: var(--pc-content-width);
  min-width: var(--pc-content-width);
  overflow: visible;
  padding-bottom: 0;
  flex-shrink: 0;
}

.pc-game-rail:not(.is-expanded) > .pc-game-card:nth-child(n + 17) {
  display: none;
}

.pc-game-card {
  width: var(--pc-game-card-width);
  min-width: var(--pc-game-card-width);
  flex: 0 0 var(--pc-game-card-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px 10px;
  background: var(--pc-surface);
  border: 1.5px solid var(--pc-border);
  border-radius: var(--pc-radius-sm);
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.pc-game-card.is-selected {
  border-color: var(--pc-accent);
}

.pc-game-card--placeholder {
  min-height: 78px;
  cursor: default;
  pointer-events: none;
  background: var(--pc-surface);
}

.pc-game-card__check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pc-accent);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  display: none;
}

.pc-game-card.is-selected .pc-game-card__check {
  display: block;
}

.pc-game-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef0f3 center / cover no-repeat;
  overflow: hidden;
}

.pc-game-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-game-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--pc-navy);
  text-align: center;
  line-height: 1.3;
  word-break: keep-all;
  max-width: 100%;
}

/* ——— Workspace 2-col ——— */
.pc-workspace {
  display: grid;
  grid-template-columns: var(--pc-workspace-left) var(--pc-workspace-right);
  gap: var(--pc-workspace-gap);
  width: var(--pc-content-width);
  min-width: var(--pc-content-width);
  align-items: stretch;
  flex-shrink: 0;
}

.pc-workspace-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: var(--pc-workspace-left);
  min-width: var(--pc-workspace-left);
  max-width: var(--pc-workspace-left);
  flex-shrink: 0;
  min-height: 0;
  height: 100%;
}

.pc-card {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  padding: 12px 16px 12px;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

.pc-money-card {
  width: var(--pc-workspace-right);
  min-width: var(--pc-workspace-right);
  max-width: var(--pc-workspace-right);
  flex-shrink: 0;
  box-sizing: border-box;
}

.pc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.pc-card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.pc-card-icon {
  display: inline-flex;
  color: var(--pc-navy);
  flex-shrink: 0;
}

.pc-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--pc-navy);
  letter-spacing: -0.02em;
}

.pc-search-card .pc-card-title {
  color: #111;
  font-weight: 700;
}

.pc-search-card .pc-card-icon {
  color: var(--pc-accent);
}

.pc-card-desc {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--pc-text-muted);
}

.pc-search-card {
  gap: 8px;
  padding: 12px 16px;
}

.pc-search-card .pc-card-head {
  margin-bottom: 0;
}

.pc-search-card .pc-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.pc-accent {
  color: var(--pc-accent);
}

/* Search toggle */
.pc-search-toggle {
  display: inline-flex;
  padding: 3px;
  background: #eef0f3;
  border-radius: 999px;
  flex-shrink: 0;
}

.pc-toggle-btn {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pc-text-muted);
  border-radius: 999px;
  white-space: nowrap;
}

.pc-toggle-btn.is-active {
  background: var(--pc-accent);
  color: var(--pc-navy);
}

.pc-search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
}

.pc-search-row {
  display: flex;
  gap: 8px;
}

.pc-search-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-sm);
  background: #fff;
  font-size: 14px;
}

.pc-search-input:focus {
  outline: 2px solid rgba(244, 196, 48, 0.45);
  outline-offset: 0;
  border-color: var(--pc-accent);
}

.pc-search-input:disabled {
  background: #f3f4f6;
  color: var(--pc-text-muted);
}

.pc-search-submit {
  flex-shrink: 0;
  height: 42px;
  padding: 0 20px;
  background: var(--pc-accent);
  color: var(--pc-navy);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--pc-radius-sm);
}

.pc-search-submit:hover {
  background: var(--pc-accent-hover);
}

.pc-search-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pc-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pc-select {
  width: 100%;
  height: 40px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-sm);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    right 12px center / 12px no-repeat;
  appearance: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--pc-navy);
}

.pc-select:focus {
  outline: 2px solid rgba(244, 196, 48, 0.45);
  border-color: var(--pc-accent);
}

.pc-search-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #b45309;
}

/* ——— Item search results (left column) ——— */
.pc-item-results-card {
  width: 100%;
  flex: 1 1 auto;
  min-height: 360px;
  padding: 22px;
  border: 1px solid #e1e5ec;
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.pc-item-results-header h2 {
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pc-item-results-summary {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 0.75fr);
  border: 1px solid #e3e7ed;
  border-radius: 10px;
  background: #fafbfc;
  overflow: visible;
  flex-shrink: 0;
  align-items: center;
  min-height: 62px;
}

.pc-item-results-summary > div {
  min-width: 0;
  min-height: 62px;
  padding: 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.pc-item-results-summary > div > span {
  display: block;
  margin: 0 0 4px;
  color: #8a94a5;
  font-size: 11px;
  line-height: 1.2;
}

.pc-item-results-summary > div > strong {
  display: block;
  margin: 0;
  color: #172033;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pc-item-results-card .pc-result-summary__lowest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  gap: 2px;
  margin: 0;
  padding: 4px 8px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  box-sizing: border-box;
  overflow: visible;
}

.pc-item-results-card .pc-result-summary__lowest.is-active {
  background: #fff9e6;
  border-color: rgba(244, 196, 48, 0.65);
}

.pc-item-results-card .pc-result-summary__lowest-label {
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #8a94a5;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  font-style: normal;
  text-align: center;
}

.pc-item-results-card .pc-result-summary__lowest.is-active .pc-result-summary__lowest-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(244, 196, 48, 0.28);
  color: #172033;
  font-size: 10px;
  font-weight: 700;
}

.pc-item-results-card .pc-result-summary__lowest-price,
.pc-item-results-card .pc-result-summary__lowest.is-active .pc-result-summary__lowest-price {
  display: block;
  margin: 0;
  color: #172033;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
  min-width: 0;
}

.pc-item-results-card .pc-result-summary__lowest:not(.is-active) .pc-result-summary__lowest-price {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pc-item-results-card .pc-result-summary__lowest-count {
  display: block;
  margin: 0;
  color: #8a94a5;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.pc-item-results-card .pc-result-summary__lowest-count[hidden] {
  display: none !important;
}

.pc-item-results-body {
  margin-top: 12px;
  flex: 1 1 auto;
  min-height: 220px;
  border: 1px solid #e3e7ed;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pc-item-results-empty {
  flex: 1 1 auto;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa3b2;
  font-size: 14px;
  text-align: center;
  padding: 16px;
  box-sizing: border-box;
}

.pc-item-result-row {
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 105px 88px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e8ebf0;
  box-sizing: border-box;
  background: #fff;
}

.pc-item-result-row:last-child {
  border-bottom: 0;
}

.pc-item-result-row.has-image {
  grid-template-columns: 40px minmax(0, 1fr) 90px 105px 88px;
}

.pc-item-results-card .pc-result-row--lowest {
  background: #fff9e6;
  border-bottom-color: rgba(244, 196, 48, 0.35);
  box-shadow: inset 4px 0 0 #f4c430;
}

.pc-item-result-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef0f3;
  display: block;
}

.pc-item-result-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-item-result-text {
  min-width: 0;
  flex: 1 1 auto;
}

.pc-item-result-text strong,
.pc-item-result-text > span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-item-result-text strong {
  color: #172033;
  font-size: 14px;
  font-weight: 700;
}

.pc-item-result-text > span {
  margin-top: 4px;
  color: #8a94a5;
  font-size: 11px;
}

.pc-item-results-card .pc-result-lowest-badge {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(244, 196, 48, 0.28);
  color: #172033;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.pc-item-result-site {
  color: #5b6475;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-item-result-price {
  color: #172033;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.pc-item-result-price-value {
  display: block;
}

.pc-item-results-card .pc-result-row--lowest .pc-item-result-price-value {
  font-size: 17px;
  font-weight: 800;
}

.pc-item-results-card .pc-result-price-difference {
  display: block;
  color: #8a94a5;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.pc-results .pc-result-row--lowest {
  background: #fff9e6;
  box-shadow: inset 4px 0 0 #f4c430;
}

.pc-results .pc-result-title .pc-result-lowest-badge {
  display: inline-flex;
  margin-left: 6px;
  vertical-align: middle;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(244, 196, 48, 0.28);
  color: #172033;
  font-size: 10px;
  font-weight: 700;
}

.pc-results .pc-result-price-difference {
  margin-top: 2px;
  color: #8a94a5;
  font-size: 12px;
  font-weight: 600;
}

.pc-item-result-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 64px;
  min-height: 30px;
  height: 30px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid var(--pc-accent);
  border-radius: 8px;
  background: var(--pc-accent);
  color: var(--pc-navy);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.pc-item-result-link:hover {
  border-color: var(--pc-accent-hover);
  background: var(--pc-accent-hover);
  color: var(--pc-navy);
}

.pc-item-result-link.is-disabled {
  opacity: 0.45;
  color: var(--pc-navy);
  pointer-events: none;
  cursor: default;
}

.pc-item-results-more {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #f4b400;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.pc-item-results-more:hover:not(:disabled) {
  text-decoration: underline;
}

.pc-item-results-more:disabled {
  color: #abb2bf;
  cursor: default;
}

/* Money table card */
.pc-money-head {
  align-items: flex-start;
}

.pc-money-title {
  font-size: 18px;
  line-height: 1.35;
  max-width: calc(100% - 90px);
}

.pc-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--pc-text-muted);
  white-space: nowrap;
  padding: 2px 0;
}

.pc-refresh-btn:hover {
  color: var(--pc-navy);
}

.pc-refresh-btn.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.pc-money-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pc-money-filter {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-sm);
  font-size: 12px;
  background: #fff;
}

.pc-money-filter:focus {
  outline: 2px solid rgba(244, 196, 48, 0.45);
  border-color: var(--pc-accent);
}

.pc-money-note {
  margin: 0;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--pc-text-muted);
  white-space: nowrap;
}

.pc-money-market {
  min-width: 0;
  width: 100%;
}

.pc-money-market-header {
  display: grid;
  grid-template-columns: 355px 355px;
  width: 100%;
  min-width: 710px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pc-text-muted);
  background: #fafbfc;
  border-top: 1px solid #e4e8ef;
  border-bottom: 1px solid #e4e8ef;
  box-sizing: border-box;
}

.pc-money-market-header__col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px 60px;
  align-items: center;
  column-gap: 10px;
  padding: 6px 14px;
  box-sizing: border-box;
}

.pc-money-market-header__col:first-child {
  border-right: 1px solid #e3e7ed;
}

.pc-money-market-header__price {
  text-align: right;
}

.pc-money-market-header__detail {
  text-align: center;
}

.pc-money-market-grid {
  display: grid;
  grid-template-columns: 355px 355px;
  grid-auto-flow: row;
  width: 100%;
  min-width: 710px;
  border-bottom: 1px solid #e4e8ef;
  flex-shrink: 0;
}

.pc-money-market-item {
  min-width: 0;
  height: 70px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px 60px;
  align-items: center;
  column-gap: 10px;
  border-bottom: 1px solid #e8ebf0;
  box-sizing: border-box;
}

.pc-money-market-item:nth-child(odd) {
  border-right: 1px solid #e3e7ed;
}

.pc-money-market-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.pc-money-market-item--placeholder {
  pointer-events: none;
  cursor: default;
  background: #fff;
}

.pc-money-market-game {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-money-market-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef0f3;
  display: block;
}

.pc-money-market-logo--empty {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-block;
  border-radius: 8px;
  background: #eef0f3;
}

.pc-money-market-name {
  min-width: 0;
  color: #172033;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-money-market-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  white-space: nowrap;
}

.pc-money-market-price strong {
  color: #172033;
  font-size: 15px;
  font-weight: 800;
}

.pc-money-market-price span {
  font-size: 12px;
  font-weight: 700;
}

.pc-money-market-detail {
  border: 0;
  background: transparent;
  color: #f4b400;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.pc-money-market-detail:hover {
  text-decoration: underline;
}

.pc-money-market-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--pc-text-muted);
  padding: 28px 8px;
  font-size: 13px;
}

.pc-money-market-expand {
  width: 100%;
  height: 48px;
  border: 0;
  border-top: 1px solid #e8ebf0;
  background: #fff;
  color: #263147;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pc-money-market-expand:hover {
  background: #fafbfc;
}

.pc-table-msg {
  text-align: center !important;
  color: var(--pc-text-muted);
  padding: 28px 8px !important;
  font-size: 13px;
}

.pc-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 1px;
}

/* ——— Ad ——— */
.pc-ad {
  display: flex;
  justify-content: center;
  padding: 4px 0 2px;
}

.pc-ad-inner {
  width: 100%;
  max-width: 970px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1.5px dashed #c4c9d1;
  border-radius: var(--pc-radius-sm);
  background: #fafbfc;
  color: #9ca3af;
  font-size: 12px;
}

.pc-ad-inner strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

/* ——— Results panel ——— */
.pc-results {
  margin-top: 8px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  padding: 16px 18px 20px;
}

.pc-results[hidden] {
  display: none !important;
}

.pc-results-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pc-back-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-navy);
  padding: 6px 10px;
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius-sm);
  background: #fff;
}

.pc-back-btn:hover {
  border-color: #d1d5db;
}

.pc-results-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--pc-navy);
}

.pc-results-meta {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--pc-text-muted);
}

.pc-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pc-result-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--pc-border-soft);
  border-radius: var(--pc-radius-sm);
  background: #fafbfc;
}

.pc-result-site {
  font-size: 12px;
  font-weight: 700;
  color: var(--pc-navy);
}

.pc-result-title {
  font-size: 13px;
  color: var(--pc-text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-result-server {
  font-size: 11px;
  color: var(--pc-text-muted);
  margin-top: 2px;
}

.pc-result-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--pc-navy);
  white-space: nowrap;
}

.pc-result-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--pc-accent);
}

.pc-results-empty {
  padding: 32px 12px;
  text-align: center;
  color: var(--pc-text-muted);
  font-size: 14px;
}

/* ——— Footer ——— */
.pc-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--pc-border);
  text-align: center;
}

.pc-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 4px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pc-navy);
}

.pc-footer-nav a:hover {
  text-decoration: underline;
}

.pc-footer-sep {
  color: #d1d5db;
  margin: 0 6px;
  font-weight: 400;
}

.pc-footer-legal {
  max-width: 920px;
  margin: 0 auto 10px;
}

.pc-footer-legal p {
  margin: 0 0 2px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--pc-text-muted);
  word-break: keep-all;
}

.pc-footer-contact {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--pc-text-muted);
}

.pc-footer-contact a {
  color: var(--pc-navy);
  font-weight: 600;
}

.pc-footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--pc-text-muted);
}

/* ——— PC detail pages (/pc/item-results, /pc/money-detail) ——— */
.pc-detail-main {
  padding-bottom: 8px;
}

.pc-item-search-top {
  display: grid;
  grid-template-columns: 590px minmax(0, 1fr);
  column-gap: 20px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin-bottom: 8px;
}

.pc-item-search-panel,
.pc-item-top-ad {
  min-width: 0;
  box-sizing: border-box;
}

.pc-item-search-panel .pc-search-card {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-bottom: 0;
  height: 100%;
}

.pc-item-top-ad {
  min-height: 90px;
  border: 1px dashed #d7dce5;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6f7888;
}

.pc-item-top-ad .pc-ad-label,
.pc-sidebar-ad .pc-ad-label {
  font-size: 12px;
  font-weight: 600;
  color: #9aa3b2;
}

.pc-item-top-ad strong,
.pc-sidebar-ad strong {
  font-size: 15px;
  font-weight: 800;
  color: #6f7888;
}

.pc-item-top-ad span:last-child,
.pc-sidebar-ad span:last-child {
  font-size: 12px;
}

.pc-item-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 24px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.pc-item-results-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pc-item-results-main > .pc-detail-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: 100%;
}

.pc-item-results-main .pc-detail-results-card {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.pc-item-results-sidebar {
  width: 300px;
  min-width: 300px;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.pc-sidebar-ad {
  width: 300px;
  height: 250px;
  flex: 0 0 250px;
  max-height: 250px;
  box-sizing: border-box;
  border: 1px dashed #d7dce5;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6f7888;
  overflow: hidden;
}

.pc-recent-search-card,
.pc-recommended-search-card {
  width: 300px;
  box-sizing: border-box;
  border: 1px solid #dfe3ea;
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.pc-recommended-search-card {
  height: 250px;
  flex: 0 0 250px;
  max-height: 250px;
}

.pc-recommended-search-card[hidden] {
  display: none !important;
}

.pc-recent-search-card {
  flex: 1 1 auto;
  height: auto;
  min-height: 120px;
}

.pc-recent-search-card .pc-sidebar-card-header,
.pc-recommended-search-card .pc-sidebar-card-header {
  flex: 0 0 auto;
}

.pc-recent-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.pc-recommended-search-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.pc-sidebar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pc-recent-search-card h3,
.pc-recommended-search-card h3 {
  margin: 0;
  color: #17233d;
  font-size: 15px;
  font-weight: 800;
}

.pc-recent-search-clear {
  border: 0;
  background: transparent;
  color: #8b93a3;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.pc-recent-search-clear:hover {
  color: #17233d;
  text-decoration: underline;
}

.pc-recent-search-item {
  border-top: 1px solid #edf0f4;
}

.pc-recent-search-item:first-child {
  border-top: 0;
}

.pc-recent-search-empty {
  color: #8b93a3;
  font-size: 13px;
  padding: 8px 0;
}

.pc-recent-search-button {
  width: 100%;
  min-height: 40px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #17233d;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.pc-recent-search-button:hover .pc-recent-search-query {
  color: #1a2744;
  text-decoration: underline;
}

.pc-recent-search-query {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-recent-search-meta {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #8b93a3;
}

.pc-recommended-search-button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #dde2ea;
  border-radius: 999px;
  background: #f7f8fa;
  color: #17233d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pc-recommended-search-button:hover {
  border-color: #f4c430;
  background: #fff9df;
}

.pc-detail-main > .pc-search-card {
  width: var(--pc-workspace-left);
  min-width: var(--pc-workspace-left);
  max-width: var(--pc-workspace-left);
  margin-bottom: 8px;
  box-sizing: border-box;
}

.pc-detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.pc-detail-layout--full {
  display: block;
}

.pc-detail-layout--full .pc-detail-content {
  width: 100%;
  max-width: 100%;
}

.pc-detail-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.pc-detail-sidebar {
  flex: 0 0 300px;
  width: 300px;
}

.pc-detail-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pc-detail-sidebar-sticky {
  position: sticky;
  top: 24px;
}

.pc-detail-results-card {
  padding: 18px 20px 20px;
  min-height: 420px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.pc-detail-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.pc-detail-results-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--pc-navy);
  line-height: 1.3;
}

.pc-item-results-main .pc-detail-results-title {
  font-size: 18px;
  color: #111;
  letter-spacing: -0.02em;
}

.pc-detail-results-meta {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--pc-text-muted);
  line-height: 1.45;
}

.pc-detail-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.pc-detail-filter .pc-select {
  min-width: 148px;
}

.pc-detail-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  background: var(--pc-surface);
  min-height: 280px;
  min-width: 0;
  max-width: 100%;
}

.pc-detail-table-wrap:has(.pc-item-result-table) {
  overflow-x: hidden;
}

.pc-detail-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pc-detail-table th,
.pc-detail-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--pc-border-soft);
  font-size: 13px;
  vertical-align: middle;
  color: var(--pc-text);
  box-sizing: border-box;
}

.pc-detail-table th {
  background: #fafbfc;
  font-weight: 600;
  color: var(--pc-text-muted);
  text-align: left;
  white-space: nowrap;
}

.pc-detail-table th.is-num,
.pc-detail-table td.is-num,
.pc-col-price,
.pc-col-diff {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pc-detail-row {
  height: 58px;
}

.pc-detail-row.is-lowest,
.pc-detail-row.is-selected {
  background: rgba(244, 196, 48, 0.12);
  box-shadow: inset 3px 0 0 var(--pc-accent);
}

.pc-detail-item-title {
  display: block;
  font-weight: 600;
  color: var(--pc-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-item-result-table .pc-result-lowest-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  vertical-align: middle;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(244, 196, 48, 0.28);
  color: #172033;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.pc-detail-item-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--pc-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-detail-price {
  display: block;
  font-weight: 700;
  color: var(--pc-navy);
  font-variant-numeric: tabular-nums;
}

.pc-detail-price.is-lowest {
  color: #9a7b00;
}

/* ——— PC item results: shared CSS Grid columns (card-fit) ——— */
.pc-item-result-table {
  --result-columns:
    150px
    minmax(0, 2fr)
    130px
    150px
    200px
    76px;
  --result-column-gap: 12px;

  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.pc-item-result-table .pc-item-result-header,
.pc-item-result-table .pc-item-result-row {
  display: grid;
  grid-template-columns: var(--result-columns);
  column-gap: var(--result-column-gap);
  align-items: center;

  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;

  padding-left: 22px;
  padding-right: 22px;
}

.pc-item-result-table .pc-item-result-header {
  min-height: 44px;
  background: #fafbfc;
  border-bottom: 1px solid var(--pc-border-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-text-muted);
  white-space: nowrap;
}

.pc-item-result-table .pc-item-result-row {
  min-height: 58px;
  border-bottom: 1px solid var(--pc-border-soft);
  font-size: 13px;
  color: var(--pc-text);
}

.pc-item-result-table .pc-item-result-row:last-child {
  border-bottom: 0;
}

.pc-item-result-table .pc-item-result-row.is-lowest {
  background: rgba(244, 196, 48, 0.12);
  box-shadow: inset 3px 0 0 var(--pc-accent);
}

.pc-item-result-table .pc-item-result-header > *,
.pc-item-result-table .pc-item-result-row > * {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.pc-item-result-table .pc-item-result-header > :nth-child(1),
.pc-item-result-table .pc-item-result-row > :nth-child(1) {
  text-align: left;
}

.pc-item-result-table .pc-item-result-header > :nth-child(2),
.pc-item-result-table .pc-item-result-row > :nth-child(2) {
  text-align: left;
  overflow: hidden;
}

.pc-item-result-table .pc-item-result-header > :nth-child(3),
.pc-item-result-table .pc-item-result-row > :nth-child(3) {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-item-result-table .pc-item-result-header > :nth-child(4),
.pc-item-result-table .pc-item-result-row > :nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pc-item-result-table .pc-item-result-header > :nth-child(5),
.pc-item-result-table .pc-item-result-row > :nth-child(5) {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--pc-text-muted);
  font-size: 12px;
}

.pc-item-result-table .pc-item-result-header > :nth-child(6),
.pc-item-result-table .pc-item-result-row > :nth-child(6) {
  justify-self: center;
  text-align: center;
}

.pc-item-result-title,
.pc-item-result-subtitle {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pc-item-result-title {
  font-weight: 600;
  color: var(--pc-navy);
}

.pc-item-result-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--pc-text-muted);
}

.pc-item-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  width: auto;
  height: 36px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid var(--pc-accent);
  border-radius: 8px;
  background: var(--pc-accent);
  color: var(--pc-navy);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.pc-item-link-button:hover {
  border-color: var(--pc-accent-hover);
  background: var(--pc-accent-hover);
  color: var(--pc-navy);
}

.pc-item-link-button.is-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.pc-col-site {
  width: 110px;
}

.pc-col-server {
  width: 110px;
}

.pc-col-price {
  width: 120px;
}

.pc-col-diff {
  width: 110px;
  color: var(--pc-text-muted);
  font-size: 12px;
}

.pc-col-link {
  width: 88px;
  text-align: center !important;
}

.pc-detail-table th.pc-col-link,
.pc-detail-table td.pc-col-link {
  text-align: center;
}

.pc-detail-ext-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  width: auto;
  min-height: 30px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--pc-accent);
  border-radius: 8px;
  background: var(--pc-accent);
  color: var(--pc-navy);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.pc-detail-ext-btn:hover {
  border-color: var(--pc-accent-hover);
  background: var(--pc-accent-hover);
  color: var(--pc-navy);
}

.pc-detail-ext-btn.is-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.pc-detail-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--pc-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.pc-detail-empty--tall {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-detail-empty-hint {
  margin: 8px 0 0;
  font-size: 13px;
}

.pc-detail-pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.pc-detail-pager__btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--pc-navy);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pc-detail-pager__btn.is-active {
  border-color: var(--pc-accent);
  background: rgba(244, 196, 48, 0.18);
}

.pc-detail-pager__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.pc-detail-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 300px;
  height: 250px;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  background: #fafafa;
  color: var(--pc-text-muted);
  text-align: center;
}

.pc-detail-ad--tall {
  height: 600px;
}

.pc-detail-ad__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pc-detail-ad__title {
  font-size: 15px;
  color: var(--pc-navy);
}

.pc-detail-ad__size {
  font-size: 12px;
}

.pc-detail-side-card {
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  background: var(--pc-surface);
  padding: 14px 14px 12px;
}

.pc-detail-side-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pc-navy);
}

.pc-detail-side-list,
.pc-detail-info-list,
.pc-detail-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-detail-side-list li + li,
.pc-detail-info-list li + li,
.pc-detail-link-list li + li {
  margin-top: 8px;
}

.pc-detail-side-link,
.pc-detail-link-list a {
  color: var(--pc-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.pc-detail-side-link:hover,
.pc-detail-link-list a:hover {
  text-decoration: underline;
}

.pc-detail-side-empty {
  font-size: 13px;
  color: var(--pc-text-muted);
}

.pc-detail-side-money {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  text-decoration: none;
  color: inherit;
}

.pc-detail-side-money__name {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-navy);
}

.pc-detail-side-money__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--pc-navy);
}

.pc-detail-info-list li {
  font-size: 12px;
  line-height: 1.45;
  color: var(--pc-text-muted);
}

.pc-detail-bottom-ad {
  margin-top: 24px;
}

.pc-money-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.pc-money-kpi-card {
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  background: #fafbfc;
  padding: 12px 14px;
}

.pc-money-kpi-card span {
  display: block;
  font-size: 12px;
  color: var(--pc-text-muted);
  margin-bottom: 6px;
}

.pc-money-kpi-card strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--pc-navy);
  font-variant-numeric: tabular-nums;
}

.pc-detail-status-note {
  margin: -4px 0 12px;
  font-size: 12px;
  color: var(--pc-text-muted);
}

.pc-money-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px 20px;
  align-items: stretch;
}

.pc-money-servers-panel,
.pc-money-listings-panel {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
  min-width: 0;
  min-height: 0;
}

.pc-money-panel-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}

.pc-money-panel-head .pc-detail-panel-title {
  margin: 0;
}

.pc-money-panel-head .pc-detail-filters {
  margin-bottom: 0;
}

.pc-money-listings-head {
  display: flex;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 0;
  min-width: 0;
  width: 100%;
}

.pc-money-listings-head .pc-detail-panel-title {
  margin: 0;
  flex: 0 0 auto;
}

.pc-money-listings-head .pc-detail-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  flex: 0 0 auto;
}

.pc-money-listings-head .pc-detail-filter .pc-select {
  min-width: 0;
}

.pc-money-table-wrap {
  min-height: calc(44px + 15 * 58px);
  max-height: calc(44px + 15 * 58px);
  overflow: hidden;
}

.pc-money-panel-pager {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-detail-layout--full .pc-money-server-table,
.pc-detail-layout--full .pc-money-listings-panel .pc-detail-table {
  width: 100%;
}

.pc-detail-panel-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pc-navy);
}

.pc-money-listing-quantity {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--pc-text);
  white-space: nowrap;
}

.pc-change {
  font-size: 12px;
  font-weight: 700;
}

.pc-change.is-up {
  color: var(--pc-up);
}

.pc-change.is-down {
  color: var(--pc-down);
}

.pc-change.is-flat {
  color: var(--pc-flat);
}

/* ===== ItemMania PC search guide modal ===== */
.pc-itemmania-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pc-itemmania-modal-root[hidden] {
  display: none !important;
}

body.pc-itemmania-modal-open {
  overflow: hidden;
}

.pc-itemmania-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 39, 68, 0.45);
}

.pc-itemmania-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  padding: 28px 28px 24px;
  border-radius: 16px;
  background: var(--pc-surface, #ffffff);
  box-shadow: 0 20px 48px rgba(26, 39, 68, 0.18);
  font-family: var(--pc-font);
}

.pc-itemmania-modal__x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pc-text-muted, #6b7280);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pc-itemmania-modal__x:hover {
  background: var(--pc-bg, #f5f6f8);
  color: var(--pc-navy, #1a2744);
}

.pc-itemmania-modal__title {
  margin: 0 28px 12px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--pc-navy, #1a2744);
  letter-spacing: -0.02em;
}

.pc-itemmania-modal__desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pc-text-muted, #6b7280);
}

.pc-itemmania-modal__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--pc-bg, #f5f6f8);
  border: 1px solid var(--pc-border-soft, #eceff3);
}

.pc-itemmania-modal__row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.45;
}

.pc-itemmania-modal__label {
  color: var(--pc-text-muted, #6b7280);
  font-weight: 600;
}

.pc-itemmania-modal__value {
  color: var(--pc-navy, #1a2744);
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.pc-itemmania-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-itemmania-modal__btn {
  flex: 1 1 auto;
  min-width: 120px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.pc-itemmania-modal__btn--copy,
.pc-itemmania-modal__btn--primary {
  background: var(--pc-accent, #f4c430);
  color: var(--pc-navy, #1a2744);
}

.pc-itemmania-modal__btn--copy:hover,
.pc-itemmania-modal__btn--primary:hover {
  background: var(--pc-accent-hover, #e0b01c);
}

.pc-itemmania-modal__btn--secondary {
  background: #fff;
  border-color: var(--pc-border, #e5e7eb);
  color: var(--pc-text-muted, #6b7280);
}

.pc-itemmania-modal__btn--secondary:hover {
  border-color: var(--pc-navy, #1a2744);
  color: var(--pc-navy, #1a2744);
}

button.pc-item-result-link,
button.pc-result-link,
button.pc-detail-ext-btn,
button.pc-item-link-button {
  font-family: inherit;
}

button.pc-result-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
