/* =============================================================
   Zezima.net — Account Price Checker (page-specific styles)
   Inherits v3 tokens from /css/style-v3.css (loaded before this).
   ============================================================= */

/* --- Page shell ---------------------------------------------- */
/* Intentionally DO NOT override body background here — v3's body rule
   paints the dark gradient for us. Earlier `background: transparent`
   was making the page render white. */

.site-header .header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pc-subnav { display: flex; justify-content: center; }
.pc-back {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--transition);
}
.pc-back:hover { color: var(--gold-bright); }

.pc-quicklink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08) 0%, rgba(12, 12, 14, 0.65) 100%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan-bright);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.pc-quicklink:hover {
  border-color: var(--cyan-bright);
  color: var(--text-bright);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
  transform: translateY(-1px);
}
.pc-quicklink-icon {
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 4px rgba(245, 217, 106, 0.3));
}

/* --- Main layout --------------------------------------------- */
.pc-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 30px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pc-hero { display: flex; flex-direction: column; gap: 18px; }
.pc-hero-compact { gap: 14px; }
.pc-hero-head { display: flex; flex-direction: column; gap: 8px; }
.pc-title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  text-shadow: 0 0 14px rgba(245, 217, 106, 0.25);
}
.pc-title-coin {
  width: 32px; height: 32px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 8px rgba(245, 217, 106, 0.4));
}

/* Hero row — widget on the left, mode toggle on the right */
.pc-hero-widgets {
  display: grid;
  grid-template-columns: minmax(320px, 400px) 1fr;
  gap: 20px;
  align-items: stretch;
}
.pc-market-widget { align-self: start; }

/* --- Mode toggle (single "Try Wizard Mode" button) ----------- */
.pc-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
/* When the toggle is a single button (classic view), let it span the
   full hero column so it balances the GP widget's card on the left. */
.pc-mode-toggle-single {
  grid-template-columns: 1fr;
}
.pc-mode-toggle-btn {
  min-height: 100%;
  justify-content: center;
}
.pc-mode-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 18px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pc-mode-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(212, 179, 72, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.pc-mode-btn:hover {
  border-color: var(--border-glow);
  color: var(--text);
  transform: translateY(-1px);
}
.pc-mode-btn:hover::before { opacity: 1; }
.pc-mode-btn.is-active {
  border-color: rgba(245, 217, 106, 0.55);
  color: var(--gold-bright);
  box-shadow: var(--shadow-gold);
}
.pc-mode-btn.is-active::before { opacity: 1; }
.pc-mode-ico {
  width: 22px; height: 22px;
  fill: currentColor;
}
.pc-mode-btn span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: inherit;
}
.pc-mode-btn small {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* Hide inactive panes */
.pc-mode-pane[hidden] { display: none !important; }

/* --- Grid of panels ------------------------------------------ */
.pc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}
.pc-panel {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-inset) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.pc-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 179, 72, 0.35) 50%,
    transparent 100%);
  opacity: 0.6;
}
.pc-panel-wide { grid-column: 1 / -1; }

.pc-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.pc-h2 {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pc-h2-ico {
  width: 18px; height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
}
.pc-panel-sub {
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.pc-panel-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Buttons ------------------------------------------------- */
.pc-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.pc-btn-primary {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-deep) 100%);
  color: #1a1208;
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(245, 217, 106, 0.25);
}
.pc-btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 2px 14px rgba(245, 217, 106, 0.4);
  transform: translateY(-1px);
}
.pc-btn-primary:disabled {
  filter: grayscale(0.6) brightness(0.8);
  cursor: wait;
  transform: none;
}
.pc-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  border-color: var(--border);
}
.pc-btn-ghost:hover {
  border-color: var(--border-glow);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.pc-btn-ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* --- Lookup row ---------------------------------------------- */
.lookup-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lookup-row input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 10px 14px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all var(--transition);
}
.lookup-row input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 179, 72, 0.15);
}

.pc-status-line {
  font-size: 12px;
  color: var(--text-dim);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--border-glow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  letter-spacing: 0.02em;
}

.pc-signal-row { display: flex; flex-wrap: wrap; gap: 6px; }
.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan-bright);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* --- Result cards ------------------------------------------- */
.pc-empty-state {
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.pc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pc-result-card {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.pc-result-card strong {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  font-variant-numeric: tabular-nums;
}
.pc-result-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.pc-result-card-featured {
  background: linear-gradient(180deg, rgba(245, 217, 106, 0.12) 0%, rgba(12, 12, 14, 0.6) 100%);
  border-color: rgba(245, 217, 106, 0.55);
  box-shadow: var(--shadow-gold);
}
.pc-result-card-featured strong { color: var(--gold-bright); }

.pc-confidence-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
}
.pc-confidence-row strong {
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.pc-confidence-bar {
  position: relative;
  height: 6px;
  background: var(--bg-inset);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.pc-confidence-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold-bright) 100%);
  width: 0;
  transition: width 0.45s ease;
  box-shadow: 0 0 10px rgba(245, 217, 106, 0.5);
}

.pc-meta-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.pc-meta-pill strong {
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pc-meta-pill[hidden] { display: none; }

.pc-note-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.pc-note-list li {
  font-size: 12px;
  color: var(--text-dim);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(34, 211, 238, 0.3);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
}

/* --- Form grid ---------------------------------------------- */
.pc-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 16px;
}
.pc-field { display: flex; flex-direction: column; gap: 6px; }
.pc-field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 700;
}
.pc-field-ico {
  width: 13px; height: 13px;
  fill: var(--gold);
  flex-shrink: 0;
  opacity: 0.8;
}
.pc-field select, .pc-field input {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 13px;
  transition: all var(--transition);
}
.pc-field select:focus, .pc-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 179, 72, 0.15);
}
.pc-readonly-field {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.pc-readonly-field strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* --- Skill grid with real OSRS icons ------------------------- */
.pc-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 10px;
}
.skill-card {
  display: grid;
  grid-template-columns: 28px 1fr 52px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(12, 12, 14, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.skill-card:hover {
  border-color: rgba(245, 217, 106, 0.35);
  background: linear-gradient(180deg, rgba(245, 217, 106, 0.04) 0%, rgba(12, 12, 14, 0.6) 100%);
}
.skill-card .skill-icon {
  width: 24px; height: 24px;
  image-rendering: pixelated;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.6));
}
.skill-card .skill-icon-fallback {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--gold-bright);
  background: rgba(245, 217, 106, 0.12);
  border: 1px solid rgba(245, 217, 106, 0.35);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.skill-card label {
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skill-card input {
  width: 100%;
  padding: 4px 6px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.skill-card input:focus { outline: none; border-color: var(--gold-bright); }
.skill-card.is-maxed {
  border-color: rgba(245, 217, 106, 0.55);
  box-shadow: inset 0 0 10px rgba(245, 217, 106, 0.08);
}
.skill-card.is-maxed input { color: var(--gold-bright); }

/* --- Quests panel -------------------------------------------- */
.pc-panel-quests[hidden] { display: none !important; }
.pc-quests-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pc-quests-summary {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  padding: 4px 10px;
  border: 1px solid rgba(245, 217, 106, 0.35);
  border-radius: 999px;
  background: rgba(245, 217, 106, 0.08);
  font-weight: 700;
  font-family: var(--font-body);
}

.pc-quests-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pc-quests-search {
  flex: 1 1 220px;
  min-width: 0;
  padding: 8px 12px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 13px;
  transition: all var(--transition);
}
.pc-quests-search:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 179, 72, 0.15);
}
.pc-quests-tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.pc-quests-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}
.pc-quests-tab:hover { border-color: var(--border-glow); color: var(--text); }
.pc-quests-tab.is-active {
  background: linear-gradient(180deg, rgba(245, 217, 106, 0.18) 0%, rgba(168, 134, 40, 0.14) 100%);
  border-color: rgba(245, 217, 106, 0.5);
  color: #fde68a;
}

.pc-quests-status {
  font-size: 12px;
  color: var(--text-dim);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.pc-quests-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 4px;
}
.pc-quests-list::-webkit-scrollbar { width: 8px; }
.pc-quests-list::-webkit-scrollbar-thumb { background: var(--border-glow); border-radius: 4px; }
.quest-card {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(12, 12, 14, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.quest-card:hover { border-color: var(--border-glow); transform: translateX(1px); }
.quest-card input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--gold-bright);
  cursor: pointer;
}
.quest-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quest-card-name {
  font-size: 13px; font-weight: 600; color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.quest-card-meta {
  font-size: 10px; color: var(--text-muted);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.quest-card-value {
  font-family: var(--font-body);
  font-weight: 700; font-size: 13px;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.quest-card.is-selected {
  border-color: rgba(34, 197, 94, 0.5);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, rgba(12, 12, 14, 0.6) 100%);
}
.quest-card.is-selected .quest-card-name { color: #a7f3d0; }
.quest-card.is-selected::after {
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.quest-popularity { display: inline-flex; gap: 1px; margin-left: 4px; }
.quest-popularity i {
  width: 2px; height: 8px;
  background: var(--gold-deep);
  opacity: 0.25;
  border-radius: 1px;
}
.quest-popularity i.is-on { opacity: 1; background: var(--gold-bright); }

/* --- Live comparables --------------------------------------- */
.pc-comparable-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.comparable-card {
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(12, 12, 14, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition);
}
.comparable-card:hover {
  border-color: rgba(245, 217, 106, 0.3);
  transform: translateY(-1px);
}
.comparable-card h3 {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  color: var(--text-bright);
  margin: 0; line-height: 1.3;
}
.comparable-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.comparable-price-row strong {
  font-size: 20px;
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.comparable-price-row span {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.comparable-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 11px;
  color: var(--text-dim);
}
.comparable-meta span { letter-spacing: 0.02em; }
.comparable-link {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 11px;
  color: var(--cyan-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid rgba(34, 211, 238, 0.25);
  transition: all var(--transition);
}
.comparable-link:hover {
  color: var(--text-bright);
  border-color: var(--cyan-bright);
}

/* --- Wizard mode -------------------------------------------- */
.pc-wizard { display: flex; flex-direction: column; gap: 22px; }
.pc-wizard-panel {
  padding: 28px 28px 24px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  min-height: 420px;
}
.pc-wizard-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pc-wizard-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.pc-wizard-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold-bright) 100%);
  width: 0%;
  transition: width 0.35s ease;
  box-shadow: 0 0 8px rgba(245, 217, 106, 0.5);
}
.pc-wizard-step-count {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.pc-wizard-step-count strong {
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 13px;
}

.pc-wizard-stage {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0;
}
.pc-wizard-stage h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pc-wizard-stage h3 svg { width: 22px; height: 22px; fill: var(--gold); }
.pc-wizard-stage p.hint {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
}
.pc-wizard-stage .wizard-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.pc-wizard-stage input,
.pc-wizard-stage select {
  flex: 1 1 240px;
  min-width: 0;
  padding: 11px 14px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all var(--transition);
}
.pc-wizard-stage input:focus,
.pc-wizard-stage select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 179, 72, 0.15);
}
.pc-wizard-stage .wizard-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.pc-wizard-stage .wizard-pill {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  transition: all var(--transition);
}
.pc-wizard-stage .wizard-pill:hover { border-color: var(--border-glow); color: var(--text-bright); }
.pc-wizard-stage .wizard-pill.is-selected {
  background: linear-gradient(180deg, rgba(245, 217, 106, 0.18) 0%, rgba(168, 134, 40, 0.14) 100%);
  border-color: rgba(245, 217, 106, 0.55);
  color: #fde68a;
}

.pc-wizard-stage .wizard-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.pc-wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
.pc-wizard-hint {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.pc-wizard-hint kbd {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 1px 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-bright);
}

/* Final review card in the wizard */
.pc-wizard-review {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pc-wizard-review div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}
.pc-wizard-review span {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}
.pc-wizard-review strong {
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --- Shared widget layout tweaks ---------------------------- */
.pc-market-widget { min-width: 0; }
.hidden { display: none !important; }

/* --- Footer -------------------------------------------------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-deep) 100%);
}
.site-footer .footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.pc-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 820px;
  margin: 4px auto 0;
  line-height: 1.5;
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 1024px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc-hero-widgets { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 10px 14px;
  }
  .site-logo { height: 34px; }
  .pc-quicklink span { display: none; }
  .pc-quicklink { padding: 7px; }
  .pc-title { font-size: 22px; }
  .pc-title-coin { width: 26px; height: 26px; }
  .pc-mode-toggle { grid-template-columns: 1fr; }
  .pc-main { padding: 20px 14px 40px; gap: 20px; }
  .pc-panel { padding: 16px 14px 18px; }
  .pc-wizard-panel { padding: 18px 16px; }
  .pc-wizard-stage h3 { font-size: 18px; }
}

/* --------------------------------------------------------------
   Flashy "Estimate" final-step treatment
   The estimate panel is the last action on the page — it previously
   read as just another panel. This block gives it a thicker gold
   frame with an animated gradient shimmer, a "Final Step" badge,
   and a pulsing, icon-prefixed CTA button so the user knows where
   to click without scanning.
   -------------------------------------------------------------- */
.pc-panel-hero {
  position: relative;
  border-color: rgba(245, 217, 106, 0.55);
  box-shadow:
    0 0 0 1px rgba(245, 217, 106, 0.18) inset,
    0 10px 40px -10px rgba(245, 217, 106, 0.25),
    var(--shadow-card);
  background:
    radial-gradient(ellipse at top, rgba(245, 217, 106, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-inset) 100%);
  overflow: hidden;
}
.pc-panel-hero::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245, 217, 106, 0.9) 50%,
    transparent 100%);
  height: 2px;
  animation: pc-hero-scan 3.6s ease-in-out infinite;
}
@keyframes pc-hero-scan {
  0%, 100% { opacity: 0.45; transform: scaleX(0.85); }
  50%      { opacity: 1;    transform: scaleX(1); }
}
.pc-panel-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(245, 217, 106, 0.04) 45%,
    transparent 60%);
}
.pc-panel-hero-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-deep) 100%);
  border: 1px solid rgba(245, 217, 106, 0.6);
  border-radius: 999px;
  padding: 3px 10px 3px;
  box-shadow: 0 2px 10px rgba(245, 217, 106, 0.35);
  z-index: 2;
}
.pc-h2-xl {
  font-size: 22px;
  letter-spacing: 0.06em;
}
.pc-h2-xl .pc-h2-ico {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 6px rgba(245, 217, 106, 0.5));
}

/* Hero CTA button --------------------------------------------- */
.pc-btn-hero {
  position: relative;
  overflow: hidden;
  padding: 12px 22px 12px 18px;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: 10px;
  box-shadow:
    0 2px 10px rgba(245, 217, 106, 0.28),
    0 0 0 0 rgba(245, 217, 106, 0.55);
  animation: pc-btn-hero-pulse 2.2s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pc-btn-hero-ico {
  width: 16px;
  height: 16px;
  fill: #1a1208;
  animation: pc-btn-hero-spin 4.5s linear infinite;
  filter: drop-shadow(0 0 2px rgba(255, 235, 150, 0.7));
  flex: 0 0 auto;
}
.pc-btn-hero-label {
  position: relative;
  z-index: 2;
  font-weight: 700;
}
.pc-btn-hero-shimmer {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%);
  transform: skewX(-20deg);
  animation: pc-btn-hero-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
.pc-btn-hero:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
  box-shadow:
    0 4px 20px rgba(245, 217, 106, 0.55),
    0 0 0 4px rgba(245, 217, 106, 0.18);
}
.pc-btn-hero:hover .pc-btn-hero-ico { animation-duration: 2s; }
.pc-btn-hero:disabled {
  animation: none;
}
.pc-btn-hero:disabled .pc-btn-hero-shimmer,
.pc-btn-hero:disabled .pc-btn-hero-ico { animation: none; }

@keyframes pc-btn-hero-pulse {
  0%, 100% {
    box-shadow:
      0 2px 10px rgba(245, 217, 106, 0.28),
      0 0 0 0 rgba(245, 217, 106, 0.55);
  }
  50% {
    box-shadow:
      0 2px 16px rgba(245, 217, 106, 0.45),
      0 0 0 8px rgba(245, 217, 106, 0);
  }
}
@keyframes pc-btn-hero-shimmer {
  0%        { left: -60%; }
  55%, 100% { left: 130%; }
}
@keyframes pc-btn-hero-spin {
  0%, 60% { transform: rotate(0deg); }
  70%     { transform: rotate(20deg); }
  80%     { transform: rotate(-15deg); }
  100%    { transform: rotate(360deg); }
}

/* Result cards: elevate the featured "Mid" card slightly when
   inside the hero panel so the whole cluster feels like one step. */
.pc-panel-hero .pc-result-card-featured {
  box-shadow:
    0 0 0 1px rgba(245, 217, 106, 0.5) inset,
    0 8px 24px -8px rgba(245, 217, 106, 0.35);
}
.pc-panel-hero .pc-empty-state {
  border: 1px dashed rgba(245, 217, 106, 0.35);
  background: rgba(245, 217, 106, 0.04);
  color: var(--text-bright);
  font-weight: 500;
}

/* Reduce motion — respect accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  .pc-panel-hero::before,
  .pc-btn-hero,
  .pc-btn-hero-ico,
  .pc-btn-hero-shimmer { animation: none !important; }
}

/* Compact hero-widgets row (now that GP widget is gone, toggle
   sits alone — center it instead of stretching to widget width). */
.pc-hero-widgets-compact {
  grid-template-columns: 1fr !important;
  justify-items: center;
}
.pc-hero-widgets-compact .pc-mode-toggle {
  max-width: 520px;
  width: 100%;
}

@media (max-width: 720px) {
  .pc-btn-hero { width: 100%; justify-content: center; }
  .pc-panel-hero-badge { top: 8px; right: 8px; font-size: 8px; }
  .pc-h2-xl { font-size: 19px; }
}
