/* Selected accent is inherited by every classic component. */
:root { --ui-accent:#23913f; --ui-accent-hover:#1c7833; --ui-accent-rgb:35,145,63; }
html[data-accent="teal"],html:not([data-accent]) { --ui-accent:#0ea5a4; --ui-accent-hover:#0b9291; --ui-accent-rgb:14,165,164; }
html[data-accent="green"] { --ui-accent:#23913f; --ui-accent-hover:#1c7833; --ui-accent-rgb:35,145,63; }
html[data-accent="blue"] { --ui-accent:#2f7de1; --ui-accent-hover:#2668c0; --ui-accent-rgb:47,125,225; }
html[data-accent="indigo"] { --ui-accent:#4f5fd6; --ui-accent-hover:#3f4db8; --ui-accent-rgb:79,95,214; }
html[data-accent="purple"] { --ui-accent:#7c4ddb; --ui-accent-hover:#663bbf; --ui-accent-rgb:124,77,219; }
html[data-accent="pink"] { --ui-accent:#d63a73; --ui-accent-hover:#b92e60; --ui-accent-rgb:214,58,115; }
html[data-accent="red"] { --ui-accent:#e5484d; --ui-accent-hover:#c93a3f; --ui-accent-rgb:229,72,77; }
html[data-accent="orange"] { --ui-accent:#e0770f; --ui-accent-hover:#c1650c; --ui-accent-rgb:224,119,15; }
/* Shared TROVUZ directory style. Layouts and functional markup stay page-specific. */
:root { --classic-orange:#ee971f; --classic-green:var(--ui-accent); --classic-green-hover:var(--ui-accent-hover); }
body.trovuz-classic {
  --teal:var(--ui-accent); --teal-dark:var(--ui-accent-hover); --teal-rgb:var(--ui-accent-rgb);
  --shadow:0 3px 14px #00000008; --shadow-hover:0 6px 20px #00000012;
  --bg:#f1f3f5; --card:#fff; --ink:#252d37; --muted:#657180; --line:#dce1e6;
  --hover-bg:#f5f7f9; --field-bg:#fff; --field-ink:#252d37;
  --panel:var(--card); --page:var(--bg); --text:var(--ink); --border:var(--line);
  background:var(--bg); color:var(--ink); font-size:14px;
}
html[data-theme="dark"] body.trovuz-classic {
  --bg:#0f141c; --card:#1a212c; --ink:#e8ecf2; --muted:#9aa5b5; --line:#2b3441;
  --hover-bg:#212a37; --field-bg:#232c3a; --field-ink:#e8ecf2;
}
html[data-contrast="high"] body.trovuz-classic { --line:currentColor; --muted:var(--ink); }
body.trovuz-classic, body.trovuz-classic :not(svg):not(svg *) {
  font-family:"Segoe UI",Arial,Helvetica,sans-serif!important; font-weight:400!important;
}
body.trovuz-classic :is(h1,h2,h3,h4,h5,h6,strong,b,th,[role="heading"]),
body.trovuz-classic :is(button,.btn,.btn-teal,.club-button,.profile-link,.person-name,.plan-price) {
  font-weight:600!important;
}
body.trovuz-classic :is(pre,code,kbd,samp,.code-editor),
body.trovuz-classic :is(pre,code,kbd,samp,.code-editor) * {
  font-family:ui-monospace,Consolas,monospace!important;
}
body.trovuz-classic :is(.page,.people-page,.team-main,.news-main) {
  max-width:1160px; margin-inline:auto; padding:30px 24px 60px;
}
body.trovuz-classic :is(.page-title,.people-head h1,.team-hero h1,.news-lead h1) {
  margin:0 0 16px; padding-bottom:18px; border-bottom:1px solid var(--line);
  font-size:32px; line-height:1.2; letter-spacing:-.8px; text-shadow:none;
}
body.trovuz-classic .page-title::after { display:none; }
body.trovuz-classic :is(.sub-intro,.team-lead,.market-intro) { font-size:14px; line-height:1.6; }
/* Bordered boards, quiet surfaces and orange section bars. */
body.trovuz-classic :is(.card,.plan-card,.market-panel,.news-panel,.welcome-card,.daily-card,
 .member-card,.person-card,.friend-card,.profile-about,.profile-facts,.profile-edit,.chat-card,
 .club-main,.club-wall,.members-panel,.news-card,.panel,.pcard,.desc,.info,.form-card,
 .error-card,.avatar-upload-section,.avatar-controls,.avatar-preview-wrap,.face-card,.owned-face-card) {
  border:1px solid var(--line); border-radius:12px; background:var(--card); color:var(--ink);
  box-shadow:0 3px 14px #00000008;
}
body.trovuz-classic :is(.card,.plan-card,.member-card,.person-card,.face-card):hover {
  transform:none; box-shadow:0 4px 16px #00000010;
}
body.trovuz-classic :is(.news-heading,.chat-head,.members-heading,.section-head) {
  border-bottom:1px solid var(--line); padding-bottom:12px; margin-bottom:14px;
}
body.trovuz-classic :is(.news-heading,.members-heading) {
  background:var(--classic-orange); color:#281c0b; padding:13px 16px; border-radius:7px;
}
body.trovuz-classic :is(.news-heading,.members-heading) :is(h2,a,.member-count) { color:#281c0b; }
body.trovuz-classic :is(.news-heading,.members-heading,.chat-head,.section-head) h2 { font-size:16px; }
body.trovuz-classic :is(.market-panel,.news-panel,.welcome-card,.daily-card,.member-card,.news-card,.panel) {
  padding:20px;
}
body.trovuz-classic :is(.market-panel,.welcome-card,.daily-card,.team-hero,.feature) {
  background:var(--card); color:var(--ink); text-shadow:none;
}
body.trovuz-classic :is(.welcome-text,.player-name,.daily-title,.market-panel h2) { color:var(--ink); }
body.trovuz-classic :is(.welcome-sub,.daily-note,.market-panel p) { color:var(--muted); }
body.trovuz-classic .panel-art { box-shadow:none; border-radius:12px; }
body.trovuz-classic :is(.home-grid,.plans-grid,.team-grid,.face-grid) { gap:20px; }
body.trovuz-classic :is(.card-body,.face-info,.face-details) { padding:15px; }
body.trovuz-classic :is(.card-body h3,.face-name,.member-name,.person-name) { font-size:15px; }
body.trovuz-classic :is(.by,.card-body .meta,.person-username,.member-handle,.face-creator) { font-size:12px; }
/* Primary actions use the same green as the forum toolbar. Destructive actions retain their color. */
body.trovuz-classic :is(.btn-teal,.plan-cta,.daily-btn,.face-buy-button,.person-btn,.profile-link,
 .primary-btn,.send-btn,.primary,.play-btn,.download,.btn,.play-button,.game-dev-save) {
  border:1px solid var(--ui-accent-hover); border-radius:8px; background:var(--classic-green); color:#fff;
  box-shadow:0 2px 4px #0000000d; text-shadow:none;
}
body.trovuz-classic :is(.btn-teal,.plan-cta,.daily-btn,.face-buy-button,.person-btn,.profile-link,
 .primary-btn,.send-btn,.play-btn,.download,.btn,.play-button,.game-dev-save):hover:not(:disabled) {
  background:var(--classic-green-hover); transform:none;
}
body.trovuz-classic :is(.club-button,.edit-btn,.logout-btn,.remove-btn,.secondary,.people-more,
 .profile-back,.club-back,.back-link,.tab-button,.place-tab,.link-btn) { border-radius:8px; }
body.trovuz-classic :is(.btn-teal,.daily-btn,.face-buy-button,.person-btn,.primary-btn,.send-btn,.btn) {
  padding:10px 15px; font-size:13px; min-height:38px;
}
body.trovuz-classic :is(.place-tabs,.mod-tabs) { gap:5px; border-color:var(--line); }
body.trovuz-classic :is(.place-tab[aria-selected="true"],.tab-button[aria-selected="true"],.tab-button.active) {
  background:var(--classic-green); color:#fff; border-color:var(--ui-accent-hover); box-shadow:none;
}
body.trovuz-classic :is(main,.page,.container,.people-toolbar) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea) {
  border:1px solid var(--line); border-radius:7px; background:var(--field-bg); color:var(--field-ink);
  font-size:14px; box-sizing:border-box;
}
body.trovuz-classic :is(a,button,input,select,textarea,summary):focus-visible {
  outline:2px solid var(--classic-green); outline-offset:3px;
}
body.trovuz-classic :is(input[type="checkbox"],input[type="radio"]) { accent-color:var(--classic-green); }
body.trovuz-classic button:disabled { cursor:not-allowed; }
/* Subscriptions and currency: board-like plans rather than floating promotional tiles. */
body.trovuz-classic .plan-card { padding:22px; gap:16px; border-top:4px solid var(--classic-orange); }
body.trovuz-classic .plan-card.is-max { border:1px solid var(--line); border-top:4px solid var(--classic-green); }
body.trovuz-classic .plan-card.is-ultra { border:1px solid var(--line); border-top:4px solid var(--classic-orange); }
body.trovuz-classic .plan-badge { top:12px; right:12px; border-radius:5px; box-shadow:none; padding:5px 8px; font-size:10px; }
body.trovuz-classic .plan-name { margin:18px 0 0; }
body.trovuz-classic .plan-name img { max-width:210px; }
body.trovuz-classic .plan-price { font-size:28px; }
body.trovuz-classic .plan-list { gap:11px; }
body.trovuz-classic .plan-list li { font-size:13px; line-height:1.5; }
body.trovuz-classic .plan-check { color:var(--classic-green); }
/* Profiles, member lists and club walls share the forum's compact author treatment. */
body.trovuz-classic .profile-hero {
  border:1px solid var(--line); border-top:4px solid var(--classic-orange);
  border-radius:12px; background:var(--card); color:var(--ink); box-shadow:var(--shadow);
}
body.trovuz-classic .profile-hero :is(.profile-name,.profile-handle) { color:var(--ink); }
body.trovuz-classic .profile-handle { opacity:.7; }
body.trovuz-classic :is(.profile-name,.club-name) { font-size:30px; letter-spacing:-.6px; }
body.trovuz-classic .club-wall h2 { font-size:18px; }
body.trovuz-classic :is(.member,.wall-post,.profile-fact,.chat-message,.person-card) {
  border-radius:8px; border-color:var(--line); background:var(--card); box-shadow:none;
}
body.trovuz-classic .member { border:1px solid var(--line); font-size:13px; }
body.trovuz-classic .wall-post { border-left:3px solid var(--classic-green); }
body.trovuz-classic .club-description { font-size:14px; line-height:1.65; }
body.trovuz-classic .club-wall textarea { border-radius:7px; }
body.trovuz-classic .person-card { border-bottom:1px solid var(--line); }
body.trovuz-classic .profile-topbar { background:var(--card); border-bottom:1px solid var(--line); }
body.trovuz-classic :is(.people-toolbar,.face-market-heading,.avatar-page-heading) { margin-bottom:20px; }
/* Shared navigation: smaller corners, less ornament, same recognizable logo. */
body.trovuz-classic :is(.icon-btn,.search-bar,.create-header-link,.login-link,.settings-panel,.dropdown) { border-radius:8px; }
body.trovuz-classic :is(.nav-inner,.topbar) { font-size:13px; }
body.trovuz-classic .footer { border-top:1px solid var(--line); background:var(--card); font-size:12px; }
body.trovuz-classic :is(.footer-copy,.footer-version) { font-size:11px; }
/* Standalone account, legal, update and download pages. */
body.trovuz-classic[data-classic-page="download"] { display:block; }
body.trovuz-classic[data-classic-page="download"] main {
  max-width:760px; margin:60px auto; padding:30px; border:1px solid var(--line);
  border-top:4px solid var(--classic-orange); border-radius:12px; background:var(--card);
}
body.trovuz-classic[data-classic-page="download"] h1 { font-size:38px; letter-spacing:-1px; }
body.trovuz-classic[data-classic-page="download"] p { font-size:14px; color:var(--muted); }
body.trovuz-classic[data-classic-page="download"] footer a { color:var(--classic-green-hover); }
body.trovuz-classic :is(.error-card,.blog-post,.post,.wrapper>.card) { border-top:3px solid var(--classic-orange); border-radius:12px; }
body.trovuz-classic :is(.error-card h1,.form-card h1) { font-size:30px; letter-spacing:-.6px; }
body.trovuz-classic .promo { background:var(--classic-green); color:#fff; border-radius:12px; }
body.trovuz-classic .form-card { border-top:4px solid var(--classic-orange); }
body.trovuz-classic .brand-title { text-shadow:none; }
@media(max-width:700px) {
  body.trovuz-classic :is(.page,.people-page,.team-main,.news-main) { padding:22px 16px 40px; }
  body.trovuz-classic :is(.page-title,.people-head h1,.team-hero h1,.news-lead h1,.profile-name,.club-name) { font-size:26px; }
  body.trovuz-classic :is(.plans-grid,.team-grid) { gap:18px; }
  body.trovuz-classic .plan-card { padding:20px; }
  body.trovuz-classic[data-classic-page="download"] main { margin:24px 16px; padding:24px; }
}

/* Games and Studio: style only interface chrome, never the renderer or world. */
body.trovuz-classic-play { --a:var(--ui-accent); }
body.trovuz-classic-play :is(.studio-topbar,.studio-modebar,.ui,.ui-panel,.glass-panel,header) {
  font-family:"Segoe UI",Arial,sans-serif!important;
}
body.trovuz-classic-play :is(.ui,.ui-panel,.glass-panel) {
  border:1px solid #dce1e6; border-top:3px solid #ee971f; border-radius:12px;
  background:#f8fafaf2; color:#252d37; box-shadow:0 3px 14px #0002;
}
body.trovuz-classic-play :is(.ui,.ui-panel,.glass-panel) :is(h1,h2,h3,.title,.inventory-heading) {
  font-family:"Segoe UI",Arial,sans-serif!important; font-weight:600!important;
}
body.trovuz-classic-play :is(header,.studio-topbar) { border-bottom:2px solid #ee971f; }
body.trovuz-classic-play :is(.toolbar-button,.tool-button,.view-tab,.tab,.ui button) {
  border-radius:7px; box-shadow:none; font-family:"Segoe UI",Arial,sans-serif!important;
}
body.trovuz-classic-play :is(.publish-button,.run-button,.view-tab.active,.tab.active),
body.trovuz-classic-play header button.on,
body.trovuz-classic-play header #moveTool.on {
  background:var(--ui-accent); border-color:var(--ui-accent-hover); color:#fff; box-shadow:none;
}
body.trovuz-classic-play :is(button,a,input):focus-visible { outline:2px solid var(--ui-accent); outline-offset:3px; }

/* Flat classic interface icons; avatars and item art keep their own rendering. */
body.trovuz-classic #trovuzSideNav { box-shadow:none; }
body.trovuz-classic #trovuzSideNav>a { border-radius:5px; box-shadow:none; }
body.trovuz-classic #trovuzSideNav>a:hover { transform:none; }
body.trovuz-classic #trovuzSideNav>a[aria-current="page"] {
 background:rgba(var(--ui-accent-rgb),.13); border-color:var(--ui-accent); color:var(--ink);
}
body.trovuz-classic #trovuzSideNav>a img { width:26px; height:26px; }
body.trovuz-classic :is(.news-heading img,.home-action .games-action-icon,.daily-icon) {
 filter:none; box-shadow:none; border-radius:4px;
}
body.trovuz-classic :is(.clubs-welcome,.forum-welcome)>img { width:44px; height:44px; }
body.trovuz-classic :is(.icon-btn,.search-bar,.create-header-link,.home-action) svg {
 stroke-linecap:square!important; stroke-linejoin:miter!important; stroke-width:2!important;
 filter:none;
}
body.trovuz-classic .icon-btn { border-radius:5px; box-shadow:none; }
body.trovuz-classic .create-header-link { color:var(--classic-green)!important; }

/* Sidebar controls match the notification and settings outline buttons. */
body.trovuz-classic #trovuzSideNav>a {
  border:1px solid transparent; border-radius:6px;
  background:var(--icon-btn-bg,var(--card)); color:var(--icon-btn-ink,var(--ink));
}
body.trovuz-classic #trovuzSideNav>a:hover { background:var(--hover-bg); }
body.trovuz-classic #trovuzSideNav>a svg {
  width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;
}
body.trovuz-classic #trovuzSideNav>a[aria-current="page"] {
  color:var(--ui-accent);border-color:var(--ui-accent);
  background:rgba(var(--ui-accent-rgb),.12);
}

/* Larger navigation and heading artwork. */
body.trovuz-classic #trovuzSideNav>a img { width:39px; height:39px; }
body.trovuz-classic #trovuzSideNav>a svg { width:34.5px; height:34.5px; }
body.trovuz-classic :is(.clubs-welcome,.forum-welcome)>img { width:66px; height:66px; }
body.trovuz-classic .news-heading img { width:46.5px; height:46.5px; }
body.trovuz-classic .home-action .games-action-icon { width:28.5px; height:28.5px; }
body.trovuz-classic #trovuzSideNav.is-expanded>a { grid-template-columns:39px minmax(0,1fr); }
@media(max-width:560px) {
  body.trovuz-classic #trovuzSideNav>a { width:42px; height:42px; }
  body.trovuz-classic #trovuzSideNav { padding-inline:3px; }
  body.trovuz-classic #trovuzSideNav.is-expanded>a { width:100%; }
}
/* Wide website wordmark supplied by the owner. */
body.trovuz-classic img[src="trovuz-header-logo.png"] {
 width:154px;height:55px;max-width:32vw;object-fit:contain;flex-shrink:0;
 animation:none!important;transform:none;
}
@media(max-width:600px) {
 body.trovuz-classic img[src="trovuz-header-logo.png"] {width:116px;height:42px;max-width:28vw;}
}

/* Display the original TROVUZ company logo in the shared footer. */
.footer-logo.footer-trovuz{display:block;flex:none;width:76px;height:64px;padding:0;border-radius:8px;background:#fff url("trovuz-footer-logo.png") center/contain no-repeat;user-select:none;-webkit-user-drag:none}

/* ==========================================================================
   Roblox web circa 2018, site-wide (matches the moderation console).
   Dark utility bar, pale canvas, crisp square-cornered white modules.
   Colours come from the theme and accent settings, so Light, Dark, Custom,
   high contrast and every accent keep working. `:not(#_)` lifts specificity
   above page-level rules without resorting to !important.
   ========================================================================== */
body.trovuz-classic:not(#_) {
  --bg:#f2f4f5; --card:#fff; --ink:#191b1d; --muted:#606162; --line:#d5d7d8;
  --hover-bg:#f7f7f7; --field-bg:#fff; --field-ink:#191b1d; --field-hint:#8f9091; --field-line:#b8b8b8;
  --line-soft:#e3e5e6; --chip:#f2f4f5; --sub:#393b3d; --card-title:#191b1d; --card-by:#606162;
  --icon-btn-bg:#fff; --icon-btn-ink:#393b3d; --glass:#fff; --glass-soft:#fff;
  --nav-hover-bg:#f2f4f5; --nav-active-bg:#fff; --footer-bg:#fff; --track:#c7c9ca;
  --pip-bg:#e3e5e6; --off-bg:#e3e5e6; --unread-bg:#f2f9fd; --unread-hover:#e8f4fb;
  --shadow:0 1px 2px #00000014; --shadow-hover:0 2px 6px #0000001f;
  --rbx-bar:#191b1d; --rbx-bar-line:#000; --rbx-rail:#e3e5e6; --rbx-rail-line:#c7c9ca;
  --rbx-rail-ink:#393b3d; --rbx-rail-hover:#d1d3d4; --rbx-radius:3px;
  --panel:var(--card); --page:var(--bg); --text:var(--ink); --border:var(--line);
  font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;
}
html[data-theme="dark"] body.trovuz-classic:not(#_) {
  --bg:#232527; --card:#393b3d; --ink:#fff; --muted:#bdbebe; --line:#4f5153;
  --hover-bg:#45474a; --field-bg:#232527; --field-ink:#fff; --field-hint:#8f9091; --field-line:#5d5f61;
  --line-soft:#45474a; --chip:#45474a; --sub:#d5d7d8; --card-title:#fff; --card-by:#bdbebe;
  --icon-btn-bg:#393b3d; --icon-btn-ink:#fff; --glass:#393b3d; --glass-soft:#393b3d;
  --nav-hover-bg:#45474a; --nav-active-bg:#393b3d; --footer-bg:#191b1d; --track:#5d5f61;
  --pip-bg:#45474a; --off-bg:#45474a; --unread-bg:#2d3a44; --unread-hover:#33424d;
  --shadow:0 1px 2px #0000004d; --shadow-hover:0 2px 6px #00000066;
  --rbx-rail:#191b1d; --rbx-rail-line:#000; --rbx-rail-ink:#bdbebe; --rbx-rail-hover:#393b3d;
}
/* Custom theme: use the palette trovuz-theme-init.js writes on <html>. */
html[data-custom-theme] body.trovuz-classic:not(#_) {
  --bg:inherit; --card:inherit; --ink:inherit; --muted:inherit; --line:inherit; --hover-bg:inherit;
  --field-bg:inherit; --field-ink:inherit; --field-hint:inherit; --field-line:var(--line);
  --line-soft:inherit; --chip:inherit; --sub:inherit; --card-title:inherit; --card-by:inherit;
  --icon-btn-bg:inherit; --icon-btn-ink:inherit; --glass:inherit; --glass-soft:inherit;
  --nav-hover-bg:inherit; --nav-active-bg:inherit; --footer-bg:inherit; --track:inherit;
  --pip-bg:inherit; --off-bg:inherit; --unread-bg:inherit; --unread-hover:inherit;
  --rbx-rail:var(--nav-bg); --rbx-rail-line:var(--line); --rbx-rail-ink:var(--ink); --rbx-rail-hover:var(--hover-bg);
}
html[data-contrast="high"] body.trovuz-classic:not(#_) {
  --line:currentColor; --muted:var(--ink); --field-line:var(--ink); --rbx-rail-ink:var(--ink);
}

/* Type: Arial throughout, medium-weight headings, no tight tracking. */
body.trovuz-classic:not(#_), body.trovuz-classic:not(#_) :not(svg):not(svg *) {
  font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;
}
body.trovuz-classic:not(#_) :is(pre,code,kbd,samp,.code-editor),
body.trovuz-classic:not(#_) :is(pre,code,kbd,samp,.code-editor) * {
  font-family:ui-monospace,Consolas,monospace!important;
}
body.trovuz-classic:not(#_) :is(h1,h2,h3,[role="heading"]) { font-weight:500!important; letter-spacing:0; text-shadow:none; }
body.trovuz-classic:not(#_) :is(button,.btn,.btn-teal,.primary,.secondary,.danger,.login-link) { font-weight:500!important; }
body.trovuz-classic:not(#_) :is(.page-title,.people-head h1,.team-hero h1,.news-lead h1,.home-page-heading h1) {
  margin-bottom:8px; padding-bottom:0; border-bottom:0; font-size:32px; line-height:1.15; letter-spacing:0;
}
body.trovuz-classic:not(#_) :is(.profile-name,.club-name,.welcome-text h2) { letter-spacing:0; }

/* Top bar: fixed-height charcoal strip that stays at the top. */
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) {
  position:sticky; top:0; z-index:900; min-height:50px; padding:0 24px;
  background:var(--rbx-bar); border:0; border-bottom:1px solid var(--rbx-bar-line); box-shadow:0 1px 3px #0005;
}
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .nav-inner { min-height:50px; max-width:1280px; gap:10px; }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .nav-inner>img,
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) img[src="trovuz-header-logo.png"] { width:auto; height:40px; object-fit:contain; }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) :is(.online-pill,.currency-badge,.login-link) { border-radius:var(--rbx-radius); box-shadow:none; }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .login-link { height:34px; padding:0 14px; font-size:14px; transform:none; }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .login-link:hover { transform:none; }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .menu-wrap>.icon-btn {
  border:0; border-radius:var(--rbx-radius); background:transparent; color:#fff; box-shadow:none;
}
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .menu-wrap>.icon-btn:hover,
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .menu-wrap>.icon-btn[aria-expanded="true"] { background:#ffffff1f; }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .search-bar {
  min-height:34px; padding:2px 3px 2px 12px; border:1px solid #4f5153; border-radius:var(--rbx-radius);
  background:#2e3032; box-shadow:none;
}
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .search-bar:focus-within { border-color:var(--ui-accent); box-shadow:0 0 0 1px var(--ui-accent); }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .search-bar input { color:#fff; font-size:14px; font-weight:400; }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .search-bar input::placeholder { color:#a6a8a9; }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .search-bar button { width:28px; height:28px; border-radius:2px; background:var(--ui-accent); }
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .search-bar button:hover { background:var(--ui-accent-hover); }

/* Pages with their own slim header use the same bar. */
body.trovuz-classic:not(#_) :is(.profile-topbar,.mod-topbar) {
  height:50px; background:var(--rbx-bar); border-bottom:1px solid var(--rbx-bar-line); box-shadow:0 1px 3px #0005;
}
body.trovuz-classic:not(#_) :is(.profile-topbar,.mod-topbar) img { height:40px; width:auto; }
html body.trovuz-classic:not(#_) :is(.profile-topbar,.mod-topbar) :is(.profile-back,.back,.brand) {
  border-color:#ffffff40; background:transparent; color:#fff;
}
html body.trovuz-classic:not(#_) :is(.profile-topbar,.mod-topbar) :is(.profile-back,.back):hover:not(:disabled) { background:#ffffff1f; }

/* Left rail: flat grey strip under the bar, icons without tiles. */
body.trovuz-classic:not(#_) #trovuzSideNav {
  background:linear-gradient(var(--rbx-bar) 0 51px,var(--rbx-rail) 51px);
  border-right:1px solid var(--rbx-rail-line); box-shadow:1px 0 3px #0002; padding-top:60px;
}
body.trovuz-classic:not(#_) #trovuzSideNav>a,
body.trovuz-classic:not(#_) #trovuzSideNav .menu-wrap>.icon-btn {
  border:1px solid transparent; border-radius:2px; background:transparent; color:var(--rbx-rail-ink); box-shadow:none;
}
body.trovuz-classic:not(#_) #trovuzSideNav>a:hover,
body.trovuz-classic:not(#_) #trovuzSideNav .menu-wrap>.icon-btn:hover { background:var(--rbx-rail-hover); transform:none; }
body.trovuz-classic:not(#_) #trovuzSideNav>a[aria-current="page"] {
  border-color:transparent; border-left:3px solid var(--ui-accent); background:var(--rbx-rail-hover); color:var(--ui-accent);
}
body.trovuz-classic:not(#_) #trovuzSideNav .menu-wrap { order:-1; }

/* Modules: 1px border, 3px corners, faint drop shadow. */
body.trovuz-classic:not(#_) :is(.card,.plan-card,.market-panel,.news-panel,.welcome-card,.member-card,
 .person-card,.friend-card,.profile-about,.profile-facts,.profile-edit,.chat-card,.club-main,.club-wall,
 .members-panel,.news-card,.panel,.pcard,.desc,.info,.form-card,.error-card,.avatar-upload-section,
 .avatar-controls,.avatar-preview-wrap,.face-card,.owned-face-card,.friends,.profile-hero,.blog-post,.post,
 .wrapper>.card,.rows-empty,.profile-state,.profile-badges,.clubs-create-panel,.your-clubs-panel,.market-balance,[class$="-board"],[class*="-board "]) {
  border:1px solid var(--line); border-radius:var(--rbx-radius); box-shadow:var(--shadow);
}
body.trovuz-classic:not(#_) :is(.card,.plan-card,.member-card,.person-card,.face-card,.pcard):hover {
  transform:none; box-shadow:var(--shadow-hover);
}
body.trovuz-classic:not(#_) .welcome-card .daily-card,
body.trovuz-classic:not(#_) :is(.member,.wall-post,.profile-fact,.chat-message,.panel-art,.home-message-banner,
 .dropdown,.search-results,.settings-panel,.footer-logo,.news-tag,.user-badge,.plan-badge,.code) {
  border-radius:var(--rbx-radius); box-shadow:none;
}
body.trovuz-classic:not(#_) .card :is(img,canvas):first-child { border-radius:var(--rbx-radius) var(--rbx-radius) 0 0; }

/* Section headings: plain titles instead of orange bars and coloured top edges. */
body.trovuz-classic:not(#_) :is(.news-heading,.members-heading,[class$="-board-head"]) {
  background:transparent; color:var(--ink); border-radius:0; border-bottom:1px solid var(--line);
}
body.trovuz-classic:not(#_) :is(.news-heading,.members-heading,[class$="-board-head"]) :is(h1,h2,h3,a,span,.member-count) {
  color:inherit;
}
body.trovuz-classic:not(#_) [class$="-board-head"] :is(h1,h2,h3) { font-size:20px; }
body.trovuz-classic:not(#_) [class$="-board-head"] :is(.forum-count,.clubs-count,.code) {
  border:1px solid var(--line); background:var(--hover-bg); color:var(--muted);
}
body.trovuz-classic:not(#_) :is(.plan-card,.plan-card.is-max,.plan-card.is-ultra,.profile-hero,.form-card,
 .error-card,.blog-post,.post,.wrapper>.card) { border-top:1px solid var(--line); }
body.trovuz-classic:not(#_) .wall-post { border-left:3px solid var(--ui-accent); }

/* Buttons: flat fills in the accent colour, white outline for secondary. */
body.trovuz-classic:not(#_) :is(.btn,.btn-teal,.plan-cta,.daily-btn,.face-buy-button,.person-btn,
 .profile-link,.primary-btn,.send-btn,.primary,.secondary,.danger,.play-btn,.download,.play-button,
 .game-dev-save,.club-button,.edit-btn,.logout-btn,.remove-btn,.people-more,.profile-back,.club-back,
 .back-link,.home-action,.add-friends-btn,.paid-ad-toggle,a.button):not(.icon-btn):not(.link-btn):not(.tab-button):not(.place-tab):not([role="tab"]):not(.swatch *) {
  border-radius:var(--rbx-radius); box-shadow:none; text-shadow:none; transform:none;
}
body.trovuz-classic:not(#_) :is(.secondary,.home-action.secondary,.club-back,.profile-back,.back-link,.people-more,.edit-btn,.logout-btn) {
  border:1px solid var(--field-line); background:var(--card); color:var(--ink);
}
body.trovuz-classic:not(#_) :is(.secondary,.home-action.secondary,.club-back,.profile-back,.back-link,.people-more,.edit-btn,.logout-btn):hover:not(:disabled) {
  background:var(--hover-bg);
}
body.trovuz-classic:not(#_) .danger { border:1px solid #e2231a; background:#e2231a; color:#fff; }
body.trovuz-classic:not(#_) .danger:hover:not(:disabled) { border-color:#c41d16; background:#c41d16; }

/* Fields: square, inset, accent focus ring. */
body.trovuz-classic:not(#_) :is(main,.page,.container,.people-toolbar,.layout) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea) {
  border:1px solid var(--field-line); border-radius:var(--rbx-radius); background:var(--field-bg); color:var(--field-ink);
  box-shadow:inset 0 1px 2px #00000012;
}
body.trovuz-classic:not(#_) :is(main,.page,.container,.people-toolbar,.layout) :is(input,select,textarea):focus {
  border-color:var(--ui-accent); box-shadow:0 0 0 1px var(--ui-accent); outline:none;
}
body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) .search-bar input { border:0; box-shadow:none; background:transparent; }

/* Tabs: text labels on a hairline with an accent underline for the current one. */
body.trovuz-classic:not(#_) :is(.mod-tabs,.place-tabs,.forum-filters,.clubs-filters) {
  gap:0; padding:0; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; box-shadow:none;
}
body.trovuz-classic:not(#_) :is(.tab-button,.place-tab,.forum-filter,.clubs-filter) {
  margin:0 26px -1px 0; padding:12px 1px 10px; min-height:0; border:0; border-bottom:3px solid transparent;
  border-radius:0; background:transparent; color:var(--muted); font-size:14px; font-weight:400!important; box-shadow:none;
}
body.trovuz-classic:not(#_) :is(.tab-button,.place-tab,.forum-filter,.clubs-filter):hover { background:transparent; color:var(--ink); }
body.trovuz-classic:not(#_) :is(.tab-button[aria-selected="true"],.tab-button.active,.place-tab[aria-selected="true"],
 .place-tab.is-active,.forum-filter[aria-pressed="true"],.clubs-filter[aria-pressed="true"]) {
  border-color:var(--ui-accent); background:transparent; color:var(--ink); font-weight:700!important; box-shadow:none;
}

/* Footer and misc chrome. */
body.trovuz-classic:not(#_) .footer { border-top:1px solid var(--line); background:var(--footer-bg); }
body.trovuz-classic:not(#_) .promo { border-radius:var(--rbx-radius); }
body.trovuz-classic[data-classic-page="download"]:not(#_) main {
  border:1px solid var(--line); border-radius:var(--rbx-radius); box-shadow:var(--shadow);
}
@media(max-width:700px) {
  body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) { padding:0 12px; }
  body.trovuz-classic:not(#_) :is(.page-title,.people-head h1,.team-hero h1,.news-lead h1,.home-page-heading h1) { font-size:26px; }
  body.trovuz-classic:not(#_) :is(.tab-button,.place-tab,.forum-filter,.clubs-filter) { margin-right:17px; }
}
@media(max-width:560px) {
  body.trovuz-classic:not(#_)>nav:not(#trovuzSideNav) { position:relative; }
  body.trovuz-classic:not(#_) #trovuzSideNav { background:var(--rbx-rail); padding-top:8px; }
}

/* Games and Studio chrome follow the same squared, neutral panels. */
body.trovuz-classic-play:not(#_) :is(.ui,.ui-panel,.glass-panel) {
  border:1px solid #d5d7d8; border-radius:3px; background:#fffffff2; color:#191b1d; box-shadow:0 1px 3px #0003;
}
body.trovuz-classic-play:not(#_) :is(header,.studio-topbar) { border-bottom:1px solid #000; }
body.trovuz-classic-play:not(#_) :is(.toolbar-button,.tool-button,.view-tab,.tab,.ui button) { border-radius:3px; }
body.trovuz-classic-play:not(#_) :is(.studio-topbar,.studio-modebar,.ui,.ui-panel,.glass-panel,header),
body.trovuz-classic-play:not(#_) :is(.ui,.ui-panel,.glass-panel) :is(h1,h2,h3,.title,.inventory-heading) {
  font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;
}
