:root {
  --sc-brand: #6d4aff;
  --sc-accent: #e5487a;
  --sc-ink: #16181d;
  --sc-muted: #667085;
  --sc-paper: #ffffff;
  --sc-surface: #f5f6f8;
  --sc-surface-2: #eceef3;
  --sc-border: #dfe3ea;
  --sc-header-bg: rgba(255,255,255,.88);
  --sc-shadow: 0 18px 50px rgba(18, 22, 33, .10);
  --sc-shadow-soft: 0 8px 28px rgba(18, 22, 33, .08);
  --sc-radius-sm: 10px;
  --sc-radius: 18px;
  --sc-radius-lg: 28px;
  --sc-max: 1320px;
  --sc-reading: 760px;
  --sc-text-scale: 1;
}

html[data-theme="dark"] {
  --sc-ink: #f3f4f6;
  --sc-muted: #a9b0bf;
  --sc-paper: #101116;
  --sc-surface: #181a21;
  --sc-surface-2: #22252e;
  --sc-border: #2d313c;
  --sc-header-bg: rgba(16,17,22,.88);
  --sc-shadow: 0 18px 50px rgba(0, 0, 0, .34);
  --sc-shadow-soft: 0 8px 28px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sc-paper);
  color: var(--sc-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: calc(16px * var(--sc-text-scale));
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.sc-no-scroll { overflow: hidden; }
body.sc-focus-mode .sc-site-header,
body.sc-focus-mode .sc-site-footer,
body.sc-focus-mode .sc-sidebar,
body.sc-focus-mode .sc-related-section,
body.sc-focus-mode .sc-mobile-bottom-nav,
body.sc-focus-mode .sc-breadcrumbs,
body.sc-focus-mode .sc-share-rail { display: none !important; }
body.sc-focus-mode .sc-article-shell { grid-template-columns: minmax(0, var(--sc-reading)); justify-content: center; }
body.sc-focus-mode .sc-reading-column { max-width: var(--sc-reading); }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--sc-brand); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sc-brand) 65%, white);
  outline-offset: 3px;
}
::selection { background: color-mix(in srgb, var(--sc-brand) 25%, transparent); }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute!important; width: 1px; word-wrap: normal!important;
}
.screen-reader-text:focus { background: var(--sc-paper); color: var(--sc-ink); clip: auto!important; clip-path: none; display: block; height: auto; left: 1rem; padding: .8rem 1rem; top: 1rem; width: auto; z-index: 100000; border-radius: 8px; box-shadow: var(--sc-shadow); }
.sc-skip-link { z-index: 100001; }

.sc-container-wide { width: min(calc(100% - 40px), var(--sc-max)); margin-inline: auto; }
.sc-container-reading { width: min(calc(100% - 40px), var(--sc-reading)); margin-inline: auto; }
.sc-site-main { min-height: 65vh; }
.sc-section { padding-block: clamp(2.4rem, 5vw, 5.5rem); }
.sc-eyebrow { color: var(--sc-brand); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.sc-text-link { font-weight: 750; text-decoration: none; color: var(--sc-brand); white-space: nowrap; }
.sc-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.sc-section-heading h2 { margin: .15rem 0 0; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.08; letter-spacing: -.025em; }
.sc-section-heading .sc-eyebrow { display: block; margin-bottom: .35rem; }

.sc-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .72rem 1.15rem; border: 0; border-radius: 999px; background: var(--sc-brand); color: white; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.sc-button:hover { color: white; transform: translateY(-1px); box-shadow: 0 8px 22px color-mix(in srgb, var(--sc-brand) 30%, transparent); }
.sc-button-small { min-height: 40px; padding: .55rem .95rem; font-size: .88rem; }
.sc-button-block { width: 100%; }
.sc-icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--sc-border); border-radius: 50%; background: var(--sc-paper); color: var(--sc-ink); cursor: pointer; font-weight: 800; }
.sc-icon-button:hover { background: var(--sc-surface); }

/* Header and navigation */
.sc-site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid color-mix(in srgb, var(--sc-border) 80%, transparent); background: var(--sc-header-bg); backdrop-filter: blur(16px); transition: transform .24s ease, box-shadow .24s ease; }
.sc-site-header.is-hidden { transform: translateY(-105%); }
.sc-site-header.is-scrolled { box-shadow: 0 8px 25px rgba(16,24,40,.06); }
.admin-bar .sc-site-header { top: 32px; }
.sc-header-inner { min-height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; }
.sc-branding { display: flex; align-items: center; min-width: 0; }
.custom-logo { display: block; max-height: 48px; width: auto; }
.sc-site-title { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 900; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.sc-primary-nav { justify-self: center; min-width: 0; }
.sc-menu, .sc-menu ul { list-style: none; margin: 0; padding: 0; }
.sc-menu { display: flex; align-items: center; gap: .2rem; }
.sc-menu > li { position: relative; }
.sc-menu > li > a { display: block; padding: .65rem .7rem; border-radius: 8px; font-size: .94rem; font-weight: 680; text-decoration: none; }
.sc-menu > li > a:hover, .sc-menu > .current-menu-item > a, .sc-menu > .current-menu-ancestor > a { background: var(--sc-surface); color: var(--sc-brand); }
.sc-menu .sub-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; padding: .55rem; background: var(--sc-paper); border: 1px solid var(--sc-border); border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); opacity: 0; transform: translateY(-5px); pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.sc-menu li:hover > .sub-menu, .sc-menu li:focus-within > .sub-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sc-menu .sub-menu li { position: relative; }
.sc-menu .sub-menu a { display: block; padding: .65rem .75rem; border-radius: 8px; text-decoration: none; font-size: .9rem; }
.sc-menu .sub-menu a:hover { background: var(--sc-surface); }
.sc-menu .sub-menu .sub-menu { left: calc(100% + 5px); top: 0; }
.sc-header-actions { display: flex; align-items: center; justify-content: end; gap: .55rem; }
.sc-menu-toggle { display: none; }

/* Mobile drawer */
.sc-mobile-drawer { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.48); }
.sc-mobile-drawer[hidden] { display: none; }
.sc-mobile-drawer-panel { width: min(88vw, 390px); height: 100%; padding: 1rem; background: var(--sc-paper); overflow-y: auto; box-shadow: var(--sc-shadow); }
.sc-mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--sc-border); }
.sc-mobile-menu, .sc-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.sc-mobile-menu { padding-block: 1rem; }
.sc-mobile-menu a { display: block; padding: .8rem .5rem; border-bottom: 1px solid var(--sc-border); text-decoration: none; font-weight: 700; }
.sc-mobile-menu ul a { padding-left: 1.4rem; font-weight: 550; }
.sc-mobile-bottom-nav { display: none; }

/* Command palette */
.sc-command-palette { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: start center; padding-top: min(12vh, 110px); }
.sc-command-palette[hidden] { display: none; }
.sc-command-backdrop { position: absolute; inset: 0; background: rgba(8,10,15,.65); backdrop-filter: blur(8px); }
.sc-command-panel { position: relative; width: min(calc(100% - 32px), 760px); max-height: 76vh; overflow: auto; background: var(--sc-paper); border: 1px solid var(--sc-border); border-radius: 24px; box-shadow: 0 28px 90px rgba(0,0,0,.32); padding: clamp(1rem, 3vw, 1.6rem); }
.sc-command-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.sc-command-head h2 { margin: .2rem 0 1rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.sc-command-form { display: flex; align-items: center; gap: .65rem; border: 2px solid var(--sc-border); background: var(--sc-surface); border-radius: 16px; padding: .25rem .75rem; }
.sc-command-form:focus-within { border-color: var(--sc-brand); }
.sc-command-form input { width: 100%; min-height: 54px; border: 0; outline: 0; background: transparent; color: var(--sc-ink); font-size: 1.08rem; }
.sc-key-hint { border: 1px solid var(--sc-border); border-radius: 6px; padding: .18rem .42rem; color: var(--sc-muted); font-size: .68rem; }
.sc-search-results { display: grid; gap: .4rem; margin-top: .75rem; }
.sc-search-result { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: .8rem; padding: .55rem; border-radius: 12px; text-decoration: none; }
.sc-search-result:hover, .sc-search-result[aria-selected="true"] { background: var(--sc-surface); }
.sc-search-result img { width: 56px; height: 44px; object-fit: cover; border-radius: 8px; }
.sc-search-result strong { display: block; line-height: 1.3; }
.sc-search-result span { color: var(--sc-muted); font-size: .76rem; }
.sc-search-default { padding-top: 1rem; }
.sc-search-default h3 { margin: 0 0 .65rem; font-size: .9rem; }
.sc-command-help { margin: 1rem 0 0; color: var(--sc-muted); font-size: .8rem; }

/* Home */
.sc-home-top { padding-top: clamp(1rem, 2vw, 2rem); }
.sc-hero-billboard { position: relative; min-height: min(68vh, 680px); border-radius: var(--sc-radius-lg); overflow: hidden; background: #12131a; color: white; box-shadow: var(--sc-shadow-soft); }
.sc-hero-media { position: absolute; inset: 0; color: inherit; }
.sc-hero-image { width: 100%; height: 100%; object-fit: cover; }
.sc-hero-media > span { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,12,.86) 0%, rgba(7,8,12,.54) 46%, rgba(7,8,12,.08) 100%); }
.sc-hero-content { position: relative; z-index: 2; width: min(650px, 78%); padding: clamp(2rem, 6vw, 5.6rem); min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.sc-hero-eyebrow { color: #d8d0ff; }
.sc-hero-content h1 { margin: .5rem 0 .8rem; font-size: clamp(2.2rem, 5.2vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.sc-hero-content h1 a { text-decoration: none; }
.sc-hero-content h1 a:hover { color: white; text-decoration: underline; text-underline-offset: .12em; }
.sc-hero-content p { margin: 0 0 1rem; max-width: 60ch; color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.sc-hero-meta { display: flex; gap: .55rem; color: rgba(255,255,255,.7); font-size: .82rem; margin-bottom: 1.2rem; }
.sc-hero-secondary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 1rem; }
.sc-empty-hero { padding: 5rem 0; }
.sc-empty-hero h1 { font-size: clamp(2.5rem, 7vw, 6rem); margin: 0; }

/* Cards and grids */
.sc-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.sc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sc-card { display: flex; flex-direction: column; min-width: 0; background: var(--sc-paper); }
.sc-card-media { display: block; overflow: hidden; border-radius: var(--sc-radius); background: var(--sc-surface); aspect-ratio: 16/10; }
.sc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sc-card:hover .sc-card-media img { transform: scale(1.025); }
.sc-card-body { padding-top: .85rem; }
.sc-card-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; min-height: 1.4rem; }
.sc-card-kicker > a { color: var(--sc-brand); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.sc-card-title { margin: .35rem 0 .35rem; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.22; letter-spacing: -.02em; }
.sc-card-title a { text-decoration: none; }
.sc-card-excerpt { margin: 0 0 .65rem; color: var(--sc-muted); font-size: .92rem; }
.sc-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; color: var(--sc-muted); font-size: .76rem; }
.sc-card-compact { display: grid; grid-template-columns: 120px 1fr; gap: .8rem; border-bottom: 1px solid var(--sc-border); padding-bottom: .85rem; }
.sc-card-compact .sc-card-media { aspect-ratio: 1/1; border-radius: 12px; }
.sc-card-compact .sc-card-body { padding: 0; }
.sc-card-compact .sc-card-title { font-size: 1rem; margin-top: .25rem; }
.sc-card-rail { flex: 0 0 clamp(250px, 27vw, 340px); scroll-snap-align: start; }
.sc-card-tool .sc-card-media, .sc-card-game .sc-card-media { border-radius: 24px; }
.sc-card-tool .sc-card-kicker:before { content: "TOOL"; color: var(--sc-brand); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.sc-card-game .sc-card-kicker:before { content: "GAME"; color: var(--sc-accent); font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.sc-feature-card { min-width: 0; }
.sc-feature-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 22px; background: #111; color: white; text-decoration: none; }
.sc-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sc-feature-media:hover img { transform: scale(1.03); }
.sc-feature-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.05) 70%); }
.sc-feature-content { position: absolute; inset: auto 0 0; padding: 1.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.sc-feature-content strong { font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.08; }
.sc-feature-content > span:last-child { color: rgba(255,255,255,.78); font-size: .88rem; }

.sc-badge { display: inline-flex; align-items: center; min-height: 22px; padding: .15rem .46rem; border-radius: 999px; background: var(--sc-surface-2); color: var(--sc-ink); font-size: .65rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.sc-badge-breaking { background: #d73038; color: white; }
.sc-badge-editors-choice { background: var(--sc-brand); color: white; }
.sc-badge-sensitive { background: #f2b544; color: #241800; }
.sc-badge-new { background: #16875d; color: white; }

/* Rails */
.sc-rail-wrap { position: relative; }
.sc-rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; scrollbar-width: thin; padding: .2rem .1rem 1rem; }
.sc-rail::-webkit-scrollbar { height: 7px; }
.sc-rail::-webkit-scrollbar-thumb { background: var(--sc-border); border-radius: 99px; }
.sc-rail-arrow { position: absolute; z-index: 5; top: 33%; width: 44px; height: 44px; border: 1px solid var(--sc-border); border-radius: 50%; background: var(--sc-paper); color: var(--sc-ink); box-shadow: var(--sc-shadow-soft); cursor: pointer; }
.sc-rail-arrow:disabled { opacity: 0; pointer-events: none; }
.sc-rail-prev { left: -18px; }
.sc-rail-next { right: -18px; }

/* Newsletter */
.sc-newsletter-band { margin-block: clamp(2rem, 5vw, 5rem); padding: clamp(1.6rem, 5vw, 4rem); border-radius: var(--sc-radius-lg); background: linear-gradient(125deg, color-mix(in srgb, var(--sc-brand) 88%, #151526), color-mix(in srgb, var(--sc-accent) 70%, #21162c)); color: white; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.sc-newsletter-band .sc-eyebrow { color: rgba(255,255,255,.72); }
.sc-newsletter-band h2 { margin: .25rem 0 .4rem; font-size: clamp(1.8rem, 4vw, 3.1rem); max-width: 760px; }
.sc-newsletter-band p { margin: 0; color: rgba(255,255,255,.78); }
.sc-newsletter-band .sc-button { background: white; color: #17131f; flex: none; }

/* Breadcrumbs and archives */
.sc-breadcrumbs { width: min(calc(100% - 40px), var(--sc-max)); margin: 1rem auto; color: var(--sc-muted); font-size: .78rem; }
.sc-breadcrumbs ol { display: flex; gap: .4rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.sc-breadcrumbs li:not(:last-child):after { content: "›"; margin-left: .4rem; }
.sc-breadcrumbs a { text-decoration: none; }
.sc-archive-header, .sc-topic-header, .sc-search-page-header { padding: clamp(2rem, 6vw, 5.5rem) 0 clamp(1.5rem, 3vw, 3rem); max-width: 900px; }
.sc-archive-header h1, .sc-topic-header h1, .sc-search-page-header h1 { margin: .2rem 0 .7rem; font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -.055em; line-height: 1; }
.sc-archive-description, .sc-topic-description, .sc-archive-header p { color: var(--sc-muted); font-size: 1.05rem; max-width: 68ch; }
.sc-content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
body.sc-sidebar-left .sc-content-with-sidebar { grid-template-columns: 320px minmax(0,1fr); }
body.sc-sidebar-left .sc-content-with-sidebar > .sc-sidebar { order: -1; }
.navigation.pagination { margin: 2.5rem 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; border: 1px solid var(--sc-border); border-radius: 10px; text-decoration: none; }
.page-numbers.current { background: var(--sc-brand); color: white; border-color: var(--sc-brand); }

/* Sidebar */
.sc-sidebar { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.sc-widget { padding: 1.15rem; border: 1px solid var(--sc-border); border-radius: var(--sc-radius); background: var(--sc-surface); }
.sc-widget .widget-title { margin: 0 0 .9rem; font-size: 1.05rem; }
.sc-widget ul { margin: 0; padding-left: 1.2rem; }
.sc-widget-posts { display: grid; gap: .8rem; }
.sc-widget-post { display: grid; grid-template-columns: 72px 1fr; gap: .7rem; align-items: center; }
.sc-widget-thumb { display: block; aspect-ratio: 1; border-radius: 9px; overflow: hidden; }
.sc-widget-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-widget-post h3 { margin: 0; font-size: .88rem; line-height: 1.25; }
.sc-widget-post h3 a { text-decoration: none; }
.sc-widget-post time { color: var(--sc-muted); font-size: .7rem; }

/* Single */
.sc-reading-progress { position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.admin-bar .sc-reading-progress { top: 32px; }
.sc-reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--sc-brand), var(--sc-accent)); }
.sc-article-header { padding-top: clamp(2rem, 6vw, 5rem); text-align: left; }
.sc-article-kicker { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sc-article-title { margin: .55rem 0 .8rem; font-size: clamp(2.3rem, 6.4vw, 5.7rem); line-height: .98; letter-spacing: -.06em; }
.sc-single-news .sc-article-title { font-size: clamp(2.2rem, 5.5vw, 5rem); }
.sc-article-deck { margin: 0 0 1.2rem; color: var(--sc-muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.5; }
.sc-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; color: var(--sc-muted); font-size: .82rem; padding-bottom: 1.4rem; }
.sc-author-inline { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; color: var(--sc-ink); }
.sc-author-avatar { border-radius: 50%; }
.sc-article-hero { margin-top: 1rem; }
.sc-article-hero img { width: 100%; max-height: 760px; object-fit: cover; border-radius: var(--sc-radius-lg); }
.sc-article-hero figcaption { color: var(--sc-muted); font-size: .76rem; padding: .5rem .4rem; }
.sc-article-shell { display: grid; grid-template-columns: 64px minmax(0, var(--sc-reading)) 300px; justify-content: center; align-items: start; gap: clamp(1.5rem, 3.5vw, 3.5rem); padding-block: clamp(2rem, 5vw, 4.5rem); }
.sc-reading-column { min-width: 0; }
.sc-article-body { font-family: Georgia, "Times New Roman", serif; font-size: calc(clamp(1.05rem, 1.8vw, 1.23rem) * var(--sc-text-scale)); line-height: 1.82; overflow-wrap: break-word; word-break: normal; }
.sc-article-body > *:first-child { margin-top: 0; }
.sc-article-body > h2, .sc-article-body > h3, .sc-article-body > h4 { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.03em; line-height: 1.16; scroll-margin-top: 100px; }
.sc-article-body > h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.sc-article-body > h3 { margin-top: 1.8em; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.sc-article-body > p { margin: 0 0 1.35em; }
.sc-article-body > blockquote { margin: 2rem 0; padding: .1rem 0 .1rem 1.5rem; border-left: 4px solid var(--sc-brand); color: color-mix(in srgb, var(--sc-ink) 82%, var(--sc-muted)); font-size: 1.15em; }
.sc-article-body > pre { overflow-x: auto; padding: 1rem; border-radius: 12px; background: #11151c; color: #f3f4f6; font-size: .85rem; }
.sc-article-body code { overflow-wrap: break-word; word-break: normal; }
.sc-article-body > img, .sc-article-body > figure img { border-radius: var(--sc-radius); }
.sc-article-actions { display: flex; flex-wrap: wrap; gap: .45rem; padding: .7rem 0; }
.sc-share-rail .sc-article-actions { position: sticky; top: 100px; flex-direction: column; align-items: stretch; padding: 0; }
.sc-article-actions button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; border: 1px solid var(--sc-border); border-radius: 999px; background: var(--sc-paper); color: var(--sc-ink); cursor: pointer; font-size: .78rem; }
.sc-share-rail .sc-article-actions button { width: 58px; min-height: 50px; border-radius: 14px; flex-direction: column; font-size: .62rem; }
.sc-share-rail .sc-font-controls { display: none; }
.sc-font-controls { display: inline-flex; }
.sc-font-controls button { min-width: 42px; padding-inline: .6rem; }
.sc-author-card { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; margin: 3rem 0; padding: 1.25rem; border: 1px solid var(--sc-border); border-radius: var(--sc-radius); background: var(--sc-surface); }
.sc-author-card-avatar { border-radius: 50%; }
.sc-author-card h2 { margin: .1rem 0 .35rem; font-size: 1.3rem; }
.sc-author-card h2 a { text-decoration: none; }
.sc-author-card p { margin: 0; color: var(--sc-muted); }
.sc-related-section { border-top: 1px solid var(--sc-border); }
.sc-context-searches { padding-block: 1.6rem 2rem; }
.sc-context-searches h2 { font-size: 1rem; margin-bottom: .7rem; }
.sc-chip-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.sc-chip { display: inline-flex; min-height: 36px; align-items: center; padding: .35rem .7rem; border: 1px solid var(--sc-border); border-radius: 999px; background: var(--sc-surface); text-decoration: none; font-size: .82rem; }
.sc-chip:hover { border-color: var(--sc-brand); background: color-mix(in srgb, var(--sc-brand) 8%, var(--sc-surface)); }
.sc-reactions { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin: 3rem 0; padding: 1.2rem; border-radius: var(--sc-radius); background: var(--sc-surface); }
.sc-reactions h2 { margin: .15rem 0; font-size: 1.18rem; }
.sc-reaction-buttons { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: end; }
.sc-reaction-buttons button { min-height: 42px; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border: 1px solid var(--sc-border); border-radius: 999px; background: var(--sc-paper); color: var(--sc-ink); cursor: pointer; }
.sc-reaction-buttons button[aria-pressed="true"] { border-color: var(--sc-brand); background: color-mix(in srgb, var(--sc-brand) 12%, var(--sc-paper)); color: var(--sc-brand); }
.sc-reaction-buttons strong { min-width: 1.4rem; text-align: center; font-size: .75rem; }
.sc-corrections { margin: 2.5rem 0; padding: 1rem; border: 1px solid var(--sc-border); border-radius: 12px; background: var(--sc-surface); font-family: Inter, sans-serif; font-size: .86rem; }
.sc-corrections summary { cursor: pointer; font-weight: 800; }
.sc-toc { margin: 0 0 2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--sc-brand); background: var(--sc-surface); border-radius: 0 12px 12px 0; }
.sc-toc ol { margin: .65rem 0 0; padding-left: 1.2rem; }
.sc-toc a { text-decoration: none; }
.sc-confession-label { padding-top: 1.8rem; text-align: center; color: var(--sc-accent); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sc-single-confession .sc-article-header { text-align: center; }
.sc-confession-paper { margin-top: 1.2rem; padding: clamp(1.3rem, 4vw, 3rem); border-radius: var(--sc-radius-lg); background: color-mix(in srgb, var(--sc-surface) 85%, #fff2e2); box-shadow: var(--sc-shadow-soft); }
.sc-inline-cta { margin: 2.5rem 0; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid var(--sc-border); border-radius: var(--sc-radius); background: var(--sc-surface); }
.sc-inline-cta h2 { margin-top: 0; }

/* Tool/game */
.sc-tool-stage, .sc-game-stage { margin-top: 1.5rem; border: 1px solid var(--sc-border); border-radius: var(--sc-radius-lg); background: var(--sc-surface); box-shadow: var(--sc-shadow-soft); overflow: hidden; }
.sc-tool-stage-label, .sc-game-toolbar { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--sc-border); color: var(--sc-muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.sc-tool-stage-label button, .sc-game-toolbar button { border: 1px solid var(--sc-border); border-radius: 999px; background: var(--sc-paper); color: var(--sc-ink); padding: .35rem .65rem; cursor: pointer; text-transform: none; letter-spacing: 0; }
.sc-tool-stage .sc-article-body, .sc-game-stage .sc-article-body { padding: clamp(1rem, 3vw, 2rem); font-family: Inter, sans-serif; font-size: 1rem; line-height: 1.6; }
.sc-game-stage { background: #101116; color: #f6f7f9; }
.sc-tool-support { padding-block: 2rem; }

/* Page, author, 404, comments */
.sc-page-header { width: min(100%, var(--sc-reading)); margin-inline: auto; padding-top: clamp(2rem, 6vw, 5rem); }
.sc-page-header h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.055em; line-height: 1; overflow-wrap: break-word; word-break: normal; }
.sc-page-header p { color: var(--sc-muted); font-size: 1.15rem; }
.sc-page-hero { width: min(100%, var(--sc-max)); margin-inline: auto; }
.sc-page-hero img { border-radius: var(--sc-radius-lg); }

/* Pages are wide shells. Only direct editorial prose is constrained to the
 * reading measure; shortcode/app roots retain the full available width. */
.sc-single-static > .sc-article-body { width: 100%; min-width: 0; }
.sc-single-static > .sc-article-body > :where(p,h2,h3,h4,h5,h6,ul,ol,blockquote,pre,table,details,.wp-block-buttons,.wp-block-separator) {
  width: min(100%, var(--sc-reading));
  margin-left: auto;
  margin-right: auto;
}
.sc-single-static > .sc-article-body > .alignwide { width: min(100%, 1100px); max-width: 1100px; margin-left: auto; margin-right: auto; }
.sc-single-static > .sc-article-body > .alignfull { width: 100%; max-width: none; }

/* Embedded applications must never inherit editorial word-breaking or narrow
 * measure assumptions. These are structural safety rules only. */
#primary .entry-content :where(.sft2,.stw-ultimate-wrap,.stw-tool-page,[data-sft2-tool],[data-current-tool],[class*="converter-hub" i],[class*="tool-app" i],[class*="game-app" i]) {
  max-width: none;
  word-break: normal;
  overflow-wrap: break-word;
}
#primary .entry-content :where(.sft2,.stw-ultimate-wrap,.stw-tool-page,[data-sft2-tool],[data-current-tool]) :where(h1,h2,h3,h4,h5,h6,p,a,button,label,summary) {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
#primary .entry-content :where(.sft2-fav-large,.stw-primary,.stw-secondary,.stw-theme-btn,.stw-back) {
  white-space: nowrap;
  min-width: max-content;
}

.sc-author-hero { display: grid; grid-template-columns: 144px 1fr; gap: 1.4rem; align-items: center; padding: clamp(2rem, 6vw, 5rem) 0; max-width: 900px; }
.sc-author-hero-avatar { border-radius: 50%; }
.sc-author-hero h1 { margin: .2rem 0 .5rem; font-size: clamp(2.2rem, 5vw, 4rem); }
.sc-author-hero p { color: var(--sc-muted); }
.sc-404-hero { min-height: 55vh; display: grid; grid-template-columns: minmax(180px, 360px) minmax(0, 680px); align-items: center; justify-content: center; gap: clamp(2rem, 5vw, 5rem); padding: 3rem 0; }
.sc-404-art { font-size: clamp(7rem, 18vw, 16rem); font-weight: 950; line-height: .8; color: color-mix(in srgb, var(--sc-brand) 18%, var(--sc-surface)); letter-spacing: -.08em; }
.sc-404-hero h1 { margin: .2rem 0 .7rem; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.sc-search-form { display: flex; gap: .6rem; width: min(100%, 720px); }
.sc-search-field { min-width: 0; flex: 1; min-height: 48px; border: 1px solid var(--sc-border); border-radius: 999px; background: var(--sc-surface); color: var(--sc-ink); padding: .6rem 1rem; }
.sc-comments-area { margin: 3rem 0; border-top: 1px solid var(--sc-border); padding-top: 2rem; }
.sc-comment-list { list-style: none; padding: 0; }
.sc-comment-list .comment { padding: 1rem 0; border-bottom: 1px solid var(--sc-border); }
.comment-meta { font-size: .8rem; color: var(--sc-muted); }
.comment-content { margin-left: 3.8rem; }
.comment-respond textarea, .comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"] { width: 100%; border: 1px solid var(--sc-border); border-radius: 10px; padding: .7rem; background: var(--sc-paper); color: var(--sc-ink); }
.form-submit .submit { border: 0; border-radius: 999px; background: var(--sc-brand); color: white; padding: .75rem 1.1rem; font-weight: 750; cursor: pointer; }
.sc-empty-state { padding: clamp(3rem, 8vw, 7rem) 0; text-align: center; }
.sc-empty-state .sc-search-form { margin-inline: auto; }
.sc-empty-icon { font-size: 4rem; color: var(--sc-muted); }
.sc-empty-recommendations { margin-top: 2rem; text-align: left; }

/* Footer */
.sc-site-footer { margin-top: clamp(3rem, 7vw, 7rem); border-top: 1px solid var(--sc-border); background: var(--sc-surface); }
.sc-footer-grid { display: grid; grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(150px, 1fr)); gap: clamp(1.4rem, 3vw, 3.2rem); padding-block: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.sc-footer-brand { min-width: 0; }
.sc-footer-brand p { max-width: 38ch; margin: .8rem 0 1.1rem; color: var(--sc-muted); }
.sc-footer-newsletter { margin-bottom: 1.1rem; }
.sc-social-links { display: flex; flex-wrap: wrap; gap: .55rem .85rem; }
.sc-social-links a { color: var(--sc-muted); text-decoration: none; font-size: .84rem; font-weight: 700; }
.sc-social-links a:hover { color: var(--sc-brand); }
.sc-footer-column { min-width: 0; }
.sc-footer-column .sc-widget { padding: 0; border: 0; background: transparent; }
.sc-footer-column .widget-title { margin: 0 0 .9rem; color: var(--sc-ink); font-size: .9rem; line-height: 1.3; }
.sc-footer-menu, .sc-footer-searches, .sc-footer-latest, .sc-footer-bottom-menu { list-style: none; padding: 0; margin: 0; }
.sc-footer-menu li, .sc-footer-searches li { margin-bottom: .55rem; }
.sc-footer-menu a, .sc-footer-searches a { color: var(--sc-muted); text-decoration: none; font-size: .86rem; line-height: 1.35; }
.sc-footer-menu a:hover, .sc-footer-searches a:hover { color: var(--sc-brand); }
.sc-footer-latest { display: grid; gap: .7rem; }
.sc-footer-latest li { display: grid; gap: .16rem; }
.sc-footer-latest a { color: var(--sc-ink); text-decoration: none; font-size: .84rem; font-weight: 700; line-height: 1.35; }
.sc-footer-latest a:hover { color: var(--sc-brand); }
.sc-footer-latest time { color: var(--sc-muted); font-size: .7rem; }
.sc-footer-bottom { display: flex; justify-content: space-between; gap: 1rem 2rem; align-items: center; padding-block: 1.2rem 5.5rem; border-top: 1px solid var(--sc-border); color: var(--sc-muted); font-size: .78rem; }
.sc-footer-bottom p { margin: 0; }
.sc-footer-bottom-menu { display: flex; gap: .65rem 1rem; flex-wrap: wrap; }
.sc-footer-bottom-menu a { color: var(--sc-muted); text-decoration: none; }
.sc-footer-bottom-menu a:hover { color: var(--sc-brand); }
.sc-back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 44px; height: 44px; border: 1px solid var(--sc-border); border-radius: 50%; background: var(--sc-paper); color: var(--sc-ink); box-shadow: var(--sc-shadow-soft); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.sc-back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Toast */
.sc-toast { position: fixed; left: 50%; bottom: 28px; z-index: 6000; transform: translate(-50%, 12px); opacity: 0; background: #101116; color: white; padding: .6rem .9rem; border-radius: 999px; font-size: .82rem; box-shadow: var(--sc-shadow); transition: .18s ease; }
.sc-toast.is-active { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; scroll-behavior: auto!important; transition-duration: .01ms!important; }
}
