/* The stingers.now menu, drawn in HTML. Used by the website and by the image renderer (media/stage.html). */
@property --k { syntax: "<number>"; inherits: true; initial-value: 0; }

.sn-win {
  --acc: 240, 178, 62;
  --sn-raised: #1d1d22;
  --sn-line: #26262c;
  --sn-text: #f2f0ec;
  --sn-sub: #b3b0aa;
  --sn-muted: #77746f;
  position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #3a3a42;
  background: linear-gradient(#17171a, #101012); color: var(--sn-text);
  font: 11px/1.4 Inter, system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none; text-align: left;
}
.sn-bar { display: flex; align-items: center; gap: 9px; padding: 13px 16px 12px; }
.sn-bar img { width: 20px; height: 20px; }
.sn-name { font-weight: 700; font-size: 13.5px; }
.sn-pill { font-size: 10.5px; color: var(--sn-muted); border: 1px solid var(--sn-line); background: var(--sn-raised); border-radius: 999px; padding: 1px 7px; }
.sn-status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--sn-sub); background: var(--sn-raised); border: 1px solid var(--sn-line); border-radius: 999px; padding: 3px 11px 3px 10px; white-space: nowrap; }
.sn-status .sn-role { color: var(--sn-muted); }
.sn-dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--acc)); margin-right: 1px; }
.sn-win:not(.sn-still) .sn-dot { animation: sn-pulse 1.4s ease-in-out infinite; }
@keyframes sn-pulse { 50% { opacity: .35; } }

.sn-row { display: flex; gap: 8px; margin: 0 16px; }
.sn-tabs { position: relative; flex: 1; min-width: 0; display: flex; gap: 1px; padding: 3px; background: var(--sn-raised); border: 1px solid var(--sn-line); border-radius: 10px; overflow-x: auto; scrollbar-width: none; }
.sn-tabs::-webkit-scrollbar { display: none; }
.sn-tabs button { position: relative; z-index: 1; flex: 1 0 auto; border: 0; background: none; color: var(--sn-muted); font: inherit; font-size: 11px; padding: 5px 7px; border-radius: 7px; cursor: pointer; transition: color .2s; }
.sn-tabs button:hover { color: var(--sn-sub); }
.sn-tabs button.on { color: var(--sn-text); }
.sn-ind { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 7px; background: #2b2b31; box-shadow: 0 0 0 1px #3b3b43 inset; }
.sn-win:not(.sn-still) .sn-ind { transition: left .28s cubic-bezier(.3,.7,.2,1), width .28s cubic-bezier(.3,.7,.2,1); }
.sn-start { flex: none; width: 74px; display: grid; place-items: center; border-radius: 10px; font-weight: 700; font-size: 12px; color: #1a1408;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)) , rgb(var(--acc)); }

.sn-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px 16px; overflow: hidden; align-content: start; }
.sn-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sn-box { background: linear-gradient(#1b1b1f, #161619); border: 1px solid var(--sn-line); border-radius: 11px; padding: 0 12px 6px; }
.sn-box h4 { margin: 0 0 4px; padding: 9px 0 7px; font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--sn-sub); border-bottom: 1px solid var(--sn-line); display: flex; align-items: center; gap: 7px; font-weight: 700; }
.sn-box h4::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: rgb(var(--acc)); }
.sn-it { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 25px; white-space: nowrap; }
.sn-it .sn-v { color: var(--sn-sub); overflow: hidden; text-overflow: ellipsis; }
.sn-muted { color: var(--sn-muted); }
.sn-acc { color: rgb(var(--acc)) !important; }

/* switch: --k goes 0 (off) to 1 (on) so it can slide */
.sn-sw { cursor: pointer; }
.sn-sw.on { --k: 1; }
.sn-win:not(.sn-still) .sn-sw { transition: --k .2s ease; }
.sn-tg { flex: none; width: 26px; height: 15px; border-radius: 99px; position: relative;
  background: color-mix(in srgb, rgb(var(--acc)) calc(var(--k) * 100%), #3a3a42); }
.sn-tg::after { content: ""; position: absolute; top: 2px; left: calc(2px + 11px * var(--k)); width: 11px; height: 11px; border-radius: 50%;
  background: color-mix(in srgb, #1a1612 calc(var(--k) * 100%), #b3b0aa); }

.sn-sl { display: block; padding: 4px 0 5px; }
.sn-sl .sn-top { display: flex; justify-content: space-between; margin-bottom: 5px; }
.sn-sl .sn-top span:last-child { color: var(--sn-sub); }
.sn-track { height: 4px; border-radius: 99px; background: #2c2c33; overflow: hidden; }
.sn-track i { display: block; height: 100%; border-radius: 99px; background: rgb(var(--acc)); }
.sn-dd .sn-v { display: inline-flex; align-items: center; gap: 6px; background: var(--sn-raised); border: 1px solid var(--sn-line); border-radius: 6px; padding: 1px 7px; color: var(--sn-text); }
.sn-dd .sn-v::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid var(--sn-muted); border-bottom: 1.5px solid var(--sn-muted); transform: rotate(45deg) translate(-1px, -1px); }
.sn-inp { display: block; padding: 3px 0 6px; }
.sn-inp div { margin-top: 4px; background: #121215; border: 1px solid var(--sn-line); border-radius: 6px; padding: 4px 8px; color: var(--sn-muted); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* chips: same --k idea */
/* like the real menu: a solid accent outline on a dark fill, light text */
.sn-chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 4px 0 7px; }
.sn-chip { font-size: 10.5px; font-weight: 500; padding: 3px 9px; border-radius: 99px; cursor: pointer; border: 1px solid;
  border-color: color-mix(in srgb, rgba(var(--acc), .9) calc(var(--k) * 100%), var(--sn-line));
  background: color-mix(in srgb, rgba(var(--acc), .09) calc(var(--k) * 100%), var(--sn-raised));
  color: color-mix(in srgb, #efe9dc calc(var(--k) * 100%), var(--sn-muted)); }
.sn-chip.on { --k: 1; }
.sn-win:not(.sn-still) .sn-chip { transition: --k .15s ease; }

.sn-btns { display: flex; gap: 5px; padding: 4px 0 6px; }
.sn-btns span { flex: 1; text-align: center; font-size: 10.5px; padding: 4px 0; border-radius: 6px; background: var(--sn-raised); border: 1px solid var(--sn-line); color: var(--sn-sub); }
.sn-sky { height: 5px; border-radius: 99px; background: #2c2c33; overflow: hidden; margin: 2px 0 6px; }
.sn-sky i { display: block; height: 100%; background: rgba(196,208,255,.65); border-radius: 99px; }
.sn-now { font-size: 12px; font-weight: 600; padding: 5px 0 3px; }
.sn-night { color: #c4d0ff; font-weight: 700; }
.sn-theme { cursor: pointer; border-radius: 7px; margin: 0 -6px; padding: 0 6px; }
.sn-theme:hover { background: var(--sn-raised); }
.sn-theme .sn-sws { display: flex; gap: 3px; }
.sn-theme .sn-sws i { width: 11px; height: 11px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.sn-theme.on { color: rgb(var(--acc)); }
.sn-colorrow i { width: 26px; height: 13px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }
.sn-flash { box-shadow: 0 0 0 1px rgba(var(--acc), var(--f, 0)) inset; }
