    html, body {
      overscroll-behavior: none; /* ป้องกัน Pull to Refresh */
      overflow: hidden;          /* ป้องกัน scroll ทั้งหน้า */
      height: 100%;
    }
    body {
      background-color: #f0f8e8;
      font-family: sans-serif;
      text-align: center;
      padding-top: 30px;
    }

    h1 {
      font-size: 32px;
      margin-bottom: 10px;
    }

    h1 span:first-child {
      color: #00aac2;
      font-weight: bold;
    }

    h1 span:last-child {
      color: #f55454;
      font-weight: bold;
    }

    .wheel-container {
      position: relative;
      width: 300px;
      height: 300px;
      margin: 0 auto;
    }

    .pointer {
      width: 0;
      height: 0;
      border-left: 12px solid transparent;
      border-right: 12px solid transparent;
      border-bottom: 25px solid #615f5f;
      position: absolute;
      top: 0px;
      left: calc(50% - 12px);
      z-index: 2;
      rotate: 180deg;
    }

    .wheel {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 10px solid white;
      box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
      background: conic-gradient(
        #f77f8a 0deg 45deg,
        #59c9c9 45deg 90deg,
        #6ed2cb 90deg 135deg,
        #6cdb9d 135deg 180deg,
        #e9dd6d 180deg 225deg,
        #e6ce59 225deg 270deg,
        #f4a261 270deg 315deg,
        #f39493 315deg 360deg
      );
      transition: transform 12s cubic-bezier(0.1, 1, 0.3, 1);
      position: relative;
    }

    .label span {
      position: absolute;
      font-size: 20px;
      font-weight: bold;
      color: white;
      transform-origin: center;
    }

    .label {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      pointer-events: none;
    }

    .spin-button {
      margin-top: 20px;
      padding: 10px 30px;
      background: #ffe29b;
      border: none;
      border-radius: 20px;
      font-size: 20px;
      color: #000;
      cursor: pointer;
      clip-path: padding-box;
    }

    .results {
      margin-top: 20px;
      font-size: 18px;
      display: flex;
      justify-content: space-around;
    }

    .results b {
      font-weight: bold;
    }

    .spin-button {
      position: absolute;
      top: 48%;
      left: 52%;
      transform: translate(-50%, -50%);
      padding: 26px 15px;
      background: #ffe29b;
      border: none;
      border-radius: 50px;
      font-size: 20px;
      color: #000;
      cursor: pointer;
      z-index: 3; /* ให้ปุ่มอยู่เหนือวงล้อ */
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    #wheel {
      transition: transform 12s cubic-bezier(0.1, 1, 0.3, 1);
    }

    .back-button {
      padding: 20px 11px;
      background: #9a9998;
      border: none;
      border-radius: 50px;
      font-size: 15px;
      color: #ffffff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .replay-button {
      padding: 20px 11px;
      background: #f55454;
      border: none;
      border-radius: 50px;
      font-size: 15px;
      color: #ffffff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .home-button {
      padding: 20px 11px;
      background: #00aac2;
      border: none;
      border-radius: 50px;
      font-size: 15px;
      color: #ffffff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .ok-button {
      padding: 20px 19px;
      background: #00aac2;
      border: none;
      border-radius: 50px;
      font-size: 15px;
      color: #ffffff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .next-button-r {
      padding: 6px 9px;
      background: #f55454;
      border: 1rcap;
      border-radius: 50px;
      font-size: 10px;
      color: #ffffff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .next-button-b {
      padding: 6px 9px;
      background: #00aac2;
      border: 1rcap;
      border-radius: 50px;
      font-size: 10px;
      color: #ffffff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .input-txt {
      border: none;
      height: 30px;
      width: 60px;
      text-align: center;
      font-size: 16px;
    }

    .input-txt-name {
      border: none;
      height: 30px;
      width: 100px;
      text-align: center;
      font-size: 16px;
    }