@import url('https://fonts.googleapis.com/css2?family=Anybody:ital,wdth,wght@0,75..125,300..900;1,75..125,300..900&display=swap');

:root {
  --rr-radius: 24px;
  --rr-page: min(1440px, calc(100vw - 40px));
  --rr-cream: #f0e5d0;
  --rr-orange: #e86135;
  --rr-line: rgba(240, 229, 208, .12);
  --rr-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--rr-cream);
  background:
    radial-gradient(circle at 12% 18%, rgba(51, 92, 62, .13), transparent 28%),
    radial-gradient(circle at 88% 52%, rgba(232, 97, 53, .08), transparent 28%),
    #090c09;
  font-family: 'Anybody', Arial, sans-serif;
  font-variation-settings: 'wdth' 96;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(240, 229, 208, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 229, 208, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  content: '';
  pointer-events: none;
}

.rr-grid { display: none; }
.admin-header {
  top: 12px;
  width: var(--rr-page);
  height: 70px;
  margin: 18px auto 0;
  padding: 0 24px;
  border: 1px solid var(--rr-line);
  border-radius: var(--rr-radius);
  background: rgba(9,13,10,.9);
  box-shadow: var(--rr-shadow);
  backdrop-filter: blur(18px);
}
.brand > span { border-radius: 12px; }
.operator > a { padding: 10px 14px; border: 1px solid var(--rr-line); border-radius: 999px; }

.admin-shell {
  width: var(--rr-page);
  min-height: calc(100vh - 118px);
  grid-template-columns: 238px minmax(0,1fr);
  gap: 16px;
  margin: 16px auto 32px;
}
.sidebar {
  top: 98px;
  height: calc(100vh - 116px);
  border: 1px solid var(--rr-line);
  border-radius: var(--rr-radius);
  background: rgba(9,13,10,.88);
  box-shadow: var(--rr-shadow);
}
.sidebar nav button { border-radius: 14px; }
.workspace {
  border: 1px solid var(--rr-line);
  border-radius: var(--rr-radius);
  padding: 42px clamp(24px,4vw,62px) 72px;
  background-color: rgba(12,16,13,.91);
  background-image:
    linear-gradient(rgba(240,229,208,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,229,208,.025) 1px, transparent 1px);
  background-size: 38px 38px;
  box-shadow: var(--rr-shadow);
}
.view-heading h1 { color: var(--rr-cream); font-variation-settings: 'wdth' 88; }
.secondary, .primary, .danger, .text-action,
.filters input, .filters select,
.inline-form input, .role-row select, .reason input { border-radius: 999px; }
.primary { border-color: var(--rr-orange); background: var(--rr-orange); }
.metric,
.product-summary,
.table-wrap,
.product-control,
.notice,
.identity-card,
.drawer-section { border-radius: 18px; }
.metric,
.product-summary { border-color: var(--rr-line); background: rgba(6,10,7,.72); }
.table-wrap { border-color: var(--rr-line); }
.user-drawer { border-radius: var(--rr-radius) 0 0 var(--rr-radius); background: #090d0a; }
.drawer-close { border-radius: 14px; }
.pagination button { border-radius: 999px; }

/* Shared Rage Raptors backdrop. */
body {
  background-color: #090c09;
  background-image: url('/back.png?v=1');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.workspace { background-color: rgba(4, 8, 5, .36); }

@media (max-width: 760px) {
  :root { --rr-page: calc(100vw - 20px); --rr-radius: 17px; }
  body { background-attachment: scroll; }
  .admin-header { top: 6px; height: 62px; margin-top: 10px; padding: 0 15px; }
  .admin-shell { display: block; min-height: 0; margin-top: 10px; }
  .sidebar { top: 76px; width: 100%; height: auto; border-radius: 17px; }
  .workspace { margin-top: 10px; padding: 28px 14px 58px; }
}

/* Sharp HOME geometry for administration screens. */
:root { --rr-radius: 0; }
.admin-header,
.brand > span,
.operator > a,
.sidebar,
.sidebar nav button,
.workspace,
.secondary,
.primary,
.danger,
.text-action,
.filters input,
.filters select,
.inline-form input,
.role-row select,
.reason input,
.metric,
.product-summary,
.table-wrap,
.product-control,
.notice,
.identity-card,
.drawer-section,
.user-drawer,
.drawer-close,
.pagination button { border-radius: 0 !important; }
body::before { display: none; content: none; }

/* Local sitewide background reference. */
html { background: #050806; }
body {
  background-color: #050806 !important;
  background-image: url('/back.png?v=1') !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}
