@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Quicksand:wght@400;600;700&display=swap');

:root {
  --bg-1: #07040d;
  --bg-2: #120817;
  --bg-3: #201028;
  --surface: rgba(20, 8, 27, 0.8);
  --surface-strong: rgba(30, 10, 38, 0.9);
  --text: #ffe8f8;
  --muted: #d0a3cb;
  --accent: #f15db6;
  --accent-2: #ff9adf;
  --border: rgba(255, 124, 214, 0.3);
  --danger: #ff7f9f;
  --ok: #8ff8cc;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 108, 199, 0.14) 0%, transparent 35%),
    radial-gradient(circle at 82% 18%, rgba(248, 132, 226, 0.1) 0%, transparent 38%),
    radial-gradient(circle at 50% 0%, rgba(170, 72, 230, 0.12) 0%, transparent 40%),
    linear-gradient(140deg, var(--bg-1) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 222, 247, 0.58), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 172, 230, 0.62), transparent),
    radial-gradient(2px 2px at 45% 60%, rgba(231, 130, 209, 0.45), transparent),
    radial-gradient(1px 1px at 80% 75%, rgba(255, 225, 245, 0.54), transparent),
    radial-gradient(1px 1px at 30% 85%, rgba(241, 145, 216, 0.5), transparent);
  animation: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 8% 74%, rgba(188, 64, 170, 0.18), transparent 64%),
    radial-gradient(48% 35% at 92% 24%, rgba(160, 55, 150, 0.16), transparent 70%),
    radial-gradient(55% 40% at 86% 84%, rgba(156, 45, 142, 0.13), transparent 72%);
  mix-blend-mode: normal;
  opacity: 0.22;
}

@keyframes twinkle {
  0% { opacity: 0.65; }
  50% { opacity: 1; }
  100% { opacity: 0.65; }
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(8px);
}

.bg-shape-1 {
  width: 320px;
  height: 320px;
  background: rgba(255, 110, 214, 0.42);
  border-radius: 54% 46% 58% 42% / 37% 43% 57% 63%;
  top: -120px;
  right: -80px;
}

.bg-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(185, 88, 255, 0.3);
  border-radius: 42% 58% 44% 56% / 52% 48% 52% 48%;
  bottom: 20px;
  left: -90px;
}

.magic-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: 0.58;
  contain: paint;
}

.magic-decor::before,
.magic-decor::after,
.magic-decor .decor-coffee,
.magic-decor .decor-cookie,
.magic-decor .decor-crescent,
.magic-decor .decor-mist,
.magic-decor .decor-spark,
.magic-decor .decor-rune,
.magic-decor .decor-candle,
.magic-decor .decor-dust,
.magic-decor .decor-glyph,
.magic-decor .decor-coffee::after,
.magic-decor .decor-candle::after,
.magic-decor .decor-dust::after {
  animation: none !important;
}

.magic-decor .decor-coffee,
.magic-decor .decor-cookie,
.magic-decor .decor-crescent,
.magic-decor .decor-candle,
.magic-decor .decor-spark,
.magic-decor .decor-rune,
.magic-decor .decor-glyph,
.magic-decor .decor-coffee::after,
.magic-decor .decor-candle::after,
.magic-decor .decor-mist {
  filter: none !important;
  box-shadow: none !important;
}

.magic-decor .decor-coffee,
.magic-decor .decor-cookie,
.magic-decor .decor-candle,
.magic-decor .decor-crescent {
  transform: scale(var(--decor-scale, 1));
}

.magic-decor::before,
.magic-decor::after {
  content: '';
  position: absolute;
  inset: -8%;
  pointer-events: none;
}

.magic-decor::before {
  background-image:
    radial-gradient(1px 1px at 8% 14%, rgba(255, 218, 245, 0.7), transparent),
    radial-gradient(1px 1px at 18% 30%, rgba(247, 172, 226, 0.62), transparent),
    radial-gradient(1px 1px at 32% 11%, rgba(255, 225, 248, 0.65), transparent),
    radial-gradient(1px 1px at 41% 27%, rgba(240, 151, 214, 0.6), transparent),
    radial-gradient(1px 1px at 57% 17%, rgba(255, 215, 245, 0.62), transparent),
    radial-gradient(1px 1px at 68% 35%, rgba(246, 168, 224, 0.58), transparent),
    radial-gradient(1px 1px at 82% 12%, rgba(255, 230, 250, 0.66), transparent),
    radial-gradient(1px 1px at 91% 29%, rgba(242, 160, 218, 0.55), transparent),
    radial-gradient(1px 1px at 14% 58%, rgba(255, 220, 247, 0.62), transparent),
    radial-gradient(1px 1px at 26% 72%, rgba(244, 169, 224, 0.56), transparent),
    radial-gradient(1px 1px at 39% 56%, rgba(255, 231, 250, 0.66), transparent),
    radial-gradient(1px 1px at 52% 74%, rgba(241, 157, 218, 0.6), transparent),
    radial-gradient(1px 1px at 66% 59%, rgba(255, 217, 246, 0.64), transparent),
    radial-gradient(1px 1px at 78% 76%, rgba(238, 148, 210, 0.56), transparent),
    radial-gradient(1px 1px at 88% 63%, rgba(255, 224, 248, 0.62), transparent);
  opacity: 0.88;
  animation: magicFieldDrift 30s linear infinite;
}

.magic-decor::after {
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255, 214, 246, 0.38), transparent),
    radial-gradient(2px 2px at 24% 8%, rgba(246, 162, 220, 0.35), transparent),
    radial-gradient(2px 2px at 36% 23%, rgba(255, 223, 249, 0.34), transparent),
    radial-gradient(2px 2px at 48% 9%, rgba(239, 150, 214, 0.33), transparent),
    radial-gradient(2px 2px at 63% 24%, rgba(255, 219, 247, 0.35), transparent),
    radial-gradient(2px 2px at 76% 10%, rgba(238, 151, 214, 0.32), transparent),
    radial-gradient(2px 2px at 90% 21%, rgba(255, 224, 248, 0.34), transparent),
    radial-gradient(2px 2px at 7% 72%, rgba(243, 163, 221, 0.33), transparent),
    radial-gradient(2px 2px at 22% 88%, rgba(255, 230, 251, 0.35), transparent),
    radial-gradient(2px 2px at 38% 69%, rgba(240, 152, 214, 0.32), transparent),
    radial-gradient(2px 2px at 52% 85%, rgba(255, 220, 248, 0.33), transparent),
    radial-gradient(2px 2px at 67% 71%, rgba(239, 150, 212, 0.3), transparent),
    radial-gradient(2px 2px at 81% 87%, rgba(255, 230, 250, 0.34), transparent),
    radial-gradient(2px 2px at 95% 74%, rgba(236, 144, 207, 0.3), transparent);
  opacity: 0.74;
  animation: magicFieldDrift 42s linear infinite reverse;
}

.decor-coffee,
.decor-cookie,
.decor-spark,
.decor-crescent,
.decor-mist,
.decor-rune,
.decor-candle,
.decor-dust,
.decor-glyph {
  position: absolute;
  display: block;
}

.decor-coffee,
.decor-cookie,
.decor-candle {
  --decor-scale: 1;
}

.decor-coffee {
  width: 90px;
  height: 58px;
  border-radius: 0 0 22px 22px;
  border: 2px solid rgba(255, 189, 233, 0.42);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(64, 26, 55, 0.95) 0%, rgba(49, 18, 42, 0.95) 100%),
    linear-gradient(180deg, rgba(255, 220, 245, 0.22) 0%, rgba(196, 92, 165, 0.48) 100%);
  box-shadow: 0 0 16px rgba(222, 126, 197, 0.24);
}

.decor-coffee::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(255, 193, 234, 0.46);
  right: -18px;
  top: 16px;
}

.decor-coffee::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 54px;
  left: 30px;
  top: -44px;
  border-radius: 999px;
  background:
    radial-gradient(10px 16px at 50% 100%, rgba(248, 177, 226, 0.18), transparent 70%),
    radial-gradient(8px 14px at 35% 65%, rgba(255, 213, 242, 0.2), transparent 75%),
    radial-gradient(8px 14px at 65% 35%, rgba(255, 205, 238, 0.14), transparent 75%);
  opacity: 0.75;
  animation: steamDrift 6.8s ease-in-out infinite;
}

.decor-cookie {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid rgba(255, 196, 234, 0.36);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 214, 242, 0.65) 0 18%, rgba(197, 120, 172, 0.9) 58%, rgba(135, 72, 115, 0.94) 100%);
  box-shadow: 0 0 12px rgba(228, 125, 196, 0.2);
}

.decor-cookie::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  right: 11px;
  top: 12px;
  border-radius: 50%;
  background: rgba(106, 42, 87, 0.88);
  box-shadow:
    -18px 10px 0 rgba(101, 40, 83, 0.82),
    -8px 30px 0 rgba(94, 37, 77, 0.86),
    12px 22px 0 rgba(104, 42, 86, 0.84),
    -24px -2px 0 rgba(100, 39, 82, 0.78),
    6px -12px 0 rgba(111, 46, 91, 0.8);
}

.decor-cookie::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  left: 12px;
  top: 9px;
  border-radius: 50%;
  background: rgba(255, 231, 250, 0.56);
  box-shadow: 18px 6px 0 rgba(255, 214, 244, 0.42), 30px 20px 0 rgba(255, 221, 247, 0.38);
}

.decor-crescent {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(255, 186, 231, 0.5);
  box-shadow:
    inset -12px 0 0 rgba(255, 126, 207, 0.44),
    0 0 22px rgba(240, 126, 206, 0.32);
  transform: rotate(-24deg);
}

.decor-mist {
  width: 200px;
  height: 90px;
  border-radius: 50%;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(243, 120, 210, 0.14) 0%, rgba(243, 120, 210, 0.01) 60%, transparent 100%);
  filter: blur(3px);
}

.decor-spark {
  width: 13px;
  height: 13px;
  background: rgba(255, 227, 246, 0.88);
  clip-path: polygon(50% 0, 62% 35%, 100% 50%, 62% 64%, 50% 100%, 36% 64%, 0 50%, 36% 35%);
  filter: drop-shadow(0 0 10px rgba(247, 170, 227, 0.86));
}

.decor-rune {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(247, 174, 226, 0.55);
  border-radius: 6px;
  box-shadow: inset 0 0 10px rgba(236, 141, 205, 0.2), 0 0 8px rgba(236, 141, 205, 0.24);
}

.decor-rune::before,
.decor-rune::after {
  content: '';
  position: absolute;
  background: rgba(255, 207, 239, 0.74);
}

.decor-rune::before {
  width: 1px;
  height: 16px;
  left: 10px;
  top: 2px;
}

.decor-rune::after {
  width: 14px;
  height: 1px;
  left: 3px;
  top: 9px;
}

.decor-glyph {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 200, 238, 0.62);
  border-radius: 3px;
  box-shadow: 0 0 9px rgba(233, 140, 201, 0.36);
}

.decor-glyph::before,
.decor-glyph::after {
  content: '';
  position: absolute;
  background: rgba(255, 217, 244, 0.72);
}

.lucky-wheel-card {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(24, 10, 32, 0.55);
  display: grid;
  gap: 0.6rem;
  justify-items: center;
}

#luckyWheelCanvas {
  width: min(260px, 100%);
  height: auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 185, 232, 0.45);
  background: rgba(14, 5, 20, 0.8);
  box-shadow: 0 0 14px rgba(241, 93, 182, 0.28);
}

#luckyWheelPrizeList {
  margin: 0;
  padding-left: 1.2rem;
  width: 100%;
}

#luckyWheelPrizeList li {
  margin-bottom: 0.25rem;
}

.decor-glyph::before {
  width: 4px;
  height: 4px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
}

.decor-glyph::after {
  width: 6px;
  height: 6px;
  right: 1px;
  bottom: 1px;
  background: transparent;
  border-right: 1px solid rgba(255, 222, 247, 0.68);
  border-top: 1px solid rgba(255, 222, 247, 0.68);
}

.decor-candle {
  width: 14px;
  height: 34px;
  border-radius: 7px 7px 5px 5px;
  border: 1px solid rgba(255, 204, 233, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 217, 239, 0.92) 0%, rgba(240, 148, 209, 0.88) 58%, rgba(182, 91, 155, 0.86) 100%);
  box-shadow: 0 0 9px rgba(236, 129, 198, 0.28);
  --decor-scale: 1;
}

.decor-candle::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 6px;
  left: 5px;
  top: -6px;
  border-radius: 999px;
  background: rgba(255, 215, 238, 0.88);
}

.decor-candle::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 14px;
  left: 1px;
  top: -16px;
  border-radius: 60% 60% 60% 60% / 72% 72% 38% 38%;
  background:
    radial-gradient(circle at 50% 68%, rgba(255, 138, 199, 0.94) 0%, rgba(255, 138, 199, 0.22) 44%, transparent 70%),
    radial-gradient(circle at 50% 34%, rgba(255, 241, 250, 0.96) 0%, rgba(255, 194, 231, 0.82) 52%, rgba(255, 159, 216, 0.52) 75%, transparent 100%);
  filter: drop-shadow(0 0 7px rgba(255, 158, 218, 0.64));
  animation: flameFlicker 2.2s ease-in-out infinite;
}

.decor-dust {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 214, 242, 0.9);
  box-shadow:
    28px -22px 0 rgba(255, 195, 235, 0.78),
    56px -5px 0 rgba(248, 170, 225, 0.7),
    84px -18px 0 rgba(255, 214, 242, 0.62),
    112px 4px 0 rgba(245, 159, 216, 0.64),
    138px -14px 0 rgba(255, 205, 238, 0.58),
    166px -2px 0 rgba(239, 147, 205, 0.56),
    194px -20px 0 rgba(255, 226, 247, 0.52),
    220px -7px 0 rgba(252, 179, 230, 0.48),
    246px -25px 0 rgba(255, 223, 246, 0.46),
    272px -11px 0 rgba(242, 156, 216, 0.45),
    296px -20px 0 rgba(255, 215, 243, 0.42),
    322px -8px 0 rgba(255, 208, 241, 0.44),
    348px -24px 0 rgba(244, 161, 219, 0.42),
    372px -10px 0 rgba(255, 224, 247, 0.4),
    396px -26px 0 rgba(239, 153, 211, 0.38),
    420px -12px 0 rgba(255, 216, 244, 0.36),
    442px -4px 0 rgba(246, 168, 223, 0.34);
  opacity: 0.86;
}

.decor-dust::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 221, 246, 0.82);
  box-shadow:
    18px -10px 0 rgba(255, 204, 239, 0.66),
    44px -18px 0 rgba(240, 161, 217, 0.6),
    70px -6px 0 rgba(255, 225, 247, 0.56),
    96px -14px 0 rgba(247, 176, 227, 0.52),
    122px -4px 0 rgba(255, 230, 249, 0.48),
    146px -16px 0 rgba(245, 170, 224, 0.5),
    170px -7px 0 rgba(255, 223, 247, 0.46),
    194px -18px 0 rgba(241, 160, 218, 0.44),
    220px -8px 0 rgba(255, 228, 249, 0.42);
}

.decor-dust::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 212, 242, 0.7);
  box-shadow:
    12px -4px 0 rgba(255, 205, 238, 0.62),
    38px -15px 0 rgba(246, 165, 221, 0.54),
    64px -2px 0 rgba(255, 225, 247, 0.5),
    88px -14px 0 rgba(239, 154, 212, 0.46),
    114px -5px 0 rgba(255, 220, 246, 0.44),
    140px -17px 0 rgba(243, 163, 220, 0.42),
    164px -6px 0 rgba(255, 227, 248, 0.38);
  animation: dustDrift 19s ease-in-out infinite reverse;
}

.coffee-a {
  top: 11%;
  left: 5%;
  --decor-scale: 0.78;
  animation: floatDecor 10.6s ease-in-out infinite;
}

.coffee-b {
  right: 6%;
  top: 34%;
  --decor-scale: 0.7;
  animation: floatDecor 11.4s ease-in-out infinite reverse;
}

.coffee-c {
  bottom: 13%;
  left: 7%;
  --decor-scale: 0.74;
  animation: floatDecor 12.2s ease-in-out infinite;
}

.coffee-d {
  top: 12%;
  right: 28%;
  --decor-scale: 0.62;
  animation: floatDecor 13.4s ease-in-out infinite reverse;
}

.cookie-a {
  right: 9%;
  bottom: 10%;
  --decor-scale: 0.78;
  animation: floatDecor 11s ease-in-out infinite;
}

.cookie-b {
  left: 14%;
  top: 32%;
  --decor-scale: 0.7;
  animation: floatDecor 12.6s ease-in-out infinite reverse;
}

.cookie-c {
  right: 32%;
  bottom: 7%;
  --decor-scale: 0.66;
  animation: floatDecor 13.6s ease-in-out infinite;
}

.cookie-d {
  left: 36%;
  top: 9%;
  --decor-scale: 0.58;
  animation: floatDecor 14.2s ease-in-out infinite reverse;
}

.moon-a {
  top: 31%;
  right: 14%;
  --decor-scale: 0.64;
  animation: floatDecor 12s ease-in-out infinite;
}

.mist-a {
  left: -3%;
  bottom: 16%;
  animation: driftMist 22s linear infinite;
}

.mist-b {
  right: -3%;
  top: 12%;
  animation: driftMist 24s linear infinite reverse;
}

.mist-c {
  left: 33%;
  top: 6%;
  width: 140px;
  height: 70px;
  animation: driftMist 19s linear infinite;
}

.mist-d {
  right: 18%;
  bottom: 26%;
  width: 120px;
  height: 64px;
  animation: driftMist 23s linear infinite reverse;
}

.mist-e {
  left: 58%;
  top: 38%;
  width: 130px;
  height: 62px;
  animation: driftMist 25s linear infinite;
}

.candle-a {
  top: 8%;
  left: 82%;
  --decor-scale: 0.86;
  animation: floatDecor 13.4s ease-in-out infinite;
}

.candle-b {
  top: 72%;
  left: 23%;
  --decor-scale: 0.8;
  animation: floatDecor 14.2s ease-in-out infinite reverse;
}

.candle-c {
  top: 56%;
  left: 87%;
  --decor-scale: 0.68;
  animation: floatDecor 15s ease-in-out infinite;
}

.candle-d {
  left: 45%;
  bottom: 15%;
  --decor-scale: 0.6;
  animation: floatDecor 16s ease-in-out infinite reverse;
}

.candle-e {
  top: 62%;
  right: 47%;
  --decor-scale: 0.54;
  animation: floatDecor 17.6s ease-in-out infinite;
}

.dust-a {
  top: 16%;
  left: 16%;
  animation: dustDrift 16s ease-in-out infinite;
}

.dust-b {
  bottom: 18%;
  right: 19%;
  animation: dustDrift 18s ease-in-out infinite reverse;
}

.dust-c {
  top: 54%;
  left: 38%;
  animation: dustDrift 20s ease-in-out infinite;
}

.dust-d {
  top: 24%;
  right: 34%;
  animation: dustDrift 22s ease-in-out infinite reverse;
}

.dust-e {
  top: 8%;
  left: 48%;
  animation: dustDrift 24s ease-in-out infinite;
}

.dust-f {
  bottom: 12%;
  left: 26%;
  animation: dustDrift 26s ease-in-out infinite reverse;
}

.dust-g {
  top: 38%;
  right: 8%;
  animation: dustDrift 21s ease-in-out infinite;
}

.dust-h {
  top: 12%;
  left: 67%;
  animation: dustDrift 27s ease-in-out infinite reverse;
}

.dust-i {
  bottom: 6%;
  right: 38%;
  animation: dustDrift 29s ease-in-out infinite;
}

.dust-j {
  top: 3%;
  left: 12%;
  animation: dustDrift 31s ease-in-out infinite reverse;
}

.dust-k {
  bottom: 2%;
  right: 4%;
  animation: dustDrift 33s ease-in-out infinite;
}

.dust-l {
  top: 46%;
  left: 72%;
  animation: dustDrift 35s ease-in-out infinite reverse;
}

.dust-m {
  top: 18%;
  left: 84%;
  animation: dustDrift 23s ease-in-out infinite;
}

.dust-n {
  top: 66%;
  left: 14%;
  animation: dustDrift 21s ease-in-out infinite reverse;
}

.dust-o {
  bottom: 8%;
  left: 58%;
  animation: dustDrift 27s ease-in-out infinite;
}

.dust-p {
  top: 34%;
  right: 46%;
  animation: dustDrift 25s ease-in-out infinite reverse;
}

.dust-q {
  top: 74%;
  right: 24%;
  animation: dustDrift 29s ease-in-out infinite;
}

.dust-r {
  top: 6%;
  right: 18%;
  animation: dustDrift 32s ease-in-out infinite reverse;
}

.dust-s {
  top: 14%;
  left: 3%;
  animation: dustDrift 22s ease-in-out infinite;
}

.dust-t {
  top: 41%;
  left: 6%;
  animation: dustDrift 24s ease-in-out infinite reverse;
}

.dust-u {
  bottom: 7%;
  left: 4%;
  animation: dustDrift 26s ease-in-out infinite;
}

.dust-v {
  top: 58%;
  left: 11%;
  animation: dustDrift 28s ease-in-out infinite reverse;
}

.spark-a {
  top: 24%;
  left: 24%;
  animation: sparklePulse 3.1s ease-in-out infinite;
}

.spark-b {
  top: 67%;
  right: 22%;
  animation: sparklePulse 3.6s ease-in-out infinite;
}

.spark-c {
  top: 43%;
  right: 11%;
  transform: scale(1.1);
  animation: sparklePulse 2.9s ease-in-out infinite;
}

.spark-d {
  top: 11%;
  left: 41%;
  transform: scale(0.9);
  animation: sparklePulse 3.8s ease-in-out infinite;
}

.spark-e {
  bottom: 22%;
  left: 46%;
  transform: scale(0.85);
  animation: sparklePulse 4s ease-in-out infinite;
}

.spark-f {
  top: 33%;
  left: 52%;
  transform: scale(0.72);
  animation: sparklePulse 4.4s ease-in-out infinite;
}

.spark-g {
  bottom: 30%;
  right: 41%;
  transform: scale(0.68);
  animation: sparklePulse 4.8s ease-in-out infinite;
}

.spark-h {
  top: 12%;
  right: 21%;
  transform: scale(0.64);
  animation: sparklePulse 5.2s ease-in-out infinite;
}

.spark-i {
  top: 56%;
  left: 58%;
  transform: scale(0.6);
  animation: sparklePulse 5.6s ease-in-out infinite;
}

.spark-j {
  top: 19%;
  right: 33%;
  transform: scale(0.58);
  animation: sparklePulse 6s ease-in-out infinite;
}

.spark-k {
  bottom: 11%;
  right: 14%;
  transform: scale(0.56);
  animation: sparklePulse 6.4s ease-in-out infinite;
}

.spark-l {
  top: 41%;
  left: 12%;
  transform: scale(0.62);
  animation: sparklePulse 5.9s ease-in-out infinite;
}

.spark-m {
  top: 6%;
  left: 58%;
  transform: scale(0.54);
  animation: sparklePulse 6.8s ease-in-out infinite;
}

.spark-n {
  bottom: 4%;
  left: 8%;
  transform: scale(0.56);
  animation: sparklePulse 7.1s ease-in-out infinite;
}

.spark-o {
  top: 72%;
  right: 6%;
  transform: scale(0.52);
  animation: sparklePulse 6.6s ease-in-out infinite;
}

.spark-p {
  top: 28%;
  left: 76%;
  transform: scale(0.5);
  animation: sparklePulse 7.4s ease-in-out infinite;
}

.spark-q {
  top: 9%;
  left: 28%;
  transform: scale(0.5);
  animation: sparklePulse 5.8s ease-in-out infinite;
}

.spark-r {
  bottom: 7%;
  right: 32%;
  transform: scale(0.54);
  animation: sparklePulse 6.1s ease-in-out infinite;
}

.spark-s {
  top: 52%;
  left: 86%;
  transform: scale(0.56);
  animation: sparklePulse 6.5s ease-in-out infinite;
}

.spark-t {
  top: 38%;
  left: 4%;
  transform: scale(0.52);
  animation: sparklePulse 6.9s ease-in-out infinite;
}

.spark-u {
  bottom: 18%;
  left: 72%;
  transform: scale(0.48);
  animation: sparklePulse 7.3s ease-in-out infinite;
}

.spark-v {
  top: 16%;
  right: 52%;
  transform: scale(0.5);
  animation: sparklePulse 7.7s ease-in-out infinite;
}

.spark-w {
  top: 8%;
  left: 7%;
  transform: scale(0.56);
  animation: sparklePulse 5.4s ease-in-out infinite;
}

.spark-x {
  top: 29%;
  left: 9%;
  transform: scale(0.52);
  animation: sparklePulse 5.9s ease-in-out infinite;
}

.spark-y {
  top: 63%;
  left: 6%;
  transform: scale(0.58);
  animation: sparklePulse 6.2s ease-in-out infinite;
}

.spark-z {
  bottom: 9%;
  left: 12%;
  transform: scale(0.54);
  animation: sparklePulse 6.7s ease-in-out infinite;
}

.rune-a {
  top: 16%;
  right: 36%;
  transform: rotate(24deg);
  animation: runePulse 8s ease-in-out infinite;
}

.rune-b {
  bottom: 18%;
  right: 9%;
  transform: rotate(-12deg) scale(0.9);
  animation: runePulse 9.2s ease-in-out infinite reverse;
}

.rune-c {
  top: 58%;
  left: 22%;
  transform: rotate(14deg) scale(0.85);
  animation: runePulse 10.2s ease-in-out infinite;
}

.rune-d {
  top: 28%;
  left: 43%;
  transform: rotate(-18deg) scale(0.75);
  animation: runePulse 11.4s ease-in-out infinite reverse;
}

.rune-e {
  bottom: 24%;
  left: 54%;
  transform: rotate(8deg) scale(0.7);
  animation: runePulse 12.2s ease-in-out infinite;
}

.rune-f {
  top: 14%;
  right: 48%;
  transform: rotate(26deg) scale(0.66);
  animation: runePulse 12.8s ease-in-out infinite reverse;
}

.rune-g {
  top: 64%;
  right: 36%;
  transform: rotate(-10deg) scale(0.62);
  animation: runePulse 13.8s ease-in-out infinite;
}

.rune-h {
  top: 6%;
  left: 54%;
  transform: rotate(18deg) scale(0.58);
  animation: runePulse 14.2s ease-in-out infinite reverse;
}

.rune-i {
  top: 44%;
  left: 82%;
  transform: rotate(-16deg) scale(0.54);
  animation: runePulse 15.2s ease-in-out infinite;
}

.rune-j {
  bottom: 6%;
  left: 48%;
  transform: rotate(12deg) scale(0.52);
  animation: runePulse 16.4s ease-in-out infinite reverse;
}

.rune-k {
  top: 22%;
  left: 70%;
  transform: rotate(-10deg) scale(0.5);
  animation: runePulse 12.6s ease-in-out infinite;
}

.rune-l {
  bottom: 9%;
  right: 12%;
  transform: rotate(14deg) scale(0.54);
  animation: runePulse 13.4s ease-in-out infinite reverse;
}

.rune-m {
  top: 68%;
  left: 34%;
  transform: rotate(8deg) scale(0.5);
  animation: runePulse 14.8s ease-in-out infinite;
}

.rune-n {
  top: 4%;
  right: 40%;
  transform: rotate(-14deg) scale(0.48);
  animation: runePulse 15.6s ease-in-out infinite reverse;
}

.glyph-a {
  top: 22%;
  left: 62%;
  animation: glyphSpin 16s linear infinite;
}

.glyph-b {
  bottom: 18%;
  right: 26%;
  animation: glyphSpin 18s linear infinite reverse;
}

.glyph-c {
  top: 48%;
  left: 30%;
  transform: scale(0.86);
  animation: glyphSpin 20s linear infinite;
}

.glyph-d {
  top: 8%;
  right: 10%;
  transform: scale(0.76);
  animation: glyphSpin 22s linear infinite reverse;
}

.glyph-e {
  top: 36%;
  right: 42%;
  transform: scale(0.72);
  animation: glyphSpin 24s linear infinite;
}

.glyph-f {
  bottom: 14%;
  left: 18%;
  transform: scale(0.68);
  animation: glyphSpin 26s linear infinite reverse;
}

.glyph-g {
  top: 62%;
  left: 62%;
  transform: scale(0.66);
  animation: glyphSpin 28s linear infinite;
}

.glyph-h {
  top: 14%;
  left: 74%;
  transform: scale(0.62);
  animation: glyphSpin 30s linear infinite reverse;
}

.glyph-i {
  top: 54%;
  right: 18%;
  transform: scale(0.58);
  animation: glyphSpin 32s linear infinite;
}

.glyph-j {
  bottom: 4%;
  right: 52%;
  transform: scale(0.54);
  animation: glyphSpin 34s linear infinite reverse;
}

.glyph-k {
  top: 26%;
  left: 10%;
  transform: scale(0.5);
  animation: glyphSpin 28s linear infinite;
}

.glyph-l {
  top: 74%;
  left: 46%;
  transform: scale(0.52);
  animation: glyphSpin 30s linear infinite reverse;
}

.glyph-m {
  top: 42%;
  right: 30%;
  transform: scale(0.5);
  animation: glyphSpin 33s linear infinite;
}

.glyph-n {
  bottom: 10%;
  left: 80%;
  transform: scale(0.48);
  animation: glyphSpin 36s linear infinite reverse;
}

@keyframes floatDecor {
  0% { transform: translateY(0) rotate(0deg) scale(var(--decor-scale)); }
  50% { transform: translateY(-10px) rotate(2deg) scale(var(--decor-scale)); }
  100% { transform: translateY(0) rotate(0deg) scale(var(--decor-scale)); }
}

@keyframes sparklePulse {
  0% { opacity: 0.28; transform: scale(0.72); }
  50% { opacity: 0.94; transform: scale(1.12); }
  100% { opacity: 0.32; transform: scale(0.76); }
}

@keyframes driftMist {
  0% { transform: translate(0, 0); }
  30% { transform: translate(8px, -8px); }
  60% { transform: translate(-7px, -14px); }
  100% { transform: translate(0, 0); }
}

@keyframes runePulse {
  0% { opacity: 0.35; filter: drop-shadow(0 0 2px rgba(237, 149, 206, 0.3)); }
  50% { opacity: 0.8; filter: drop-shadow(0 0 7px rgba(237, 149, 206, 0.56)); }
  100% { opacity: 0.4; filter: drop-shadow(0 0 2px rgba(237, 149, 206, 0.3)); }
}

@keyframes flameFlicker {
  0% { transform: translateY(0) scale(0.92); opacity: 0.72; }
  35% { transform: translateY(-1px) scale(1); opacity: 0.95; }
  70% { transform: translateY(1px) scale(0.88); opacity: 0.78; }
  100% { transform: translateY(0) scale(0.94); opacity: 0.74; }
}

@keyframes dustDrift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.42; }
  35% { transform: translate3d(10px, -8px, 0); opacity: 0.7; }
  70% { transform: translate3d(-8px, -14px, 0); opacity: 0.5; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.44; }
}

@keyframes steamDrift {
  0% { transform: translateY(0) scale(0.92); opacity: 0.5; }
  45% { transform: translateY(-7px) scale(1.02); opacity: 0.74; }
  100% { transform: translateY(-12px) scale(1.08); opacity: 0.22; }
}

@keyframes glyphSpin {
  0% { transform: rotate(0deg); opacity: 0.46; }
  50% { transform: rotate(180deg); opacity: 0.78; }
  100% { transform: rotate(360deg); opacity: 0.48; }
}

@keyframes magicFieldDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-10px, -8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.hero {
  text-align: center;
  padding: 2.4rem 1rem 1.2rem;
}

.hero-logo {
  width: min(520px, 88vw);
  height: auto;
  display: block;
  margin: 0 auto 0.8rem;
  filter: drop-shadow(0 0 10px rgba(255, 123, 212, 0.28));
}

.menu-preview {
  margin: 0.8rem 0;
}

.menu-preview-large {
  margin-top: 1.1rem;
}

.menu-image {
  width: 100%;
  max-height: min(92vh, 1280px);
  object-fit: contain;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(19, 4, 21, 0.72);
  box-shadow: 0 0 22px rgba(255, 126, 220, 0.12);
}

.front-info-card {
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 144, 224, 0.22);
  background: rgba(24, 10, 32, 0.62);
  box-shadow: inset 0 0 14px rgba(255, 120, 210, 0.08);
}

.front-info-card-large {
  margin-top: 1rem;
}

.front-info-card-right {
  margin-bottom: 0.25rem;
}

.front-card-image {
  width: 100%;
  height: clamp(520px, 62vh, 920px);
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(19, 4, 21, 0.72);
}

.front-info-card h4 {
  margin: 0.6rem 0 0.35rem;
  font-size: 1rem;
}

.front-info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5b6dc;
}

.section-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.hero h1 {
  margin: 0;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: #fff4ff;
  text-shadow: 0 0 16px rgba(255, 133, 220, 0.62);
}

.hero p {
  margin-top: 0.7rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.app-shell {
  max-width: 1150px;
  margin: 0 auto;
  padding: 1rem 1rem 2.4rem;
}

.panel {
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-strong) 100%);
  backdrop-filter: none;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow), inset 0 0 30px rgba(255, 133, 220, 0.08);
  padding: 1.2rem;
}

.login-panel,
#dashboardPanel {
  position: relative;
}

.login-panel::before,
#dashboardPanel::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 162, 232, 0.12);
  border-radius: 18px;
  pointer-events: none;
}

.login-panel {
  max-width: 1360px;
  margin: 0 auto;
}

.entry-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.entry-showcase,
.entry-access {
  min-width: 0;
}

.entry-showcase {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.4rem;
  border: 1px solid rgba(255, 144, 224, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 147, 228, 0.2) 0%, transparent 35%),
    linear-gradient(180deg, rgba(45, 8, 48, 0.72) 0%, rgba(22, 5, 26, 0.8) 100%);
  box-shadow: inset 0 0 30px rgba(255, 120, 210, 0.08);
}

.entry-logo {
  width: min(460px, 100%);
  margin: 0.2rem auto 0.9rem;
  filter: drop-shadow(0 0 10px rgba(255, 123, 212, 0.28));
}

.entry-showcase h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.entry-showcase p {
  color: #e7bddf;
  font-size: 1rem;
  max-width: 34ch;
}

.hero p,
.entry-showcase p,
.entry-card p,
.card-heading p,
.dashboard-copy,
.tab-content > p,
.customer-discount-box p,
.customer-order-builder p {
  width: fit-content;
  max-width: min(100%, 68ch);
}

.entry-access {
  display: grid;
  gap: 1rem;
}

.entry-card {
  position: relative;
  padding: 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 144, 224, 0.2);
  background: rgba(26, 5, 31, 0.76);
  box-shadow: inset 0 0 22px rgba(255, 118, 210, 0.05);
}

.entry-card h2,
.entry-card h3 {
  margin-bottom: 0.35rem;
}

.entry-card p {
  margin-top: 0;
}

.brand-ribbon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 128, 220, 0.22);
}

.brand-ribbon-logo {
  width: min(360px, 70vw);
  height: auto;
  filter: drop-shadow(0 0 8px rgba(255, 115, 208, 0.24));
}

h2,
h3,
h4 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.8px;
  margin-top: 0;
}

label {
  display: block;
  margin-top: 0.8rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: #ffd7f0;
}

input,
textarea,
select,
button {
  width: 100%;
  font: inherit;
}

input[type='checkbox'] {
  width: auto;
}

form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

input,
textarea,
select {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  color: var(--text);
  background: rgba(21, 4, 23, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 155, 224, 0.08);
}

input::placeholder {
  color: #c993c1;
}

textarea::placeholder {
  color: #c993c1;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(255, 126, 220, 0.55);
  outline-offset: 1px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  cursor: pointer;
  font-weight: 700;
  margin-top: 0.9rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #210620;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 0 14px rgba(255, 128, 220, 0.45);
}

.btn-ghost {
  color: #ffd8f5;
  background: rgba(255, 130, 220, 0.1);
  border-color: var(--border);
}

.message {
  min-height: 0;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.message:empty {
  display: none;
}

.page-text-input {
  width: 100%;
  min-height: 56px;
  resize: vertical;
}

#discountCodeReminder,
#activeDiscountCodeInfo {
  min-height: 1.35rem;
}

#discountCodeReminder {
  white-space: normal;
  overflow-wrap: anywhere;
}

.fixed-users ul,
#fixedUsersList {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.hidden {
  display: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 145, 226, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 118, 210, 0.16) 0%, transparent 32%),
    linear-gradient(135deg, rgba(44, 7, 47, 0.9) 0%, rgba(24, 4, 28, 0.84) 100%);
}

.dashboard-intro h2 {
  margin-bottom: 0.35rem;
}

.dashboard-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffcbea;
  font-size: 0.8rem;
}

.dashboard-copy,
.current-user {
  max-width: 60ch;
  color: #e5b7dd;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.current-user {
  margin: 0.8rem 0 0;
  font-weight: 700;
}

.logout-btn {
  width: auto;
  min-width: 150px;
}

.tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.dashboard-tabs {
  margin: 0 0 1rem;
  padding: 0.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 145, 226, 0.14);
  background: rgba(19, 4, 21, 0.5);
}

.tab-btn {
  width: auto;
  color: #ffd9f6;
  background: rgba(255, 120, 215, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.tab-btn.active {
  color: #2c0928;
  background: linear-gradient(90deg, #ffa6e8 0%, #ff70cb 100%);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(255, 121, 210, 0.25);
}

.tab-content {
  display: none;
  animation: none;
  padding: 1rem;
  border: 1px solid rgba(255, 145, 226, 0.12);
  border-radius: 20px;
  background: rgba(18, 4, 23, 0.36);
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.tab-content.active {
  display: block;
}

.cashbook-subtabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.cashbook-subtab-btn {
  width: auto;
  color: #ffd9f6;
  background: rgba(255, 120, 215, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.cashbook-subtab-btn.active {
  color: #2c0928;
  background: linear-gradient(90deg, #ffa6e8 0%, #ff70cb 100%);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(255, 121, 210, 0.25);
}

.cashbook-pane {
  display: none;
}

.cashbook-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.kasse-layout {
  align-items: start;
}

.dashboard-hero {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 145, 226, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 119, 214, 0.18) 0%, transparent 34%),
    linear-gradient(135deg, rgba(50, 10, 54, 0.88) 0%, rgba(28, 5, 31, 0.9) 100%);
}

.hero-note {
  display: grid;
  gap: 0.35rem;
}

.hero-note strong {
  font-size: 1rem;
  line-height: 1.5;
}

.dashboard-card {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 145, 226, 0.18);
  background:
    linear-gradient(180deg, rgba(40, 8, 45, 0.8) 0%, rgba(21, 5, 25, 0.82) 100%);
  box-shadow: inset 0 0 24px rgba(255, 118, 210, 0.05);
  content-visibility: auto;
  contain-intrinsic-size: 640px;
}

.dashboard-card + .dashboard-card,
.section-card {
  margin-top: 1rem;
}

.stacked-card {
  display: grid;
  gap: 1rem;
}

.dashboard-subcard {
  padding-top: 0.3rem;
  border-top: 1px solid rgba(255, 145, 226, 0.16);
}

.card-heading {
  margin-bottom: 0.85rem;
}

.card-heading p {
  margin: 0.25rem 0 0;
  color: #d9a8d1;
}

.form-span-2 {
  grid-column: span 2;
}

.form-span-full {
  grid-column: 1 / -1;
}

.customer-discount-box {
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 145, 226, 0.16);
  background: rgba(255, 118, 210, 0.06);
}

.customer-discount-box h4,
.customer-discount-box p {
  margin-top: 0;
}

.customer-order-builder {
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 145, 226, 0.16);
  background: rgba(255, 118, 210, 0.06);
}

.customer-order-builder h4 {
  margin-top: 0;
}

.editable-text {
  position: relative;
  border-radius: 8px;
  white-space: pre-wrap;
}

.editable-text.is-editing {
  outline: 2px dashed rgba(255, 180, 231, 0.55);
  outline-offset: 3px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.2rem;
}

.tab-content > h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.tab-content > p {
  margin-top: 0;
  color: #d9acd3;
}

.product-list,
.cart-list,
.table-wrap,
.report-summary {
  border: 1px solid var(--border);
  background: rgba(19, 4, 21, 0.72);
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: inset 0 0 16px rgba(255, 118, 210, 0.04);
}

.product-item,
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.4rem;
  border-bottom: 1px dashed rgba(255, 126, 220, 0.32);
}

.product-item:last-child,
.cart-item:last-child {
  border-bottom: none;
}

.product-item button,
.cart-item button,
.small-btn {
  width: auto;
  margin: 0;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 120, 210, 0.12);
  color: #ffe9f9;
  cursor: pointer;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-actions input {
  width: 72px;
}

.discount-row {
  margin-top: 0.7rem;
}

.totals {
  margin-top: 0.8rem;
  border-top: 1px solid rgba(255, 126, 220, 0.34);
  padding-top: 0.7rem;
  background: rgba(255, 118, 210, 0.06);
  border-radius: 14px;
  padding: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.marketing-form {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.marketing-form #marketingTextTitle {
  min-height: 3.1rem;
}

.marketing-form #marketingTextBody {
  min-height: 11rem;
}

.marketing-form .btn {
  padding: 0.46rem 0.8rem;
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.compact-grid {
  align-items: end;
}

.compact-grid .btn {
  margin-top: 0;
}

td .small-btn + .small-btn {
  margin-left: 0.35rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.62rem;
  border-bottom: 1px solid rgba(255, 128, 220, 0.22);
  font-size: 0.93rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.table-wrap-compact {
  max-height: 340px;
  overflow: auto;
}

#tab-karten .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

#tab-karten .image-setting-row {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 180px;
  gap: 0.55rem;
  align-items: end;
  padding: 0.75rem;
  border: 1px solid rgba(255, 145, 226, 0.16);
  border-radius: 14px;
  background: rgba(255, 118, 210, 0.06);
}

#tab-karten .image-setting-row label {
  grid-column: 1 / -1;
  margin: 0;
}

#tab-karten .btn {
  max-width: 260px;
}

#discountCodeTable,
#wheelClaimTable {
  table-layout: fixed;
  width: 100%;
}

th {
  color: #ffd7f2;
  font-weight: 700;
}

.low-stock {
  color: var(--danger);
  font-weight: 700;
}

.ok-stock {
  color: var(--ok);
  font-weight: 700;
}

.warning-box {
  border: 1px solid rgba(255, 130, 170, 0.45);
  background: rgba(96, 20, 49, 0.42);
  border-radius: 12px;
  padding: 0.75rem;
  margin: 0.7rem 0;
  color: #ffb3c8;
}

.report-summary {
  margin-bottom: 0.85rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.2rem 0.8rem;
}

.report-summary p {
  margin: 0.2rem 0;
}

@media (max-width: 860px) {
  .coffee-a,
  .coffee-d,
  .cookie-a,
  .cookie-d,
  .moon-a,
  .mist-b,
  .mist-d,
  .mist-e,
  .rune-c,
  .rune-f,
  .rune-h,
  .glyph-d,
  .glyph-h,
  .candle-c,
  .candle-d,
  .candle-e,
  .dust-c,
  .dust-f,
  .dust-h,
  .dust-i,
  .dust-k,
  .dust-l,
  .dust-o,
  .dust-q,
  .dust-r,
  .dust-t,
  .dust-u,
  .spark-k,
  .spark-l,
  .spark-o,
  .spark-p,
  .spark-s,
  .spark-u,
  .spark-v,
  .spark-y,
  .spark-z,
  .rune-j,
  .rune-m,
  .rune-n,
  .glyph-i,
  .glyph-j,
  .glyph-l,
  .glyph-n {
    display: none;
  }

  .coffee-b,
  .coffee-c,
  .cookie-b,
  .cookie-c {
    --decor-scale: 0.72;
    opacity: 0.68;
  }

  .spark-d,
  .spark-e,
  .spark-h,
  .spark-j,
  .spark-m,
  .spark-n,
  .spark-q,
  .spark-r,
  .spark-t,
  .rune-b,
  .rune-e,
  .rune-g,
  .rune-i,
  .rune-k,
  .rune-l,
  .dust-b,
  .dust-e,
  .dust-g,
  .dust-j,
  .dust-m,
  .dust-n,
  .dust-p,
  .dust-s,
  .dust-v,
  .glyph-c,
  .glyph-k,
  .glyph-m,
  .spark-w,
  .spark-x {
    opacity: 0.45;
  }

  .candle-a,
  .candle-b {
    --decor-scale: 0.66;
    opacity: 0.72;
  }

  .dashboard-topbar {
    flex-direction: column;
  }

  .dashboard-actions {
    width: 100%;
    justify-content: stretch;
  }

  .dashboard-actions .btn {
    width: 100%;
  }

  .logout-btn {
    width: 100%;
  }

  .entry-stage {
    grid-template-columns: 1fr;
  }

  #tab-karten .image-setting-row {
    grid-template-columns: 1fr;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .form-span-2 {
    grid-column: auto;
  }

  .form-span-full {
    grid-column: auto;
  }

  .btn-ghost {
    max-width: none;
  }
}
