/* Shared look for the Chat Drop guide pages (/obs-chat-game/, /twitch-raid-game/), matching the homepage. */
:root {
  --sky: #5aa9ff; --ink: #14182b; --card: #ffffff; --muted: #5b6475;
  --gold: #ffd60a; --leaf: #2d6a4f; --line: #e3e8f2; --accent: #8338ec;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Nunito", system-ui, sans-serif; color: var(--ink); line-height: 1.6; background: linear-gradient(#5aa9ff 0, #a8dcff 420px, #eef6ff 760px); min-height: 100vh; }
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.crumbs { padding: 18px 0 0; font-weight: 800; font-size: 14px; }
.crumbs a { color: #fff; text-decoration: none; text-shadow: 0 1px 4px rgba(0,0,0,.25); }
header { text-align: center; padding: 26px 0 18px; color: #fff; }
h1 { font-family: "Lilita One", sans-serif; font-weight: 400; font-size: clamp(34px, 6.5vw, 58px); line-height: 1.1; margin: 0; letter-spacing: .5px; text-shadow: 0 3px 0 #1b4332, 0 8px 18px rgba(0,0,0,.25); }
header p { font-size: clamp(17px, 2.4vw, 21px); font-weight: 700; margin: 12px auto 0; max-width: 640px; text-shadow: 0 2px 6px rgba(0,0,0,.25); }
section.card { background: var(--card); border-radius: 22px; padding: 26px; margin: 22px 0; box-shadow: 0 8px 30px rgba(20,24,43,.1); }
h2 { font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 30px; line-height: 1.15; margin: 0 0 8px; }
h3 { font-size: 19px; margin: 20px 0 4px; }
p, li { font-size: 17px; }
ol.steps { padding-left: 22px; }
ol.steps li { margin: 8px 0; }
code { background: #f1ecff; color: #3b1a7a; padding: 1px 6px; border-radius: 6px; font-size: .95em; }
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 16px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 800; background: #f6f8fc; }
.shot { margin: 14px 0 6px; }
.shot img { width: 100%; height: auto; display: block; border-radius: 16px; border: 5px solid #fff; box-shadow: 0 10px 30px rgba(20,24,43,.18); }
.shot figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); font-weight: 700; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid .shot { margin: 0; }
.tip { background: #fff8d6; border-radius: 14px; padding: 12px 16px; font-weight: 700; margin: 14px 0; }
.cta { text-align: center; }
a.btn { display: inline-block; font-weight: 800; text-decoration: none; border-radius: 14px; padding: 14px 24px; background: var(--accent); color: #fff; box-shadow: 0 4px 0 #5a1fb0; font-size: 18px; }
a.btn:hover { background: #9a5cf5; }
.faq h3 { margin-top: 18px; }
.faq p { margin: 2px 0 10px; }
.more { display: flex; flex-wrap: wrap; gap: 10px; }
.more a { background: #eef1f7; color: var(--ink); text-decoration: none; font-weight: 800; padding: 10px 14px; border-radius: 12px; }
footer { text-align: center; color: var(--muted); font-weight: 700; font-size: 14px; padding: 10px 0 40px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } section.card { padding: 20px; } th, td { padding: 8px 6px; font-size: 15px; } }

/* ---- the toggle button (assets/theme.js labels it), top-right */
.themetoggle { position: absolute; top: 14px; right: 16px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
               border: 2px solid rgba(255,255,255,.6); background: rgba(20,24,43,.35); color: #fff; font: 800 14px "Nunito", system-ui, sans-serif; cursor: pointer; }
.themetoggle:hover { background: rgba(20,24,43,.55); }

/* ---- dark mode, in teky.tv's colours */
:root[data-theme="dark"] { color-scheme: dark; --ink: #FFFFFF; --card: #0E1660; --muted: #B9C3FF; --line: #24308F; --accent: #3FD0FF; --gold: #FFC83D; --leaf: #5FD98F; }
:root[data-theme="dark"] body { background: radial-gradient(1200px 600px at 50% -120px, #1D4FD1 0, transparent 70%), linear-gradient(#0E1660 0, #070A2E 700px); background-color: #070A2E; }
:root[data-theme="dark"] h1 { text-shadow: 0 3px 0 #3A1AA8, 0 8px 18px rgba(0,0,0,.45); }
:root[data-theme="dark"] .themetoggle { background: #0E1660; border-color: #24308F; }
:root[data-theme="dark"] .themetoggle:hover { background: #131D78; }
:root[data-theme="dark"] code { background: #070A2E; color: #fff; }
:root[data-theme="dark"] section.card { box-shadow: 0 0 0 2px var(--line), 0 10px 34px rgba(0,0,0,.45); }
:root[data-theme="dark"] th { background: #131D78; }
:root[data-theme="dark"] .shot img { border-color: #24308F; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
:root[data-theme="dark"] .tip { background: #2E2A10; color: #FFF3C4; }
:root[data-theme="dark"] a.btn { background: #7C3AED; box-shadow: 0 4px 0 #3A1AA8; color: #fff; }
:root[data-theme="dark"] a.btn:hover { background: #8B5CF6; }
:root[data-theme="dark"] .more a { background: #131D78; color: #fff; }
