/* Size It Games - Visual Scale Guide Styles */
.sz-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
}
.sz-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim, #64748b);
  margin-bottom: 1.25rem;
}
.sz-breadcrumb a {
  color: var(--text-dim, #64748b);
  text-decoration: none;
}
.sz-breadcrumb a:hover {
  color: var(--text, #0f172a);
  text-decoration: underline;
}
.sz-hero {
  margin-bottom: 2rem;
}
.sz-hero.centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}
.sz-hero h1 {
  font-size: clamp(1.7rem, 3.8vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text, #0f172a);
  margin: 0 0 0.75rem;
  line-height: 1.18;
}
.sz-hero p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-dim, #475569);
  margin: 0;
}
.sz-lead {
  font-size: 1.03rem;
  line-height: 1.6;
  color: var(--text, #334155);
  background: var(--surface, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  margin: 0;
}
.sz-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.sz-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.sz-cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--siu-board, #1f4f8e);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.sz-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.sz-cat-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text, #0f172a);
}
.sz-cat-count {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(31, 79, 142, 0.1);
  color: var(--siu-board, #1f4f8e);
}
html.dark .sz-cat-count {
  background: rgba(147, 187, 245, 0.16);
  color: #93bbf5;
}
.sz-cat-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-dim, #475569);
  margin: 0 0 1rem;
  flex: 1;
}
.sz-cat-thumbs {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: space-around;
  background: #0f172a;
  border-radius: 12px;
  padding: 0.9rem 0.75rem;
  margin-bottom: 0.9rem;
  height: 84px;
}
.sz-cat-thumbs svg {
  max-height: 58px;
  max-width: 72px;
  fill: #38bdf8;
}
.sz-cat-range {
  font-size: 0.82rem;
  color: var(--text-dim, #64748b);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sz-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}
.sz-stat-pill {
  background: var(--surface, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-size: 0.86rem;
  color: var(--text, #0f172a);
}
.sz-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.75rem 0 1.15rem;
}
.sz-sort-btns {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.sz-sort-btn {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #cbd5e1);
  color: var(--text, #334155);
  border-radius: 8px;
  padding: 0.42rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.sz-sort-btn.active {
  background: var(--siu-board, #1f4f8e);
  border-color: var(--siu-board, #1f4f8e);
  color: #ffffff;
}
.sz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.sz-card {
  display: flex;
  flex-direction: column;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.sz-card:hover {
  border-color: var(--siu-board, #1f4f8e);
  transform: translateY(-2px);
}
.sz-card-art {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  border-radius: 10px;
  padding: 0.65rem;
  margin-bottom: 0.75rem;
}
.sz-card-art svg {
  max-width: 100%;
  max-height: 66px;
  fill: #38bdf8;
}
.sz-card-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text, #0f172a);
  margin-bottom: 0.2rem;
}
.sz-card-sub {
  font-size: 0.82rem;
  color: var(--text-dim, #64748b);
  margin-bottom: 0.65rem;
  flex: 1;
}
.sz-card-dim {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--siu-board, #1f4f8e);
  padding-top: 0.55rem;
  border-top: 1px solid var(--border, #e2e8f0);
}
html.dark .sz-card-dim {
  color: #93bbf5;
}
.sz-stage-card {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 1.25rem;
  color: #ffffff;
  margin-bottom: 2.25rem;
}
.sz-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.sz-tab {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sz-tab.active {
  background: #2563eb;
  border-color: #60a5fa;
  color: #ffffff;
}
.sz-blueprint {
  background-color: #0b1628;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  overflow: hidden;
}
.sz-blueprint svg {
  display: block;
  width: 100%;
  height: auto;
}
.sz-ratio-banner {
  text-align: center;
  font-size: 1.06rem;
  font-weight: 800;
  color: #67e8f9;
  margin: 1rem 0 0.9rem;
}
.sz-stage-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.sz-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 1.25rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  background: #2563eb;
  color: #ffffff;
}
.sz-btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.sz-section {
  margin: 2.25rem 0;
}
.sz-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text, #0f172a);
  margin: 0 0 0.9rem;
}
.sz-table-wrap {
  overflow-x: auto;
}
.sz-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  overflow: hidden;
}
.sz-table th,
.sz-table td {
  padding: 0.85rem 1.05rem;
  text-align: left;
  border-bottom: 1px solid var(--border, #e2e8f0);
  font-size: 0.94rem;
}
.sz-table th {
  background: rgba(15, 23, 42, 0.04);
  font-weight: 800;
  color: var(--text, #0f172a);
}
html.dark .sz-table th {
  background: rgba(255, 255, 255, 0.05);
}
.sz-table tr:last-child td {
  border-bottom: none;
}
.sz-fact-card {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-left: 4px solid var(--siu-board, #1f4f8e);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  line-height: 1.6;
  color: var(--text, #334155);
}
.sz-faq-item {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.85rem;
}
.sz-faq-item h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text, #0f172a);
  margin: 0 0 0.4rem;
}
.sz-faq-item p {
  margin: 0;
  color: var(--text-dim, #475569);
  line-height: 1.55;
  font-size: 0.94rem;
}
.sz-other-cats {
  padding-top: 2rem;
  border-top: 1px solid var(--border, #e2e8f0);
}
.sz-other-cats h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--text, #0f172a);
}
.sz-other-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.sz-other-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  text-decoration: none;
  font-weight: 700;
  color: var(--text, #0f172a);
}
.sz-other-pill:hover {
  border-color: var(--siu-board, #1f4f8e);
}
.sz-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.sz-cta-box h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 900;
}
.sz-cta-box p {
  margin: 0 auto 1.25rem;
  max-width: 580px;
  color: #cbd5e1;
  line-height: 1.55;
}
.sz-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
