/* Accessibility */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --sh-green-dark: #0f5132;
  --sh-green: #10b981;
  --sh-green-soft: #ecfdf5;
  --sh-border: rgba(15, 23, 42, 0.08);
  --sh-text: #18181b;
  --sh-muted: #71717a;
  --sh-bg-soft: #fafafa;
  --sh-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --sh-radius-xl: 18px;
  --sh-radius-2xl: 24px;
  --sh-radius-3xl: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--sh-text);
  background: #fff;
  max-width: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.sh-main { min-height: 45vh; }
.sh-container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.sh-main,
.sh-container,
.sh-single-layout,
.sh-single-main,
.sh-single-sidebar,
.sh-single-sections,
.sh-long-seo,
.sh-title-row,
.sh-title-row p,
.sh-prose,
.sh-prose p,
.sh-faq-item,
.sh-faq-item p,
.sh-tip-card,
.sh-tip-card p {
  min-width: 0;
}
.sh-prose,
.sh-prose p,
.sh-faq-item p,
.sh-tip-card p,
.sh-title-row p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Header */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--sh-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.sh-header__topbar {
  background: var(--sh-green-dark);
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 12px;
}
.sh-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sh-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.sh-logo__icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--sh-green-dark);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(15,81,50,.18);
}
.sh-logo__icon svg { width: 22px; height: 22px; fill: currentColor; }
.sh-logo__text { font-size: 1.125rem; letter-spacing: -.02em; color: var(--sh-green-dark); }
.sh-logo__text span { color: var(--sh-green); }
.sh-nav--desktop { display: none; gap: 26px; align-items: center; }
.sh-nav--desktop a {
  font-size: .78rem; font-weight: 700; color: #71717a; text-transform: uppercase; letter-spacing: .12em;
}
.sh-nav--desktop a:hover,
.sh-nav--desktop a.is-active { color: var(--sh-green-dark); }
.sh-header__actions { display: flex; align-items: center; gap: 10px; }
.sh-icon-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: #6b7280;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.sh-icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.sh-icon-btn:hover { color: var(--sh-green-dark); background: #f5f5f5; }
.sh-mobile-menu-toggle .sh-mobile-menu-icon--close { display: none; }
.sh-mobile-menu-open .sh-mobile-menu-toggle .sh-mobile-menu-icon--open { display: none; }
.sh-mobile-menu-open .sh-mobile-menu-toggle .sh-mobile-menu-icon--close { display: inline-flex; }
.sh-mobile-menu {
  border-top: 1px solid var(--sh-border);
  background: #fff;
}
.sh-mobile-menu__nav {
  width: min(1120px, calc(100% - 32px)); margin: 0 auto; display: grid; padding: 8px 0 14px;
}
.sh-mobile-menu__nav a {
  padding: 12px 4px; font-weight: 700; color: #444; border-bottom: 1px solid #f0f0f0;
}
.sh-mobile-menu__nav a:last-child { border-bottom: 0; }

/* Buttons */
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 22px; font-weight: 700; transition: .2s ease;
}
.sh-btn__icon { display: inline-flex; align-items: center; }
.sh-btn__icon svg { width: 18px; height: 18px; fill: currentColor; }
.sh-btn--primary {
  background: var(--sh-green); color: #fff; box-shadow: 0 10px 20px rgba(16,185,129,.18);
}
.sh-btn--primary:hover { transform: translateY(-1px); background: #0ea271; }
.sh-btn--ghost {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
}
.sh-btn--ghost:hover { background: rgba(255,255,255,.18); }
.sh-btn--deal { background: #fff; color: #064e3b; padding-inline: 26px; }
.sh-btn--deal:hover { background: #ecfdf5; }
.sh-btn--sidebar {
  display: block; text-align: center; background: var(--sh-green); color: #fff; border-radius: 12px; padding: 12px;
}
.sh-btn--sidebar:hover { background: #0ea271; }

/* Hero */
.sh-hero {
  position: relative;
  background: var(--sh-green-dark);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}
.sh-hero__rings { position: absolute; inset: 0; opacity: .1; pointer-events: none; }
.sh-hero__ring {
  position: absolute; border: 4px solid #fff; border-radius: 999px;
}
.sh-hero__ring--one { width: 260px; height: 260px; top: -120px; left: -110px; }
.sh-hero__ring--two { width: 420px; height: 420px; right: -140px; bottom: -190px; }
.sh-hero__content { position: relative; z-index: 1; text-align: center; }
.sh-hero__eyebrow {
  display: block; font-size: .7rem; color: #6ee7b7; text-transform: uppercase; letter-spacing: .3em; font-weight: 700; margin-bottom: 14px;
}
.sh-hero h1 {
  margin: 0; font-weight: 900; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(2rem, 5vw, 4.25rem);
}
.sh-hero p {
  margin: 16px auto 0; max-width: 720px; color: rgba(236, 253, 245, 0.84);
  font-size: 1.05rem; line-height: 1.7;
}
.sh-hero__actions {
  margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
}

/* Ads */
.sh-home__top-ad { margin-top: 44px; }
.sh-ad-slot {
  border-radius: 14px; border: 1px solid #e4e4e7; background: #f4f4f5; min-height: 96px;
  display: flex; align-items: center; justify-content: center; padding: 16px; color: #a1a1aa;
}
.sh-ad-slot--wide { width: 100%; }
.sh-ad-slot--placeholder span {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; text-align: center;
}
.sh-sidebar-vertical-ad.sh-ad-slot {
  min-height: 600px;
  border-radius: 24px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: .68rem;
  letter-spacing: .15em;
  font-weight: 700;
}
.sh-single-inline-ad { margin: 10px 0 16px; }
.sh-footer-ad { margin-top: 16px; }

/* Sections */
.sh-popular-grid { padding: 78px 0; }
.sh-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px;
}
.sh-section-head h2,
.sh-archive-head h1 {
  margin: 0; font-size: clamp(1.75rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.02em;
}
.sh-section-head p,
.sh-archive-head p { margin: 8px 0 0; color: var(--sh-muted); }
.sh-view-all {
  color: var(--sh-green-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 4px;
}
.sh-view-all:hover { gap: 7px; }
.sh-view-all__icon svg { width: 18px; height: 18px; fill: currentColor; }

.sh-game-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.sh-game-card {
  background: #fff; border: 1px solid var(--sh-border); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.03);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sh-game-card:hover { transform: translateY(-8px); box-shadow: var(--sh-shadow); }
.sh-game-card__media {
  position: relative; display: block; background: rgba(6, 78, 59, 0.1); aspect-ratio: 3 / 2; overflow: hidden;
}
.sh-game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.sh-game-card:hover .sh-game-card__media img { transform: scale(1.05); }
.sh-game-card__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 65%);
  color: #fff; opacity: 0; transition: opacity .2s ease;
}
.sh-game-card:hover .sh-game-card__overlay { opacity: 1; }
.sh-game-card__overlay span { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sh-game-card__overlay svg { width: 15px; height: 15px; fill: currentColor; }
.sh-game-card__body { padding: 18px; }
.sh-game-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sh-game-card h3,
.sh-game-card__archive-title { margin: 0; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.sh-game-card h3 a:hover,
.sh-game-card__archive-title a:hover { color: var(--sh-green-dark); }
.sh-pill {
  background: #dcfce7; color: #047857; border-radius: 999px; padding: 4px 8px; font-size: .62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.sh-game-card p { margin: 0 0 12px; color: var(--sh-muted); line-height: 1.55; font-size: .92rem; }
.sh-game-card__meta {
  display: flex; flex-wrap: wrap; gap: 14px; color: var(--sh-green-dark); text-transform: uppercase; letter-spacing: .08em; font-size: .67rem; font-weight: 700;
}
.sh-game-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.sh-game-card__meta svg { width: 13px; height: 13px; fill: currentColor; }

/* Home SEO */
.sh-home-seo {
  background: #fafafa; border-top: 1px solid #e4e4e7; border-bottom: 1px solid #e4e4e7; padding: 82px 0;
}
.sh-home-seo__inner { max-width: 780px; }
.sh-home-seo h2 {
  margin: 0 0 24px; text-align: center; font-size: 2rem; font-weight: 900; letter-spacing: -.02em;
}
.sh-home-seo__cards {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin: 28px 0;
}
.sh-info-card {
  background: #fff; border: 1px solid var(--sh-border); border-radius: 18px; padding: 20px;
}
.sh-info-card__icon {
  width: 40px; height: 40px; border-radius: 10px; background: #d1fae5; color: #047857;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.sh-info-card__icon svg { width: 20px; height: 20px; fill: currentColor; }
.sh-info-card h3 { margin: 0 0 6px; font-size: 1rem; }
.sh-info-card p { margin: 0; color: var(--sh-muted); font-size: .92rem; line-height: 1.5; }

/* Single game */
.sh-single-game { padding: 34px 0 0; }
.sh-breadcrumbs {
  display: flex; align-items: center; gap: 8px; color: #a1a1aa; margin-bottom: 24px;
  text-transform: uppercase; font-size: .67rem; letter-spacing: .14em; font-weight: 700;
}
.sh-breadcrumbs a:hover { color: var(--sh-green-dark); }
.sh-breadcrumbs svg { width: 12px; height: 12px; fill: currentColor; }
.sh-breadcrumbs strong { color: var(--sh-text); font-weight: 700; }
.sh-single-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.sh-title-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px;
}
.sh-title-row h1 {
  margin: 0 0 6px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.04; font-weight: 900; letter-spacing: -.03em;
}
.sh-title-row p { margin: 0; color: var(--sh-muted); font-size: 1rem; max-width: 680px; }
.sh-stats-wrap { display: flex; gap: 10px; }
.sh-stat-box {
  background: #f4f4f5; border: 1px solid #e4e4e7; border-radius: 12px; padding: 8px 12px; min-width: 88px;
}
.sh-stat-box span {
  display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .56rem; color: #a1a1aa; font-weight: 700;
}
.sh-stat-box strong {
  display: block; margin-top: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.1rem;
}

.sh-board-shell {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  border: 8px solid #053a20;
  background: #074d2b;
  box-shadow: 0 20px 40px rgba(6, 78, 59, 0.35);
  overflow: hidden;
  padding: 16px 16px 74px;
}
.sh-board-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.15) 0, rgba(255,255,255,0) 60%),
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: auto, 20px 20px;
  opacity: .8;
  pointer-events: none;
}
.sh-board-playfield { position: relative; z-index: 1; overflow-x: hidden; overflow-y: visible; -webkit-overflow-scrolling: touch; max-width: 100%; }
.sh-board-top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.sh-foundations { display: flex; gap: 8px; }
.sh-foundation-slot {
  width: 44px; height: 64px; border-radius: 10px; border: 2px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center;
}
.sh-foundation-slot svg { width: 18px; height: 18px; fill: currentColor; }
.sh-stock-wrap { display: flex; gap: 8px; }
.sh-stock-card {
  width: 44px; height: 64px; border-radius: 10px; border: 2px solid rgba(255,255,255,.15);
}
.sh-stock-card--filled {
  border-color: #065f46;
  background: rgba(6,95,70,.65);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.sh-tableau {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
  max-width: 780px;
}
.sh-tableau-col {
  position: relative;
  min-height: calc(64px + (var(--cards) - 1) * 25px);
}
.sh-card {
  position: absolute; top: var(--offset); left: 0; right: 0;
  width: 100%; aspect-ratio: 2 / 3;
  border-radius: 7px; border: 2px solid #0f5132; display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--sh-text); user-select: none;
}
.sh-card--back {
  background: #065f46;
  border-color: #047857;
}
.sh-card--face {
  background: #fff;
  border-color: #e4e4e7;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.sh-card--face span { font-size: .7rem; }
.sh-card--face:hover,
.sh-card--face:focus-visible { border-color: #34d399; box-shadow: 0 8px 18px rgba(0,0,0,.18); outline: none; }
.sh-card--face.is-selected {
  transform: scale(1.05);
  border-color: #34d399;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  z-index: 60 !important;
}
.sh-card--face.is-selected span { color: #047857; }

.sh-board-overlay {
  position: absolute; inset: 0;
  z-index: 20;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,77,43,.4);
  backdrop-filter: blur(3px);
  transition: opacity .18s ease, visibility .18s ease;
}
.sh-board-overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.sh-board-overlay__start {
  background: rgba(6,95,70,.85);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  padding: 28px;
  width: min(420px, calc(100% - 40px));
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.sh-board-overlay__play-icon {
  width: 68px; height: 68px; border-radius: 999px; background: var(--sh-green);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 14px;
  box-shadow: 0 12px 18px rgba(0,0,0,.25);
}
.sh-board-overlay__play-icon svg { width: 30px; height: 30px; fill: currentColor; margin-left: 2px; }
.sh-board-overlay__start h2 { margin: 0 0 4px; color: #fff; font-size: 1.65rem; }
.sh-board-overlay__start p { margin: 0 0 16px; color: rgba(236,253,245,.75); font-size: .9rem; }
.sh-board-overlay__loading { text-align: center; color: #d1fae5; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.sh-board-spinner {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 999px;
  border: 4px solid #34d399; border-top-color: transparent;
  animation: sh-spin 1s linear infinite;
}
@keyframes sh-spin { to { transform: rotate(360deg); } }

.sh-board-controls {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 21;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sh-board-controls__left,
.sh-board-controls__right { display: flex; gap: 8px; }
.sh-glass-btn,
.sh-glass-icon-btn {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: background .15s ease, opacity .15s ease;
}
.sh-glass-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px;
  text-transform: uppercase; letter-spacing: .08em; font-size: .65rem; font-weight: 700;
}
.sh-glass-icon-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
}
.sh-glass-btn svg,
.sh-glass-icon-btn svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; display: block; flex-shrink: 0; }
.sh-glass-btn:hover,
.sh-glass-icon-btn:hover { background: rgba(255,255,255,.18); }
.sh-glass-btn[disabled] { opacity: .35; cursor: not-allowed; }

.sh-single-sections { margin-top: 38px; display: grid; gap: 28px; }
.sh-single-sections h2,
.sh-single-sections h3 { margin: 0 0 12px; font-weight: 900; letter-spacing: -.02em; }
.sh-single-sections h2 { font-size: 1.85rem; }
.sh-single-sections h3 { font-size: 1.5rem; }
.sh-tips-panel {
  background: #ecfdf5; border: 1px solid #d1fae5; border-radius: 28px; padding: 24px;
}
.sh-tips-panel h3 { color: var(--sh-green-dark); display: flex; align-items: center; gap: 8px; }
.sh-tips-panel h3 svg { width: 22px; height: 22px; fill: currentColor; }
.sh-tip-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sh-tip-card h4 { margin: 0 0 5px; font-size: 1rem; }
.sh-tip-card p { margin: 0; color: var(--sh-muted); line-height: 1.55; font-size: .92rem; }
.sh-faq-panel {
  background: #fff; border: 1px solid var(--sh-border); border-radius: 28px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.sh-faq-list { display: grid; gap: 16px; }
.sh-faq-item { border-bottom: 1px solid #f0f0f0; padding-bottom: 14px; }
.sh-faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.sh-faq-item h4 {
  margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-size: 1rem;
}
.sh-faq-item h4 svg { width: 16px; height: 16px; fill: #059669; flex-shrink: 0; }
.sh-faq-item p,
.sh-faq-answer p { margin: 0; color: var(--sh-muted); line-height: 1.55; font-size: .92rem; }
.sh-long-seo {
  background: #fff; border: 1px solid var(--sh-border); border-radius: 18px; padding: 20px;
}
.sh-long-seo h3 { margin-bottom: 10px; }
.sh-long-seo .sh-prose p + p { margin-top: 12px; }

.sh-single-sidebar { display: grid; gap: 20px; align-content: start; }
.sh-sidebar-card {
  background: #fff; border: 1px solid var(--sh-border); border-radius: 24px; padding: 18px;
}
.sh-sidebar-card--dark {
  background: #18181b; color: #fff; border-color: rgba(255,255,255,.06);
}
.sh-sidebar-card--dark h3 { margin: 0 0 12px; font-size: 1.2rem; }
.sh-sidebar-list { display: grid; gap: 12px; }
.sh-sidebar-game {
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
}
.sh-sidebar-game__thumb {
  width: 46px; height: 46px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.12); flex-shrink: 0;
}
.sh-sidebar-game__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .86; }
.sh-sidebar-game:hover .sh-sidebar-game__thumb img { opacity: 1; }
.sh-sidebar-game__text { display: grid; gap: 2px; }
.sh-sidebar-game__text strong { font-size: .85rem; color: #fff; }
.sh-sidebar-game__text small { color: #71717a; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; font-size: .58rem; }
.sh-sidebar-card h4 { margin: 0 0 6px; font-size: .95rem; }
.sh-sidebar-stat { margin: 0 0 4px; font-size: 2rem; line-height: 1; font-weight: 900; color: var(--sh-green-dark); }
.sh-sidebar-card p { margin: 0; color: var(--sh-muted); font-size: .9rem; line-height: 1.45; }

/* Prose */
.sh-prose p { margin: 0; line-height: 1.7; }
.sh-prose p + p { margin-top: 12px; }
.sh-prose ul, .sh-prose ol { margin: 12px 0 0 1.2rem; color: var(--sh-muted); }
.sh-prose li { margin: 6px 0; }
.sh-prose--muted { color: var(--sh-muted); }
.sh-prose--muted h1,
.sh-prose--muted h2,
.sh-prose--muted h3,
.sh-prose--muted h4 { color: var(--sh-text); }

/* Archive + generic */
.sh-archive-page { padding: 54px 0 72px; }
.sh-archive-head { margin-bottom: 24px; }
.sh-archive-head p { max-width: 760px; }
.sh-generic-page { padding: 40px 0 60px; }
.sh-card--generic {
  border: 1px solid var(--sh-border); border-radius: 20px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.sh-page-title { margin: 0 0 14px; font-weight: 900; letter-spacing: -.02em; }
.sh-empty {
  border: 1px dashed #d4d4d8; border-radius: 14px; padding: 22px; color: #71717a;
}

/* Footer */
.sh-footer {
  margin-top: 70px; background: #18181b; color: #a1a1aa; padding: 56px 0 18px;
}
.sh-footer__grid {
  display: grid; gap: 28px; grid-template-columns: 1fr;
}
.sh-footer__brand p { margin: 0; max-width: 500px; line-height: 1.65; }
.sh-footer__logo {
  display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; margin-bottom: 12px;
}
.sh-footer__logo-icon {
  width: 32px; height: 32px; border-radius: 8px; background: #059669; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.sh-footer__logo-icon svg { width: 18px; height: 18px; fill: currentColor; }
.sh-footer h4 {
  margin: 0 0 12px; color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem;
}
.sh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sh-footer li a:hover { color: #34d399; }
.sh-footer__bottom {
  margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: .75rem;
}
.sh-footer__bottom p { margin: 0; }
.sh-footer__links { display: flex; flex-wrap: wrap; gap: 14px; }
.sh-footer__links a:hover { color: #fff; }

/* Responsive */
@media (min-width: 640px) {
  .sh-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-home-seo__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-tip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-board-shell { min-height: 620px; padding: 20px 20px 80px; }
  .sh-foundation-slot, .sh-stock-card { width: 64px; height: 92px; }
  .sh-tableau { gap: 8px; }
  .sh-card { border-radius: 10px; }
  .sh-card--face span { font-size: 1rem; }
}

@media (min-width: 900px) {
  .sh-nav--desktop { display: inline-flex; }
  .sh-mobile-menu-toggle { display: none; }
  .sh-mobile-menu { display: none !important; }
  .sh-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .sh-single-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 36px; }
  .sh-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .sh-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 899px) {
  .sh-title-row { flex-direction: column; align-items: flex-start; }
  .sh-stats-wrap { width: 100%; }
  .sh-stat-box { flex: 1; }
}

@media (max-width: 480px) {
  .sh-board-controls__left .sh-glass-btn span { display: none; }
  .sh-board-controls__left .sh-glass-btn { padding-inline: 9px; }
  .sh-section-head { align-items: flex-start; flex-direction: column; }
  .sh-sidebar-vertical-ad.sh-ad-slot { min-height: 220px; writing-mode: horizontal-tb; }
}

/* Runtime solitaire board */
.sh-runtime-board {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  --shg-card-w: 64px;
  --shg-card-h: 92px;
  --shg-gap: 8px;
  --shg-card-overlap: 24px;
  --shg-golf-overlap: 16px;
  --shg-board-min-w: 0px;
  --shg-radius: 10px;
  --shg-corner-font: .75rem;
  --shg-center-font: 1.18rem;
}
.sh-runtime-board.is-scroll-x { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding-bottom: 4px; max-width: 100%; }
.sh-runtime-board.is-scroll-x .shg-board { padding-right: 2px; }
.sh-runtime-message {
  margin-top: 10px;
  color: rgba(236,253,245,.92);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.shg-board { color: #fff; width: 100%; min-width: max(100%, var(--shg-board-min-w)); }
.shg-top-row,
.shg-pyramid-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--shg-gap, 10px);
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.shg-top-left,
.shg-foundations,
.shg-freecells {
  display: flex;
  gap: var(--shg-gap, 8px);
  align-items: flex-start;
  flex-wrap: wrap;
}
.shg-pile-wrap { position: relative; min-width: var(--shg-card-w); }
.shg-counter {
  display: block;
  margin-top: 4px;
  text-align: center;
  color: rgba(236,253,245,.8);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shg-slot {
  width: var(--shg-card-w);
  height: var(--shg-card-h);
  border-radius: var(--shg-radius);
  border: 2px dashed rgba(255,255,255,.22);
  background: rgba(0,0,0,.07);
  color: rgba(255,255,255,.75);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-weight: 700;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.shg-slot:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }
.shg-slot__label {
  display: block;
  font-size: .52rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
  line-height: 1.05;
  text-align: center;
  max-width: calc(var(--shg-card-w) - 8px);
  white-space: normal;
  overflow-wrap: anywhere;
}
.shg-slot.is-foundation .shg-slot__label {
  font-size: clamp(.34rem, calc(var(--shg-card-w) * 0.12), .52rem);
  letter-spacing: .02em;
  line-height: 1;
}
.shg-slot small { font-size: .68rem; font-weight: 700; opacity: .95; }
.shg-slot.is-stock.has-cards {
  border-style: solid;
  border-color: #065f46;
  background: linear-gradient(180deg, rgba(5,150,105,.38), rgba(5,150,105,.18));
}
.shg-card {
  width: var(--shg-card-w);
  height: var(--shg-card-h);
  border: 2px solid #e5e7eb;
  border-radius: var(--shg-radius);
  background: #fff;
  color: #111827;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  padding: 3px 4px;
  touch-action: manipulation;
  position: absolute;
  left: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, opacity .12s ease;
}
.shg-pile-wrap > .shg-card,
.shg-pyramid-top > .shg-card,
.shg-top-left > .shg-card,
.shg-foundations > .shg-card,
.shg-freecells > .shg-card {
  position: relative;
  left: auto;
  top: auto;
}
.shg-card--down {
  background:
    linear-gradient(135deg, rgba(5,150,105,.18), rgba(5,150,105,.08)),
    repeating-linear-gradient(45deg, #065f46 0 5px, #047857 5px 10px);
  border-color: #064e3b;
  color: transparent;
}
.shg-card--down .shg-card__corner,
.shg-card--down .shg-card__center { opacity: 0; }
.shg-card__corner {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: var(--shg-corner-font);
  font-weight: 800;
  line-height: 1;
}
.shg-card__center {
  margin: auto;
  font-size: var(--shg-center-font);
  line-height: 1;
  opacity: .9;
}
.shg-card--red { color: #b91c1c; }
.shg-suit { font-size: .75em; }
.shg-card:hover:not(.shg-card--down):not(.is-blocked) {
  transform: translateY(-2px);
  border-color: #34d399;
}
.shg-card.is-selected {
  border-color: #34d399;
  box-shadow: 0 0 0 2px rgba(52,211,153,.4), 0 10px 24px rgba(0,0,0,.25);
  transform: translateY(-2px) scale(1.02);
}
.shg-card.is-blocked {
  opacity: .9;
  cursor: default;
}
.shg-card.is-exposed {
  cursor: pointer;
}
.shg-card--foundation {
  cursor: pointer;
}
.shg-tableau-grid {
  display: grid;
  gap: var(--shg-gap, 8px);
  align-items: start;
}
.shg-tableau-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.shg-tableau-grid--7 { grid-template-columns: repeat(7, minmax(0,1fr)); }
.shg-tableau-grid--8 { grid-template-columns: repeat(8, minmax(0,1fr)); }
.shg-tableau-grid--10 { grid-template-columns: repeat(10, minmax(0,1fr)); }
.shg-column {
  position: relative;
  min-width: var(--shg-card-w);
}
.shg-column > .shg-slot {
  position: absolute;
  top: 0;
  left: 0;
}
.shg-column .shg-card { left: 0; }
.shg-column--golf .shg-card { left: 0; }
.shg-pyramid-hint {
  margin-left: auto;
  color: rgba(236,253,245,.85);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  align-self: center;
}
.shg-pyramid-layout,
.shg-tripeaks-layout {
  position: relative;
  margin-top: 6px;
  min-height: 240px;
}
.shg-pyramid-layout {
  width: 390px;
  max-width: 100%;
}
.shg-tripeaks-layout {
  width: 430px;
  max-width: 100%;
  min-height: 270px;
}
.shg-pyramid-layout .shg-card,
.shg-tripeaks-layout .shg-card {
  position: absolute;
}
.shg-card-gap {
  position: absolute;
  width: var(--shg-card-w);
  height: var(--shg-card-h);
  border-radius: var(--shg-radius);
  border: 1px dashed rgba(255,255,255,.08);
}
.shg-golf-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap: var(--shg-gap, 8px);
}
.shg-board--pyramid .shg-card.is-blocked,
.shg-board--tripeaks .shg-card.is-blocked {
  filter: saturate(.75);
  opacity: .78;
}
.shg-board--build .shg-card.is-blocked { cursor: default; }
.sh-runtime-board.is-compact .shg-slot,
.sh-runtime-board.is-compact .shg-card { border-width: 1px; }
.sh-runtime-board.is-compact .shg-slot__label { letter-spacing: .06em; }
.sh-runtime-board.is-compact .shg-top-row,
.sh-runtime-board.is-compact .shg-pyramid-top { margin-bottom: 10px; }
.sh-runtime-board.is-scroll-x .shg-tableau-grid,
.sh-runtime-board.is-scroll-x .shg-golf-grid { width: max-content; }

@media (max-width: 899px) {
  .shg-pyramid-hint { width: 100%; margin-left: 0; }
  .sh-runtime-board.is-compact .shg-top-row { align-items: stretch; }
}


@media (max-width: 640px) {
  .sh-runtime-message { font-size: .75rem; }
  .shg-top-row,
  .shg-pyramid-top { gap: var(--shg-gap, 8px); }
  .shg-slot,
  .shg-card,
  .shg-pile-wrap { width: var(--shg-card-w); }
  .shg-slot,
  .shg-card { height: var(--shg-card-h); border-radius: 8px; }
  .shg-card__corner { font-size: .62rem; }
  .shg-card__center { font-size: 1rem; }
  .shg-tableau-grid { gap: var(--shg-gap, 4px); }
  .sh-runtime-board.is-scroll-x .shg-tableau-grid--10 { overflow-x: auto; display: flex; gap: var(--shg-gap, 6px); padding-bottom: 4px; }
  .sh-runtime-board.is-scroll-x .shg-tableau-grid--10 .shg-column { min-width: var(--shg-card-w); }
  .shg-golf-grid { gap: var(--shg-gap, 4px); }
  .shg-pyramid-layout,
  .shg-tripeaks-layout { transform: none; }
  .sh-runtime-board.is-compact .shg-top-left,
  .sh-runtime-board.is-compact .shg-foundations,
  .sh-runtime-board.is-compact .shg-freecells { gap: 2px; }
}



/* --- 2.2 Responsive + Customizer polish overrides --- */
.sh-nav-menu,
.sh-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sh-nav-menu { display: flex; align-items: center; gap: inherit; }
.sh-nav-menu li { margin: 0; padding: 0; }
.sh-nav-menu li.current-menu-item > a,
.sh-nav-menu li.current_page_item > a { color: var(--sh-green-dark); }
.sh-mobile-menu__nav .sh-nav-menu {
  display: grid;
  gap: 0;
}
.sh-mobile-menu__nav .sh-nav-menu .menu-item a {
  display: block;
  padding: 12px 4px;
  font-weight: 700;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
}
.sh-mobile-menu__nav .sh-nav-menu .menu-item:last-child a { border-bottom: 0; }

.sh-logo--image { min-width: 0; }
.sh-logo--image .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.sh-logo--image .custom-logo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 42px;
}
.sh-footer__logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.sh-footer__logo .custom-logo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 34px;
  border-radius: 8px;
}

.sh-footer__brand-copy p { margin: 0; }
.sh-footer__brand-copy p + p { margin-top: 10px; }

@media (max-width: 899px) {
  .sh-single-layout { display: grid; gap: 20px; }
  .sh-single-sidebar { order: 2; }
  .sh-single-main { order: 1; }
  .sh-board-shell { min-height: 520px; }
  .sh-sidebar-vertical-ad.sh-ad-slot {
    min-height: 180px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
}

@media (max-width: 640px) {
  .sh-container { width: min(1120px, calc(100% - 20px)); }
  .sh-header__topbar {
    font-size: 10px;
    letter-spacing: .08em;
    padding: 8px 10px;
  }
  .sh-header__inner {
    min-height: 58px;
    gap: 10px;
  }
  .sh-logo__icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .sh-logo__icon svg { width: 18px; height: 18px; }
  .sh-logo__text { font-size: .95rem; }
  .sh-logo--image .custom-logo { max-height: 34px; }

  .sh-hero {
    padding: 56px 0 64px;
  }
  .sh-hero__eyebrow {
    font-size: .62rem;
    letter-spacing: .16em;
    margin-bottom: 10px;
  }
  .sh-hero p {
    margin-top: 12px;
    font-size: .94rem;
    line-height: 1.55;
  }
  .sh-hero__actions {
    margin-top: 20px;
    gap: 10px;
    width: 100%;
  }
  .sh-hero__actions .sh-btn {
    width: min(100%, 320px);
    padding: 13px 16px;
  }

  .sh-home__top-ad { margin-top: 26px; }
  .sh-popular-grid { padding: 44px 0; }
  .sh-home-seo { padding: 48px 0; }

  .sh-breadcrumbs {
    flex-wrap: wrap;
    row-gap: 6px;
    margin-bottom: 16px;
  }
  .sh-title-row h1 { font-size: 1.45rem; }
  .sh-title-row p { font-size: .9rem; line-height: 1.55; }

  .sh-board-shell {
    border-width: 4px;
    border-radius: 18px;
    min-height: 420px;
    padding: 10px 10px 60px;
  }
  .sh-board-overlay__start {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .sh-board-overlay__start h2 { font-size: 1.25rem; }
  .sh-board-overlay__start p { font-size: .82rem; }

  .sh-board-playfield {
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    max-width: 100%;
  }
  .sh-runtime-board {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: hidden;
  }

  .sh-board-controls {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .sh-board-controls__left,
  .sh-board-controls__right { gap: 6px; min-width: 0; }
  .sh-board-controls__left { flex: 1 1 auto; }
  .sh-board-controls__right { flex: 0 0 auto; }
  .sh-glass-btn {
    padding: 8px 8px;
    font-size: .56rem;
    letter-spacing: .06em;
    min-width: 34px;
    justify-content: center;
  }
  .sh-glass-btn svg { width: 16px; height: 16px; }
  .sh-glass-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(0,0,0,.22);
  }

  .sh-single-sections { margin-top: 24px; gap: 20px; }
  .sh-single-sections h2 { font-size: 1.4rem; }
  .sh-single-sections h3 { font-size: 1.15rem; }
  .shg-slot.is-foundation .shg-slot__label {
    font-size: clamp(.34rem, 1.7vw, .44rem);
    letter-spacing: .01em;
  }
  .sh-logo__text { font-size: .82rem; }
  .sh-tips-panel,
  .sh-faq-panel { border-radius: 18px; padding: 16px; }

  .sh-footer {
    margin-top: 40px;
    padding-top: 36px;
  }
}

@media (max-width: 420px) {
  .sh-stat-box { padding: 8px 10px; }
  .sh-board-controls__left { flex-wrap: nowrap; }
  .sh-runtime-board.is-scroll-x .shg-tableau-grid--7,
  .sh-runtime-board.is-scroll-x .shg-tableau-grid--8,
  .sh-runtime-board.is-scroll-x .shg-golf-grid {
    display: flex;
    gap: var(--shg-gap, 6px);
    overflow-x: auto;
    padding-bottom: 4px;
    align-items: flex-start;
  }
  .sh-runtime-board.is-scroll-x .shg-tableau-grid--7 .shg-column,
  .sh-runtime-board.is-scroll-x .shg-tableau-grid--8 .shg-column,
  .sh-runtime-board.is-scroll-x .shg-golf-grid .shg-column {
    flex: 0 0 var(--shg-card-w);
    min-width: var(--shg-card-w);
  }
  .shg-pyramid-layout,
  .shg-tripeaks-layout { transform: none; }
  .sh-runtime-board.is-compact .shg-top-left,
  .sh-runtime-board.is-compact .shg-foundations,
  .sh-runtime-board.is-compact .shg-freecells { gap: 2px; }
}



/* --- 2.3 Overflow hotfix: keep page content inside viewport, allow only board-local scroll --- */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.sh-container,
.sh-main,
.sh-single-layout,
.sh-single-layout > *,
.sh-single-main,
.sh-single-sidebar,
.sh-single-sections,
.sh-title-row,
.sh-title-row > *,
.sh-home-seo__inner,
.sh-archive-head,
.sh-game-card,
.sh-game-card__body,
.sh-footer__grid > * {
  min-width: 0;
}

.sh-prose,
.sh-prose p,
.sh-prose li,
.sh-title-row p,
.sh-faq-item p,
.sh-tip-card p,
.sh-home-seo p,
.sh-footer p,
.sh-footer li,
.sh-empty {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Keep horizontal scrolling scoped to the board itself, not the whole page */
.sh-board-playfield {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.sh-runtime-board {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
}

.sh-runtime-board.is-scroll-x {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.sh-runtime-board .shg-board {
  width: 100%;
  max-width: none;
}

.sh-runtime-board.is-scroll-x .shg-board {
  min-width: max(100%, var(--shg-board-min-w));
}

.sh-runtime-board:not(.is-scroll-x) .shg-board {
  min-width: 0;
}

@media (max-width: 640px) {
  .sh-board-shell {
    overflow: hidden;
  }

  .sh-board-playfield {
    overflow-x: hidden;
    padding-bottom: 2px;
  }

  /* Undo earlier inline-block mobile rule so the board can't force page-wide overflow */
  .sh-runtime-board {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .sh-board-controls {
    flex-wrap: wrap;
    align-items: center;
  }

  .sh-board-controls__left,
  .sh-board-controls__right {
    min-width: 0;
    flex-wrap: wrap;
  }
}


/* Mahjongg Solitaire board */
.shg-board--mahjongg {
  width: 100%;
}

.shm-top {
  align-items: center;
}

.shm-top__stats {
  font-size: 0.9rem;
  color: #cbd5e1;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.35);
}

.shm-layout-wrap {
  width: 100%;
  overflow: hidden;
}

.shm-layout {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}

.shm-tile {
  position: absolute;
  width: var(--shm-tile-w, 40px);
  height: var(--shm-tile-h, 48px);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  box-shadow: 0 2px 0 rgba(15, 23, 42, 0.35), 0 6px 14px rgba(15, 23, 42, 0.18);
  color: #0f172a;
  display: grid;
  place-items: center;
  font-weight: 800;
  padding: 0;
  transform: translateZ(0);
}

.shm-tile::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.6);
  pointer-events: none;
}

.shm-tile__label {
  position: relative;
  z-index: 1;
  font-size: clamp(0.55rem, 1.7vw, 0.78rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.shm-tile.is-blocked {
  opacity: 0.58;
  filter: saturate(0.6);
}

.shm-tile.is-exposed {
  cursor: pointer;
}

.shm-tile.is-selected {
  outline: 2px solid #38bdf8;
  outline-offset: 1px;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.22), 0 3px 0 rgba(15, 23, 42, 0.35), 0 8px 18px rgba(15, 23, 42, 0.22);
}

@media (max-width: 640px) {
  .shm-top {
    gap: 6px;
  }

  .shm-top__stats {
    font-size: 0.78rem;
    padding: 0.22rem 0.45rem;
  }

  .shm-tile {
    border-radius: 6px;
  }

  .shm-tile::after {
    inset: 2px;
    border-radius: 5px;
  }
}



/* Share bar (single game pages) */
.sh-share-bar {
  margin-top: 14px;
  border: 1px solid var(--sh-border);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  max-width: 100%;
  min-width: 0;
}
.sh-share-bar__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.sh-share-bar__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.sh-share-bar__title strong {
  font-size: .92rem;
  color: var(--sh-text);
}
.sh-share-bar__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sh-share-bar__icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.sh-share-bar__note {
  color: var(--sh-muted);
  font-size: .75rem;
  line-height: 1.3;
}
.sh-share-bar__actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.sh-share-btn {
  border: 1px solid #d4d4d8;
  background: #fff;
  color: #18181b;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
  min-height: 36px;
  white-space: nowrap;
}
.sh-share-btn:hover {
  background: #fafafa;
  border-color: #a1a1aa;
  transform: translateY(-1px);
}
.sh-share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}
.sh-share-btn--primary {
  background: var(--sh-green);
  border-color: var(--sh-green);
  color: #fff;
}
.sh-share-btn--primary:hover {
  background: var(--sh-green-dark);
  border-color: var(--sh-green-dark);
}
.sh-share-btn--copy {
  background: #f8fafc;
}
.sh-share-btn--challenge {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #312e81;
}
.sh-share-btn--challenge:hover {
  background: #e0e7ff;
  border-color: #a5b4fc;
}
.sh-share-btn--chip {
  background: #fff;
  color: #27272a;
}
.sh-share-bar__status {
  min-height: 18px;
  margin-top: 8px;
  font-size: .75rem;
  color: var(--sh-muted);
}
.sh-share-bar__status.is-success { color: #059669; }
.sh-share-bar__status.is-error { color: #dc2626; }

@media (max-width: 640px) {
  .sh-share-bar {
    padding: 10px;
    margin-top: 12px;
    border-radius: 14px;
  }
  .sh-share-bar__actions {
    gap: 6px;
  }
  .sh-share-btn {
    font-size: .72rem;
    padding: 7px 9px;
    min-height: 34px;
    max-width: 100%;
  }
  .sh-share-btn--primary,
  .sh-share-btn--copy,
  .sh-share-btn--challenge {
    flex: 1 1 auto;
  }
  .sh-share-btn--chip {
    flex: 0 1 auto;
  }
}


/* Multiplayer panel */
.sh-mp-panel {
  margin: 18px 0 6px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(20,28,46,0.88), rgba(10,14,24,0.9));
  border-radius: 14px;
  padding: 14px;
  color: #eef2ff;
}
.sh-mp-panel[hidden] { display: none !important; }
.sh-mp-panel__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sh-mp-panel__head p {
  margin: 4px 0 0;
  color: rgba(238,242,255,0.78);
  font-size: .88rem;
}
.sh-mp-badges {
  display: grid;
  gap: 6px;
  text-align: right;
  font-size: .82rem;
  white-space: nowrap;
}
.sh-mp-badges span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 4px 8px;
}
.sh-mp-panel__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.sh-mp-panel__grid > .sh-mp-field { grid-column: span 2; }
.sh-mp-field { min-width: 0; }
.sh-mp-field label {
  display: block;
  font-size: .78rem;
  margin-bottom: 4px;
  color: rgba(238,242,255,0.78);
}
.sh-mp-field label { white-space: normal; line-height: 1.25; }
.sh-mp-field input {
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 8px 10px;
}
.sh-mp-field input::placeholder { color: rgba(255,255,255,0.45); }
.sh-mp-field--actions { display: flex; align-items: flex-end; }
.sh-mp-field--actions .sh-share-btn { width: 100%; justify-content: center; }
.sh-mp-field--split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.sh-mp-field--split .sh-share-btn { min-width: 0; white-space: normal; line-height: 1.15; text-align: center; }
.sh-mp-field--wide { grid-column: 1 / -1; }
.sh-mp-inline { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.sh-mp-inline .sh-share-btn { white-space: nowrap; }
.sh-mp-panel__status {
  margin-top: 10px;
  min-height: 20px;
  font-size: .86rem;
  color: rgba(238,242,255,0.85);
}
.sh-mp-panel__status.is-error { color: #fecaca; }
.sh-mp-panel__status.is-success { color: #bbf7d0; }
.sh-mp-player-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sh-mp-empty {
  color: rgba(238,242,255,0.72);
  font-size: .85rem;
  padding: 8px 0;
}
.sh-mp-player {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 8px 10px;
}
.sh-mp-player__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: .88rem;
}
.sh-mp-player__top span {
  font-size: .72rem;
  color: rgba(238,242,255,0.7);
}
.sh-mp-player__meta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: .78rem;
  color: rgba(238,242,255,0.78);
}
@media (max-width: 980px) {
  .sh-mp-panel__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .sh-mp-panel__grid > .sh-mp-field { grid-column: span 2; }
  .sh-mp-field--actions { align-items: stretch; }
}
@media (max-width: 640px) {
  .sh-mp-panel { padding: 12px; }
  .sh-mp-panel__head { flex-direction: column; }
  .sh-mp-badges { text-align: left; grid-template-columns: 1fr 1fr; }
  .sh-mp-panel__grid { grid-template-columns: 1fr; }
  .sh-mp-panel__grid > .sh-mp-field { grid-column: 1 / -1; }
  .sh-mp-field--split { grid-template-columns: 1fr; }
  .sh-mp-inline { grid-template-columns: 1fr; }
}


/* Multiplayer enhancements */
.sh-share-btn--warn {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #78350f;
}
.sh-share-btn--warn:hover {
  background: #fde68a;
  border-color: #f59e0b;
}
.sh-mp-panel__countdown {
  margin-top: 10px;
  min-height: 20px;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  padding: 8px 10px;
  font-size: .84rem;
  color: rgba(238,242,255,0.95);
}
.sh-mp-leaderboard {
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
}
.sh-mp-leaderboard h4 {
  margin: 0 0 8px;
  font-size: .86rem;
  color: rgba(238,242,255,0.92);
}
.sh-mp-leaderboard__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.sh-mp-leaderboard__item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.sh-mp-leaderboard__item strong {
  display: block;
  font-size: .82rem;
  line-height: 1.2;
}
.sh-mp-leaderboard__item small {
  display: block;
  font-size: .72rem;
  color: rgba(238,242,255,0.65);
  margin-top: 2px;
}
.sh-mp-leaderboard__stats {
  white-space: nowrap;
  font-size: .76rem;
  color: rgba(238,242,255,0.82);
}
.sh-mp-badge-host {
  margin-left: 6px;
  font-size: .65rem;
  font-weight: 700;
  color: #d1fae5;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.28);
  border-radius: 999px;
  padding: 1px 6px;
}
@media (max-width: 980px) {
  .sh-mp-panel__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .sh-mp-panel__grid > .sh-mp-field { grid-column: span 2; }
  .sh-mp-field--compact { grid-column: span 2; }
}
@media (max-width: 640px) {
  .sh-mp-panel__countdown { font-size: .8rem; }
  .sh-mp-leaderboard__item { grid-template-columns: 1fr; }
  .sh-mp-leaderboard__stats { white-space: normal; }
}


.sh-header-search {
  padding-top: 0;
  padding-bottom: 10px;
}
.sh-header-search[hidden] { display: none !important; }
.sh-header-search__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--sh-border);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  padding: 10px;
}
.sh-header-search__form input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .92rem;
}
.sh-header-search__form input[type="search"]:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}



/* Archive pagination */
.sh-archive-page .navigation.pagination {
  margin-top: 26px;
}
.sh-archive-page .navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.sh-archive-page .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--sh-border);
  background: #fff;
  color: var(--sh-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.sh-archive-page .page-numbers:hover {
  transform: translateY(-1px);
  border-color: #a7f3d0;
  box-shadow: 0 8px 20px rgba(5, 150, 105, .12);
}
.sh-archive-page .page-numbers.current {
  background: linear-gradient(135deg, #10b981, #047857);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(4, 120, 87, .28);
}
.sh-archive-page .page-numbers.prev,
.sh-archive-page .page-numbers.next {
  padding-inline: 14px;
}
.sh-archive-page .page-numbers.dots {
  min-width: auto;
  padding: 0 6px;
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--sh-muted);
}



/* Multiplayer panel desktop spacing refinement */
@media (min-width: 1100px) {
  .sh-mp-panel__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
  }
  .sh-mp-panel__grid > .sh-mp-field { grid-column: span 3; }
  .sh-mp-panel__grid > .sh-mp-field:nth-child(1),
  .sh-mp-panel__grid > .sh-mp-field:nth-child(2),
  .sh-mp-panel__grid > .sh-mp-field:nth-child(3) { grid-column: span 4; }
  .sh-mp-panel__grid > .sh-mp-field:nth-child(4),
  .sh-mp-panel__grid > .sh-mp-field:nth-child(5),
  .sh-mp-panel__grid > .sh-mp-field:nth-child(7),
  .sh-mp-panel__grid > .sh-mp-field:nth-child(8) { grid-column: span 3; }
  .sh-mp-panel__grid > .sh-mp-field:nth-child(6) { grid-column: span 6; }
  .sh-mp-field--split .sh-share-btn {
    padding-inline: 10px;
  }
}


@media (max-width: 640px) {
  .sh-header-search__form {
    grid-template-columns: 1fr;
  }
  .sh-header-search__form .sh-btn {
    width: 100%;
    justify-content: center;
  }
}

.sh-archive-search-note {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: .78rem;
  font-weight: 700;
}
