:root {
  color-scheme: dark;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: #f4f3fa;
  background: #090d17;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #090d17;
  --surface: #101624;
  --surface-raised: #151d2d;
  --surface-soft: #1b2537;
  --border: rgba(185, 197, 222, .12);
  --muted: #97a2b7;
  --accent: #9a7cff;
  --accent-strong: #7955f5;
  --mint: #78e5c0;
  --danger: #ff8294;
  --radius: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.boot-screen, .center-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: var(--muted);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(145deg, #b19aff, #7755ed);
  font: 800 23px Manrope, sans-serif;
  box-shadow: 0 8px 24px rgba(121, 85, 245, .3);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 17px Manrope, sans-serif; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font: 600 10px "DM Sans", sans-serif; letter-spacing: .13em; text-transform: uppercase; }

.public-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  height: 86px;
  margin: auto;
}
.login-steam-button { min-height: 50px; padding: 0 20px; background: linear-gradient(110deg, #7352ec, #9b74ff 58%, #63cdb2); box-shadow: 0 12px 30px rgba(121, 85, 245, .3); font-size: 13px; }
.login-staff-link {
  display: inline-flex;
  margin: 8px 0 0;
  padding: 6px;
  border: 0;
  color: #7f899d;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  text-decoration: underline;
  text-decoration-color: rgba(127, 137, 157, .4);
  text-underline-offset: 3px;
}
.login-staff-link:hover { color: #c2b1ff; }
.privacy-shell { display: flex; min-height: 100vh; flex-direction: column; }
.privacy-header { position: relative; inset: auto; margin: 0 auto; }
.privacy-header-actions { display: flex; align-items: center; gap: 10px; }
.language-switcher { display: flex; align-items: center; gap: 4px; }
.language-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #c5c9d6;
  background: #111827;
  font: 700 12px "DM Sans", sans-serif;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.language-button:hover,
.language-button.is-active {
  border-color: rgba(153, 128, 255, .65);
  color: #fff;
  background: rgba(121, 85, 245, .18);
}
.language-button:focus-visible { outline: 2px solid #b8a7ff; outline-offset: 2px; }
.language-flag {
  display: block;
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
.topbar-tools .language-label { display: none; }
.privacy-shell .public-main { flex: 1; }
.privacy-wrap { max-width: 900px; }
.privacy-pending .privacy-copy { visibility: hidden; }
.privacy-copy { color: var(--muted); font-size: 13px; line-height: 1.8; }
.privacy-copy h2 { margin: 28px 0 8px; color: #e7e4f1; font: 700 17px Manrope, sans-serif; }
.privacy-copy p { margin: 10px 0; }
.privacy-copy a { color: #b8a7ff; }
.privacy-copy code { color: #d1c6ff; }
.public-nav { display: flex; align-items: center; gap: 30px; color: #c5c9d6; font-size: 13px; }
.public-nav a { text-decoration: none; transition: color .2s; }
.public-nav a:hover { color: white; }
.public-actions { display: flex; align-items: center; gap: 11px; }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; padding: 0; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.public-main { overflow: hidden; }
.hero {
  position: relative;
  min-height: 730px;
  display: grid;
  align-items: center;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 88px;
  isolation: isolate;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 76% 42%, rgba(121, 85, 245, .28), transparent 32%),
    radial-gradient(ellipse at 80% 90%, rgba(56, 213, 170, .12), transparent 30%),
    linear-gradient(180deg, #0b101c 0%, #090d17 100%);
  content: "";
}
.hero-grid {
  position: absolute;
  z-index: -1;
  right: -10%;
  top: 12%;
  width: 65%;
  height: 75%;
  opacity: .18;
  background-image: linear-gradient(rgba(182, 162, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(182, 162, 255, .14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, black 35%, transparent);
  transform: perspective(600px) rotateY(-21deg) rotateX(8deg);
}
.hero-layout { position: relative; z-index: 1; display: grid; width: min(1180px, 100%); grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(30px, 5vw, 72px); margin: auto; }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #b4a1ff; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 23px; height: 1px; background: var(--accent); content: ""; }
.hero h1 { max-width: 650px; margin: 20px 0 18px; font: 800 clamp(43px, 5.5vw, 72px)/1.02 Manrope, sans-serif; letter-spacing: -.065em; }
.gradient-text { color: transparent; background: linear-gradient(100deg, #c5b4ff, #8f72ff 50%, #75e7c2); background-clip: text; }
.hero-copy > p { max-width: 570px; margin: 0; color: #a7b0c1; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 17px; color: #737e92; font-size: 11px; }
.download-cta { min-height: 50px; padding: 0 20px; background: linear-gradient(110deg, #7352ec, #9b74ff 58%, #63cdb2); box-shadow: 0 12px 30px rgba(121, 85, 245, .3); }
.chrome-store-mark { display: grid; width: 21px; height: 21px; place-items: center; border: 2px solid rgba(255,255,255,.86); border-radius: 50%; color: white; font-size: 11px; font-weight: 800; }
.hero-showcase { position: relative; min-width: 0; padding: 8px 0 46px 20px; }
.hero-showcase::before { position: absolute; inset: 10% -7% 13% 12%; border: 1px solid rgba(171, 149, 255, .18); border-radius: 32px; background: radial-gradient(ellipse at 60% 30%, rgba(134, 102, 255, .22), transparent 63%); content: ""; filter: blur(1px); }
.showcase-window { position: relative; overflow: hidden; border: 1px solid rgba(191, 203, 229, .2); border-radius: 18px; background: #0d1421; box-shadow: 0 32px 90px rgba(0, 0, 0, .5), 0 0 55px rgba(121, 85, 245, .14); transform: perspective(1100px) rotateY(-5deg) rotateX(2deg); }
.showcase-window-bar { display: flex; height: 39px; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid rgba(185, 197, 222, .12); color: #8c97aa; font-size: 10px; }
.showcase-window-bar > span:first-child { display: flex; gap: 5px; }
.showcase-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #59647a; }
.showcase-window-bar i:first-child { background: #ff7f8d; }
.showcase-window-bar i:nth-child(2) { background: #f3c16d; }
.showcase-window-bar i:nth-child(3) { background: #70d9b2; }
.showcase-window-bar b { color: #b3a1ff; font-size: 13px; }
.showcase-window > img { display: block; width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.showcase-float { position: absolute; z-index: 1; right: -9px; bottom: 4px; display: flex; width: min(265px, 76%); align-items: center; gap: 12px; padding: 10px; border: 1px solid rgba(185, 197, 222, .17); border-radius: 14px; background: rgba(18, 26, 41, .94); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.showcase-float > img { width: 72px; height: 47px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }
.showcase-float strong, .showcase-float small { display: block; }
.showcase-float strong { color: #f3f1fb; font-size: 10px; }
.showcase-float small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.showcase-tag { position: absolute; top: 24px; right: -8px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(146, 126, 255, .26); border-radius: 99px; color: #e3dcff; background: rgba(22, 29, 47, .9); box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: 9px; font-weight: 700; }
.showcase-tag span { color: #79e5c0; }

.section-wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }
.public-section { padding: 84px 0; }
.section-heading { max-width: 650px; margin-bottom: 35px; }
.section-heading h1, .section-heading h2 { margin: 12px 0; font: 750 clamp(27px, 4vw, 42px)/1.16 Manrope, sans-serif; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 230px; padding: 25px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(24, 32, 49, .88), rgba(14, 20, 32, .78)); }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 24px; border: 1px solid rgba(173, 150, 255, .2); border-radius: 13px; color: #c2b1ff; background: rgba(143, 112, 255, .1); font-size: 18px; }
.feature-card h3 { margin: 0 0 9px; font: 700 17px Manrope, sans-serif; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.gallery-section { position: relative; }
.gallery-section::before { position: absolute; z-index: -1; top: 8%; left: 50%; width: min(1000px, 90vw); height: 420px; border-radius: 50%; background: radial-gradient(ellipse, rgba(105, 82, 203, .09), transparent 70%); content: ""; transform: translateX(-50%); }
.screenshot-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.screenshot-card { min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 16px; color: inherit; background: linear-gradient(145deg, rgba(24, 32, 49, .94), rgba(14, 20, 32, .92)); cursor: zoom-in; text-align: left; transition: transform .2s, border-color .2s, box-shadow .2s; }
.screenshot-card:hover { border-color: rgba(160, 137, 255, .48); box-shadow: 0 18px 45px rgba(0,0,0,.25); transform: translateY(-4px); }
.screenshot-card:focus-visible, .gallery-close:focus-visible { outline: 2px solid #b9a6ff; outline-offset: 3px; }
.screenshot-image-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 1.58; background: #0c1320; }
.screenshot-image-wrap::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8, 12, 20, .35)); content: ""; pointer-events: none; }
.screenshot-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.screenshot-card:hover .screenshot-image-wrap img { transform: scale(1.035); }
.screenshot-zoom { position: absolute; z-index: 1; right: 12px; bottom: 12px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: white; background: rgba(13, 18, 29, .78); font-size: 14px; }
.screenshot-caption { display: grid; gap: 7px; padding: 16px 17px 18px; }
.screenshot-category { width: fit-content; color: #b9a7ff; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.screenshot-caption strong { color: #f2f0f8; font: 700 13px Manrope, sans-serif; line-height: 1.45; }
.screenshot-caption small { color: var(--muted); font-size: 10px; line-height: 1.55; }
.screenshot-dialog { position: fixed; width: min(1120px, calc(100% - 36px)); max-width: none; max-height: calc(100% - 36px); padding: 15px; border: 1px solid rgba(185, 197, 222, .2); border-radius: 18px; color: #f4f3fa; background: #0e1420; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.screenshot-dialog::backdrop { background: rgba(4, 7, 13, .84); backdrop-filter: blur(8px); }
.screenshot-dialog figure { display: grid; justify-items: center; gap: 11px; margin: 0; }
.screenshot-dialog figure img { display: block; max-width: 100%; max-height: calc(100vh - 100px); border-radius: 9px; object-fit: contain; }
.screenshot-dialog figcaption { color: #d8d2ed; font-size: 12px; font-weight: 700; }
.gallery-close { position: absolute; z-index: 1; top: 23px; right: 23px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: white; background: rgba(8,12,20,.82); cursor: pointer; font-size: 21px; }
.raffle-feature { display: flex; min-height: 255px; flex-direction: column; align-items: flex-start; }
.raffle-feature .feature-icon { flex: 0 0 auto; }
.raffle-feature p { flex: 1; }
.raffle-feature a { margin-top: 22px; color: #c2b1ff; font-size: 12px; font-weight: 700; text-decoration: none; }
.raffle-feature a:hover, .partner-social:hover { color: #fff; }
.partner-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.directory-state { grid-column: 1 / -1; display: flex; min-height: 110px; align-items: center; justify-content: center; flex-wrap: wrap; gap: 13px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--muted); background: rgba(16, 22, 36, .72); text-align: center; }
.error-state { color: #ffc0ca; }
.loading-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.partner-card { display: flex; min-width: 0; align-items: center; gap: 17px; padding: 21px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(24, 32, 49, .88), rgba(14, 20, 32, .78)); }
.partner-avatar { width: 64px; height: 64px; flex: 0 0 auto; border: 1px solid rgba(185, 197, 222, .2); border-radius: 18px; object-fit: cover; background: var(--surface-soft); }
.avatar-placeholder { display: grid; place-items: center; color: #ded5ff; background: linear-gradient(145deg, #6048ba, #1e2940); font: 800 24px Manrope, sans-serif; }
.partner-card-body { min-width: 0; }
.partner-card h3 { overflow: hidden; margin: 0 0 10px; font: 700 16px Manrope, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.partner-socials { display: flex; flex-wrap: wrap; gap: 7px; }
.partner-social { display: inline-flex; min-height: 27px; align-items: center; padding: 0 9px; border: 1px solid var(--border); border-radius: 8px; color: #c2b1ff; font-size: 10px; text-decoration: none; transition: color .2s, border-color .2s; }
.partner-social:hover { border-color: rgba(194, 177, 255, .5); }
.partner-no-socials { color: var(--muted); font-size: 11px; }
.footer-login { padding: 0; border: 0; color: #aaa0c9; background: transparent; cursor: pointer; font: inherit; text-align: left; }
.footer-login:hover { color: white; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.78); } }
.public-banner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 34px; border: 1px solid rgba(160, 137, 255, .2); border-radius: 20px; background: radial-gradient(ellipse at 85% 20%, rgba(121, 85, 245, .16), transparent 45%), #111827; }
.public-banner h2 { margin: 0 0 8px; font: 750 25px Manrope, sans-serif; }
.public-banner p { margin: 0; color: var(--muted); font-size: 13px; }
.public-footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--border); color: #778297; font-size: 11px; }
.public-footer a { color: #aaa0c9; text-decoration: none; }

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(120deg, var(--accent-strong), #946fff);
  box-shadow: 0 8px 22px rgba(121, 85, 245, .18);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s, filter .18s, background .18s;
}
.button:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; }
.button.secondary { border-color: var(--border); color: #e2e4ec; background: #151c2a; box-shadow: none; }
.button.ghost { border-color: transparent; color: #b1b9c9; background: transparent; box-shadow: none; }
.button.danger { border-color: rgba(255, 130, 148, .25); color: #ffacb7; background: rgba(182, 54, 75, .12); box-shadow: none; }
.button.small { min-height: 34px; padding: 0 11px; border-radius: 9px; font-size: 11px; }
.button.full { width: 100%; }

.dashboard { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 25px 16px 17px; border-right: 1px solid var(--border); background: #0d121e; }
.sidebar .brand { padding: 0 10px 30px; }
.side-label { margin: 15px 11px 8px; color: #68748a; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.side-nav { display: grid; gap: 4px; }
.nav-link { display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 10px; color: #a5afc0; background: transparent; cursor: pointer; text-align: left; font-size: 12px; font-weight: 600; transition: background .15s, color .15s; }
.nav-link:hover { color: white; background: rgba(255, 255, 255, .04); }
.nav-link.active { color: white; background: linear-gradient(95deg, rgba(140, 111, 255, .2), rgba(140, 111, 255, .05)); box-shadow: inset 2px 0 #a28aff; }
.nav-icon { display: grid; width: 20px; place-items: center; color: #b2a4f5; font-size: 15px; }
.sidebar-bottom { margin-top: auto; padding: 13px 10px 0; border-top: 1px solid var(--border); }
.user-mini { display: flex; min-width: 0; align-items: center; gap: 10px; margin-bottom: 12px; }
.avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(166, 142, 255, .3); border-radius: 11px; color: #d5caff; background: rgba(140, 111, 255, .14); font: 700 12px Manrope, sans-serif; }
.user-mini-text { min-width: 0; }
.user-mini-text strong, .user-mini-text span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-mini-text strong { color: #ecedf3; font-size: 11px; }
.user-mini-text span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.sidebar-bottom .button { min-height: 35px; }
.main-column { min-width: 0; }
.topbar { position: sticky; z-index: 3; top: 0; display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 35px; border-bottom: 1px solid var(--border); background: rgba(9, 13, 23, .84); backdrop-filter: blur(16px); }
.topbar-title { min-width: 0; overflow: hidden; font: 700 14px Manrope, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.topbar-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.role-chip, .status-chip { display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid rgba(155, 127, 255, .2); border-radius: 99px; color: #cabdff; background: rgba(147, 115, 255, .09); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.content { width: min(1360px, 100%); margin: auto; padding: 31px 35px 60px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 0 0 7px; font: 750 clamp(23px, 3vw, 31px) Manrope, sans-serif; letter-spacing: -.04em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.heading-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 24px; }
.stat-card { min-width: 0; padding: 17px 18px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(145deg, #151d2c, #101624); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.stat-visibility-toggle { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 7px; color: #8794aa; background: transparent; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.stat-visibility-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.stat-visibility-toggle:hover, .stat-visibility-toggle[aria-pressed="true"] { border-color: rgba(154,124,255,.2); color: #c4b5fd; background: rgba(154,124,255,.08); }
.stat-visibility-toggle:focus-visible { outline: 2px solid rgba(154,124,255,.75); outline-offset: 2px; }
.stat-card strong { display: block; margin-top: 13px; color: #f7f6fc; font: 750 25px Manrope, sans-serif; }
.stat-card small { display: block; margin-top: 4px; color: #78849a; font-size: 10px; }
.panel { min-width: 0; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.panel-head { display: flex; min-height: 59px; align-items: center; justify-content: space-between; gap: 15px; padding: 0 18px; border-bottom: 1px solid var(--border); }
.panel-head h2, .panel-head h3 { margin: 0; font: 700 13px Manrope, sans-serif; }
.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.panel-body { padding: 18px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 15px; }
.profile-directory-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -7px 0 16px; color: var(--muted); font-size: 11px; }
.profile-directory-meta span:first-child { color: #d8d2ee; font-weight: 700; }
.admin-profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.steam-link-panel { margin: 16px 0; }
.steam-link-panel .panel-body { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.steam-link-empty p { margin: 0 0 13px; color: var(--muted); font-size: 12px; }
.steam-link-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.steam-link-identity img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.steam-link-identity div { display: grid; gap: 4px; min-width: 0; }
.steam-link-identity strong { overflow: hidden; color: #f4f1fc; text-overflow: ellipsis; white-space: nowrap; }
.steam-link-identity a { color: var(--accent); font-size: 11px; }
.steam-link-actions { display: flex; align-items: center; gap: 12px; }
.steam-link-status { color: var(--success); font-size: 11px; font-weight: 700; }
.admin-profile-card { display: flex; min-width: 0; min-height: 218px; flex-direction: column; gap: 17px; padding: 18px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(155deg, #151d2c, #0f1521 76%); }
.admin-profile-card-head { display: flex; min-width: 0; align-items: center; gap: 14px; }
.admin-profile-avatar { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid rgba(185, 197, 222, .17); border-radius: 16px; object-fit: cover; background: var(--surface-soft); }
.admin-profile-identity { min-width: 0; }
.admin-profile-code { color: #b9a8ff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-profile-identity h2 { overflow: hidden; margin: 4px 0; font: 700 16px Manrope, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.admin-profile-kind { color: var(--muted); font-size: 10px; }
.admin-profile-socials { display: flex; min-height: 28px; flex-wrap: wrap; align-content: flex-start; gap: 7px; }
.profile-social-chip { display: inline-flex; max-width: 100%; align-items: center; overflow: hidden; padding: 6px 9px; border: 1px solid rgba(155, 127, 255, .16); border-radius: 8px; color: #c8baff; background: rgba(147, 115, 255, .06); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-social-empty { color: #7f8a9e; font-size: 10px; }
.admin-profile-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--border); }
.admin-profile-card-footer > span { color: var(--muted); font-size: 10px; }
.quick-actions { display: grid; gap: 9px; }
.public-raffle-section { display: grid; gap: 12px; margin-bottom: 20px; }
.public-raffle-section > .panel-head { min-height: 53px; padding: 0 3px 10px; border-bottom: 1px solid var(--border); }
.public-raffle-section > .raffle-grid { padding: 0; }
.raffle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.raffle-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(155deg, #151d2c, #0f1521 76%); }
.raffle-card::before { position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 75%); content: ""; }
.raffle-card-content { padding: 17px; }
.raffle-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.raffle-card h3 { margin: 11px 0 5px; font: 700 16px Manrope, sans-serif; line-height: 1.35; overflow-wrap: anywhere; }
.raffle-partner { color: var(--muted); font-size: 10px; }
.raffle-items { display: grid; gap: 8px; margin-top: 15px; }
.raffle-prize { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 9px; border: 1px solid rgba(190, 200, 220, .08); border-radius: 11px; background: rgba(255,255,255,.025); }
.stattrak-pill { display: inline-flex; width: fit-content; align-items: center; margin: 3px 4px 0 0; padding: 2px 7px; border: 1px solid rgba(255, 137, 74, .55); border-radius: 999px; color: #ffb07f; background: rgba(214, 87, 44, .16); font-size: 9px; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.prize-copy span .stattrak-pill { display: inline-flex; margin: 0 0 0 4px; border-color: rgba(255, 137, 74, .55); color: #ffb07f; background: rgba(214, 87, 44, .16); font-size: 9px; vertical-align: middle; }
.stattrak-toggle { position: relative; box-sizing: border-box; display: flex !important; width: 100%; min-height: 43px; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(78, 193, 217, .18); border-radius: 11px; color: #c8d5e3 !important; background: linear-gradient(120deg, rgba(22, 38, 51, .8), rgba(12, 20, 32, .95)); cursor: pointer; font-size: 10px !important; transition: border-color .16s, background .16s, box-shadow .16s; }
.stattrak-toggle:hover { border-color: rgba(78, 193, 217, .42); background: rgba(25, 47, 60, .75); }
.field .stattrak-toggle input { position: absolute; width: 1px !important; height: 1px !important; min-height: 1px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stattrak-switch { position: relative; display: inline-block; width: 39px; height: 22px; flex: 0 0 auto; border: 1px solid rgba(173, 193, 211, .32); border-radius: 99px; background: #1b2735; transition: border-color .16s, background .16s; }
.stattrak-switch::before { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #9aaabd; content: ""; transition: transform .16s, background .16s; }
.stattrak-toggle input:checked + .stattrak-switch { border-color: rgba(255, 137, 74, .72); background: rgba(214, 87, 44, .28); }
.stattrak-toggle input:checked + .stattrak-switch::before { background: #ff9a61; transform: translateX(17px); }
.stattrak-toggle input:focus-visible + .stattrak-switch { outline: 2px solid rgba(82, 213, 231, .78); outline-offset: 3px; }
.prize-image { display: grid; width: 53px; height: 48px; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 8px; background: #1d2738; color: #a9b1c0; font-size: 11px; }
.prize-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prize-copy { min-width: 0; flex: 1; }
.prize-copy strong, .prize-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prize-copy strong { font-size: 11px; }
.prize-copy span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.prize-value { color: var(--mint); font: 700 11px Manrope, sans-serif; white-space: nowrap; }
.raffle-details { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; color: var(--muted); font-size: 10px; }
.raffle-details strong { display: block; margin-top: 4px; color: #e4e6ed; font-size: 11px; }
.raffle-actions { display: flex; gap: 7px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.raffle-reveal-list { display: grid; gap: 11px; }
.raffle-reveal-card { display: grid; gap: 8px; padding: 15px; border: 1px solid rgba(154, 124, 255, .2); border-radius: 12px; background: linear-gradient(135deg, rgba(154, 124, 255, .1), rgba(19, 27, 42, .8)); }
.raffle-reveal-card.is-spinning { border-color: rgba(154, 124, 255, .55); box-shadow: 0 0 24px rgba(125, 90, 230, .18); }
.raffle-reveal-position { color: #bdb0f7; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.raffle-reveal-prize { color: #e4e6ed; font-size: 11px; }
.raffle-reveal-ticket { min-height: 28px; color: #fff; font: 800 19px Manrope, sans-serif; }
.raffle-reveal-card.is-spinning .raffle-reveal-ticket { animation: raffle-ticket-pulse .2s ease-in-out infinite alternate; color: #d9ceff; }
.raffle-reveal-winner { overflow-wrap: anywhere; color: var(--mint); font-size: 12px; font-weight: 700; }
.raffle-reveal-avatar { width: 52px; height: 52px; border: 1px solid var(--border); border-radius: 50%; object-fit: cover; }
.raffle-winner-identities { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.raffle-winner-identity { display: inline-flex; align-items: center; color: var(--mint); font-size: 11px; font-weight: 700; }
.raffle-winner-identity img { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; object-fit: cover; }
.raffle-simulation { display: grid; gap: 12px; margin-top: 17px; padding: 14px; border: 1px solid rgba(154,124,255,.25); border-radius: 13px; background: rgba(18,24,39,.72); }
.raffle-simulation[hidden], .raffle-simulation-result[hidden], .raffle-execution-actions[hidden] { display: none !important; }
.raffle-simulation-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.raffle-simulation-head strong { color: #e5e1ff; font-size: 11px; }
.raffle-simulation-head span { color: #8491a7; font-size: 9px; }
.raffle-simulation-result { margin: 0; color: var(--mint); font-size: 12px; font-weight: 750; }
.raffle-execution { display: grid; gap: 15px; }
.raffle-execution-progress { color: #b7a9f6; font-size: 11px; font-weight: 750; text-align: center; }
.raffle-animation { position: relative; display: grid; min-height: 245px; place-items: center; overflow: hidden; border: 1px solid rgba(154,124,255,.16); border-radius: 14px; background: radial-gradient(ellipse at center, rgba(58,67,108,.23), rgba(8,13,23,.72) 72%); }
.raffle-carousel-viewport { position: relative; width: 100%; overflow: hidden; }
.raffle-carousel-viewport::before { position: absolute; z-index: 1; top: 0; bottom: 0; left: 50%; width: 2px; background: #72e6d0; box-shadow: 0 0 15px rgba(114,230,208,.7); content: ""; }
.raffle-carousel-track { display: flex; width: max-content; gap: 10px; padding: 0 calc(50% - 66px); }
.raffle-carousel-item { display: grid; width: 122px; height: 84px; flex: 0 0 auto; place-items: center; padding: 8px; border: 1px solid rgba(180,191,218,.16); border-radius: 11px; color: #c5ccdc; background: linear-gradient(145deg, #1a2537, #111a2a); font-size: 10px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.raffle-carousel-item.is-winner { border-color: #72e6d0; color: #eafffb; background: linear-gradient(145deg, rgba(28,113,101,.65), #111a2a); box-shadow: 0 0 23px rgba(73,218,189,.3); }
.raffle-animation-wheel { overflow: visible; }
.raffle-wheel-pointer { position: absolute; z-index: 2; top: 9px; left: 50%; color: #76ead0; filter: drop-shadow(0 2px 5px rgba(0,0,0,.6)); font-size: 27px; transform: translateX(-50%); }
.raffle-wheel { position: relative; width: 286px; height: 286px; max-width: 76vw; max-height: 76vw; border: 8px solid #263349; border-radius: 50%; box-shadow: 0 0 0 2px rgba(154,124,255,.35), 0 10px 35px rgba(0,0,0,.4); }
.raffle-wheel::after { position: absolute; inset: 46%; border: 4px solid #d9d0ff; border-radius: 50%; background: #263349; content: ""; }
.raffle-wheel-label { position: absolute; top: 50%; left: 50%; width: 62px; overflow: hidden; color: #fff; font-size: 8px; font-weight: 750; text-align: center; text-overflow: ellipsis; white-space: nowrap; transform: translate(-50%, -50%) rotate(var(--slice-center)) translateY(-104px) rotate(calc(-1 * var(--slice-center))); transform-origin: center; }
.raffle-wheel-label.is-winner { color: #7af2da; text-shadow: 0 0 8px rgba(114,230,208,.9); }
.raffle-grid-tiles { display: grid; width: min(100%, 560px); grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; padding: 15px; }
.raffle-grid-tile { display: grid; min-height: 42px; place-items: center; overflow: hidden; padding: 4px; border: 1px solid rgba(180,191,218,.12); border-radius: 8px; color: #8f9bb0; background: rgba(30,42,61,.7); font-size: 8px; text-align: center; text-overflow: ellipsis; }
.raffle-grid-tile.is-active { border-color: #aa91ff; color: #f0ebff; background: rgba(125,94,226,.3); box-shadow: 0 0 13px rgba(154,124,255,.3); }
.raffle-grid-tile.is-winner { border-color: #72e6d0; color: #effffb; background: rgba(41,153,132,.34); box-shadow: 0 0 20px rgba(73,218,189,.42); animation: raffle-ticket-pulse .45s ease-in-out infinite alternate; }
.raffle-execution-winners { display: grid; gap: 9px; }
.raffle-execution-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding-top: 13px; border-top: 1px solid var(--border); }
.raffle-pending-reveal { display: grid; justify-items: center; gap: 14px; padding: 20px 0; }
.raffle-pending-reveal p { margin: 0; color: #aeb8ca; font-size: 11px; text-align: center; }
.raffle-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -3px 0 19px; padding: 6px; border: 1px solid var(--border); border-radius: 13px; background: rgba(16, 22, 36, .72); }
.raffle-tabs button, .public-raffle-filters button { min-height: 35px; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; transition: .16s ease; }
.raffle-tabs button:hover, .public-raffle-filters button:hover { color: white; background: rgba(255,255,255,.04); }
.raffle-tabs button.active, .public-raffle-filters button.active { border-color: rgba(154,124,255,.25); color: #e9e2ff; background: rgba(154,124,255,.12); }
.csgo-raffle-value { margin-top: 19px; color: var(--mint); font: 800 25px Manrope, sans-serif; letter-spacing: -.04em; }
.csgo-raffle-item { display: flex; min-width: 0; align-items: center; gap: 10px; margin-top: 13px; }
.csgo-raffle-item img { width: 76px; height: 62px; flex: 0 0 auto; object-fit: contain; border-radius: 8px; background: rgba(255,255,255,.025); }
.csgo-raffle-item h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; font: 700 14px Manrope, sans-serif; line-height: 1.4; }
.csgo-raffle-link { width: fit-content; margin-top: 13px; text-decoration: none; }
.csgo-raffle-boost-label { margin-top: 8px; color: #f6ad55; font-size: 10px; font-weight: 700; }
.csgo-raffle-boost-toggle { position: relative; display: inline-flex; width: fit-content; align-items: center; gap: 9px; color: #c1cada !important; cursor: pointer; font-size: 11px !important; }
.field .csgo-raffle-boost-toggle input { position: absolute; width: 1px; min-width: 1px; height: 1px; min-height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.csgo-raffle-toggle-track { position: relative; display: inline-block; width: 39px; height: 22px; flex: 0 0 auto; border: 1px solid rgba(185,197,222,.24); border-radius: 99px; background: #202a3b; transition: background .16s,border-color .16s; }
.csgo-raffle-toggle-track::before { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #aeb9cc; content: ""; transition: transform .16s,background .16s; }
.csgo-raffle-boost-toggle input:checked + .csgo-raffle-toggle-track { border-color: rgba(255,174,75,.6); background: rgba(230,127,34,.22); }
.csgo-raffle-boost-toggle input:checked + .csgo-raffle-toggle-track::before { background: #ffb34f; transform: translateX(17px); }
.csgo-raffle-boost-toggle input:focus-visible + .csgo-raffle-toggle-track { outline: 2px solid rgba(154,124,255,.7); outline-offset: 2px; }
.payment-overview { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .9fr); gap: 13px; margin-bottom: 17px; }
.payment-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.payment-kpi, .payment-chart-card { min-width: 0; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(145deg, #151d2c, #101624); }
.payment-kpi { display: flex; min-height: 137px; flex-direction: column; justify-content: space-between; padding: 15px; }
.payment-kpi > span { color: var(--muted); font-size: 10px; }
.payment-kpi strong { display: grid; gap: 3px; margin-top: 12px; color: var(--mint); font: 800 21px Manrope, sans-serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.payment-kpi strong span { line-height: 1.2; }
.payment-kpi small, .payment-chart-card small { margin-top: 8px; color: #78849a; font-size: 9px; line-height: 1.45; }
.payment-chart-card { display: flex; flex-direction: column; padding: 14px 16px 11px; }
.payment-chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.payment-chart-heading h2 { margin: 0; font: 700 12px Manrope, sans-serif; }
.payment-chart-heading p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.payment-chart-icon { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(154,124,255,.2); border-radius: 8px; color: #b8a6ff; background: rgba(154,124,255,.08); }
.payment-chart { display: block; width: 100%; height: 89px; margin-top: 11px; overflow: visible; }
.payment-chart-area { fill: url(#payment-chart-fill); }
.payment-chart-line { fill: none; stroke: #68d9b4; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.payment-chart-point { fill: #8af0cc; stroke: #172033; stroke-width: 2; }
.payment-chart-labels { display: flex; justify-content: space-between; gap: 8px; color: #79859a; font-size: 8px; }
.payment-chart-labels span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-chart-empty { display: grid; min-height: 100px; place-items: center; color: var(--muted); font-size: 10px; text-align: center; }
.payment-filters { margin-bottom: 15px; padding: 15px; }
.payment-filter-heading { margin-bottom: 12px; }
.payment-filter-heading h2 { margin: 0; font: 700 13px Manrope, sans-serif; }
.payment-filter-heading p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.payment-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; }
.payment-filter-grid .field { min-width: 0; }
.payment-filter-grid .field label { margin-bottom: 5px; }
.payment-advanced-filters { margin-top: 11px; border-top: 1px solid var(--border); }
.payment-advanced-filters summary { width: fit-content; padding: 10px 0 2px; color: #c2b4ff; cursor: pointer; font-size: 10px; font-weight: 700; list-style: none; }
.payment-advanced-filters summary::-webkit-details-marker { display: none; }
.payment-advanced-filters summary::before { display: inline-block; margin-right: 7px; content: "+"; font-size: 13px; transition: transform .15s; }
.payment-advanced-filters[open] summary::before { transform: rotate(45deg); }
.payment-filter-advanced { padding-top: 11px; }
.payment-filter-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--border); }
.payment-history-panel > .panel-head { min-height: 55px; }
.payment-table-wrap { width: 100%; overflow-x: auto; }
.payment-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.payment-table th, .payment-table td { padding: 12px 14px; border-bottom: 1px solid rgba(185,197,222,.09); vertical-align: middle; }
.payment-table th { color: #8591a6; font-size: 9px; font-weight: 650; white-space: nowrap; }
.payment-table td { color: #e1e5ef; font-size: 10px; }
.payment-table tbody tr:last-child td { border-bottom: 0; }
.payment-table tbody tr:hover { background: rgba(255,255,255,.018); }
.payment-table .role-chip { white-space: nowrap; }
.payment-id { display: inline-flex; max-width: 100%; align-items: center; gap: 5px; padding: 4px 6px; border: 1px solid rgba(185,197,222,.12); border-radius: 7px; color: #cbd3e2; background: rgba(255,255,255,.025); font-variant-numeric: tabular-nums; white-space: nowrap; }
.payment-copy-button { display: grid; width: 21px; height: 21px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; border-radius: 5px; color: #9da9bd; background: transparent; cursor: pointer; }
.payment-copy-button:hover { color: #d5c9ff; background: rgba(154,124,255,.12); }
.payment-copy-button:focus-visible { outline: 2px solid rgba(154,124,255,.75); outline-offset: 1px; }
.payment-copy-button svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.payment-table-raffles { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-table-user-id { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-table .payment-table-amount { color: var(--mint); font: 750 12px Manrope, sans-serif; text-align: right; white-space: nowrap; }
.content-history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 13px; padding: 0 17px 17px; }
.content-history-card { min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 13px; background: linear-gradient(155deg, #151d2c, #0f1521 76%); }
.content-history-meta, .content-history-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.content-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-publish-note { margin-top: 14px; }
.content-history-section { margin-top: 24px; border: 1px solid var(--border); border-radius: 15px; background: rgba(16, 22, 36, .58); }
.content-history-section > .panel-head { padding: 14px 17px; }
.content-history-card { display: flex; min-height: 190px; flex-direction: column; }
.content-history-card h3 { margin: 14px 0 6px; font: 700 14px Manrope, sans-serif; }
.content-history-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.content-history-footer { align-items: flex-end; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 9px; }
.content-history-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.content-history-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 14px; }
.content-link { color: #c3b5ff; font-size: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.content-link:hover { color: white; }
.content-link-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.content-link-list { display: grid; gap: 8px; }
.content-link-row { display: flex; min-width: 0; gap: 8px; }
.content-link-row input { width: 100%; min-width: 0; min-height: 41px; padding: 10px 12px; border: 1px solid rgba(185,197,222,.15); border-radius: 9px; outline: none; color: #f1f1f6; background: #0c121e; font-size: 11px; }
.content-link-row input:focus { border-color: rgba(154,124,255,.65); box-shadow: 0 0 0 3px rgba(154,124,255,.1); }
.content-link-row > button { width: 41px; min-width: 41px; padding: 0; font-size: 17px; }
.content-cache-option { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(185,197,222,.12); border-radius: 9px; color: #c0c7d4; background: rgba(255,255,255,.025); cursor: pointer; font-size: 11px; line-height: 1.5; }
.field .content-cache-option input[type="checkbox"] { appearance: auto; flex: 0 0 16px; width: 16px; min-width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; border: 0; border-radius: 3px; background: transparent; accent-color: var(--accent-strong); cursor: pointer; }
.content-cache-option span { min-width: 0; }
.field-help.error { color: var(--danger); }
.public-raffle-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.public-raffle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); align-items: start; gap: 16px; }
.public-raffle-card { position: relative; display: grid; min-width: 0; grid-template-columns: 92px minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(131, 153, 190, .24); border-radius: 17px; background: linear-gradient(145deg, rgba(24,32,49,.96), rgba(14,20,32,.92)); box-shadow: 0 8px 28px rgba(0,0,0,.14); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.public-raffle-card::before { position: absolute; z-index: 1; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(100, 180, 255, .45), transparent 78%); content: ""; pointer-events: none; }
.public-raffle-card:hover { border-color: rgba(151, 177, 222, .54); box-shadow: 0 0 22px rgba(89, 130, 200, .17), 0 12px 30px rgba(0,0,0,.2); transform: translateY(-2px); }
.public-raffle-card--dropstats { border-color: rgba(154, 124, 255, .34); }
.public-raffle-card--csgoskins { border-color: rgba(82, 174, 211, .32); }
.public-raffle-card-media { display: grid; min-height: 100%; place-items: center; overflow: hidden; color: #c1b3ff; background: radial-gradient(circle at 50% 30%, rgba(154,124,255,.22), transparent 70%), #111a2a; font-size: 31px; }
.public-raffle-card-media img { width: 100%; height: 100%; min-height: 205px; object-fit: contain; }
.public-raffle-card-body { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 16px; }
.public-raffle-meta { display: grid; gap: 7px; color: var(--muted); font-size: 9px; }
.public-raffle-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.public-raffle-partner { display: grid; gap: 3px; color: #aeb7c8; }
.public-raffle-partner > span { color: #8290a7; font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.public-raffle-partner > strong { color: #d5deec; font-size: 10px; font-weight: 700; }
.public-raffle-status, .public-raffle-mode { display: inline-flex; width: fit-content; align-items: center; padding: 3px 8px; border: 1px solid rgba(185,197,222,.18); border-radius: 999px; color: #cbd5e1; background: rgba(255,255,255,.035); font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.public-raffle-status--active { border-color: rgba(67, 173, 112, .4); color: #a7f3c0; background: rgba(22, 101, 52, .2); }
.public-raffle-status--scheduled { border-color: rgba(226, 169, 72, .48); color: #ffdb93; background: rgba(133, 77, 14, .23); }
.public-raffle-status--closed, .public-raffle-status--review { border-color: rgba(148, 163, 184, .25); color: #bac4d4; background: rgba(71, 85, 105, .18); }
.public-raffle-mode { border-color: rgba(137, 113, 236, .4); color: #d5caff; background: rgba(121, 85, 245, .14); }
.public-raffle-card h3 { margin: 0; color: #f4f4fa; font: 750 16px Manrope, sans-serif; line-height: 1.35; overflow-wrap: anywhere; }
.public-raffle-card p { min-height: 15px; margin: 0; color: var(--muted); font-size: 10px; }
.public-raffle-card .public-raffle-condition { color: #aeb8ca; }
.public-raffle-prize-list { display: grid; gap: 7px; margin-top: 2px; }
.public-raffle-prize-list h4 { margin: 0 0 1px; color: #e7e8f0; font: 750 12px Manrope, sans-serif; }
.public-raffle-prize-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 5px 9px; align-items: center; padding: 8px; border: 1px solid rgba(190,200,220,.1); border-radius: 11px; background: rgba(255,255,255,.025); }
.public-raffle-prize-row--featured { border-color: rgba(224,174,77,.22); background: linear-gradient(105deg, rgba(42,39,48,.9), rgba(75,75,41,.4)); }
.public-raffle-prize-image { display: grid; width: 40px; height: 40px; grid-row: span 2; place-items: center; overflow: hidden; border-radius: 8px; color: #a8b8d4; background: rgba(12,18,29,.72); font-size: 8px; font-weight: 750; }
.public-raffle-prize-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.public-raffle-prize-copy { display: grid; min-width: 0; gap: 3px; }
.public-raffle-prize-copy strong { overflow: hidden; color: #f3f1f7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.public-raffle-prize-copy small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.public-raffle-prize-value { grid-column: 2; justify-self: end; color: #f6d766; font: 750 10px Manrope, sans-serif; }
.public-raffle-card .fair-hash { display: grid; gap: 4px; padding: 8px 9px; border: 1px solid rgba(148,163,184,.09); border-radius: 9px; color: #8793a8; background: rgba(5,10,19,.24); font-size: 9px; line-height: 1.4; }
.public-raffle-card .fair-hash code { display: block; margin: 0; overflow-wrap: anywhere; color: #a2adbf; font-size: 9px; }
.public-raffle-summary { display: grid; gap: 8px; margin: 2px 0; color: var(--muted); font-size: 9px; }
.public-raffle-summary > span { display: block; }
.public-raffle-summary > span > span { color: #bdc7d7; }
.public-raffle-summary strong { display: block; margin-top: 3px; color: #e5e5ed; font-size: 10px; }
.public-raffle-summary > span:first-child strong { color: #f6d766; font: 800 16px Manrope, sans-serif; }
.public-raffle-join { gap: 8px; border-color: rgba(154,124,255,.55); background: linear-gradient(135deg, #7654ef, #4f46c6); box-shadow: 0 0 17px rgba(121,85,245,.2); }
.public-raffle-join:hover { box-shadow: 0 0 22px rgba(121,85,245,.32); }
.public-raffle-alert { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border: 1px solid rgba(221,151,61,.26); border-radius: 10px; color: #ddc7a6; background: rgba(127,74,25,.16); font-size: 10px; line-height: 1.5; }
.public-raffle-alert > span:first-child { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #20160b; background: #f2b75d; font-weight: 900; }
.public-raffle-guide { gap: 8px; margin-top: 16px; border-color: rgba(154,124,255,.36); }
.public-raffle-note { margin: 16px 0 0; color: var(--muted); font-size: 10px; }
.public-raffle-results { margin-top: 48px; }
.fair-audit-link { margin-top: 16px; text-decoration: none; }
.fair-audit-back { margin-bottom: 22px; text-decoration: none; }
.fair-result-card { align-items: stretch; }
.fair-hash code, .fair-commitment code { display: block; margin-top: 5px; overflow-wrap: anywhere; color: #9fe8c4; font-size: 10px; }
.fair-verifier-code { margin: 12px 0; color: var(--muted); font-size: 11px; }
.fair-verifier-code summary { cursor: pointer; color: #f4f3fa; }
.fair-verifier-code pre { max-height: 260px; overflow: auto; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: #080c14; color: #d4e4f3; font-size: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.fair-verification-status { min-height: 1em; color: #9fe8c4; font-size: 11px; }
.fair-verification-status.error-state { color: #ff8a8a; }
.fair-commitment { grid-column: 1 / -1; }
.fair-audit-section { background: linear-gradient(180deg, rgba(20, 27, 42, .42), transparent 72%); }
.fair-audit-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fair-audit-guide .feature-card { min-height: 0; }
.fair-audit-guide .feature-icon { font-size: 13px; font-weight: 800; }
.fair-audit-rules { margin-top: 18px; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(16, 22, 36, .8); }
.fair-audit-rules h3, .fair-audit-rounds-heading h3 { margin: 0 0 10px; font: 700 16px Manrope, sans-serif; }
.fair-audit-rules p, .fair-audit-rules li { color: var(--muted); font-size: 12px; line-height: 1.75; }
.fair-audit-rules p { margin: 9px 0 0; }
.fair-audit-rules ul { display: grid; gap: 6px; margin: 12px 0; padding-left: 21px; }
.fair-audit-rules li strong { color: #e4e6ee; }
.fair-audit-rules code { color: #c5b4ff; }
.fair-audit-limits { margin-top: 18px; }
.fair-audit-panel { overflow: hidden; margin-top: 25px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(16, 22, 36, .92); }
.fair-audit-panel .panel-head { min-height: 70px; }
.fair-audit-form { display: grid; gap: 21px; padding: 20px; }
.fair-audit-rounds-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.fair-audit-rounds-heading h3 { margin-bottom: 4px; }
.fair-audit-rounds-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.fair-audit-rounds { display: grid; gap: 11px; }
.fair-audit-round { padding: 15px; border: 1px solid rgba(185, 197, 222, .12); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.fair-audit-round-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #ded9f2; font-size: 12px; }
.fair-audit-round .form-grid { margin-top: 14px; }
.fair-audit-submit { display: grid; justify-items: start; gap: 10px; }
.fair-audit-submit .fair-verification-status { margin: 0; line-height: 1.65; }
.fair-audit-form button:disabled { cursor: not-allowed; opacity: .55; }
.badge-active { border-color: rgba(120, 229, 192, .22); color: var(--mint); background: rgba(120, 229, 192, .08); }
.badge-scheduled { border-color: rgba(247, 206, 118, .25); color: #f6d58f; background: rgba(247, 206, 118, .08); }
.badge-finished { color: #a7b0c1; background: rgba(160, 170, 189, .07); }
.badge-draft { border-color: rgba(147, 197, 253, .26); color: #93c5fd; background: rgba(37, 99, 235, .10); }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 12px 15px; color: #78849a; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 13px 15px; border-top: 1px solid rgba(185, 197, 222, .08); color: #d7dbe5; font-size: 11px; vertical-align: middle; }
.data-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.table-actions { display: flex; align-items: center; gap: 5px; }
.uuid-cell { max-width: 205px; overflow-wrap: anywhere; color: #aeb5c4 !important; font: 10px ui-monospace, Consolas, monospace; }
.empty-state { display: grid; min-height: 185px; place-content: center; justify-items: center; gap: 9px; padding: 24px; border: 1px dashed rgba(185,197,222,.17); border-radius: 14px; color: var(--muted); text-align: center; }
.empty-state strong { color: #dfe1e9; font: 700 13px Manrope, sans-serif; }
.empty-state p { max-width: 330px; margin: 0; font-size: 11px; line-height: 1.7; }
.banner-note { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; padding: 13px 15px; border: 1px solid rgba(137, 165, 230, .16); border-radius: 11px; color: #aab7ce; background: rgba(91, 124, 195, .08); font-size: 11px; line-height: 1.65; }
.banner-note.warning { border-color: rgba(250, 191, 97, .18); color: #e3c891; background: rgba(216, 157, 52, .07); }
.banner-note strong { color: #e9eaf0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; min-width: 0; gap: 7px; }
.field.full-row { grid-column: 1 / -1; }
.field label, .field-label { color: #b9c1d0; font-size: 10px; font-weight: 650; }
.field input, .field select, .field textarea, .search-input {
  width: 100%;
  min-height: 41px;
  padding: 10px 12px;
  border: 1px solid rgba(185, 197, 222, .15);
  border-radius: 9px;
  outline: none;
  color: #f1f1f6;
  background: #0c121e;
  font-size: 11px;
  transition: border .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus, .search-input:focus { border-color: rgba(154,124,255,.65); box-shadow: 0 0 0 3px rgba(154,124,255,.1); }
.field input::placeholder, .field textarea::placeholder, .search-input::placeholder { color: #626f85; }
.prize-editor .field input, .prize-editor .field select, #csgo-raffle-form .field input, #csgo-raffle-form .field select { border-radius: 11px; transition: border .15s, box-shadow .15s, background .15s; }
.prize-editor .field select, #csgo-raffle-form .field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2396a9bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.prize-editor .field input[type="search"], #csgo-raffle-form .field input[type="search"] { padding-left: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%2396a9bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px center; }
.prize-editor .field input:focus, .prize-editor .field select:focus, #csgo-raffle-form .field input:focus, #csgo-raffle-form .field select:focus { border-color: rgba(71, 197, 219, .72); box-shadow: 0 0 0 3px rgba(71, 197, 219, .11); }
.field-help { color: #748096; font-size: 9px; line-height: 1.5; }
.profile-social-field { gap: 10px; }
.profile-social-add { display: grid; grid-template-columns: minmax(140px, .7fr) minmax(220px, 1.35fr) minmax(150px, .9fr) auto; align-items: end; gap: 9px; }
.profile-social-control { display: grid; min-width: 0; gap: 6px; }
.profile-social-control > label { color: #9da8bc; font-size: 9px; font-weight: 600; }
.profile-social-control > label span { color: #748096; font-weight: 400; }
.profile-social-add-button { min-height: 41px; white-space: nowrap; }
.profile-social-add-button > span { margin-right: 4px; font-size: 16px; line-height: 1; }
.profile-social-feedback { min-height: 0; margin: -2px 0 0; color: #aeb9cc; font-size: 10px; }
.profile-social-feedback:empty { display: none; }
.profile-social-feedback.error { color: var(--danger); }
.profile-social-list { display: grid; gap: 7px; margin: 1px 0 0; padding: 0; list-style: none; }
.profile-social-item { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 9px 10px; border: 1px solid rgba(185,197,222,.1); border-radius: 10px; background: rgba(255,255,255,.025); }
.profile-social-platform { display: inline-flex; min-width: 78px; min-height: 27px; align-items: center; justify-content: center; padding: 0 8px; border: 1px solid rgba(155,127,255,.2); border-radius: 7px; color: #d2c5ff; background: rgba(147,115,255,.07); font-size: 9px; font-weight: 700; }
.profile-social-details { display: grid; min-width: 0; flex: 1; gap: 3px; }
.profile-social-details strong { overflow: hidden; color: #e3e5ec; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-social-details a { overflow: hidden; color: #8491a7; font-size: 9px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.profile-social-details a:hover { color: #c8baff; }
.profile-social-remove { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,130,148,.16); border-radius: 8px; color: #d68190; background: rgba(182,54,75,.06); cursor: pointer; }
.profile-social-remove:hover { border-color: rgba(255,130,148,.4); color: #ff9eac; background: rgba(182,54,75,.13); }
.profile-social-remove svg, .profile-remove-avatar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.profile-social-empty { padding: 12px; border: 1px dashed rgba(185,197,222,.13); border-radius: 9px; color: #748096; font-size: 10px; text-align: center; }
.profile-avatar-editor { display: grid; grid-template-columns: 94px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px; border: 1px solid rgba(185,197,222,.12); border-radius: 12px; background: rgba(8,13,23,.42); }
.profile-avatar-preview { display: grid; width: 94px; height: 94px; place-items: center; overflow: hidden; border: 1px solid rgba(185,197,222,.18); border-radius: 15px; color: #ded5ff; background: linear-gradient(145deg, #6048ba, #1e2940); font: 800 30px Manrope, sans-serif; }
.profile-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-controls { display: grid; min-width: 0; gap: 9px; }
.field .profile-avatar-input { position: absolute; width: 1px; min-width: 1px; height: 1px; min-height: 1px; overflow: hidden; padding: 0; border: 0; clip: rect(0,0,0,0); white-space: nowrap; }
.profile-avatar-input:focus-visible + .profile-upload-zone { border-color: rgba(154,124,255,.75); outline: 2px solid rgba(154,124,255,.35); outline-offset: 2px; }
.profile-upload-zone { display: flex; min-height: 75px; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed rgba(185,197,222,.2); border-radius: 10px; color: #aab5c8; background: rgba(255,255,255,.018); cursor: pointer; transition: border-color .15s, background .15s; }
.profile-upload-zone:hover, .profile-upload-zone:focus, .profile-upload-zone.is-dragging { border-color: rgba(154,124,255,.68); outline: none; background: rgba(121,85,245,.08); }
.profile-upload-zone > svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: #bba9ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.profile-upload-zone > span:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 4px; }
.profile-upload-zone strong { color: #e1e3eb; font-size: 10px; font-weight: 650; }
.profile-upload-zone small { color: #7f8ba0; font-size: 9px; line-height: 1.5; }
.profile-upload-button { flex: 0 0 auto; pointer-events: none; }
.profile-avatar-actions { display: flex; min-width: 0; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; }
.profile-remove-avatar { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; color: #d58b98; background: transparent; cursor: pointer; font: inherit; font-size: 10px; }
.profile-remove-avatar:hover { color: #ff9ead; }
.profile-remove-avatar[aria-pressed="true"] { color: #f3c16d; }
.profile-remove-avatar-state { display: none; }
.profile-avatar-error { margin: 0; }
.prize-editor { display: grid; gap: 14px; min-width: 0; padding: 17px; border: 1px solid rgba(70, 185, 207, .22); border-radius: 15px; background: linear-gradient(145deg, rgba(14, 24, 37, .98), rgba(11, 18, 29, .98)); box-shadow: inset 0 1px rgba(255,255,255,.025), 0 12px 32px rgba(0,0,0,.12); }
.prize-editor legend { padding: 0 8px; color: #e5f4fa; font: 750 13px Manrope, sans-serif; letter-spacing: .01em; }
.item-results { display: grid; max-height: 220px; gap: 5px; overflow: auto; }
.item-result { display: flex; width: 100%; align-items: center; gap: 9px; padding: 7px; border: 1px solid transparent; border-radius: 8px; color: #e1e4ed; background: rgba(255,255,255,.04); cursor: pointer; text-align: left; font-size: 10px; }
.item-result:hover { border-color: rgba(154,124,255,.32); background: rgba(154,124,255,.1); }
.item-result img { width: 39px; height: 35px; object-fit: contain; }
.selected-item { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(67, 194, 217, .36); border-radius: 12px; color: #dbf7fb; background: linear-gradient(110deg, rgba(27, 57, 68, .52), rgba(16, 29, 42, .72)); box-shadow: inset 0 1px rgba(255,255,255,.035); font-size: 10px; }
.selected-item img { width: 64px; height: 50px; flex: 0 0 auto; object-fit: contain; border-radius: 8px; background: rgba(4, 11, 18, .38); }
.selected-item-copy { display: grid; min-width: 0; gap: 5px; }
.selected-item-copy > strong { overflow-wrap: anywhere; color: #dff8fa; font: 750 11px Manrope, sans-serif; }
.selected-item-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #a9c0cf; font-size: 9px; }
.selected-item-meta .stattrak-pill { margin: 0; }
.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; align-items: center; justify-items: center; overflow-y: auto; padding: 22px; background: rgba(3, 6, 12, .78); backdrop-filter: blur(8px); }
.modal { width: min(540px, 100%); max-height: min(90vh, 900px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(190, 178, 238, .17); border-radius: 18px; background: #111827; box-shadow: 0 35px 110px rgba(0, 0, 0, .55); }
.modal.large { width: min(860px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 20px 22px 16px; border-bottom: 1px solid var(--border); }
.modal-head h2 { margin: 0; font: 750 17px Manrope, sans-serif; }
.modal-head p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.icon-button { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid var(--border); border-radius: 9px; color: #adb5c5; background: #171e2b; cursor: pointer; font-size: 17px; }
.modal-body { overflow-y: auto; padding: 19px 22px 22px; }
.public-account-profile { display: flex; align-items: center; gap: 14px; padding: 13px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.025); }
.public-account-avatar { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.public-account-profile > div { display: grid; min-width: 0; gap: 5px; }
.public-account-profile strong { overflow-wrap: anywhere; font: 750 14px Manrope, sans-serif; }
.public-account-profile a, .public-account-profile small { color: var(--muted); font-size: 10px; }
.public-account-form, .public-account-section { display: grid; gap: 10px; margin-top: 17px; }
.public-trade-url-help { display: grid; justify-items: start; gap: 7px; }
.public-trade-url-help p { margin: 0; }
.public-trade-url-saved { display: grid; justify-items: start; gap: 12px; margin-top: 17px; padding: 14px; border: 1px solid rgba(89,224,166,.22); border-radius: 12px; background: rgba(89,224,166,.04); }
.public-trade-url-saved-status { display: flex; align-items: flex-start; gap: 10px; }
.public-trade-url-saved-status > span { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #07150f; background: var(--mint); font-weight: 900; }
.public-trade-url-saved-status > div { display: grid; gap: 5px; }
.public-trade-url-saved-status strong { font: 750 12px Manrope, sans-serif; }
.public-trade-url-saved-status p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.public-account-form > label:not(.public-consent), .public-account-block > label { display: grid; gap: 7px; font-size: 10px; font-weight: 700; }
.public-account-section h3 { margin: 0; font: 750 12px Manrope, sans-serif; }
.public-account-section > p, .public-account-block p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.public-account-participations { display: grid; gap: 8px; }
.public-account-entry { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 9px; border: 1px solid var(--border); border-radius: 10px; }
.public-account-entry img { width: 40px; height: 36px; flex: 0 0 auto; object-fit: contain; }
.public-account-entry > div { display: grid; min-width: 0; flex: 1; gap: 4px; }
.public-account-entry strong { overflow-wrap: anywhere; font-size: 10px; }
.public-account-entry small, .public-account-entry > span { color: var(--muted); font-size: 9px; }
.public-account-block { display: grid; gap: 8px; padding: 12px; border: 1px solid rgba(255,130,148,.2); border-radius: 12px; background: rgba(255,130,148,.035); }
.public-consent { display: flex; align-items: flex-start; gap: 9px; color: #d9dfec; font-size: 10px; line-height: 1.55; }
.public-consent input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--mint); }
.turnstile-container { min-height: 65px; }
.public-raffle-winner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0; color: var(--muted); font-size: 10px; }
.public-raffle-winner-name { color: #edf2ff; font: 750 11px Manrope, sans-serif; }
.public-raffle-winner-avatar { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; object-fit: cover; }
.public-raffle-winner small { color: var(--muted); }
.ledger-participant-avatar, .ledger-winner img { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.ledger-winner { display: flex; align-items: center; gap: 8px; }
.ledger-winner { flex-wrap: wrap; margin-top: 10px; }
.ledger-winner > span, .ledger-winner > small { color: var(--muted); font-size: 9px; }
.partner-participant-list { display: grid; gap: 9px; }
.partner-participant { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 11px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.025); }
.partner-participant > img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.partner-participant-info { display: grid; min-width: 0; flex: 1; gap: 4px; }
.partner-participant-info strong { overflow-wrap: anywhere; font-size: 11px; }
.partner-participant-info small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.partner-participant-info small.error { color: var(--danger); }
.partner-participant > button { flex: 0 0 auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.form-status { min-height: 16px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--mint); }
.toast-stack { position: fixed; z-index: 20; right: 20px; bottom: 20px; display: grid; width: min(370px, calc(100% - 40px)); gap: 8px; }
.toast { padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; color: #edeef5; background: #171e2c; box-shadow: var(--shadow); font-size: 11px; line-height: 1.55; animation: toast-in .2s ease-out; }
.toast.error { border-color: rgba(255,130,148,.24); color: #ffc0c7; }
.toast.success { border-color: rgba(120,229,192,.23); color: #a8f1d6; }
.skeleton { height: 100px; border-radius: 12px; background: linear-gradient(90deg, #131a28, #20293a, #131a28); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.loading { color: var(--muted); font-size: 11px; }
.hidden { display: none !important; }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes raffle-ticket-pulse { to { opacity: .45; transform: scale(.97); } }

@media (max-width: 980px) {
  .hero-layout { gap: 28px; }
  .hero h1 { font-size: clamp(42px, 5.1vw, 58px); }
  .public-nav { gap: 16px; }
  .public-header .header-download { display: none; }
  .screenshot-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard { grid-template-columns: 205px minmax(0, 1fr); }
  .content { padding: 25px 22px 45px; }
  .topbar { padding: 0 22px; }
  .payment-overview { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .public-header { width: calc(100% - 34px); height: 70px; }
  .public-header .brand small { display: none; }
  .privacy-header { gap: 8px; }
  .privacy-header .brand { gap: 8px; font-size: 14px; }
  .privacy-header-actions { gap: 6px; }
  .language-button { min-height: 34px; padding: 6px 8px; }
  .language-label { display: none; }
  .privacy-header .button { padding: 8px 9px; font-size: 11px; }
  .public-nav { display: none; }
  .header-download { display: none; }
  .hero { min-height: auto; padding: 120px 22px 62px; }
  .hero-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(43px, 10vw, 64px); }
  .hero-copy > p { font-size: 15px; }
  .hero-showcase { width: min(100%, 560px); margin: auto; padding: 4px 7px 42px 4px; }
  .showcase-float { right: 0; }
  .showcase-tag { right: 0; }
  .section-wrap { width: calc(100% - 34px); }
  .public-section { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .fair-audit-guide { grid-template-columns: 1fr; }
  .fair-audit-rules { padding: 18px; }
  .fair-audit-form { padding: 15px; }
  .fair-audit-rounds-heading { align-items: flex-start; flex-direction: column; }
  .screenshot-gallery { grid-template-columns: 1fr; gap: 13px; }
  .screenshot-image-wrap { aspect-ratio: 1.58; }
  .screenshot-caption { padding: 14px 15px 16px; }
  .screenshot-dialog { width: calc(100% - 20px); max-height: calc(100% - 20px); padding: 9px; }
  .gallery-close { top: 15px; right: 15px; }
  .raffle-feature { min-height: 220px; }
  .public-banner { align-items: flex-start; flex-direction: column; padding: 24px; }
  .public-footer { flex-direction: column; padding: 25px 18px; }
  .dashboard { display: block; }
  .sidebar { position: fixed; z-index: 5; inset: auto 0 0; width: 100%; height: auto; padding: 5px 8px max(6px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--border); background: rgba(12, 17, 28, .96); backdrop-filter: blur(14px); }
  .sidebar .brand, .sidebar .side-label, .sidebar-bottom { display: none; }
  .side-nav { display: flex; justify-content: space-around; gap: 2px; }
  .nav-link { width: auto; min-width: 0; flex: 1; justify-content: center; flex-direction: column; gap: 3px; padding: 7px 2px; border-radius: 8px; font-size: 8px; }
  .nav-link.active { box-shadow: inset 0 -2px #a28aff; }
  .nav-icon { font-size: 15px; }
  .main-column { padding-bottom: 65px; }
  .topbar { min-height: 60px; padding: 0 17px; }
  .topbar-tools { gap: 6px; }
  .topbar-tools .role-chip { display: none; }
  .topbar-tools [data-action="public-home"] { padding: 0 9px; font-size: 9px; }
  .content { padding: 22px 16px 35px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .raffle-tabs button { flex: 1; padding: 0 9px; }
  .raffle-grid-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .raffle-wheel-label { transform: translate(-50%, -50%) rotate(var(--slice-center)) translateY(-88px) rotate(calc(-1 * var(--slice-center))); }
  .payment-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-kpi:first-child { grid-column: 1 / -1; }
  .payment-kpi { min-height: 120px; padding: 13px; }
  .payment-kpi strong { font-size: 19px; }
  .payment-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-filter-actions { flex-wrap: wrap; }
  .payment-history-panel > .panel-head { padding: 0 12px; }
  .payment-table { min-width: 690px; }
  .content-history-grid { padding: 0 12px 12px; }
  .public-raffle-card { grid-template-columns: 72px minmax(0, 1fr); }
  .public-raffle-card-body { padding: 12px; }
  .stats-grid { gap: 8px; }
  .content-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-card { padding: 13px; }
  .stat-card strong { font-size: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full-row { grid-column: auto; }
  .profile-social-add { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-social-url { grid-column: 1 / -1; }
  .profile-avatar-editor { grid-template-columns: 72px minmax(0, 1fr); gap: 11px; padding: 11px; }
  .profile-avatar-preview { width: 72px; height: 72px; border-radius: 12px; }
  .profile-upload-zone { flex-wrap: wrap; gap: 9px; padding: 10px; }
  .profile-upload-zone > span:nth-child(2) { flex-basis: calc(100% - 34px); }
  .profile-upload-button { margin-left: 30px; }
  .profile-avatar-actions { align-items: flex-start; flex-direction: column; }
  .modal-backdrop { align-items: end; padding: 8px; }
  .modal { max-height: 93vh; border-radius: 17px 17px 12px 12px; }
  .modal.large { width: 100%; }
  .modal-head { padding: 17px 17px 14px; }
  .modal-body { padding: 16px 17px 19px; }
}
@media (max-width: 380px) {
  .privacy-header .button { display: none; }
  .topbar-tools a[href="/privacy"],
  .topbar-tools a[href="/privacidade/site"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
