:root {
  /* UI/UX Pro Max · Gaming (design-system/MASTER.md) */
  --color-primary: #7c3aed;
  --color-on-primary: #ffffff;
  --color-secondary: #a78bfa;
  --color-accent: #f43f5e;
  --color-background: #0f0f23;
  --color-foreground: #e2e8f0;
  --color-muted-surface: #27273b;
  --color-border: #4c1d95;
  --color-destructive: #ef4444;
  --color-ring: #7c3aed;
  --color-status: #22c55e;

  --bg: #0f0f23;
  --bg-2: #1e1c35;
  --panel: #1e1c35;
  --panel-edge: rgba(76, 29, 149, 0.55);
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --accent: #7c3aed;
  --accent-2: #a78bfa;
  --danger: #ef4444;
  --blood: #f43f5e;
  --blood-2: #fb7185;
  --gold: #a78bfa;
  --sidebar-w: 260px;
  --radius: 12px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 28px rgba(124, 58, 237, 0.35);
  --font-display: "Russo One", "Segoe UI", sans-serif;
  --font-body: "Chakra Petch", system-ui, sans-serif;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --ease: 200ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1000px 560px at 12% -8%, rgba(124, 58, 237, 0.28), transparent 55%),
    radial-gradient(820px 480px at 92% 8%, rgba(244, 63, 94, 0.14), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(76, 29, 149, 0.22), transparent 55%),
    linear-gradient(165deg, #0a0a18 0%, var(--bg) 45%, #12122a 100%);
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(167, 139, 250, 0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 12%, rgba(244, 63, 94, 0.4), transparent 60%),
    radial-gradient(1px 1px at 58% 72%, rgba(124, 58, 237, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 28% 64%, rgba(167, 139, 250, 0.35), transparent 60%),
    radial-gradient(1px 1px at 90% 88%, rgba(244, 63, 94, 0.3), transparent 60%);
  animation: neon-drift 18s ease-in-out infinite alternate;
}

@keyframes neon-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-1.2%, -2%, 0);
  }
}

::selection {
  background: rgba(124, 58, 237, 0.45);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-secondary), var(--color-primary));
  border-radius: 999px;
  border: 2px solid var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button,
[role="button"],
.nav__item,
.brand {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
}

.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: calc(100vh - 58px);
}

.sidebar {
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  border-right: 1px solid rgba(76, 29, 149, 0.45);
  background: rgba(10, 10, 24, 0.88);
  backdrop-filter: blur(16px);
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.55rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.brand:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: var(--shadow-glow);
}

.brand__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.45), 0 0 22px rgba(124, 58, 237, 0.4);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(100deg, #fff 20%, var(--color-secondary) 70%, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
}

/* display:flex выше перебивал HTML hidden — админ светился всем */
.nav__item[hidden] {
  display: none !important;
}

.nav__item:hover {
  color: var(--ink);
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.28);
}

.nav__item.is-active {
  color: #fff;
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.95), rgba(244, 63, 94, 0.85));
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.35);
}

.nav__glyph {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  opacity: 0.95;
}

.nav__glyph svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage {
  padding: 1.25rem 1.25rem 1.25rem 0.75rem;
  min-height: 100vh;
}

.window {
  min-height: calc(100vh - 2.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--panel-edge);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.1), transparent 28%),
    linear-gradient(145deg, rgba(30, 28, 53, 0.96), rgba(15, 15, 35, 0.98));
  box-shadow: var(--shadow);
  overflow: auto;
  position: relative;
  animation: window-in 0.45s ease both;
}

.window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.7), transparent);
  pointer-events: none;
  z-index: 2;
}

.window:not(.window--bare)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(480px 260px at 92% -6%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(420px 260px at -6% 108%, rgba(244, 63, 94, 0.1), transparent 60%);
  z-index: 0;
}

.window__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(196, 18, 47, 0.16);
}

.window__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.window__meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.window__body {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.5rem 2rem;
  animation: fade-up 0.4s ease both;
}

.hero {
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 0 26px rgba(255, 42, 74, 0.3);
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 8px;
  min-height: 44px;
  padding: 0.78rem 1.25rem;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease), opacity var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, #7c3aed, #a78bfa);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(226, 232, 240, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.28);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.tile {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: rgba(20, 8, 9, 0.55);
  border: 1px solid rgba(243, 233, 227, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tile:hover {
  border-color: rgba(255, 42, 74, 0.4);
  transform: translateY(-2px);
}

.tile h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.placeholder {
  display: grid;
  place-items: center;
  min-height: 48vh;
  text-align: center;
  gap: 0.6rem;
  color: var(--muted);
}

.placeholder strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

@keyframes window-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.muted {
  color: var(--muted);
}

.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.game-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bal {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--accent-2);
}

.games-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.game-card {
  text-align: left;
  appearance: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(243, 233, 227, 0.08);
  background: rgba(20, 8, 9, 0.55);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  border-color: rgba(255, 42, 74, 0.45);
  transform: translateY(-2px);
  background: rgba(255, 42, 74, 0.08);
  box-shadow: 0 14px 30px rgba(196, 18, 47, 0.2);
}

.game-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.game-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.game-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.field input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(243, 233, 227, 0.12);
  background: rgba(18, 8, 9, 0.7);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.field input:focus {
  outline: none;
  border-color: rgba(255, 42, 74, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 42, 74, 0.15);
}

.chip {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0.15rem;
}

.chip--ok {
  background: rgba(244, 201, 95, 0.16);
  color: var(--accent-2);
}

.chip--bad {
  background: rgba(179, 102, 255, 0.16);
  color: var(--danger);
}

.card {
  position: relative;
  width: 58px;
  height: 84px;
  border-radius: 8px;
  background: linear-gradient(160deg, #fffef8, #f0ebe0);
  color: #1a1a1a;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  font-weight: 800;
  animation: card-in 0.28s ease both;
}

.card__tl,
.card__br {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-size: 0.72rem;
}

.card__tl {
  top: 5px;
  left: 6px;
}

.card__br {
  right: 6px;
  bottom: 5px;
  transform: rotate(180deg);
}

.card__tl small,
.card__br small {
  font-size: 0.7rem;
}

.card__suit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
}

.card--red {
  color: #c62828;
}

.card--back {
  background:
    radial-gradient(circle at 30% 20%, rgba(196, 18, 47, 0.28), transparent 45%),
    repeating-linear-gradient(45deg, #2a0a10 0 7px, #150508 7px 14px);
  border: 1px solid rgba(196, 18, 47, 0.4);
}

.card--back i {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(196, 18, 47, 0.4);
  border-radius: 4px;
}

.card-slot {
  width: 58px;
  height: 84px;
  border-radius: 8px;
  border: 1px dashed rgba(244, 201, 95, 0.35);
  background: rgba(0, 0, 0, 0.12);
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(-10px) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Croupier ---- */
.croupier {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  z-index: 3;
}

.croupier__figure {
  position: relative;
  width: 110px;
}

.croupier__figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s ease;
}

.croupier__glow {
  position: absolute;
  inset: auto 10% -8px;
  height: 18px;
  background: radial-gradient(ellipse, rgba(255, 42, 74, 0.35), transparent 70%);
  pointer-events: none;
}

.croupier--deal .croupier__figure img {
  animation: deal-bob 0.7s ease infinite;
}

.croupier--watch .croupier__figure img {
  transform: translateY(-2px);
}

.croupier--win .croupier__figure img {
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)) saturate(1.1);
}

.croupier--lose .croupier__figure img {
  transform: scale(0.98);
  opacity: 0.92;
}

.croupier__meta {
  text-align: center;
  display: grid;
  gap: 0.1rem;
}

.croupier__meta strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.croupier__meta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 18ch;
}

@keyframes deal-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}

.casino__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin-top: 0.85rem;
}

/* ---- Blackjack table ---- */
.bj-room {
  display: grid;
  gap: 0.5rem;
}

.casino__rail {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
}

.bj-table {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 50% 50% 18% 18% / 42% 42% 18% 18%;
  background:
    linear-gradient(160deg, #3a141a, #200a0d 40%, #150608);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 180, 190, 0.18);
}

.bj-table__felt {
  position: relative;
  min-height: 420px;
  padding: 1.1rem 1.4rem 1.5rem;
  border-radius: 48% 48% 16% 16% / 40% 40% 14% 14%;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(196, 18, 47, 0.35), transparent 50%),
    radial-gradient(ellipse at 50% 80%, #2a0a10, #1a060a 60%, #0d0305);
  border: 2px solid rgba(244, 201, 95, 0.28);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.bj-table__mark {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  letter-spacing: 0.14em;
  color: rgba(244, 201, 95, 0.55);
  white-space: nowrap;
  pointer-events: none;
}

.bj-table__insurance {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(243, 233, 227, 0.28);
  pointer-events: none;
}

.bj-spot {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
}

.bj-spot--dealer {
  margin-top: 0.4rem;
}

.bj-spot--player {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
}

.bj-spot__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(243, 233, 227, 0.8);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.bj-spot__cards {
  display: flex;
  gap: 0.4rem;
  min-height: 84px;
}

.bj-banner {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  color: #f4f7f0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  max-width: 28ch;
  z-index: 1;
}

.bj-bet-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px dashed rgba(244, 201, 95, 0.55);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(0, 0, 0, 0.2);
}

.bj-bet-circle.is-live {
  border-style: solid;
  background: radial-gradient(circle at 35% 30%, #ffd56a, #c48a1a 60%, #7a5208);
  color: #1a1205;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.bj-table__tray {
  position: absolute;
  top: 18%;
  right: 10%;
  display: flex;
  gap: 0.6rem;
  align-items: end;
}

.chip-stack,
.shoe {
  display: block;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.chip-stack {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(#e8f6ee 0 20deg, #c62828 20deg 40deg);
  border: 3px solid #f4c95f;
}

.shoe {
  width: 48px;
  height: 34px;
  background: linear-gradient(160deg, #2a2118, #120e0a);
  border: 1px solid rgba(244, 201, 95, 0.35);
}

.crash {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 1rem;
}

.crash__board {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(243, 233, 227, 0.07);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(196, 18, 47, 0.25), transparent 55%),
    linear-gradient(160deg, #12080c 0%, #0a0a10 100%);
  overflow: hidden;
  min-height: 280px;
}

.crash__canvas {
  width: 100%;
  height: auto;
  display: block;
}

.crash__mult {
  position: absolute;
  inset: 1rem auto auto 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--accent-2);
  text-shadow: 0 0 22px rgba(244, 201, 95, 0.35);
}

.crash__mult.is-crash {
  color: var(--danger);
  text-shadow: 0 0 22px rgba(179, 102, 255, 0.45);
}

.crash__status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.crash__side {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.crash__actions {
  display: grid;
}

.crash__hist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

@media (max-width: 960px) {
  .crash {
    grid-template-columns: 1fr;
  }

  .bj-table {
    border-radius: 28px;
  }

  .bj-table__felt {
    border-radius: 22px;
    min-height: 460px;
  }
}

@media (max-width: 860px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(76, 29, 149, 0.4);
  }

  .nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav__item {
    flex: 1 1 auto;
  }

  .brand__name {
    font-size: 1.05rem;
  }

  .stage {
    padding: 0.75rem;
  }

  .window {
    min-height: auto;
  }

  .croupier__figure {
    width: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .window,
  .window__body {
    animation: none !important;
  }

  .btn:hover,
  .nav__item:hover,
  .brand:hover {
    transform: none;
  }
}

/* Cloud save conflict */
.cloud-conflict {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(6px);
}
.cloud-conflict__panel {
  width: min(440px, 100%);
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a1624, #121018);
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
  color: #efeaf8;
}
.cloud-conflict__eye {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.cloud-conflict__panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}
.cloud-conflict__lead {
  margin: 0 0 0.9rem;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.92rem;
  line-height: 1.45;
}
.cloud-conflict__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
  text-align: left;
}
.cloud-conflict__col {
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.25rem;
}
.cloud-conflict__col b {
  font-size: 0.78rem;
  color: #ddd6fe;
}
.cloud-conflict__col span {
  font-size: 0.82rem;
  color: #f5f3ff;
}
.cloud-conflict__col small {
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.45);
}
.cloud-conflict__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
@media (max-width: 520px) {
  .cloud-conflict__cols {
    grid-template-columns: 1fr;
  }
}

