:root {
  /* Roblox's Foundation design system (the React parts of roblox.com), the same values the extension uses. */
  --bg: #191a1f;
  --alt: #121317;
  --head: rgba(25, 26, 31, .88);
  --card: #202227;
  --raised: #2b2d33;
  --inset: #111216;
  --line: rgba(208, 217, 251, .12);
  --line-2: rgba(208, 217, 251, .24);
  --text: #f7f7f8;
  --text-2: #d5d7dd;
  --muted: #bcbec8;
  --faint: #8f929c;
  --primary: #335fff;
  --primary-ink: #f7f7f8;
  --primary-soft: #a9bdff;
  --secondary: rgba(208, 217, 251, .12);
  --shift: rgba(208, 217, 251, .08);
  --shift-2: rgba(208, 217, 251, .18);
  --hover: rgba(208, 217, 251, .06);
  /* Blue tints for containers, icons and tags that should catch the eye. */
  --tint: color-mix(in srgb, var(--primary) 8%, var(--card));
  --tint-icon: color-mix(in srgb, var(--primary) 18%, transparent);
  --tint-pill: color-mix(in srgb, var(--primary) 22%, transparent);
  --accent: #f7f7f8;
  --accent-ink: #191a1f;
  --alert: #df281f;
  --alert-soft: #ff7b73;
  --success: #3fc679;
  /* Changelog types, from Roblox's system colors: emphasis blue, success green and warning yellow. */
  --new: var(--primary);
  --fix: var(--success);
  --imp: #f2ba2a;
  --type-ink: #111216;
  --r: 12px;
  --r-sm: 8px;
  --r-lg: 16px;
  --shadow: 0 12px 32px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.3, .7, .4, 1);
  --font: "Builder Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  font: 16px/1.65 var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

header.site {
  position: sticky; top: 0; z-index: 100;
  background: var(--head);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background-color .3s;
}
header.site.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
header.site nav { display: flex; align-items: center; gap: 28px; height: 64px; }

.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; font-size: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.logo img { width: 30px; height: 30px; }

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; border-radius: var(--r-sm); transition: background-color .15s; }
.menu-btn:hover { background: var(--secondary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: var(--r-sm); border: 0;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: box-shadow .15s, background-color .2s, color .2s;
}
/* Like Roblox's buttons, hover lightens whatever color the button already is. */
.btn:hover { box-shadow: inset 0 0 0 999px var(--secondary); }
.btn:active { box-shadow: inset 0 0 0 999px var(--shift-2); }
.btn .icon { font-size: 20px; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-outline { background: var(--secondary); color: var(--text); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; }
.btn-sm .icon { font-size: 16px; }

main > section { padding: 72px 0; }
.alt { background: var(--alt); transition: background-color .3s; }
.section-title { text-align: center; font-size: 34px; line-height: 1.2; font-weight: 700; margin-bottom: 12px; }
.section-subtitle { text-align: center; font-size: 17px; color: var(--muted); max-width: 600px; margin: 0 auto 36px; }

.hero { padding: 80px 0 64px; text-align: center; background: radial-gradient(60% 70% at 50% 0%, rgba(51, 95, 255, .14), transparent 70%); }
.hero h1 {
  font-size: 50px; line-height: 1.12; font-weight: 700; letter-spacing: -.5px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--text) 30%, var(--muted) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.notice {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: fit-content; max-width: 760px; margin: 40px auto 0; padding: 10px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 14px; color: var(--muted); text-align: left;
}
.notice .icon { font-size: 18px; color: var(--muted); }
.notice strong { color: var(--text); }
.hero .notice p { margin: 0; font-size: 14px; color: inherit; max-width: none; }

.demo-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 20px; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); }
.seg button { border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 600; padding: 8px 22px; border-radius: 6px; cursor: pointer; transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.mode-desc { text-align: center; color: var(--muted); font-size: 15px; min-height: 1.65em; margin-bottom: 28px; }
.mode-desc strong { color: var(--text); }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; transition: background-color .3s, border-color .3s; }
.panel-title { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.panel-title span:last-child { color: var(--faint); font-weight: 500; }
.games { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.game {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  background: var(--inset); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: opacity .3s, filter .3s, border-color .2s, background-color .3s;
}
.game img { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; flex: none; }
.game-tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--secondary); font-size: 12px; font-weight: 600; color: var(--muted); }
.game.filtered { opacity: .4; filter: grayscale(1); }
button.game { width: 100%; text-align: left; cursor: pointer; }
button.game:hover { opacity: .6; border-color: var(--line-2); }
.games-after { gap: 0; }
.collapse { display: grid; grid-template-rows: 1fr; margin-bottom: 10px; transition: grid-template-rows .35s ease, opacity .25s ease, margin-bottom .35s ease; }
.collapse:last-child { margin-bottom: 0; }
.slot { min-height: 0; overflow: hidden; padding: 2px; margin: -2px; }
.hide-mode .collapse.is-filtered { grid-template-rows: 0fr; opacity: 0; margin-bottom: 0; }
.hide-mode .collapse.is-filtered .game { visibility: hidden; transition: visibility 0s .35s; }

.modal { margin: auto; width: min(480px, calc(100vw - 40px)); max-height: calc(100vh - 40px); border: 1px solid var(--line); padding: 0; background: var(--bg); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow); opacity: 0; transform: scale(.96); transition: opacity .18s, transform .18s var(--ease), overlay .18s allow-discrete, display .18s allow-discrete; }
.modal[open] { opacity: 1; transform: none; }
@starting-style { .modal[open] { opacity: 0; transform: scale(.96); } }
.modal::backdrop { background: rgba(10, 10, 14, 0); transition: background-color .18s, overlay .18s allow-discrete, display .18s allow-discrete; }
.modal[open]::backdrop { background: rgba(10, 10, 14, .75); }
@starting-style { .modal[open]::backdrop { background: rgba(10, 10, 14, 0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 0; }
.modal-header h2 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.close-btn { flex: none; background: none; border: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s; }
.close-btn:hover { background: var(--secondary); color: var(--text); }
.modal-body { padding: 12px 24px 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.modal-body p + p, .modal-body .tags + p { margin-top: 12px; }
.modal-body strong { color: var(--text); }
.modal-body .label { color: var(--muted); font-size: 13px; margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tags span { background: var(--secondary); color: var(--text); padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.modal-footer { display: flex; gap: 12px; padding: 20px 24px 24px; }
.modal-footer .btn { flex: 1; height: 40px; padding: 0 16px; font-size: 14px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .25s, background-color .3s; }
.card:hover { border-color: var(--line-2); }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--tint-icon); color: var(--primary-soft); font-size: 21px; margin-bottom: 16px; }
.card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; max-width: 960px; margin: 40px auto 0; }
.steps li { text-align: center; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); font-size: 22px; font-weight: 700; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 300px; margin: 0 auto; }
.steps a { color: var(--text); }

.updates { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.updates h2 { font-size: 34px; line-height: 1.2; margin-bottom: 14px; }
.updates p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.window { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--alt); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--shift-2); }
.window-bar time { margin-left: auto; font-weight: 500; color: var(--faint); }
.window-body { list-style: none; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.window-body li { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--r-sm); background: var(--hover); font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 22px; margin-top: 1px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.badge-new, .count-new { background: var(--new); color: var(--primary-ink); }
.badge-fix, .count-fix { background: var(--fix); color: var(--type-ink); }
.badge-improvement, .count-improvement { background: var(--imp); color: var(--type-ink); }

.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s, background-color .15s; interpolate-size: allow-keywords; }
/* Hovering a question lightens its whole card, open or closed. */
.faq details:has(> summary:hover) { background: color-mix(in srgb, var(--text) 4%, var(--card)); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer a { color: var(--text); }

.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { font-size: 16px; stroke-width: 2.6; color: var(--success); }

.closer {
  display: flex; align-items: center; gap: 28px; padding: 40px 44px;
  background: color-mix(in srgb, var(--primary) 10%, var(--card)); border-radius: var(--r-lg);
}
.closer img { width: 88px; height: 88px; flex: none; }
.closer-text { flex: 1; }
.closer h2 { font-size: 32px; line-height: 1.15; margin-bottom: 8px; }
.closer p { font-size: 17px; color: var(--muted); max-width: 520px; }
.closer .btn { background: var(--primary); color: var(--primary-ink); height: 60px; padding: 0 30px; font-size: 17px; }

footer.site { background: var(--alt); border-top: 1px solid var(--line); padding: 52px 0 28px; transition: background-color .3s; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { font-size: 18px; margin-bottom: 14px; display: inline-flex; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 340px; margin-bottom: 18px; }
.footer-brand strong { color: var(--text); }
.footer-col h2 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--secondary); border-radius: 50%; color: var(--muted); font-size: 18px; transition: color .15s, background-color .15s; }
.social a:hover { color: var(--text); background: var(--shift-2); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; color: var(--faint); font-size: 13px; }
.footer-bottom p { max-width: 680px; margin: 0 auto; }

.page-header { padding: 64px 0 40px; text-align: center; }
main > section.tight { padding-top: 8px; }
.not-found { padding-bottom: 120px; }
.page-header h1 { font-size: 46px; line-height: 1.15; margin-bottom: 14px; }
.page-header p { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.page-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; margin-top: 20px; color: var(--muted); font-size: 15px; }

.stats { display: flex; justify-content: center; gap: 48px; margin-top: 28px; }
.stat strong { display: block; font-size: 32px; line-height: 1.2; }
.stat span { font-size: 14px; color: var(--muted); }

.changelog-grid { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
.changelog-card { display: block; text-decoration: none; color: inherit; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; cursor: pointer; transition: border-color .25s, background-color .3s; }
.changelog-card:hover { border-color: var(--muted); }
.changelog-card h2 { font-size: 23px; line-height: 1.25; }
.changelog-card .date { color: var(--muted); font-size: 14px; margin-top: 2px; }
.changelog-card .summary { color: var(--text-2); font-size: 16px; margin: 12px 0 16px; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card-foot .more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.card-foot .more .icon { transition: transform .2s; }
.changelog-card:hover .more .icon { transform: translateX(4px); }
.count { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1; }
.state { text-align: center; color: var(--muted); padding: 48px 20px; }

.log-modal { width: min(720px, calc(100vw - 32px)); display: none; flex-direction: column; }
.log-modal[open] { display: flex; }
.log-modal .modal-header { align-items: flex-start; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); }
.log-modal .modal-header h2 { font-size: 26px; font-weight: 700; }
.log-modal .date { display: flex; align-items: center; gap: 7px; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 600; }
.log-modal .date .icon { font-size: 15px; }
.log-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 26px; border-bottom: 1px solid var(--line); }
.log-filters-label { margin-right: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.log-filters button { display: inline-flex; align-items: center; gap: 6px; border: 0; height: 34px; padding: 0 14px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.log-filters button .icon { font-size: 14px; stroke-width: 2.4; }
.log-filters button:hover { box-shadow: inset 0 0 0 999px var(--hover); }
/* Each filter is tinted with its type's color, and fills with it when selected. */
.log-filters button[data-type="all"] { background: var(--secondary); color: var(--text); }
.log-filters button[data-type="new"] { background: color-mix(in srgb, var(--new) 22%, transparent); color: var(--primary-soft); }
.log-filters button[data-type="fix"] { background: color-mix(in srgb, var(--fix) 20%, transparent); color: var(--fix); }
.log-filters button[data-type="improvement"] { background: color-mix(in srgb, var(--imp) 20%, transparent); color: var(--imp); }
.log-filters button[aria-pressed="true"][data-type="all"] { background: var(--accent); color: var(--accent-ink); }
.log-filters button[aria-pressed="true"][data-type="new"] { background: var(--new); color: var(--primary-ink); }
.log-filters button[aria-pressed="true"][data-type="fix"] { background: var(--fix); color: var(--type-ink); }
.log-filters button[aria-pressed="true"][data-type="improvement"] { background: var(--imp); color: var(--type-ink); }
.log-body { padding: 22px 26px; overflow-y: auto; flex: 1; }
.log-body img { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 20px; }
.changes { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.changes li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--hover); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 15px; line-height: 1.55; color: var(--text-2); }
.change-icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; font-size: 18px; }
.change-icon .icon { stroke-width: 2.4; }
.change-text { min-width: 0; }
.change-type { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.change-text p { color: var(--text); font-weight: 500; }
.change-new .change-icon { background: color-mix(in srgb, var(--new) 22%, transparent); color: var(--primary-soft); }
.change-new .change-type { color: var(--primary-soft); }
.change-fix .change-icon { background: color-mix(in srgb, var(--fix) 20%, transparent); color: var(--fix); }
.change-fix .change-type { color: var(--fix); }
.change-improvement .change-icon { background: color-mix(in srgb, var(--imp) 20%, transparent); color: var(--imp); }
.change-improvement .change-type { color: var(--imp); }
.changes li[hidden] { display: none; }
.log-modal .modal-footer { flex-direction: column; align-items: center; gap: 12px; padding: 18px; border-top: 1px solid var(--line); }
.log-modal .modal-footer .btn { flex: none; min-width: 120px; }
.log-modal .modal-footer p { color: var(--muted); font-size: 14px; text-align: center; }
.log-modal .modal-footer strong { color: var(--text); }

.policy { max-width: 800px; margin: 0 auto; }
.guide-layout .policy { margin: 0; min-width: 0; }
.policy-section { margin-bottom: 44px; scroll-margin-top: 12px; }
.contact { scroll-margin-top: 12px; }
.policy-section h2 { font-size: 26px; line-height: 1.3; margin-bottom: 14px; }
.policy-section p, .policy-section li { color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.policy-section p { margin-bottom: 14px; }
.policy-section ul { list-style: none; margin: 14px 0; }
.policy-section li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.policy-section li::before { content: "•"; position: absolute; left: 10px; color: var(--text); font-weight: 700; }
.policy-section li ul { margin: 8px 0 0; }
.policy-section strong { color: var(--text); }
.highlight { background: var(--tint); border-radius: var(--r-sm); padding: 20px; margin: 20px 0; }
.highlight p { margin: 0; }
.contact { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; text-align: center; margin-top: 56px; }
.contact h2 { font-size: 24px; margin-bottom: 12px; }
.contact p { color: var(--muted); margin-bottom: 20px; }

.versions { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.version { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.version.current { border-color: transparent; background: var(--tint); }
.version-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.version h2 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.version .sub { color: var(--muted); font-size: 14px; }
.pill { background: var(--tint-pill); color: var(--primary-soft); padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.version h3 { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.version ul { list-style: none; }
.version li { position: relative; padding-left: 20px; color: var(--text-2); margin-bottom: 6px; }
.version li::before { content: "•"; position: absolute; left: 6px; }

.help-card { display: flex; align-items: center; gap: 20px; max-width: 820px; margin: 24px auto 0; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.help-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--tint-icon); color: var(--primary-soft); font-size: 24px; }
.help-text { flex: 1; }
.help-text h3 { font-size: 18px; margin-bottom: 4px; }
.help-text p { color: var(--muted); font-size: 15px; }
.help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.help-actions .btn { height: 46px; padding: 0 20px; font-size: 15px; }
.help-actions .icon { font-size: 18px; }

.steps-more { text-align: center; margin-top: 40px; }
.steps-more .icon { font-size: 18px; }

.page-header .installed { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 24px auto 0; text-align: left; padding: 12px 18px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--success) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--success) 35%, transparent); color: var(--text-2); font-size: 15px; line-height: 1.5; }
.installed[hidden] { display: none; }
.installed .icon { color: var(--success); font-size: 18px; stroke-width: 2.6; }

.guide-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; }
.toc-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); border-left-color: var(--accent); }

.guide { max-width: 760px; }
.guide-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.guide-section h2 { font-size: 28px; line-height: 1.25; margin-bottom: 12px; }
.guide-section > p { color: var(--text-2); font-size: 17px; margin-bottom: 16px; }
.guide-section strong { color: var(--text); }
.guide .icon { display: inline-block; vertical-align: -3px; font-size: 18px; color: var(--text); }
kbd { font: 600 .88em/1 var(--font); background: var(--raised); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--text); }

.guide-steps { list-style: none; counter-reset: gs; display: flex; flex-direction: column; gap: 12px; margin: 18px 0 24px; }
.guide-steps li { counter-increment: gs; position: relative; padding-left: 42px; color: var(--text-2); font-size: 16.5px; line-height: 1.6; }
.guide-steps li::before { content: counter(gs); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--secondary); color: var(--text); font-size: 14px; font-weight: 700; }
.guide-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.guide-list li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 16.5px; }
.guide-list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }

.defs { display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--line); }
.defs dt, .defs dd { padding: 14px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 700; }
.defs dd { color: var(--text-2); font-size: 16px; }

.tip { margin-top: 24px; padding: 20px 22px; background: var(--tint); border-radius: var(--r); }
.tip h3 { font-size: 16px; margin-bottom: 10px; }
.tip ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tip li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 15.5px; }
.tip li::before { content: "•"; position: absolute; left: 4px; color: var(--muted); }
.tip + p { margin-top: 24px; }

.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 20px; }
.mode-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.mode-card h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mode-card .game { background: var(--inset); margin-bottom: 14px; }
.mode-card p { color: var(--muted); font-size: 15px; }
.game-gone { min-height: 72px; justify-content: center; border-style: dashed; color: var(--faint); font-size: 14px; }

.mock { margin: 8px 0 4px; font-family: "Builder Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.mock .icon { color: inherit; font-size: 16px; vertical-align: middle; }
.mock-focus { box-shadow: 0 0 0 2px var(--primary); border-radius: 50%; }
.mock-chrome { max-width: 520px; background: #202124; border: 1px solid #3c4043; border-radius: 12px; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #35363a; }
.mock-url { flex: 1; background: #202124; color: #bdc1c6; border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.mock-ext { width: 28px; height: 28px; display: grid; place-items: center; color: #e8eaed; }
.mock-avatar { width: 24px; height: 24px; border-radius: 50%; background: #8ab4f8; }
.mock-menu { margin: 10px 14px 14px auto; width: 270px; background: #292a2d; border-radius: 8px; padding: 10px 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.mock-menu > p { padding: 0 14px 8px; color: #e8eaed; font-size: 14px; font-weight: 600; }
.mock-menu-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgba(255, 255, 255, .06); color: #e8eaed; font-size: 13.5px; }
.mock-menu-row span:nth-child(2) { flex: 1; }
.mock-pin { width: 26px; height: 26px; display: grid; place-items: center; color: #8ab4f8; }

.mock-popup { width: 100%; max-width: 380px; background: #191a1f; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: #f7f7f8; font-size: 13px; line-height: 1.4; box-shadow: var(--shadow); }
.mock-popup .icon { width: 12px; height: 12px; color: #bcbec8; }
.mp-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 8px; font-size: 15px; font-weight: 700; }
.mp-brand { display: flex; align-items: center; gap: 8px; }
.mp-brand img { width: 22px; height: 22px; }
.mp-guide { padding: 4px 10px; background: rgba(208, 217, 251, .12); border-radius: 8px; font-size: 12px; font-weight: 600; }
.mp-tabs { display: flex; gap: 18px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.mp-tabs span { padding: 8px 0 7px; color: #8f929c; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mp-tabs .on { color: #f7f7f8; border-bottom-color: #f7f7f8; }
.mp-body { padding: 14px; }
.mp-add { display: flex; gap: 6px; }
.mp-input, .mp-select { display: flex; align-items: center; height: 32px; padding: 0 10px; background: #111216; border: 1px solid var(--line); border-radius: 8px; }
.mp-input { flex: 1; color: #8f929c; }
.mp-select { gap: 8px; font-weight: 600; }
.mp-btn { display: flex; align-items: center; height: 32px; padding: 0 14px; background: #335fff; border-radius: 8px; font-weight: 600; }
.mp-list-head { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 8px; }
.mp-title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.mp-count { padding: 0 6px; background: rgba(208, 217, 251, .12); border-radius: 999px; font-size: 11px; font-weight: 600; color: #d5d7dd; }
.mp-clear { color: #bcbec8; font-size: 12px; font-weight: 600; }
.mp-list { background: #202227; border: 1px solid var(--line); border-radius: 8px; }
.mp-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mp-item:last-child { border-bottom: 0; }
.mp-type { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; background: rgba(223, 40, 31, .18); color: #ff7b73; font-size: 10.5px; font-weight: 700; }
.mp-type .icon { color: inherit; width: 9px; height: 9px; }
.mp-word { flex: 1; font-weight: 500; }
.mp-x { color: #8f929c; font-size: 16px; line-height: 1; }

/* The banner the extension adds to a filtered game's page, in Roblox's dark theme. */
.mock-banner { position: relative; display: flex; align-items: flex-start; gap: 12px; max-width: 560px; margin-top: 18px; padding: 14px 48px 14px 16px; background: #202227; border: 1px solid var(--line); border-radius: 8px; color: #d5d7dd; font-size: 14px; line-height: 1.5; }
.mb-icon { font-size: 20px; color: #fff; line-height: 1.2; }
.mock-banner div { flex: 1; }
.mock-banner strong { display: block; color: #f7f7f8; font-size: 16px; }
.mock-banner p { margin-top: 2px; }
.mb-tag { padding: 1px 8px; background: rgba(208, 217, 251, .12); color: #f7f7f8; border-radius: 4px; font-size: 12px; font-weight: 600; }
.mb-x { position: absolute; top: 10px; right: 14px; color: #bcbec8; font-size: 26px; line-height: 1; }

.faq-tight { max-width: none; }
.guide-end { text-align: center; padding: 8px 0 24px; }
.guide-end h2 { font-size: 30px; margin-bottom: 8px; }
.guide-end p { color: var(--muted); font-size: 17px; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.load { animation: rise .7s ease both; }
.load-2 { animation-delay: .08s; }
.load-3 { animation-delay: .16s; }
.load-4 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .updates { grid-template-columns: 1fr; gap: 32px; }
  .guide-layout { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}

@media (max-width: 780px) {
  header.site nav { height: 58px; gap: 12px; }
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--head); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: block; padding: 12px 0; font-size: 16px; }
  .nav-install { display: none; }
  main > section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 17px; }
  .section-title, .updates h2 { font-size: 28px; }
  .showcase { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .page-header { padding: 44px 0 28px; }
  .page-header h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .closer { flex-direction: column; text-align: center; padding: 36px 24px; gap: 20px; }
  .closer h2 { font-size: 26px; }
  .closer p { margin: 0 auto; }
  .log-modal .modal-header, .log-filters, .log-body { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .panel { padding: 16px; }
  .notice { align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .stats { gap: 32px; }
  .contact { padding: 24px; }
  .policy-section h2 { font-size: 22px; }
  .mode-cards { grid-template-columns: 1fr; }
  .help-card { flex-direction: column; align-items: flex-start; }
  .help-actions, .help-actions .btn { width: 100%; }
  .defs { grid-template-columns: 1fr; }
  .defs dt { padding-bottom: 0; border-bottom: 0; }
  .defs dd { padding-top: 4px; }
  .guide-section h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
