    #btn {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .hidden {
  display: none;
}
    .line {
        height: 1px;
        width: 100%;
        background-color: #ccc;
    }
        #result, #count {
        display: block;
    }
          footer {
    margin-top: 5rem;
  }
 
#qr-reader {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
#qr-reader__dashboard_section_swaplink {
  display: none !important;
}
/* 모바일에서만 QR 스캔 섹션 표시 */
.qr-scan-card {
  display: none;
}
.qr-mobile-only-notice {
  display: block;
}
@media (max-width: 768px) {
  .qr-scan-card {
    display: block;
  }
  .qr-mobile-only-notice {
    display: none;
  }
}

#qr-camera-btn {
  display: none; /* 기본 숨김 */
  position: fixed;
  bottom: 120px;
  right: 20px;
  width: 40px;   /* 원래 60px → 80% */
  height: 40px;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s;
}
#qr-camera-btn:hover {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  #qr-camera-btn {
    display: block;
  }
}
  
/* 로또 결과 섹션 디자인 개선 */
.lotto-result-card {
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 15px;
  overflow: hidden;
}
.lotto-result-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border: none;
}
.lotto-result-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  margin: 0;
}
.lotto-numbers-container {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  padding: 25px 15px;
}
.lotto-ball {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 3px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.lotto-ball:hover {
  transform: scale(1.1);
}
.lotto-ball strong {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  color: white;
}
.bonus-divider {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.5rem;
  color: #999;
}
.lotto-info-table {
  margin: 0;
}
.lotto-info-table td {
  padding: 12px;
  font-size: 0.95rem;
}
.lotto-info-table td:first-child {
  background-color: #f8f9fa;
  font-weight: 600;
  width: 40%;
}

#no-ads {
  position: relative;
}

.adsbygoogle-noablate {
  display: block;       /* 일반 block 요소처럼 보이도록 */
  position: relative;   /* 필요한 경우 위치 지정 */
}