@charset "UTF-8";

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: #d4ecff;
  color-scheme: only light;
}

body {
  font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

.page {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  overflow-x: hidden;
}

.slice {
  display: block;
  width: 100%;
}

.slice img {
  width: 100%;
}

.slice--hit {
  position: relative;
}

.hot {
  position: absolute;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.hot--left,
.hot--right {
  top: 10%;
  height: 80%;
  right: auto;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding: 0 0 10px;
  font-size: 18px;
  letter-spacing: 2px;
}

.hot--left {
  left: 20.1%;
  width: 27.5%;
}

.hot--right {
  left: 65.3%;
  width: 28.8%;
}

.hot--ch {
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 0 0 18.5%;
}

.channel--1 .hot--ch {
  top: 18%;
  height: 78%;
}

.channel--2 .hot--ch {
  top: 4%;
  height: 90%;
}

.channel--3 .hot--ch {
  top: 7%;
  height: 88%;
}

.channel-row__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1a4d9c;
  font-size: clamp(15px, 4.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.channel-row__cta {
  position: absolute;
  left: 68.2%;
  width: 24.5%;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  font-size: clamp(14px, 4.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.ios-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 344px;
  margin: 0;
  padding: 20px;
  border: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.ios-dialog:not([open]) {
  display: none;
}

.ios-dialog__text {
  line-height: 1.6;
  color: #000;
  font-weight: 700;
  font-size: 14px;
}

.ios-dialog__close {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: right;
  color: #4889da;
  font-weight: 700;
  font-size: 16px;
}

.download-mask {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.download-mask[hidden] {
  display: none;
}

.download-modal {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  padding: 24px 18px;
  text-align: center;
  max-width: 80vw;
}

.download-modal__msg {
  margin-bottom: 20px;
  color: #222;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.4;
}

.download-modal__ok {
  margin-right: 12px;
  padding: 6px 18px;
  background: linear-gradient(90deg, #3e9adf, #1d75ff);
  color: #fff;
  border-radius: 6px;
  font-size: 18px;
}

.download-modal__cancel {
  padding: 6px 18px;
  background: #eee;
  color: #333;
  border-radius: 6px;
  font-size: 18px;
}
