.rule-video-player[data-v-5a526509] {
  margin-top: 10px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.app-wrapper {
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.app-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  position: static;
  transition: padding-top 0.3s ease;
}
.fixed-top-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
}
.scrollable-content {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}
.logo-section {
  position: relative;
  border-bottom: none;
}
.lottery-result-block {
  position: relative;
  width: 100%;
  margin-top: 0;
  border-top: none;
}
@media screen and (min-width: 769px) {
  .logo-section {
    height: 80px !important;
    min-height: 80px !important;
  }
  .number-ball {
    width: 42px !important;
    height: 42px !important;
  }
  .ball-number {
    font-size: 1.1rem !important;
  }
  .ball-zodiac {
    font-size: 0.7rem !important;
    padding: 3px 6px !important;
  }
}
.logo-section {
  padding: 0 10px;
  margin-bottom: 0;
  background: #225424;
  box-shadow: none;
  transition: background 0.3s;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  gap: 10px;
  padding: 10px 0;
}
@media screen and (max-width: 768px) {
  .logo-container {
    gap: 15px;
    padding: 8px 0;
  }
}
@media screen and (max-width: 480px) {
  .logo-container {
    gap: 5px;
    padding: 5px 0;
  }
}
.site-logo {
  height: 50px;
  width: auto;
  display: block;
  margin: 0;
  max-width: 200px;
  object-fit: contain;
  max-height: 15vh;
  min-height: 40px;
}
@media screen and (max-width: 768px) {
  .site-logo {
    height: 60px;
    max-width: 200px;
    max-height: 12vh;
    min-height: 30px;
  }
}
@media screen and (max-width: 480px) {
  .site-logo {
    height: 50px;
    max-width: 200px;
    max-height: 10vh;
    min-height: 25px;
  }
}
@media screen and (max-width: 380px) {
  .site-logo {
    max-width: 190px;
  }
}
@media screen and (max-width: 370px) {
  .site-logo {
    max-width: 180px;
  }
}
@media screen and (max-width: 360px) {
  .site-logo {
    max-width: 170px;
  }
}
@media screen and (max-width: 350px) {
  .site-logo {
    max-width: 160px;
  }
}
@media screen and (max-width: 340px) {
  .site-logo {
    max-width: 150px;
  }
}
@media screen and (max-width: 330px) {
  .site-logo {
    max-width: 140px;
  }
}
@media screen and (max-width: 320px) {
  .site-logo {
    max-width: 130px;
  }
}
@media screen and (max-width: 310px) {
  .site-logo {
    max-width: 120px;
  }
}
@media screen and (max-width: 300px) {
  .site-logo {
    max-width: 110px;
  }
}
.logo-left {
  flex-shrink: 0;
  min-width: 60px;
}
.logo-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.logo-right {
  flex-shrink: 0;
  min-width: 60px;
}
.lottery-result-block {
  margin: 0;
  padding: 0 0 6px;
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: #fff !important;
}
.lottery-numbers-display {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 0;
  padding: 0 8px 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  gap: 8px;
  border-bottom: 1px solid #eee;
}
.lottery-result-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.lottery-title {
  text-align: center;
  margin-bottom: 2px;
}
.lottery-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #333;
  line-height: 1.2;
  text-align: center;
  text-shadow:
    0 1px 0#fff,
    0 2px 3px rgba(0, 0, 0, 0.22);
}
.lottery-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
}
.lottery-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}
.issue-info {
  text-align: left;
  flex: 1;
  letter-spacing: 0;
  word-spacing: 0;
  font-family: inherit;
  font-weight: 400;
}
.issue-info span {
  letter-spacing: 0;
  word-spacing: 0;
  font-family: inherit;
  font-weight: 400;
}
.issue-number {
  font-weight: 700;
  color: #ff4d4f;
}
.history-link {
  flex-shrink: 0;
  text-align: right;
  font-size: 0.95rem;
}
.refresh-link,
.history-link {
  min-height: 30px;
  padding: 2px 12px;
  border: 1px solid #b3d8ff;
  border-radius: 6px;
  background: #f0f7ff;
  color: #409eff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.refresh-link:hover,
.history-link:hover {
  background: #409eff;
  color: #fff;
}
.normal-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: 8px;
}
@media screen and (max-width: 768px) {
  .normal-numbers {
    gap: 5px;
  }
}
.number-ball {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px #00000026;
  border: none;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.special-ball-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}
.special-ball {
  border: none;
}
.ball-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  z-index: 1;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.ball-zodiac {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%) translateY(7px);
  font-size: 0.68rem;
  box-shadow: 0 2px 6px #0000001a;
  white-space: nowrap;
  z-index: 3;
  min-width: 24px;
  text-align: center;
  border: 1px solid #e0e0e0;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.number-separator {
  font-size: 1.8rem;
  color: #7f8c8d;
  font-weight: 700;
  margin: 0 8px;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.next-issue-info {
  text-align: center;
  position: relative;
  z-index: 5;
  margin: 0;
  padding: 8px 0 0;
  border-top: none;
}
.next-issue-text {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}
.next-issue-left {
  text-align: left;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.countdown-time {
  color: #ff4d4f;
  font-family: monospace;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
  min-width: 80px;
}
.image-showcase-section {
  margin: 0;
  padding: 8px;
  background-color: #f5edc4;
  border-radius: 8px;
}
.image-showcase-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.showcase-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0000001a;
  transition: transform 0.3s ease;
}
.showcase-image:hover {
  transform: scale(1.05);
}
@media screen and (max-width: 480px) {
  .showcase-image {
    width: 60px;
    height: 60px;
  }
  .image-showcase-container {
    gap: 5px;
  }
}
@media screen and (max-width: 380px) {
  .showcase-image {
    width: 50px;
    height: 50px;
  }
  .image-showcase-container {
    gap: 3px;
  }
}
@keyframes scroll-text {
  0% {
    transform: translate(100%);
  }
  to {
    transform: translate(-100%);
  }
}
.ball-zodiac {
  color: #666;
  background: #f6f6f6;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 500;
}
.lottery-selector {
  display: flex;
  flex-direction: column;
}
.selector-buttons {
  flex-wrap: wrap;
}
.selector-buttons.capsule-style {
  background: transparent;
  padding: 0;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}
.selector-btn.capsule-btn {
  flex: 1;
  border: none;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}
.selector-btn.capsule-btn.active {
  background: #1f5219;
  color: #fff;
}
.selector-btn.capsule-btn:not(.active) {
  background: #52c41a;
  color: #fff;
}
.selector-btn.capsule-btn:hover:not(.active) {
  background: #4caf50;
  color: #fff;
}
.selector-btn:hover {
  background: #e0e0e0;
  color: #222;
}
.selector-btn.active {
  border-color: #1f5219;
}
.selector-btn.active:hover {
  background: #1a4a15;
  color: #fff;
}
.fixed-site-buttons {
  display: flex;
  gap: 0px;
  padding: 0;
  flex-wrap: wrap;
}
.fixed-site-btn {
  flex: 1;
  background: #225424;
  border: 1px solid #e0e0e0;
  color: #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.fixed-site-btn:hover {
  background: #1f5219;
  color: #fff;
  border-color: #1f5219;
}
.tv-section {
  width: 100%;
  margin: 16px 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}
.tv-screen {
  width: min(960px, 100%);
  aspect-ratio: 16/9;
  max-height: 60vh;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, #444 0, #222 40%, #111);
  box-shadow: 0 8px 24px #00000073;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tv-text {
  color: #f5f5f5;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
}
@media (min-width: 768px) {
  .tv-screen {
    min-height: 260px;
    max-height: 50vh;
  }
}
@media (min-width: 1200px) {
  .tv-screen {
    min-height: 220px;
  }
}
.lottery-selector {
  gap: 10px;
  margin: 0;
}
.selector-buttons {
  display: flex;
}
.selector-buttons.capsule-style {
  border-radius: 6px;
  gap: 0;
}
.selector-btn {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  min-height: 36px;
}
.selector-btn.capsule-btn {
  font-size: 0.75rem;
  padding: 8px 10px;
}
.selector-btn.capsule-btn:first-child {
  border-radius: 4px 0 0 4px;
}
.selector-btn.capsule-btn:last-child {
  border-radius: 0 4px 4px 0;
}
* {
  word-wrap: break-word;
  overflow-wrap: break-word;
}
body {
  --dynamic-gap: calc(0px + 0.1 * (100vw - 380px));
  --dynamic-padding: calc(0px + 0.4 * (100vw - 380px));
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    PingFang SC,
    Hiragino Sans GB,
    Microsoft YaHei,
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}
html {
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}
