:root {
  color-scheme: dark;
  --bg: #111417;
  --panel: #191f23;
  --panel-strong: #20272c;
  --line: #2b343a;
  --text: #eef4f5;
  --muted: #98a7ab;
  --green: #37d67a;
  --red: #ff5151;
  --amber: #f3bd3f;
  --gray: #8d99a1;
  --cyan: #6fc8e6;
  --shadow: rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(111, 200, 230, .10), transparent 28rem),
    linear-gradient(135deg, #121416 0%, #172024 45%, #111417 100%);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

button,
select,
input,
textarea {
  font: inherit;
}

.shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: rgba(17, 20, 23, .88);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #111820 url("uploads/site/logo-radarhunt.png") center 24% / 126px auto no-repeat;
  border: 1px solid rgba(181, 201, 198, .24);
  box-shadow: 0 8px 24px rgba(230, 64, 64, .16);
  position: relative;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  display: none;
}

.brand-mark::before {
  inset: 8px;
  border: 1px solid rgba(17, 20, 23, .72);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 6px rgba(17, 20, 23, .08),
    0 0 0 1px rgba(238, 244, 245, .14);
}

.brand-mark::after {
  width: 18px;
  height: 2px;
  left: 20px;
  top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(17, 20, 23, .82), rgba(17, 20, 23, 0));
  transform: rotate(-35deg);
  transform-origin: 0 50%;
}

.brand h1,
.topbar h2,
.boss-card h3 {
  margin: 0;
  letter-spacing: 0;
}

.brand h1 {
  font-size: 20px;
}

.brand p,
.boss-head p,
.clock small,
.eyebrow {
  margin: 4px 0 0;
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 31, 35, .88);
  padding: 14px;
  box-shadow: 0 12px 26px var(--shadow);
}

.compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.field-label {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
}

.field-label:not(:first-child) {
  margin-top: 14px;
}

select,
button,
input {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
}

select,
input,
textarea {
  width: 100%;
  padding: 0 10px;
}

textarea {
  min-height: 120px;
  padding: 10px;
  resize: vertical;
}

button {
  cursor: pointer;
  padding: 0 12px;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

button:hover {
  transform: translateY(-1px);
  border-color: rgba(111, 200, 230, .7);
}

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

.primary-action {
  background: linear-gradient(135deg, rgba(55, 214, 122, .24), rgba(111, 200, 230, .20));
  border-color: rgba(55, 214, 122, .42);
}

.ghost-action {
  background: transparent;
}

.legend {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.legend div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .04);
  flex: 0 0 auto;
}

.dot.alive {
  background: var(--green);
}

.dot.dead {
  background: var(--red);
}

.dot.respawning {
  background: var(--amber);
}

.dot.unknown {
  background: var(--gray);
}

.workspace {
  min-width: 0;
  padding: 22px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
}

.workspace-view {
  min-width: 0;
}

.workspace-view.hidden {
  display: none;
}

.map-view {
  display: grid;
  grid-template-rows: auto minmax(380px, auto) auto;
  gap: 16px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}

.topbar h2 {
  font-size: clamp(24px, 4vw, 42px);
}

.clock {
  min-width: 126px;
  text-align: right;
  color: var(--text);
}

.clock span {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
}

.hunt-window {
  border: 1px solid rgba(243, 189, 63, .54);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(243, 189, 63, .13), rgba(25, 31, 35, .88) 42%),
    rgba(25, 31, 35, .92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
  padding: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.hunt-window.expired {
  border-color: rgba(255, 81, 81, .62);
  background:
    linear-gradient(90deg, rgba(255, 81, 81, .12), rgba(25, 31, 35, .88) 42%),
    rgba(25, 31, 35, .92);
}

.hunt-window .miniboss-image-frame {
  width: 76px;
}

.hunt-window-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.hunt-window-copy h3,
.hunt-window-copy p {
  margin: 0;
}

.hunt-window-copy h3 {
  font-size: 20px;
}

.hunt-window-copy strong {
  color: #ffe1a0;
  font-variant-numeric: tabular-nums;
}

.hunt-window-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.not-found-action {
  border-color: rgba(255, 81, 81, .62);
  background: rgba(255, 81, 81, .14);
  color: #ffb1b1;
  font-weight: 700;
}

.map-stage {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(48, 68, 72, .84), rgba(22, 31, 36, .96)),
    #172024;
  box-shadow: 0 16px 42px var(--shadow);
  padding: 10px;
}

.map-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 35%, rgba(111, 200, 230, .16), transparent 11rem),
    radial-gradient(circle at 78% 24%, rgba(55, 214, 122, .13), transparent 10rem),
    radial-gradient(circle at 60% 74%, rgba(243, 189, 63, .11), transparent 11rem),
    linear-gradient(45deg, transparent 0 48%, rgba(238, 244, 245, .035) 49% 51%, transparent 52%);
  opacity: .95;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 244, 245, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 244, 245, .055) 1px, transparent 1px);
  background-size: 8.333% 8.333%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.34));
  pointer-events: none;
}

.pins {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.map-module {
  min-width: 0;
  border: 1px solid rgba(238, 244, 245, .14);
  border-radius: 8px;
  background: rgba(14, 18, 21, .56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
  padding: 8px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}

.map-module.next-map {
  border-color: rgba(243, 189, 63, .85);
  background:
    linear-gradient(180deg, rgba(243, 189, 63, .15), rgba(14, 18, 21, .58) 44%),
    rgba(14, 18, 21, .62);
  box-shadow:
    inset 0 0 0 1px rgba(243, 189, 63, .22),
    0 0 0 1px rgba(243, 189, 63, .15),
    0 18px 36px rgba(0, 0, 0, .28);
  animation: next-boss-pulse 1.1s ease-in-out infinite;
}

.map-module-head {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(238, 244, 245, .10);
  padding-bottom: 8px;
}

.map-module-head h3 {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.map-module-head span,
.map-empty {
  color: var(--muted);
  font-size: 11px;
}

.map-module-head span {
  white-space: nowrap;
}

.map-empty {
  align-self: center;
  text-align: center;
}

.next-badge {
  border: 1px solid rgba(243, 189, 63, .48);
  border-radius: 8px;
  background: rgba(243, 189, 63, .12);
  color: #ffe1a0;
  padding: 5px 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.map-boss {
  min-width: 0;
  align-self: center;
  justify-self: center;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.miniboss-image-frame {
  width: min(118px, calc(100% - 18px));
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 1px solid rgba(111, 200, 230, .16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(111, 200, 230, .08), rgba(17, 20, 23, .42)),
    rgba(8, 10, 12, .58);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.miniboss-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .42));
}

.miniboss-image-frame span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  padding: 8px;
}

.miniboss-image-frame.is-empty {
  border-style: dashed;
  background: rgba(17, 20, 23, .32);
}

.pin-button {
  width: 26px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(238, 244, 245, .72);
  box-shadow: 0 0 0 8px rgba(238, 244, 245, .08), 0 12px 28px rgba(0, 0, 0, .36);
}

.pin-button.alive {
  background: var(--green);
}

.pin-button.dead {
  background: var(--red);
}

.pin-button.respawning {
  background: var(--amber);
}

.pin-button.unknown {
  background: var(--gray);
}

.map-register-action {
  width: 100%;
  max-width: 164px;
  min-height: 32px;
  border-color: rgba(55, 214, 122, .40);
  background: rgba(55, 214, 122, .12);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.pin-label {
  width: 100%;
  max-width: 164px;
  border-radius: 8px;
  border: 1px solid rgba(238, 244, 245, .16);
  background: rgba(17, 20, 23, .72);
  padding: 7px;
  font-size: 11px;
  line-height: 1.25;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .28);
}

.pin-label strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.pin-label span {
  color: var(--muted);
}

.pin-label .mini-status,
.status-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 22px;
  border-radius: 999px;
  padding: 2px 8px;
  margin: 4px auto 0;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.mini-status.alive,
.status-line.alive {
  background: rgba(55, 214, 122, .16);
  border: 1px solid rgba(55, 214, 122, .55);
  color: #86efad;
}

.mini-status.dead,
.status-line.dead {
  background: rgba(255, 81, 81, .16);
  border: 1px solid rgba(255, 81, 81, .62);
  color: #ffb1b1;
}

.mini-status.unknown,
.status-line.unknown {
  background: rgba(141, 153, 161, .13);
  border: 1px solid rgba(141, 153, 161, .42);
  color: #c5ced4;
}

.pin-timer {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.25;
}

.pin-coords {
  margin: 6px auto 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  display: grid;
  justify-items: center;
  gap: 3px;
  max-width: 100%;
}

.pin-coords li {
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  border-radius: 6px;
  background: rgba(8, 10, 12, .36);
  padding: 3px 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pin-coords strong {
  display: inline;
  font-size: 12px;
}

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

.boss-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 31, 35, .88);
  padding: 13px;
  display: grid;
  gap: 12px;
  min-height: 152px;
}

.profit-view {
  display: grid;
  gap: 14px;
  align-content: start;
}

.profit-header,
.profit-panel,
.profit-kpis article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 31, 35, .88);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

.profit-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 16px;
  align-items: end;
  padding: 16px;
}

.profit-header h3,
.profit-header p,
.profit-panel h3,
.profit-panel p {
  margin: 0;
}

.profit-header h3 {
  font-size: 26px;
}

.profit-header p:not(.eyebrow),
.profit-header label,
.profit-kpis span,
.profit-kpis small,
.profit-panel p,
.profit-ranking span,
.profit-all-summary span {
  color: var(--muted);
}

.profit-header label {
  display: grid;
  gap: 7px;
  font-size: 13px;
}

.profit-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}

.profit-kpis article {
  padding: 15px;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.profit-kpis strong {
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.profit-kpis small {
  font-size: 12px;
}

.profit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 12px;
}

.profit-panel {
  padding: 15px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.profit-drop-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 10px;
}

.profit-drop-card {
  min-width: 0;
  border: 1px solid rgba(238, 244, 245, .10);
  border-radius: 8px;
  background: rgba(17, 20, 23, .56);
  padding: 10px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.profit-drop-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.profit-drop-card strong {
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.profit-drop-card span {
  color: var(--muted);
  font-size: 12px;
}

.profit-all-summary {
  display: grid;
  gap: 10px;
}

.profit-all-row,
.profit-ranking-row {
  border: 1px solid rgba(238, 244, 245, .10);
  border-radius: 8px;
  background: rgba(17, 20, 23, .52);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.profit-all-row strong,
.profit-ranking-row strong {
  overflow-wrap: anywhere;
}

.profit-ranking {
  display: grid;
  gap: 8px;
}

.boss-card.next-card {
  border-color: rgba(243, 189, 63, .75);
  background:
    linear-gradient(180deg, rgba(243, 189, 63, .12), rgba(25, 31, 35, .88) 42%),
    rgba(25, 31, 35, .88);
  animation: next-boss-pulse 1.1s ease-in-out infinite;
}

.boss-card.next-card::before {
  content: "Próximo Mini Boss a Nascer";
  border: 1px solid rgba(243, 189, 63, .45);
  border-radius: 8px;
  background: rgba(243, 189, 63, .10);
  color: #ffe1a0;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.boss-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.boss-card h3 {
  font-size: 18px;
}

.boss-head p,
.boss-meta {
  font-size: 13px;
}

.boss-meta {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.coord-ranking {
  display: grid;
  gap: 7px;
}

.section-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.top-coords,
.latest-coords {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.top-coords li,
.latest-coords li {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.latest-coords li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 6px;
}

.top-coords strong,
.latest-coords strong {
  white-space: nowrap;
}

.top-coords li::marker,
.latest-coords li::marker {
  color: var(--cyan);
}

.top-coords span,
.latest-coords span {
  color: var(--muted);
}

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

.state-buttons.no-status-action {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.state-buttons [hidden] {
  display: none;
}

.state-buttons button {
  min-height: 34px;
  font-size: 13px;
  line-height: 1.2;
}

.state-buttons [data-action="death"] {
  grid-column: 1 / -1;
  min-height: 38px;
}

.state-buttons.no-status-action [data-action="unknown"] {
  grid-column: 1 / -1;
}

.state-buttons button.active {
  border-color: rgba(111, 200, 230, .88);
  background: rgba(111, 200, 230, .16);
}

.state-buttons .status-action {
  cursor: default;
  font-weight: 700;
  pointer-events: none;
}

.state-buttons .status-action.alive {
  border-color: rgba(55, 214, 122, .62);
  background: rgba(55, 214, 122, .18);
  color: #a4f3c1;
}

.state-buttons .status-action.dead {
  border-color: rgba(255, 81, 81, .70);
  background: rgba(255, 81, 81, .18);
  color: #ffb1b1;
}

.state-buttons .status-action.unknown {
  border-color: rgba(141, 153, 161, .48);
  background: rgba(141, 153, 161, .13);
  color: #c5ced4;
}

.hidden {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .58);
}

.modal-card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171d21;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
  padding: 18px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-head h2 {
  margin: 0;
  font-size: 22px;
}

.modal-head p:not(.eyebrow) {
  margin: 4px 0 0;
  color: var(--muted);
}

.icon-action {
  width: 38px;
  min-width: 38px;
  padding: 0;
  background: transparent;
}

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

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.form-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.form-section-head > span,
.drop-picker legend > span {
  font-weight: 700;
  color: var(--muted);
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
}

.check-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--green);
}

.drop-picker {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.drop-picker legend {
  width: 100%;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

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

.drop-option {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.drop-choice {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 10, 12, .22);
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 8px 6px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.drop-choice img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.drop-option input[type="number"] {
  min-height: 34px;
  padding: 7px 8px;
  text-align: center;
  font-size: 13px;
}

.drop-option:focus-within .drop-choice {
  border-color: rgba(55, 214, 122, .72);
  background: rgba(55, 214, 122, .13);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(55, 214, 122, .20);
}

.drop-options.is-disabled {
  opacity: .44;
}

.drop-options.is-disabled .drop-choice {
  background: rgba(8, 10, 12, .16);
}

.wide-field {
  grid-column: 1 / -1;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.inline-action {
  min-height: 26px;
  padding: 0 10px;
  border-color: rgba(111, 200, 230, .42);
  background: rgba(111, 200, 230, .10);
  font-size: 12px;
}

input[readonly] {
  color: var(--muted);
  cursor: default;
}

.form-error {
  min-height: 18px;
  margin: 12px 0 0;
  color: #ff9c9c;
  font-size: 13px;
}

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

.modal-backdrop.hidden {
  display: none;
}

#adGateModal {
  z-index: 35;
}

.payment-success-backdrop {
  z-index: 40;
}

.payment-success-card {
  width: min(420px, calc(100% - 28px));
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}

.payment-success-card h2,
.payment-success-card p {
  margin: 0;
}

.payment-success-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.payment-success-card h2 {
  max-width: 320px;
  font-size: 24px;
  line-height: 1.18;
}

.payment-success-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.ad-gate-card {
  width: min(430px, calc(100% - 28px));
  display: grid;
  gap: 16px;
  text-align: center;
}

.ad-gate-card h2,
.ad-gate-card p {
  margin: 0;
}

.ad-gate-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.ad-gate-count {
  border: 1px solid rgba(243, 189, 63, .38);
  border-radius: 8px;
  background: rgba(243, 189, 63, .10);
  padding: 14px;
  display: grid;
  gap: 4px;
}

.ad-gate-count strong {
  color: #ffe1a0;
  font-size: 38px;
  line-height: 1;
}

.ad-gate-count span {
  color: var(--muted);
  font-size: 13px;
}

.success-mark {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(55, 214, 122, .95), rgba(111, 200, 230, .78));
  box-shadow: 0 14px 34px rgba(55, 214, 122, .22);
  position: relative;
}

.success-mark::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 20px;
  height: 11px;
  border-left: 4px solid #0f1917;
  border-bottom: 4px solid #0f1917;
  transform: rotate(-45deg);
}

.alert-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}

.respawn-alert {
  border: 1px solid rgba(243, 189, 63, .55);
  border-radius: 8px;
  background: rgba(31, 26, 16, .96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  animation: alert-in .22s ease-out;
}

.respawn-alert .dot {
  margin-top: 4px;
}

.respawn-alert strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.respawn-alert span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.respawn-alert button {
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  background: transparent;
}

.account-panel {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.account-panel strong {
  color: var(--text);
  font-size: 15px;
}

.account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.account-actions a,
.ghost-link,
.auth-link a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  padding: 9px 10px;
  background: rgba(32, 39, 44, .72);
}

.view-tabs {
  display: grid;
  gap: 8px;
}

.view-tab {
  width: 100%;
  min-height: 40px;
  background: rgba(32, 39, 44, .72);
  text-align: left;
}

.view-tab.active {
  border-color: rgba(55, 214, 122, .52);
  background: rgba(55, 214, 122, .16);
  color: #a4f3c1;
}

.auth-page {
  min-height: 100vh;
}

.auth-shell,
.billing-shell {
  min-height: 100vh;
  display: grid;
  padding: 24px;
}

.auth-shell {
  grid-template-columns: minmax(0, 440px);
  align-content: center;
  justify-content: center;
  justify-items: stretch;
  gap: 12px;
}

.billing-shell {
  place-items: center;
}

.auth-back-link {
  justify-self: end;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: rgba(32, 39, 44, .72);
}

.auth-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 31, 35, .92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  padding: 22px;
}

.auth-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.auth-error {
  border: 1px solid rgba(255, 81, 81, .46);
  border-radius: 8px;
  background: rgba(255, 81, 81, .10);
  color: #ffb1b1;
  padding: 10px 12px;
}

.auth-error.success {
  border-color: rgba(55, 214, 122, .46);
  background: rgba(55, 214, 122, .10);
  color: #a4f3c1;
}

.auth-link {
  margin: 26px 0 0;
  padding-top: 4px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.billing-shell {
  align-content: center;
  place-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.billing-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.billing-header h1,
.pricing-card h2,
.billing-note h2 {
  margin: 0;
}

.billing-header p:not(.eyebrow),
.pricing-card p,
.pricing-card span,
.billing-note p {
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 31, 35, .92);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.pricing-card.featured {
  border-color: rgba(55, 214, 122, .48);
}

.pricing-card strong {
  font-size: 28px;
}

.plan-unavailable {
  border: 1px solid rgba(141, 153, 161, .34);
  border-radius: 8px;
  color: var(--muted);
  padding: 10px 12px;
  text-align: center;
  background: rgba(141, 153, 161, .08);
}

.plan-active {
  border: 1px solid rgba(55, 214, 122, .42);
  border-radius: 8px;
  color: #a4f3c1;
  padding: 10px 12px;
  text-align: center;
  background: rgba(55, 214, 122, .10);
}

.billing-note {
  margin-top: 14px;
}

.checkout-shell {
  max-width: 1040px;
}

.checkout-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 31, 35, .92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  padding: 22px;
  display: grid;
  gap: 18px;
}

.checkout-card h2,
.checkout-card p {
  margin: 0;
}

.checkout-card p {
  color: var(--muted);
}

.checkout-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(238, 244, 245, .10);
  padding-bottom: 14px;
}

.checkout-summary span {
  color: var(--muted);
}

.checkout-summary strong {
  font-size: 30px;
}

.checkout-status {
  width: fit-content;
  border: 1px solid rgba(111, 200, 230, .42);
  border-radius: 999px;
  padding: 7px 10px;
  color: #b7eaff;
  background: rgba(111, 200, 230, .12);
  font-size: 13px;
  font-weight: 800;
}

.checkout-status.success {
  border-color: rgba(55, 214, 122, .42);
  color: #a4f3c1;
  background: rgba(55, 214, 122, .12);
}

.checkout-status.danger {
  border-color: rgba(255, 81, 81, .48);
  color: #ffb1b1;
  background: rgba(255, 81, 81, .12);
}

.checkout-status.pending {
  border-color: rgba(243, 189, 63, .46);
  color: #ffe4a3;
  background: rgba(243, 189, 63, .12);
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label,
.pix-details label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-row {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(180px, 1fr);
  gap: 12px;
}

.pix-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.pix-qr {
  margin: 0;
  border: 1px solid rgba(238, 244, 245, .12);
  border-radius: 8px;
  background: #eef4f5;
  padding: 14px;
}

.pix-qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.pix-details {
  display: grid;
  gap: 13px;
}

.pix-code {
  color: var(--text);
  background: rgba(13, 17, 20, .78);
  line-height: 1.45;
}

.checkout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.checkout-choice-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.plan-expiry {
  display: block;
  color: #9ed5e4;
  font-size: 0.95rem;
  margin: 8px 0 14px;
}

.table-muted {
  display: block;
  color: #8eb8c2;
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 4px;
  white-space: normal;
}

.blog-page {
  min-height: 100vh;
  background: #0d1518;
  color: #eef7f8;
}

.blog-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - 1320px) / 2));
  background: rgba(12, 19, 22, 0.96);
  border-bottom: 1px solid rgba(125, 168, 179, 0.22);
}

.blog-brand {
  display: grid;
  gap: 2px;
  color: #fff;
  text-decoration: none;
}

.blog-brand span {
  font-weight: 800;
  font-size: 1.15rem;
}

.blog-brand small,
.blog-topbar nav a,
.blog-hero-copy p,
.blog-info-grid p,
.blog-article p,
.blog-side-card p,
.blog-faq p {
  color: #b8d5de;
}

.blog-topbar nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.blog-topbar nav a {
  text-decoration: none;
}

.blog-shell {
  display: grid;
  grid-template-columns: 160px minmax(0, 1120px) 160px;
  gap: 18px;
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
  padding: 22px 18px 42px;
}

.blog-content {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.notice-rail {
  position: sticky;
  top: 86px;
}

.notice-slot {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: max(90px, var(--banner-height, 90px));
  padding: 14px;
  border: 1px dashed rgba(245, 190, 76, 0.55);
  background: #141c20;
  color: #ffe087;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.notice-slot span {
  color: #93c4d2;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.notice-slot strong {
  font-size: 0.95rem;
}

.notice-ad-frame {
  display: grid;
  place-items: center;
  width: min(100%, var(--banner-width, 100%));
  min-height: var(--banner-height, 90px);
  overflow: hidden;
}

.notice-ad-frame iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

.notice-tower {
  min-height: 600px;
}

.notice-side-compact {
  min-height: 300px;
}

.notice-wide,
.notice-inline {
  min-height: 96px;
}

.notice-compact {
  min-height: 72px;
}

.blog-hero,
.blog-info-grid article,
.blog-article,
.blog-sidebar,
.blog-side-card,
.blog-faq {
  border: 1px solid rgba(125, 168, 179, 0.24);
  background: #121b1f;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  overflow: hidden;
}

.blog-hero-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 360px;
  margin: 0;
  background: #061822;
  overflow: hidden;
}

.blog-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  background: #061822;
}

.blog-hero-media figcaption {
  display: none;
}

.blog-hero-media.media-missing figcaption {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 360px;
  color: #9ed5e4;
  font-weight: 800;
  text-align: center;
}

.blog-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 34px;
}

.blog-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

.blog-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blog-info-grid article {
  padding: 22px;
}

.blog-info-grid h2,
.blog-article h2,
.blog-side-card h2,
.blog-faq h2 {
  margin: 0 0 12px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.blog-article,
.blog-sidebar,
.blog-faq {
  padding: 24px;
}

.blog-article p {
  line-height: 1.7;
}

.notice-content-box {
  max-width: 340px;
  min-height: 250px;
  margin: 22px auto;
}

.blog-feature-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: #d8eef3;
}

.blog-sidebar {
  display: grid;
  gap: 16px;
}

.notice-rectangle {
  min-height: 250px;
}

.notice-mobile-strip {
  min-height: 84px;
}

.blog-side-card {
  padding: 18px;
}

.blog-faq {
  display: grid;
  gap: 10px;
}

.blog-faq details {
  border-top: 1px solid rgba(125, 168, 179, 0.18);
  padding: 14px 0 0;
}

.blog-faq summary {
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 1260px) {
  .blog-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-rail {
    display: none;
  }
}

@media (max-width: 860px) {
  .blog-topbar,
  .blog-hero {
    grid-template-columns: 1fr;
  }

  .blog-topbar {
    position: static;
    align-items: flex-start;
  }

  .blog-hero-media,
  .blog-hero-media img,
  .blog-hero-media.media-missing figcaption {
    min-height: 220px;
  }

  .blog-info-grid,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-hero-copy,
  .blog-article,
  .blog-sidebar,
  .blog-faq {
    padding: 20px;
  }
}

.landing-page {
  min-height: 100vh;
}

.landing-nav {
  width: 100%;
  border-bottom: 1px solid rgba(238, 244, 245, .10);
  background: rgba(13, 18, 21, .92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.landing-nav-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.landing-brand,
.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-brand {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  font-size: 19px;
}

.landing-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-menu a,
.primary-link,
.secondary-link {
  color: var(--text);
  text-decoration: none;
}

.landing-menu a {
  color: var(--muted);
  min-height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.landing-menu a:hover {
  color: var(--text);
  background: rgba(238, 244, 245, .06);
}

.landing-nav .nav-button,
.primary-link,
.secondary-link {
  min-height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(32, 39, 44, .72);
}

.primary-link {
  border-color: rgba(55, 214, 122, .48);
  background: rgba(55, 214, 122, .18);
}

.secondary-link {
  border-color: rgba(111, 200, 230, .34);
}

.hero-section,
.landing-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-section {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: center;
  padding: 44px 0 34px;
}

.brand-hero {
  min-height: auto;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 30px 0 40px;
}

.radarhunt-intro,
.mudream-intro {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(111, 200, 230, .12), transparent 34%),
    linear-gradient(145deg, rgba(32, 42, 46, .88), rgba(14, 18, 21, .96));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .30);
}

.radarhunt-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.hero-copy,
.radarhunt-intro,
.mudream-copy,
.brand-logo-showcase {
  min-width: 0;
}

.brand-logo-showcase {
  margin: 0;
  border: 1px solid rgba(238, 244, 245, .14);
  border-radius: 8px;
  background: #080b0e;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .04),
    0 16px 34px rgba(0, 0, 0, .32);
}

.brand-logo-showcase img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
}

.hero-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.hero-points li {
  border: 1px solid rgba(111, 200, 230, .26);
  border-radius: 999px;
  background: rgba(111, 200, 230, .08);
  color: var(--muted);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 700;
}

.mudream-intro {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.mudream-media {
  margin: 0;
  min-height: 260px;
  background: #07090b;
}

.mudream-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.mudream-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
}

.mudream-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.mudream-copy p:not(.eyebrow) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 620px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 96px);
  line-height: .92;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-media,
.panel-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(48, 68, 72, .62), rgba(14, 18, 21, .94)),
    #172024;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .34);
  margin: 0;
  overflow: hidden;
}

.hero-media {
  display: grid;
}

.hero-media img,
.panel-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-media figcaption,
.panel-media figcaption {
  border-top: 1px solid rgba(238, 244, 245, .10);
  color: var(--muted);
  padding: 12px 14px;
  background: rgba(17, 20, 23, .66);
  font-size: 13px;
}

.visual-section {
  padding-top: 8px;
}

.mini-boss-section {
  width: min(1360px, calc(100% - 36px));
  padding-top: 12px;
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin-bottom: 0;
}

.panel-media {
  background:
    linear-gradient(145deg, rgba(111, 200, 230, .10), rgba(17, 20, 23, .92)),
    #111719;
}

.mini-boss-media img {
  max-height: none;
  object-fit: contain;
  background: #05070a;
}

.preview-row {
  border: 1px solid rgba(238, 244, 245, .12);
  border-radius: 8px;
  background: rgba(17, 20, 23, .72);
  padding: 14px;
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 8px 10px;
  align-items: center;
}

.preview-row small {
  grid-column: 2;
  color: var(--muted);
}

.preview-row.active {
  border-color: rgba(55, 214, 122, .48);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-grid span {
  border: 1px solid rgba(111, 200, 230, .28);
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center;
  background: rgba(111, 200, 230, .08);
  font-weight: 800;
}

.landing-section {
  padding: 42px 0;
}

.landing-section h2 {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(28px, 4vw, 44px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 31, 35, .88);
  padding: 16px;
}

.feature-grid h3,
.feature-grid p,
.public-pricing ul {
  margin: 0;
}

.feature-grid p,
.public-pricing li {
  color: var(--muted);
  line-height: 1.45;
}

.public-pricing .pricing-card {
  min-height: 330px;
}

.public-pricing ul {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 46px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-header h1,
.admin-header p,
.admin-panel h2 {
  margin: 0;
}

.admin-header p:not(.eyebrow),
.admin-panel p,
.admin-list span {
  color: var(--muted);
}

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

.admin-section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin: 4px 0 10px;
}

.admin-section-title h2,
.admin-section-title p {
  margin: 0;
}

.admin-section-title span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.sales-stats {
  margin-bottom: 18px;
}

.admin-stats article,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(25, 31, 35, .90);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

.admin-stats article {
  padding: 16px;
  display: grid;
  gap: 7px;
}

.admin-stats span {
  color: var(--muted);
}

.admin-stats strong {
  font-size: 32px;
}

.admin-stats small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 14px;
}

.admin-panel {
  padding: 16px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-recent-hunts-panel {
  align-self: start;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.admin-plan-panel {
  margin-bottom: 14px;
}

.admin-ad-panel,
.admin-upload-panel,
.admin-user-edit-panel {
  margin-bottom: 14px;
}

.admin-plan-form,
.admin-ad-form,
.admin-user-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-ad-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-user-form {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, .45fr) minmax(220px, 1fr) auto;
}

.admin-plan-form label,
.admin-ad-form label,
.admin-user-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.admin-ad-form small {
  color: var(--muted);
  line-height: 1.35;
}

.check-row {
  min-height: 38px;
  grid-auto-flow: column;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: center;
}

.check-row input {
  width: auto;
  min-height: auto;
}

.admin-upload-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 12px;
}

.upload-card {
  border: 1px solid rgba(238, 244, 245, .10);
  border-radius: 8px;
  background: rgba(17, 20, 23, .56);
  padding: 12px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.upload-card span {
  color: var(--text);
  font-weight: 800;
}

.upload-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0f11;
  object-fit: cover;
}

.upload-card small {
  overflow-wrap: anywhere;
}

.admin-upload-form button {
  grid-column: 1 / -1;
  justify-self: end;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.admin-table-head h2,
.admin-table-head p {
  margin: 0;
}

.admin-search-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 8px;
  min-width: min(520px, 100%);
  align-items: center;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.admin-table th {
  color: var(--muted);
  font-weight: 600;
}

.admin-empty-row {
  color: var(--muted);
  text-align: center;
}

.table-action {
  border: 1px solid rgba(111, 200, 230, .34);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  background: rgba(111, 200, 230, .10);
}

.admin-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  flex-wrap: wrap;
}

.admin-pagination a,
.pagination-ellipsis {
  min-width: 34px;
  min-height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
}

.admin-pagination a {
  border: 1px solid var(--line);
  background: rgba(32, 39, 44, .72);
}

.admin-pagination a.active {
  border-color: rgba(55, 214, 122, .58);
  background: rgba(55, 214, 122, .18);
  color: #a4f3c1;
}

.pagination-ellipsis {
  color: var(--muted);
}

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

.admin-list div {
  border: 1px solid rgba(238, 244, 245, .10);
  border-radius: 8px;
  background: rgba(17, 20, 23, .52);
  padding: 10px;
  display: grid;
  gap: 4px;
}

@keyframes alert-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes next-boss-pulse {
  0%,
  100% {
    border-color: rgba(243, 189, 63, .68);
    box-shadow:
      inset 0 0 0 1px rgba(243, 189, 63, .12),
      0 0 0 0 rgba(243, 189, 63, .08),
      0 18px 36px rgba(0, 0, 0, .28);
  }

  50% {
    border-color: rgba(255, 81, 81, .92);
    box-shadow:
      inset 0 0 0 1px rgba(255, 81, 81, .24),
      0 0 0 4px rgba(255, 81, 81, .16),
      0 18px 36px rgba(0, 0, 0, .34);
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-module.next-map,
  .boss-card.next-card {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .landing-nav-inner,
  .hero-section,
  .landing-section {
    width: min(920px, calc(100% - 28px));
  }

  .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .mudream-intro {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .admin-plan-form,
  .admin-ad-form,
  .admin-user-form,
  .admin-upload-form,
  .profit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profit-kpis {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .profit-drop-grid {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }

  .admin-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-table-head {
    flex-direction: column;
  }

  .admin-search-form {
    width: 100%;
  }

  .admin-section-title span {
    text-align: left;
  }

  .admin-plan-form button,
  .admin-ad-form button,
  .admin-user-form button,
  .admin-upload-form button {
    grid-column: 1 / -1;
  }

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

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .brand {
    grid-column: 1 / -1;
  }

  .boss-list {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .pins {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 680px) {
  .landing-nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-nav nav {
    width: 100%;
  }

  .landing-menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .landing-menu a {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
    max-width: 310px;
  }

  .radarhunt-intro {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .brand-logo-showcase {
    order: -1;
  }

  .brand-logo-showcase img {
    max-height: none;
  }

  .mudream-copy {
    padding: 20px;
  }

  .feature-grid,
  .pricing-grid,
  .checkout-row,
  .pix-grid,
  .admin-plan-form,
  .admin-ad-form,
  .admin-user-form,
  .admin-upload-form,
  .profit-header,
  .profit-grid,
  .profit-kpis,
  .profit-drop-grid {
    grid-template-columns: 1fr;
  }

  .admin-plan-form button,
  .admin-ad-form button,
  .admin-user-form button,
  .admin-upload-form button {
    grid-column: auto;
  }

  .admin-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .landing-section {
    padding: 28px 0;
  }

  .sidebar,
  .workspace {
    padding: 14px;
  }

  .sidebar,
  .boss-list {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .clock {
    text-align: left;
  }

  .hunt-window {
    grid-template-columns: 1fr;
  }

  .hunt-window .miniboss-image-frame,
  .hunt-window-actions {
    justify-self: start;
  }

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

  .drop-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-section-head,
  .drop-picker legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .check-row {
    white-space: normal;
  }

  .pin-label {
    max-width: 100%;
    font-size: 11px;
  }
}
