body.gaming :where(#content, .g-disclaimer) {
  color-scheme: dark;
  --bg: #0c0a18;
  --panel: #171326;
  --panel-hot: #1d1630;
  --text: #fbf7ff;
  --muted: #c4bad7;
  --line: #382a50;
  --accent: #e7bcff;
  --coral: #ffabd8;
  --green: #97f0cc;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
body.gaming :where(#content, .g-disclaimer) *, body.gaming :where(#content, .g-disclaimer) *::before, body.gaming :where(#content, .g-disclaimer) *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.gaming { margin: 0; background: #0c0a18; }
body.gaming :where(#content, .g-disclaimer) { color: var(--text); line-height: 1.55; font-family: Inter, "Segoe UI", system-ui, sans-serif; }
body.gaming :where(#content, .g-disclaimer) button, body.gaming :where(#content, .g-disclaimer) input, body.gaming :where(#content, .g-disclaimer) select { font: inherit; }
body.gaming :where(#content, .g-disclaimer) button, body.gaming :where(#content, .g-disclaimer) a { -webkit-tap-highlight-color: transparent; }
body.gaming :where(#content, .g-disclaimer) a { color: var(--accent); text-underline-offset: .22em; }
body.gaming :where(#content, .g-disclaimer) a:hover { color: white; }
body.gaming :where(#content, .g-disclaimer) :focus-visible { outline: 2px solid #ffe2a8; outline-offset: 4px; }
body.gaming [hidden] { display: none !important; }
body.gaming :where(#content, .g-disclaimer) h1, body.gaming :where(#content, .g-disclaimer) h2, body.gaming :where(#content, .g-disclaimer) h3, body.gaming :where(#content, .g-disclaimer) p, body.gaming :where(#content, .g-disclaimer) dl, body.gaming :where(#content, .g-disclaimer) dd { margin: 0; }
body.gaming :where(#content, .g-disclaimer) svg { display: inline-block; width: 22px; height: 22px; flex: none; vertical-align: middle; }
body.gaming .g-wrap { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }
body.gaming .g-skip { position: absolute; top: 8px; left: 16px; padding: 10px 14px; z-index: 5; background: #170e2d; transform: translateY(-150%); }
body.gaming .g-skip:focus { transform: none; }
body.gaming .g-top { border-bottom: 1px solid #2c223d; background: #100c1c; }
body.gaming .g-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 65px; padding-block: 7px; }
body.gaming .g-brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 21px; letter-spacing: -.05em; white-space: nowrap; }
body.gaming .g-brand > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: linear-gradient(145deg,#643ae5,#9b4db5 65%,#cb518d); }
body.gaming .g-brand strong span { color: #d6b7ff; }
body.gaming .g-top nav { display: flex; gap: clamp(10px, 3vw, 28px); flex-wrap: wrap; align-items: center; }
body.gaming .g-top nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
body.gaming .g-top nav a[aria-current], body.gaming .g-top nav a:hover { color: var(--coral); }
body.gaming .g-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(248px, 304px); gap: 28px; align-items: center; min-height: 365px; margin-top: 28px; padding: clamp(28px, 4.5vw, 62px); border-radius: 24px; border: 1px solid #5b436d; background: linear-gradient(125deg,#1a1331 25%,#5e2859 60%,#9a4c6b); }
body.gaming .g-hero-img, body.gaming .g-hero-shade { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
body.gaming .g-hero-img { object-fit: cover; object-position: center 54%; }
body.gaming .g-hero-shade { background: linear-gradient(90deg,#110c22 0%,#130d23ed 22%,#160e2bb3 46%,#180f2a3d 80%), linear-gradient(0deg,#100a2180,transparent 65%); }
body.gaming .g-hero-copy { max-width: 680px; }
body.gaming .g-eyebrow { display: flex; align-items: center; gap: 8px; color: #ebbeff; font-size: 12px; font-weight: 750; letter-spacing: .16em; }
body.gaming .g-eyebrow > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #9667b4; border-radius: 8px; background: #38234f; }
body.gaming .g-eyebrow svg { width: 17px; height: 17px; }
body.gaming .g-hero h1 { margin: 12px 0; font-size: clamp(48px, 6.4vw, 91px); line-height: .99; letter-spacing: -.074em; font-weight: 840; }
body.gaming .g-hero h1 span { color: #f1c5ff; background: linear-gradient(95deg,#d9bbff 10%,#ffaad6 86%); background-clip: text; -webkit-text-fill-color: transparent; }
body.gaming .g-hero-copy > p:not(.g-eyebrow) { max-width: 420px; color: #eee2fb; font-size: clamp(15px, 1.4vw, 17px); }
body.gaming .g-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 23px; }
body.gaming .g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 9px 15px; border: 1px solid transparent; border-radius: 10px; font-weight: 720; text-decoration: none; cursor: pointer; text-align: center; }
body.gaming .g-btn svg { width: 17px; height: 17px; }
body.gaming .g-primary { background: linear-gradient(110deg,#f0c8ff,#ffb4da); color: #211233; }
body.gaming .g-primary:hover { background: #f9dcff; color: #211233; }
body.gaming .g-primary:disabled { opacity: .55; cursor: default; }
body.gaming .g-quiet { color: var(--accent); background: #1b122d; border-color: #5a3f76; }
body.gaming .g-quiet:hover { background: #2e1b47; }
body.gaming .g-text-link { color: #f3dfff; font-size: 14px; font-weight: 680; }
body.gaming .g-status { padding: 18px; border: 1px solid #9a70b1; border-radius: 17px; background: #1c132bf4; box-shadow: 0 14px 35px #09051560; }
body.gaming .g-status h2 { display: flex; gap: 8px; align-items: center; font-size: 11px; letter-spacing: .12em; font-weight: 800; color: #ecd6fa; margin-bottom: 10px; }
body.gaming .g-dot { width: 7px; height: 7px; border-radius: 50%; background: #e3b0ff; box-shadow: 0 0 12px #df91ee; }
body.gaming .g-status dl > div { padding-block: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px solid #49335f; }
body.gaming .g-status dt { font-size: 14px; font-weight: 650; }
body.gaming .g-status dd { text-align: right; color: var(--green); font-size: 13px; font-weight: 710; }
body.gaming .g-status dd.g-pc { color: #ffcb9f; }
body.gaming .g-status p { margin-top: 11px; font-size: 12px; color: var(--muted); }
body.gaming .g-status a { display: inline-flex; gap: 7px; align-items: center; color: #f3caff; margin-top: 5px; font-weight: 720; font-size: 13px; }
body.gaming .g-status a svg, body.gaming .g-section-head a svg { width: 16px; height: 16px; }
body.gaming .g-library { margin: 34px 0 45px; scroll-margin-top: 18px; }
body.gaming .g-section-head { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-bottom: 14px; }
body.gaming .g-section-head h2, body.gaming .g-answers h2, body.gaming .g-explain h2 { font-size: clamp(22px, 3.4vw, 33px); line-height: 1.12; letter-spacing: -.045em; }
body.gaming .g-section-head p { color: var(--muted); margin-top: 5px; font-size: 14px; }
body.gaming .g-section-head output { flex: none; color: var(--accent); font-size: 13px; border: 1px solid var(--line); border-radius: 20px; padding: 4px 10px; }
body.gaming .g-section-head > a { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; }
body.gaming .g-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
body.gaming .g-filters button { border: 1px solid var(--line); border-radius: 9px; padding: 7px 13px; min-height: 40px; background: #151024; color: #d9cdea; cursor: pointer; font-size: 13px; }
body.gaming .g-filters button[aria-pressed="true"] { border-color: #e8b8fa; background: #e8b8fa; color: #231036; font-weight: 750; }
body.gaming .g-filters button:hover { border-color: #e8b8fa; }
body.gaming .g-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
body.gaming .g-card { --category: #e3b8ff; --category-bg: #36234f; display: flex; flex-direction: column; align-items: flex-start; min-height: 149px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(132deg,#1b152c,var(--panel) 75%); color: var(--text); position: relative; text-decoration: none; }
body.gaming .g-card:hover, body.gaming .g-card:focus-visible { border-color: var(--category); background: var(--panel-hot); }
body.gaming .g-buy { --category: #ffc8ae; --category-bg: #482b34; }
body.gaming .g-install { --category: #a7e6f8; --category-bg: #23384e; }
body.gaming .g-create { --category: #fdb9eb; --category-bg: #482644; }
body.gaming .g-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: var(--category-bg,#36234f); color: var(--category,#e3b8ff); flex: none; }
body.gaming .g-icon svg { width: 19px; height: 19px; }
body.gaming .g-card strong { margin-top: 10px; width: 100%; line-height: 1.22; font-size: 15px; letter-spacing: -.015em; }
body.gaming .g-card-desc { display: block; margin: 5px 0 2px; color: var(--muted); font-size: 13px; line-height: 1.34; }
body.gaming .g-arrow { position: absolute; top: 20px; right: 14px; color: var(--category); }
body.gaming .g-arrow svg { width: 17px; height: 17px; }
body.gaming .g-answers, body.gaming .g-explain { padding: clamp(16px, 3.6vw, 31px); border: 1px solid var(--line); border-radius: 18px; background: #141022; margin: 0 0 38px; max-width: 900px; }
body.gaming .g-answers h2 { margin-bottom: 12px; }
body.gaming .g-answers details { border-top: 1px solid var(--line); }
body.gaming .g-answers summary { padding-block: 12px; cursor: pointer; font-weight: 680; }
body.gaming .g-answers details p { color: var(--muted); padding-bottom: 13px; }
body.gaming .g-foot { padding: 22px 0; color: var(--muted); font-size: 13px; border-top: 1px solid #2f2445; background: #100c1c; }
body.gaming .g-foot .g-wrap, body.gaming .g-foot nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; }
body.gaming .g-foot a { color: var(--muted); }
body.gaming .g-crumb { display: flex; flex-wrap: wrap; gap: 7px; margin: 26px 0; font-size: 13px; color: var(--muted); }
body.gaming .g-tool-head { margin: 0 0 21px; }
body.gaming .g-tool-head .g-icon { width: 44px; height: 44px; }
body.gaming .g-tool-head .g-icon svg { width: 25px; height: 25px; }
body.gaming .g-tool-head h1 { font-size: clamp(32px, 5.8vw, 60px); line-height: 1.06; letter-spacing: -.055em; margin: 10px 0 8px; }
body.gaming .g-tool-head p { color: var(--muted); max-width: 650px; }
body.gaming .g-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 15px; margin-bottom: 30px; }
body.gaming .g-panel { min-width: 0; padding: clamp(15px, 2.5vw, 24px); border-radius: 17px; border: 1px solid var(--line); background: var(--panel); overflow-wrap: anywhere; }
body.gaming .g-result { background: linear-gradient(145deg,#251737,#18122a 80%); }
body.gaming .g-result-kicker { color: var(--accent); font-size: 12px; font-weight: 750; margin-bottom: 6px; }
body.gaming #g-result > strong, body.gaming .g-pc-head { display: block; font-size: clamp(19px, 3vw, 26px); font-weight: 760; letter-spacing: -.02em; line-height: 1.22; }
body.gaming #g-result p, body.gaming .g-muted { color: var(--muted); font-size: 14px; margin-top: 8px; }
body.gaming #g-result ul { padding-left: 20px; color: var(--muted); margin-bottom: 0; }
body.gaming .g-inputs > p { margin-bottom: 12px; }
body.gaming .g-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.gaming .g-inputs label { display: grid; gap: 5px; align-content: start; font-weight: 660; font-size: 14px; }
body.gaming .g-inputs input, body.gaming .g-inputs select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #5b4579; color: var(--text); background: #100d1e; border-radius: 8px; padding: 8px 10px; }
body.gaming .g-inputs input::placeholder { color: #aca0c3; }
body.gaming .g-inputs input[type=file] { padding: 7px; }
body.gaming .g-inputs input::file-selector-button { padding: 4px 8px; border: 1px solid #7e60a2; border-radius: 5px; background: #2e1d49; color: #f1dcff; font: inherit; cursor: pointer; }
body.gaming .g-inputs form > button { margin-top: 15px; }
body.gaming .g-inputs form > p { margin-bottom: 14px; }
body.gaming .g-prices { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body.gaming .g-prices .g-btn { font-size: 13px; }
body.gaming #g-preview { display: block; width: 100%; height: auto; margin-top: 14px; background: #100c20; border-radius: 9px; }
body.gaming .g-explain h2:not(:first-child) { margin-top: 17px; }
body.gaming .g-explain h2 { font-size: 21px; }
body.gaming .g-explain p { margin: 6px 0 2px; color: var(--muted); }
body.gaming .g-related .g-grid { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 850px; }
body.gaming .g-notice { padding: 12px; margin-bottom: 14px; background: #2f213d; border-radius: 9px; }
body.gaming .g-generated { display: grid; gap: 7px; margin-top: 12px; }
body.gaming .g-generated > button { text-align: left; justify-content: space-between; padding: 8px 11px; }
body.gaming .g-idea { padding: 10px; border: 1px solid #503965; border-radius: 8px; }
body.gaming .g-idea > h3 { line-height: 1.2; font-size: 15px; }
body.gaming .g-idea > button { margin-top: 9px; }
body.gaming .g-copy-status { min-height: 1.5em; }
@media(max-width: 1020px) { body.gaming .g-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width: 730px) {
  body.gaming .g-wrap { width: calc(100% - 36px); }
  body.gaming .g-hero { grid-template-columns: minmax(0,1fr); padding: 25px; gap: 19px; }
  body.gaming .g-hero-img { object-position: 63% center; }
  body.gaming .g-hero-shade { background: linear-gradient(160deg,#120c27f8,#180e2bce 47%,#1b112f56); }
  body.gaming .g-status { max-width: 370px; }
  body.gaming .g-grid, body.gaming .g-related .g-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.gaming .g-workspace { grid-template-columns: minmax(0,1fr); }
}
@media(max-width: 420px) {
  body.gaming .g-wrap { width: calc(100% - 28px); }
  body.gaming .g-brand { font-size: 16px; gap: 5px; }
  body.gaming .g-brand > span { width: 25px; height: 25px; border-radius: 7px; }
  body.gaming .g-brand svg { width: 18px; height: 18px; }
  body.gaming .g-top nav { gap: 8px; justify-content: flex-end; }
  body.gaming .g-top nav a { font-size: 12px; }
  body.gaming .g-hero { margin-top: 15px; padding: 19px; border-radius: 16px; }
  body.gaming .g-hero h1 { font-size: 49px; }
  body.gaming .g-status { padding: 12px; }
  body.gaming .g-card { padding: 11px; }
  body.gaming .g-card strong { font-size: 14px; }
  body.gaming .g-card-desc { font-size: 12px; }
  body.gaming .g-fields { grid-template-columns: minmax(0,1fr); }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* v259: integration with shared SocialKit header/footer */
body.gaming #content h1, body.gaming #content h2, body.gaming #content h3 { font-family: Inter, "Segoe UI", system-ui, sans-serif; color: var(--text); }
body.gaming .g-disclaimer { margin: 30px auto 34px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; background: #120e20; }
body.gaming .g-disclaimer p { margin: 0; font-size: 13.5px; color: var(--muted); }
body.gaming .g-disclaimer strong { color: var(--text); }
body.gaming .g-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 26px; color: var(--muted); font-size: 14px; }
body.gaming .g-soon span { padding: 5px 11px; border: 1px dashed #4a3a68; border-radius: 999px; color: #bfb3d6; font-size: 13px; }
@media (max-width: 640px) { body.gaming .g-disclaimer { margin: 22px auto 26px; } }

/* Gaming navigation, workflow pages and result components. */
body.gaming .g-subnav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px clamp(5px, 2vw, 18px);
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}
body.gaming .g-subnav a,
body.gaming .g-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 5px 9px;
  color: #e2d3ef;
  font-weight: 670;
  line-height: 1.2;
  text-decoration: none;
  font-size: .875rem;
}
body.gaming .g-subnav a[aria-current], body.gaming .g-subnav a:hover,
body.gaming .g-jump a:hover {
  color: #ffe6fa;
  border-radius: 8px;
  background: #302045;
}
body.gaming .g-hero { margin-top: 18px; }
body.gaming .g-hero-copy { padding-right: 8px; }
body.gaming .g-editorial-block {
  margin: 26px 0;
  padding: clamp(17px, 3vw, 29px);
  border: 1px solid #3e2e55;
  border-radius: 18px;
  background: linear-gradient(140deg,#1b1529,#131021 70%);
  scroll-margin-top: 95px;
}
body.gaming .g-editorial-block h2 {
  font-size: clamp(21px, 3.3vw, 30px);
  line-height: 1.17;
  letter-spacing: -.025em;
  margin: 0 0 11px;
}
body.gaming .g-editorial-block p, body.gaming .g-editorial-block li {
  color: #d2c6e0;
  line-height: 1.62;
}
body.gaming .g-editorial-block p + p,
body.gaming .g-editorial-block li + li { margin-top: 8px; }
body.gaming .g-editorial-block ul, body.gaming .g-editorial-block ol {
  margin: .7rem 0 0;
  padding-left: 1.35rem;
}
body.gaming .g-editorial-block a { color: #f2c9ff; }
body.gaming .g-editorial-block a:hover { color: #fff; }
body.gaming .g-feature-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,225px),1fr));
}
body.gaming .g-feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #493761;
  border-radius: 12px;
  background: #241833;
}
body.gaming .g-feature h3 { margin: 0; font-size: 18px; line-height: 1.2; }
body.gaming .g-feature p { font-size: 14px; margin-bottom: 7px; }
body.gaming .g-feature a { margin-top: auto; font-size: 14px; font-weight: 720; }
body.gaming .g-page-hero {
  padding: clamp(24px, 5vw, 60px);
  border: 1px solid #543b6d;
  border-radius: 20px;
  background: radial-gradient(ellipse at 85% 15%,#543766 0%,transparent 52%),linear-gradient(135deg,#221638,#170f27);
}
body.gaming .g-page-hero h1 { margin: 0 0 12px; font-size: clamp(35px,6vw,67px); line-height: 1.02; letter-spacing: -.057em; }
body.gaming .g-page-hero p { color: #e4d3ef; max-width: 660px; }
body.gaming .g-editorial-body { max-width: 1030px; margin: 0 auto 38px; }
body.gaming .g-search {
  display: grid;
  gap: 6px;
  max-width: 450px;
  margin: 0 0 13px;
  color: #eee2ff;
  font-weight: 700;
}
body.gaming .g-editorial-body > .g-search { margin-top: 24px; }
body.gaming .g-search input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #654780;
  border-radius: 9px;
  background: #1b1428;
  color: #fff;
}
body.gaming .g-search input::placeholder { color: #c1acd4; }
body.gaming .g-editorial-block .g-answers {
  max-width: none;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
}
body.gaming .g-answers details summary { min-height: 43px; }
body.gaming .g-table {
  overflow: auto;
  margin: 12px 0;
  border: 1px solid #523a6b;
  border-radius: 11px;
  scrollbar-color: #9273ae #21182c;
}
body.gaming .g-table table { width: 100%; border-collapse: collapse; min-width: 510px; text-align: start; }
body.gaming .g-table th, body.gaming .g-table td { padding: 11px 13px; border-bottom: 1px solid #433354; text-align: start; }
body.gaming .g-table th { background: #261b3b; color: #fff1ff; }
body.gaming .g-table td { color: #dbcce8; }
body.gaming .g-table tr:last-child td { border-bottom: 0; }
body.gaming .g-jump { display: flex; gap: 6px 14px; flex-wrap: wrap; margin: 8px 0; }
body.gaming .g-workspace { gap: 16px; }
body.gaming .g-inputs form fieldset {
  min-inline-size: 0;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #4e3867;
  border-radius: 10px;
}
body.gaming .g-controls legend { padding-inline: 5px; color: #edcffb; font-size: .89rem; font-weight: 720; }
body.gaming .g-advanced {
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid #4e3867;
  border-radius: 10px;
}
body.gaming .g-advanced summary { cursor: pointer; color: #edcffb; font-size: .9rem; font-weight: 720; }
body.gaming .g-advanced .g-fields { padding-top: 12px; }
body.gaming .g-inputs .g-check { display: flex; align-items: center; align-self: end; min-height: 44px; }
body.gaming .g-inputs input[type=checkbox] { width: 18px; min-height: 18px; accent-color: #eda8f8; }
body.gaming .g-inputs input[type=range] { padding-inline: 0; accent-color: #eda8f8; }
body.gaming .g-result > #g-result { display: flow-root; }
body.gaming .g-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,136px),1fr));
  gap: 8px;
  margin: 13px 0 0;
}
body.gaming .g-metrics > div {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #523a69;
  border-radius: 9px;
  background: #211633;
}
body.gaming .g-metrics dt { color: #d7bcf0; font-size: .79rem; }
body.gaming .g-metrics dd { margin: 2px 0 0; color: #f8f2ff; font-weight: 760; font-size: .91rem; overflow-wrap: anywhere; }
body.gaming .g-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 13px 0 3px;
}
body.gaming .g-report-actions .g-btn { min-height: 40px; padding: 7px 10px; font-size: .83rem; }
body.gaming button:disabled { cursor: default; opacity: .63; }
body.gaming .g-result-link { display: inline-block; margin-top: 11px; color: #f4d0ff; font-weight: 700; font-size: .87rem; }
body.gaming .g-name-row {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid #513a67;
  border-radius: 9px;
}
body.gaming .g-name-row strong { overflow-wrap: anywhere; }
body.gaming .g-name-row button { padding: 3px 7px; min-height: 38px; font-size: .8rem; }
body.gaming .g-name-row button[aria-pressed=true] { background: #59356d; border-color: #d691ef; }
body.gaming .g-preview-wrap { position: relative; width: min(100%,var(--preview-width,100%)); margin: 12px auto 0; }
body.gaming .g-preview-wrap #g-preview { margin: 0; }
body.gaming .g-safe-overlay {
  position: absolute;
  inset: 8%;
  pointer-events: none;
  border: 2px dashed #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #111;
}
body.gaming .g-resource-footer {
  display: grid;
  gap: 16px 22px;
  grid-template-columns: repeat(4,minmax(0,1fr));
  padding: clamp(15px,3vw,26px);
  margin: 18px auto 33px;
  border: 1px solid #493761;
  border-radius: 15px;
  background: #161026;
}
body.gaming .g-resource-footer h2 { margin: 0 0 6px; font-size: .97rem; color: #f9eaff; }
body.gaming .g-resource-footer nav a { display: block; padding-block: 4px; font-size: .83rem; color: #e2cff2; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  body.gaming .g-resource-footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.gaming .g-subnav { gap: 1px 2px; }
  body.gaming .g-subnav a { padding-inline: 6px; min-height: 40px; font-size: .81rem; }
  body.gaming .g-result-link { display: inline-flex; align-items: center; min-height: 42px; }
}
/* v3 (21 Nov 2026): icon fix + advanced tool features */
body.gaming .g-icon { padding: 0; border: 0; box-shadow: none; }
body.gaming .g-inputs textarea { width: 100%; min-height: 96px; border: 1px solid #5b4579; color: var(--text); background: #100d1e; border-radius: 8px; padding: 8px 10px; font: inherit; resize: vertical; }
body.gaming .g-inputs textarea::placeholder { color: #aca0c3; }
body.gaming .g-hint { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
body.gaming .g-bar { position: relative; display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #2b2042; margin: 12px 0 6px; border: 1px solid #49335f; }
body.gaming .g-bar > span { display: block; height: 100%; }
body.gaming .g-bar .used { background: #6b5a86; }
body.gaming .g-bar .game { background: linear-gradient(90deg,#e58cf7,#a78bfa); }
body.gaming .g-bar .over { background: repeating-linear-gradient(45deg,#ff8f8f,#ff8f8f 6px,#c74b5b 6px,#c74b5b 12px); }
body.gaming .g-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
body.gaming .g-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
body.gaming .g-mini { width: 100%; border-collapse: collapse; font-size: 13px; margin: 10px 0; }
body.gaming .g-mini th, body.gaming .g-mini td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #3b2c52; }
body.gaming .g-mini th { color: #d7bcf0; font-weight: 700; }
body.gaming .g-mini tr.is-you td { color: #fff; font-weight: 700; background: #2c1f45; }
body.gaming .g-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #2a3b2f; color: #b8f5c9; margin-left: 6px; }
body.gaming .g-tag.warn { background: #45261f; color: #ffcfae; }
body.gaming .g-name-row small { color: var(--muted); font-size: 12px; }
body.gaming .g-deep { margin: 0 0 22px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg,#17122a,var(--panel)); }
body.gaming .g-deep h2 { font-size: clamp(22px,2.6vw,28px); letter-spacing: -.03em; margin-bottom: 10px; }
body.gaming .g-deep h3 { font-size: 17px; margin: 18px 0 6px; color: #f3dcff; }
body.gaming .g-deep p, body.gaming .g-deep li { color: #d6cfe6; line-height: 1.65; }
body.gaming .g-deep p { margin-bottom: 10px; }
body.gaming .g-deep ul, body.gaming .g-deep ol { padding-left: 20px; margin: 0 0 12px; }
body.gaming .g-deep li { margin-bottom: 6px; }
body.gaming .g-deep table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 14px; }
body.gaming .g-deep th, body.gaming .g-deep td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #3b2c52; vertical-align: top; }
body.gaming .g-deep th { color: #ecd6fa; background: #20172f; }
body.gaming .g-deep .g-tblwrap { overflow-x: auto; }
body.gaming .g-deep a { color: #f3caff; }
