.rule-video-player[data-v-5a526509] {
  margin-top: 10px;
}
.site-card {
  max-width: 520px;
  margin: 0 auto;
}
.logo-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
  margin-bottom: 0;
  background: #17e8c5;
  box-shadow: none;
  transition: background 0.3s;
}
.site-logo-left {
  width: 54.5%;
  height: auto;
  display: block;
  margin: 0;
  max-width: none;
}
.site-logo-right {
  width: 20%;
  height: auto;
  display: block;
  margin: 0;
  max-width: none;
}
.icons-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
  background: #17e8c5;
}
.icon-image {
  width: 18%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 4px;
}
.lottery-result-block {
  background: transparent;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
.lottery-result-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.lottery-title {
  text-align: center;
  margin-bottom: 4px;
}
.lottery-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #333;
  line-height: 1.2;
  text-align: center;
}
.lottery-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  gap: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
}
.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: 500;
  color: #ff4d4f;
  font-size: 0.95rem;
}
.history-link {
  flex-shrink: 0;
  text-align: right;
  font-size: 0.95rem;
}
.lottery-numbers-display {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  gap: 6px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
  padding: 0;
  width: 100%;
  max-width: 100%;
}
.normal-numbers {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  min-width: 0;
  flex-shrink: 0;
}
.number-ball {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.ball-image-container {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.ball-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px #00000026;
  transition: all 0.2s ease;
}
.special-ball-image {
  transform: scale(1.1);
  z-index: 2;
}
.ball-number-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  z-index: 3;
  line-height: 1;
}
.ball-zodiac {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%) translateY(8px);
  font-size: 0.7rem;
  box-shadow: 0 2px 6px #0000001a;
  white-space: nowrap;
  z-index: 3;
  min-width: 24px;
  text-align: center;
  border: 1px solid #e0e0e0;
}
.refresh-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: -7px -4px;
  cursor: pointer;
  color: red;
  font-size: 1rem;
  line-height: 1;
  background-color: #ff0;
  padding: 4px 8px;
  border-radius: 4px;
  min-height: 40px;
  align-self: flex-end;
}
.next-issue-info {
  text-align: center;
  position: relative;
  z-index: 5;
  margin: 25px 0 0;
  padding: 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;
}
.next-issue-left {
  text-align: left;
  flex: 1;
}
.countdown-time {
  color: #ff4d4f;
  font-family: monospace;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}
.text-announcement-section {
  margin-bottom: 0;
  transition: background 0.3s;
  overflow: hidden;
}
.announcement-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.announcement-icon {
  font-size: 1.2rem;
  color: #ff4d4f;
  flex-shrink: 0;
}
.announcement-text-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.announcement-text {
  white-space: nowrap;
  display: inline-block;
}
@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;
}
.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: #17e8c5;
  color: #fff;
}
.selector-btn.capsule-btn:not(.active) {
  background: #dcf2ed;
  color: #666;
}
.selector-btn.capsule-btn:hover:not(.active) {
  background: #e8e8e8;
  color: #333;
}
.selector-btn:hover {
  background: #e0e0e0;
  color: #222;
}
.selector-btn.active {
  border-color: #17e8c5;
}
.selector-btn.active:hover {
  background: #17e8c5;
  color: #fff;
}
.browser-tip-section {
  margin-bottom: 0;
  padding: 0;
}
.browser-tip-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
#yxym .gg {
  width: 100%;
  border-collapse: collapse;
}
#yxym .gg td a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}
#yxym .gg td a:hover {
  text-decoration: underline;
}
.yxym-title {
  text-align: center;
  margin: 8px 0;
  font-weight: 900;
  font-size: 1.1rem;
}
.yxym-title a {
  color: #d90000;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.5rem;
}
.yxym-title a:hover {
  text-decoration: underline;
}
.yxym-between .gg {
  width: 100%;
}
.yxym-between .gg td a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}
.yxym-between .gg td a:hover {
  text-decoration: underline;
}
.yxym-between-title {
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
  background: #17e8c5;
}
.yxym-between-title a {
  color: #d90000;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.5rem;
}
.yxym-between-title a:hover {
  text-decoration: underline;
}
.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: 1.2rem;
  letter-spacing: 0.15em;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
@media (min-width: 768px) {
  .tv-section {
    padding: 0;
  }
  .tv-screen {
    min-height: 260px;
    max-height: 50vh;
  }
}
@media (min-width: 1200px) {
  .tv-screen {
    min-height: 220px;
  }
}
.lottery-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 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 {
  overflow-x: hidden;
}
.text-announcement-section {
  background: linear-gradient(90deg, #f8fafc 60%, #e6f0ff);
  border-radius: 10px;
  box-shadow: 0 2px 8px #409eff0f;
  margin: 0 16px 16px;
  padding: 0;
}
.announcement-container {
  padding: 12px 10px 12px 16px;
}
.announcement-text {
  color: #1a237e;
  font-size: 1rem;
  font-weight: 600;
  animation: scroll-text 18s linear infinite;
}
.number-ball:hover .ball-image {
  transform: scale(1.1);
  box-shadow: 0 4px 16px #409eff2e;
  z-index: 10;
}
.history-link {
  background: #f0f7ff;
  border-radius: 6px;
  padding: 2px 12px;
  color: #409eff;
  font-weight: 600;
  border: 1px solid #b3d8ff;
  transition:
    background 0.2s,
    color 0.2s;
  text-decoration: none;
  cursor: pointer;
  margin-left: 12px;
}
.history-link:hover {
  background: #409eff;
  color: #fff;
}
@media (max-width: 600px) {
  .text-announcement-section {
    margin: 0 4px 12px;
    border-radius: 6px;
  }
}
@media (max-width: 480px) and (min-width: 381px) {
  .lottery-numbers-display {
    transform: scale(0.9);
    transform-origin: center;
    gap: 5px;
  }
  .normal-numbers {
    gap: 3px;
  }
  .ball-image-container {
    width: 40px;
    height: 40px;
  }
  .ball-number-overlay {
    font-size: 1rem;
  }
  .refresh-text {
    font-size: 0.8rem;
    min-height: 35px;
  }
  .ball-zodiac {
    font-size: 0.7rem;
  }
}
@media (max-width: 380px) {
  .lottery-numbers-display {
    gap: 4px;
  }
}
.first-image-section {
  margin: 16px 16px 0;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}
.image-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}
.first-image-section img.first-image {
  border-radius: 8px;
  box-shadow: 0 2px 8px #0000001a;
}
.third-image-section {
  margin: 16px 16px 0;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}
.third-image,
.first-image {
  border-radius: 8px;
  box-shadow: 0 2px 8px #0000001a;
}
@media (max-width: 480px) {
  .first-image-section,
  .third-image-section {
    margin: 12px 12px 0;
  }
}
@media (max-width: 320px) {
  .first-image-section,
  .third-image-section {
    margin: 8px 8px 0;
  }
  .normal-numbers {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ball-image-container {
    margin-bottom: 4px;
  }
  .refresh-text {
    margin: 0 4px;
  }
}
@media (max-width: 320px) {
  .lottery-numbers-display {
    gap: 3px;
    padding: 0 4px;
  }
  .normal-numbers {
    gap: 2px;
  }
  .ball-image-container {
    width: 30px;
    height: 30px;
  }
  .ball-number-overlay {
    font-size: 0.8rem;
  }
  .refresh-text {
    font-size: 0.6rem;
    min-height: 28px;
  }
  .ball-zodiac {
    font-size: 0.5rem;
    padding: 1px 3px;
    min-width: 18px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  min-height: 100vh;
  transition: all 0.3s ease;
  max-width: 480px !important;
  width: 100% !important;
  margin: 0 auto !important;
  border: 2px solid #17e8c5;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.data-map-item {
  gap: 0.5rem;
}
@keyframes slideIn {
  0% {
    transform: translate(100%);
    opacity: 0;
  }
  to {
    transform: translate(0);
    opacity: 1;
  }
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0000001a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #3498db80;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3498dbb3;
}
.lottery-result-header {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
@media (max-width: 600px) {
  .lottery-result-header {
    font-size: 1.3rem;
  }
}
.number-box {
  margin: 1px;
}
.elements-table,
.parity-table {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .number-box {
    line-height: 16px;
  }
}
