:root {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #25283f;
  background: #f5f6fb;
  font-synthesis: none;
  --accent: #7452e8;
  --accent-hover: #6140cf;
  --muted: #6d6e83;
  --border: #e7e7f0;
  --sidebar-width: 262px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; min-height: 100vh; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #b7a1ff; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .65; }
h1, h2, h3, p { margin: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .stat-icon svg, .empty-state svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: block; width: 48px; height: 48px; border-radius: 14px; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: 25px; color: #f9f8ff; letter-spacing: -.8px; font-weight: 750; line-height: 1.15; }
.brand-dot { color: #b198fc; }
.brand-copy > span { font-size: 8px; font-weight: 650; letter-spacing: 1.55px; color: #a8a2c5; }
.primary-button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 4px 10px #7452e814; transition: background .15s, box-shadow .15s; }
.primary-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 4px 12px #7452e82b; }
.primary-button .icon { width: 17px; height: 17px; }
.section-eyebrow { color: #786a8b; font-size: 10px; font-weight: 650; letter-spacing: 1.6px; line-height: 1.5; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--border); border-radius: 9px; color: #64617e; background: #fff; }
.icon-button:hover { background: #f3f0fb; }
.skip-link { position: fixed; top: 10px; left: 280px; z-index: 60; padding: 12px 18px; border-radius: 8px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Sign-in uses the same brand and palette as the admin workspace. */
.login-view { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100dvh; background: #fff; }
.login-story { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 48px 60px 34px; color: #fff; background: radial-gradient(ellipse at 20% 90%, #322753 0, #191b36 48%, #14172e 100%); }
.login-brand { position: relative; z-index: 1; width: fit-content; }
.story-content { position: relative; z-index: 1; margin: auto 0; padding: 72px 0; }
.story-kicker { display: flex; align-items: center; gap: 9px; color: #bab0d9; font-size: 9px; letter-spacing: 1.55px; font-weight: 600; }
.story-kicker > span { width: 6px; height: 6px; border-radius: 50%; background: #ae90fb; box-shadow: 0 0 0 4px #aa8cfb14; }
.story-content h2 { margin-top: 26px; font-size: clamp(36px, 3.6vw, 58px); line-height: 1.16; letter-spacing: -2px; font-weight: 650; }
.story-content h2 em { color: #b19af5; font-style: normal; }
.story-content > p { margin-top: 23px; color: #b2adc6; font-size: 15px; line-height: 1.8; }
.story-features { display: flex; flex-direction: column; gap: 16px; margin-top: 37px; color: #d8d2e6; font-size: 12px; }
.story-features > span { display: flex; align-items: center; gap: 12px; }
.story-features .icon { color: #ac96e8; width: 18px; height: 18px; }
.story-footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; font-size: 10px; color: #b3acc7; }
.tiny-mark { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #8c7ead55; border-radius: 7px; color: #cdc1e6; font-weight: 700; font-size: 11px; }
.story-orbit { position: absolute; right: -200px; bottom: -180px; width: 500px; height: 500px; border-radius: 50%; border: 1px solid #a590da13; pointer-events: none; }
.orbit-two { right: -245px; bottom: -225px; width: 590px; height: 590px; }
.login-main { position: relative; display: flex; align-items: center; justify-content: center; padding: 72px 44px 90px; }
.login-card { width: 100%; max-width: 365px; }
.login-emblem { margin-bottom: 27px; }
.login-emblem img { display: block; width: 60px; height: 60px; border-radius: 17px; box-shadow: 0 6px 16px #2111331f; }
.login-card .section-eyebrow { font-size: 9px; letter-spacing: 1.35px; }
.login-card h1 { margin-top: 9px; font-size: 32px; font-weight: 700; letter-spacing: -1px; }
.login-description { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.login-card form { display: grid; gap: 20px; margin-top: 33px; }
.form-field label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: #4d4b64; }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 15px; top: 15px; width: 18px; height: 18px; color: #9691aa; pointer-events: none; }
.input-wrap input { width: 100%; height: 48px; border: 1px solid #dfdeea; border-radius: 9px; padding: 0 14px 0 44px; background: #fdfdff; color: #29263b; font-size: 14px; transition: border-color .15s; }
.input-wrap input::placeholder { color: #796e87; }
.input-wrap input:focus { border-color: var(--accent); }
.login-submit { margin-top: 3px; min-height: 48px; justify-content: space-between; padding: 0 18px; }
.login-error { font-size: 12px; line-height: 1.6; color: #b3385e; }
.login-error:empty { display: none; }
.login-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; color: #786d84; font-size: 11px; margin-top: 25px; }
.login-footnote .icon { width: 14px; height: 14px; }
.login-footer { position: absolute; left: 44px; right: 44px; bottom: 29px; display: flex; justify-content: space-between; gap: 20px; color: #786d84; font-size: 10px; }

/* Navigation remains fixed on desktop and becomes a drawer on smaller screens. */
.sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 0 18px 18px; color: #c2c4d6; background: #14172e; border-right: 1px solid #292c44; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #444563 #14172e; }
.sidebar-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 106px; padding: 22px 9px; border-bottom: 1px solid #ffffff0b; }
.sidebar-navigation { padding-top: 29px; }
.nav-section-label { padding: 0 14px; margin-bottom: 12px; color: #9594b0; font-size: 9px; font-weight: 650; letter-spacing: 1.5px; }
.moderation-label { margin-top: 31px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 47px; margin: 4px 0; padding: 0 13px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #b6b7ce; font-size: 13px; font-weight: 500; text-align: left; transition: background .15s, color .15s; }
.nav-item .icon { color: #9294b1; width: 18px; height: 18px; }
.nav-item:hover { background: #24263f; color: #fff; }
.nav-item.is-active { color: #fff; background: #7452e8; border-color: #8565ef; box-shadow: 0 5px 15px #07041220; }
.nav-item.is-active .icon { color: #e9e2ff; }
.nav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 25px; min-height: 22px; margin-left: auto; padding: 0 6px; background: #ffffff08; border-radius: 6px; color: #aaaac5; font-size: 10px; font-variant-numeric: tabular-nums; }
.nav-item.is-active .nav-count { background: #ffffff24; color: #fff; }
.nav-group-chevron { margin-left: auto; width: 14px !important; height: 14px !important; transition: transform .2s; }
.nav-group-toggle[aria-expanded="true"] .nav-group-chevron { transform: rotate(90deg); }
.nav-group-toggle.has-active-child { color: #fff !important; }
.nav-sub-list { margin: 0 0 4px 22px; padding-left: 10px; border-left: 1px solid #ffffff1a; }
.nav-sub-list[hidden] { display: none; }
.nav-sub-item { min-height: 40px !important; font-size: 12.5px; }
.sidebar-bottom { margin-top: auto; padding-top: 48px; }
.sidebar-note { padding: 16px; margin: 0 3px 23px; border: 1px solid #33304e; border-radius: 12px; background: #201f39; }
.note-icon { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #5b467f; border-radius: 9px; color: #b7a0ee; background: #443258; margin-bottom: 12px; }
.note-icon .icon { width: 17px; height: 17px; }
.sidebar-note strong { display: block; font-size: 12px; color: #e5dff2; font-weight: 550; }
.sidebar-note p { margin-top: 7px; font-size: 11px; line-height: 1.75; color: #a6a0bd; }
.sidebar-account { display: flex; align-items: center; gap: 10px; padding: 18px 10px 15px; border-top: 1px solid #ffffff0c; }
.account-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid #655788; background: #3c3158; color: #d0bbed; font-size: 13px; font-weight: 600; border-radius: 10px; }
.sidebar-account strong { display: block; font-size: 12px; font-weight: 500; color: #e5e2f1; }
.sidebar-account div > span { display: block; margin-top: 4px; font-size: 10px; color: #a4a0ba; }
.account-indicator { width: 6px; height: 6px; margin-left: auto; background: #a088cf; border-radius: 50%; }
.logout-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 40px; border: 1px solid #3b3856; border-radius: 9px; color: #bfb8d5; background: #1c1d35; font-size: 12px; }
.logout-button .icon { width: 15px; height: 15px; }
.logout-button:hover { background: #302740; color: #eadcf9; }
.sidebar-close, .menu-toggle, .mobile-brand, .sidebar-backdrop { display: none; }
.workspace { margin-left: var(--sidebar-width); min-height: 100vh; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; padding: 0 36px; background: #fff; border-bottom: 1px solid #e9e9f1; }
.topbar-leading, .topbar-account, .breadcrumb { display: flex; align-items: center; }
.topbar-leading { gap: 15px; }
.breadcrumb { gap: 14px; font-size: 12px; color: #786d84; }
.breadcrumb > .icon { width: 16px; height: 16px; color: #9691a8; }
.breadcrumb > .breadcrumb-chevron { width: 11px; height: 11px; color: #aaa7b6; }
.breadcrumb strong { color: #514c65; font-weight: 500; }
.topbar-account { gap: 17px; }
.admin-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid #e9e5f6; border-radius: 7px; color: #786392; background: #f9f7fd; font-size: 10px; }
.admin-tag .icon { width: 13px; height: 13px; }
.topbar-avatar { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #e4d9f4; border-radius: 50%; color: #866aa3; background: #f0e8fa; font-size: 12px; font-weight: 600; }

/* Main workspace. Counts and member details are supplied by the API. */
.main-content { max-width: 1570px; margin: 0 auto; padding: 35px 36px 22px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 29px; }
.page-heading h1 { margin-top: 8px; font-size: 31px; line-height: 1.25; letter-spacing: -.9px; font-weight: 700; }
.heading-dot { color: var(--accent); }
.page-description { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.heading-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 9px; padding-top: 3px; flex-shrink: 0; }
.sync-status { color: #756a84; font-size: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 28px; }
.stat { min-height: 150px; padding: 20px; border: 1px solid #e7e5ef; border-radius: 13px; background: #fff; box-shadow: 0 2px 3px #25244402; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-label { color: #706981; font-size: 12px; font-weight: 500; }
.stat-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 auto; border-radius: 9px; }
.stat-icon svg { width: 18px; height: 18px; }
.stat[data-tone="violet"] .stat-icon { color: #8a63cb; background: #f2ebfb; }
.stat[data-tone="green"] .stat-icon { color: #2b9177; background: #eaf7f1; }
.stat[data-tone="amber"] .stat-icon { color: #b27d2a; background: #fff4df; }
.stat[data-tone="rose"] .stat-icon { color: #bd5e81; background: #fbeef4; }
.stat-value { display: block; margin-top: 7px; font-size: 32px; line-height: 1.2; font-weight: 650; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.stat-note { display: block; margin-top: 9px; color: #786d84; font-size: 10px; line-height: 1.5; }
.directory { overflow: hidden; border: 1px solid #e4e3ed; border-radius: 15px; background: #fff; box-shadow: 0 2px 6px #28203e03; }
.directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 23px 25px; }
.directory-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.directory-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border: 1px solid #ebe5f5; border-radius: 11px; color: #8c70b2; background: #f6f1fd; }
.directory-icon .icon { width: 19px; height: 19px; }
.directory-title h2 { font-size: 17px; font-weight: 650; letter-spacing: -.25px; }
.directory-title p { margin-top: 5px; color: #786d84; font-size: 11px; line-height: 1.4; }
.result-count { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #e8e2f2; border-radius: 7px; background: #f8f5fc; color: #826798; font-size: 11px; }
.toolbar { display: flex; align-items: center; gap: 25px; padding: 0 25px 21px; }
.search-wrap { position: relative; display: flex; flex: 1; min-width: 0; }
.search-wrap .icon { position: absolute; top: 13px; left: 14px; color: #9791a7; width: 17px; height: 17px; pointer-events: none; }
.search-wrap input { width: 100%; min-width: 0; height: 44px; padding: 0 13px 0 41px; border: 1px solid #e3e1eb; border-radius: 8px; background: #fdfdff; font-size: 12px; color: #373247; }
.search-wrap input::placeholder { color: #796e87; }
.search-wrap input:focus { border-color: #9e85df; }
.filter-wrap { display: flex; align-items: center; gap: 11px; }
.filter-wrap label { color: #786d84; font-size: 12px; }
.filter-wrap select { width: 138px; height: 44px; padding: 0 11px; border: 1px solid #e3e1eb; border-radius: 8px; background: #fff; color: #52485f; font-size: 12px; }
.notice { margin: 0 25px 18px; padding: 13px 15px; border: 1px solid #f0cad8; border-radius: 8px; color: #aa3456; background: #fff5f8; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.notice:empty { display: none; }
.list-columns, .user { display: grid; grid-template-columns: minmax(200px, 1fr) 122px 108px 205px; align-items: center; gap: 16px; }
.list-columns { padding: 13px 25px; border-top: 1px solid #edeaf2; border-bottom: 1px solid #edeaf2; background: #faf9fd; color: #756a84; font-size: 9px; letter-spacing: 1.15px; font-weight: 600; }
.user { min-height: 89px; padding: 16px 25px; border-bottom: 1px solid #f0edf4; transition: background .15s; }
.user:hover { background: #fdfbff; }
.user:last-child { border-bottom: 0; }
.user-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.user-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid #e8ddf6; border-radius: 12px; background: #f2eafc; color: #9374b5; font-size: 12px; font-weight: 600; }
.user:nth-child(3n+2) .user-avatar { background: #edf6f5; color: #5d948d; border-color: #daeeeb; }
.user:nth-child(3n) .user-avatar { background: #faf0e8; color: #b18a67; border-color: #f3e4d8; }
.user-details { min-width: 0; }
.user h3 { overflow: hidden; text-overflow: ellipsis; font-size: 13px; line-height: 1.5; font-weight: 600; color: #3d344c; }
.meta { margin-top: 4px; color: #786d84; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.user-id { color: #786d84; font-size: 11px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.user-status { display: flex; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 4px 9px; border: 1px solid transparent; border-radius: 6px; font-size: 10px; font-weight: 550; white-space: nowrap; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.active { color: #28765f; background: #edf8f2; border-color: #d9eee3; }
.badge.hold { color: #8e6521; background: #fff7e8; border-color: #f4e8c9; }
.badge.banned { color: #a34465; background: #fff0f5; border-color: #f5dce5; }
.badge.unknown { color: #776d83; background: #f4f2f8; border-color: #e5dfed; }
.actions { display: flex; align-items: center; gap: 7px; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 33px; padding: 0 12px; border: 1px solid; border-radius: 7px; font-size: 11px; font-weight: 550; transition: background .15s; }
.action.active { color: #276b57; background: #f7fcf9; border-color: #d6eade; }
.action.active:hover { background: #dcf3e7; }
.action.hold { color: #896322; background: #fffdf7; border-color: #eee2c8; }
.action.hold:hover { background: #fff0c9; }
.action.banned { color: #a04965; background: #fffbfc; border-color: #eedbe3; }
.action.banned:hover { background: #fce4ee; }
.empty-state { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; min-height: 210px; padding: 40px 24px; text-align: center; }
.empty-state svg { width: 31px; height: 31px; margin-bottom: 6px; color: #b5a1d0; }
.empty-state h3 { font-size: 14px; font-weight: 600; color: #665575; }
.empty-state p { color: #786d84; font-size: 12px; line-height: 1.6; }
.directory-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 49px; padding: 12px 25px; border-top: 1px solid #eeeaf4; background: #fefdff; color: #786d84; font-size: 10px; line-height: 1.6; }
.directory-footer-note { color: #786d84; }
.app-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; color: #756a84; font-size: 10px; line-height: 1.7; }
.app-footer strong { font-weight: 550; color: #756a84; }
.footer-divider { margin: 0 10px; color: #c4bbce; }
.footer-right { display: flex; align-items: center; gap: 6px; }
.footer-right .icon { width: 12px; height: 12px; }

@media (max-height: 760px) and (min-width: 981px) {
  .sidebar-note { display: none; }
}
@media (max-width: 1250px) {
  :root { --sidebar-width: 238px; }
  .sidebar { padding-right: 15px; padding-left: 15px; }
  .sidebar-brand-row { padding-right: 7px; padding-left: 7px; }
  .topbar { padding-right: 28px; padding-left: 28px; }
  .main-content { padding-right: 28px; padding-left: 28px; }
  .stat { padding: 18px; }
  .list-columns, .user { grid-template-columns: minmax(180px, 1fr) 90px 90px 180px; gap: 12px; padding-right: 20px; padding-left: 20px; }
  .action { padding-right: 9px; padding-left: 9px; }
}
@media (max-width: 980px) {
  .sidebar { width: 276px; visibility: hidden; transform: translateX(-100%); transition: transform .2s ease, visibility 0s linear .2s; box-shadow: 15px 0 40px #14172e20; }
  .sidebar.is-open { visibility: visible; transform: translateX(0); transition-delay: 0s; }
  .sidebar-close { display: inline-flex; border-color: #3a3553; background: #26223c; color: #d0c3e4; width: 30px; height: 30px; flex: 0 0 auto; }
  .sidebar-close:hover { background: #39304e; }
  .sidebar-backdrop { display: block; position: fixed; z-index: 39; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #10142966; backdrop-filter: blur(2px); }
  .workspace { margin-left: 0; }
  .topbar { min-height: 70px; }
  .menu-toggle { display: inline-flex; }
  .mobile-brand { display: inline-flex; align-items: center; gap: 8px; }
  .mobile-brand img { display: block; border-radius: 10px; }
  .mobile-brand strong { font-size: 19px; letter-spacing: -.5px; }
  .breadcrumb { display: none; }
  .skip-link { left: 16px; }
  .login-story { padding-right: 35px; padding-left: 35px; }
  .story-content h2 { font-size: 40px; }
  .story-kicker { font-size: 8px; letter-spacing: .7px; }
}
@media (max-width: 760px) {
  .main-content { padding: 28px 23px 20px; }
  .page-heading h1 { font-size: 28px; }
  .page-description { font-size: 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .stat { min-height: 137px; }
  .login-view { display: block; }
  .login-story { min-height: 240px; padding: 27px 30px 32px; }
  .login-brand .brand-logo { width: 40px; height: 40px; border-radius: 12px; }
  .login-brand .brand-copy strong { font-size: 22px; }
  .story-content { margin: 0; padding: 32px 0 0; }
  .story-content h2 { margin: 0; max-width: 390px; font-size: 37px; letter-spacing: -1.2px; }
  .story-content h2 br { display: none; }
  .story-kicker, .story-content > p, .story-features, .story-footer { display: none; }
  .login-main { min-height: 550px; padding: 42px 30px 90px; }
  .login-card { max-width: 410px; }
  .login-emblem { display: none; }
  .login-footer { left: 30px; right: 30px; }
}
@media (max-width: 700px) {
  .list-columns { display: none; }
  .users { border-top: 1px solid #edeaf2; }
  .user { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "identity status" "id id" "actions actions"; gap: 8px 10px; padding: 20px 25px; }
  .user-identity { grid-area: identity; }
  .user-avatar { width: 38px; height: 38px; }
  .user h3 { font-size: 13px; }
  .user-status { grid-area: status; align-self: start; padding-top: 5px; }
  .user-id { grid-area: id; padding-left: 50px; font-size: 10px; }
  .user-id::before { content: attr(data-label) " · "; color: #786d84; }
  .actions { grid-area: actions; padding-left: 50px; margin-top: 4px; }
  .action { min-height: 35px; padding: 0 18px; }
  .filter-wrap label { display: none; }
  .filter-wrap select { width: 115px; }
  .toolbar { gap: 12px; }
}
@media (max-width: 520px) {
  .topbar { min-height: 65px; padding: 0 17px; gap: 10px; }
  .topbar-leading { gap: 10px; }
  .topbar-account { gap: 9px; }
  .admin-tag { padding: 6px 8px; font-size: 9px; }
  .admin-tag .icon { display: none; }
  .topbar-avatar { width: 29px; height: 29px; font-size: 11px; }
  .main-content { padding: 25px 16px 20px; }
  .page-heading { align-items: stretch; flex-direction: column; gap: 18px; margin-bottom: 23px; }
  .page-heading .section-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .page-heading h1 { margin-top: 7px; font-size: 27px; }
  .page-description { margin-top: 7px; max-width: 310px; line-height: 1.7; }
  .heading-actions { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 0; }
  .refresh-button { min-height: 40px; font-size: 12px; padding: 0 14px; }
  .sync-status { font-size: 9px; }
  .stats { gap: 11px; margin-bottom: 23px; }
  .stat { min-height: 135px; padding: 15px; border-radius: 12px; }
  .stat-label { font-size: 11px; }
  .stat-icon { width: 29px; height: 29px; border-radius: 8px; }
  .stat-icon svg { width: 16px; height: 16px; }
  .stat-value { font-size: 29px; margin-top: 8px; }
  .stat-note { font-size: 10px; margin-top: 8px; }
  .directory { border-radius: 13px; }
  .directory-heading { padding: 19px 16px; gap: 9px; }
  .directory-title { gap: 9px; }
  .directory-icon { width: 34px; height: 34px; border-radius: 9px; }
  .directory-title h2 { font-size: 16px; }
  .directory-title p { font-size: 10px; margin-top: 4px; }
  .result-count { font-size: 10px; padding: 5px 7px; max-width: 90px; text-align: center; }
  .toolbar { flex-wrap: wrap; gap: 11px; padding: 0 16px 17px; }
  .search-wrap { flex-basis: 100%; }
  .search-wrap input { font-size: 12px; padding-left: 36px; }
  .search-wrap .icon { left: 12px; width: 15px; }
  .filter-wrap { width: 100%; }
  .filter-wrap label { display: block; font-size: 11px; }
  .filter-wrap select { flex: 1; height: 40px; }
  .notice { margin: 0 16px 17px; font-size: 11px; }
  .user { padding: 18px 16px; }
  .user-identity { gap: 10px; }
  .user-id { padding-left: 48px; }
  .user h3 { font-size: 13px; }
  .meta { font-size: 11px; }
  .badge { font-size: 10px; gap: 5px; padding: 4px 7px; }
  .actions { padding-left: 0; gap: 8px; margin-top: 7px; }
  .action { flex: 1; min-height: 39px; font-size: 11px; }
  .directory-footer { min-height: 45px; padding: 12px 16px; font-size: 10px; }
  .directory-footer-note, .footer-right { display: none; }
  .app-footer { justify-content: center; margin-top: 20px; font-size: 9px; }
  .login-story { min-height: 230px; padding-right: 25px; padding-left: 25px; }
  .story-content h2 { font-size: 33px; }
  .login-main { padding-right: 25px; padding-left: 25px; }
  .login-card h1 { font-size: 29px; }
  .login-footer { right: 25px; left: 25px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Multi-surface moderation workspace: users, rooms/groups, and reports. */
.nav-primary { min-height: 45px; }
.nav-secondary { min-height: 38px; margin: 2px 0; padding-left: 20px; font-size: 12px; }
.nav-secondary::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #6d6f91; }
.nav-secondary.is-active::before { background: #fff; box-shadow: 0 0 0 3px #ffffff20; }
.sidebar-navigation .moderation-label { margin-top: 22px; }
.sidebar-bottom { padding-top: 26px; }
.toolbar { align-items: flex-end; flex-wrap: wrap; gap: 14px; }
.search-wrap { min-width: min(330px, 100%); }
.toolbar-filters { display: flex; align-items: flex-end; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.toolbar-filters .filter-wrap { display: flex; align-items: stretch; flex-direction: column; gap: 6px; }
.toolbar-filters .filter-wrap label { font-size: 10px; font-weight: 600; letter-spacing: .35px; }
.toolbar-filters .filter-wrap select { width: 150px; }
#groupFilter { width: 190px; }
.stats[data-view="rooms"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats[data-view="reports"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat[data-tone="slate"] .stat-icon { color: #687086; background: #eef0f5; }
#directory[data-view="rooms"] .list-columns,
#directory[data-view="rooms"] .user { grid-template-columns: minmax(250px, 1.3fr) minmax(180px, .9fr) 150px 105px; }
#directory[data-view="reports"] .list-columns,
#directory[data-view="reports"] .user { grid-template-columns: minmax(280px, 1.35fr) minmax(135px, .62fr) 150px minmax(235px, .9fr); }
.room-avatar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.room-details { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #51485f; font-size: 11px; }
.room-details strong { overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.room-details span { color: #786d84; line-height: 1.5; overflow-wrap: anywhere; }
.status-stack { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; min-width: 0; }
.badge.blocked { color: #a72650; background: #ffe8f0; border-color: #efb9cb; font-weight: 750; letter-spacing: .55px; }
.badge.open { color: #a34465; background: #fff0f5; border-color: #f5dce5; }
.badge.reviewing { color: #8e6521; background: #fff7e8; border-color: #f4e8c9; }
.badge.resolved { color: #28765f; background: #edf8f2; border-color: #d9eee3; }
.badge.dismissed { color: #626a7e; background: #f1f2f6; border-color: #dfe1e8; }
.badge.offline { color: #626a7e; background: #f1f2f6; border-color: #dfe1e8; }
.badge.closed { color: #795c2a; background: #fbf4e7; border-color: #eadcbe; }
.room-row.is-blocked { background: linear-gradient(90deg, #fff4f7 0, #fff 35%); box-shadow: inset 4px 0 #c73c6c; }
.room-row.is-blocked:hover { background: linear-gradient(90deg, #ffedf3 0, #fffbfc 35%); }
.blocked-ribbon { display: inline-flex; width: fit-content; margin-top: 7px; padding: 4px 7px; border-radius: 5px; color: #9d214c; background: #ffe4ed; font-size: 9px; line-height: 1.3; letter-spacing: .65px; }
.report-summary { min-width: 0; }
.report-heading { display: flex; align-items: center; gap: 9px; min-width: 0; }
.report-heading strong { overflow: hidden; text-overflow: ellipsis; color: #3d344c; font-size: 12px; }
.report-id { flex: 0 0 auto; color: #8a7b96; font-size: 9px; font-variant-numeric: tabular-nums; }
.report-summary p { display: -webkit-box; margin-top: 5px; overflow: hidden; color: #62576e; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.report-target { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.report-target strong { overflow-wrap: anywhere; color: #51485f; font-size: 11px; }
.target-kind { width: fit-content; padding: 3px 6px; border-radius: 5px; color: #7452a3; background: #f3edfa; font-size: 9px; text-transform: uppercase; letter-spacing: .55px; }
.report-actions { flex-wrap: wrap; }
.action.report-reviewing { color: #7b5d27; background: #fffaf0; border-color: #ecdcb8; }
.action.report-resolved { color: #276b57; background: #f7fcf9; border-color: #d6eade; }
.action.report-dismissed { color: #6b6176; background: #faf9fc; border-color: #ded9e5; }

@media (max-width: 1350px) {
  .stats[data-view="reports"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #directory[data-view="reports"] .list-columns,
  #directory[data-view="reports"] .user { grid-template-columns: minmax(240px, 1.15fr) 125px 135px minmax(180px, .85fr); }
}
@media (max-width: 1100px) {
  .toolbar { align-items: stretch; }
  .search-wrap { flex-basis: 100%; }
  .toolbar-filters { justify-content: flex-start; }
  .stats[data-view="reports"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .toolbar-filters { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar-filters .filter-wrap:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .toolbar-filters .filter-wrap select, #groupFilter { width: 100%; }
  .stats[data-view="rooms"], .stats[data-view="reports"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  #directory[data-view="rooms"] .user { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "identity status" "details details" "actions actions"; }
  #directory[data-view="rooms"] .user-identity { grid-area: identity; }
  #directory[data-view="rooms"] .room-details { grid-area: details; padding-left: 50px; }
  #directory[data-view="rooms"] .status-stack { grid-area: status; align-items: flex-end; }
  #directory[data-view="rooms"] .actions { grid-area: actions; padding-left: 50px; }
  #directory[data-view="reports"] .user { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "report status" "target target" "actions actions"; gap: 12px; }
  #directory[data-view="reports"] .report-summary { grid-area: report; }
  #directory[data-view="reports"] .report-target { grid-area: target; }
  #directory[data-view="reports"] .status-stack { grid-area: status; align-items: flex-end; }
  #directory[data-view="reports"] .actions { grid-area: actions; padding-left: 0; }
}
@media (max-width: 520px) {
  .toolbar-filters { grid-template-columns: 1fr; }
  .toolbar-filters .filter-wrap:last-child:nth-child(odd) { grid-column: auto; }
  .stats[data-view="rooms"], .stats[data-view="reports"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #directory[data-view="rooms"] .user { grid-template-columns: 1fr; grid-template-areas: "identity" "status" "details" "actions"; }
  #directory[data-view="rooms"] .room-details, #directory[data-view="rooms"] .actions { padding-left: 0; }
  #directory[data-view="rooms"] .status-stack { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  #directory[data-view="reports"] .user { grid-template-columns: 1fr; grid-template-areas: "report" "target" "status" "actions"; }
  #directory[data-view="reports"] .status-stack { align-items: flex-start; }
  .report-actions .action { flex: 1 1 31%; }
}

.banner-row { align-items: center; }
.banner-preview { min-height: 88px; border-radius: 12px; overflow: hidden; background: #14172e; display: grid; place-items: center; color: #a8a2c5; }
.banner-preview img { width: 100%; height: 88px; object-fit: cover; display: block; }
.banner-empty { font-size: 12px; }
.banner-save { margin: 16px 0 8px; padding: 16px; border: 1px dashed #d7d3ea; border-radius: 14px; background: #faf9ff; }
.banner-save p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.gift-row .room-details { display: flex; flex-direction: column; gap: 4px; }
.feature-block { margin: 0 0 16px; padding: 16px; border: 1px solid #33304e; border-radius: 14px; background: #1b1d36; }
.feature-block h3 { margin: 0 0 6px; color: #efeafb; font-size: 15px; }
.feature-block p { margin: 0 0 12px; color: #a8a2c5; font-size: 12px; line-height: 1.5; }
.feature-hint { margin: 10px 0 0 !important; color: #8f88b0 !important; font-size: 12px !important; line-height: 1.45; }
.feature-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.feature-jump .action { text-decoration: none; display: inline-flex; align-items: center; }
#special-room { border-color: #7c3aed; box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.25); }
#official-room { border-color: #f0b42955; }
#frames { border-color: #3b82f655; }
.feature-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.admin-compact { color: #c4b5fd; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }
.coin-input-wrap { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; vertical-align: middle; position: relative; }
.coin-input-wrap input[data-coin-input] { min-height: 40px; border-radius: 10px; border: 1px solid #3a3553; background: #14172e; color: #efeafb; padding: 0 12px; }
.coin-dd { position: relative; }
.coin-dd-sum {
  list-style: none; cursor: pointer; user-select: none;
  min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid #5b4d8a; background: #1a1433; color: #efeafb;
  font-size: 12px; font-weight: 800; display: inline-flex; align-items: center;
}
.coin-dd-sum::-webkit-details-marker { display: none; }
.coin-dd[open] .coin-dd-sum { border-color: #c45cff; background: #2a1f4d; }
.coin-dd-panel {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 220px; max-width: min(320px, 92vw);
  background: #12102a; border: 1px solid #5b4d8a; border-radius: 12px; padding: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}
.coin-dd-search {
  width: 100%; min-height: 36px; margin-bottom: 8px; border-radius: 8px;
  border: 1px solid #3a3553; background: #0d0b1c; color: #efeafb; padding: 0 10px;
}
.coin-dd-list { max-height: 220px; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
.coin-dd-opt {
  appearance: none; text-align: left; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: #efeafb; padding: 8px 10px; cursor: pointer; font-weight: 800; font-size: 13px;
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.coin-dd-opt .meta { font-weight: 600; color: #a89bb8; font-size: 11px; }
.coin-dd-opt:hover, .coin-dd-opt.is-on { background: linear-gradient(135deg, #7c5cff55, #c45cff44); border-color: #c45cff; }
.coin-dd-add { width: 100%; margin-top: 8px; }
.feature-row input, .feature-row select { min-width: 92px; height: 36px; border-radius: 8px; border: 1px solid #3a3553; background: #14172e; color: #f4f0ff; padding: 0 10px; }
.feature-row .action { height: 36px; }
#directory[data-view="economy"] .list-columns { display: none; }
#directory[data-view="economy"] .users { display: block; }

/* ===== App-matching dark theme overrides (Yapzo nebula) ===== */
:root {
  --accent: #9b5cff;
  --accent-hover: #b078ff;
  --muted: #a89bb8;
  --border: #3a2a55;
  --text: #f4eefc;
}
html, body {
  color: var(--text) !important;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(123, 44, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(227, 89, 255, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 40% 90%, rgba(59, 130, 246, 0.16), transparent 55%),
    linear-gradient(180deg, #0a0418 0%, #070314 45%, #050210 100%) !important;
  background-attachment: fixed !important;
}
.workspace { background: transparent; }
.topbar {
  background: rgba(12, 6, 28, 0.82) !important;
  border-bottom: 1px solid rgba(90, 50, 140, 0.35) !important;
  backdrop-filter: blur(12px);
}
.breadcrumb, .breadcrumb strong, .sync-status, .page-description, .directory-title p, .meta, .user-id, .filter-wrap label, .result-count, .list-columns, .stat-label, .stat-note, .directory-footer, .app-footer { color: var(--muted) !important; }
.page-heading h1, .directory-title h2, .user h3, .stat-value { color: #fff !important; }
.section-eyebrow { color: #c9a8e8 !important; }
.main-content { color: var(--text); }
.stat, .directory {
  background: rgba(18, 10, 36, 0.88) !important;
  border: 1px solid rgba(90, 50, 140, 0.4) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28) !important;
}
.stat[data-tone="violet"] .stat-icon { color: #d2b4ff; background: rgba(123, 44, 255, 0.25); }
.stat[data-tone="green"] .stat-icon { color: #7dffc4; background: rgba(25, 204, 128, 0.18); }
.stat[data-tone="amber"] .stat-icon { color: #ffd166; background: rgba(240, 180, 41, 0.18); }
.stat[data-tone="rose"] .stat-icon { color: #ff8ab8; background: rgba(255, 79, 145, 0.18); }
.directory-icon { border-color: #5a2a78; color: #d7b4ff; background: rgba(90, 42, 160, 0.35); }
.result-count, .admin-tag {
  border-color: #5a2a78 !important;
  background: rgba(40, 20, 70, 0.8) !important;
  color: #d7c4ff !important;
}
.search-wrap input, .filter-wrap select, .input-wrap input {
  background: rgba(10, 6, 22, 0.95) !important;
  border: 1px solid #5a2a78 !important;
  color: #fff !important;
}
.list-columns { background: rgba(14, 8, 28, 0.9) !important; border-color: rgba(90, 50, 140, 0.35) !important; }
.user { border-bottom-color: rgba(90, 50, 140, 0.25) !important; }
.user:hover { background: rgba(40, 20, 70, 0.35) !important; }
.user-avatar { border-color: #6d397d !important; background: #2a1a40 !important; color: #f7c63b !important; }
.notice { border-color: rgba(255, 86, 136, 0.45); color: #ffb3c8; background: rgba(80, 16, 40, 0.55); }
.banner-save { border-color: #5a2a78; background: rgba(20, 12, 40, 0.8); }
.primary-button {
  background: linear-gradient(135deg, #ff4fbf, #7a3bff) !important;
  border-color: transparent !important;
}
.login-view { background: transparent !important; }
.login-main { background: transparent; }
.login-card h1, .login-card .section-eyebrow { color: #fff; }
.login-description, .login-footnote, .login-footer, .form-field label { color: var(--muted) !important; }
.login-card {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(120, 60, 200, 0.35);
  background: rgba(16, 8, 34, 0.92);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* Admin Room hero */
.admin-room-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin: 0 0 16px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 79, 191, 0.35);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 79, 191, 0.22), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(122, 59, 255, 0.28), transparent 50%),
    linear-gradient(145deg, rgba(28, 12, 48, 0.95), rgba(10, 6, 24, 0.98));
}
.admin-room-kicker { color: #ff9ad4; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; margin-bottom: 8px; }
.admin-room-hero-copy h3 { color: #fff; font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.admin-room-hero-copy p { color: #cbb8e8; font-size: 13px; line-height: 1.55; }
.admin-room-hero-copy strong { color: #fff; }
.admin-room-status {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
}
.admin-room-status.is-on { background: rgba(25, 204, 128, 0.2); color: #7dffc4; border: 1px solid rgba(25, 204, 128, 0.45); }
.admin-room-status.is-off { background: rgba(255, 86, 136, 0.16); color: #ff9ab8; border: 1px solid rgba(255, 86, 136, 0.4); }
.admin-room-preview-card { max-width: 220px; justify-self: end; }
.admin-room-preview-art {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 180, 60, 0.4);
  background: radial-gradient(circle at 40% 30%, #5a3a12, #1a0e04 70%);
  background-size: cover;
  background-position: center;
}
.admin-room-preview-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.9); color: #1a0a08; font-size: 10px; font-weight: 900;
}
.admin-room-preview-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #f0b429; font-size: 42px; font-weight: 900;
}
.admin-room-preview-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: 8px;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff; font-size: 11px; font-weight: 800;
}
.admin-room-preview-label { margin-top: 8px; color: #f2eef8; font-size: 12px; font-weight: 700; }
@media (max-width: 900px) {
  .admin-room-hero { grid-template-columns: 1fr; }
  .admin-room-preview-card { justify-self: start; }
}

/* Admin Room cards (multi-room Recommend list) */
.admin-room-intro .frame-size-callout { margin-bottom: 0; }
.admin-room-list { display: grid; gap: 14px; margin-bottom: 14px; }
.admin-room-card {
  border: 1px solid #33304e;
  border-radius: 14px;
  background: #1b1d36;
  padding: 14px;
}
.admin-room-card.is-on { border-color: rgba(25, 204, 128, 0.45); box-shadow: inset 0 0 0 1px rgba(25, 204, 128, 0.12); }
.admin-room-card-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.admin-room-card-title { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #efeafb; font-size: 14px; }
.admin-room-card-num {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 7px;
  background: #33304e; color: #cfc6ee; font-size: 11px; font-weight: 800;
}
.admin-room-card-body { display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: start; }
.admin-room-cover { display: grid; gap: 8px; justify-items: stretch; }
.admin-room-cover-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px dashed #4a4470;
  background-color: #14172e;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: #7b74a0;
  font-size: 12px;
  font-weight: 700;
}
.admin-room-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.admin-room-fields label { display: grid; gap: 5px; color: #a8a2c5; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.admin-room-fields input, .admin-room-fields select {
  height: 36px; width: 100%;
  border-radius: 8px; border: 1px solid #3a3553;
  background: #14172e; color: #f4f0ff; padding: 0 10px;
  font-size: 13px;
}
.admin-room-field-wide { grid-column: 1 / -1; }
.admin-room-actions { align-items: center; gap: 10px; margin: 0 0 16px; }
.admin-room-actions .feature-hint { margin: 0 !important; flex: 1 1 220px; }

/* Square Recommend preview, 2 per row like the Popular tab */
.admin-room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.admin-room-grid .meta { grid-column: 1 / -1; color: #8f88b0; font-size: 12px; }
.admin-room-thumb { margin: 0; }
.admin-room-thumb-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 180, 60, 0.4);
  background-color: #1a0e04;
  background-image: radial-gradient(circle at 40% 30%, #5a3a12, #1a0e04 70%);
  background-size: cover;
  background-position: center;
}
.admin-room-thumb-badge {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.9); color: #1a0a08; font-size: 10px; font-weight: 900;
}
.admin-room-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #f0b429; font-size: 34px; font-weight: 900; }
.admin-room-thumb figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: #f2eef8; font-size: 11px; font-weight: 700; }
.admin-room-thumb figcaption span { color: #a8a2c5; font-weight: 600; }

/* Frames */
.frame-size-callout {
  margin: 0 0 12px !important;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.12);
  color: #e3d9ff !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.5;
}
.frame-thumb {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 12px;
  border: 1px solid #3a3553;
  background:
    linear-gradient(45deg, #23213c 25%, transparent 25%, transparent 75%, #23213c 75%) 0 0/14px 14px,
    linear-gradient(45deg, #23213c 25%, transparent 25%, transparent 75%, #23213c 75%) 7px 7px/14px 14px,
    #1b1d36;
  overflow: hidden;
}
.frame-thumb img { width: 100%; height: 100%; object-fit: contain; }
.frame-thumb-fallback { color: #a8a2c5; font-size: 10px; font-weight: 800; }
.frame-file { overflow-wrap: anywhere; }
.frame-file a { color: #b9a8ff; }
.frame-upload-preview { display: flex; align-items: center; gap: 12px; margin-top: 10px; color: #a8a2c5; font-size: 12px; }
.frame-upload-preview img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; border: 1px solid #3a3553; background: #14172e; }

/* Asset drop zones — gifts, frames, storage, spin (hardened; JS also inlines styles) */
.asset-field { display: grid !important; gap: 10px !important; width: 100% !important; max-width: 780px !important; margin: 12px 0 !important; box-sizing: border-box !important; }
.asset-drop {
  display: grid !important;
  grid-template-columns: 88px 1fr !important;
  gap: 18px !important;
  align-items: center !important;
  min-height: 150px !important;
  padding: 18px 20px !important;
  border-radius: 16px !important;
  border: 3px dashed #9b7dff !important;
  background: linear-gradient(165deg,#1e1840,#0f1124) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.asset-drop:hover, .asset-drop.is-dragover {
  border-color: #d4c6ff !important;
  background: #1a1634 !important;
  box-shadow: 0 0 0 5px rgba(124, 92, 255, .25) !important;
}
.asset-drop.is-uploading { opacity: .65; pointer-events: none; }
.asset-drop-copy { display: grid !important; gap: 6px !important; min-width: 0 !important; }
.asset-drop-copy strong { color: #efeafb; font-size: 13px; }
.asset-drop-copy span { color: #8f87ad; font-size: 12px; line-height: 1.4; }
.asset-drop-copy em { color: #b9a8ff; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.asset-drop-preview {
  width: 88px !important; height: 88px !important; border-radius: 14px !important; overflow: hidden;
  border: 1px solid #3a3553; background: #0e1020;
  display: grid !important; place-items: center; color: #8f87ad; font-size: 11px; font-weight: 800;
  flex-shrink: 0;
}
.asset-drop-preview img { width: 100%; height: 100%; object-fit: contain; }
.asset-drop-preview.is-empty { border-style: dashed; color: #6d6788; }
.asset-drop-preview.is-svga, .asset-drop-preview.is-audio, .asset-drop-preview.is-video {
  display: flex !important; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  background: #1b1433; color: #d6c8ff; font-size: 11px; font-weight: 800;
}
.asset-kind-tag {
  position: absolute; bottom: 4px; right: 4px; font-size: 9px; font-weight: 800;
  background: rgba(124,92,255,.9); color: #fff; padding: 1px 5px; border-radius: 6px;
}
.asset-drop-preview { position: relative; }
.asset-drop-preview a { color: #b9a8ff; font-size: 10px; text-decoration: none; }
.asset-drop-preview.is-broken::after { content: 'Bad URL'; color: #f0a0a8; font-size: 10px; }
.asset-url-input {
  width: 100% !important; max-width: 780px !important; min-height: 42px !important;
  border-radius: 10px !important; border: 1px solid #3a3553 !important;
  background: #14172e !important; color: #efeafb !important;
  padding: 0 14px !important; font-size: 13px !important; box-sizing: border-box !important;
}

/* Large Frames DROP BOX */
.drop-box-wrap { display: grid; gap: 10px; width: 100%; max-width: 760px; margin: 10px 0 6px; }
.drop-box {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 200px;
  padding: 22px;
  border-radius: 20px;
  border: 2.5px dashed #8b6cff;
  background:
    radial-gradient(circle at 10% 15%, rgba(124,92,255,.28), transparent 45%),
    linear-gradient(165deg, #1c1738 0%, #101225 100%);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(185,168,255,.12);
  transition: border-color .15s, box-shadow .15s, transform .15s, background .15s;
}
.drop-box:hover, .drop-box.is-dragover {
  border-color: #d4c6ff;
  border-style: solid;
  box-shadow: 0 0 0 5px rgba(124, 92, 255, .22);
  transform: translateY(-1px);
  background:
    radial-gradient(circle at 10% 15%, rgba(124,92,255,.38), transparent 45%),
    linear-gradient(165deg, #241b4a 0%, #12132a 100%);
}
.drop-box.has-file { border-style: solid; border-color: #9b7dff; }
.drop-box.is-uploading { opacity: .7; pointer-events: none; }
.drop-box-preview {
  width: 132px; height: 132px; border-radius: 18px; overflow: hidden;
  border: 1px solid #4a4568; background: #0a0c18;
  display: grid; place-items: center; color: #b9a8ff;
}
.drop-box-preview img { width: 100%; height: 100%; object-fit: contain; }
.drop-box-preview.is-empty { border-style: dashed; }
.drop-box-preview.is-badge {
  display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  background: #2a1f55; color: #fff; font-weight: 800; letter-spacing: .04em;
}
.drop-box-preview.is-badge span { font-size: 11px; color: #c9bdd8; font-weight: 600; }
.drop-box-title { display: block; color: #fff; font-size: 22px; letter-spacing: .06em; margin-bottom: 6px; }
.drop-box-sub { margin: 0 0 12px; color: #c9bdd8; font-size: 14px; line-height: 1.45; }
.drop-box-sub b { color: #efeafb; }
.drop-box-formats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.drop-box-formats span {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: 999px; border: 1px solid #5b4d8a; background: #1a1433;
  color: #efeafb; font-size: 12px; font-weight: 700;
}
.drop-box-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.drop-box-btn {
  appearance: none; border: 0; cursor: pointer;
  min-height: 40px; padding: 0 18px; border-radius: 12px;
  background: linear-gradient(135deg, #7c5cff, #c45cff); color: #fff;
  font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.drop-box-btn:hover { filter: brightness(1.08); }
.drop-box-status { color: #b9a8ff; font-size: 12px; font-weight: 700; }
@media (max-width: 640px) {
  .drop-box { grid-template-columns: 1fr; text-align: center; min-height: 240px; }
  .drop-box-preview { margin: 0 auto; }
  .drop-box-formats, .drop-box-actions { justify-content: center; }
}

/* Large Frames hero drop zone (legacy class kept) */
.frame-hero { display: grid; gap: 10px; width: 100%; max-width: 720px; margin: 8px 0 4px; }
.frame-hero-drop {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 168px;
  padding: 20px;
  border-radius: 18px;
  border: 2px dashed #6d5efc;
  background:
    radial-gradient(circle at 12% 20%, rgba(124,92,255,.22), transparent 42%),
    linear-gradient(180deg, #1a1634, #121428);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.frame-hero-drop:hover, .frame-hero-drop.is-dragover {
  border-color: #b9a8ff;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, .2);
  transform: translateY(-1px);
}
.frame-hero-drop.has-file { border-style: solid; border-color: #7c5cff; }
.frame-hero-preview {
  width: 120px; height: 120px; border-radius: 16px; overflow: hidden;
  border: 1px solid #3a3553; background: #0e1020;
  display: grid; place-items: center;
}
.frame-hero-preview img { width: 100%; height: 100%; object-fit: contain; }
.frame-hero-preview.is-empty { border-style: dashed; color: #8b6cff; font-size: 36px; }
.frame-hero-preview.is-badge {
  display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center;
  background: #24184a; color: #efeafb; font-weight: 800;
}
.frame-hero-preview.is-badge a { color: #b9a8ff; font-size: 12px; text-decoration: none; }
.frame-hero-copy strong { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.frame-hero-copy p { margin: 0 0 10px; color: #c9bdd8; font-size: 13px; line-height: 1.45; }
.frame-hero-copy em { display: block; margin-top: 10px; color: #b9a8ff; font-style: normal; font-size: 12px; font-weight: 700; }
.frame-format-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.frame-format-pills .pill {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border-radius: 999px; border: 1px solid #3a3553; background: #14172e;
  color: #c9bdd8; font-size: 11px; font-weight: 700;
}
.frame-format-pills .pill-anim { border-color: #7c5cff; color: #efeafb; background: #2a1f4d; }

@media (max-width: 640px) {
  .frame-hero-drop { grid-template-columns: 1fr; text-align: center; }
  .frame-hero-preview { margin: 0 auto; }
  .frame-format-pills { justify-content: center; }
}

@media (max-width: 760px) {
  .admin-room-card-body { grid-template-columns: 1fr; }
  .admin-room-cover { max-width: 200px; }
  .admin-room-grid { max-width: none; }
}


/* Soft glow on Admin Room square preview thumbs */
.admin-room-thumb-art { position: relative; overflow: hidden; }
.admin-room-thumb-art::before {
  content: "";
  position: absolute; inset: -30% auto auto -20%;
  width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,80,.45), transparent 70%);
  pointer-events: none; animation: arGlow 3.2s ease-in-out infinite alternate;
}
.admin-room-thumb-art::after {
  content: "";
  position: absolute; top: 14px; right: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.85); box-shadow: 0 0 10px #ffd36a;
  pointer-events: none; animation: arSpark 2.4s ease-in-out infinite;
}
@keyframes arGlow { from { opacity: .35; transform: scale(.92); } to { opacity: .8; transform: scale(1.08); } }
@keyframes arSpark { 0%,100% { opacity: .25; } 50% { opacity: .95; } }


.admin-room-card-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.admin-room-warn { margin: 0 16px 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255,80,80,.12); border: 1px solid rgba(255,100,100,.35); color: #ffb4b4; font-size: 13px; }
.admin-room-preview { order: -1; }
input[data-ar="room_code"][readonly] { opacity: .85; cursor: default; }

/* User detail modal + history helpers */
.user.is-clickable { cursor: pointer; }
.user.is-clickable:hover { outline: 1px solid rgba(155, 92, 255, 0.45); }
.detail-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; }
.detail-modal[hidden] { display: none !important; }
.detail-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 2, 12, 0.72); backdrop-filter: blur(4px); }
.detail-modal-panel { position: relative; z-index: 1; width: min(920px, 100%); max-height: min(90vh, 920px); overflow: auto; border-radius: 18px; border: 1px solid #3a2a55; background: linear-gradient(180deg, #161028, #0d0818); box-shadow: 0 24px 80px rgba(0,0,0,.55); padding: 18px 18px 22px; }
.detail-modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.detail-modal-head h2 { margin: 4px 0 2px; font-size: 22px; color: #f7f1ff; }
.detail-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 14px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid #2f2744; }
.detail-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: #a89bb8; }
.detail-filters input[type="date"] { height: 36px; border-radius: 8px; border: 1px solid #3a3553; background: #14172e; color: #f4f0ff; padding: 0 10px; }
.detail-modal-body { display: grid; gap: 14px; }
.detail-card { border: 1px solid #33304e; border-radius: 14px; background: #1b1d36; padding: 14px; }
.detail-card h3 { margin: 0 0 8px; font-size: 14px; color: #efeafb; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 8px; }
.detail-stat { padding: 10px; border-radius: 10px; background: rgba(155,92,255,.08); border: 1px solid rgba(155,92,255,.18); }
.detail-stat strong { display: block; font-size: 16px; color: #fff; }
.detail-stat span { font-size: 11px; color: #a89bb8; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.detail-table th, .detail-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #2a2740; color: #d9d2ef; vertical-align: top; }
.detail-table th { color: #9b90b8; font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.history-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 0 0 12px; padding: 12px; border-radius: 12px; background: #1b1d36; border: 1px solid #33304e; }
.history-toolbar label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: #a89bb8; }
.history-toolbar input, .history-toolbar select { height: 36px; border-radius: 8px; border: 1px solid #3a3553; background: #14172e; color: #f4f0ff; padding: 0 10px; min-width: 120px; }
.frame-history-row .user-avatar img, .frame-history-row .frame-thumb img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 720px) {
  .detail-modal { padding: 8px; align-items: stretch; }
  .detail-modal-panel { max-height: 96vh; }
}
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.story-card { display: grid; gap: 10px; padding: 12px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.story-card-open { padding: 0; border: 0; background: transparent; cursor: pointer; }
.story-card-media { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; background: #120e1c; display: block; }
.story-card-empty { display: grid; place-items: center; color: #b7a9d4; }
.story-card-meta { display: grid; gap: 2px; color: #efeafb; }
.story-card-meta span { color: #a89bb8; font-size: 12px; }
.story-card-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.story-preview-panel { position: relative; z-index: 1; width: min(420px, 100%); padding: 18px; border-radius: 18px; background: #100c18; border: 1px solid rgba(255,255,255,.12); }
.story-preview-media { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 12px; background: #000; }
.story-preview-name { margin: 0 0 10px; color: #fff; font-weight: 700; }
.level-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.level-chip { min-width: 72px; height: 40px; border-radius: 999px; border: 1px solid #6d5efc; background: linear-gradient(180deg, #2a2150, #1a1630); color: #fff; font-weight: 700; cursor: pointer; }
.level-chip:hover { background: #6d5efc; }
.daily-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.daily-day { display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #efeafb; }
.gift-pick-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.gift-pick { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid #3a3558; background: #16142a; color: #efeafb; }
.gift-pick-title { margin: 12px 0 0; color: #efeafb; }
.coming-soon { margin: 12px 0 4px; font-size: 28px; font-weight: 800; letter-spacing: .02em; color: #fff; }
.gift-boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
.or-dash { border-radius: 18px; background: linear-gradient(160deg, rgba(124,92,255,.22), rgba(255,255,255,.04) 40%, rgba(16,12,28,.4)); border: 1px solid rgba(196,181,253,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 16px 40px rgba(0,0,0,.28); }
[data-pick-user].is-active { outline: 2px solid #a78bfa; }

/* Light panel, matching the card-and-drawer admin. */
body { background: #f3f4f8; color: #1c1c1e; }
.workspace { margin-left: 0 !important; background: #f3f4f8; }
.sidebar {
  width: min(320px, 88vw);
  padding: 8px 14px 18px;
  color: #1c1c1e;
  background: #fff;
  border-right: 0;
  box-shadow: none;
  transform: translateX(-105%);
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
  z-index: 50;
}
.sidebar.is-open { transform: none; box-shadow: 18px 0 50px rgba(20,16,40,.12); }
.sidebar-brand-row { min-height: 72px; border-bottom: 1px solid #f0f0f5; }
.sidebar .brand-copy strong { color: #1c1c1e; font-size: 22px; }
.sidebar .brand-copy > span { color: #8b8498; }
.sidebar-close, .menu-toggle { display: inline-flex !important; border-color: #ececf3; background: #fff; color: #1c1c1e; }
.sidebar-backdrop { display: block; position: fixed; z-index: 45; inset: 0; border: 0; background: rgba(17,16,28,.35); backdrop-filter: blur(2px); transition: opacity .25s; }
.sidebar-backdrop[hidden] { display: none !important; }
.nav-section-label { color: #8b8498; }
.nav-item { color: #3a3548; border-radius: 12px; min-height: 44px; transition: background .2s, color .2s, transform .2s; }
.nav-item .icon { color: #6b6578; }
.nav-item:hover { background: #f4f2ff; color: #1c1c1e; }
.nav-item.is-active { background: #6d4aff; border-color: #6d4aff; color: #fff; box-shadow: 0 8px 18px rgba(109,74,255,.28); }
.nav-item.is-active .icon { color: #fff; }
.sidebar-note, .sidebar-account { background: #fafafc; border: 1px solid #f0f0f5; border-radius: 14px; color: #3a3548; }
.sidebar-note strong, .sidebar-account strong { color: #1c1c1e; }
.sidebar-note p, .sidebar-account div > span { color: #6b6578; }
.logout-button { background: #fff; border-color: #ececf3; color: #3a3548; }
.topbar { background: transparent; border-bottom: 0; padding: 12px 22px 0; }
.main-content { padding-top: 12px; }
.page-heading h1, .directory-title h2, .feature-block h3 { color: #1c1c1e; }
.page-description, .feature-block p, .meta { color: #6b6578; }
.directory { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.users { display: grid; gap: 12px; }
.user, .feature-block, .feature-row, .stat {
  background: #fff;
  color: #1c1c1e;
  border: 1px solid #ececf3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20,16,40,.05);
}
.user { margin: 0; border-bottom: 1px solid #ececf3; transition: transform .2s ease, box-shadow .2s ease; }
.user:hover, .shop-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20,16,40,.08); }
.feature-block { margin: 0 0 16px; padding: 16px; }
.feature-block h3 { color: #1c1c1e; }
.feature-block p, .feature-block .meta { color: #6b6578; }
.feature-row { box-shadow: none; border-radius: 12px; }
.stats { gap: 12px; }
.primary-button, .action.active, .shop-submit {
  background: #6d4aff; border-color: #6d4aff; color: #fff; border-radius: 12px;
  transition: transform .15s ease, background .15s ease;
}
.primary-button:hover, .shop-submit:hover { transform: translateY(-1px); background: #5b3cf0; }
#users.panel-enter { animation: panelIn .38s cubic-bezier(.2,.7,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.shop-list { display: grid; gap: 14px; }
.shop-tile { overflow: hidden; padding: 0; }
.shop-preview { position: relative; background: #0d0d0f; min-height: 180px; display: grid; place-items: center; }
.shop-media { width: 100%; height: 200px; object-fit: contain; background: #0d0d0f; display: block; }
.shop-media-tag { display: grid; place-items: center; color: #fff; font-weight: 700; }
.shop-live { position: absolute; top: 10px; right: 10px; padding: 4px 8px; border-radius: 999px; background: #eee; color: #333; font-size: 11px; font-weight: 700; }
.shop-live.is-on { background: #22c55e; color: #fff; }
.shop-body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.shop-name { font-size: 16px; font-weight: 650; color: #1c1c1e; }
.shop-meta-row { display: flex; justify-content: space-between; gap: 12px; color: #6b6578; font-size: 13px; }
.shop-meta-row strong { color: #1c1c1e; }
.shop-actions { display: flex; justify-content: flex-end; gap: 8px; }
.shop-icon { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #f4f2ff; color: #6d4aff; cursor: pointer; }
.shop-icon.delete { background: #fff1f2; color: #e11d48; }
.shop-edit { padding: 0 16px 16px; display: grid; gap: 10px; }
.shop-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: end center; background: rgba(17,16,28,.45); padding: 12px; }
.shop-modal[hidden] { display: none !important; }
.shop-modal-card, .shop-inline { width: min(460px, 100%); background: #fff; border-radius: 18px 18px 14px 14px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.2); animation: panelIn .28s ease; }
.shop-modal-card h3 { margin: 0; font-size: 20px; }
.shop-x { position: absolute; z-index: 40; right: 10px; top: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #2a243c; color: #fff; font-size: 22px; line-height: 36px; cursor: pointer; pointer-events: auto; }
.shop-modal-card { position: relative; }
.shop-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.shop-cancel { min-height: 42px; padding: 0 16px; border-radius: 12px; border: 0; background: #ececf1; color: #3a3548; }
.shop-submit { min-height: 42px; padding: 0 18px; border: 0; cursor: pointer; }
.upload-fab { position: fixed; right: 18px; bottom: 22px; z-index: 30; width: 56px; height: 56px; border: 0; border-radius: 50%; background: #6d4aff; color: #fff; font-size: 32px; line-height: 1; box-shadow: 0 10px 24px rgba(109,74,255,.35); cursor: pointer; transition: transform .2s ease; }
.upload-fab:hover { transform: scale(1.06); }
#loginView.login-view { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 100vh; min-height: 100dvh; background: #f3f4f8; }
#loginView.login-view[hidden] { display: none !important; }
#loginView .login-story { display: none !important; }
#loginView .login-main { position: relative; box-sizing: border-box; width: 100%; max-width: none; min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 24px 16px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#loginView .login-card { width: 100%; max-width: 420px; margin: 0 auto; box-sizing: border-box; }
#loginView .login-footer { position: absolute; left: 16px; right: 16px; bottom: 24px; justify-content: center; text-align: center; }
.coming-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 280px; padding: 40px 20px; text-align: center; }
.coming-soon-badge { padding: 6px 14px; border-radius: 999px; background: rgba(109,74,255,.16); color: #a48bff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.coming-soon h3 { margin: 6px 0 0; font-size: 28px; }
.coming-soon p { margin: 0; max-width: 420px; font-size: 14px !important; font-weight: 400 !important; line-height: 1.6; color: var(--muted, #8a8399) !important; }
.nav-soon { font-size: 9px; letter-spacing: .5px; text-transform: uppercase; }
.login-card { background: #fff; border-radius: 20px; padding: 28px 22px; box-shadow: 0 16px 40px rgba(20,16,40,.08); }
.detail-modal-panel, .story-preview-panel { background: #fff; color: #1c1c1e; border-color: #ececf3; }
@media (prefers-reduced-motion: reduce) {
  #users.panel-enter, .shop-modal-card, .sidebar, .user, .upload-fab { animation: none; transition: none; }
}

/* Dark panel. Later rules win over the pale skin and the older nebula overrides. */
html, body, .workspace, .main-content, .login-view {
  background: #121018 !important;
  color: #f3eefc !important;
}
.topbar { background: transparent !important; color: #f3eefc !important; border: 0 !important; }
.stat, .directory, .feature-block, .feature-row, .login-card, .mgr-card, .mgr-hero, .storage-card, .shop-row {
  background: #1c1828 !important;
  color: #f3eefc !important;
  border: 1px solid #322c48 !important;
  box-shadow: none !important;
}
.sidebar {
  background: #161222 !important;
  color: #f3eefc !important;
  border-right: 1px solid #322c48 !important;
}
.sidebar .brand-copy strong, .sidebar-note strong, .sidebar-account strong { color: #f3eefc !important; }
.sidebar .brand-copy > span, .nav-section-label, .sidebar-note p { color: #a89bb8 !important; }
.nav-item { color: #d9d0ea !important; }
.nav-item .icon { color: #b7a8d6 !important; }
.nav-item:hover { background: #2a2440 !important; color: #fff !important; }
.nav-item.is-active { background: #6d4aff !important; color: #fff !important; }
.sidebar-note, .sidebar-account, .logout-button { background: #221c32 !important; color: #f3eefc !important; border-color: #322c48 !important; }
.menu-toggle, .sidebar-close { background: #221c32 !important; color: #f3eefc !important; border-color: #322c48 !important; }
.page-heading h1, .directory-title h2, .user h3, .stat-value, .feature-block h3,
.shop-name, .shop-row-copy strong, .breadcrumb, .breadcrumb strong, .login-card h1,
.mgr-hero-copy h3, .detail-modal-head h2 {
  color: #f7f3ff !important;
}
.page-description, .feature-block p, .meta, .stat-note, .stat-label, .directory-title p, .mgr-hint,
.shop-row-copy span, .section-eyebrow, .sync-status, .result-count, .breadcrumb,
.mgr-hero-copy p, .login-description, .form-field label {
  color: #b7adc8 !important;
}
.search-wrap input, .filter-wrap select, .feature-row input, .feature-row select,
.storage-form input, .storage-select, .shop-field input, .shop-field select, .input-wrap input, .asset-url-input {
  background: #14121c !important;
  color: #f3eefc !important;
  border: 1px solid #3a3454 !important;
}
.search-wrap input::placeholder, .feature-row input::placeholder, .input-wrap input::placeholder { color: #8d84a3 !important; }
.directory { overflow: hidden !important; border-radius: 16px !important; }
.users { display: block !important; }
.list-columns, .user {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.user {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #2c2740 !important;
  box-shadow: none !important;
  margin: 0 !important;
  transform: none !important;
  overflow: hidden !important;
}
.user:hover, .shop-tile:hover { background: #262036 !important; transform: none !important; box-shadow: none !important; }
.user-identity, .user-details, .report-summary, .room-details { min-width: 0 !important; overflow: hidden !important; }
.user h3, .user .meta, .user-id, .frame-file { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.actions, .report-actions { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; justify-content: flex-end !important; min-width: 0 !important; }
.list-columns { background: #161222 !important; color: #a89bb8 !important; border-color: #2c2740 !important; }
.action.active { color: #8ddeb8 !important; background: #163028 !important; border-color: #245c48 !important; }
.action.hold { color: #f0d48a !important; background: #2c2618 !important; border-color: #5c4c28 !important; }
.action.banned { color: #ffb3c8 !important; background: #321824 !important; border-color: #6a3048 !important; }
.primary-button, .shop-submit, .nav-item.is-active, .row-view { color: #fff !important; background: #6d4aff !important; border-color: #6d4aff !important; }
.badge.active { color: #8ddeb8 !important; background: #163028 !important; }
.badge.hold, .badge.closed { color: #f0d48a !important; background: #2c2618 !important; }
.badge.banned, .badge.blocked { color: #ffb3c8 !important; background: #321824 !important; }
.shop-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 64px !important;
  padding: 8px 12px !important;
  margin: 0 0 8px !important;
}
.shop-row-thumb {
  width: 48px !important; height: 48px !important; flex: 0 0 48px;
  overflow: hidden; border-radius: 10px; background: #0e0c16 !important;
  display: grid; place-items: center;
}
.shop-row-thumb img, .shop-row-thumb video, .shop-row-thumb .svga-host, .story-card-media, .media-clip, .frame-thumb img, .frame-thumb .svga-host {
  width: 48px !important;
  height: 48px !important;
  min-height: 0 !important;
  object-fit: contain;
  border-radius: 10px;
  background: transparent !important;
  display: block;
}
.svga-host { position: relative; overflow: hidden; }
/* svgaplayerweb scales the canvas itself with a transform from its natural size; forcing CSS width/height double-scales it out of view. */
.svga-host canvas { position: absolute; left: 0; top: 0; width: auto !important; height: auto !important; max-width: none !important; max-height: none !important; }
.view-stage { position: relative; z-index: 1; width: 100%; height: min(62vh, 440px); min-height: 280px; background: #0e0c16; border-radius: 12px; overflow: hidden; }
.view-stage .svga-host, .view-stage img, .view-stage video, .view-pop-media {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-height: none; object-fit: contain; background: transparent;
}
.shop-row-fallback, .storage-thumb.placeholder {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 10px; background: #111; color: #fff; font-size: 11px; font-weight: 700;
}
.shop-row-copy { flex: 1; min-width: 0; display: grid; gap: 2px; }
.shop-row-copy strong { font-size: 14px; color: #f7f3ff !important; }
.shop-row-copy span, .story-card-meta span { font-size: 12px; color: #b7adc8 !important; }
.shop-row { width: 100% !important; max-width: 100% !important; overflow: hidden !important; box-sizing: border-box !important; }
.shop-list { min-width: 0; }
.shop-row-actions, .story-card-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.row-view {
  height: 32px; padding: 0 12px; border: 0; border-radius: 8px;
  background: #6d4aff !important; color: #fff !important; font-size: 12px; font-weight: 700; cursor: pointer;
}
.shop-edit { flex-basis: 100%; display: grid; gap: 10px; padding-top: 8px; }
.shop-edit[hidden] { display: none !important; }
.story-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 14px !important; align-items: start; }
.story-card { display: grid !important; gap: 10px !important; min-height: 0 !important; width: 100% !important; padding: 12px !important; box-sizing: border-box; overflow: hidden; }
.story-card-media-wrap { width: 100%; height: 220px; border-radius: 12px; overflow: hidden; background: #120e1c; }
.story-card-media-wrap img, .story-card-media-wrap video, .story-card-media-wrap .svga-host, .story-card-media-wrap .story-card-media {
  width: 100% !important; height: 220px !important; max-height: 220px !important; object-fit: cover; border-radius: 12px;
}
.story-card .story-card-actions { margin-left: 0 !important; width: 100%; flex-wrap: wrap !important; justify-content: flex-start !important; }
.room-view-card { display: grid; gap: 8px; }
.room-view-photo-wrap { width: 120px; height: 120px; border-radius: 18px; overflow: hidden; background: #120e1c; }
.room-view-photo { width: 120px !important; height: 120px !important; object-fit: cover; border-radius: 18px; position: static !important; }
.view-pop-media, .story-preview-media { width: 100%; max-height: 62vh; object-fit: contain; background: #111; border-radius: 12px; }
.shop-modal { place-items: center !important; }
.shop-modal-card, .story-preview-panel, .detail-modal-panel { background: #1c1828 !important; color: #f3eefc !important; border: 1px solid #322c48 !important; }
.shop-modal-card h3, .story-preview-name, .detail-modal-panel h2, .detail-modal-panel h3 { color: #f7f3ff !important; }
.shop-cancel, .shop-x { color: #f3eefc !important; }
.story-preview-panel { width: min(420px, 100%); }
.asset-field .svga-host, .asset-field .media-clip, .drop-box .svga-host, .drop-box img, .drop-box video,
.asset-drop-preview .svga-host, .asset-drop-preview img, .asset-drop-preview video {
  width: 100% !important; height: 100% !important; object-fit: contain;
}
.admin-tag, .topbar-avatar { background: #221c32 !important; color: #d9d0ea !important; border-color: #322c48 !important; }
.notice { background: #321824 !important; color: #ffb3c8 !important; }
.directory .feature-block { background: transparent !important; border: 0 !important; box-shadow: none !important; margin: 0 !important; padding: 4px 4px 8px !important; }
.directory .shop-row { background: transparent !important; border: 0 !important; border-radius: 0 !important; border-bottom: 1px solid #2c2740 !important; margin: 0 !important; }
.shop-icon.delete { background: #321824 !important; color: #ffb3c8 !important; border: 1px solid #6a3048 !important; height: 32px; padding: 0 12px; border-radius: 8px; width: auto !important; min-width: 64px; font-size: 12px; font-weight: 700; }
.shop-row-actions, .story-card-actions { flex: 0 0 auto; flex-wrap: nowrap; margin-left: auto; }
.shop-row-actions button, .story-card-actions button { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 560px) {
  .shop-row { flex-wrap: wrap !important; }
  .shop-row-actions { width: 100%; justify-content: flex-end; }
}
.shop-x { z-index: 40 !important; width: 36px !important; height: 36px !important; background: #3a3358 !important; color: #fff !important; pointer-events: auto !important; cursor: pointer; }

/* Framed member avatar (users list + member detail). Photo is a circle; frame ring covers it. */
.user-avatar { position: relative; }
.user-avatar .ua-initials { position: relative; z-index: 0; }
.user-avatar .ua-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; z-index: 1; }
.user-avatar:has(.ua-img), .user-avatar.has-frame { border-radius: 50% !important; }
.user-avatar.has-frame { overflow: visible; margin: 8px; border-color: transparent !important; }
.user-avatar .ua-frame { position: absolute; inset: -28%; z-index: 2; pointer-events: none; display: block; }
.user-avatar .ua-frame .svga-host,
.user-avatar .ua-frame .media-clip,
.user-avatar .ua-frame img,
.user-avatar .ua-frame video {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  object-fit: contain; border-radius: 0 !important; background: transparent !important;
}
.user-avatar.is-large { width: 96px !important; height: 96px !important; font-size: 26px; margin: 26px; }
.user-avatar.has-dp-trash { overflow: visible; }
.user-avatar .ua-dp-trash {
  position: absolute; top: -6px; right: -6px; z-index: 8;
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer;
  background: #dc2626; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35);
  padding: 0; line-height: 0;
}
.user-avatar .ua-dp-trash:hover { background: #b91c1c; transform: scale(1.06); }
.user-avatar .ua-dp-trash .icon { width: 16px; height: 16px; fill: currentColor; }
.user-avatar.is-large .ua-dp-trash { width: 36px; height: 36px; top: -4px; right: -4px; }
.user-avatar.is-large .ua-dp-trash .icon { width: 18px; height: 18px; }
.detail-hero { display: flex; align-items: center; gap: 18px; }
.detail-hero h3 { margin: 0 0 4px; }
/* Official Rooms (Admin room) */
.or-dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.or-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 12px; }
.or-card { position: relative; border-radius: 16px; overflow: hidden; background: #1c1828; border: 1px solid #322c48; transition: opacity .2s, filter .2s; }
.or-card.is-off { opacity: .62; filter: grayscale(.45); }
.or-card-banner { position: relative; height: 92px; background: linear-gradient(135deg, #4c2fbf, #b8337a) center / cover no-repeat; }
.or-card-profile { position: absolute; left: 16px; bottom: -30px; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; border: 3px solid #1c1828; background: #0e0c16; }
.or-card-body { padding: 38px 16px 14px; display: grid; gap: 7px; }
.or-card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.or-card-title strong { color: #f7f3ff; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.or-owner { display: flex; align-items: center; gap: 8px; color: #c9bdd8; font-size: 12px; min-width: 0; }
.or-owner strong { color: #f7f3ff; }
.or-avatar-sm { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: #2a2440; flex: 0 0 24px; }
.or-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #2a2440; flex: 0 0 44px; }
.or-img-empty { display: inline-block; background: linear-gradient(135deg, #3a2f66, #241d3d); }
.or-counts { display: flex; gap: 12px; flex-wrap: wrap; color: #a89bb8; font-size: 12px; }
.or-counts strong { color: #f7f3ff; }
.or-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.or-card-actions .action { white-space: nowrap; }
.or-switch { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border-radius: 999px; background: rgba(10,8,20,.72); cursor: pointer; user-select: none; }
.or-detail-head .or-switch { position: static; }
.or-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.or-switch-track { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #4a4560; transition: background .2s; }
.or-switch-knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.or-switch input:checked + .or-switch-track { background: #22c55e; }
.or-switch input:checked + .or-switch-track .or-switch-knob { transform: translateX(18px); }
.or-switch input:focus-visible + .or-switch-track { outline: 2px solid #a78bfa; outline-offset: 2px; }
.or-switch-text { color: #fff; font-size: 12px; font-weight: 800; min-width: 26px; }
.or-form-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.or-field { display: grid; gap: 6px; margin: 8px 0; }
.or-field > span { color: #c9bdd8; font-size: 12px; font-weight: 700; }
.or-checks { gap: 18px !important; flex-wrap: wrap; }
.or-check { display: inline-flex; align-items: center; gap: 8px; color: #efeafb; font-size: 13px; font-weight: 600; cursor: pointer; }
.or-check input { width: 18px; height: 18px; accent-color: #22c55e; }
.or-detail-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.or-detail-profile { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; background: #0e0c16; flex: 0 0 72px; }
.or-detail-info { flex: 1; min-width: 180px; display: grid; gap: 4px; }
.or-detail-info h3 { margin: 0; color: #f7f3ff; }
.or-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 10px; border-bottom: 1px solid #322c48; padding-bottom: 8px; }
.or-tab { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #3a3454; background: transparent; color: #c9bdd8; font-weight: 700; font-size: 12px; cursor: pointer; }
.or-tab.active { background: #6d4aff; border-color: #6d4aff; color: #fff; }
.or-sub { margin: 14px 0 8px; color: #efeafb; font-size: 13px; }
.or-people { display: grid; gap: 8px; }
.or-person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #1c1828; border: 1px solid #322c48; flex-wrap: wrap; }
.or-person-info { flex: 1; min-width: 140px; }
.or-person-info strong { color: #f7f3ff; }
.or-person-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.or-role-pill { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #fff; background: #6d4aff; }
.or-role-pill.host { background: #d97706; }
.or-perm { padding: 10px 12px; border-radius: 12px; background: rgba(109,74,255,.12); border: 1px solid rgba(167,139,250,.35); margin-bottom: 6px; }
.or-perm p { margin: 6px 0 0 !important; }
#orAddResult, #orcOwnerResult { margin-top: 8px; }
@media (max-width: 560px) {
  .or-grid { grid-template-columns: 1fr; }
  .or-person-actions { width: 100%; justify-content: flex-end; }
}

/* Compact admin rows — Level Rewards / Packs / Payments */
.lvl-list, .pack-list, .pay-list { display: grid; gap: 6px; }
.lvl-row, .pack-row, .pay-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  min-height: 44px; padding: 6px 10px;
  border-radius: 10px; border: 1px solid #2c2740; background: #161222;
}
.lvl-row:hover, .pack-row:hover, .pay-row:hover { background: #1c1828; }
.lvl-no { min-width: 42px; color: #efeafb; font-size: 13px; }
.lvl-thumb, .lvl-thumb-empty {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
  background: #0e0c16; flex: 0 0 36px; display: grid; place-items: center;
  color: #6d6788; font-size: 12px; border: 1px solid #322c48;
}
.lvl-file {
  display: inline-flex; align-items: center; height: 32px; padding: 0 10px;
  border-radius: 8px; border: 1px solid #3a3553; background: #1a1630;
  color: #c9bdd8; font-size: 12px; font-weight: 700; cursor: pointer; user-select: none;
}
.lvl-file:hover { border-color: #6d4aff; color: #fff; }
.lvl-url, .lvl-row input[data-f], .pack-row input[data-f], .compact-select,
.lvl-row select, .pack-row select {
  height: 32px !important; min-height: 32px !important; border-radius: 8px;
  border: 1px solid #3a3553; background: #14172e; color: #f4f0ff;
  padding: 0 8px; font-size: 12px; box-sizing: border-box;
}
.lvl-url { flex: 1 1 180px; min-width: 140px; max-width: 320px; }
.lvl-row .action, .pack-row .action, .pay-row .action {
  height: 32px !important; min-height: 32px !important; padding: 0 12px; font-size: 12px;
}
.pack-add-label {
  margin: 12px 0 4px; color: #a89bb8; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}
.pack-row input[data-f] { flex: 0 1 auto; }
.pay-av, .pay-av-fallback {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  background: #2a2440; flex: 0 0 36px; display: grid; place-items: center;
  color: #efeafb; font-weight: 800; font-size: 13px;
}
.pay-main { flex: 1 1 200px; min-width: 0; display: grid; gap: 2px; }
.pay-main strong { color: #f7f3ff; font-size: 13px; line-height: 1.2; }
.pay-main .meta { font-size: 11px; color: #a89bb8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-row .badge { flex: 0 0 auto; }
.detail-hero-av, .detail-hero-fallback {
  width: 72px; height: 72px; border-radius: 18px; object-fit: cover;
  background: #0e0c16; flex: 0 0 72px; display: grid; place-items: center;
  color: #efeafb; font-size: 22px; font-weight: 800; border: 2px solid #322c48;
}
.detail-kv { display: grid; gap: 8px; }
.detail-kv > div {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03);
  border: 1px solid #2f2744;
}
.detail-kv span { color: #a89bb8; font-size: 12px; }
.detail-kv strong { color: #f7f3ff; font-size: 12px; word-break: break-all; text-align: right; }
/* Tighten legacy feature rows that still use .user inside feature pages */
#users .feature-block .user {
  min-height: 52px !important; padding: 8px 12px !important;
  grid-template-columns: minmax(160px, 1fr) auto auto !important;
}
#users .feature-block .user-avatar, #users .feature-block .user-identity img {
  width: 36px !important; height: 36px !important;
}
@media (max-width: 720px) {
  .lvl-url { max-width: none; flex: 1 1 100%; }
  .pay-main .meta { white-space: normal; }
}