/* Robis website — styled after the 2019 era of a certain brick-building platform. */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap');

:root {
  --blue: #00a2ff;
  --blue-dark: #0074bd;
  --blue-hover: #32b5ff;
  --green: #02b757;
  --green-hover: #3fc679;
  --gray-bg: #f2f4f5;
  --panel: #ffffff;
  --text: #393b3d;
  --text-light: #757575;
  --border: #e3e3e3;
  --red: #d86868;
  --gold: #f6b702;
  --header-h: 40px;
  --nav-w: 175px;
  --radius: 3px;
  --shadow: 0 1px 4px rgba(25, 25, 25, 0.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--gray-bg);
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 700; margin: 0 0 12px; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.hidden { display: none !important; }
.muted { color: var(--text-light); }
.small { font-size: 13px; }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }

/* ------------------------------------------------------------ header */
.rbx-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 100;
  background: var(--blue); color: #fff; display: flex; align-items: center; padding: 0 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.rbx-header .menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; margin-right: 6px; }
.rbx-header .logo { display: flex; align-items: center; height: 100%; margin-right: 18px; }
.rbx-header .logo img { height: 26px; }
.rbx-header .logo .logo-small { display: none; height: 30px; }
.rbx-header nav.main { display: flex; height: 100%; }
.rbx-header nav.main a {
  color: #fff; font-weight: 600; display: flex; align-items: center; padding: 0 14px; height: 100%; font-size: 16px;
}
.rbx-header nav.main a:hover, .rbx-header nav.main a.active { background: rgba(255, 255, 255, .15); text-decoration: none; }
.rbx-header .search { flex: 1; max-width: 460px; margin: 0 16px; position: relative; }
.rbx-header .search input {
  width: 100%; height: 28px; border: 0; border-radius: var(--radius); padding: 0 34px 0 10px; font-size: 15px; color: var(--text);
}
.rbx-header .search button { position: absolute; right: 2px; top: 2px; height: 24px; width: 28px; border: 0; background: none; cursor: pointer; color: #999; }
.rbx-header .right { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.rbx-header .right a, .rbx-header .right button.icon-btn {
  color: #fff; display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: var(--radius); font-weight: 600;
  background: none; border: 0; cursor: pointer; font-size: 15px; position: relative;
}
.rbx-header .right a:hover, .rbx-header .right button.icon-btn:hover { background: rgba(255, 255, 255, .15); text-decoration: none; }
.rbx-header .right .login-btn { border: 1px solid #fff; }
.robits-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.robits-icon svg { width: 100%; height: 100%; }
.badge-count {
  position: absolute; top: -2px; right: -2px; background: #e2231a; color: #fff; font-size: 11px; border-radius: 8px; padding: 0 5px; line-height: 15px;
}
.dropdown {
  position: absolute; top: calc(var(--header-h) - 2px); right: 8px; background: #fff; color: var(--text); border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25); min-width: 180px; padding: 6px 0; z-index: 200;
}
.dropdown a, .dropdown button { display: block; padding: 8px 16px; color: var(--text); background: none; border: 0; width: 100%; text-align: left; cursor: pointer; }
.dropdown a:hover, .dropdown button:hover { background: var(--gray-bg); text-decoration: none; }

/* ------------------------------------------------------------ left nav */
.rbx-leftnav {
  position: fixed; top: var(--header-h); left: 0; bottom: 0; width: var(--nav-w); background: var(--panel);
  border-right: 1px solid var(--border); padding: 12px 0; overflow-y: auto; z-index: 90;
}
.rbx-leftnav .user { padding: 6px 16px 14px; font-weight: 700; border-bottom: 1px solid var(--border); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.rbx-leftnav .user .headshot { width: 32px; height: 32px; border-radius: 50%; background: #d4d4d4; overflow: hidden; flex: none; }
.rbx-leftnav .user .headshot img { width: 100%; height: 100%; }
.rbx-leftnav a { display: flex; align-items: center; gap: 12px; padding: 9px 16px; color: var(--text); font-weight: 600; font-size: 15px; position: relative; }
.rbx-leftnav a:hover { background: var(--gray-bg); text-decoration: none; }
.rbx-leftnav a.active { background: var(--gray-bg); }
.rbx-leftnav a.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.rbx-leftnav a svg { width: 22px; height: 22px; flex: none; opacity: .8; }
.rbx-leftnav .count { margin-left: auto; background: var(--gray-bg); border-radius: 10px; padding: 0 7px; font-size: 12px; }
.rbx-leftnav .upgrade {
  display: block; margin: 16px 14px 8px; text-align: center; background: var(--green); color: #fff !important; border-radius: var(--radius); padding: 8px; justify-content: center;
}
.rbx-leftnav .upgrade:hover { background: var(--green-hover); }
.rbx-leftnav .section-label { font-size: 12px; text-transform: uppercase; color: var(--text-light); padding: 12px 16px 4px; font-weight: 700; }

/* ------------------------------------------------------------ content */
.rbx-content { margin-top: var(--header-h); margin-left: var(--nav-w); padding: 24px 32px 60px; max-width: 1180px; display: flex; flex-direction: column; }
.rbx-content > * { flex: none; min-width: 0; }
.rbx-content > .footer { order: 99; }
.rbx-content.no-nav { margin-left: 0; margin-right: auto; margin-left: auto; }
.section { margin-bottom: 28px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-header h2 { margin: 0; font-size: 22px; }
.panel { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.panel + .panel { margin-top: 16px; }
.tabs { display: flex; background: var(--panel); border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow); overflow-x: auto; }
.tabs button {
  flex: 1; border: 0; background: none; padding: 12px 18px; font-weight: 600; color: var(--text-light); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap;
}
.tabs button.active { color: var(--text); border-bottom-color: var(--blue); }
.tabs + .panel { border-radius: 0 0 var(--radius) var(--radius); }

/* ------------------------------------------------------------ buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: var(--radius);
  padding: 7px 14px; font-weight: 600; cursor: pointer; font-size: 15px; line-height: 1.2; text-decoration: none !important; transition: background .1s;
  background: #fff; color: var(--text); border-color: #b8b8b8;
}
.btn:hover { background: #f5f5f5; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-hover); }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-small { padding: 4px 10px; font-size: 13px; }
.btn-large { padding: 12px 24px; font-size: 20px; }
.btn-block { display: flex; width: 100%; }
.input, select.input, textarea.input {
  width: 100%; border: 1px solid #b8b8b8; border-radius: var(--radius); padding: 8px 10px; background: #fff; color: var(--text);
}
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(0, 162, 255, .2); }
label.field { display: block; margin-bottom: 12px; font-weight: 600; font-size: 14px; }
label.field .input { margin-top: 4px; font-weight: 400; }
.error-text { color: #d0021b; font-size: 14px; min-height: 18px; }

/* ------------------------------------------------------------ game cards */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.game-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.game-row .game-card { flex: 0 0 158px; scroll-snap-align: start; }
.game-card {
  background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--text);
  display: block; transition: box-shadow .15s, transform .15s; position: relative;
}
.game-card:hover { text-decoration: none; box-shadow: 0 3px 12px rgba(0, 0, 0, .25); transform: translateY(-1px); }
.game-card .thumb { aspect-ratio: 1; background: #d4d4d4 center/cover; position: relative; overflow: hidden; }
.game-card .thumb img, .game-card .thumb canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-card .info { padding: 8px 10px 10px; }
.game-card .name { font-weight: 700; font-size: 15px; line-height: 1.25; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.game-card .stats { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-light); margin-top: 6px; }
.game-card .stats span { display: flex; align-items: center; gap: 3px; }
.game-card .stats svg { width: 14px; height: 14px; }
.game-card .by { font-size: 12px; color: var(--text-light); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card .featured-tag { position: absolute; top: 6px; left: 6px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; border-radius: 2px; padding: 1px 6px; }

/* ------------------------------------------------------------ avatars & friends */
.avatar-card { text-align: center; width: 100px; flex: none; color: var(--text); }
.avatar-card:hover { text-decoration: none; }
.avatar-card .headshot { width: 90px; height: 90px; border-radius: 50%; background: #d4d4d4; margin: 0 auto 6px; overflow: hidden; position: relative; }
.avatar-card .headshot img { width: 100%; height: 100%; }
.avatar-card .name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar-card .presence { font-size: 12px; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.presence-dot { position: absolute; right: 4px; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; }
.presence-dot.online { background: var(--blue); }
.presence-dot.ingame { background: var(--green); }
.presence-dot.studio { background: #f68802; }
.friends-row { display: flex; gap: 12px; overflow-x: auto; padding: 16px; }

/* ------------------------------------------------------------ item cards */
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.item-card { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); display: block; overflow: hidden; position: relative; cursor: pointer; border: 2px solid transparent; }
.item-card:hover { text-decoration: none; box-shadow: 0 3px 12px rgba(0, 0, 0, .25); }
.item-card.selected { border-color: var(--green); }
.item-card .thumb { aspect-ratio: 1; background: linear-gradient(#f7f7f7, #e4e4e4); }
.item-card .thumb img { width: 100%; height: 100%; display: block; }
.item-card .info { padding: 6px 8px 8px; }
.item-card .name { font-weight: 600; font-size: 14px; height: 36px; overflow: hidden; line-height: 18px; }
.item-card .price { font-size: 14px; color: #02b757; font-weight: 700; display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.item-card .price.free { color: var(--text); }
.item-card .limited-tag { position: absolute; left: 6px; top: 6px; background: #02b757; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 2px; }
.item-card .owned-tag { position: absolute; right: 6px; top: 6px; background: #393b3d; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 2px; }
.item-card .check { position: absolute; right: 6px; top: 6px; background: var(--green); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ------------------------------------------------------------ misc */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.modal { background: #fff; border-radius: 4px; width: 100%; max-width: 440px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); overflow: hidden; animation: pop .15s ease-out; }
.modal-head { padding: 14px 18px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.modal-head button { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--text-light); }
.modal-body { padding: 18px; }
.modal-foot { padding: 12px 18px 18px; display: flex; gap: 10px; justify-content: center; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #393b3d; color: #fff; padding: 10px 20px; border-radius: 4px; z-index: 2000; box-shadow: var(--shadow); animation: pop .2s; }
.toast.success { background: var(--green); }
.toast.error { background: #d0021b; }
.loading-spinner { width: 36px; height: 36px; margin: 30px auto; position: relative; animation: spin 1s linear infinite; }
.loading-spinner::before { content: ''; position: absolute; inset: 6px; background: var(--blue); transform: rotate(15deg); border-radius: 3px; }
.loading-spinner::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; background: var(--gray-bg); }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; color: var(--text-light); padding: 30px; }
.stat-row { display: flex; gap: 0; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.stat-row > div { flex: 1; text-align: center; }
.stat-row .label { font-size: 13px; color: var(--text-light); }
.stat-row .value { font-size: 18px; font-weight: 700; }
.pill { display: inline-block; background: var(--gray-bg); border-radius: 12px; padding: 2px 10px; font-size: 13px; }
table.list { width: 100%; border-collapse: collapse; }
table.list td, table.list th { padding: 8px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.footer { text-align: center; color: var(--text-light); font-size: 13px; padding: 30px 0 10px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer a { color: var(--text-light); margin: 0 8px; font-weight: 600; }
.footer .links { margin-bottom: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }

/* ------------------------------------------------------------ launch dialog */
.launch-dialog { text-align: center; padding: 30px 20px; }
.launch-dialog .spin-logo { width: 80px; height: 80px; margin: 0 auto 18px; animation: spin 1.6s linear infinite; }
.launch-dialog h3 { font-size: 22px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .rbx-leftnav { transform: translateX(-100%); transition: transform .2s; box-shadow: 2px 0 12px rgba(0, 0, 0, .2); }
  body.nav-open .rbx-leftnav { transform: none; }
  .rbx-content { margin-left: 0; padding: 20px 16px 60px; }
  .rbx-header .menu-btn { display: block; }
}
@media (max-width: 720px) {
  .rbx-header nav.main { display: none; }
  .rbx-header .search { margin: 0 8px; }
  .rbx-header .logo img.logo-full { display: none; }
  .rbx-header .logo .logo-small { display: block; }
  .rbx-header .right .hide-mobile { display: none; }
}

/* ------------------------------------------------------------ phones */
.tabbar { display: none; }
.mobile-only { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
.rbx-content > * { max-width: 100%; }
@media (max-width: 1000px) {
  .mobile-only { display: flex !important; }
  .rbx-leftnav { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (max-width: 720px) {
  body.has-tabbar { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -1px 6px rgba(0, 0, 0, .08);
  }
  .tabbar a, .tabbar button {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 56px;
    color: var(--text-light); font-size: 11px; font-weight: 600; background: none; border: 0; text-decoration: none !important; font-family: inherit;
  }
  .tabbar a > span, .tabbar button > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
  .tabbar a, .tabbar button { min-width: 0; }
  .tabbar a.active { color: var(--blue); }
  .tabbar svg { width: 24px; height: 24px; }
  .rbx-header { padding-top: env(safe-area-inset-top); height: calc(var(--header-h) + env(safe-area-inset-top)); padding-left: 8px; padding-right: 8px; }
  .rbx-header .right a, .rbx-header .right button.icon-btn { padding: 4px 6px; }
  .rbx-content { padding: 16px 12px 40px; margin-top: calc(var(--header-h) + env(safe-area-inset-top)); }
  .rbx-leftnav { top: calc(var(--header-h) + env(safe-area-inset-top)); }
  h1 { font-size: 26px; }
  .section-header h2 { font-size: 19px; }
  .panel { padding: 12px; }
  .game-row .game-card { flex-basis: 136px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .item-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
  .game-card .name { font-size: 14px; }
  .avatar-card { width: 84px; }
  .avatar-card .headshot { width: 76px; height: 76px; }
  .friends-row { padding: 12px; }
  .greet { gap: 14px !important; }
  .greet .greet-head { width: 84px !important; height: 84px !important; }
  .greet h1 { font-size: 24px; }
  .tabs button { padding: 10px 12px; flex: 0 0 auto; }
  .btn-large { font-size: 17px; padding: 10px 18px; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal { max-width: 100% !important; border-radius: 12px 12px 0 0; padding-bottom: env(safe-area-inset-bottom); max-height: 90vh; overflow-y: auto; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .footer { margin-top: 24px; }
  input.input, select.input, textarea.input { font-size: 16px; } /* no zoom-on-focus on iOS */
}
@media (hover: none) {
  .game-card:hover, .item-card:hover { transform: none; }
}

/* ------------------------------------------------------------ dark theme (2019 style) */
html[data-theme="dark"] {
  --gray-bg: #232527;
  --panel: #393b3d;
  --text: #ffffff;
  --text-light: #b8b8b8;
  --border: #4d4f51;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--gray-bg); color: var(--text); }
html[data-theme="dark"] .dropdown,
html[data-theme="dark"] .modal,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .rbx-leftnav,
html[data-theme="dark"] .game-card,
html[data-theme="dark"] .item-card,
html[data-theme="dark"] .avatar-card { background: var(--panel); color: var(--text); }
html[data-theme="dark"] .dropdown a, html[data-theme="dark"] .dropdown button { color: var(--text); }
html[data-theme="dark"] .dropdown a:hover, html[data-theme="dark"] .dropdown button:hover { background: #4d4f51; }
html[data-theme="dark"] .btn { background: #4d4f51; color: #fff; border-color: #656668; }
html[data-theme="dark"] .btn:hover { background: #5a5c5e; }
html[data-theme="dark"] .btn-primary { background: var(--blue); border-color: var(--blue); }
html[data-theme="dark"] .btn-green { background: var(--green); border-color: var(--green); }
html[data-theme="dark"] .btn-red { background: var(--red); border-color: var(--red); }
html[data-theme="dark"] .input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { background: #232527; color: #fff; border-color: #656668; }
html[data-theme="dark"] .item-card .thumb { background: linear-gradient(#4d4f51, #393b3d); }
html[data-theme="dark"] .rbx-leftnav a { color: var(--text); }
html[data-theme="dark"] .rbx-leftnav a:hover, html[data-theme="dark"] .rbx-leftnav a.active { background: #4d4f51; }
html[data-theme="dark"] .tabbar { background: #393b3d; border-color: var(--border); }
html[data-theme="dark"] .tabbar a { color: #d0d0d0; }
html[data-theme="dark"] .modal-head, html[data-theme="dark"] .modal-foot { border-color: var(--border); }
html[data-theme="dark"] .modal-head button { color: #fff; }
html[data-theme="dark"] .pill { background: #4d4f51; color: #fff; }
html[data-theme="dark"] .muted { color: var(--text-light); }
html[data-theme="dark"] .rbx-footer, html[data-theme="dark"] footer { color: var(--text-light); border-color: var(--border); }
html[data-theme="dark"] table.list th, html[data-theme="dark"] table.list td { border-color: var(--border); }
.stipend-banner { background: #fffbe6; border: 1px solid #f6d365; }
html[data-theme="dark"] .stipend-banner { background: #3d3a28; border-color: #6b5d1c; }
html[data-theme="dark"] .toast { background: #4d4f51; }
html[data-theme="dark"] a { color: #33b5ff; }
html[data-theme="dark"] .rbx-header a, html[data-theme="dark"] .btn, html[data-theme="dark"] .pill[style] { color: #fff; }
html[data-theme="dark"] .game-card .title, html[data-theme="dark"] .item-card .name, html[data-theme="dark"] .avatar-card .name { color: #fff; }

.item-card .beta-tag { background: #6b327c; }

/* ------------------------------------------------------------ Chat & Party (2016-2019) */
.chat-party { position: fixed; right: 16px; bottom: 0; z-index: 90; width: 260px; }
.cp-bar { width: 100%; display: flex; justify-content: space-between; align-items: center; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-bottom: 0; border-radius: 4px 4px 0 0; padding: 8px 12px; font-weight: 700; font-family: inherit; font-size: 15px; cursor: pointer; box-shadow: 0 -1px 6px rgba(0,0,0,.12); }
.cp-count { background: var(--green); color: #fff; border-radius: 10px; padding: 0 8px; font-size: 13px; }
.cp-panel { background: var(--panel); border: 1px solid var(--border); border-bottom: 0; max-height: 360px; overflow-y: auto; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
.cp-head { padding: 8px 12px; font-weight: 700; border-bottom: 1px solid var(--border); }
.cp-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--border); }
.cp-head-img { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #d4d4d4; flex: none; }
.cp-head-img img { width: 100%; height: 100%; border-radius: 50%; }
.cp-head-img .presence-dot { width: 11px; height: 11px; right: -1px; bottom: -1px; }
.cp-info { flex: 1; min-width: 0; font-size: 14px; }
.cp-info a { color: var(--text); font-weight: 600; }
.cp-empty { padding: 14px; text-align: center; }

/* ------------------------------------------------------------ name badges */
.name-badges { display: inline-flex; gap: 3px; align-items: center; vertical-align: middle; margin-left: 4px; }
.name-badge { display: inline-flex; width: 16px; height: 16px; }
.name-badge svg, .name-badge img { width: 100%; height: 100%; }
.name-badge.staff img { transform: rotate(-12deg); }
.name-badges.big { margin-left: 8px; }
.name-badges.big .name-badge { width: 26px; height: 26px; }
.user-link { display: inline-flex; align-items: center; }
.avatar-card .name { display: flex; justify-content: center; align-items: center; }
.game-card .by { display: flex; align-items: center; }

/* ---------------------------------------------------------------- trades */
.trade-list { display: flex; flex-direction: column; }
.trade-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border: 0; border-bottom: 1px solid var(--border, #e3e3e3); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.trade-row:hover { background: rgba(0,162,255,.06); }
.trade-row:last-child { border-bottom: 0; }
.trade-head img { width: 48px; height: 48px; border-radius: 50%; background: #d4d4d4; display: block; }
.trade-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.trade-status { background: #b8b8b8; color: #fff; }
.trade-status.pending { background: #00a2ff; }
.trade-status.accepted { background: #02b757; }
.trade-status.failed, .trade-status.declined { background: #d86868; }
.trade-with { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.trade-with.big { font-size: 26px; font-weight: 700; }
.trade-with.big h1 { margin: 0; }
.trade-with.big a { font-size: 26px; }
.trade-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trade-side h4 { margin: 0 0 8px; }
.trade-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.trade-slots .owned-tag, .trade-slots .limited-tag { display: none; }
.trade-slots .item-card .price { font-size: 12px; }
.trade-slots .item-card .info { padding: 4px 6px; }
.trade-slots .item-card .name { font-size: 12px; }
.trade-slot { border: 2px dashed var(--border, #d4d4d4); border-radius: var(--radius); aspect-ratio: 3 / 4; opacity: .7; }
.trade-robits { font-weight: 700; margin-bottom: 4px; }
.trade-window { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.trade-inventories { display: flex; flex-direction: column; gap: 16px; }
.trade-inventories .panel, .trade-offer { margin: 0; }
.trade-pick { max-height: 420px; overflow-y: auto; padding: 2px; }
.trade-offer { position: sticky; top: 60px; }
.trade-offer .btn-green { width: 100%; }
.item-card.dim { opacity: .45; }
@media (max-width: 900px) {
  .trade-window { grid-template-columns: 1fr; }
  .trade-offer { position: static; order: -1; }
  .trade-sides { grid-template-columns: 1fr; }
}
.take-grid { max-height: 55vh; overflow-y: auto; padding: 2px; }
.limited-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 600; }
.limited-chip { background: #02b757; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 2px; }
/* serial numbers of Limited copies */
.item-card .serial-tag { position: absolute; right: 6px; top: 6px; background: rgba(0,0,0,.72); color: #ffd23f; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 2px; z-index: 1; }
.serial-pill { background: #393b3d; color: #ffd23f; font-weight: 700; }
.owners-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; max-height: 320px; overflow-y: auto; }
.owner-row { display: flex; align-items: center; gap: 8px; }
/* admin announcement */
.announcement-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 14px; color: #fff; font-weight: 600; box-shadow: var(--shadow); }
.announcement-bar.blue { background: #00a2ff; } .announcement-bar.green { background: #02b757; }
.announcement-bar.orange { background: #f68802; } .announcement-bar.red { background: #d0021b; }
.announcement-text { flex: 1; overflow-wrap: anywhere; }
.announcement-close { background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; opacity: .85; }
.item-card .card-tags { position: absolute; left: 6px; top: 6px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 1; }
.item-card .card-tags .limited-tag { position: static; }

/* ---------------------------------------------------------------- groups */
.group-emblem { display: inline-flex; align-items: center; justify-content: center; color: #fff; border-radius: 6px; font-weight: 700; flex: none; text-shadow: 0 1px 2px rgba(0,0,0,.35); box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.group-emblem.md { width: 56px; height: 56px; font-size: 28px; }
.group-emblem.lg { width: 72px; height: 72px; font-size: 36px; }
.group-emblem.xl { width: 140px; height: 140px; font-size: 72px; border-radius: 10px; }
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.group-card { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: var(--radius); background: var(--bg, #f2f4f5); color: var(--text); }
.group-card:hover { box-shadow: var(--shadow); text-decoration: none; }
html[data-theme="dark"] .group-card { background: #2b2d2f; }
.gc-info { min-width: 0; }
.gc-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-role { background: var(--blue); color: #fff; font-size: 11px; }
.group-header { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.group-header h1 { margin: 0 0 4px; }
.gh-main { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
.gh-stats { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.shout-text { font-size: 18px; font-weight: 600; margin-bottom: 4px; overflow-wrap: anywhere; }
.group-about { white-space: pre-wrap; overflow-wrap: anywhere; }
.wall-post, .member-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.member-row { align-items: center; flex-wrap: wrap; }
.wall-head img { width: 44px; height: 44px; border-radius: 50%; background: #d4d4d4; display: block; }
.wall-body { flex: 1; min-width: 0; }
.wall-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2px; }
.member-info { flex: 1; display: flex; gap: 8px; align-items: center; min-width: 160px; }
.role-owner { background: #f5cd30; color: #393b3d; } .role-admin { background: #6b327c; color: #fff; } .role-member { background: #e3e3e3; color: #393b3d; }
.icon-pick { display: flex; flex-wrap: wrap; gap: 4px; }
.icon-pick .btn { min-width: 38px; font-size: 18px; }
.robis-badge .rb-icon { font-size: 34px; line-height: 1.2; }

/* Admin Panel: badges */
.badge-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border: 1px solid var(--border); border-radius: 18px; background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; opacity: .55; filter: grayscale(.8); transition: opacity .12s, filter .12s, background .12s; }
.badge-toggle:hover { opacity: .9; filter: none; }
.badge-toggle.on { opacity: 1; filter: none; border-color: #00a2ff; background: rgba(0, 162, 255, .1); font-weight: 600; }
.badge-icon { display: inline-flex; width: 20px; height: 20px; }
.badge-icon svg, .badge-icon img, .badge-big svg, .badge-big img { width: 100%; height: 100%; }
.badge-give { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.badge-give h3 { margin: 0 0 4px; }
.badge-give .input { max-width: 260px; }
.badge-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.badge-card { border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.badge-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.badge-card-head > div { flex: 1; min-width: 0; }
.badge-big { display: inline-flex; width: 34px; height: 34px; flex: none; }
.badge-count { min-width: 26px; padding: 2px 8px; border-radius: 12px; background: var(--border); text-align: center; font-weight: 700; font-size: 13px; }
.badge-holders { display: flex; flex-wrap: wrap; gap: 6px; }
.holder-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 4px 2px 2px; border: 1px solid var(--border); border-radius: 16px; font-size: 13px; }
.holder-chip img { width: 22px; height: 22px; border-radius: 50%; }
.holder-chip button { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 4px; opacity: .6; }
.holder-chip button:hover { opacity: 1; color: #d0021b; }

/* Admin Panel: promo codes */
.promo-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 12px; }
.promo-found, .promo-chosen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.promo-chosen .holder-chip { padding: 3px 4px 3px 10px; }
.promo-made { margin-top: 14px; border: 1px solid var(--border); border-radius: 6px; padding: 10px; }
.promo-codes { margin: 8px 0 0; max-height: 220px; overflow: auto; font-size: 15px; letter-spacing: 1px; user-select: all; }
.promo-table code { font-size: 14px; letter-spacing: .5px; }
.promo-state.on { background: #02b757; color: #fff; }
.promo-state.off { background: #8a8a8a; color: #fff; }
.promo-actions { white-space: nowrap; }
.promo-actions .btn + .btn { margin-left: 4px; }
.promo-items-field { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; max-width: 420px; }

/* The Hunt link in the menu */
.hunt-nav .hunt-dot { width: 15px; height: 15px; margin: 0 2px; border-radius: 3px; transform: rotate(45deg); flex: none; background: linear-gradient(135deg, #f3dcff, #b45cff 50%, #4a1a9c); box-shadow: 0 0 8px rgba(180,92,255,.8); }
.hunt-nav span:last-child { font-weight: 700; }
.hunt-admin-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px 12px; }
.hunt-dot-mini { width: 14px; height: 14px; border-radius: 50%; border: 2px dashed #ffc400; flex: none; }
.hunt-dot-mini.got { border: 0; background: radial-gradient(circle at 35% 35%, #fff6c4, #ffc400 45%, #b37f00); }

/* Admin Panel: header, tabs, dashboard, servers, settings */
.admin-title { display: flex; align-items: center; gap: 12px; }
.admin-role { background: #d0021b; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; text-transform: uppercase; letter-spacing: 1px; }
.tabs.admin-tabs { display: flex; flex-wrap: wrap; }
.tabs.admin-tabs button { flex: 0 1 auto; min-width: 96px; padding-left: 16px; padding-right: 16px; }
.dash-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 18px; }
.dash-tile { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; border-top: 4px solid var(--border); }
.dash-tile.blue { border-top-color: #00a2ff; } .dash-tile.green { border-top-color: #02b757; } .dash-tile.red { border-top-color: #d0021b; }
.dash-value { font-size: 26px; font-weight: 800; line-height: 1.1; }
.dash-label { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.dash-sub { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.dash-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; }
.dash-chart { border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.dash-chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.dash-bars { display: flex; align-items: flex-end; gap: 2px; height: 140px; }
.dash-bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; cursor: default; }
.dash-bar-col:hover .dash-bar { filter: brightness(1.15); }
.dash-bar { width: 70%; background: #00a2ff; border-radius: 4px 4px 0 0; }
.dash-bar-val { font-size: 11px; color: var(--text); min-height: 14px; }
.dash-bar-day { font-size: 9px; color: var(--text-light); height: 14px; white-space: nowrap; margin-top: 3px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.dash-card { border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.dash-card h3 { margin: 0 0 8px; font-size: 16px; }
.online-pill { background: #02b757; color: #fff; }
.server-card { border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.server-card .promo-chosen { margin-top: 8px; }
.settings-section { border-bottom: 1px solid var(--border); padding: 4px 0 16px; margin-bottom: 14px; }
.settings-section h3 { margin: 0 0 4px; }
.social-row { margin-bottom: 6px; }
.banned-chip { border-color: #d0021b; }

/* Social links (Admin Panel → Settings) */
.social-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0; }
.social-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; }
.social-link:hover { border-color: #29a9eb; text-decoration: none; }
.social-icon { display: inline-flex; width: 22px; height: 22px; flex: none; }
.social-icon svg { width: 100%; height: 100%; }
.footer-socials { margin-bottom: 14px; }
.nav-social .social-icon { width: 22px; height: 22px; }
.social-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin: 16px 0; border-radius: 10px; color: #fff; text-decoration: none; background: linear-gradient(120deg, #1d8fd6, #29a9eb 60%, #5ec6ff); box-shadow: 0 2px 8px rgba(0, 120, 200, .25); }
.social-banner:hover { text-decoration: none; filter: brightness(1.05); }
.social-banner-icon { width: 46px; height: 46px; flex: none; display: inline-flex; }
.social-banner-icon svg { width: 100%; height: 100%; }
.social-banner-text { flex: 1; display: flex; flex-direction: column; }
.social-banner-text b { font-size: 18px; }
.social-banner .btn { background: #fff; color: #1d8fd6; border-color: #fff; font-weight: 700; }
.maintenance { text-align: center; padding: 60px 16px; }
.maintenance img { width: 90px; margin-bottom: 16px; }
.maintenance h1 { margin: 0 0 8px; }
.maintenance p { color: var(--text-light); margin-bottom: 18px; }
.perm-dialog { max-height: 65vh; overflow: auto; }
.perm-block { border-bottom: 1px solid var(--border); padding: 4px 0 8px; }
.perm-opts { margin: 4px 0 4px 26px; padding: 8px 10px; border-left: 3px solid #00a2ff; background: rgba(0, 162, 255, .05); border-radius: 0 6px 6px 0; display: flex; flex-direction: column; gap: 6px; }
.perm-opt { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.perm-num span { flex: 1; }
.perm-num .input { width: 130px; padding: 4px 8px; }
.perm-chips { display: flex; flex-wrap: wrap; gap: 5px; width: 100%; }
.perm-chips .badge-toggle { padding: 3px 10px; }
.hunt-admin-card { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin: 10px 0; background: var(--panel); }
.hunt-admin-card.now.live { border-left: 4px solid #02b757; }
.hunt-admin-card h4 { margin: 0 0 6px; }
.hunt-state { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 3px 9px; border-radius: 10px; color: #fff; background: #888; }
.hunt-state.live { background: #02b757; }
.hunt-state.preview { background: #e8a400; }
.hunt-state.ended { background: #888; }
.hunt-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-bottom: 10px; }
.hunt-admin-card.event { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.hunt-admin-card.event.current { border-color: #02b757; }
.hunt-admin-card.event p { margin: 4px 0 6px; flex: 1; }
.hunt-admin-quests { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
.hunt-admin-quest { border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }
.hunt-testers { margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: rgba(232, 164, 0, .1); border: 1px dashed #e8a400; }
.holder-chip .chip-x { border: 0; background: none; color: inherit; cursor: pointer; font-size: 15px; padding: 0 0 0 6px; line-height: 1; }
.hunt-new-event { margin: 0; text-align: left; cursor: pointer; border-style: dashed; color: inherit; font: inherit; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.hunt-new-event:hover { border-color: #00a2ff; }
.custom-event .field { flex: 1; min-width: 140px; }
.prize-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.prize-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.prize-row .input { width: auto; min-width: 0; }
.prize-row input.input:first-child { flex: 1; min-width: 140px; }
.prize-row input[type=color] { width: 36px; height: 32px; padding: 0; border: 0; background: none; }
.quest-editor .field { display: block; margin-bottom: 8px; }
.warning-popup { text-align: center; }
.warning-icon { width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%; background: #f5a623; color: #fff; font-size: 34px; font-weight: 900; line-height: 54px; }
.btn-report { color: #d0021b; }
/* ---------------------------------------------------------------- Admin Panel 2.0 */
.adm { display: grid; grid-template-columns: 220px 1fr; gap: 0; background: var(--panel); border-radius: 12px; overflow: hidden; min-height: calc(100vh - 110px); box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.adm-side { background: linear-gradient(180deg, #14171f, #1b2130); color: #c9d1e3; display: flex; flex-direction: column; padding: 14px 10px; gap: 2px; position: sticky; top: 0; align-self: start; min-height: calc(100vh - 110px); }
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 6px; color: #fff; }
.adm-logo { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #00a2ff, #7b5cff); display: flex; align-items: center; justify-content: center; }
.adm-logo .adm-ic { width: 20px; height: 20px; color: #fff; }
.adm-brand-sub { font-size: 11px; color: #8b95ab; text-transform: uppercase; letter-spacing: 1px; }
.adm-group { font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; color: #6c7790; padding: 12px 10px 4px; font-weight: 700; }
.adm-link { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.adm-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.adm-link.active { background: linear-gradient(90deg, rgba(0,162,255,.25), rgba(0,162,255,.05)); color: #fff; box-shadow: inset 3px 0 0 #00a2ff; }
.adm-ic { width: 18px; height: 18px; display: inline-flex; flex: none; }
.adm-ic svg { width: 100%; height: 100%; }
.adm-count { margin-left: auto; font-size: 11px; font-weight: 800; border-radius: 9px; padding: 0 6px; }
.adm-count.on { background: #ff4d4f; color: #fff; }
.adm-side-foot { margin-top: auto; padding: 12px 10px 2px; font-size: 11px; color: #6c7790; border-top: 1px solid rgba(255,255,255,.08); }
.adm-main { min-width: 0; display: flex; flex-direction: column; }
.adm-top { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; position: sticky; top: 0; background: var(--panel); z-index: 5; }
.adm-page-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; }
.adm-page-title .adm-ic { width: 22px; height: 22px; color: #00a2ff; }
.adm-search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--bg, #f2f4f5); color: var(--text-light, #888); border-radius: 9px; padding: 7px 10px; cursor: pointer; font: inherit; font-size: 13px; margin-left: auto; }
html[data-theme="dark"] .adm-search { background: #2b2d2f; }
.adm-search:hover { border-color: #00a2ff; }
.adm-search-text { flex: 1; text-align: left; }
.adm-search kbd { font-size: 11px; border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-family: inherit; }
.adm-live { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-chip { font-size: 12px; border-radius: 12px; padding: 3px 9px; background: var(--bg, #f2f4f5); display: inline-flex; align-items: center; gap: 4px; }
html[data-theme="dark"] .adm-chip { background: #2b2d2f; }
.adm-chip.green b { color: #02b757; } .adm-chip.blue b { color: #00a2ff; }
.adm-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #02b757; box-shadow: 0 0 0 3px rgba(2,183,87,.2); animation: adm-pulse 2s infinite; }
@keyframes adm-pulse { 50% { box-shadow: 0 0 0 6px rgba(2,183,87,0); } }
.adm-body { padding: 18px 20px 30px; min-height: 300px; }
.adm-welcome { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding: 18px 20px; border-radius: 12px; margin-bottom: 16px; color: #fff; background: linear-gradient(120deg, #0d6efd, #7b5cff 60%, #c850c0); }
.adm-welcome h2 { margin: 0 0 4px; }
.adm-welcome p { margin: 0; color: rgba(255,255,255,.85) !important; }
.adm-qas { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-qa { display: flex; align-items: center; gap: 6px; border: 0; border-radius: 9px; padding: 9px 12px; background: rgba(255,255,255,.18); color: #fff; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; backdrop-filter: blur(4px); }
.adm-qa:hover { background: rgba(255,255,255,.3); }
.adm-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-filter { border: 1px solid var(--border); background: none; color: inherit; font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 16px; cursor: pointer; }
.adm-filter.on { background: #00a2ff; border-color: #00a2ff; color: #fff; }
.adm-feed { display: flex; flex-direction: column; }
.adm-day { font-weight: 800; font-size: 13px; margin: 14px 0 6px; color: var(--text-light, #888); text-transform: capitalize; }
.adm-feed-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--border); font-size: 14px; }
.adm-feed-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: #888; color: #fff; }
.adm-feed-ic .adm-ic { width: 15px; height: 15px; }
.adm-feed-ic.blue { background: #00a2ff; } .adm-feed-ic.green { background: #02b757; } .adm-feed-ic.orange { background: #f5a623; } .adm-feed-ic.red { background: #e23b3b; } .adm-feed-ic.purple { background: #7b5cff; }
.adm-feed-text { flex: 1; min-width: 0; }
.adm-feed-what { color: var(--text-light, #666); }
.adm-link-btn { border: 0; background: none; padding: 0; font: inherit; color: #00a2ff; cursor: pointer; font-weight: 700; }
.adm-link-btn:hover { text-decoration: underline; }
/* the player drawer */
.adm-drawer { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
.adm-drawer-shade { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .2s; pointer-events: auto; }
.adm-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(720px, 100vw); background: var(--panel); box-shadow: -8px 0 30px rgba(0,0,0,.25); transform: translateX(100%); transition: transform .2s ease-out; pointer-events: auto; display: flex; flex-direction: column; overflow: hidden; }
.adm-drawer.open .adm-drawer-shade { opacity: 1; }
.adm-drawer.open .adm-drawer-panel { transform: none; }
.adm-dhead { display: flex; gap: 16px; align-items: center; padding: 20px; background: linear-gradient(120deg, rgba(0,162,255,.12), rgba(123,92,255,.12)); position: relative; }
.adm-dname b { font-size: 22px; }
.adm-dclose { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; cursor: pointer; color: inherit; line-height: 1; }
.adm-dtabs { display: flex; gap: 2px; padding: 0 14px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.adm-dtabs button { border: 0; background: none; color: inherit; font: inherit; font-weight: 700; font-size: 14px; padding: 11px 12px; cursor: pointer; border-bottom: 3px solid transparent; opacity: .65; white-space: nowrap; }
.adm-dtabs button.active { opacity: 1; border-bottom-color: #00a2ff; }
.adm-dbody { flex: 1; overflow-y: auto; padding: 16px 20px 30px; }
.fact.big b { font-size: 18px; color: #02b757; }
.fact.warn b { color: #e8a400; }
.warn-pill { background: #f5a623; color: #fff; margin-left: 6px; }
.adm-inv-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-inv { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.adm-inv-item { position: relative; }
.adm-inv-item .adm-take { position: absolute; top: 6px; right: 6px; opacity: 0; transition: opacity .15s; }
.adm-inv-item:hover .adm-take { opacity: 1; }
@media (hover: none) { .adm-inv-item .adm-take { opacity: 1; } }
.adm-robits { display: flex; flex-direction: column; padding: 14px; border-radius: 10px; background: linear-gradient(120deg, #02b757, #0aa37c); color: #fff; margin-bottom: 8px; }
.adm-robits .muted { color: rgba(255,255,255,.8) !important; }
.adm-robits b { font-size: 28px; }
.btn-orange { background: #f5a623; border-color: #f5a623; color: #fff; }
.adm-banbox { margin-top: 12px; padding: 10px; border-radius: 8px; background: rgba(208,2,27,.1); color: #d0021b; }
.adm-notes { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.adm-note { position: relative; padding: 8px 30px 8px 10px; border-radius: 8px; background: var(--bg, #f2f4f5); border-left: 3px solid #00a2ff; }
html[data-theme="dark"] .adm-note { background: #2b2d2f; }
.adm-note.warn { border-left-color: #f5a623; }
.adm-note-x { position: absolute; top: 4px; right: 6px; border: 0; background: none; cursor: pointer; font-size: 16px; color: inherit; opacity: .6; }
.mini-list.tall { max-height: 420px; }
/* item picker */
.adm-picker .row { margin-bottom: 8px; }
.adm-pick-chosen { display: flex; gap: 6px; flex-wrap: wrap; min-height: 28px; margin: 6px 0 10px; align-items: center; }
.adm-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; max-height: 55vh; overflow-y: auto; padding: 2px; }
.adm-pick { border: 2px solid transparent; border-radius: 10px; background: none; padding: 4px; cursor: pointer; text-align: left; color: inherit; font: inherit; display: flex; flex-direction: column; gap: 4px; }
.adm-pick:hover { border-color: rgba(0,162,255,.4); }
.adm-pick.on { border-color: #00a2ff; background: rgba(0,162,255,.08); }
.adm-pick.owned { opacity: .55; }
.adm-pick .item-card, .adm-pick a { pointer-events: none; }
.adm-pick-tags { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.limited-pill { background: #02b757; color: #fff; }
.adm-give-item { max-width: 160px; margin-bottom: 8px; }
/* search */
.adm-palette { position: fixed; inset: 0; z-index: 1000; background: rgba(10,14,25,.55); display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; backdrop-filter: blur(2px); }
.adm-pal-box { width: min(620px, 94vw); background: var(--panel); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.4); overflow: hidden; }
.adm-pal-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.adm-pal-input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: inherit; }
.adm-pal-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.adm-pal-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; color: inherit; font: inherit; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.adm-pal-row.sel { background: rgba(0,162,255,.12); }
.adm-pal-label { flex: 1; }
.adm-pal-kind { font-size: 11px; color: var(--text-light, #888); text-transform: uppercase; letter-spacing: 1px; }
.adm-pal-head { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: #d4d4d4; flex: none; }
.adm-pal-head img { width: 100%; height: 100%; }
/* reports */
.adm-reports { display: flex; flex-direction: column; gap: 10px; }
.adm-report { border: 1px solid var(--border); border-left: 4px solid #f5a623; border-radius: 10px; padding: 12px 14px; }
.adm-report.resolved { border-left-color: #02b757; } .adm-report.dismissed { border-left-color: #999; opacity: .8; }
.adm-report-head { display: flex; gap: 12px; align-items: center; }
.adm-report-head .admin-head { border: 0; padding: 0; cursor: pointer; }
.adm-report-reason { font-weight: 800; margin-top: 8px; }
.adm-report-details { margin-top: 4px; font-style: italic; }
.report-state { text-transform: uppercase; font-size: 11px; }
.report-state.open { background: #f5a623; color: #fff; } .report-state.resolved { background: #02b757; color: #fff; }
.adm-empty-big { text-align: center; padding: 50px 10px; color: var(--text-light, #888); font-weight: 700; }
.adm-empty-ic { width: 46px; height: 46px; display: inline-flex; margin-bottom: 8px; color: #02b757; }
/* gift center */
.adm-gift-hero { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.adm-gift-hero h3 { margin: 0; }
.adm-gift-hero p { margin: 4px 0 0; }
.adm-gift-ic { width: 52px; height: 52px; padding: 11px; border-radius: 14px; background: linear-gradient(135deg, #ff7a59, #ff3d77); color: #fff; display: inline-flex; flex: none; }
.adm-gift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.adm-card { border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.adm-card h4 { margin: 0; }
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; min-height: 0; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 8px; }
  .adm-brand, .adm-group, .adm-side-foot { display: none; }
  .adm-nav { display: flex; gap: 2px; }
  .adm-link { white-space: nowrap; width: auto; }
  .adm-search-text, .adm-search kbd { display: none; }
  .adm-search { max-width: 44px; flex: none; margin-left: 0; }
}
.discord-steps { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.discord-more { margin-top: 12px; } .discord-more summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }

/* ------------------------------------------------------------ 2026 polish (still 2019 at heart) */
:root { --radius: 6px; --shadow: 0 1px 3px rgba(25,25,25,.08), 0 4px 14px rgba(25,25,25,.07); --ease: cubic-bezier(.2,.8,.2,1); }
html[data-theme="dark"] { --shadow: 0 1px 3px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.25); }
.rbx-header { background: linear-gradient(90deg, #0090e6, var(--blue) 40%, #19adff); box-shadow: 0 2px 8px rgba(0,60,110,.25); }
.rbx-header nav.main a { transition: background .15s; }
.rbx-header nav.main a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.rbx-header nav.main a.active { background: rgba(255,255,255,.22); }
.rbx-content > * { animation: page-in .35s var(--ease) both; }
.rbx-content > *:nth-child(2) { animation-delay: .04s; }
.rbx-content > *:nth-child(3) { animation-delay: .08s; }
.rbx-content > *:nth-child(n+4) { animation-delay: .12s; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.btn { transition: background .15s, transform .1s, box-shadow .15s, filter .15s; }
.btn:not(:disabled):active { transform: scale(.96); }
.btn-primary:not(:disabled):hover, .btn-green:not(:disabled):hover { box-shadow: 0 3px 10px rgba(0,120,200,.25); }
.btn-green:not(:disabled):hover { box-shadow: 0 3px 10px rgba(2,140,70,.3); }
.game-card, .item-card { transition: transform .18s var(--ease), box-shadow .18s; }
.game-card:hover, .item-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.game-card .thumb img, .item-card .thumb img { transition: transform .35s var(--ease); }
.game-card:hover .thumb img, .item-card:hover .thumb img { transform: scale(1.06); }
.rbx-leftnav a { margin: 1px 8px; border-radius: 8px; padding: 8px 10px; transition: background .15s; }
.rbx-leftnav a.active { background: rgba(0,162,255,.12); color: var(--blue); }
.rbx-leftnav a.active::before { display: none; }
.rbx-leftnav a.active svg { opacity: 1; }
.modal { border-radius: 10px; overflow: hidden; animation: modal-in .2s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.modal-backdrop { backdrop-filter: blur(3px); }
.section-header h2 { position: relative; }
.input, input.input, select.input, textarea.input { transition: border-color .15s, box-shadow .15s; }
.input:focus { box-shadow: 0 0 0 3px rgba(0,162,255,.2); }
@media (prefers-reduced-motion: reduce) { .rbx-content > *, .modal { animation: none; } .game-card:hover, .item-card:hover { transform: none; } }

/* ------------------------------------------------------------ fun: confetti, Daily Spin, secret, poke */
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 5000; }
.spin-banner { align-items: center; gap: 14px; background: linear-gradient(100deg, var(--panel) 55%, rgba(255,196,0,.18)); }
.spin-mini { width: 40px; height: 40px; border-radius: 50%; flex: none; background: conic-gradient(#00a2ff 0 45deg,#02b757 0 90deg,#f5a623 0 135deg,#7b5cff 0 180deg,#ff4d8d 0 225deg,#e8590c 0 270deg,#00c2c2 0 315deg,#ffc400 0); animation: spin-idle 6s linear infinite; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,.25); }
@keyframes spin-idle { to { transform: rotate(360deg); } }
.spin-nav .spin-dot { width: 18px; height: 18px; margin: 0 2px; border-radius: 50%; flex: none; background: conic-gradient(#00a2ff 0 90deg,#02b757 0 180deg,#ffc400 0 270deg,#ff4d8d 0); }
.spin-box { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.spin-wrap { position: relative; width: 260px; height: 260px; }
.spin-wheel { width: 100%; height: 100%; border-radius: 50%; position: relative; border: 6px solid #fff; box-shadow: 0 0 0 3px #393b3d, 0 8px 24px rgba(0,0,0,.3); transition: transform 4s cubic-bezier(.12,.75,.1,1); }
.spin-label { position: absolute; left: 50%; top: 50%; width: 80px; margin-left: -40px; margin-top: -8px; color: #fff; font-weight: 800; font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.6); transform-origin: 50% 50%; white-space: nowrap; }
.spin-pointer { position: absolute; left: 50%; top: -10px; margin-left: -14px; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid #e2231a; z-index: 2; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.spin-hub { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: #fff url(/RoBi19/img/icon.svg) center/26px no-repeat; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.spin-result { min-height: 24px; font-size: 18px; }
body.secret-spin .rbx-content { animation: secret-spin 1.2s var(--ease); }
@keyframes secret-spin { to { transform: rotate(360deg); } }
.btn-poke:hover { animation: poke-nudge .4s; }
@keyframes poke-nudge { 50% { transform: translateX(4px); } }

/* ------------------------------------------------------------ Admin Panel 3.0: new sections */
.adm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 14px 0; }
.adm-card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); margin-bottom: 14px; }
.adm-cards .adm-card { margin-bottom: 0; }
.adm-card-head { display: flex; flex-direction: column; gap: 2px; }
.adm-card-head b { font-size: 16px; }
.adm-sub { font-weight: 700; font-size: 13px; margin-top: 4px; }
.adm-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 14px; color: #fff; margin-bottom: 14px; position: relative; overflow: hidden; }
.adm-hero h2 { margin: 0 0 4px; }
.adm-hero p { margin: 0; color: rgba(255,255,255,.88) !important; }
.adm-hero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); }
.adm-hero.spin { background: linear-gradient(120deg, #f5a623, #ff4d8d 55%, #7b5cff); }
.adm-hero.live { background: linear-gradient(120deg, #02b757, #00a2ff 60%, #7b5cff); }
.adm-hero.polls { background: linear-gradient(120deg, #00a2ff, #00c2c2); }
.adm-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; position: relative; z-index: 1; }
.adm-switch input { display: none; }
.adm-switch span { width: 50px; height: 28px; border-radius: 14px; background: rgba(0,0,0,.3); position: relative; transition: background .2s; }
.adm-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.adm-switch input:checked + span { background: #02b757; }
.adm-switch input:checked + span::after { transform: translateX(22px); }
.adm-spin-editor { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-top: 14px; }
.adm-spin-left { width: 280px; flex: none; text-align: center; }
.adm-spin-preview { margin: 12px auto; }
.adm-spin-right { flex: 1; min-width: 300px; }
.spin-rows { display: flex; flex-direction: column; gap: 6px; }
.spin-row { display: grid; grid-template-columns: 34px minmax(0, 1.3fr) 76px minmax(0, 1.2fr) 66px 56px 128px; gap: 6px; align-items: center; }
.spin-row.head { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-light); }
.spin-row input[type=color] { width: 32px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; }
.spin-row .input { padding: 5px 7px; min-width: 0; }
.spin-item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.spin-chance { font-weight: 700; font-size: 13px; text-align: right; }
.spin-boost { background: linear-gradient(90deg, #ffc400, #ff8a3d); color: #3a2400; font-weight: 800; border-radius: 8px; padding: 6px 12px; animation: boost-glow 1.5s ease-in-out infinite alternate; }
@keyframes boost-glow { to { box-shadow: 0 0 16px rgba(255,196,0,.7); } }
.spin-nav.boost::after { content: 'BOOST'; margin-left: auto; font-size: 10px; font-weight: 800; background: #ffc400; color: #3a2400; border-radius: 8px; padding: 1px 6px; }
.qe-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--gray-bg); border-radius: 10px; padding: 3px; }
.qe-seg button { border: 0; background: none; color: inherit; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 8px; cursor: pointer; }
.qe-seg button.on { background: var(--panel); color: var(--blue); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.decor-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.decor-opt { border: 2px solid var(--border); background: var(--panel); color: inherit; font: inherit; border-radius: 10px; padding: 8px 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; transition: border-color .15s, transform .15s; }
.decor-opt:hover { transform: translateY(-2px); border-color: var(--blue); }
.decor-opt.on { border-color: #02b757; background: rgba(2,183,87,.08); }
.decor-icon { font-size: 24px; }
.poll-edit { display: flex; flex-direction: column; gap: 6px; }
.poll-card { border-left: 4px solid var(--blue); }
.poll-head { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 10px; }
.poll-options { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.poll-option { justify-content: flex-start; text-align: left; }
.poll-option:hover { border-color: var(--blue); color: var(--blue); }
.poll-result { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 8px; background: var(--gray-bg); overflow: hidden; }
.poll-result > span, .poll-result > b { position: relative; z-index: 1; }
.poll-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(0,162,255,.18); border-radius: 8px; transition: width .6s var(--ease); }
.poll-result.top .poll-fill { background: rgba(2,183,87,.25); }
.poll-result.mine { outline: 2px solid var(--blue); }
.adm-console { background: #0f1117; color: #d7dae0; border-radius: 12px; font-family: Consolas, 'Courier New', monospace; font-size: 13px; padding: 12px 14px; cursor: text; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.adm-console-out { height: 340px; overflow-y: auto; white-space: pre-wrap; }
.cline { padding: 1px 0; }
.cline.cmd { color: #7dd3fc; } .cline.ok { color: #4ade80; } .cline.err { color: #f87171; } .cline.muted { color: #8b95ab; }
.adm-console-row { display: flex; gap: 8px; align-items: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; margin-top: 6px; }
.adm-console-row span { color: #4ade80; font-weight: 700; }
.adm-console-in { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: inherit; }
.adm-cmds { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; margin-top: 12px; }
.adm-cmd { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 1px solid var(--border); background: var(--panel); color: inherit; font: inherit; border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.adm-cmd:hover { border-color: var(--blue); }
.adm-cmd code { font-size: 12px; color: var(--blue); word-break: break-word; }
/* quick event */
.hunt-new-event.quick { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(120deg, #00a2ff, #ff4d8d, #ffc400) border-box; }
.quick-event { display: flex; flex-direction: column; gap: 8px; }
.qe-step { font-weight: 800; font-size: 13px; margin-top: 6px; }
.qe-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.qe-map { border: 3px solid transparent; border-radius: 12px; color: #fff; padding: 14px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; text-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .15s, border-color .15s; }
.qe-map:hover { transform: translateY(-2px); }
.qe-map.on { border-color: #ffc400; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.qe-icon { font-size: 30px; }
.qe-prizes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.qe-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--gray-bg); border-radius: 14px; padding: 3px 10px; font-size: 13px; }
.qe-chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.qe-chip.bonus { background: rgba(123,92,255,.12); }
/* decorations falling on the site, banners for live events */
.decor-layer { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.decor-bit { position: absolute; top: -40px; animation: decor-fall linear infinite; opacity: .85; }
.decor-snow .decor-bit { color: #fff; text-shadow: 0 0 3px rgba(0,80,160,.5); }
@keyframes decor-fall { from { transform: translate(0, -40px) rotate(0); } 50% { transform: translate(30px, 50vh) rotate(180deg); } to { transform: translate(-10px, 105vh) rotate(360deg); } }
.decor-close { position: fixed; left: 8px; bottom: 8px; pointer-events: auto; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.has-tabbar .decor-close { bottom: 66px; }
.live-banner { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 5001; background: linear-gradient(120deg, #00a2ff, #7b5cff); color: #fff; padding: 14px 26px; border-radius: 14px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); animation: banner-in .4s var(--ease); max-width: calc(100vw - 32px); }
.live-banner b { font-size: 22px; display: block; }
.live-banner.out { opacity: 0; transform: translate(-50%, -20px); transition: all .5s; }
@keyframes banner-in { from { opacity: 0; transform: translate(-50%, -30px) scale(.9); } }
@media (max-width: 700px) { .spin-row { grid-template-columns: 30px 1fr 64px; } .spin-row > :nth-child(n+4) { grid-column: span 1; } .spin-row.head { display: none; } .adm-spin-left { width: 100%; } }

/* ------------------------------------------------------------ Halloween theme (Settings -> Theme) */
html[data-skin="halloween"] {
  --blue: #ff7a1a;
  --blue-dark: #c95500;
  --blue-hover: #ff9a4a;
  --gray-bg: #160f1f;
  --panel: #241a31;
  --border: #3b2c4d;
  --text-light: #c9b8dc;
}
html[data-skin="halloween"] body {
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 246, 214, .10) 0 60px, transparent 61px),
    radial-gradient(ellipse at 50% 120%, rgba(255, 122, 26, .12), transparent 60%),
    var(--gray-bg);
  background-attachment: fixed;
}
html[data-skin="halloween"] .rbx-header { background: linear-gradient(90deg, #1a0f24, #3a1c52 45%, #ff7a1a); box-shadow: 0 2px 12px rgba(255, 122, 26, .25); }
html[data-skin="halloween"] .rbx-header .logo::after { content: '🎃'; font-size: 18px; margin-left: 6px; display: inline-block; animation: hw-bob 2.4s ease-in-out infinite; }
html[data-skin="halloween"] .rbx-leftnav { background: #1c1427; border-color: var(--border); }
html[data-skin="halloween"] .rbx-leftnav a.active { background: rgba(255, 122, 26, .16); color: #ff9a4a; }
html[data-skin="halloween"] .rbx-leftnav a:hover { background: rgba(255, 122, 26, .08); }
html[data-skin="halloween"] .panel, html[data-skin="halloween"] .game-card, html[data-skin="halloween"] .item-card, html[data-skin="halloween"] .modal, html[data-skin="halloween"] .dropdown { background: var(--panel); border-color: var(--border); }
html[data-skin="halloween"] .game-card:hover, html[data-skin="halloween"] .item-card:hover { box-shadow: 0 8px 24px rgba(255, 122, 26, .25); }
html[data-skin="halloween"] .btn { background: #33244a; border-color: #4e3a6a; }
html[data-skin="halloween"] .btn:hover { background: #3f2d5a; }
html[data-skin="halloween"] .btn-primary { background: #ff7a1a; border-color: #ff7a1a; color: #1a0f24; font-weight: 700; }
html[data-skin="halloween"] .btn-primary:hover { background: #ff9a4a; }
html[data-skin="halloween"] .btn-green { background: #7b3fbf; border-color: #7b3fbf; color: #fff; }
html[data-skin="halloween"] .btn-green:hover { background: #8f52d6; }
html[data-skin="halloween"] a { color: #ff9a4a; }
html[data-skin="halloween"] .input, html[data-skin="halloween"] select, html[data-skin="halloween"] textarea { background: #1a1224; border-color: #4e3a6a; }
html[data-skin="halloween"] .section-header h2::after { content: ' 🦇'; font-size: .7em; }
html[data-skin="halloween"] .tabbar { background: #1c1427; }
html[data-skin="halloween"] .adm-side { background: linear-gradient(180deg, #1a0f24, #2a1838); }
html[data-skin="halloween"] .adm, html[data-skin="halloween"] .adm-top { background: var(--panel); }
html[data-skin="halloween"] .footer::before { content: '🕸️  🎃  🦇  👻  🕸️'; display: block; text-align: center; margin-bottom: 8px; letter-spacing: 6px; }
@keyframes hw-bob { 50% { transform: translateY(-3px) rotate(-8deg); } }
/* a few bats fly across the top of the page */
html[data-skin="halloween"] body::after {
  content: '🦇'; position: fixed; top: 60px; left: -40px; font-size: 22px; z-index: 55; pointer-events: none;
  animation: hw-bat 18s linear infinite; opacity: .8;
}
@keyframes hw-bat { 0% { transform: translate(0, 0); } 25% { transform: translate(30vw, 30px); } 50% { transform: translate(60vw, -10px); } 75% { transform: translate(85vw, 40px); } 100% { transform: translate(110vw, 0); } }
@media (prefers-reduced-motion: reduce) { html[data-skin="halloween"] body::after, html[data-skin="halloween"] .rbx-header .logo::after { animation: none; } }

/* ------------------------------------------------------------ Admin Abuse */
.adm-hero.abuse { background: linear-gradient(120deg, #c4281c, #ff3b3b 45%, #ff9a2a); }
.adm-hero.abuse.live { animation: abuse-pulse 2s ease-in-out infinite alternate; }
@keyframes abuse-pulse { to { box-shadow: 0 0 24px rgba(255, 59, 59, .55); } }
.abuse-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; }
.abuse-game { border: 2px solid var(--border); background: var(--panel); color: inherit; font: inherit; border-radius: 10px; padding: 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.abuse-game.on { border-color: #ff3b3b; background: rgba(255, 59, 59, .08); }
.abuse-start { background: linear-gradient(120deg, #c4281c, #ff3b3b); color: #fff; border: 0; font-size: 18px; font-weight: 800; padding: 14px; letter-spacing: 1px; }
.abuse-start:hover { filter: brightness(1.1); }
.abuse-fx { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.abuse-tile { position: relative; border: 2px solid var(--border); background: var(--panel); color: inherit; font: inherit; border-radius: 12px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; transition: transform .15s, border-color .15s; }
.abuse-tile:hover { transform: translateY(-2px); border-color: #ff3b3b; }
.abuse-tile.on { border-color: #02b757; background: rgba(2, 183, 87, .1); }
.abuse-icon { font-size: 28px; }
.abuse-state { position: absolute; top: 8px; right: 10px; font-size: 11px; font-weight: 800; color: var(--text-light); }
.abuse-tile.on .abuse-state { color: #02b757; }
.abuse-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4000; display: flex; align-items: center; gap: 10px; background: linear-gradient(120deg, #c4281c, #ff3b3b 60%, #ff9a2a); color: #fff; border-radius: 14px; padding: 8px 10px 8px 14px; box-shadow: 0 8px 26px rgba(196, 40, 28, .45); max-width: calc(100vw - 24px); animation: banner-in .4s var(--ease); }
.has-tabbar .abuse-bar { bottom: 70px; }
.abuse-fire { font-size: 22px; animation: hw-bob 1s ease-in-out infinite; }
.abuse-text { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abuse-join { background: #fff !important; color: #c4281c !important; border: 0 !important; font-weight: 800; }
.abuse-x { border: 0; background: none; color: #fff; font-size: 20px; cursor: pointer; opacity: .8; }
html[data-skin="halloween"] .social-banner { background: linear-gradient(90deg, #3a1c52, #7b3fbf); color: #fff; }
html[data-skin="halloween"] .social-banner b, html[data-skin="halloween"] .social-banner span { color: #fff; }
.scam-note { margin: 6px 0; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; background: rgba(255, 196, 0, .15); color: #8a6400; border: 1px solid rgba(255, 196, 0, .5); }
.scam-note.scam { background: rgba(226, 59, 59, .12); color: #c4281c; border-color: rgba(226, 59, 59, .5); }
html[data-theme="dark"] .scam-note { color: #ffd23b; } html[data-theme="dark"] .scam-note.scam { color: #ff8080; }

/* ------------------------------------------------------------ sales */
.sale-banner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 22px; border-radius: 14px; margin: 0 0 16px; color: #fff !important; text-decoration: none !important;
  background: linear-gradient(120deg, #0b0b0b, #2b2b2b 55%, #e8413c); box-shadow: 0 6px 22px rgba(0,0,0,.25); position: relative; overflow: hidden; }
.sale-banner::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 14px, transparent 14px 40px); pointer-events: none; }
.sale-banner.soon { background: linear-gradient(120deg, #1b1b1b, #3a3a3a 60%, #7b5cff); }
.sale-left { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sale-name { font-size: 24px; letter-spacing: 2px; font-weight: 900; }
.sale-pct { font-size: 30px; font-weight: 900; color: #ffd23b; animation: sale-pulse 1.4s ease-in-out infinite; }
@keyframes sale-pulse { 50% { transform: scale(1.08); } }
.sale-scope { opacity: .85; }
.sale-right { display: flex; flex-direction: column; align-items: flex-end; }
.sale-clock { font-family: Consolas, 'Courier New', monospace; font-size: 26px; font-weight: 800; background: rgba(0,0,0,.35); border-radius: 8px; padding: 2px 10px; }
.sale-badge { position: absolute; right: 6px; top: 6px; z-index: 2; background: #e8413c; color: #fff; font-weight: 800; font-size: 12px; border-radius: 6px; padding: 1px 6px; box-shadow: 0 2px 6px rgba(232,65,60,.4); }
.item-card .price .was { color: var(--text-light); font-weight: 400; font-size: 12px; margin-left: 4px; }
.sale-tag { margin-left: 10px; font-size: 15px; } .sale-tag b { color: #e8413c; }
.sale-line { margin: 6px 0 4px; color: #e8413c; font-weight: 700; font-size: 14px; }

/* ------------------------------------------------------------ wishlist + gifts */
.wish-btn.on { color: #e8413c; border-color: #e8413c; }
.gift-btn { border-color: #02b757; color: #02b757; }
html[data-theme="dark"] .gift-btn { color: #5fe89b; }
.wish-item { display: flex; flex-direction: column; gap: 6px; }
.gift-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 230px; overflow-y: auto; }
.gift-friend { border: 2px solid var(--border); background: var(--panel); color: inherit; font: inherit; font-size: 13px; border-radius: 10px; padding: 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gift-friend img { width: 54px; height: 54px; border-radius: 50%; background: #d4d4d4; }
.gift-friend.on { border-color: #02b757; background: rgba(2,183,87,.1); }
.gift-wraps { display: flex; gap: 8px; flex-wrap: wrap; }
.gift-wrap { width: 34px; height: 34px; border-radius: 8px; border: 3px solid transparent; cursor: pointer; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px) !important; }
.gift-wrap.on { border-color: var(--text); transform: scale(1.12); }
.gift-dialog { display: flex; flex-direction: column; gap: 8px; }
/* the present */
.present-stage { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; }
.present { --wrap: #e8413c; position: relative; width: 150px; height: 150px; cursor: pointer; animation: present-shake 1.6s ease-in-out infinite; }
.present-box { position: absolute; left: 10px; right: 10px; bottom: 0; height: 104px; border-radius: 6px; background: var(--wrap); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.18) 0 10px, transparent 10px 20px); box-shadow: inset 0 -10px 0 rgba(0,0,0,.15), 0 10px 22px rgba(0,0,0,.3); }
.present-ribbon { position: absolute; left: 50%; top: 0; bottom: 0; width: 20px; margin-left: -10px; background: #ffd23b; }
.present-lid { position: absolute; left: 0; right: 0; top: 18px; height: 36px; border-radius: 6px; background: var(--wrap); filter: brightness(1.1); box-shadow: 0 4px 0 rgba(0,0,0,.18); z-index: 2; transition: transform .8s cubic-bezier(.3,1.6,.5,1), opacity .8s; }
.present-lid::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 20px; margin-left: -10px; background: #ffd23b; }
.present-bow { position: absolute; left: 50%; top: -26px; width: 60px; height: 30px; margin-left: -30px; }
.present-bow::before, .present-bow::after { content: ''; position: absolute; top: 4px; width: 28px; height: 22px; border: 6px solid #ffd23b; border-radius: 50% 50% 50% 50%; }
.present-bow::before { left: 0; transform: rotate(-20deg); } .present-bow::after { right: 0; transform: rotate(20deg); }
.present:hover { animation-duration: .5s; }
@keyframes present-shake { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-6deg); } 80% { transform: rotate(6deg); } 90% { transform: rotate(-3deg); } }
.present-stage.opening .present { animation: present-jiggle .9s ease-in-out; }
@keyframes present-jiggle { 20% { transform: scale(1.1, .9); } 40% { transform: scale(.9, 1.1) rotate(-5deg); } 60% { transform: scale(1.08, .94) rotate(5deg); } 80% { transform: scale(.96, 1.05); } }
.present-stage.open .present-lid { transform: translate(90px, -160px) rotate(60deg); opacity: 0; }
.present-stage.open .present-box { animation: box-away .6s .3s forwards; }
@keyframes box-away { to { transform: translateY(40px) scale(.7); opacity: 0; } }
.present-reveal { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; transform: scale(.4) translateY(40px); pointer-events: none; text-align: center; transition: all .7s cubic-bezier(.3,1.5,.5,1) .4s; }
.present-stage.open .present-reveal { opacity: 1; transform: none; pointer-events: auto; }
.present-item { width: 170px; height: 170px; border-radius: 16px; background: radial-gradient(circle, rgba(255,210,59,.45), transparent 70%); animation: reveal-glow 2s ease-in-out infinite; }
.present-item img { width: 100%; height: 100%; object-fit: contain; }
@keyframes reveal-glow { 50% { filter: drop-shadow(0 0 14px rgba(255,210,59,.9)); } }
.present-msg { font-style: italic; color: var(--text-light); }
.present-hint { position: absolute; bottom: 4px; font-size: 13px; color: var(--text-light); }
.present-stage.opening .present-hint { display: none; }

/* ------------------------------------------------------------ appeals */
.banned-box { text-align: center; }
.appeal-form { display: flex; flex-direction: column; gap: 8px; }
.appeal-bans { display: flex; flex-direction: column; gap: 6px; }
.appeal-ban { border: 2px solid var(--border); background: var(--panel); color: inherit; font: inherit; border-radius: 10px; padding: 8px 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.appeal-ban.on { border-color: var(--blue); background: rgba(0,162,255,.07); }
.appeal-active { color: #e8413c; font-weight: 700; }
.appeal-preview { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.appeal-preview img, .appeal-preview video, .appeal-media { max-width: 100%; max-height: 320px; border-radius: 8px; border: 1px solid var(--border); }
.appeal-old { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 10px; background: var(--gray-bg); }
.appeal-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.appeal-status { font-weight: 700; }
.appeal-row.accepted .appeal-status { color: #02b757; } .appeal-row.denied .appeal-status { color: #e8413c; } .appeal-row.open .appeal-status { color: #f5a623; }
.appeal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.appeal-card { border: 1px solid var(--border); border-left: 4px solid #f5a623; background: var(--panel); color: inherit; font: inherit; border-radius: 10px; padding: 10px 12px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.appeal-card.accepted { border-left-color: #02b757; } .appeal-card.denied { border-left-color: #e8413c; }
.appeal-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.appeal-snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adm-hero.sales { background: linear-gradient(120deg, #1b1b1b, #e8413c); }
.adm-hero.overwatch { background: linear-gradient(120deg, #1b2a35, #ff8a3d); }
.adm-hero.bots { background: linear-gradient(120deg, #3a4a5c, #00a2ff 55%, #02b757); }

/* ------------------------------------------------------------ Overwatch */
.ow-hero { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px; color: #fff; margin-bottom: 14px; background: linear-gradient(120deg, #11161d, #1b2a35 55%, #ff8a3d); }
.ow-hero h1 { margin: 0; color: #fff; } .ow-hero p { margin: 4px 0 0; color: rgba(255,255,255,.85); }
.ow-logo { font-size: 48px; }
.ow-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.ow-stat { background: var(--panel); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ow-stat b { font-size: 24px; } .ow-stat span { color: var(--text-light); font-size: 13px; }
.ow-last { margin-bottom: 12px; font-weight: 700; }
.ow-intro { text-align: center; } .ow-intro p { max-width: 640px; margin: 8px auto; }
.ow-case-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ow-viewer { border-radius: 12px; overflow: hidden; background: #0f1117; }
.ow-stage { position: relative; }
.ow-canvas { width: 100%; height: min(60vh, 520px); display: block; cursor: grab; }
.ow-legend { position: absolute; left: 10px; top: 10px; color: #fff; background: rgba(0,0,0,.5); border-radius: 8px; padding: 4px 10px; font-size: 14px; }
.ow-sus { background: #e8413c; color: #fff; font-weight: 800; font-size: 11px; border-radius: 4px; padding: 1px 6px; }
.ow-controls { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #161a22; flex-wrap: wrap; }
.ow-controls .btn { background: #2a303c; color: #fff; border-color: #3a4252; }
.ow-controls .btn.on { background: #ff8a3d; border-color: #ff8a3d; }
.ow-time { flex: 1; min-width: 160px; accent-color: #ff8a3d; }
.ow-clock { color: #cfd6e4; font-family: Consolas, monospace; font-size: 13px; min-width: 84px; text-align: center; }
.ow-verdict { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.ow-watched { height: 6px; border-radius: 3px; background: var(--gray-bg); overflow: hidden; }
.ow-watched > div { height: 100%; width: 0; background: linear-gradient(90deg, #ff8a3d, #02b757); transition: width .3s; }
.ow-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ow-tag { border: 1px solid var(--border); background: var(--panel); color: inherit; font: inherit; font-size: 13px; border-radius: 16px; padding: 5px 12px; cursor: pointer; }
.ow-tag.on { background: #ff8a3d; border-color: #ff8a3d; color: #fff; }
.ow-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ow-table th, .ow-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.ow-acc { font-weight: 800; } .ow-acc.good, .ow-right { color: #02b757; } .ow-acc.ok { color: #f5a623; } .ow-acc.bad, .ow-wrong { color: #e8413c; }
.ow-access { display: flex; flex-wrap: wrap; gap: 6px; }

/* ------------------------------------------------------------ Robis look v2: easy on the eyes, still 2019 */
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-display: swap; src: url(/RoBi19/fonts/source-sans-3-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-weight: 400; font-display: swap; src: url(/RoBi19/fonts/source-sans-3-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-display: swap; src: url(/RoBi19/fonts/source-sans-3-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-weight: 600; font-display: swap; src: url(/RoBi19/fonts/source-sans-3-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-weight: 700; font-display: swap; src: url(/RoBi19/fonts/source-sans-3-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-weight: 700; font-display: swap; src: url(/RoBi19/fonts/source-sans-3-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-weight: 800 900; font-display: swap; src: url(/RoBi19/fonts/source-sans-3-cyrillic-900-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-weight: 800 900; font-display: swap; src: url(/RoBi19/fonts/source-sans-3-latin-900-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --radius: 10px;
  --radius-lg: 14px;
  --gray-bg: #eef2f6;
  --text: #2f3237;
  --text-light: #6b7280;
  --border: #e3e7ee;
  --ring: 0 0 0 1px rgba(17, 24, 39, .05);
  --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 4px 16px rgba(17, 24, 39, .06);
  --shadow-hover: 0 2px 4px rgba(17, 24, 39, .06), 0 12px 28px rgba(17, 24, 39, .14);
  --accent-grad: linear-gradient(135deg, #00a2ff 0%, #2f7bff 55%, #7b5cff 100%);
}
html[data-theme="dark"] {
  --gray-bg: #1b1d21; --panel: #2a2d33; --text: #f1f3f5; --text-light: #a6adb8; --border: #3a3e46;
  --ring: 0 0 0 1px rgba(255, 255, 255, .04);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .25);
  --shadow-hover: 0 2px 6px rgba(0, 0, 0, .4), 0 14px 30px rgba(0, 0, 0, .45);
}
body {
  font-family: 'Source Sans 3', 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(0, 162, 255, .09), transparent 60%),
    radial-gradient(900px 420px at 95% 0%, rgba(123, 92, 255, .07), transparent 60%),
    var(--gray-bg);
  background-attachment: fixed;
}
::selection { background: rgba(0, 162, 255, .25); }
h1 { letter-spacing: -.3px; }
/* broken / loading pictures never show their alt text */
img { color: transparent; }

/* header: the classic blue bar, a bit glossier */
.rbx-header { background: linear-gradient(180deg, #19adff 0%, #0098f0 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 2px 10px rgba(0, 70, 130, .25); }
.rbx-header nav.main a { border-radius: 8px; height: 30px; margin: 0 2px; padding: 0 12px; }
.rbx-header .logo img { transition: transform .25s var(--ease); }
.rbx-header .logo:hover img { transform: rotate(-4deg) scale(1.05); }
.rbx-header .search input { border-radius: 16px; height: 30px; padding-left: 14px; background: rgba(255, 255, 255, .95); transition: box-shadow .15s, background .15s; }
.rbx-header .search input:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.rbx-header .right a, .rbx-header .right button.icon-btn { border-radius: 8px; }
.dropdown { border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .2); padding: 6px; }
.dropdown a, .dropdown button { border-radius: 8px; }

/* left menu */
.rbx-leftnav { background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(6px); border-right: 1px solid var(--border); }
.rbx-leftnav .user { border-bottom: 0; margin: 0 8px 8px; padding: 10px; border-radius: 12px; background: var(--gray-bg); }
.rbx-leftnav .user .headshot { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--blue); }
.rbx-leftnav a:hover { background: color-mix(in srgb, var(--blue) 7%, transparent); }
.rbx-leftnav a.active { background: color-mix(in srgb, var(--blue) 13%, transparent); }
.rbx-leftnav .section-label { letter-spacing: .6px; font-size: 11px; }

/* panels, cards */
.panel { border-radius: var(--radius-lg); box-shadow: var(--shadow), var(--ring); }
.section-header h2 { display: flex; align-items: center; gap: 10px; }
.section-header h2::before { content: ''; width: 6px; height: 22px; border-radius: 3px; background: var(--accent-grad); flex: none; }
.game-card, .item-card { border-radius: var(--radius-lg); box-shadow: var(--shadow), var(--ring); background: var(--panel); overflow: hidden; }
.game-card:hover, .item-card:hover { box-shadow: var(--shadow-hover), 0 0 0 2px color-mix(in srgb, var(--blue) 45%, transparent); }
.game-card .thumb { background-color: color-mix(in srgb, var(--gray-bg) 70%, #c9d3df); }
.item-card .thumb { background: radial-gradient(circle at 50% 40%, #ffffff, #e8edf3 75%); }
html[data-theme="dark"] .item-card .thumb { background: radial-gradient(circle at 50% 40%, #3b4049, #24272c 75%); }
.game-card .name { letter-spacing: -.1px; }
.item-card .limited-tag, .item-card .owned-tag, .game-card .featured-tag { border-radius: 6px; padding: 1px 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.game-row { padding: 4px 4px 12px; margin: -4px -4px 0; scrollbar-width: thin; }

/* buttons and fields */
.btn { border-radius: 9px; }
.btn-primary { background: linear-gradient(180deg, #1aadff, #0095ec); border-color: #0090e6; }
.btn-primary:not(:disabled):hover { background: linear-gradient(180deg, #33b8ff, #08a0f5); }
.btn-green { background: linear-gradient(180deg, #14c766, #01a84f); border-color: #01a24c; }
.btn-green:not(:disabled):hover { background: linear-gradient(180deg, #2fd37a, #04b458); }
.btn-red { border-radius: 9px; }
.input, select.input, textarea.input { border-radius: 9px; }
.tabs { border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 4px; gap: 4px; }
.tabs button { border-radius: 10px; border-bottom: 0; transition: background .15s, color .15s; }
.tabs button:hover { background: var(--gray-bg); }
.tabs button.active { background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); }
.tabs + .panel { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.pill { border-radius: 999px; }
.modal { border-radius: 16px; }

/* the greeting on Home */
.greet .greet-head { box-shadow: 0 0 0 4px var(--panel), 0 0 0 7px transparent; background: radial-gradient(circle at 50% 35%, #ffffff, #dfe7f1) !important; position: relative; }
.greet .greet-head { outline: 3px solid transparent; background-clip: padding-box; }
.greet { padding: 18px 20px; border-radius: 18px; background: linear-gradient(120deg, color-mix(in srgb, var(--panel) 85%, #00a2ff), var(--panel) 60%); box-shadow: var(--shadow), var(--ring); }
.greet h1 { font-weight: 800; }

/* footer, scrollbars */
.footer { border-top: 0; }
* { scrollbar-color: color-mix(in srgb, var(--text-light) 45%, transparent) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--text-light) 40%, transparent); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
.rbx-header nav.main { align-items: center; }
html[data-theme] .social-banner, html[data-theme] .social-banner:hover { color: #fff; }

/* ------------------------------------------------------------ Control Center 4.0 */
body.adm-full .rbx-leftnav { display: none; }
body.adm-full .rbx-content { margin-left: 0; max-width: none; padding: 14px 16px 40px; }
.adm { grid-template-columns: 236px 1fr; border-radius: 18px; min-height: calc(100vh - 80px); box-shadow: var(--shadow), var(--ring); transition: grid-template-columns .25s var(--ease); }
.adm.mini { grid-template-columns: 68px 1fr; }
.adm-side { min-height: calc(100vh - 80px); top: calc(var(--header-h) + 14px); max-height: calc(100vh - var(--header-h) - 28px); overflow-y: auto; scrollbar-width: thin; background: radial-gradient(400px 300px at 0 0, rgba(0,162,255,.18), transparent 70%), linear-gradient(180deg, #121520, #1a2030); }
.adm-brand { position: relative; }
.adm-brand-text { flex: 1; min-width: 0; }
.adm-fold { border: 0; background: rgba(255,255,255,.06); color: #c9d1e3; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.adm-fold:hover { background: rgba(255,255,255,.14); color: #fff; }
.adm-fold .adm-ic svg { width: 16px; height: 16px; }
.adm-group { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; font-family: inherit; cursor: pointer; border-radius: 6px; }
.adm-group:hover { color: #aab4c8; }
.adm-group-arrow { transition: transform .2s; font-size: 10px; }
.adm-group.folded .adm-group-arrow { transform: rotate(-90deg); }
.adm-group.fav { color: #ffc400; cursor: default; justify-content: flex-start; }
.adm-link { position: relative; transition: background .15s, color .15s; }
.adm-link-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-star { opacity: 0; display: inline-flex; color: #6c7790; transition: opacity .15s, color .15s; }
.adm-star svg { width: 14px; height: 14px; }
.adm-link:hover .adm-star { opacity: 1; }
.adm-star:hover { color: #ffc400; }
.adm-star.on { opacity: 1; color: #ffc400; }
.adm-star.on svg { fill: currentColor; }
.adm-count.on.red { background: #ff4d4f; }
.adm-count.on.orange { background: #ff8a3d; }
.adm-count.on.yellow { background: #f5b301; color: #2a1d00; }
.adm-count.on.blue { background: #00a2ff; }
.adm.mini .adm-brand-text, .adm.mini .adm-link-text, .adm.mini .adm-star, .adm.mini .adm-group, .adm.mini .adm-side-foot { display: none; }
.adm.mini .adm-brand { flex-direction: column; padding: 4px 0 12px; }
.adm.mini .adm-link { justify-content: center; padding: 10px 0; }
.adm.mini .adm-count.on { position: absolute; top: 2px; right: 4px; padding: 0 4px; font-size: 10px; }
.adm-top { gap: 10px; }
.adm-back { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-light); background: var(--gray-bg); flex: none; }
.adm-back:hover { color: var(--blue); text-decoration: none; }
.adm-back .adm-ic svg { width: 18px; height: 18px; }
.adm-hero { border-radius: 18px; }
.adm-hero.chat { background: linear-gradient(120deg, #1d2a44, #00a2ff); }
.adm-hero.schedule { background: linear-gradient(120deg, #2f7bff, #7b5cff 60%, #ff4d8d); }
.adm-hero.switches { background: linear-gradient(120deg, #27303f, #4b5d7a 50%, #02b757); }
.adm-hero.economy { background: linear-gradient(120deg, #0f7a3d, #02b757 50%, #f5b301); }
.adm-hero.notes { background: linear-gradient(120deg, #f5a623, #ff8a3d 50%, #ff4d8d); }
.adm-card { border-radius: 16px; box-shadow: var(--shadow), var(--ring); border-color: transparent; }

/* needs attention */
.cc-attn { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cc-attn-item { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; border-radius: 14px; padding: 10px 14px; background: var(--panel); color: var(--text); box-shadow: var(--shadow), var(--ring); transition: transform .15s var(--ease), box-shadow .15s; }
.cc-attn-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.cc-attn-item b { font-size: 20px; font-weight: 800; }
.cc-attn-ic { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--gray-bg); }
.cc-attn-ic svg { width: 18px; height: 18px; }
.cc-attn-item.red .cc-attn-ic { background: #ff4d4f; color: #fff; }
.cc-attn-item.orange .cc-attn-ic { background: #ff8a3d; color: #fff; }
.cc-attn-item.yellow .cc-attn-ic { background: #f5b301; color: #2a1d00; }
.cc-attn-item.blue .cc-attn-ic { background: #00a2ff; color: #fff; }
.cc-attn-item.calm { opacity: .75; }
.cc-attn-item.calm b { color: var(--text-light); }
.cc-warn { flex-basis: 100%; background: rgba(255,138,61,.14); border: 1px solid rgba(255,138,61,.4); color: var(--text); border-radius: 12px; padding: 8px 12px; font-weight: 600; }
.cc-attn-row { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.cc-pinned, .cc-online { background: var(--panel); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow), var(--ring); display: flex; flex-direction: column; gap: 6px; }
.cc-pinned { background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(120deg, #ffc400, #ff8a3d) border-box; border: 2px solid transparent; }
.cc-pinned-note { font-size: 14px; white-space: pre-wrap; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-chip { background: rgba(2,183,87,.12); color: var(--text); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }

/* chat log */
.cc-chat { display: flex; flex-direction: column; max-height: 62vh; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; margin-top: 8px; }
.cc-msg { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--border); font-size: 14px; }
.cc-msg:last-child { border-bottom: 0; }
.cc-msg:hover { background: var(--gray-bg); }
.cc-msg.filtered { background: rgba(245,179,1,.08); }
.cc-msg.scam { background: rgba(255,77,79,.1); }
.cc-msg-time { color: var(--text-light); font-size: 12px; font-variant-numeric: tabular-nums; flex: none; width: 42px; }
.cc-msg-name { font-weight: 700; flex: none; }
.cc-msg-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cc-msg-game { flex: none; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-msg-acts { display: none; gap: 4px; flex: none; }
.cc-msg:hover .cc-msg-acts { display: inline-flex; }
.cc-tag-red { background: #ff4d4f; color: #fff; font-weight: 800; font-size: 11px; }
.cc-tag-yellow { background: #f5b301; color: #2a1d00; font-weight: 800; font-size: 11px; }

/* scheduler */
.cc-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.cc-field { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.cc-field > span { font-size: 12px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .4px; }
.cc-timeline { display: flex; flex-direction: column; gap: 8px; }
.cc-job { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--gray-bg); }
.cc-job.done { opacity: .6; }
.cc-job-ic { font-size: 24px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--panel); border-radius: 12px; flex: none; }
.cc-job-main { flex: 1; min-width: 0; }
.cc-job-in { font-weight: 800; color: var(--blue); font-size: 13px; white-space: nowrap; }

/* switches */
.cc-switches { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cc-switch { display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; text-align: left; border: 0; cursor: pointer; font: inherit; color: var(--text); background: var(--panel); border-radius: 16px; padding: 14px; box-shadow: var(--shadow), var(--ring); transition: transform .15s var(--ease), box-shadow .15s; }
.cc-switch:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.cc-switch-ic { grid-row: span 2; font-size: 26px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--gray-bg); }
.cc-switch-state { font-size: 12px; font-weight: 800; color: #ff4d4f; }
.cc-switch.on .cc-switch-state { color: #02b757; }
.cc-toggle { grid-row: span 2; grid-column: 3; width: 46px; height: 26px; border-radius: 13px; background: #c9ced6; position: relative; transition: background .2s; }
.cc-toggle i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s var(--ease); }
.cc-switch.on .cc-toggle { background: #02b757; }
.cc-switch.on .cc-toggle i { transform: translateX(20px); }

/* economy */
.cc-eco-chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 8px; }
.cc-eco-col { flex: 1; display: flex; flex-direction: column; height: 100%; align-items: center; gap: 4px; }
.cc-eco-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.cc-eco-bar { width: 42%; border-radius: 5px 5px 2px 2px; min-height: 2px; transition: height .5s var(--ease); }
.cc-eco-bar.made { background: linear-gradient(180deg, #2fd37a, #02b757); }
.cc-eco-bar.spent { background: linear-gradient(180deg, #ff7a7c, #e8413c); }
.cc-eco-day { font-size: 11px; color: var(--text-light); }
.cc-rank { width: 22px; height: 22px; border-radius: 50%; background: var(--gray-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none; }
.mini-row:nth-child(1) .cc-rank { background: #ffc400; color: #3a2400; }
.mini-row:nth-child(2) .cc-rank { background: #cfd6e0; }
.mini-row:nth-child(3) .cc-rank { background: #e0a46c; color: #3a1d00; }
.cc-plus { color: #02b757; } .cc-minus { color: #e8413c; }

/* staff notes */
.cc-note-new textarea { resize: vertical; }
.cc-colors { display: flex; gap: 6px; }
.cc-color { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.cc-color.on { border-color: var(--text); }
.cc-color.yellow, .cc-note.yellow { background: #fff4b8; }
.cc-color.blue, .cc-note.blue { background: #cfe8ff; }
.cc-color.green, .cc-note.green { background: #d3f5df; }
.cc-color.pink, .cc-note.pink { background: #ffd6e8; }
.cc-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.cc-note { position: relative; border-radius: 4px 4px 16px 4px; padding: 14px 14px 10px; color: #2f3237; box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 10px 20px rgba(0,0,0,.06); transform: rotate(-.6deg); transition: transform .2s var(--ease); display: flex; flex-direction: column; gap: 10px; min-height: 130px; }
.cc-note:nth-child(even) { transform: rotate(.7deg); }
.cc-note:hover { transform: rotate(0) translateY(-3px); }
.cc-note.pinned { outline: 2px solid rgba(0,0,0,.15); }
.cc-note-pin { position: absolute; top: -10px; right: 10px; font-size: 20px; }
.cc-note-text { white-space: pre-wrap; flex: 1; font-size: 15px; }
.cc-note-foot { display: flex; align-items: center; gap: 8px; color: #555; }
.cc-note-foot .muted { color: #777 !important; }
.cc-note-btn { border: 0; background: rgba(0,0,0,.07); border-radius: 8px; padding: 2px 8px; cursor: pointer; font: inherit; font-size: 12px; color: #333; }
.cc-note-btn:hover { background: rgba(0,0,0,.15); }
@media (max-width: 860px) {
  .adm, .adm.mini { grid-template-columns: 1fr; }
  .adm-side { max-height: none; top: 0; }
  .adm-fold, .adm-star, .adm-back { display: none; }
  .cc-msg { flex-wrap: wrap; }
  .cc-msg-acts { display: inline-flex; }
}
.adm { overflow: visible; }
.adm-side { border-radius: 18px 0 0 18px; }
.adm-main { border-radius: 0 18px 18px 0; overflow: hidden; min-width: 0; }
.adm-ver { margin-left: 6px; font-size: 10px; font-weight: 800; background: var(--accent-grad); color: #fff; border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }
@media (max-width: 860px) { .adm-side { border-radius: 18px 18px 0 0; } .adm-main { border-radius: 0 0 18px 18px; } }
@media (max-width: 860px) {
  body.adm-full .rbx-content { padding: 8px 8px 80px; }
  .adm { min-height: 0; }
  .adm-side { min-height: 0; max-height: none; position: static; flex-direction: row; overflow-x: auto; padding: 8px; }
  .adm-brand, .adm-group, .adm-side-foot { display: none; }
  .adm-nav { display: flex; gap: 2px; }
  .adm-link { width: auto; white-space: nowrap; }
  .adm-top { flex-wrap: wrap; }
  .cc-attn-item { flex: 1 1 140px; }
}
.item-card .dev-tag { background: #1b2a35; color: #3ddc84; }
.dev-lock { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px; border-radius: 8px; background: rgba(0,162,255,.08); border: 1px dashed rgba(0,162,255,.5); }

/* ------------------------------------------------------------ Robis look v3: compact, closer to 2019 */
:root {
  --radius: 4px; --radius-lg: 6px;
  --gray-bg: #f2f4f5; --text: #393b3d; --text-light: #757575; --border: #e3e3e3;
  --shadow: 0 1px 4px rgba(25, 25, 25, .12); --ring: 0 0 0 0 transparent;
  --shadow-hover: 0 2px 10px rgba(25, 25, 25, .2);
}
html[data-theme="dark"] {
  --gray-bg: #232527; --panel: #393b3d; --text: #ffffff; --text-light: #b8b8b8; --border: #4d4f51;
  --shadow: 0 1px 4px rgba(0, 0, 0, .5); --shadow-hover: 0 2px 10px rgba(0, 0, 0, .6);
}
body { font-size: 15px; background: var(--gray-bg); }
h1 { font-size: 27px; letter-spacing: 0; }
h2 { font-size: 21px; }
h3 { font-size: 18px; }
.rbx-content { padding: 18px 26px 50px; max-width: 1100px; }
.section { margin-bottom: 22px; }
.section-header { margin-bottom: 8px; }
.section-header h2 { font-size: 20px; }
.section-header h2::before { display: none; }
.panel { border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }

/* the flat blue bar of 2019 */
.rbx-header { background: var(--blue); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.rbx-header nav.main a { border-radius: 0; height: 100%; margin: 0; padding: 0 12px; font-size: 15px; }
.rbx-header nav.main a.active, .rbx-header nav.main a:hover { background: rgba(255, 255, 255, .15); }
.rbx-header .search input { border-radius: 3px; height: 28px; padding-left: 10px; background: #fff; }
.rbx-header .right a, .rbx-header .right button.icon-btn { border-radius: 3px; }
.dropdown { border-radius: 4px; padding: 4px 0; }
.dropdown a, .dropdown button { border-radius: 0; }

/* the left menu: white, a blue bar on the open page */
.rbx-leftnav { background: var(--panel); backdrop-filter: none; }
.rbx-leftnav .user { margin: 0 0 6px; padding: 6px 16px 12px; border-radius: 0; background: none; border-bottom: 1px solid var(--border); }
.rbx-leftnav .user .headshot { box-shadow: none; }
.rbx-leftnav a { margin: 0; border-radius: 0; padding: 8px 16px; font-size: 15px; }
.rbx-leftnav a:hover { background: var(--gray-bg); }
.rbx-leftnav a.active { background: var(--gray-bg); color: var(--text); }
.rbx-leftnav a.active::before { display: block; }
.rbx-leftnav a svg { width: 20px; height: 20px; }

/* cards: small corners, a soft shadow, a small lift */
.game-card, .item-card { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.game-card:hover, .item-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.game-card:hover .thumb img, .item-card:hover .thumb img { transform: scale(1.03); }
.game-row { gap: 12px; }
.game-row .game-card { flex: 0 0 150px; }
.game-card .info { padding: 7px 9px 9px; }
.game-card .name { font-size: 14px; height: 35px; }
.item-card .thumb { background: linear-gradient(#f7f7f7, #e4e4e4); }
html[data-theme="dark"] .item-card .thumb { background: linear-gradient(#45484b, #333537); }
.item-card .limited-tag, .item-card .owned-tag, .game-card .featured-tag { border-radius: 2px; box-shadow: none; }

/* buttons, fields, tabs: flat like 2019 */
.btn { border-radius: var(--radius); padding: 6px 13px; font-size: 14px; }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-primary:not(:disabled):hover { background: var(--blue-hover); box-shadow: none; }
.btn-green { background: var(--green); border-color: var(--green); }
.btn-green:not(:disabled):hover { background: var(--green-hover); box-shadow: none; }
.btn-red { border-radius: var(--radius); }
.input, select.input, textarea.input { border-radius: 3px; }
.tabs { border-radius: var(--radius) var(--radius) 0 0; padding: 0; gap: 0; }
.tabs button { border-radius: 0; border-bottom: 3px solid transparent; }
.tabs button:hover { background: none; color: var(--text); }
.tabs button.active { background: none; color: var(--text); border-bottom-color: var(--blue); }
.tabs + .panel { border-radius: 0 0 var(--radius) var(--radius); }
.modal { border-radius: 6px; }
.greet { padding: 14px 16px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.greet .greet-head { width: 110px !important; height: 110px !important; box-shadow: none; background: #d4d4d4 !important; }
.greet h1 { font-weight: 700; }
.social-banner { border-radius: var(--radius); padding: 11px 16px; }

/* the Control Center follows: smaller corners */
.adm { border-radius: 8px; }
.adm-side { border-radius: 8px 0 0 8px; }
.adm-main { border-radius: 0 8px 8px 0; }
.adm-hero, .adm-card, .cc-attn-item, .cc-switch, .cc-pinned, .cc-online { border-radius: 8px; }
@media (max-width: 860px) { .adm-side { border-radius: 8px 8px 0 0; } .adm-main { border-radius: 0 0 8px 8px; } .rbx-content { padding: 12px 10px 70px; } }
/* Robis Awards: trophies on game pages, the menu link */
.award-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.award-row:empty { display: none; }
.award-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: rgba(123,92,255,.1); color: var(--text); }
.award-chip:hover { text-decoration: none; background: rgba(123,92,255,.18); }
.award-chip.won { background: linear-gradient(90deg, #ffd75a, #ffb020); color: #3a2400; font-weight: 600; }
.awards-vote { background: #ffc400 !important; color: #3a2400; font-weight: 800; font-size: 10px !important; }
.adm-hero.awards { background: radial-gradient(circle at 15% 20%, rgba(255,214,90,.35), transparent 45%), linear-gradient(120deg, #1b1b2f, #3a2b6b 55%, #b8860b); }
.aw-adm-cat { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.aw-adm-nom { display: flex; flex-wrap: wrap; gap: 6px; }
.aw-adm-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--gray-bg); border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 13px; }
.aw-adm-chip.win { background: #ffd75a; color: #3a2400; font-weight: 700; }
.aw-adm-chip button { border: 0; background: none; cursor: pointer; color: inherit; font-size: 13px; }

/* guests */
.guest-btn { margin-top: 8px; background: #4a4a4a; color: #fff; border-color: #333; }
.guest-btn:hover { background: #5a5a5a; }
.guest-signup { margin-right: 8px; align-self: center; }
.guest-note { border-left: 4px solid #e8413c; }
.profile-title { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 3px; background: #e8f3ff; color: #0b6ab0; border: 1px solid #9cc8ee; font-size: 12px; font-weight: 700; }

/* ================= Control Center 5.0 "Classic": compact, like the old admin panel ================= */
.adm.adm-classic { grid-template-columns: 178px 1fr; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.25); border: 1px solid #9aa5b5; font-size: 13px; }
.adm-classic.mini { grid-template-columns: 52px 1fr; }
.adm-classic .adm-side { border-radius: 4px 0 0 4px; padding: 0 0 8px; gap: 0; background: linear-gradient(180deg, #e8edf3, #d6dde7); color: #1d2a3a; border-right: 1px solid #9aa5b5; }
.adm-classic .adm-brand { padding: 8px 10px; margin: 0 0 4px; background: linear-gradient(180deg, #3b7fd4, #1756a8); color: #fff; border-bottom: 1px solid #0d3f80; }
.adm-classic .adm-brand-sub, .adm-classic .adm-ver { color: #cfe3ff; }
.adm-classic .adm-logo { background: #fff; color: #1756a8; box-shadow: none; }
.adm-classic .adm-fold { color: #fff; }
.adm-classic .adm-link { border-radius: 0; padding: 7px 10px; font-size: 13px; font-weight: 700; color: #1d2a3a; border-bottom: 1px solid #c3ccd8; }
.adm-classic .adm-link:hover { background: #f5f8fc; color: #1756a8; }
.adm-classic .adm-link.active { background: #fff; color: #1756a8; box-shadow: inset 4px 0 0 #1f6fd1; }
.adm-classic .adm-link.active::before { display: none; }
.adm-classic .adm-sub-n { margin-left: auto; font-size: 10px; color: #6b7a8d; font-weight: 400; }
.adm-classic .adm-count.on { margin-left: 4px; }
.adm-classic .adm-side-foot { color: #4b5a6e; font-size: 11px; padding: 8px 10px 0; }
.adm-classic .adm-main { border-radius: 0 4px 4px 0; background: #fbfcfd; }
.adm-classic .adm-top { padding: 6px 12px; gap: 8px; background: linear-gradient(180deg, #f4f6f9, #e3e8ef); border-bottom: 1px solid #9aa5b5; }
.adm-classic .adm-page-title { font-size: 15px; gap: 6px; }
.adm-classic .adm-crumb { color: #8a96a6; }
.adm-classic .adm-search { height: 28px; border-radius: 3px; }
.adm-classic .adm-body { padding: 10px 12px 20px; }
.adm-classic .adm-body .panel, .adm-classic .adm-card { border-radius: 3px; border: 1px solid #b8c2cf; box-shadow: none; padding: 0 10px 10px; margin-bottom: 10px; background: #fff; }
.adm-classic .adm-body .panel > h3:first-child, .adm-classic .adm-card-head { margin: 0 -10px 8px; padding: 5px 10px; font-size: 13px; color: #fff; background: linear-gradient(180deg, #4a8ad8, #2263b5); border-bottom: 1px solid #154c92; border-radius: 2px 2px 0 0; }
.adm-classic .adm-body h3, .adm-classic .adm-body h4 { font-size: 13px; }
.adm-classic .btn { border-radius: 3px; }
.adm-classic .btn-small { padding: 3px 9px; font-size: 12px; }
.adm-classic .input { padding: 5px 8px; border-radius: 2px; }
/* the classic tabs of a section */
.adm-subtabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 12px 0; background: #e3e8ef; border-bottom: 1px solid #9aa5b5; }
.adm-subtabs:empty { display: none; }
.adm-subtab { border: 1px solid #9aa5b5; border-bottom: 0; background: linear-gradient(180deg, #fdfdfe, #dfe5ec); color: #1d2a3a; font: inherit; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 3px 3px 0 0; cursor: pointer; display: flex; align-items: center; gap: 5px; margin-bottom: -1px; }
.adm-subtab:hover { background: #fff; }
.adm-subtab.active { background: #fbfcfd; color: #1756a8; border-bottom: 1px solid #fbfcfd; }
/* classic tool boxes and tables */
.cl-box { border: 1px solid #b8c2cf; border-radius: 3px; padding: 6px 10px 10px; margin: 0 0 10px; background: #fff; }
.cl-box legend { font-weight: 700; font-size: 12px; color: #1756a8; padding: 0 4px; }
.cl-box .input + .cl-btn, .cl-box textarea + .cl-btn { margin-top: 6px; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 5px; }
.cl-btn { font: inherit; font-size: 12px; font-weight: 700; padding: 5px 8px; border: 1px solid #8f9bab; border-radius: 3px; background: linear-gradient(180deg, #ffffff, #dde3ea); color: #1d2a3a; cursor: pointer; text-align: center; }
.cl-btn:hover { background: linear-gradient(180deg, #ffffff, #cfd9e6); border-color: #1f6fd1; }
.cl-btn:active { background: #cfd9e6; }
.cl-btn.red { color: #b0141e; border-color: #c98c90; }
.cl-btn.red:hover { background: linear-gradient(180deg, #fff, #f6d5d7); border-color: #b0141e; }
.cl-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 10px; }
.cl-table th, .cl-table td { border: 1px solid #d3dae3; padding: 3px 7px; text-align: left; }
.cl-table th { background: #eef2f7; width: 42%; font-weight: 700; color: #3d4b5e; }
.cl-table tr:nth-child(even) td { background: #f8fafc; }
.cl-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; align-items: start; }
@media (max-width: 900px) { .cl-cols { grid-template-columns: 1fr; } .adm.adm-classic { grid-template-columns: 1fr; } }
/* the player window: a classic window instead of a modern drawer */
.adm-drawer-panel:has(.cl-tools), .adm-drawer-panel { font-size: 13px; }
.adm-drawer .adm-dhead { background: linear-gradient(180deg, #4a8ad8, #2263b5); color: #fff; }
.adm-drawer .adm-dhead .muted, .adm-drawer .adm-dhead a:not(.btn) { color: #dbe9ff; }
.adm-drawer .adm-dtabs button { border-radius: 3px 3px 0 0; font-size: 12px; padding: 5px 10px; }
:root[data-theme="dark"] .adm.adm-classic .adm-side { background: linear-gradient(180deg, #232a35, #1b212b); color: #d5deea; border-color: #3a4556; }
:root[data-theme="dark"] .adm-classic .adm-link { color: #d5deea; border-color: #343e4d; }
:root[data-theme="dark"] .adm-classic .adm-link.active { background: #2c3644; color: #8cc4ff; }
:root[data-theme="dark"] .adm-classic .adm-main, :root[data-theme="dark"] .adm-subtab.active { background: #1e242d; border-bottom-color: #1e242d; }
:root[data-theme="dark"] .adm-classic .adm-top, :root[data-theme="dark"] .adm-subtabs { background: #262e39; border-color: #3a4556; }
:root[data-theme="dark"] .adm-subtab { background: #2c3644; color: #d5deea; border-color: #3a4556; }
:root[data-theme="dark"] .cl-box, :root[data-theme="dark"] .adm-classic .adm-body .panel { background: #232a35; border-color: #3a4556; }
:root[data-theme="dark"] .cl-btn { background: linear-gradient(180deg, #364152, #2a3341); color: #e3eaf3; border-color: #4a5668; }
:root[data-theme="dark"] .cl-table th { background: #2c3644; color: #c5d0de; }
:root[data-theme="dark"] .cl-table th, :root[data-theme="dark"] .cl-table td { border-color: #3a4556; }
:root[data-theme="dark"] .cl-table tr:nth-child(even) td { background: #262e39; }
.adm-classic .adm-logo { background: rgba(255,255,255,.18) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.4); }
.adm-classic .adm-hero, .adm-classic .adm-welcome { background: linear-gradient(180deg, #4a8ad8, #1f5fae) !important; border-radius: 3px !important; padding: 12px 14px !important; border: 1px solid #154c92; box-shadow: none !important; }
.adm-classic .adm-card, .adm-classic .adm-stat, .adm-classic .adm-chip { border-radius: 3px !important; box-shadow: none !important; }
/* appeal chat */
.appeal-chat { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; padding: 8px; background: var(--gray-bg); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 6px; }
.appeal-msg { max-width: 85%; padding: 6px 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border); white-space: pre-wrap; word-break: break-word; }
.appeal-msg.staff { align-self: flex-start; border-color: #9cc8ee; background: #eaf4ff; }
.appeal-msg.player { align-self: flex-end; border-color: #b9e3c4; background: #ecfaef; }
.appeal-msg.first { opacity: .85; }
html[data-theme="dark"] .appeal-msg.staff { background: #1d3147; border-color: #2d5b86; }
html[data-theme="dark"] .appeal-msg.player { background: #1d3a27; border-color: #2e6a42; }
.appeal-new-reply { font-weight: 700; color: var(--green, #00b06f); }
/* Control Center 5.0 Classic in the dark theme: every light surface gets a dark one */
html[data-theme="dark"] .adm.adm-classic { border-color: #3a4556; }
html[data-theme="dark"] .adm-classic .adm-body .panel, html[data-theme="dark"] .adm-classic .adm-card,
html[data-theme="dark"] .adm-classic .adm-stat, html[data-theme="dark"] .adm-classic .adm-chip { background: #232a35; border-color: #3a4556; color: var(--text); }
html[data-theme="dark"] .adm-classic .adm-body .panel > h3:first-child, html[data-theme="dark"] .adm-classic .adm-card-head { background: linear-gradient(180deg, #2f5f9c, #1e4577); border-bottom-color: #14335a; }
html[data-theme="dark"] .adm-classic .adm-link:hover { background: #2a3340; color: #8cc4ff; }
html[data-theme="dark"] .adm-classic .adm-side-foot { color: #8a96a6; }
html[data-theme="dark"] .adm-subtab:hover { background: #333e4e; }
html[data-theme="dark"] .adm-subtab.active { color: #8cc4ff; }
html[data-theme="dark"] .cl-box legend { color: #8cc4ff; }
html[data-theme="dark"] .cl-btn:hover { background: linear-gradient(180deg, #415066, #303b4b); border-color: #4a8ad8; }
html[data-theme="dark"] .cl-btn.red { color: #ff8a8a; border-color: #7a3a3e; }
html[data-theme="dark"] .cl-btn.red:hover { background: linear-gradient(180deg, #4a2a2e, #3a2023); }
html[data-theme="dark"] .adm-classic .muted, html[data-theme="dark"] .adm-classic .small.muted { color: #9aa6b5; }
html[data-theme="dark"] .adm-classic label, html[data-theme="dark"] .adm-classic .field { color: var(--text); }
.alt-table td { width: auto; }
.alt-table tr.alt-banned td { background: rgba(232,65,60,.08) !important; }
.lazy-head { background: rgba(0,0,0,.06); min-height: 1px; }
/* Tall dialogs (ban, appeals...) on phones: the title and the buttons stay
   on screen and the middle scrolls (before, the bottom was cut off). */
.modal { display: flex; flex-direction: column; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
.modal-head, .modal-foot { flex: none; }
.modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.modal-foot { flex-wrap: wrap; }
@media (max-width: 600px) {
  .modal-backdrop { align-items: flex-end; padding: 8px 0 0; }
  .modal { max-height: calc(100vh - 8px); max-height: calc(100dvh - 8px); overflow: hidden; }
  .modal-foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .modal-foot .btn { flex: 1 1 auto; }
}

/* ================= Big update: levels, Daily Quests, the new home ================= */
.greet-card { display: flex; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 10px; background: linear-gradient(135deg, rgba(0,162,255,.10), rgba(2,183,87,.08)), var(--panel); box-shadow: var(--shadow); }
.greet-card .greet-head { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: #d4d4d4; flex: none; box-shadow: 0 0 0 4px var(--panel), 0 0 0 6px rgba(0,162,255,.35); }
.greet-card .greet-head img { width: 100%; height: 100%; object-fit: cover; }
.greet-main { flex: 1; min-width: 0; }
.greet-level { margin-top: 10px; max-width: 460px; }
.lvl-row { display: flex; align-items: center; gap: 10px; }
.lvl-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px; font-weight: 900; font-size: 14px; color: #fff; background: linear-gradient(135deg, #ffb300, #ff6d00); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); vertical-align: middle; margin-left: 4px; }
.lvl-badge::before { content: 'Lv'; font-size: 9px; font-weight: 800; margin-right: 2px; opacity: .85; }
.lvl-badge.small { min-width: 24px; height: 22px; font-size: 12px; border-radius: 7px; }
.lvl-badge.big { min-width: 74px; height: 74px; font-size: 34px; border-radius: 20px; margin: 0 auto 6px; display: flex; }
.lvl-bar { flex: 1; height: 10px; border-radius: 6px; background: var(--gray-bg); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.12); }
.lvl-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb300, #ff6d00); border-radius: 6px; transition: width .4s; }
.lvl-boost { color: #e8590c; font-weight: 700; margin-top: 4px; }
.today-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px; }
.today-card { background: var(--panel); border-radius: 10px; box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.today-card .btn { margin-top: auto; }
.today-card.done { opacity: .75; }
.today-ic { font-size: 30px; line-height: 1; }
.today-card .spin-mini { width: 32px; height: 32px; }
.quests-card { gap: 8px; }
.quest { width: 100%; padding: 6px 8px; border-radius: 8px; background: var(--gray-bg); }
.quest.done { background: rgba(2,183,87,.12); }
.quest.claimed { opacity: .55; }
.quest-text { font-size: 14px; font-weight: 600; }
.quest-bar { height: 6px; border-radius: 4px; background: rgba(0,0,0,.08); overflow: hidden; margin: 4px 0; }
.quest-bar i { display: block; height: 100%; background: #02b757; }
.quest-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 22px; }
.top-levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; padding: 10px; }
.top-level { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: inherit; text-decoration: none; }
.top-level:hover { background: var(--gray-bg); }
.top-rank { width: 26px; text-align: center; font-weight: 800; }
.top-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.levelup-popup { text-align: center; }
.levelup-popup h3 { margin: 6px 0; }
@media (max-width: 800px) { .today-grid { grid-template-columns: 1fr 1fr; } .quests-card { grid-column: 1 / -1; } }
@media (max-width: 600px) { .greet-card { padding: 12px; gap: 12px; } .greet-card .greet-head { width: 76px; height: 76px; } .greet-card h1 { font-size: 22px; } }
html[data-theme="dark"] .quest-bar { background: rgba(255,255,255,.1); }
/* admin: many players at once */
.bulk-bar { display: none; position: sticky; top: 0; z-index: 4; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 10px; margin-bottom: 8px; border-radius: 6px; background: #fff8d6; border: 1px solid #e8c54a; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.bulk-bar.on { display: flex; }
.bulk-count { margin-right: 6px; }
.bulk-tick { width: 18px; height: 18px; flex: none; margin-right: 8px; accent-color: #1f6fd1; }
html[data-theme="dark"] .bulk-bar { background: #3a3220; border-color: #6b5a24; }
/* the 2023-style launch dialog */
.launch-backdrop .modal { max-width: 300px !important; border-radius: 16px; background: #232527; color: #fff; }
.launch23 { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 8px 8px; text-align: center; }
.launch-logo { width: 72px; height: 72px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; animation: launchSpin 1.6s cubic-bezier(.6,.05,.4,.95) infinite; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.launch-logo img { width: 70%; height: 70%; }
.launch-status { font-size: 17px; font-weight: 700; }
.launch-dots { display: flex; gap: 6px; }
.launch-dots i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .3; animation: launchDot 1s infinite; }
.launch-dots i:nth-child(2) { animation-delay: .15s; }
.launch-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes launchSpin { 0% { transform: rotate(0); } 60%, 100% { transform: rotate(360deg); } }
@keyframes launchDot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
/* the cleaner home */
.greet-card.compact { padding: 12px 16px; gap: 14px; }
.greet-card.compact .greet-head { width: 84px; height: 84px; }
.greet-card.compact h1 { font-size: 24px; }
.greet-card.compact .greet-level { margin-top: 8px; }
.today-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.today-chip { display: flex; align-items: center; gap: 10px; background: var(--panel); border-radius: 10px; box-shadow: var(--shadow); padding: 10px 12px; min-width: 0; }
.today-chip-ic { font-size: 24px; flex: none; }
.today-chip-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.today-chip-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.today-done { color: #02b757; font-weight: 800; font-size: 18px; padding: 0 6px; }
.quests-list { display: flex; flex-direction: column; gap: 8px; }
.see-all { font-weight: 700; font-size: 14px; text-decoration: none; }
.game-card.skeleton { min-height: 220px; border-radius: 8px; background: linear-gradient(90deg, var(--gray-bg) 0%, rgba(255,255,255,.35) 50%, var(--gray-bg) 100%); background-size: 200% 100%; animation: skel 1.2s infinite linear; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (max-width: 700px) { .today-strip { grid-template-columns: 1fr; } .greet-card.compact .greet-head { width: 64px; height: 64px; } .greet-card.compact h1 { font-size: 20px; } }

/* ================= Plain 2019: no modern effects (the 2023 loading screens stay) ================= */
/* nothing slides, zooms, lifts or blurs */
.rbx-content > * { animation: none !important; }
.modal { animation: none !important; border-radius: 4px; }
.modal-backdrop { backdrop-filter: none !important; background: rgba(0, 0, 0, .5); }
.btn:not(:disabled):active { transform: none; }
.btn, .btn-primary, .btn-green { box-shadow: none !important; }
.game-card, .item-card { transition: none; }
.game-card:hover, .item-card:hover { transform: none !important; box-shadow: var(--shadow) !important; }
.game-card .thumb img, .item-card .thumb img { transition: none; }
.game-card:hover .thumb img, .item-card:hover .thumb img { transform: none !important; }
.game-card:hover .name, .item-card:hover .name { text-decoration: underline; }
.rbx-header .logo:hover img { transform: none; }
.input:focus { box-shadow: none; border-color: var(--blue); }
.pill { border-radius: 3px; }
/* the home: a plain "Hello, name!" with the round head, like 2019 */
.greet-card, .greet-card.compact { background: none !important; box-shadow: none !important; border-radius: 0; padding: 4px 0 !important; }
.greet-card .greet-head, .greet-card.compact .greet-head { box-shadow: none !important; background: #d4d4d4 !important; }
.today-chip { border-radius: 3px; box-shadow: var(--shadow); }
.today-chip-ic { filter: grayscale(.15); }
.see-all { font-weight: 600; }
.game-card.skeleton { animation: none; background: var(--panel); box-shadow: var(--shadow); }
/* levels and quests: flat */
.lvl-badge { background: #f5a623; box-shadow: none; border-radius: 3px; }
.lvl-bar { border-radius: 2px; box-shadow: none; background: #d8d8d8; }
.lvl-bar i { background: #f5a623; border-radius: 0; }
html[data-theme="dark"] .lvl-bar { background: #555; }
.quest { border-radius: 3px; }
.quest-bar, .quest-bar i { border-radius: 0; }
/* the left menu without the extra roundness */
.rbx-leftnav a.active { color: var(--text); }
.dropdown { box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
@media (max-width: 700px) { .greet-card.compact .greet-head { width: 64px !important; height: 64px !important; } }
