@charset "UTF-8";

:root {
  --duck-blue: #3887f5;
  --duck-blue-dark: #236bd0;
  --duck-blue-light: #eaf5ff;
  --duck-sky: #f5faff;
  --duck-border: #d8e8f8;
  --duck-text: #293e59;
  --duck-muted: #758aa3;
  --duck-radius: 13px;
}

.duck-category,
.duck-info,
.duc-box-container,
.windetails {
  width: 100%;
  box-sizing: border-box;
}

.duck-category *,
.duck-info *,
.duc-box-container *,
.windetails * {
  box-sizing: border-box;
}

.duc-box-container {
  display: block;
}

.duck-info,
.duc-box-container {
  line-height: 1.55;
}

.duc-box-container button,
.duc-box-container input {
  font-family: inherit;
}

/* =========================================
2. 일반오리 / 블랙라벨 카테고리
========================================= */

.duck-category {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.duck-category a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #d3e6fa;
  border-radius: 12px;
  background: #f1f8ff;
  color: #537ca8;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 0 #d8e9fa;
  transition:
  background-color .2s ease,
  border-color .2s ease;
}

.duck-category a:hover {
  background: #e4f1ff;
  color: #2469b7;
}

.duck-category a.duck-active {
  border-color: #3887f5;
  background: linear-gradient(
    135deg,
    #67b4ff,
    #3887f5
    );
    color: #fff;
    box-shadow:
    0 3px 0 #2870d5,
    0 5px 12px rgba(56, 135, 245, .15);
  }

  .duck-category a.duck-active::before {
    content: "🐤";
    margin-right: 7px;
  }

  .duck-category a:not(.duck-active)::before {
    content: "🦆";
    margin-right: 7px;
  }

  /* =========================================
  3. SEO 안내 영역
  제목 + 2줄 소개 + 자세히 보기
  ========================================= */

  .duck-info {
    margin: 0 0 17px;
    overflow: hidden;
    border: 1px solid #d9e9fa;
    border-radius: var(--duck-radius);
    background: #fff;
    box-shadow: 0 4px 15px rgba(45, 110, 180, .045);
  }

  /* 새 SEO HTML 제목 및 기존 HTML 제목 호환 */

  .duck-info > h1,
  .duck-info-head h1 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 16px 18px 7px;
    border: 0;
    background: #f8fbff;
    color: #24466d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -.4px;
  }

  .duck-info > h1::before,
  .duck-info-head h1::before {
    content: "🐤";
    flex: none;
    font-size: 20px;
  }

  /* 이전 HTML 구조 호환 */

  .duck-info-head {
    background: #f8fbff;
  }

  .duck-info-head .duck-info-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    padding: 0 18px 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #647d98;
    font-size: 13px;
    line-height: 1.7;
  }

  /* 자세히 보기 전체 영역 */

  .duck-info-details {
    margin: 0;
    padding: 0;
    border: 0;
    background: #f8fbff;
  }

  .duck-info-details > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 67px;
    margin: 0;
    padding: 5px 18px 13px;
    color: #3779ca;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  .duck-info-details > summary::-webkit-details-marker {
    display: none;
  }

  .duck-info-details > summary::marker {
    content: "";
  }

  /* SEO 문장 기본 2줄 */

  .duck-info-preview {
    display: -webkit-box;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #647d98;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  /* 자세히 보기 버튼 */

  .duck-info-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 7px;
    min-height: 35px;
    padding: 7px 12px;
    border: 1px solid #cbdffa;
    border-radius: 30px;
    background: #e9f3ff;
    color: #3478c9;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .2s ease;
  }

  .duck-info-toggle::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
  }

  .duck-info-details > summary:hover
  .duck-info-toggle {
    background: #dcecff;
  }

  /* 펼친 상태 */

  .duck-info-open {
    display: none;
  }

  .duck-info-details[open] > summary {
    justify-content: flex-end;
    min-height: 45px;
    padding: 6px 18px 10px;
  }

  .duck-info-details[open] .duck-info-preview,
  .duck-info-details[open] .duck-info-close {
    display: none;
  }

  .duck-info-details[open] .duck-info-open {
    display: inline;
  }

  .duck-info-details[open]
  .duck-info-toggle::after {
    transform: translateY(2px) rotate(225deg);
  }

  /* 이전 HTML 화살표 호환 */

  .duck-info-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .duck-info-details[open] .duck-info-arrow {
    transform: rotate(225deg);
  }

  /* 자세히 보기 상세 본문 */

  .duck-info-content {
    padding: 19px 20px 21px;
    border-top: 1px solid #e6eef8;
    background: #fff;
    color: #4d6480;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.85;
  }

  .duck-info-content p {
    margin: 0 0 12px;
  }

  .duck-info-content h2 {
    margin: 22px 0 10px;
    padding-left: 11px;
    border-left: 3px solid #69aaf6;
    color: #28578c;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
  }

  .duck-info-content h2:first-child {
    margin-top: 0;
  }

  .duck-info-content ol {
    margin: 0 0 17px;
    padding-left: 25px;
  }

  .duck-info-content li {
    margin: 8px 0;
    padding-left: 3px;
  }

  .duck-info-content li::marker {
    color: #438be1;
    font-weight: 800;
  }

  .duck-info-content li strong {
    color: #2b629e;
    font-weight: 800;
  }

  /* SEO 내부 링크 */

  .duck-info-content a {
    color: #236fc6;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .duck-info-content a:hover {
    color: #125398;
  }

  /* 하단 안내문 */

  .duck-info-notice {
    margin: 17px 0 0 !important;
    padding: 11px 13px;
    border: 1px solid #e5edf6;
    border-radius: 9px;
    background: #f5f9fe;
    color: #71859d;
    font-size: 12px;
    line-height: 1.75;
  }

  /* =========================================
  4. 경주 트랙
  최초 원본 설정 그대로 유지
  ========================================= */

  #race-track {
    position: relative;
    width: 100%;
    padding: 10px;
    background: url('/raceduck/img/bg.png');
    background-size: 100% 100%;
    background-position: bottom;
    border: 2px solid #ccc;
    margin-bottom: 20px;
    overflow: hidden;
    padding-bottom: 45%;
  }

  /* 출발선 */

  #start-line {
    background: url('/raceduck/img/line.png') no-repeat;
    background-size: 78%;
    width: 120px;
    height: 48%;
    position: absolute;
    bottom: 5%;
    left: 15%;
    overflow: hidden;
    transition: transform 1s ease;
  }

  /* 도착선 */

  #end-line {
    background: url('/raceduck/img/line.png') no-repeat;
    background-size: 78%;
    width: 120px;
    height: 48%;
    position: absolute;
    bottom: 5%;
    right: 0;
    transform: translateX(250%);
    overflow: hidden;
    transition: transform 10s linear;
  }

  /* 오리 이동 */

  .horse {
    position: absolute;
    left: 0;
    font-size: 2rem;
    transition: transform .1s ease-in-out;
  }

  .horse img {
    width: 100%;
  }

  .horse.running {
    animation: runMove .7s infinite alternate;
  }

  @keyframes runMove {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(-5px);
    }
  }

  /* 기존 5마리 위치 */

  #horse1 {
    top: 30%;
    left: 10%;
    width: 10%;
  }

  #horse2 {
    top: 40%;
    left: 8%;
    width: 10%;
  }

  #horse3 {
    top: 50%;
    left: 6%;
    width: 10%;
  }

  #horse4 {
    top: 60%;
    left: 4%;
    width: 10%;
  }

  #horse5 {
    top: 70%;
    left: 2%;
    width: 10%;
  }

  /* =========================================
  5. 경기 결과 팝업
  ========================================= */

  #result div {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 90%;
    width: max-content;
    transform: translate(-50%, -50%);
    z-index: 5;
    background: #fff;
    color: #2d4768;
    border: 1px solid #dce9fa;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
  }

  #result div button {
    display: block;
    width: 100%;
    min-height: 38px;
    margin-top: 8px;
    padding: 8px 12px;
    border: 0;
    outline: 0;
    border-radius: 30px;
    background: #3887f5;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
  }

  #result div button:hover {
    background: #236bd0;
  }

  /* =========================================
  6. 사운드 버튼
  ========================================= */

  #soundToggle {
    position: absolute;
    width: 33px;
    z-index: 10;
    left: 5px;
    top: 5px;
    outline: 0;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    padding: 4px 0;
    background: #00000070;
    color: #fff;
    cursor: pointer;
  }

  /* =========================================
  7. 게임 참여 영역
  밝고 귀여운 블루 카드 디자인
  ========================================= */

  .game-box-con {
    padding: 18px;
    border: 1px solid #cfe3f8;
    border-radius: 14px;
    background: linear-gradient(
      145deg,
      #f5faff,
      #e7f3ff
      );
      color: #2a486c;
      box-shadow: 0 4px 16px rgba(43,110,190,.06);
    }

    /* 쿠폰함 / 당첨쿠폰함 */

    .game-info-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 15px;
      padding-bottom: 13px;
      border-bottom: 1px solid #d0e4f8;
      color: #355879;
    }

    .game-my-history,
    .game-info-admin {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
      font-size: 12px;
    }

    .game-my-history span a,
    .game-info-admin span a {
      position: relative;
      top: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 8px 13px;
      border: 1px solid #9bc7f3;
      border-radius: 9px;
      background: #fff;
      color: #2b75c6;
      font-size: 12px;
      font-weight: 800;
      text-decoration: none;
      transition: background .2s ease;
    }

    .game-my-history span a:hover,
    .game-info-admin span a:hover {
      background: #e3f1ff;
      color: #115aa9;
    }

    .game-info-admin > a {
      color: #508ad2;
      font-size: 16px;
      text-decoration: none;
    }

    .game-info-admin > a:hover {
      color: #135dac;
    }

    /* =========================================
    8. 이용쿠폰 영역
    ========================================= */

    #my_coupon_list {
      padding: 15px;
      border: 1px solid #d3e5f7;
      border-radius: 12px;
      background: #fff;
    }

    #my_coupon_list > span {
      display: block;
      margin-bottom: 12px;
      color: #467099;
      font-size: 13px;
      font-weight: 800;
    }

    /* 쿠폰 목록 */

    #my_coupon_list > div {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      align-items: stretch;
      gap: 10px;
      max-height: 230px;
      min-width: 0;
      margin: 0;
      padding: 3px 5px 3px 0;
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-width: thin;
      scrollbar-color: #a1c9ee #edf5fe;
    }

    #my_coupon_list > div::-webkit-scrollbar {
      width: 6px;
    }

    #my_coupon_list > div::-webkit-scrollbar-track {
      background: #edf5fe;
      border-radius: 10px;
    }

    #my_coupon_list > div::-webkit-scrollbar-thumb {
      background: #a1c9ee;
      border-radius: 10px;
    }

    /* =========================================
    9. 귀여운 이용쿠폰 카드
    ========================================= */

    .my_coupon_ea {
      min-width: 0;
    }

    .my_coupon_ea input[type="radio"] {
      position: absolute;
      width: 1px;
      height: 1px;
      opacity: 0;
    }

    .my_coupon_ea label {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      width: 100%;
      min-height: 77px;
      margin: 0;
      padding: 13px 15px;
      overflow: hidden;
      border: 2px dashed #b9d5f3;
      border-radius: 11px;
      background: #f4faff;
      color: #37618e;
      cursor: pointer;
      transition:
      background .2s ease,
      border-color .2s ease;
    }

    /* 쿠폰 절취선 */

    .my_coupon_ea label::before,
    .my_coupon_ea label::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 16px;
      height: 26px;
      border: 2px solid #b9d5f3;
      border-radius: 50%;
      background: #fff;
      transform: translateY(-50%);
    }

    .my_coupon_ea label::before {
      left: -10px;
    }

    .my_coupon_ea label::after {
      right: -10px;
    }

    /* 쿠폰명 */

    .my_coupon_ea label .cp_name {
      display: block;
      margin: 0;
      color: #2b609b;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.5;
      overflow-wrap: anywhere;
    }

    /* 쿠폰 만료 */

    .my_coupon_ea label .cp_expire {
      display: block;
      color: #7693b0;
      font-size: 11px;
      font-weight: 600;
      line-height: 1.45;
    }

    /* 쿠폰 선택 */

    .my_coupon_ea label:hover {
      border-color: #72b2f5;
      background: #e9f4ff;
    }

    .my_coupon_ea input[type="radio"]:checked + label {
      border-color: #3887f5;
      background: linear-gradient(
        135deg,
        #6cb6ff,
        #3887f5
        );
        color: #fff;
        box-shadow: 0 4px 13px rgba(56,135,245,.15);
      }

      .my_coupon_ea input[type="radio"]:checked + label .cp_name,
      .my_coupon_ea input[type="radio"]:checked + label .cp_expire {
        color: #fff;
      }

      .my_coupon_ea input[type="radio"]:checked + label::before,
      .my_coupon_ea input[type="radio"]:checked + label::after {
        border-color: #c2e2ff;
        background: #fff;
      }

      /* =========================================
      10. 오리 선택 및 시작 버튼
      ========================================= */

      .game-bet-box {
        display: flex;
        align-items: stretch;
        gap: 12px;
        margin-top: 15px;
      }

      .game-bet-box > div {
        flex: 1 1 auto;
        min-width: 0;
      }

      /* 5마리 오리 선택 */

      .duck-options {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 9px;
        text-align: center;
      }

      .duck-options input[type="radio"] {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
      }

      .duck-options label {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 46px;
        margin: 0;
        padding: 10px 5px;
        border: 1px solid #c9ddec;
        border-radius: 10px;
        background: #fff;
        color: #47617e;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
        cursor: pointer;
        transition:
        border-color .2s ease,
        background .2s ease;
      }

      /* 오리별 파스텔 색상 */

      .duck-options label[for="yellow"] {
        background: #fffaf0;
        border-color: #f4d997;
        color: #9b711b;
      }

      .duck-options label[for="blue"] {
        background: #eef7ff;
        border-color: #a8d7fb;
        color: #3278b8;
      }

      .duck-options label[for="pink"] {
        background: #fff2f8;
        border-color: #f6c4df;
        color: #bc568c;
      }

      .duck-options label[for="green"] {
        background: #effbf3;
        border-color: #b7e5c5;
        color: #368453;
      }

      .duck-options label[for="red"] {
        background: #fff1f1;
        border-color: #f1baba;
        color: #b84a50;
      }

      /* 선택한 오리 강조 */

      .duck-options input[type="radio"]:checked + label {
        border: 2px solid #3887f5;
        background: linear-gradient(
          135deg,
          #64b1ff,
          #337fe9
          );
          color: #fff;
          font-weight: 850;
          box-shadow: 0 3px 11px rgba(56,135,245,.18);
        }

        /* 경주 시작 */

        .startbtncs {
          display: flex;
          align-items: center;
          justify-content: center;
          flex: 0 0 19%;
          min-height: 46px;
          padding: 10px 15px;
          border: 1px solid #317cdb;
          border-radius: 10px;
          background: linear-gradient(
            135deg,
            #5baaff,
            #2878e6
            );
            color: #fff;
            font-size: 14px;
            font-weight: 850;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(56,135,245,.19);
            transition: background .2s ease;
          }

          .startbtncs:hover {
            background: linear-gradient(
              135deg,
              #4b9df6,
              #1765d0
              );
            }

            .startbtncs:active {
              transform: translateY(1px);
            }

            .startbtncs:disabled {
              opacity: .55;
              cursor: not-allowed;
            }

            /* =========================================
            11. 포인트 / 상품 당첨내역
            ========================================= */

            .windetails {
              margin: 18px 0;
              overflow-x: auto;
              overflow-y: hidden;
              border: 1px solid #d9e8f8;
              border-radius: 12px;
              background: #fff;
              color: #2d4867;
              box-shadow: 0 4px 14px rgba(50,110,185,.04);
              -webkit-overflow-scrolling: touch;
            }

            /* 섹션 제목 */

            .windetails > p {
              margin: 0;
              padding: 14px 17px;
              border-bottom: 1px solid #dceafa;
              background: linear-gradient(
                135deg,
                #f1f8ff,
                #eaf4ff
                );
                color: #2c619a;
                font-size: 14px;
                font-weight: 800;
              }

              /* 테이블 목록 */

              .windetails ul {
                display: grid;
                grid-template-columns:
                minmax(100px, 1fr)
                minmax(95px, 1fr)
                minmax(120px, 1.1fr)
                minmax(120px, 1fr);
                align-items: stretch;
                min-width: 500px;
                margin: 0;
                padding: 0;
                border: 0;
                border-bottom: 1px solid #e8eff8;
                background: #fff;
                list-style: none;
              }

              /* 테이블 헤더 */

              .windetails .windehead ul {
                background: #f4f9ff;
              }

              /* 셀 */

              .windetails ul li {
                display: flex;
                align-items: center;
                justify-content: center;
                min-width: 0;
                margin: 0;
                padding: 12px 9px;
                border-right: 1px solid #edf3fa;
                color: #52708d;
                font-size: 12px;
                line-height: 1.5;
                text-align: center;
                overflow-wrap: anywhere;
              }

              .windetails ul li:last-child {
                border-right: 0;
              }

              .windetails .windehead ul li {
                color: #718ba6;
                font-size: 12px;
                font-weight: 800;
              }

              /* 1등 오리 */

              .windetails > ul li:first-child {
                color: #2b73ba;
                font-weight: 800;
              }

              /* 당첨 금액 */

              .windetails > ul li:nth-child(3) {
                color: #2878d6;
                font-size: 13px;
                font-weight: 850;
                font-variant-numeric: tabular-nums;
              }

              /* 날짜 */

              .windetails > ul li:last-child {
                color: #899bb0;
                font-size: 11px;
              }

              /* 행 호버 */

              .windetails > ul:hover {
                background: #f7fbff;
              }

              .windetails > ul:last-child {
                border-bottom: 0;
              }

              /* =========================================
              12. 관리자 설정 폼
              ========================================= */

              .checkerbtn {
                display: block;
                width: 110px;
                min-height: 38px;
                margin: 0 auto;
                padding: 8px 0;
                border: 1px solid #3887f5;
                border-radius: 7px;
                background: #3887f5;
                color: #fff;
                font-weight: 800;
                cursor: pointer;
              }

              .checkerbtn:hover {
                background: #236bd0;
              }

              #setform {
                padding: 25px;
                border: 1px solid #deebf8;
                border-radius: 12px;
                background: #f5faff;
              }

              #setform p {
                margin-bottom: 17px;
                padding: 10px;
                border-radius: 7px;
                background: #e5f1fe;
              }

              .set-title {
                font-size: 18px;
                font-weight: 800;
              }

              .set-title #loseaddBtn,
              .set-title #winaddBtn {
                min-height: 34px;
                padding: 8px 11px;
                border: 0;
                border-radius: 6px;
                background: #3887f5;
                color: #fff;
                font-size: 12px;
                font-weight: 800;
                cursor: pointer;
              }

              .set-title #loseaddBtn:hover,
              .set-title #winaddBtn:hover {
                background: #236bd0;
              }

              .form-set {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                gap: 10px;
                margin-bottom: 8px;
                padding: 11px;
                border-radius: 7px;
                background: #e5f1fe;
              }

              .form-set label {
                display: inline-flex;
                align-items: center;
                margin: 0;
              }

              .form-set label input {
                min-width: 0;
                margin-left: 4px;
                border: 0;
                outline: 0;
                box-shadow: none;
              }

              .form-set .deleteBtn {
                padding: 8px 7px;
                border: 0;
                background: transparent;
                color: #496781;
                font-size: 12px;
                cursor: pointer;
              }

              .form-set .deleteBtn:hover {
                color: #d33;
              }

              .lose-con {
                margin-bottom: 22px;
              }

              .win-con {
                margin-bottom: 15px;
              }

              .gameback {
                display: block;
                width: 200px;
                max-width: 100%;
                margin: 25px auto 0;
                text-align: center;
              }

              /* =========================================
              13. 태블릿
              ========================================= */

              @media (max-width: 991px) {

                #my_coupon_list > div {
                  grid-template-columns: repeat(3, minmax(0, 1fr));
                }

                .my_coupon_ea label {
                  padding: 11px 12px;
                }

                .my_coupon_ea label .cp_name {
                  font-size: 12px;
                }
              }

              /* =========================================
              14. 모바일
              ========================================= */

              @media (max-width: 768px) {

                /* 카테고리 */

                .duck-category {
                  gap: 7px;
                  margin-bottom: 12px;
                }

                .duck-category a {
                  flex: 1 1 0;
                  min-width: 0;
                  min-height: 42px;
                  padding: 9px 8px;
                  border-radius: 10px;
                  font-size: 12px;
                }

                /* SEO 안내 */

                .duck-info {
                  margin-bottom: 13px;
                  border-radius: 11px;
                }

                .duck-info > h1,
                .duck-info-head h1 {
                  padding: 13px 13px 6px;
                  font-size: 17px;
                }

                .duck-info > h1::before,
                .duck-info-head h1::before {
                  font-size: 17px;
                }

                .duck-info-details > summary {
                  min-height: 64px;
                  gap: 8px;
                  padding: 5px 13px 11px;
                }

                .duck-info-preview,
                .duck-info-head .duck-info-summary {
                  font-size: 12px;
                  line-height: 1.65;
                }

                .duck-info-toggle {
                  min-height: 33px;
                  padding: 7px 9px;
                  font-size: 11px;
                }

                .duck-info-details[open] > summary {
                  min-height: 42px;
                  padding: 5px 13px 10px;
                }

                .duck-info-content {
                  padding: 14px;
                  font-size: 12px;
                  line-height: 1.8;
                }

                .duck-info-content h2 {
                  margin-top: 18px;
                  font-size: 15px;
                }

                /* 경주 트랙은 원본 비율 유지 */

                #race-track {
                  margin-bottom: 13px;
                }

                #start-line,
                #end-line {
                  background-size: 55%;
                }

                #result div {
                  max-width: 88%;
                  padding: 11px;
                  font-size: 12px;
                }

                /* 게임 영역 */

                .game-box-con {
                  padding: 12px;
                  border-radius: 11px;
                }

                .game-info-box {
                  gap: 7px;
                  margin-bottom: 11px;
                  padding-bottom: 11px;
                }

                .game-my-history span a,
                .game-info-admin span a {
                  min-height: 36px;
                  padding: 7px 10px;
                  font-size: 11px;
                }

                /* 쿠폰 */

                #my_coupon_list {
                  padding: 11px;
                }

                #my_coupon_list > span {
                  font-size: 12px;
                }

                #my_coupon_list > div {
                  grid-template-columns: repeat(2, minmax(0, 1fr));
                  gap: 8px;
                  max-height: 210px;
                }

                .my_coupon_ea label {
                  min-height: 66px;
                  padding: 10px;
                }

                .my_coupon_ea label .cp_name {
                  font-size: 12px;
                }

                .my_coupon_ea label .cp_expire {
                  font-size: 10px;
                }

                /* 선택 영역 */

                .game-bet-box {
                  flex-direction: column;
                  gap: 10px;
                  margin-top: 12px;
                }

                .duck-options {
                  gap: 6px;
                }

                .duck-options label {
                  min-height: 44px;
                  padding: 9px 3px;
                  border-radius: 8px;
                  font-size: 12px;
                }

                .startbtncs {
                  flex: auto;
                  width: 100%;
                  min-height: 47px;
                  font-size: 14px;
                }

                /* 당첨 내역 */

                .windetails {
                  margin: 14px 0;
                  border-radius: 10px;
                }

                .windetails > p {
                  padding: 12px 13px;
                  font-size: 13px;
                }

                .windetails ul li {
                  padding: 11px 7px;
                  font-size: 11px;
                }

                .windetails > ul li:nth-child(3) {
                  font-size: 12px;
                }

                /* 관리자 */

                #setform {
                  padding: 14px;
                }

                .set-title {
                  font-size: 16px;
                }
              }

              /* =========================================
              15. 작은 모바일
              ========================================= */

              @media (max-width: 480px) {

                #start-line,
                #end-line {
                  background-size: 40%;
                }

                .duck-mo-none {
                  display: none;
                }

                .duck-options {
                  gap: 4px;
                }

                .duck-options label {
                  font-size: 11px;
                  padding: 9px 2px;
                }

                .game-box-con {
                  padding: 10px;
                }

                #my_coupon_list {
                  padding: 10px;
                }

                .my_coupon_ea label {
                  padding: 9px;
                }

                .windetails ul {
                  min-width: 450px;
                }
              }

              /* =========================================
              16. 초소형 모바일
              ========================================= */

              @media (max-width: 360px) {

                .duck-category a {
                  padding: 8px 6px;
                  font-size: 11px;
                }

                .duck-info > h1,
                .duck-info-head h1 {
                  font-size: 16px;
                }

                .duck-info-toggle {
                  padding: 7px;
                  font-size: 10px;
                }

                .game-box-con {
                  padding: 9px;
                }

                .duck-options {
                  gap: 3px;
                }

                .duck-options label {
                  font-size: 10px;
                }

                .my_coupon_ea label {
                  padding: 8px 7px;
                }
              }
