



:where(.ui-wheel-of-fortune) {
  --_items: 12;
  all: unset;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  direction: ltr;
  display: grid;
  position: relative;
  width: 100%;
  box-sizing: border-box;
 &::after {
    aspect-ratio: 1/cos(30deg);
    box-sizing: border-box;
    background-color: #646462;
    clip-path: polygon(50% 100%,100% 0,0 0);
    content: "";
    height: 4cqi;
    position: absolute;
    place-self: start center;
    scale: 1.4;
    text-shadow: 1px 1px 2px #fffff;
  }



  & > * { position: absolute; }

  button {
    aspect-ratio: 1 / 1;
    background-image: url('/kraehe_icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
    border: 6px solid #d71921;
    border-radius: 50%;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    font-size: 4.5cqi;
    font-weight: bold;
    text-shadow: 1px 1px 2px #333333;
    color: #fff;
    place-self: center;
    width: 20cqi;
  }



  ul {
    all: unset;
    clip-path: inset(0 0 0 0 round 50%);
    display: grid;
    inset: 0;
    place-content: center start;
    box-sizing: border-box;
    li {
      align-content: center;


  /* Fallback + moderne Variante */
  aspect-ratio: 1 / 1.866;
  aspect-ratio: 1 / calc(2 * tan(180deg / var(--_items)));


  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);

      background: hsl(calc(360deg / var(--_items) * calc(var(--_idx))), 100%, 75%);
      clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
      display: grid;
      font-family: 'Barlow', sans-serif;
      font-size: 2.9cqi;
      line-height: 3.3cqi;
      grid-area: 1 / -1;
      padding-left: 2ch;

  /* Wichtig für Safari: */
  transform-origin: center right;
  transform: rotate(calc(360deg / var(--_items) * (var(--_idx) - 1)));

      user-select: none;
      width: 50cqi;
      box-sizing: border-box;
      &:nth-of-type(1) { --_idx: 1; }
      &:nth-of-type(2) { --_idx: 2; }
      &:nth-of-type(3) { --_idx: 3; }
      &:nth-of-type(4) { --_idx: 4; }
      &:nth-of-type(5) { --_idx: 5; }
      &:nth-of-type(6) { --_idx: 6; }
      &:nth-of-type(7) { --_idx: 7; }
      &:nth-of-type(8) { --_idx: 8; }
      &:nth-of-type(9) { --_idx: 9; }
      &:nth-of-type(10) { --_idx: 10; }
      &:nth-of-type(11) { --_idx: 11; }
      &:nth-of-type(12) { --_idx: 12; }
    }
  }
}

li.gluecksrad1 {background: #ffffff; opacity: 1;}
li.gluecksrad2 {background: #d71921; color: #ffffff; opacity: 1;}

li.gluecksrad3 {background: #ffffff; opacity: 1;}
li.gluecksrad4 {background: #d71921; color: #ffffff; opacity: 1;}
li.gluecksrad5 {background: #ffffff; opacity: 1;}
li.gluecksrad6 {background: #d71921; color: #ffffff; }
li.gluecksrad7 {background: #ffffff;}
li.gluecksrad8 {background: #d71921; color: #ffffff; }
li.gluecksrad9 {background: #ffffff;}
li.gluecksrad10 {background: #d71921; color: #ffffff; }
li.gluecksrad11 {background: #ffffff;}
li.gluecksrad12 {background: #d71921; color: #ffffff; }


fieldset.ui-wheel-of-fortune {
  padding: 1px !important;
  border: 9px solid #d71921;
  background: #222 !important;
}
fieldset.ui-wheel-of-fortune:after {
  top: -4px;
}
.gr-check {
  position: relative;
}
.gr-check:before {
  content: '\2713';
  position: absolute;
  left: -20px;
  top: 0;
  width: 20px;
  font-size: 20px;
  color: green;
}