:root {
  --bg: #0a1628; --bg2: #0d1c33; --card: #12233d; --card2: #172b4a; --line: #223a5e;
  --text: #eef2f8; --muted: #93a4c2; --accent: #c9a414; --on-accent: #0b1a30; --navy: #132b4e; --gold: #c9a414;
  --red: #ef4444; --green: #22c55e; --amber: #f59e0b;
  --discord: #5865f2; --radius: 14px; --shadow: 0 10px 30px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
code { background: var(--card2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
img { max-width: 100%; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.page { flex: 1; padding-top: 28px; padding-bottom: 60px; width: 100%; }
.muted { color: var(--muted); } .small { font-size: .85em; }
.section { margin-top: 36px; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 10px;
  padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; transition: filter .15s, transform .15s; text-decoration: none !important; white-space: nowrap; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: 6px 12px; font-size: .88em; border-radius: 8px; }
.btn-lg { padding: 13px 24px; font-size: 1.05em; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); filter: none; }
.btn-discord { background: var(--discord); color: #fff; }
.btn-success { background: var(--green); color: #fff; } .btn-danger { background: var(--red); color: #fff; }
.linkbtn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 4px; }
.linkbtn:hover { color: var(--text); } .linkbtn.danger { color: var(--red); margin-top: 12px; }

/* ── topbar ── */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(10,22,40,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none !important; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; display: block; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--red)); font-weight: 800; }
.mainnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mainnav > a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 500; text-decoration: none; }
.mainnav > a:hover, .mainnav > a.active { color: var(--text); background: var(--card); }
.nav-sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 4px 9px; font-size: .8em; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang-switch a.on { background: var(--accent); color: var(--on-accent); }
.userchip { display: flex; align-items: center; gap: 8px; margin-left: 6px; padding: 4px 4px 4px 4px; border: 1px solid var(--line); border-radius: 999px; }
.userchip img { width: 28px; height: 28px; border-radius: 50%; }
.userchip span { font-weight: 600; font-size: .9em; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.userchip form { margin: 0; }
.navburger { display: none; margin-left: auto; font-size: 1.5rem; cursor: pointer; padding: 6px 10px; }
@media (max-width: 860px) {
  .navburger { display: block; }
  .mainnav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg2); padding: 12px 16px; border-bottom: 1px solid var(--line); }
  #navtoggle:checked ~ .mainnav { display: flex; }
  .nav-sep { display: none; }
  .lang-switch { align-self: flex-start; margin: 8px 0; }
  .userchip { align-self: flex-start; margin: 0; }
}

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: 110px 0 80px; min-height: 620px; display: flex; align-items: center; margin-top: -28px; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; background: url('/static/img/hero.jpg') 20% 70% / cover no-repeat; filter: brightness(1.35) contrast(1.05); }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.15) 0%, rgba(10,22,40,.25) 65%, var(--bg) 100%), radial-gradient(ellipse at center, rgba(10,22,40,.6), transparent 60%); }
.hero-inner { width: 100%; }
.hero-logo { width: 120px; height: 120px; border-radius: 26px; box-shadow: 0 12px 40px rgba(0,0,0,.5); margin: 0 auto 18px; display: block; }
.hero-glow { position: absolute; inset: -40% -10% auto; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(59,130,246,.35), transparent 70%) 20% 50% / 60% 100% no-repeat,
              radial-gradient(closest-side, rgba(239,68,68,.28), transparent 70%) 80% 50% / 60% 100% no-repeat;
  animation: lights 6s ease-in-out infinite alternate; opacity: .35; mix-blend-mode: screen; }
@keyframes lights { 0% { opacity: .55; filter: hue-rotate(0); } 50% { opacity: 1; } 100% { opacity: .7; } }
.hero-inner { position: relative; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: .2em; background: linear-gradient(180deg, #fff 30%, #e9d27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.pill { display: inline-block; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(21,28,44,.7); color: var(--muted); font-size: .85em; margin-bottom: 18px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; } .hero-stats b { font-size: 1.6rem; } .hero-stats span { color: var(--muted); font-size: .85em; }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.about-text { font-size: 1.08rem; color: #c6d0e3; white-space: pre-line; }
.steps { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step { display: flex; gap: 14px; margin-top: 14px; } .step p { margin: 2px 0 0; }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-weight: 700; color: var(--on-accent); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ── cards & grids ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .card-head h2 { margin: 0; }
.grid { display: grid; gap: 18px; }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.reviews { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.section-head, .page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2, .page-head h1 { margin: 0; }
.product-card { padding: 0; overflow: hidden; color: var(--text); text-decoration: none !important; transition: transform .2s, border-color .2s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.product-thumb { position: relative; aspect-ratio: 16/10; background: var(--card2); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, #12233d 0 14px, #152847 14px 28px); min-height: 160px; }
.thumb-ph.big { min-height: 340px; border-radius: var(--radius); }
.product-thumb .badge { position: absolute; top: 10px; right: 10px; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; } .product-body h3 { margin: 2px 0 12px; }
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.robux { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #f3f6fb; }
.price-lg { font-size: 1.8rem; margin: 4px 0 16px; } .price-lg .robux svg { width: 22px; height: 22px; }
.product-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 16px; }
.product-media { padding: 0; overflow: hidden; } .product-media img { display: block; width: 100%; }
.prose p { margin: 0 0 .7em; color: #c6d0e3; }
.buy-box { margin-top: 18px; }
@media (max-width: 860px) { .product-page { grid-template-columns: 1fr; } }

.review-card p { margin: 10px 0 0; color: #c6d0e3; white-space: pre-line; }
.review-head { display: flex; gap: 12px; align-items: center; } .review-head img { width: 40px; height: 40px; border-radius: 50%; }
.review-head .stars { margin-left: auto; }
.stars { color: #fbbf24; letter-spacing: 1px; white-space: nowrap; } .stars .off { color: #3a4560; }
.rating-sum { font-size: 1.1rem; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .9em; text-decoration: none !important; }
.chip.on, .chip:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78em; font-weight: 700; background: var(--card2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge-accent { background: var(--accent); color: var(--on-accent); border: 0; }
.status-pending { background: rgba(245,158,11,.15); color: var(--amber); border-color: rgba(245,158,11,.35); }
.status-paid { background: rgba(34,197,94,.15); color: var(--green); border-color: rgba(34,197,94,.35); }
.status-delivered { background: rgba(201,164,20,.15); color: #e2c04a; border-color: rgba(201,164,20,.4); }
.status-cancelled { background: rgba(239,68,68,.12); color: #f87171; border-color: rgba(239,68,68,.35); }

/* ── forms ── */
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92em; }
.form label.check { flex-direction: row; align-items: center; font-weight: 500; gap: 10px; }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; width: 100%; font-weight: 400; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); }
input[type=color] { padding: 3px; height: 42px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
textarea { resize: vertical; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span2 { grid-column: span 2; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span2 { grid-column: auto; } }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.toolbar input { max-width: 320px; } .toolbar select { max-width: 200px; }
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 12px; max-height: 220px; overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg2); }
.checklist label { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.role-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.q-row { display: grid; grid-template-columns: 2fr 130px 2fr auto; gap: 10px; align-items: center; }
@media (max-width: 700px) { .q-row { grid-template-columns: 1fr 1fr; } }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; } .star-input label { font-size: 2rem; color: #3a4560; cursor: pointer; flex-direction: row !important; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #fbbf24; }

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; border: 1px solid; }
.flash-success { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.4); color: #86efac; }
.flash-error { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.4); color: #fca5a5; }

/* ── tables ── */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92em; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .85em; text-transform: uppercase; letter-spacing: .04em; padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td.wrap { max-width: 380px; white-space: pre-line; }
.table tr:last-child td { border-bottom: 0; }
.rowlink { cursor: pointer; } .rowlink:hover td { background: rgba(255,255,255,.02); }
.mini-thumb { width: 54px; height: 34px; object-fit: cover; border-radius: 6px; display: block; }

/* ── order page ── */
.order-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.paysteps { padding-left: 20px; color: #c6d0e3; } .paysteps li { margin-bottom: 8px; }
.waiting { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--muted); margin: 16px 0 4px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notes { background: var(--bg2); padding: 10px; border-radius: 8px; font-size: .85em; color: var(--muted); white-space: pre-wrap; margin-top: 16px; }

.empty-state { text-align: center; padding: 60px 16px; color: var(--muted); } .empty-state .big { font-size: 4rem; font-weight: 800; color: var(--text); }

.footer { border-top: 1px solid var(--line); padding: 24px 0; background: var(--bg2); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── staff panel ── */
.staff { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px - 74px); margin-top: -28px; margin-bottom: -60px; }
.staff-side { background: var(--bg2); border-right: 1px solid var(--line); padding: 16px 10px 10px; display: flex; flex-direction: column; gap: 10px;
  position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; scrollbar-width: thin; }
.staff-side-head { display: grid; gap: 8px; padding: 0 4px; }
.staff-side-title { font-size: .75em; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); padding: 0 8px; font-weight: 800; }
.staff-search { padding: 7px 10px; font-size: .9em; border-radius: 8px; }
.staff-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-group-title { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; cursor: pointer; font: inherit;
  font-size: .7em; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); padding: 6px 12px 4px; opacity: .8; }
.nav-group-title:hover { opacity: 1; color: var(--text); }
.nav-group-title .chev { transition: transform .15s; font-size: 1.2em; }
.nav-group.collapsed .chev { transform: rotate(-90deg); }
.nav-group.collapsed .nav-group-items { display: none; }
.nav-group.has-active .nav-group-title { color: var(--gold); opacity: 1; }
.nav-group-items { display: flex; flex-direction: column; gap: 1px; }
.staff-side a { display: flex; gap: 10px; align-items: center; color: var(--muted); padding: 7px 12px; border-radius: 8px; font-weight: 500; text-decoration: none; font-size: .95em; }
.staff-side a .lbl { flex: 1; }
.staff-side a:hover { background: var(--card); color: var(--text); }
.staff-side a.active { background: var(--accent); color: var(--on-accent); font-weight: 650; }
.staff-side a.hide { display: none; }
.staff-side .ico { width: 20px; text-align: center; }
.nav-badge { background: var(--red); color: #fff; border-radius: 999px; font-size: .72em; font-weight: 700; min-width: 20px; padding: 1px 6px; text-align: center; line-height: 1.5; }
.staff-side a.active .nav-badge { background: var(--on-accent); color: var(--accent); }
.staff-side-foot { margin-top: auto; padding: 10px 12px; border-top: 1px solid var(--line); }
.staff-main { padding: 26px 32px 40px; min-width: 0; }
.staff-head { margin-bottom: 18px; }
.staff-head h1 { margin: 0; }
.staff-head .crumb { font-size: .75em; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; margin-bottom: 2px; }
.staff-sub { margin: 4px 0 0; }
.staff-menu-btn, .staff-backdrop { display: none; }
.attn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.attn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.attn:hover { border-color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.attn .attn-ico { font-size: 1.4em; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--bg2); }
.attn b { font-size: 1.45rem; display: block; line-height: 1.1; }
.attn small { color: var(--muted); }
.attn.hot { border-color: rgba(201,164,20,.55); }
.attn.hot b { color: var(--gold); }
.attn.zero { opacity: .55; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dash-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
@media (max-width: 1100px) { .dash-cols { grid-template-columns: 1fr; } }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; } .dot-on { background: var(--green); } .dot-off { background: var(--red); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { display: flex; flex-direction: column; gap: 4px; } .stat span { color: var(--muted); font-size: .85em; } .stat b { font-size: 1.7rem; }
@media (max-width: 860px) {
  .staff { grid-template-columns: 1fr; margin-bottom: 0; }
  .staff-menu-btn { display: inline-flex; align-items: center; gap: 8px; margin: 12px 16px 0; justify-self: start; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }
  .staff-side { position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; height: 100vh; width: min(290px, 85vw); transform: translateX(-105%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.5); }
  .staff.menu-open .staff-side { transform: none; }
  .staff.menu-open .staff-backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.5); }
  .staff-main { padding: 16px 16px 32px; }
}
}
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tab { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; padding: 10px 16px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.on { color: var(--text); border-bottom-color: var(--accent); }
.tabpane { display: none; } .tabpane.on { display: block; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .editor-grid { grid-template-columns: 1fr; } }

/* Discord embed preview */
.discord-preview { background: #313338; border-radius: 12px; padding: 16px; font-family: "gg sans", "Noto Sans", Inter, sans-serif; color: #dbdee1; position: sticky; top: 84px; }
.dc-msg { display: flex; gap: 14px; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy) url('/static/img/logo.png') center / cover; flex: none; }
.dc-body { min-width: 0; flex: 1; }
.dc-name { font-weight: 600; color: #f2f3f5; margin-bottom: 4px; }
.dc-bot { background: #5865f2; color: #fff; font-size: .65em; padding: 1px 5px; border-radius: 4px; vertical-align: middle; margin-left: 4px; }
.dc-embed { position: relative; background: #2b2d31; border-left: 4px solid #3b82f6; border-radius: 4px; padding: 12px 16px 14px; max-width: 520px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.dc-embed-main { min-width: 0; }
.dc-title { font-weight: 700; color: #f2f3f5; margin-bottom: 6px; }
.dc-desc { font-size: .92em; white-space: pre-wrap; word-wrap: break-word; line-height: 1.4; }
.dc-desc blockquote { margin: 0; padding-left: 10px; border-left: 4px solid #4e5058; }
.dc-desc code { background: #1e1f22; }
.dc-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; display: none; }
.dc-image { grid-column: span 2; border-radius: 4px; display: none; max-height: 300px; object-fit: cover; width: 100%; }
.dc-footer { grid-column: span 2; font-size: .75em; color: #b5bac1; }
.dc-components { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; max-width: 520px; }
.dc-btn { padding: 6px 16px; border-radius: 4px; font-size: .9em; font-weight: 500; color: #fff; }
.dc-btn.Primary { background: #5865f2; } .dc-btn.Secondary { background: #4e5058; } .dc-btn.Success { background: #248046; } .dc-btn.Danger { background: #da373c; }
.dc-select { width: 100%; background: #1e1f22; border-radius: 4px; padding: 10px 12px; color: #949ba4; display: flex; justify-content: space-between; }

/* ── brand touches (navy + gold) ── */
.hero h1 { letter-spacing: -.02em; }
.pill { border-color: rgba(201,164,20,.45); color: #e9d27a; }
.section-head a, .footer strong { color: var(--gold); }
.topbar { border-bottom-color: rgba(201,164,20,.25); }
.footer { border-top: 2px solid rgba(201,164,20,.35); }
.step-n { box-shadow: 0 0 0 4px rgba(201,164,20,.15); }
.robux { color: #f3e3a0; }
.stars { color: var(--gold); }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }

/* ── permissions matrix ── */
.perm-table th { text-align: center; white-space: normal; min-width: 84px; font-size: .72em; vertical-align: bottom; }
.perm-table th:first-child { text-align: left; min-width: 180px; }
.perm-cell { text-align: center; }
.perm-cell input { width: 18px; height: 18px; cursor: pointer; }
.perm-role { white-space: nowrap; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.perm-table tbody tr:hover td { background: rgba(201,164,20,.06); }

/* ── tasks ── */
.summary-btn { cursor: pointer; font-weight: 700; color: var(--gold); list-style: none; }
.summary-btn::-webkit-details-marker { display: none; }
.task-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.task-col { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.task-col-head { font-weight: 700; display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 6px; }
.task-card { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.task-top { display: flex; justify-content: space-between; align-items: center; }
.task-desc { margin: 0; white-space: pre-line; }
.task-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.task-actions form { margin: 0; }
.task-actions .linkbtn.danger { margin: 0 0 0 auto; }
.danger-text { color: #f87171; font-weight: 600; }
@media (max-width: 900px) { .task-board { grid-template-columns: 1fr; } }

/* ── designs ── */
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.design-card { padding: 0; overflow: hidden; }
.design-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: var(--card2); }
.design-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.design-body .form { gap: 10px; }
.reject-row { display: flex; gap: 8px; }
.reject-row input { flex: 1; }

/* ── support us ── */
.donate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.donate-card { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 26px 20px; transition: transform .2s, border-color .2s; color: var(--text); text-decoration: none !important; }
.donate-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.donate-heart { font-size: 2.4rem; }
.donate-card .price-lg { margin: 0; }
.support-hero { text-align: center; max-width: 640px; margin: 0 auto 30px; }

/* ── verification ── */
.verify-wrap { display: grid; place-items: center; min-height: 60vh; }
.verify-card { width: 100%; max-width: 440px; text-align: center; padding: 32px 28px; }
.verify-card .form { text-align: left; margin-top: 10px; }
.verify-icon { font-size: 3rem; margin-bottom: 6px; }
.verify-user { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 14px; text-align: left; }
.verify-user img { width: 44px; height: 44px; border-radius: 50%; }
.captcha-box { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.captcha-box img { border-radius: 10px; border: 1px solid var(--line); max-width: 100%; height: auto; }
.captcha-input { text-align: center; font-size: 1.4rem; letter-spacing: .35em; text-transform: uppercase; font-weight: 700; }
.cf-turnstile { display: flex; justify-content: center; }

/* ── ticket status ── */
.status-level { padding: 16px; background: var(--bg2); }
.dc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; font-size: .9em; }
.dc-fields b { color: #f2f3f5; }

/* ── applications ── */
.app-wrap { max-width: 760px; margin: 16px auto 0; }
.app-card { padding: 28px; }
.app-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.app-emoji { font-size: 2.6rem; }
.app-q > span { font-size: 1rem; }
.app-q .req { color: var(--gold); }
.yesno { display: flex; gap: 20px; }
.app-answers { margin: 0; }
.app-answers dt { font-weight: 700; margin-top: 14px; }
.app-answers dd { margin: 4px 0 0; color: #c6d0e3; white-space: pre-line; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.app-q-row { grid-template-columns: 2fr 160px 2fr auto; }
.plain-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
a.tab { text-decoration: none; display: inline-block; }
[hidden] { display: none !important; }
.method-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method { display: flex !important; flex-direction: column !important; gap: 4px !important; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--bg2); }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
@media (max-width: 700px) { .method-pick { grid-template-columns: 1fr; } }
.autorole-toggle { font-size: 1.05rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); align-self: flex-start; }

/* ── work logs / payouts ── */
.log-thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; display: block; border: 1px solid var(--line); }
.sheet td.num, .sheet th.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }
.sheet tfoot td { font-weight: 800; border-top: 2px solid var(--gold); padding: 10px; }
.open-amt { color: var(--amber); }
.req { color: var(--gold); }
.inline-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9em; }
.inline-label input { width: auto; }
.pct-input { display: flex; align-items: center; gap: 8px; } .pct-input span { font-weight: 700; }

/* ── statistics ── */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 1200px) { .stats-grid { grid-template-columns: 1fr; } }
.medal { width: 34px; font-size: 1.2rem; text-align: center; }
.rank { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--card2); font-size: .8rem; font-weight: 700; color: var(--muted); }
.sheet tr.top td { background: rgba(201,164,20,.05); }
.bar { height: 8px; background: var(--bg2); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #e9d27a); border-radius: 99px; }

/* ── automod ── */
.am-master { display: flex; flex-direction: column; gap: 10px; }
.am-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.am-filter { padding: 16px; display: flex; flex-direction: column; gap: 8px; opacity: .7; transition: opacity .15s, border-color .15s; }
.am-filter.on { opacity: 1; border-color: rgba(201,164,20,.5); }
.am-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.am-head select { width: auto; max-width: 210px; padding: 6px 8px; font-size: .85em; }
.am-inline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .9em; }
.am-inline input { width: 72px; padding: 6px 8px; }

/* ── sales ── */
.price-sale { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.old-price { color: var(--muted); font-weight: 500; font-size: .85em; }
.badge-sale { background: var(--red); color: #fff; border: 0; }
.sale-ribbon { font-weight: 800; letter-spacing: .02em; box-shadow: 0 4px 14px rgba(239,68,68,.45); }
.sale-banner { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fca5a5; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.price-lg .old-price { font-size: .6em; }

/* ── Components V2 preview + builder ── */
.v2-container { background: #393a41; border-left: 4px solid transparent; border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.v2-text { color: #dbdee1; font-size: .93em; line-height: 1.45; word-break: break-word; }
.v2-h1 { font-size: 1.5em; font-weight: 800; color: #f2f3f5; margin: 2px 0; } .v2-h2 { font-size: 1.25em; font-weight: 700; color: #f2f3f5; margin: 2px 0; } .v2-h3 { font-size: 1.07em; font-weight: 700; color: #f2f3f5; }
.v2-sub { font-size: .8em; color: #949ba4; } .v2-quote { border-left: 4px solid #4e5058; padding-left: 8px; } .v2-li { padding-left: 4px; }
.v2-text code { background: #1e1f22; padding: 1px 4px; border-radius: 4px; } .v2-text a { color: #00a8fc; }
.v2-mention { background: rgba(88,101,242,.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; }
.v2-section { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; } .v2-section .v2-text { flex: 1; }
.v2-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex: none; }
.v2-gallery { display: grid; gap: 4px; border-radius: 8px; overflow: hidden; } .v2-gallery img { width: 100%; height: 100%; object-fit: cover; max-height: 280px; display: block; }
.v2-gallery.n2 { grid-template-columns: 1fr 1fr; } .v2-gallery.n3, .v2-gallery.n4 { grid-template-columns: 1fr 1fr; }
.v2-sep { height: 4px; } .v2-sep.big { height: 14px; } .v2-sep.line { border-top: 1px solid #4e5058; margin-top: 4px; }
.v2-btns { display: flex; gap: 8px; flex-wrap: wrap; } .v2-btn { background: #4e5058; color: #fff; padding: 6px 14px; border-radius: 8px; font-size: .88em; font-weight: 500; white-space: nowrap; }
.blocks { display: flex; flex-direction: column; gap: 10px; }
.blk { padding: 12px; background: var(--bg2); display: flex; flex-direction: column; gap: 8px; }
.blk-head { display: flex; justify-content: space-between; align-items: center; } .blk-head .linkbtn { padding: 2px 6px; margin: 0; }
.add-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.btn-row { grid-template-columns: 1fr 2fr auto auto; }
.dest-other { margin-top: 6px; }
.forum-opts { display: grid; gap: 10px; padding: 12px; border: 1px dashed var(--line); border-radius: 10px; }
.tag-pick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-check { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .9em; cursor: pointer; }
.chip-check input { width: auto; margin: 0; }

/* ── welcomer ── */
.dc-embed-row { display: flex; gap: 16px; align-items: flex-start; }
.dc-embed-row .dc-embed-main { flex: 1; min-width: 0; }
.dc-embed-row .dc-thumb { display: block; }
.dc-author { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .875rem; color: #f2f3f5; margin-bottom: 6px; }
.dc-author img { width: 24px; height: 24px; border-radius: 50%; }
.dc-sep-label { margin: 18px 0 8px; font-size: .72em; text-transform: uppercase; letter-spacing: .1em; color: #949ba4; font-weight: 700; }
.switch-row { display: flex !important; flex-direction: row !important; gap: 12px; align-items: center; cursor: pointer; }
.switch-row > span { display: flex; flex-direction: column; gap: 1px; }
.switch { appearance: none; -webkit-appearance: none; width: 40px !important; min-width: 40px; height: 22px; padding: 0 !important; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .15s; border: 0 !important; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(18px); }
.placeholders { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.ph { font: inherit; font-family: ui-monospace, monospace; font-size: .85em; background: var(--bg2); color: var(--gold); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; cursor: pointer; }
.ph:hover { border-color: var(--accent); }
.method-pick.compact .method { padding: 10px 12px; }
.sticky-actions { position: sticky; bottom: 0; z-index: 5; background: linear-gradient(transparent, var(--bg) 35%); padding: 18px 0 12px; margin-top: 8px; }

/* ═════════ polish & motion ═════════ */
::selection { background: rgba(201,164,20,.35); }
html { scroll-behavior: smooth; }
.topbar { transition: box-shadow .2s, background .2s; }
.topbar.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.35); background: rgba(10,22,40,.95); }

/* hero: emergency light sweep + grid + scroll cue */
.hero-lights { position: absolute; inset: 0; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.hero-lights span { position: absolute; top: -20%; width: 55%; height: 80%; filter: blur(80px); opacity: 0; border-radius: 50%; }
.hero-lights .l-red { left: -10%; background: radial-gradient(circle, rgba(239,68,68,.55), transparent 65%); animation: siren 2.4s infinite; }
.hero-lights .l-blue { right: -10%; background: radial-gradient(circle, rgba(59,130,246,.6), transparent 65%); animation: siren 2.4s infinite 1.2s; }
@keyframes siren { 0%, 100% { opacity: 0; } 8%, 18% { opacity: .9; } 12% { opacity: .35; } 30% { opacity: 0; } }
.hero-grid { position: absolute; inset: auto 0 0; height: 45%; pointer-events: none; opacity: .18;
  background-image: linear-gradient(rgba(201,164,20,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(201,164,20,.5) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000); transform: perspective(500px) rotateX(55deg); transform-origin: bottom; }
.hero-logo { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero .btn-lg { box-shadow: 0 10px 30px rgba(201,164,20,.25); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* why us */
.section-title { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.section-title h2 { margin-bottom: 6px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.why { position: relative; overflow: hidden; transition: transform .25s, border-color .25s; }
.why::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(201,164,20,.12), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.why:hover { transform: translateY(-4px); border-color: rgba(201,164,20,.5); }
.why:hover::before { opacity: 1; }
.why-ico { width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.5em; border-radius: 12px; background: linear-gradient(135deg, rgba(201,164,20,.25), rgba(201,164,20,.05)); border: 1px solid rgba(201,164,20,.3); margin-bottom: 14px; }
.why h3 { margin: 0 0 6px; }
.why p { margin: 0; }

/* product cards */
.product-card { position: relative; }
.product-card .product-thumb { overflow: hidden; }
.product-card .product-thumb img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(201,164,20,.35); }
.product-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%); transform: translateX(-100%); transition: transform .7s; pointer-events: none; }
.product-card:hover::after { transform: translateX(100%); }
.shop-tools { display: flex; gap: 10px; margin: -6px 0 20px; flex-wrap: wrap; }
.shop-tools input { flex: 1; min-width: 200px; }
.shop-tools select { width: auto; min-width: 190px; }
.product-card.hide { display: none; }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px 40px; border-radius: 20px;
  background: radial-gradient(600px 200px at 10% 0%, rgba(201,164,20,.18), transparent), linear-gradient(135deg, var(--navy), var(--card)); border: 1px solid rgba(201,164,20,.35); box-shadow: var(--shadow); }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0 0 4px; max-width: 560px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* footer */
.footer { padding: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding: 36px 0 24px; }
.footer-grid h4 { margin: 0 0 10px; font-size: .78em; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.footer-grid a:not(.brand) { display: block; color: var(--muted); padding: 3px 0; text-decoration: none; }
.footer-grid a:not(.brand):hover { color: var(--text); }
.footer-brand p { max-width: 340px; margin: 10px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0 22px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .cta-band { padding: 26px 20px; } }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--gold); font-size: 1.1em; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); }

/* toasts */
.toast-wrap { position: fixed; top: 76px; right: 18px; z-index: 100; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); animation: toastIn .3s cubic-bezier(.2,.8,.2,1); font-size: .95em; }
.toast > span:nth-child(2) { flex: 1; }
.toast-success { border-left: 4px solid var(--green); }
.toast-error { border-left: 4px solid var(--red); }
.toast-info { border-left: 4px solid var(--accent); }
.toast-x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .9em; padding: 2px; }
.toast.out { animation: toastOut .25s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* QoL */
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid currentColor; border-color: var(--text) transparent var(--text) transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.copyable { cursor: copy; border-bottom: 1px dashed transparent; }
.copyable:hover { border-bottom-color: var(--muted); }
.table-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.table-tools input { max-width: 280px; padding: 7px 10px; font-size: .9em; }
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
th.sortable::after { content: ' ↕'; opacity: .35; font-size: .85em; }
th.sortable.asc::after { content: ' ↑'; opacity: 1; color: var(--gold); }
th.sortable.desc::after { content: ' ↓'; opacity: 1; color: var(--gold); }
.dirty-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-left: 8px; vertical-align: middle; }
kbd { font-family: ui-monospace, monospace; font-size: .8em; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--bg2); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
