:root {
    --cm-bg:         #0a1628;
    --cm-bg-soft:    #0e1d33;
    --cm-blue:       #2563eb;
    --cm-blue-soft:  #7aa5ff;
    --cm-amber:      #f5c842;
    --cm-amber-soft: #ffd76a;
    --cm-gold-glow:  rgba(255,215,106,.45);
    --cm-live:       #ff9a5c;
    --cm-live-glow:  rgba(255,154,92,.55);
    --cm-ink:        #eaf2ff;
    --cm-ink-soft:   #9fb2cc;
    --cm-ink-mute:   #647794;
    --cm-line:       rgba(159,178,204,.14);

    --cm-s1: 8px; --cm-s2: 16px; --cm-s3: 24px; --cm-s4: 32px; --cm-s5: 48px;
    --cm-radius: 20px;
    --cm-maxw: 920px;
    --cm-ease: cubic-bezier(.4, 0, .2, 1);
    --cm-ease-out: cubic-bezier(.16, 1, .3, 1);
    --cm-ease-in:  cubic-bezier(.55, 0, .9, .3);
    --cm-swap-out: .5s;
    --cm-swap-in:  .7s;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }

  .cm-wrap { max-width: var(--cm-maxw); margin: 0 auto; padding: var(--cm-s5) var(--cm-s3); }

  .cm-lots-trigger {
    appearance: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    min-height: 230px;
    border-radius: var(--cm-radius);
    background: linear-gradient(165deg, #1b2c42, #142234);
    border: 1px solid rgba(245, 200, 66, .22);
    box-shadow: inset 0 0 0 1px rgba(245, 200, 66, .08), 0 20px 50px -30px rgba(0, 0, 0, .85);
    transition: border-color .2s var(--cm-ease), box-shadow .2s var(--cm-ease), transform .2s var(--cm-ease);
    font: inherit;
    text-align: left;
    color: inherit;
  }

  .lu-main-blks {
    border: 1px solid #4fc8a04d;
  }
  .cm-lots-trigger:hover {
    border-color: rgba(245,200,66,.4);
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(245,200,66,.16), 0 26px 60px -28px rgba(0,0,0,.9);
  }
  .cm-lots-trigger-head { display: flex; align-items: center; justify-content: space-between; }
  .cm-lots-trigger-ic {
    display: grid; place-items: center; flex: none;
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(160deg, rgba(245,200,66,.22), rgba(245,200,66,.08));
    border: 1px solid rgba(245,200,66,.32);
    color: var(--cm-amber-soft);
  }
  .cm-lots-trigger-ic svg { width: 18px; height: 18px; }
  .cm-lots-count {
    flex: none; font-variant-numeric: tabular-nums;
    font: 700 13px/1 "Sora", sans-serif;
    color: var(--cm-amber-soft);
    background: rgba(245,200,66,.14);
    border: 1px solid rgba(245,200,66,.3);
    padding: 6px 12px; border-radius: 999px;
  }
  .cm-lots-trigger-body { display: flex; flex-direction: column; gap: 8px; }
  .cm-lots-trigger-body b { display: flex; align-items: center; gap: 8px; font: 700 19px/1.3 "Sora", sans-serif; color: var(--cm-amber-soft); }
  .cm-lots-trigger-warn { width: 17px; height: 17px; flex: none; color: var(--cm-amber); }
  .cm-lots-trigger-body small { font: 500 13.5px/1.5 "DM Sans", sans-serif; color: var(--cm-ink-soft); }
  .cm-lots-trigger-body small b { color: var(--cm-ink); font-weight: 700; }
  .cm-lots-trigger-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
  .cm-lots-trigger-watch {
    display: flex; align-items: center; gap: 6px;
    font: 500 12.5px/1 "DM Sans", sans-serif;
    color: var(--cm-ink-mute);
  }
  .cm-lots-trigger-watch svg { width: 15px; height: 15px; flex: none; }
  .cm-lots-trigger-watch b { font-weight: 700; color: var(--cm-ink-soft); font-variant-numeric: tabular-nums; }
  .cm-lots-trigger-cta {
    display: flex; align-items: center; gap: 6px; flex: none;
    font: 700 13px/1 "DM Sans", sans-serif;
    color: var(--cm-amber-soft);
  }
  .cm-chev { width: 16px; height: 16px; flex: none; transition: transform .2s var(--cm-ease); }
  .cm-lots-trigger:hover .cm-chev { transform: translateX(3px); }

  .cm-lots-row {
    background-color: #081f38;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin: 0px 0px 20px 0px;
    padding: 10px;
    border-radius: 20px;
  }
  .cm-lots-dialog {
    padding: 0; border: none; background: transparent; color: inherit;
    max-width: min(560px, calc(100vw - 32px));
    width: 100%;
    max-height: min(88vh, 900px);
    overflow: visible;
    opacity: 1; transform: scale(1) translateY(0);
    transition: opacity .3s var(--cm-ease-out), transform .3s var(--cm-ease-out), overlay .3s allow-discrete, display .3s allow-discrete;
  }
  .cm-lots-dialog::backdrop {
    background: rgba(4,10,20,.72);
    backdrop-filter: blur(6px);
    opacity: 1;
    transition: opacity .3s var(--cm-ease-out), overlay .3s allow-discrete, display .3s allow-discrete;
  }
  @starting-style {
    .cm-lots-dialog[open] { opacity: 0; transform: scale(.96) translateY(10px); }
    .cm-lots-dialog[open]::backdrop { opacity: 0; }
  }
  .cm-lots-dialog-inner {
    position: relative;
    background: #101f36;
    border: 1px solid var(--cm-line);
    border-radius: var(--cm-radius);
    box-shadow: 0 24px 60px -24px rgba(0,0,0,.75);
    padding: var(--cm-s4);
    max-height: min(88vh, 900px);
    overflow-y: auto;
    isolation: isolate;
  }
  .cm-lots-dialog-inner::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .05;
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
  }
  .cm-lots-dialog-inner > * { position: relative; z-index: 1; }
  .cm-lots-close {
    position: absolute; top: 14px; right: 14px; z-index: 4;
    width: 32px; height: 32px; border-radius: 10px;
    display: grid; place-items: center;
    background: rgba(159,178,204,.08);
    border: 1px solid var(--cm-line);
    color: var(--cm-ink-soft);
    cursor: pointer;
    transition: background .2s var(--cm-ease), border-color .2s var(--cm-ease), color .2s var(--cm-ease);
  }
  .cm-lots-close:hover { background: rgba(229,72,77,.14); border-color: rgba(229,72,77,.4); color: #e5484d; }
  .cm-lots-close svg { width: 15px; height: 15px; }
  .cm-lots-dialog-inner .cm-head { padding-right: 34px; }

  .cm-head { margin-bottom: var(--cm-s3); }
  h2.cm-title {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 3.8vw, 30px);
    line-height: 1.15; letter-spacing: -.02em;
    margin: 0 0 6px;
  }
  .cm-lead { max-width: 58ch; color: var(--cm-ink-soft); font-size: 15px; margin: 0; display: flex; align-items: flex-start; gap: 8px; }
  .cm-lead span { min-width: 0; text-wrap: balance; }
  .cm-lead b { color: var(--cm-amber-soft); font-weight: 700; }
  .cm-warn-ic { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--cm-amber); }

  .cm-live {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    margin-bottom: var(--cm-s2);
    font: 500 12.5px/1 "DM Sans", sans-serif;
    color: var(--cm-ink-mute);
  }
  .cm-live-tag { display: inline-flex; align-items: center; gap: 6px; }
  .cm-led {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--cm-live);
    box-shadow: 0 0 6px var(--cm-live-glow), 0 0 12px var(--cm-live-glow);
    animation: liveP 1.6s ease-in-out infinite;
  }
  @keyframes liveP {
    0%,100% { opacity: 1; transform: scale(1); }
    50%     { opacity: .55; transform: scale(.85); }
  }
  .cm-live-tag b {
    font-weight: 700; letter-spacing: .08em; color: var(--cm-live);
    font-size: 11px; text-transform: uppercase;
  }
  .cm-live .cm-sep { color: var(--cm-ink-mute); opacity: .4; }
  .cm-live .cm-watch { display: inline-flex; align-items: center; gap: 5px; }
  .cm-live .cm-watch svg { width: 13px; height: 13px; color: var(--cm-ink-mute); }
  .cm-live .cm-watch b {
    display: inline-block; min-width: 27px; text-align: right;
    color: var(--cm-ink-soft); font-weight: 600; font-variant-numeric: tabular-nums;
    transition: color .3s var(--cm-ease);
  }
  .cm-live .cm-watch b.cm-flash { color: var(--cm-amber); }

  .cm-stage {
    position: relative;
    padding: var(--cm-s3);
    border-radius: var(--cm-radius);
    overflow: hidden;
    isolation: isolate;
  }

  .cm-ghost {
    position: absolute;
    top: -18px; right: -12px;
    font-family: "Sora", sans-serif;
    font-weight: 900;
    font-size: clamp(180px, 32vw, 260px);
    line-height: .8; letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245,200,66,.14);
    pointer-events: none; user-select: none; z-index: 0;
    transition: opacity var(--cm-swap-in) var(--cm-ease), transform var(--cm-swap-in) var(--cm-ease);
    will-change: transform, opacity;
  }

  .cm-focus {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--cm-s3);
    align-items: center;
    padding-bottom: var(--cm-s3);
  }

  .cm-focus-num {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: clamp(72px, 13vw, 108px);
    line-height: .9; letter-spacing: -.045em;
    color: var(--cm-ink);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 12px 40px rgba(245,200,66,.32);
    position: relative;
  }
  .cm-focus-details { display: grid; gap: 10px; min-width: 0; }

  .cm-place {
    font-family: "Sora", sans-serif;
    font-weight: 600; font-size: 17px;
    color: var(--cm-ink); line-height: 1.25;
  }
  .cm-place small {
    display: block;
    font: 500 13px/1.2 "DM Sans", sans-serif;
    color: var(--cm-ink-mute);
    margin-top: 3px; letter-spacing: 0;
  }

  .cm-meta-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    font-size: 13.5px; color: var(--cm-ink-soft);
  }
  .cm-sep { color: var(--cm-ink-mute); }
  .cm-confirm { display: inline-flex; align-items: center; gap: 6px; color: var(--cm-ink); }
  .cm-confirm svg { width: 14px; height: 14px; color: var(--cm-amber); flex: none; }
  .cm-confirm b { font-weight: 600; }

  .cm-conf { display: grid; gap: 6px; }
  .cm-conf-top {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 12px; color: var(--cm-ink-mute);
  }
  .cm-conf-top .cm-pct {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: "Sora", sans-serif; font-weight: 600;
    font-size: 12.5px; color: var(--cm-ink-soft);
    font-variant-numeric: tabular-nums;
  }
  .cm-pct .cm-tdot {
    width: 6px; height: 6px; border-radius: 50%;
    background: color-mix(in srgb, var(--cm-dot-c, var(--cm-amber)) calc((1 - var(--cm-peak, 0)) * 100%), #7ddba0 calc(var(--cm-peak, 0) * 100%));
    box-shadow: 0 0 6px rgba(245,200,66,.5);
    transition: background .4s var(--cm-ease), box-shadow .4s var(--cm-ease);
  }
  .cm-track { display: flex; gap: 3px; height: 6px; }
  .cm-seg {
    flex: 1; min-width: 0; height: 100%; border-radius: 2px;
    background: rgba(159,178,204,.12);
    transition: background .3s var(--cm-ease), box-shadow .3s var(--cm-ease);
    transition-delay: var(--cm-seg-delay, 0ms);
  }
  .cm-seg.cm-on {
    background: color-mix(in srgb, var(--cm-seg-c, var(--cm-amber)) calc((1 - var(--cm-peak, 0)) * 100%), #7ddba0 calc(var(--cm-peak, 0) * 100%));
    box-shadow: 0 0 6px var(--cm-seg-glow, rgba(245,200,66,.35));
  }
  .cm-track.cm-tier-low  .cm-seg.cm-on { --cm-seg-c: rgba(245,200,66,.45); --cm-seg-glow: rgba(245,200,66,.25); }
  .cm-track.cm-tier-mid  .cm-seg.cm-on { --cm-seg-c: var(--cm-amber);         --cm-seg-glow: rgba(245,200,66,.45); }
  .cm-track.cm-tier-high .cm-seg.cm-on { --cm-seg-c: #ffe49a;              --cm-seg-glow: rgba(245,200,66,.7); }
  .cm-pct.cm-tier-low .cm-tdot  { --cm-dot-c: rgba(245,200,66,.45); box-shadow: 0 0 6px rgba(245,200,66,.35); }
  .cm-pct.cm-tier-mid .cm-tdot  { --cm-dot-c: var(--cm-amber); box-shadow: 0 0 6px rgba(245,200,66,.6); }
  .cm-pct.cm-tier-high .cm-tdot { --cm-dot-c: #ffe49a; box-shadow: 0 0 8px rgba(245,200,66,.8); }

  .cm-fn-value, .cm-focus-details {
    transition:
      opacity var(--cm-swap-in) var(--cm-ease-out),
      transform var(--cm-swap-in) var(--cm-ease-out),
      filter var(--cm-swap-in) var(--cm-ease-out);
    will-change: opacity, transform, filter;
  }
  .cm-fn-value.cm-leaving, .cm-focus-details.cm-leaving {
    opacity: 0;
    transform: translateY(12px) scale(.985);
    filter: blur(6px);
    transition:
      opacity var(--cm-swap-out) var(--cm-ease-in),
      transform var(--cm-swap-out) var(--cm-ease-in),
      filter var(--cm-swap-out) var(--cm-ease-in);
  }

  .cm-rail-wrap {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--cm-s1);
    align-items: center;
    padding-top: var(--cm-s2);
    border-top: 1px solid var(--cm-line);
  }
  .cm-nav {
    appearance: none;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(159,178,204,.06);
    border: 1px solid var(--cm-line);
    color: var(--cm-ink-soft); cursor: pointer;
    transition: background .18s var(--cm-ease), color .18s var(--cm-ease), transform .18s var(--cm-ease);
  }
  .cm-nav:hover { background: rgba(37,99,235,.18); color: var(--cm-blue-soft); }
  .cm-nav:active { transform: scale(.94); }
  .cm-nav svg { width: 14px; height: 14px; }
  .cm-nav:focus-visible { outline: 2px solid var(--cm-blue); outline-offset: 2px; }

  .cm-rail {
    display: flex; gap: var(--cm-s1);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 12px 2px 4px;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
  .cm-rail::-webkit-scrollbar { display: none; }

  .cm-pill {
    position: relative;
    flex: none;
    scroll-snap-align: center;
    appearance: none;
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 2px;
    padding: 8px 12px;
    min-width: 82px;
    border-radius: 12px;
    background: rgba(159,178,204,.05);
    border: 1px solid var(--cm-line);
    color: var(--cm-ink-soft);
    cursor: pointer; text-align: left;
    transition: background .2s var(--cm-ease), border-color .2s var(--cm-ease),
                color .2s var(--cm-ease), transform .2s var(--cm-ease), box-shadow .2s var(--cm-ease);
    will-change: transform;
  }
  .cm-pill-num {
    font-family: "Sora", sans-serif;
    font-weight: 700; font-size: 15px; line-height: 1;
    color: var(--cm-ink); font-variant-numeric: tabular-nums;
  }
  .cm-pill-place {
    font-size: 11px; line-height: 1;
    color: var(--cm-ink-mute);
    white-space: nowrap; max-width: 94px;
    overflow: hidden; text-overflow: ellipsis;
  }
  .cm-pill:hover {
    background: rgba(37,99,235,.10);
    border-color: rgba(37,99,235,.24);
  }
  .cm-pill[aria-selected="true"] {
    background: rgba(37,99,235,.18);
    border-color: rgba(37,99,235,.45);
    box-shadow: 0 0 0 1px rgba(37,99,235,.25), 0 8px 24px -12px rgba(37,99,235,.8);
  }
  .cm-pill[aria-selected="true"] .cm-pill-num { color: var(--cm-blue-soft); }
  .cm-pill:focus-visible { outline: 2px solid var(--cm-blue); outline-offset: 2px; }

  .cm-pill.cm-fresh {
    border-color: var(--cm-amber);
    background: linear-gradient(180deg, rgba(255,215,106,.16), rgba(245,200,66,.04));
    box-shadow:
      0 0 0 1px rgba(255,215,106,.5),
      0 0 24px -4px var(--cm-gold-glow),
      0 10px 30px -12px rgba(255,215,106,.5);
    animation: freshEnter .6s var(--cm-ease-out) both, freshFade 5s ease-out 5s both;
  }
  .cm-pill.cm-fresh .cm-pill-num { color: var(--cm-amber-soft); }
  .cm-pill.cm-fresh::after {
    content: "NEW";
    position: absolute;
    top: -7px; right: -4px;
    font: 800 8.5px/1 "DM Sans", sans-serif;
    padding: 3px 5px 3px;
    background: var(--cm-amber);
    color: #1a1a1a;
    border-radius: 5px;
    letter-spacing: .04em;
    white-space: nowrap;
    box-shadow: 0 4px 12px -2px rgba(245,200,66,.6);
    animation: badgePop .5s var(--cm-ease-out) both, fadeOut 1.5s ease-out 8s both;
  }
  @keyframes freshEnter {
    0% { transform: scale(.7) translateX(-14px); opacity: 0; }
    100% { transform: scale(1) translateX(0); opacity: 1; }
  }
  @keyframes freshFade {
    0% { border-color: var(--cm-amber); }
    100% {
      border-color: var(--cm-line);
      background: rgba(159,178,204,.05);
      box-shadow: none;
    }
  }
  @keyframes badgePop {
    0% { transform: scale(0) rotate(-20deg); opacity: 0; }
    60% { transform: scale(1.15) rotate(5deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
  }
  @keyframes fadeOut { to { opacity: 0; } }

  .cm-autoplay {
    position: absolute;
    left: var(--cm-s3); right: var(--cm-s3); bottom: 0;
    height: 1.5px; border-radius: 999px;
    background: rgba(159,178,204,.06);
    overflow: hidden; z-index: 2;
  }
  .cm-autoplay-fill {
    height: 100%; width: 0;
    background: rgba(245,200,66,.38);
  }
  .cm-autoplay-fill.cm-run { animation: fill 12s linear forwards; }
  @keyframes fill { from { width: 0 } to { width: 100% } }

  @media (max-width: 640px) {
    :root { --cm-s3: 18px; --cm-s4: 22px; --cm-s5: 32px; --cm-radius: 16px; }
    .cm-wrap { padding: 28px 16px 40px; }
    .cm-lots-row { grid-template-columns: 1fr; }
    .cm-lots-row .cm-lots-trigger { order: 2; }
    .cm-lots-trigger { padding: 20px; min-height:224px; gap: 16px; }
    .cm-lots-trigger-ic { width: 36px; height: 36px; }
    .cm-lots-trigger-ic svg { width: 16px; height: 16px; }
    .cm-lots-trigger-body b { font-size: 16.5px; }
    .cm-lots-trigger-body small { font-size: 12.5px; }
    .cm-lots-count { font-size: 12px; padding: 5px 10px; }
    .cm-lots-dialog { max-width: calc(100vw - 20px); max-height: 92vh; }
    .cm-lots-dialog-inner { padding: 20px 16px; max-height: 92vh; }
    .cm-lots-dialog-inner .cm-head { padding-right: 30px; }
    .cm-head { margin-bottom: 24px; }
    h2.cm-title { font-size: 22px; margin-bottom: 4px; }
    .cm-lead { font-size: 14px; line-height: 1.45; gap: 7px; }
    .cm-warn-ic { width: 14px; height: 14px; margin-top: 1px; }
    .cm-stage { padding: 18px 16px; }
    .cm-ghost { display: none; }
    .cm-live { font-size: 11.5px; gap: 6px; margin-bottom: 20px; }
    .cm-live .cm-watch { gap: 4px; }
    .cm-live .cm-watch svg { width: 12px; height: 12px; }
    .cm-focus {
      display: flex; flex-direction: column; align-items: center; text-align: center;
      gap: 12px; padding-bottom: 18px;
    }
    .cm-focus-details { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
    .cm-place { text-align: center; }
    .cm-meta-row { justify-content: center; }
    .cm-conf { width: 100%; max-width: 280px; margin: 0 auto; }
    .cm-focus-num { font-size: 68px; line-height: .9; letter-spacing: -.04em; text-shadow: 0 8px 26px rgba(245,200,66,.28); }
    .cm-place { font-size: 16px; }
    .cm-place small { font-size: 12.5px; }
    .cm-meta-row { gap: 6px 8px; font-size: 13px; }
    .cm-conf-top { font-size: 11.5px; }
    .cm-conf-top .cm-pct { font-size: 12px; }
    .cm-rail-wrap { gap: 6px; padding-top: 14px; }
    .cm-nav { width: 28px; height: 28px; }
    .cm-nav svg { width: 12px; height: 12px; }
    .cm-rail { gap: 6px; mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
    .cm-pill { min-width: 66px; padding: 6px 10px; border-radius: 10px; }
    .cm-pill-num { font-size: 14px; }
    .cm-pill-place { font-size: 10.5px; max-width: 72px; }
    .cm-autoplay { left: 16px; right: 16px; }
  }

  @media (max-width: 380px) {
    .cm-wrap { padding: 22px 12px 32px; }
    .cm-stage { padding: 16px 14px; }
    h2.cm-title { font-size: 20px; }
    .cm-focus-num { font-size: 58px; }
    .cm-pill { min-width: 60px; padding: 5px 8px; }
    .cm-pill-num { font-size: 13px; }
    .cm-pill-place { font-size: 10px; }
    .cm-nav { width: 24px; height: 24px; }
    .cm-meta-row { font-size: 12.5px; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
    }
  }