.gv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.gv-stage {
  min-width: 0;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--plum);
}

.gv-title {
  width: 100%;
}

.give .gv-title input {
  height: 48px;
  border-color: transparent;
  background: transparent;
  text-align: center;
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
}

.give .gv-title input:hover,
.give .gv-title input:focus {
  border-color: var(--line);
}

.gv-wheel-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.gv-wheel-wrap canvas {
  display: block;
  max-width: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 8px var(--line);
}

.gv-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid var(--volt);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5));
}

.gv-spin-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-top: 22px;
}

.gv-spin {
  flex: 1;
  height: 54px;
  font-size: 17px;
}

.gv-spin:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gv-sound {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 20px;
}

.gv-count {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.gv-result {
  width: 100%;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--volt);
  border-radius: var(--radius-m);
  background: rgba(214, 255, 58, 0.07);
  text-align: center;
  animation: gv-pop 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.gv-result[hidden] {
  display: none;
}

.gv-result-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--volt);
}

.gv-result strong {
  display: block;
  font-stretch: 118%;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  word-break: break-all;
}

.gv-result small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.gv-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

@keyframes gv-pop {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.gv-side {
  display: grid;
  gap: 16px;
}

.gv-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--plum);
}

.gv-panel h2,
.gv-winners-wrap h2 {
  margin: 0 0 6px;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 19px;
}

.gv-help {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.gv-slider {
  display: grid;
  grid-template-columns: 76px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.gv-slider label {
  font-weight: 700;
  font-size: 14px;
}

.give .gv-slider input[type="range"] {
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--volt);
}

.gv-slider output {
  text-align: right;
  font-stretch: 112%;
  font-weight: 800;
  color: var(--volt);
}

.gv-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  cursor: pointer;
}

.give .gv-check input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--volt);
}

.gv-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
  gap: 8px;
  margin-top: 10px;
}

.give .gv-add .btn {
  height: 44px;
}

.gv-paste,
.gv-setup {
  margin-top: 10px;
  font-size: 14px;
}

.gv-paste summary,
.gv-setup summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}

.gv-paste summary:hover,
.gv-setup summary:hover {
  color: var(--text);
}

.give .gv-paste textarea {
  display: block;
  width: 100%;
  margin: 10px 0 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--ink);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  resize: vertical;
}

.give .gv-paste textarea:focus {
  outline: none;
  border-color: var(--volt);
}

.give .gv-search {
  height: 38px;
  margin-top: 12px;
  font-size: 14px;
}

.gv-list {
  max-height: 340px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}

.gv-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 88px 58px 30px;
  align-items: center;
  gap: 10px;
  padding: 6px 2px;
  border-top: 1px solid var(--line);
}

.gv-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.gv-n {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
}

.give .gv-list select {
  height: 32px;
  padding: 0 6px;
  font-size: 13px;
}

.gv-pct {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--muted);
}

.gv-list button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--muted);
  font-size: 16px;
}

.gv-list button:hover {
  background: var(--plum-2);
  color: #ff6b6b;
}

.gv-empty {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.gv-empty[hidden] {
  display: none;
}

.gv-open {
  margin-top: 6px;
  font-weight: 700;
}

.gv-status {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.gv-status.is-open {
  color: var(--volt);
}

.gv-setup p {
  margin: 10px 0 6px;
  color: #cfcadb;
  line-height: 1.5;
}

.gv-setup code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--plum-2);
  font-size: 12px;
}

.gv-setup .gv-code {
  display: block;
  padding: 8px 10px;
  word-break: break-all;
  user-select: all;
}

.gv-winners-wrap {
  margin-top: 28px;
}

.gv-winners-wrap[hidden] {
  display: none;
}

.gv-winners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.gv-winners li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--plum);
  font-size: 14px;
}

.gv-winners li:first-child {
  border-color: var(--volt);
}

.gv-winners span,
.gv-winners time {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .gv-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .gv-stage {
    position: static;
  }
}

@media (max-width: 480px) {
  .give .gv-title input {
    font-size: 16px;
  }

  .gv-add {
    grid-template-columns: 1fr 96px;
  }

  .gv-add .btn {
    grid-column: span 2;
  }

  .gv-list li {
    grid-template-columns: 10px minmax(0, 1fr) 78px 48px 28px;
    gap: 6px;
  }
}

.gv-choose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.gv-choose[hidden],
#gv-app[hidden],
.gv-wheel-wrap[hidden],
.gv-reel[hidden],
.give .hunt-tools[hidden] {
  display: none;
}

.gv-mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--plum);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.gv-mode-card:hover,
.gv-mode-card:focus-visible {
  border-color: var(--violet);
  background: var(--plum-2);
  transform: translateY(-2px);
  outline: none;
}

.gv-mode-card.is-last::after {
  content: "Last used";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--plum-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.gv-mode-card strong {
  margin-top: 16px;
  font-stretch: 118%;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
}

.gv-mode-card > span:not(.gv-art) {
  max-width: 34ch;
  color: #cfcadb;
  font-size: 15px;
  line-height: 1.45;
}

.gv-mode-card em {
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--volt);
  color: #16101f;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}

.gv-art {
  display: flex;
  align-items: center;
  height: 150px;
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-m);
  background: var(--ink);
  overflow: hidden;
}

.gv-art-wheel i {
  position: relative;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: conic-gradient(#d6ff3a 0 22%, #4b16b8 0 38%, #7b2cff 0 55%, #2b2148 0 70%, #9a5cff 0 86%, #3a1d78 0);
  box-shadow: 0 0 0 4px var(--plum), 0 0 0 5px var(--line);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gv-art-wheel i::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid var(--text);
}

.gv-mode-card:hover .gv-art-wheel i {
  transform: rotate(200deg);
}

.gv-art-reel {
  gap: 8px;
  perspective: 500px;
}

.gv-art-reel i {
  flex: 0 0 58px;
  height: 78px;
  border-radius: 6px;
  background: linear-gradient(160deg, #4b16b8, #1e1a2b);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gv-art-reel i:nth-child(1) { transform: rotateY(36deg) scale(0.86); opacity: 0.5; }
.gv-art-reel i:nth-child(2) { transform: rotateY(18deg) scale(0.94); opacity: 0.8; }
.gv-art-reel i:nth-child(3) { background: #d6ff3a; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px #d6ff3a; }
.gv-art-reel i:nth-child(4) { transform: rotateY(-18deg) scale(0.94); opacity: 0.8; }
.gv-art-reel i:nth-child(5) { transform: rotateY(-36deg) scale(0.86); opacity: 0.5; }

.gv-mode-card:hover .gv-art-reel i {
  translate: -22px 0;
}

.gv-choose-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.gv-choose-note:empty {
  display: none;
}

.gv-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--plum);
}

.gv-switch button {
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.gv-switch button[aria-pressed="true"] {
  background: var(--text);
  color: var(--ink);
}

.gv-reel {
  position: relative;
  width: 100%;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--ink);
}

.gv-reel-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 2px;
  transform: translateX(-50%);
  background: transparent;
  pointer-events: none;
}

.gv-reel-marker::before,
.gv-reel-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
}

.gv-reel-marker::before {
  top: 0;
  border-top-color: var(--volt);
}

.gv-reel-marker::after {
  bottom: 0;
  border-bottom-color: var(--volt);
}

.gv-reel-view {
  padding: 18px 0;
  overflow: hidden;
  perspective: 1000px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}

.gv-reel-strip {
  display: flex;
  gap: 10px;
  min-height: 170px;
  transform-style: preserve-3d;
  will-change: transform;
}

.gv-card {
  position: relative;
  flex: 0 0 128px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: var(--radius-s);
  background: linear-gradient(165deg, var(--c, #7b2cff), #15121e 92%);
  backface-visibility: hidden;
  will-change: transform;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.gv-card-i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(12, 10, 18, 0.45);
  font-stretch: 118%;
  font-weight: 900;
  font-size: 26px;
}

.gv-card-n {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
  font-size: 14px;
}

.gv-card-r {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(12, 10, 18, 0.5);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.gv-card-r.is-sub,
.gv-card-r.is-vip,
.gv-card-r.is-mod {
  color: var(--volt);
}

.gv-card-r.is-follower {
  color: var(--text);
}

.gv-reel-strip.has-winner .gv-card {
  opacity: 0.4;
}

.gv-reel-strip.has-winner .gv-card.is-won {
  opacity: 1;
  background: linear-gradient(165deg, #d6ff3a, #9bbd1f);
  color: #16101f;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--volt);
}

.gv-card.is-won .gv-card-i {
  background: rgba(22, 16, 31, 0.15);
}

.gv-card.is-won .gv-card-r {
  background: #16101f;
  color: var(--volt);
}

.gv-reel-empty {
  width: 100%;
  margin: auto 0;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.gv-tabs {
  display: flex;
  gap: 6px;
  margin: 12px 0 4px;
}

.gv-tabs button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.gv-tabs button[aria-selected="true"] {
  border-color: var(--text);
  background: var(--text);
  color: var(--ink);
}

.gv-bot[hidden] {
  display: none;
}

.gv-steps {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #cfcadb;
  line-height: 1.5;
}

.gv-steps li {
  margin-top: 8px;
  padding-left: 4px;
}

.gv-steps li::marker {
  color: var(--volt);
  font-weight: 800;
}

.gv-copy {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-top: 8px;
}

.gv-copy .gv-code {
  flex: 1;
  min-width: 0;
}

.gv-copy-btn {
  flex-shrink: 0;
  width: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--plum-2);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}

.gv-copy-btn:hover {
  border-color: var(--volt);
}

.gv-test {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.gv-test .gv-help {
  margin: 0;
}

@media (max-width: 760px) {
  .gv-choose {
    grid-template-columns: minmax(0, 1fr);
  }

  .gv-art {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .gv-card {
    flex-basis: 104px;
    height: 148px;
  }

  .gv-reel-strip {
    min-height: 148px;
  }

  .gv-mode-card {
    padding: 20px;
  }
}

.gv-note {
  margin: 8px 0 0;
}

.gv-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.gv-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.gv-field.gv-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

.gv-field.gv-inline[hidden] {
  display: none;
}

.give .gv-inline input {
  width: 76px;
  height: 36px;
}

.give .gv-panel input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gv-check:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.gv-open-btn {
  width: 100%;
  margin-top: 16px;
}

.gv-status code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--plum-2);
  color: var(--text);
  font-size: 12px;
}

.gv-status .is-bad,
.gv-status.is-bad {
  color: #ff7a8a;
}

.gv-skipped {
  color: var(--muted);
}

.gv-twitch {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.gv-twitch .gv-help {
  margin-bottom: 10px;
}

.gv-twitch .gv-status {
  margin: 0 0 10px;
}

.gv-signed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}

.gv-signed i {
  color: #a970ff;
}

.gv-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.gv-link:hover {
  color: var(--text);
}

.gv-live {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  margin: 12px 0 0;
  padding: 10px 16px;
  border: 1px solid var(--volt);
  border-radius: var(--radius-m);
  background: rgba(214, 255, 58, 0.07);
  font-size: 16px;
  text-align: center;
}

.gv-live[hidden] {
  display: none;
}

.gv-live b {
  color: var(--volt);
  font-stretch: 112%;
  font-weight: 900;
  word-break: break-all;
}

.gv-live-t {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .gv-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gv-chatbox {
  position: relative;
  display: flex;
  flex-direction: column;
}

.gv-feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.gv-feed-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
}

.gv-feed-state.is-live::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
}

.gv-feed {
  height: 340px;
  margin-top: 8px;
  padding: 6px 4px 6px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}

.gv-feed-empty {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gv-msg {
  padding: 4px 8px;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  overflow-wrap: anywhere;
}

.gv-msg-who b {
  font-weight: 800;
}

.gv-msg-text.is-action {
  font-style: italic;
}

.gv-pill {
  display: inline-block;
  margin-right: 4px;
  padding: 0 5px;
  border-radius: 3px;
  background: var(--plum-2);
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
  vertical-align: 1px;
}

.gv-emote {
  display: inline-block;
  max-width: none;
  height: 22px;
  margin: -4px 1px;
  vertical-align: middle;
}

.gv-msg-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 17px;
  vertical-align: 1px;
}

.gv-msg.is-entered {
  border-left-color: var(--volt);
}

.gv-msg.is-entered .gv-msg-tag {
  background: rgba(214, 255, 58, 0.14);
  color: var(--volt);
}

.gv-msg.is-skipped .gv-msg-tag {
  background: rgba(255, 122, 138, 0.14);
  color: #ff7a8a;
}

.gv-msg.is-winner {
  border-left-color: var(--violet);
  background: rgba(123, 44, 255, 0.18);
}

.gv-msg.is-deleted .gv-msg-text {
  color: var(--muted);
}

.gv-msg.is-system {
  margin: 4px 0;
  border-left-color: var(--violet);
  color: #cfcadb;
  font-size: 13px;
}

.gv-feed-more {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.gv-feed-more[hidden] {
  display: none;
}

.gv-winners li.is-rerolled strong {
  text-decoration: line-through;
  color: var(--muted);
}

.gv-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 6, 13, 0.78);
  backdrop-filter: blur(4px);
}

.gv-modal[hidden] {
  display: none;
}

.gv-modal-card {
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--volt);
  border-radius: var(--radius-l);
  background: var(--plum);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: gv-pop 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.gv-win-label {
  margin: 0;
  color: var(--volt);
  font-size: 13px;
  font-weight: 800;
}

.gv-win-name {
  margin: 4px 0 0;
  font-stretch: 118%;
  font-weight: 900;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.gv-win-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.gv-win-msgs {
  flex: 1;
  min-height: 140px;
  max-height: 300px;
  margin-top: 18px;
  padding: 10px 12px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--ink);
  text-align: left;
  font-size: 15px;
  line-height: 1.45;
}

.gv-win-sub {
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.gv-win-sub:first-child {
  margin-top: 0;
}

.gv-win-msg {
  display: flex;
  gap: 10px;
  padding: 3px 0;
  overflow-wrap: anywhere;
}

.gv-win-msg time {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
}

.gv-win-msg span {
  min-width: 0;
}

.gv-win-msg.is-old {
  opacity: 0.55;
}

.gv-win-wait {
  margin: 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.gv-win-wait.is-bad {
  color: #ff7a8a;
}

.gv-win-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.gv-win-actions .btn {
  justify-content: center;
  gap: 6px;
}

.gv-win-card {
  align-self: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.gv-win-card:hover {
  color: var(--text);
}

@media (max-width: 480px) {
  .gv-feed {
    height: 280px;
  }

  .gv-modal-card {
    padding: 20px 16px;
  }
}

.gv-gate {
  max-width: 520px;
  margin: 40px auto 0;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--plum);
  text-align: center;
}

.gv-gate[hidden],
.gv-choose[hidden] {
  display: none;
}

.gv-gate-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--plum-2);
  color: var(--volt);
  font-size: 24px;
}

.gv-gate h2 {
  margin: 14px 0 0;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 22px;
}

.gv-gate p {
  margin: 10px 0 0;
  color: #cfcadb;
  line-height: 1.5;
}

.gv-gate .btn {
  margin-top: 18px;
  gap: 8px;
}

.gv-gate .gv-status {
  margin-top: 12px;
}

.gv-gate .gv-setup {
  margin-top: 22px;
  text-align: left;
}

@media (max-width: 480px) {
  .gv-gate {
    margin-top: 24px;
    padding: 24px 18px;
  }
}

.gv-badge {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  border-radius: 3px;
  vertical-align: -4px;
}

.gv-win-badges {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.gv-win-badges[hidden] {
  display: none;
}

.gv-win-badges .gv-badge {
  width: 24px;
  height: 24px;
  margin: 0;
}
