    :root {
      --primary: #1a73e8;
      --primary-dark: #1558b0;
      --primary-light: #4f8ff0;
      --accent: #f4b400;
      --bg: #eef3fb;
      --surface: rgba(255, 255, 255, 0.92);
      --surface-solid: #ffffff;
      --text: #152033;
      --text-secondary: #5d6b82;
      --border: rgba(21, 32, 51, 0.12);
      --hover: rgba(26, 115, 232, 0.06);
      --shadow: 0 8px 24px rgba(18, 28, 45, 0.08);
      --shadow-lg: 0 24px 70px rgba(18, 28, 45, 0.18);
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    html, body {
      margin: 0;
      height: 100%;
      font-family: 'Roboto', Helvetica Neue, sans-serif;
      background:
        radial-gradient(circle at 50% 20%, rgba(74, 90, 255, 0.24), transparent 30%),
        radial-gradient(circle at 85% 8%, rgba(124, 58, 237, 0.24), transparent 24%),
        radial-gradient(circle at 15% 18%, rgba(20, 184, 166, 0.18), transparent 24%),
        linear-gradient(180deg, #0f0f12 0%, #11131a 42%, #0b0b0d 100%);
      color: #f4f6fb;
      overflow-x: hidden;
    }

    html {
      scrollbar-gutter: stable;
    }

    body {
      display: flex;
      flex-direction: column;
    }

    .mat-typography h1 {
      font: 400 24px/32px Roboto, sans-serif;
      margin: 0 0 16px;
    }

    /* HEADER */
    .app-header {
      display: flex;
      align-items: center;
      padding: 10px 16px;
      min-height: 58px;
      background: rgba(20, 20, 22, 0.96);
      backdrop-filter: blur(18px);
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.24);
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .menu-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f4f6fb;
      transition: background 0.2s;
    }

    .menu-btn:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .brand-shell {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-left: 4px;
      flex: 1;
    }

    .brand-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: #f7f8fb;
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      display: inline-flex;
      flex-shrink: 0;
    }

    .brand-mark svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .brand-text {
      display: flex;
      align-items: center;
      font-size: 20px;
      font-weight: 500;
      letter-spacing: -0.02em;
    }

    .brand-text strong {
      font-weight: 500;
    }

    .logo {
      height: 28px;
      display: none;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .icon-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      border-radius: 50%;
      color: #f4f6fb;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    .icon-btn:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .header-menu {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-left: 4px;
      overflow-x: auto;
      scrollbar-width: none;
      max-width: min(68vw, 720px);
    }

    .header-menu::-webkit-scrollbar {
      display: none;
    }

    .header-link {
      border: none;
      background: transparent;
      color: rgba(255, 255, 255, 0.9);
      font: inherit;
      font-size: 13px;
      font-weight: 600;
      padding: 8px 10px;
      border-radius: 999px;
      cursor: pointer;
      transition: background 0.18s ease, color 0.18s ease;
      white-space: nowrap;
    }

    .header-link:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
    }

    .header-link--lang {
      border-left: 1px solid rgba(255, 255, 255, 0.12);
      padding-left: 14px;
      margin-left: 4px;
    }

    /* SIDE DRAWER */
    .side-drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--surface);
      box-shadow: var(--shadow-lg);
      transition: left 0.3s ease;
      z-index: 1000;
      overflow-y: auto;
    }

    .side-drawer.open {
      left: 0;
    }

    .drawer-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
    }

    .drawer-backdrop.open {
      opacity: 1;
      visibility: visible;
    }

    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px;
      border-bottom: 1px solid var(--border);
      font-weight: 500;
    }

    .close-drawer {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 24px;
      color: var(--text);
      padding: 0;
      line-height: 1;
    }

    .drawer-menu {
      list-style: none;
      padding: 8px 0;
      margin: 0;
    }

    .drawer-menu li a {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 12px 16px;
      color: var(--text);
      text-decoration: none;
      transition: background 0.2s;
    }

    .drawer-menu li a:hover {
      background: var(--hover);
    }

    .drawer-menu li a.active {
      background: rgba(25, 118, 210, 0.1);
      color: var(--primary);
    }

    .drawer-menu .material-icons {
      color: var(--text-secondary);
    }

    .drawer-menu li a.active .material-icons {
      color: var(--primary);
    }

    /* MAIN CONTENT */
    .main-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 30px 430px 96px 16px;
      position: relative;
      width: 100%;
      background:
        radial-gradient(circle at 50% 18%, rgba(43, 64, 140, 0.42), transparent 24%),
        radial-gradient(circle at 80% 20%, rgba(138, 26, 64, 0.28), transparent 22%),
        linear-gradient(180deg, rgba(8, 8, 10, 0.36), rgba(8, 8, 10, 0.68));
    }

    .page-shell {
      width: min(1440px, 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 240px minmax(0, 1fr) 240px;
      gap: 18px;
      align-items: start;
      padding: 18px 18px 0;
      flex: 1;
    }

    .hero-copy {
      width: min(860px, 100%);
      text-align: center;
      margin: 0 auto 16px;
      padding: 14px 18px 0;
    }

    .hero-copy__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(26, 115, 232, 0.1);
      color: var(--primary-dark);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .hero-copy h1 {
      margin: 14px 0 10px;
      font-size: clamp(30px, 4vw, 56px);
      line-height: 1.02;
      font-weight: 700;
      letter-spacing: -0.04em;
      color: var(--text);
    }

    .hero-copy p {
      margin: 0 auto;
      max-width: 720px;
      color: var(--text-secondary);
      font-size: 16px;
      line-height: 1.65;
    }

    .hero-chips {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-top: 18px;
    }

    .hero-chips span {
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.75);
      border: 1px solid var(--border);
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 500;
      box-shadow: 0 6px 16px rgba(18, 28, 45, 0.04);
    }

    .top-ad-strip {
      width: min(980px, 100%);
      margin: 0 auto 18px;
      padding: 12px 16px;
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(246,249,255,0.92));
      border: 1px solid rgba(21, 32, 51, 0.08);
      box-shadow: var(--shadow);
      display: flex;
      align-items: center;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      text-align: center;
    }

    .top-ad-strip__brand {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 999px;
      color: white;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.02em;
      box-shadow: 0 10px 20px rgba(18, 28, 45, 0.14);
    }

    .top-ad-strip__brand--coke {
      background: linear-gradient(135deg, #d52b1e, #a80000);
      font-family: Georgia, serif;
      font-style: italic;
    }

    .top-ad-strip__cta {
      width: auto;
      margin-top: 0;
      padding: 9px 14px;
    }

    .ad-rail {
      position: sticky;
      top: 84px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      min-width: 0;
    }

    .ad-card {
      border-radius: 18px;
      padding: 16px;
      background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,255,0.96));
      border: 1px solid rgba(21, 32, 51, 0.08);
      box-shadow: var(--shadow);
      color: var(--text);
      overflow: hidden;
    }

    .ad-card-large,
    .ad-card-tall {
      min-height: 260px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .ad-card h2 {
      margin: 10px 0 8px;
      font-size: 24px;
      line-height: 1.05;
      letter-spacing: -0.03em;
    }

    .ad-card p {
      margin: 0;
      color: var(--text-secondary);
      line-height: 1.55;
      font-size: 14px;
    }

    .ad-brandline {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-top: 10px;
    }

    .ad-brandline strong {
      display: block;
      font-size: 17px;
      line-height: 1.15;
      margin-bottom: 4px;
      letter-spacing: -0.02em;
    }

    .ad-brandline p {
      font-size: 13px;
    }

    .ad-brandmark {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-weight: 700;
      color: white;
      box-shadow: 0 10px 20px rgba(18, 28, 45, 0.16);
    }

    .ad-brandmark--coke {
      background: linear-gradient(135deg, #d52b1e, #a80000);
      font-family: Georgia, serif;
      font-style: italic;
    }

    .ad-brandmark--samsung {
      background: linear-gradient(135deg, #1c6ef2, #0033a0);
    }

    .ad-brandmark--nike {
      background: linear-gradient(135deg, #111111, #3b3b3b);
    }

    .ad-brandmark--spotify {
      background: linear-gradient(135deg, #1ed760, #129b44);
    }

    .ad-visual {
      margin-top: 14px;
      min-height: 110px;
      border-radius: 16px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      padding: 14px;
      color: white;
      font-weight: 700;
      letter-spacing: -0.02em;
      position: relative;
      overflow: hidden;
    }

    .ad-visual::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 82% 26%, rgba(255,255,255,0.24), transparent 22%),
        radial-gradient(circle at 22% 28%, rgba(255,255,255,0.18), transparent 18%);
      opacity: 0.75;
    }

    .ad-visual span {
      position: relative;
      z-index: 1;
      font-size: 16px;
      max-width: 75%;
    }

    .ad-visual--coke {
      background: linear-gradient(135deg, #d52b1e 0%, #ff4b3a 100%);
    }

    .ad-visual--nike {
      background: linear-gradient(135deg, #111111 0%, #333333 100%);
    }

    .ad-cta {
      margin-top: 14px;
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 10px 14px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white;
      font: inherit;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 10px 20px rgba(26, 115, 232, 0.22);
      transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    }

    .ad-cta:hover {
      transform: translateY(-1px);
      filter: saturate(1.05);
      box-shadow: 0 14px 24px rgba(26, 115, 232, 0.28);
    }

    .ad-cta--ghost {
      background: rgba(21, 32, 51, 0.06);
      color: var(--text);
      box-shadow: none;
    }

    .ad-card--coke {
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,245,245,0.96));
    }

    .ad-card--samsung {
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,247,255,0.96));
    }

    .ad-card--nike {
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,245,245,0.96));
    }

    .ad-card--spotify {
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,255,246,0.96));
    }

    .ad-label {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      padding: 5px 10px;
      border-radius: 999px;
      background: rgba(244, 180, 0, 0.14);
      color: #8d6600;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* WHEEL */
    .wheel-wrapper {
      position: relative;
      width: min(72vw, 620px);
      aspect-ratio: 1;
      margin: 0 auto;
    }

    .wheel-pointer {
      position: absolute;
      top: -6px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 18px solid transparent;
      border-right: 18px solid transparent;
      border-top: 36px solid #e53935;
      z-index: 10;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    .wheel-canvas {
      width: 100%;
      height: 100%;
      cursor: pointer;
      transition: transform 0.05s linear;
      filter: drop-shadow(0 14px 38px rgba(18, 28, 45, 0.18));
    }

    .wheel-center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 18%;
      height: 18%;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 12px 32px rgba(18, 28, 45, 0.18);
      cursor: pointer;
      z-index: 5;
      border: 1px solid rgba(21, 32, 51, 0.08);
    }

    .wheel-center .material-icons {
      font-size: 28px;
      color: var(--primary);
    }

    .wheel-center:hover {
      transform: translate(-50%, -50%) scale(1.05);
    }

    .wheel-info {
      text-align: center;
      margin-top: 18px;
      width: min(100%, 680px);
      padding: 18px 18px 20px;
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(12px);
    }

    .wheel-title-input {
      font-size: 20px;
      font-weight: 500;
      border: none;
      background: transparent;
      text-align: center;
      width: 100%;
      padding: 8px;
      color: #f4f6fb;
      outline: none;
      border-bottom: 2px solid transparent;
      transition: border-color 0.2s;
    }

    .wheel-title-input:focus {
      border-bottom-color: var(--primary);
    }

    .spin-btn {
      margin-top: 16px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white;
      border: none;
      padding: 13px 52px;
      font-size: 16px;
      font-weight: 700;
      border-radius: 24px;
      cursor: pointer;
      letter-spacing: 1px;
      text-transform: uppercase;
      box-shadow: 0 12px 26px rgba(26, 115, 232, 0.28);
      transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
      font-family: inherit;
    }

    .spin-btn:hover {
      filter: saturate(1.05);
      transform: translateY(-1px);
      box-shadow: 0 16px 32px rgba(26, 115, 232, 0.34);
    }

    .spin-btn:active {
      transform: scale(0.98);
    }

    .spin-btn:disabled {
      background: #b0bec5;
      cursor: not-allowed;
      box-shadow: none;
    }

    .result-display {
      margin-top: 16px;
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      font-weight: 500;
      color: var(--primary);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .result-display.show {
      opacity: 1;
    }

    .result-display .result-label {
      background: rgba(255, 255, 255, 0.95);
      padding: 12px 24px;
      border-radius: 999px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(21, 32, 51, 0.08);
    }

    /* ENTRIES PANEL */
    .open-panel-btn {
      display: none;
    }

    .entries-panel {
      position: fixed;
      top: 66px;
      right: 0;
      width: 380px;
      height: calc(100vh - 78px);
      background: rgba(12, 13, 18, 0.98);
      box-shadow: -12px 0 36px rgba(0, 0, 0, 0.45);
      border-left: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px 0 0 16px;
      z-index: 200;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      --entries-scrollbar-gap: 12px;
    }

    .entries-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px calc(16px + var(--entries-scrollbar-gap)) 16px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      gap: 12px;
      background: rgba(255, 255, 255, 0.03);
    }

    .entries-header-copy {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
    }

    .entries-header h2 {
      margin: 0;
      font-size: 18px;
      font-weight: 500;
      color: #f4f6fb;
    }

    .entries-header-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: rgba(244, 246, 251, 0.72);
    }

    .entries-header-meta #entriesCount {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(79, 143, 240, 0.16);
      color: #dbe7ff;
      font-weight: 700;
    }

    .entries-list {
      flex: 1;
      overflow-y: auto;
      padding: 8px var(--entries-scrollbar-gap) 8px 0;
      position: relative;
      contain: content;
      overscroll-behavior: contain;
      background: rgba(255, 255, 255, 0.01);
      scrollbar-gutter: stable;
    }

    .entry-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px 16px;
      transition: background 0.2s;
      position: absolute;
      left: 0;
      right: 0;
      height: 58px;
      will-change: transform;
    }

    .entry-item:hover {
      background: rgba(255, 255, 255, 0.04);
    }

    .entry-color {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      cursor: pointer;
      border: 2px solid rgba(255, 255, 255, 0.92);
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
      flex-shrink: 0;
      position: relative;
    }

    .entry-color input[type="color"] {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: pointer;
      border: none;
    }

    .entry-text {
      flex: 1;
      border: none;
      background: transparent;
      font-size: 14px;
      padding: 8px 4px;
      outline: none;
      color: #f4f6fb;
      font-family: inherit;
      min-width: 0;
    }

    .entry-text:focus {
      border-bottom: 1px solid #4f8ff0;
    }

    .entry-weight {
      width: 50px;
      padding: 4px 8px;
      border: 1px solid var(--border);
      border-radius: 4px;
      font-size: 12px;
      text-align: center;
      outline: none;
      font-family: inherit;
    }

    .entry-delete {
      background: none;
      border: none;
      cursor: pointer;
      color: rgba(244, 246, 251, 0.72);
      padding: 4px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.2s, background 0.2s;
    }

    .entry-delete:hover {
      color: #ff6b6b;
      background: rgba(255, 107, 107, 0.12);
    }

    .entries-empty-state {
      position: absolute;
      inset: 0;
      padding: 18px 16px;
      color: rgba(244, 246, 251, 0.72);
      font-size: 13px;
      line-height: 1.55;
      display: flex;
      align-items: flex-start;
    }

    .entries-empty-card {
      width: 100%;
      border: 1px dashed rgba(255, 255, 255, 0.14);
      border-radius: 14px;
      padding: 14px;
      background: rgba(255, 255, 255, 0.04);
    }

    .entries-empty-card strong {
      display: block;
      color: #f4f6fb;
      font-size: 14px;
      margin-bottom: 4px;
    }

    .add-entry {
      display: flex;
      gap: 8px;
      padding: 16px calc(16px + var(--entries-scrollbar-gap)) 16px 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.02);
    }

    .add-entry input {
      flex: 1;
      padding: 10px 12px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 4px;
      font-size: 14px;
      outline: none;
      font-family: inherit;
      background: rgba(255, 255, 255, 0.04);
      color: #f4f6fb;
    }

    .add-entry input:focus {
      border-color: #4f8ff0;
    }

    .add-entry button {
      background: linear-gradient(135deg, #4f8ff0, #356fe0);
      color: white;
      border: none;
      width: 40px;
      border-radius: 4px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .add-entry button:hover {
      background: var(--primary-dark);
    }

    /* BULK ENTRY */
    .bulk-entry-section {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.02);
    }

    .bulk-toggle {
      width: 100%;
      padding: 12px calc(16px + var(--entries-scrollbar-gap)) 12px 16px;
      background: transparent;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 500;
      color: #8eb4ff;
      font-family: inherit;
      transition: background 0.2s;
    }

    .bulk-toggle:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    .bulk-toggle .material-icons {
      font-size: 20px;
      transition: transform 0.2s;
    }

    .bulk-toggle[aria-expanded="true"] .material-icons {
      transform: rotate(180deg);
    }

    .bulk-entry-content {
      padding: 0 calc(16px + var(--entries-scrollbar-gap)) 16px 16px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .bulk-entry-content textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 4px;
      font-family: 'Roboto', sans-serif;
      font-size: 13px;
      resize: vertical;
      min-height: 100px;
      max-height: 250px;
      outline: none;
      background: rgba(255, 255, 255, 0.04);
      color: #f4f6fb;
    }

    .bulk-entry-content textarea:focus {
      border-color: #4f8ff0;
    }

    .bulk-entry-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      flex-wrap: wrap;
    }

    .bulk-replace {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: rgba(244, 246, 251, 0.72);
      cursor: pointer;
      user-select: none;
    }

    .bulk-replace input {
      cursor: pointer;
    }

    .primary-btn {
      background: linear-gradient(135deg, #4f8ff0, #356fe0);
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 4px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 500;
      font-family: inherit;
      transition: background 0.2s;
    }

    .primary-btn:hover {
      background: var(--primary-dark);
    }

    .primary-btn .material-icons {
      font-size: 18px;
    }

    .text-btn {
      background: transparent;
      border: none;
      color: var(--primary);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      padding: 4px 8px;
      font-family: inherit;
      border-radius: 4px;
      transition: background 0.2s;
    }

    .text-btn:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .text-btn .material-icons {
      font-size: 16px;
    }

    .panel-actions {
      display: flex;
      gap: 8px;
      padding: 12px 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.02);
    }

    .panel-actions button {
      flex: 1;
      padding: 10px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.04);
      color: #f4f6fb;
      border-radius: 4px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: 13px;
      font-family: inherit;
      transition: background 0.2s;
    }

    .panel-actions button:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .panel-actions button .material-icons {
      font-size: 18px;
    }

    .panel-actions .danger:hover {
      background: rgba(255, 107, 107, 0.12);
      color: #ff6b6b;
      border-color: #ff6b6b;
    }

    /* SAVED WHEELS SECTION */
    .saved-wheels {
      padding: 12px 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      max-height: 200px;
      overflow-y: auto;
    }

    .saved-wheels h3 {
      font-size: 13px;
      text-transform: uppercase;
      color: rgba(244, 246, 251, 0.68);
      margin: 0 0 8px;
      letter-spacing: 0.5px;
    }

    .saved-wheel-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px;
      border-radius: 4px;
      cursor: pointer;
      transition: background 0.2s;
      font-size: 14px;
    }

    .saved-wheel-item:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    .saved-wheel-item .material-icons {
      font-size: 18px;
      color: rgba(244, 246, 251, 0.72);
    }

    .saved-wheel-item .delete-saved {
      margin-left: auto;
    }

    /* TOAST */
    .toast {
      position: fixed;
      bottom: 100px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: #323232;
      color: white;
      padding: 12px 24px;
      border-radius: 4px;
      font-size: 14px;
      box-shadow: var(--shadow-lg);
      opacity: 0;
      transition: opacity 0.3s, transform 0.3s;
      z-index: 1000;
      pointer-events: none;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* MULTIPLE WHEELS */
    .wheels-container {
      display: flex;
      flex-direction: column;
      gap: 32px;
      align-items: center;
      width: 100%;
    }

    .wheel-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 980px;
      padding: 24px 18px 20px;
      border-radius: 28px;
      background: transparent;
      border: none;
      box-shadow: none;
      backdrop-filter: none;
    }

    .wheel-section-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 14px;
      align-self: flex-end;
    }

    .wheel-section-header button {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 4px;
      border-radius: 50%;
    }

    .wheel-section-header button:hover {
      background: var(--hover);
      color: var(--text);
    }

    .wheel-section-header .trash-btn:hover {
      color: #e53935;
      background: rgba(229, 57, 53, 0.1);
    }

    /* DESCRIPTIVE TITLE (for SEO) */
    .descriptive-title {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: -1px !important;
      padding: 0;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
      border: 0;
      top: 0;
    }

    /* CONFETTI CANVAS */
    #confettiCanvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 500;
    }

    /* MODAL */
    .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
    }

    .modal-backdrop.open {
      opacity: 1;
      visibility: visible;
    }

    .modal {
      background: var(--surface);
      border-radius: 8px;
      padding: 24px;
      max-width: 400px;
      width: 90%;
      box-shadow: var(--shadow-lg);
      transform: scale(0.9);
      transition: transform 0.3s;
    }

    .modal-backdrop.open .modal {
      transform: scale(1);
    }

    .modal h3 {
      margin: 0 0 12px;
      font-size: 18px;
    }

    .modal p {
      margin: 0 0 20px;
      color: var(--text-secondary);
    }

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

    .modal-actions button {
      padding: 8px 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 14px;
      font-family: inherit;
    }

    .modal-actions .cancel {
      background: transparent;
      color: var(--text-secondary);
    }

    .modal-actions .confirm {
      background: var(--primary);
      color: white;
    }

    .modal-actions .danger {
      background: #e53935;
      color: white;
    }

    /* WINNER MODAL */
    .winner-backdrop {
      position: fixed;
      inset: 0;
      z-index: 2100;
      display: flex;
      align-items: center;
      justify-content: center;
      background:
        radial-gradient(circle at center, rgba(54, 84, 255, 0.28), transparent 45%),
        rgba(0, 0, 0, 0.84);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    .winner-backdrop.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .winner-modal {
      position: relative;
      width: min(92vw, 660px);
      min-height: 320px;
      padding: 30px 28px 26px;
      border-radius: 24px;
      overflow: hidden;
      background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(12, 12, 12, 0.98));
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
      transform: translateY(18px) scale(0.96);
      animation: winnerModalIn 260ms ease forwards;
    }

    .winner-backdrop.open .winner-modal {
      transform: translateY(0) scale(1);
    }

    .winner-badge {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      color: #f2f4ff;
      background: rgba(64, 92, 255, 0.9);
      box-shadow: 0 12px 24px rgba(42, 66, 255, 0.25);
    }

    .winner-name {
      position: relative;
      z-index: 2;
      margin-top: 18px;
      font-size: clamp(42px, 7vw, 82px);
      line-height: 0.95;
      letter-spacing: -0.05em;
      text-align: center;
      color: #ffffff;
      text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.35),
        0 0 28px rgba(120, 156, 255, 0.24);
      padding: 24px 10px 34px;
      word-break: break-word;
      animation: winnerPop 320ms ease;
    }

    .winner-actions {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
    }

    .winner-action {
      border: 0;
      border-radius: 8px;
      padding: 11px 16px;
      font: inherit;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      color: #fff;
      background: linear-gradient(180deg, #5f74ff, #4b5ee8);
      box-shadow: 0 10px 18px rgba(53, 76, 224, 0.3);
      transition: transform 0.15s ease, filter 0.15s ease;
    }

    .winner-action:hover {
      transform: translateY(-1px);
      filter: saturate(1.06);
    }

    .winner-action--ghost {
      background: rgba(255, 255, 255, 0.08);
      box-shadow: none;
    }

    .winner-action--danger {
      background: linear-gradient(180deg, #ef5c5c, #d74242);
    }

    .winner-streamers {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: 1;
    }

    .winner-streamer {
      position: absolute;
      top: -20%;
      width: 14px;
      height: 160%;
      border-radius: 999px;
      opacity: 0.95;
      transform-origin: top center;
      animation: streamerFall var(--dur, 1400ms) cubic-bezier(.2,.7,.15,1) forwards;
      filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.12));
    }

    .winner-streamer::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background:
        linear-gradient(180deg,
          rgba(255,255,255,0.42) 0%,
          rgba(255,255,255,0.1) 14%,
          rgba(255,255,255,0.0) 24%,
          rgba(255,255,255,0.18) 42%,
          rgba(255,255,255,0.0) 58%,
          rgba(255,255,255,0.28) 74%,
          rgba(255,255,255,0.0) 100%);
      mix-blend-mode: screen;
      opacity: 0.85;
    }

    @keyframes winnerModalIn {
      from {
        opacity: 0;
        transform: translateY(24px) scale(0.94);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes winnerPop {
      0% {
        transform: scale(0.88);
        filter: blur(1px);
        opacity: 0;
      }
      100% {
        transform: scale(1);
        filter: blur(0);
        opacity: 1;
      }
    }

    @keyframes streamerFall {
      0% {
        transform: translate3d(0, -120%, 0) rotate(var(--rot, 0deg)) scaleY(0.3);
        opacity: 0;
      }
      18% {
        opacity: 1;
      }
      100% {
        transform: translate3d(var(--dx, 0px), 130%, 0) rotate(calc(var(--rot, 0deg) + 260deg)) scaleY(1);
        opacity: 0;
      }
    }

    /* RESPONSIVE */
    @media (max-width: 1180px) {
      .page-shell {
        grid-template-columns: 1fr;
        padding: 18px 14px 0;
      }

      .ad-rail {
        display: none;
      }

      .main-content {
        padding: 8px 16px 96px;
      }
    }

    @media (max-width: 600px) {
      .hero-copy {
        padding-left: 4px;
        padding-right: 4px;
      }

      .hero-copy p {
        font-size: 15px;
      }

      .top-ad-strip {
        padding: 12px 14px;
        border-radius: 16px;
      }

      .wheel-wrapper {
        width: 88vw;
        max-width: 520px;
      }

      .entries-panel {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: auto;
        max-height: none;
        margin-top: 16px;
        border-radius: 18px;
        box-shadow: var(--shadow);
      }

      .entries-list {
        max-height: 46vh;
      }

      .app-header {
        padding: 8px;
      }

      .logo {
        height: 22px;
      }

      .wheel-section {
        padding: 18px 12px 16px;
        border-radius: 22px;
      }

      .wheel-info {
        padding: 14px 12px 16px;
        border-radius: 18px;
      }

    }

    @media (max-width: 380px) {
      .spin-btn {
        padding: 12px 32px;
        font-size: 14px;
      }

      .winner-modal {
        min-height: 280px;
        padding: 24px 18px 20px;
        border-radius: 20px;
      }

      .winner-name {
        padding: 18px 6px 24px;
      }

      .winner-action {
        width: 100%;
        justify-content: center;
      }
    }
