:root {
  --pink: #ff58b7;
  --hot-pink: #ff2f93;
  --rose: #ff8fcf;
  --peach: #ffd19b;
  --mint: #35f0a4;
  --aqua: #36c8ff;
  --violet: #8c5bff;
  --ink: #24152f;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --shadow: 0 22px 60px rgba(105, 35, 88, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 108, 183, 0.18), rgba(255, 211, 140, 0.22)),
    url("assets/ruleta-magica-bg.optimized.jpg") center / cover fixed no-repeat;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

button {
  border: 0;
  cursor: pointer;
}

.sky-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.72), transparent 24rem),
    radial-gradient(circle at 15% 88%, rgba(255, 71, 181, 0.24), transparent 20rem),
    radial-gradient(circle at 88% 82%, rgba(255, 209, 92, 0.26), transparent 19rem);
  z-index: -1;
}

.app-shell {
  width: min(1220px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 34px;
}

.login-screen {
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: minmax(320px, 500px) 1fr;
  gap: 24px;
  align-items: center;
}

.brand-block {
  color: white;
  text-shadow: 0 4px 18px rgba(115, 40, 80, 0.34);
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 82, 174, 0.42);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.brand-block h1 {
  margin: 18px 0 12px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: 0;
}

.brand-block p {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.login-card,
.panel,
.modal {
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.login-card {
  padding: 24px;
  border-radius: 8px;
}

.public-board {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
}

.public-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.public-panel {
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.public-panel h2 {
  margin: 0 0 12px;
  font-family: "Fredoka", system-ui, sans-serif;
}

.featured-code {
  color: white;
  background: linear-gradient(135deg, #ff2f93, #8c5bff 55%, #36c8ff);
  box-shadow: 0 20px 60px rgba(120, 40, 140, 0.32), 0 0 36px rgba(255, 47, 147, 0.42);
}

.featured-code span,
.featured-code p {
  display: block;
  margin: 0;
  font-weight: 1000;
}

.featured-code strong {
  display: block;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 34px;
  line-height: 1;
  margin: 8px 0;
}

.countdown {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 1000;
}

.winner-line,
.referral-box {
  display: grid;
  gap: 4px;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.winner-line span,
.referral-box span {
  color: #674c74;
  font-weight: 900;
}

.referral-box strong {
  overflow-wrap: anywhere;
  color: #4b255b;
}

.login-card h2,
.panel-title h2,
.section-title,
.modal h2 {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  letter-spacing: 0;
}

.login-card h2 {
  font-size: 32px;
}

.login-note {
  margin: 8px 0 18px;
  color: #674c74;
  font-weight: 800;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  font-weight: 900;
}

.field span {
  font-size: 13px;
  text-transform: uppercase;
  color: #6a4477;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 2px solid rgba(130, 80, 150, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 -3px 0 rgba(255, 92, 181, 0.08);
}

.field input[type="file"] {
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--hot-pink);
}

.primary-btn,
.secondary-btn,
.tiny-btn,
.danger-btn {
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 1000;
  color: white;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
  box-shadow: 0 7px 0 rgba(106, 34, 97, 0.25), 0 16px 25px rgba(120, 45, 105, 0.18);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.primary-btn {
  background: linear-gradient(135deg, #ff2d9d, #ffb238);
}

.secondary-btn {
  background: linear-gradient(135deg, #41c7ff, #8c5bff);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.danger-btn {
  background: linear-gradient(135deg, #ff415f, #ff7a38);
}

.tiny-btn {
  min-height: 34px;
  padding: 7px 10px;
  background: linear-gradient(135deg, #2ad88a, #16b5ff);
  font-size: 13px;
}

.primary-btn:hover,
.secondary-btn:hover,
.tiny-btn:hover,
.danger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(106, 34, 97, 0.21), 0 18px 30px rgba(120, 45, 105, 0.2);
}

.demo-keys {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 241, 252, 0.82);
  color: #56335f;
  font-size: 13px;
  font-weight: 900;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.topbar h1 {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 30px;
}

.magic-logo {
  display: inline-block;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.65), 0 5px 18px rgba(255, 47, 147, 0.24);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 82, 174, 0.22);
  font-weight: 1000;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.grid {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr;
  gap: 18px;
}

.user-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.user-tabs .tab {
  flex: 1 1 120px;
  min-height: 42px;
}

.admin-grid {
  grid-template-columns: minmax(260px, 0.62fr) minmax(520px, 1.6fr);
}

.panel {
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
}

.grid > *,
.split > * {
  min-width: 0;
}

.panel + .panel {
  margin-top: 16px;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}

.panel-title h2 {
  font-size: 25px;
}

.section-title {
  margin-bottom: 10px;
  font-size: 19px;
}

.wheel-stage {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 410px;
  padding: 18px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(43, 21, 60, 0.05), rgba(255, 255, 255, 0.4)),
    var(--wheel-bg, rgba(255, 255, 255, 0.58));
  background-position: center;
  background-size: cover;
}

.wheel-stage.reward-money {
  border-color: rgba(53, 214, 242, 0.72);
  box-shadow: 0 18px 44px rgba(53, 214, 242, 0.24);
}

.wheel-stage.reward-diamonds {
  border-color: rgba(140, 91, 255, 0.7);
  box-shadow: 0 18px 44px rgba(140, 91, 255, 0.24);
}

.wheel-stage.reward-mercadolibre {
  border-color: rgba(255, 209, 45, 0.82);
  box-shadow: 0 18px 44px rgba(255, 178, 56, 0.24);
}

.wheel-stage.reward-followers {
  border-color: rgba(49, 240, 0, 0.6);
  box-shadow: 0 18px 44px rgba(53, 240, 164, 0.22);
}

.wheel-stage.has-event {
  outline: 4px solid rgba(255, 47, 147, 0.22);
}

.wheel-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.84)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 56, 156, 0.12));
  pointer-events: none;
}

.wheel-head,
.wheel-area,
.result-card,
.redeem-row {
  position: relative;
  z-index: 1;
}

.wheel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.wheel-name {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #1d1428;
  color: white;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.22);
}

.wheel-cost {
  background: rgba(255, 255, 255, 0.88);
}

.wheel-area {
  align-self: center;
  display: grid;
  place-items: center;
  min-height: 170px;
}

.pointer {
  width: 70px;
  height: 92px;
  margin-bottom: -8px;
  background: url("assets/pointer-diamond.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.28));
  z-index: 3;
}

.pointer::after {
  content: none;
}

.track-window {
  width: min(760px, 100%);
  max-width: 100%;
  height: 136px;
  position: relative;
  overflow: hidden;
  contain: layout paint;
  border: 6px solid #111;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 12px 0 rgba(28, 20, 38, 0.26), 0 18px 38px rgba(74, 29, 87, 0.22);
}

.track {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  width: max-content;
  height: 100%;
  transform: translateX(0);
}

.slot {
  --slot-color: #ff2f93;
  flex: 0 0 130px;
  height: 124px;
  display: grid;
  place-items: center;
  position: relative;
  margin: 0 2px;
  border: 0;
  border-radius: 24px;
  color: white;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.55),
    -2px 0 0 rgba(0, 0, 0, 0.45),
    2px 0 0 rgba(0, 0, 0, 0.45);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 78%, color-mix(in srgb, var(--slot-color) 70%, white), transparent 35%),
    linear-gradient(135deg, color-mix(in srgb, var(--slot-color) 42%, white), var(--slot-color) 56%, color-mix(in srgb, var(--slot-color) 78%, black));
  box-shadow:
    0 0 18px color-mix(in srgb, var(--slot-color) 75%, transparent),
    0 9px 0 rgba(0, 0, 0, 0.26);
}

.slot span {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 96px;
  overflow-wrap: anywhere;
}

.slot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("assets/slot-template.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

.slot::after {
  content: none;
}

.slot.is-decor {
  opacity: 1;
}

.track.spinning {
  transition: transform 11.7s cubic-bezier(0.10, 0.58, 0.05, 1);
}

.track.spinning-rare {
  transition: transform 13.7s cubic-bezier(0.09, 0.60, 0.04, 1);
}

.track.spinning-epic {
  transition: transform 15.7s cubic-bezier(0.08, 0.62, 0.035, 1);
}

.track.spinning-legendary {
  transition: transform 17.9s cubic-bezier(0.07, 0.64, 0.03, 1);
}

.result-card {
  min-height: 62px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 1000;
}

.redeem-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.redeem-row input {
  min-width: 0;
}

.stack {
  display: grid;
  gap: 12px;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tab {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #51315b;
  font-weight: 1000;
}

.tab.active {
  background: linear-gradient(135deg, #ff43a8, #ffc347);
  color: white;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

.table-wrap {
  overflow: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 2px solid rgba(120, 64, 140, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: min(560px, 100%);
  table-layout: fixed;
}

th,
td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(80, 45, 95, 0.12);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

th {
  color: #694077;
  font-size: 12px;
  text-transform: uppercase;
}

.item-editor {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr 0.7fr 0.55fr 0.55fr auto;
  gap: 8px;
  align-items: end;
}

.rich-item-editor {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
}

.item-list {
  display: grid;
  gap: 8px;
}

.item-row {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 0.8fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.swatch {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.18);
}

.slot-palette {
  display: grid;
  grid-template-columns: repeat(10, minmax(28px, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.slot-color-template {
  --slot-color: #ff2f93;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background:
    url("assets/slot-template.png") center / 100% 100% no-repeat,
    linear-gradient(135deg, color-mix(in srgb, var(--slot-color) 58%, white), var(--slot-color) 60%, color-mix(in srgb, var(--slot-color) 80%, black));
  box-shadow:
    0 0 10px color-mix(in srgb, var(--slot-color) 78%, transparent),
    0 4px 0 rgba(0, 0, 0, 0.24);
}

.slot-color-template:hover {
  transform: translateY(-2px);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 1000;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.compact-panel {
  margin-top: 14px;
}

.compact-form,
.filters-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 8px;
  align-items: end;
}

.compact-form input,
.compact-form select,
.field textarea,
.inline-filter,
.note-input {
  min-height: 38px;
  border: 2px solid rgba(130, 80, 150, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 800;
}

.field textarea,
.mission-submit-form textarea {
  min-height: 82px;
  resize: vertical;
  border: 2px solid rgba(130, 80, 150, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.upload-drop {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  border: 2px dashed rgba(255, 47, 147, 0.42);
  background: rgba(255, 245, 252, 0.78);
  font-weight: 1000;
}

.upload-drop small {
  color: #674c74;
  font-weight: 900;
}

.inline-filter {
  width: 100%;
  margin-bottom: 12px;
}

.mini-action {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 12px;
}

.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.profile-card strong,
.profile-card span {
  display: block;
  font-weight: 1000;
}

.profile-card span {
  color: #674c74;
  font-size: 13px;
}

.avatar-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--hot-pink), var(--aqua));
  font-weight: 1000;
  box-shadow: 0 6px 0 rgba(80, 35, 90, 0.2);
}

.notification-list {
  display: grid;
  gap: 8px;
}

.notification {
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  font-weight: 900;
}

.comments-showcase,
.admin-comment-list {
  display: grid;
  gap: 10px;
}

.comment-card,
.admin-comment-row {
  display: grid;
  gap: 10px;
  align-items: start;
}

.comment-card {
  grid-template-columns: 46px 1fr;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 234, 249, 0.82));
  box-shadow: 0 12px 26px rgba(119, 39, 95, 0.12);
}

.comment-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--hot-pink), var(--aqua));
  color: white;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 1000;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.comment-head strong {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 18px;
}

.comment-head span {
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2f93, #ffb238);
  color: white;
  font-size: 11px;
  font-weight: 1000;
}

.comment-card p {
  margin: 5px 0;
  color: #4b3159;
  font-weight: 800;
  line-height: 1.35;
}

.comment-card small {
  color: #7d5e89;
  font-weight: 900;
}

.comment-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.admin-comment-row {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.empty {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: #674c74;
  font-weight: 900;
}

.alert-card {
  padding: 10px;
  border-left: 6px solid #ff365f;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.panel-wide {
  margin-top: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric {
  min-height: 92px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(255, 82, 174, 0.16);
}

.metric b {
  display: block;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 26px;
  color: #ff2f93;
}

.metric span {
  font-weight: 1000;
  color: #62416f;
}

.mission-bar {
  height: 18px;
  margin-bottom: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(73, 37, 85, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.mission-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #35f0a4, #36c8ff, #ff58b7);
}

.daily-chest {
  overflow: hidden;
}

.chest-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(135deg, rgba(255, 207, 57, 0.86), rgba(255, 47, 147, 0.72), rgba(54, 200, 255, 0.58));
  border: 3px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 15px 30px rgba(111, 46, 95, 0.18);
}

.chest-card.claimed {
  filter: saturate(0.75);
  opacity: 0.82;
}

.chest-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff7a25, #ffd84d);
  color: white;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 34px;
  font-weight: 1000;
  text-shadow: 0 3px 0 rgba(90, 42, 20, 0.28);
  box-shadow: inset 0 -6px 0 rgba(120, 50, 40, 0.2), 0 8px 0 rgba(92, 44, 81, 0.18);
}

.chest-card strong,
.chest-card span {
  display: block;
}

.chest-card strong {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 21px;
}

.chest-card span {
  color: #56335f;
  font-weight: 1000;
}

.robux-card {
  display: grid;
  gap: 10px;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.wallet-card {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.74);
}

.wallet-min-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  align-items: end;
}

.wallet-money .robux-counter {
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.9), transparent 28%), linear-gradient(135deg, #35d6f2, #25bfff 44%, #fff100);
}

.wallet-diamonds .robux-counter {
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.9), transparent 28%), linear-gradient(135deg, #25bfff, #8c5bff 48%, #ff4d96);
}

.wallet-mercadolibre .robux-counter {
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.9), transparent 28%), linear-gradient(135deg, #fff100, #ffb238 48%, #35d6f2);
}

.wallet-followers .robux-counter {
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.9), transparent 28%), linear-gradient(135deg, #31f000, #35f0a4 48%, #25bfff);
}

.robux-counter {
  display: grid;
  place-items: center;
  min-height: 98px;
  padding: 14px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #1fd66f, #35f0a4 44%, #ffd84d);
  border: 3px solid rgba(255, 255, 255, 0.86);
  color: white;
  box-shadow: 0 14px 34px rgba(39, 130, 85, 0.22);
  text-align: center;
}

.robux-counter strong {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 44px;
  line-height: 0.9;
  text-shadow: 0 4px 0 rgba(25, 100, 65, 0.22);
}

.robux-counter span {
  font-weight: 1000;
  text-transform: uppercase;
  color: #174b32;
}

.wheel-section-board {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.wheel-select-field select {
  min-height: 48px;
  font-size: 16px;
  font-weight: 1000;
  color: #301a3b;
  border-color: rgba(255, 47, 147, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.selected-wheel-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;
}

.selected-wheel-info > div,
.selected-wheel-prizes {
  padding: 10px;
  border-radius: 8px;
  border: 2px solid rgba(107, 76, 116, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.selected-wheel-info span,
.selected-wheel-prizes span {
  display: block;
  color: #674c74;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.selected-wheel-info strong,
.selected-wheel-prizes strong {
  display: block;
  color: #2f183c;
  font-size: 17px;
  font-weight: 1000;
}

.selected-wheel-prizes strong {
  font-size: 15px;
  line-height: 1.35;
}

.event-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, rgba(255, 47, 147, 0.96), rgba(255, 151, 0, 0.94));
  border: 3px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(255, 47, 147, 0.26);
}

.event-banner span,
.event-banner strong {
  display: block;
}

.event-banner span {
  font-weight: 1000;
  text-transform: uppercase;
  font-size: 12px;
}

.event-banner strong,
.event-multiplier {
  font-size: 24px;
  font-weight: 1000;
}

.level-progress {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(255, 47, 147, 0.18);
}

.level-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 1000;
  color: #2f183c;
}

.level-progress small {
  color: #674c74;
  font-weight: 900;
}

.section-board-head,
.wheel-section-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: #2f183c;
}

.section-board-head strong,
.wheel-section-title span {
  font-size: 18px;
  font-weight: 1000;
}

.section-board-head span,
.wheel-section-title small {
  color: #674c74;
  font-weight: 900;
}

.wheel-section-group {
  display: grid;
  gap: 8px;
}

.wheel-choice-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.wheel-choice {
  min-height: 70px;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid rgba(107, 76, 116, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #301a3b;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-weight: 1000;
}

.wheel-choice.active {
  border-color: var(--hot-pink);
  box-shadow: 0 10px 24px rgba(255, 47, 147, 0.18);
}

.wheel-choice strong,
.wheel-choice span,
.admin-wheel-section strong {
  display: block;
}

.wheel-choice span,
.admin-wheel-section strong {
  color: #674c74;
  font-size: 13px;
}

.admin-wheel-sections {
  gap: 12px;
}

.admin-wheel-section {
  display: grid;
  gap: 6px;
}

.robux-withdraw-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  border: 2px solid rgba(53, 240, 164, 0.28);
}

.robux-withdraw-row strong,
.robux-withdraw-row span {
  display: block;
  font-weight: 1000;
}

.robux-withdraw-row span {
  color: #674c74;
}

.live-feed-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 38;
  width: min(860px, calc(100vw - 28px));
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(36, 21, 47, 0.96), rgba(255, 47, 147, 0.9));
  color: white;
  box-shadow: 0 18px 44px rgba(105, 35, 88, 0.32), 0 0 34px rgba(255, 47, 147, 0.38);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.live-feed-bar span {
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2f93, #ffb238);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.live-feed-bar strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 18px;
}

.live-feed-bar.pulse {
  animation: feed-pop 520ms ease both, feed-glow 1300ms ease-in-out 2;
}

@keyframes feed-glow {
  0%, 100% { box-shadow: 0 18px 44px rgba(105, 35, 88, 0.32), 0 0 30px rgba(255, 47, 147, 0.34); }
  50% { box-shadow: 0 22px 56px rgba(105, 35, 88, 0.42), 0 0 58px rgba(255, 199, 64, 0.66); }
}

.feed-admin-list {
  display: grid;
  gap: 10px;
}

.feed-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.feed-admin-row strong,
.feed-admin-row span {
  display: block;
  font-weight: 1000;
}

.feed-admin-row span {
  color: #72517f;
  font-size: 13px;
}

@keyframes feed-pop {
  from { transform: translateX(-50%) translateY(8px); opacity: 0.82; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.mission-category-board,
.mission-list,
.mission-admin-list,
.mission-submit-form {
  display: grid;
  gap: 10px;
}

.mission-category-board {
  gap: 14px;
}

.mission-category {
  padding: 10px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.56);
}

.mission-category-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

.mission-category-head h3 {
  margin: 0;
  font-size: 20px;
}

.mission-category-head span {
  color: #674c74;
  font-size: 12px;
  font-weight: 1000;
}

.mission-category-daily {
  background: linear-gradient(135deg, rgba(255, 240, 105, 0.42), rgba(255, 255, 255, 0.68));
}

.mission-category-easy {
  background: linear-gradient(135deg, rgba(72, 237, 150, 0.34), rgba(255, 255, 255, 0.68));
}

.mission-category-normal {
  background: linear-gradient(135deg, rgba(54, 200, 255, 0.30), rgba(255, 255, 255, 0.68));
}

.mission-category-hard {
  background: linear-gradient(135deg, rgba(255, 67, 168, 0.30), rgba(140, 91, 255, 0.22), rgba(255, 255, 255, 0.68));
}

.mission-card,
.mission-admin-row,
.mission-submission-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  border: 2px solid rgba(255, 82, 174, 0.16);
}

.mission-card-head,
.mission-admin-row,
.mission-submission-card {
  align-items: start;
}

.mission-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mission-card p,
.mission-submission-card p,
.mission-admin-row small {
  margin: 0;
  color: #694077;
  font-weight: 850;
}

.mission-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mission-tags > span:not(.status-badge) {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 224, 246, 0.86);
  color: #643570;
  font-size: 12px;
  font-weight: 1000;
}

.mission-banner {
  width: 100%;
  max-height: 130px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.mission-admin-row {
  grid-template-columns: auto 92px minmax(0, 1fr) auto auto;
  transition: transform 160ms ease, opacity 160ms ease;
}

.mission-admin-row.is-dragging {
  opacity: 0.58;
  transform: scale(0.99);
}

.drag-handle {
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #51315b;
  font-size: 12px;
  font-weight: 1000;
  cursor: grab;
}

.mission-admin-banner {
  width: 92px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 82, 174, 0.16);
}

.mission-admin-row strong,
.mission-submission-card strong {
  display: block;
  font-size: 16px;
}

.mission-admin-row span,
.mission-submission-card span {
  display: block;
  color: #674c74;
  font-weight: 900;
}

.mission-submission-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.mission-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.proof-thumb,
.proof-video {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  background: #160d1e;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.small-empty {
  padding: 8px;
  min-height: auto;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.inventory-item {
  min-height: 74px;
  display: grid;
  align-content: space-between;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-weight: 1000;
}

.inventory-item a {
  color: #5d35b1;
  font-weight: 1000;
}

.prize-thumb {
  width: 100%;
  max-height: 92px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.prize-video {
  width: 100%;
  max-height: 120px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #160d1e;
}

.inventory-item small {
  color: #674c74;
  font-weight: 900;
}

.rarity-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.rarity-badge.common {
  background: linear-gradient(135deg, #34d486, #23c8ff);
}

.rarity-badge.rare {
  background: linear-gradient(135deg, #19a8ff, #41e4ff);
}

.rarity-badge.epic {
  background: linear-gradient(135deg, #8c5bff, #ff43d0);
}

.rarity-badge.legendary {
  background: linear-gradient(135deg, #ff8d22, #ffd64d, #ff43a8);
}

.status-badge.pending {
  background: linear-gradient(135deg, #ff8d22, #ff4167);
}

.status-badge.delivered {
  background: linear-gradient(135deg, #25d989, #16b5ff);
}

.status-badge.approved {
  background: linear-gradient(135deg, #25d989, #16b5ff);
}

.status-badge.paid {
  background: linear-gradient(135deg, #18b865, #ffd84d);
}

.status-badge.rejected {
  background: linear-gradient(135deg, #ff415f, #ff7a38);
}

.wheel-banner {
  position: relative;
  z-index: 1;
  max-width: min(420px, 100%);
  max-height: 110px;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.18));
}

.confetti-host {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.confetti-host span {
  position: absolute;
  top: -24px;
  width: 12px;
  height: 18px;
  border-radius: 3px;
  animation: confetti-fall 2.2s ease-in forwards;
}

@keyframes confetti-fall {
  0% {
    translate: 0 -20px;
    opacity: 1;
  }
  100% {
    translate: 40px 110vh;
    opacity: 0;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(34, 12, 42, 0.34);
}

.modal {
  width: min(560px, 100%);
  padding: 18px;
  border-radius: 8px;
}

.admin-form-modal {
  display: grid;
  gap: 14px;
  max-height: min(86vh, 720px);
  overflow: auto;
}

.modal-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-title h2 {
  font-size: 26px;
}

.modal-close-btn {
  min-height: 34px;
  padding: 7px 10px;
}

.modal-fields {
  display: grid;
  gap: 4px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.toast-host {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.toast {
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(36, 21, 47, 0.92);
  color: white;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.announcement-host {
  position: fixed;
  top: 92px;
  right: 18px;
  z-index: 42;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.live-announcement {
  width: min(390px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.84), transparent 32%),
    linear-gradient(135deg, rgba(255, 47, 147, 0.96), rgba(255, 178, 56, 0.96));
  color: white;
  box-shadow: 0 18px 48px rgba(120, 30, 105, 0.34), 0 0 26px rgba(255, 62, 178, 0.46);
  animation: announcement-in 520ms cubic-bezier(.2, 1.35, .25, 1) both, announcement-pulse 1300ms ease-in-out 700ms 2;
}

.live-announcement.auto {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(135deg, rgba(35, 204, 255, 0.96), rgba(255, 47, 147, 0.96));
}

.live-announcement.leaving {
  animation: announcement-out 460ms ease both;
}

.live-announcement span,
.live-announcement strong {
  display: block;
}

.live-announcement span {
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  opacity: 0.9;
}

.live-announcement strong {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.08;
  text-shadow: 0 3px 0 rgba(80, 30, 90, 0.22);
}

.live-gem {
  width: 54px;
  height: 66px;
  background: url("assets/pointer-diamond.png") center / contain no-repeat;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.74));
  animation: gem-pop 800ms ease-in-out infinite alternate;
}

.admin-announcement-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.announcement-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.announcement-row strong,
.announcement-row span {
  display: block;
  font-weight: 1000;
}

.announcement-row span {
  color: #72517f;
  font-size: 13px;
}

@keyframes announcement-in {
  from { opacity: 0; transform: translateX(34px) scale(0.92); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes announcement-out {
  to { opacity: 0; transform: translateX(34px) scale(0.96); }
}

@keyframes announcement-pulse {
  50% { transform: translateX(0) scale(1.035); }
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  gap: 14px;
  background: rgba(255, 239, 249, 0.72);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-weight: 1000;
}

body.is-loading .loading-screen {
  display: grid;
}

.loader-gem {
  width: 56px;
  height: 72px;
  background: url("assets/pointer-diamond.png") center / contain no-repeat;
  animation: gem-pop 900ms ease-in-out infinite alternate;
}

@keyframes gem-pop {
  from { transform: translateY(0) scale(0.96); }
  to { transform: translateY(-8px) scale(1.04); }
}

.win-modal {
  width: min(560px, calc(100vw - 28px));
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.win-modal h2 {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 34px;
}

.win-modal strong {
  font-size: 26px;
  font-family: "Fredoka", system-ui, sans-serif;
}

.win-media {
  width: min(100%, 420px);
  max-height: 300px;
  object-fit: contain;
  justify-self: center;
  border-radius: 8px;
}

.delivery-card {
  display: grid;
  grid-template-columns: 76px 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  margin-bottom: 8px;
}

.delivery-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
}

.delivery-card strong,
.delivery-card span {
  display: block;
  font-weight: 1000;
}

.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .login-screen,
  .grid,
  .admin-grid,
  .split,
  .public-grid {
    grid-template-columns: 1fr;
  }

  .brand-block {
    padding-top: 28px;
  }

  .item-editor,
  .item-row,
  .mission-admin-row,
  .mission-submission-card,
  .compact-form,
  .filters-form {
    grid-template-columns: 1fr 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .app-shell {
    width: min(100% - 16px, 1220px);
    padding-top: 10px;
  }

  .topbar,
  .wheel-head,
  .panel-title {
    align-items: stretch;
    flex-direction: column;
  }

  .user-tabs {
    gap: 8px;
  }

  .user-tabs .tab {
    flex-basis: calc(50% - 4px);
  }

  .topbar-meta,
  .panel-title .secondary-btn,
  .panel-title .primary-btn {
    width: 100%;
  }

  .topbar-meta .pill,
  .topbar-meta button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .redeem-row {
    grid-template-columns: 1fr;
  }

  .track-window {
    height: 104px;
  }

  .slot {
    flex-basis: 92px;
    height: 94px;
    font-size: 17px;
  }

  .slot span {
    max-width: 78px;
  }

  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .compact-form,
  .filters-form,
  .rich-item-editor {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 12px;
  }

  .modal-title,
  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .delivery-card {
    grid-template-columns: 1fr;
  }

  .admin-comment-row,
  .comment-card,
  .announcement-row,
  .feed-admin-row,
  .chest-card,
  .robux-withdraw-row {
    grid-template-columns: 1fr;
  }

  .announcement-host {
    top: auto;
    right: 9px;
    left: 9px;
    bottom: 14px;
  }

  .live-announcement {
    width: 100%;
  }

  .live-feed-bar {
    bottom: 8px;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .live-feed-bar strong {
    white-space: normal;
    font-size: 16px;
  }

  .mission-admin-row,
  .mission-submission-card,
  .mission-proof-grid {
    grid-template-columns: 1fr;
  }

  .mission-admin-banner {
    width: 100%;
    height: 120px;
  }

  .delivery-card img {
    width: 100%;
    height: 130px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }

  .grid,
  .wheel-stage {
    max-width: 100%;
    overflow: hidden;
  }

  table {
    min-width: 360px;
  }

  .table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }
}
