*{margin: 0; padding: 0; box-sizing: border-box;}

/* 根字号适配：手机、平板、桌面分级设置 */
html {
  font-size: 16px; /* 手机默认基准 1rem=16px */
}
/* iPad / 平板大屏 */
@media screen and (min-width: 768px) {
  html {
    font-size: 20px;
  }
}
/* 电脑桌面超大屏幕 */
@media screen and (min-width: 1024px) {
  html {
    font-size: 22px;
  }
}

html,
body {
  min-height: 100%;
  background-color: #2a2f45;
}

/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

.banner{
    width: 100%;
    float: left;
}

.text-date{
    height: 3rem; /* 48px */
    background-color: #141b36;
    font-family: "Noto Sans SC-Bold", Helvetica;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9375rem; /* 15px */
    text-align: center;
    letter-spacing: 0;
    line-height: 3rem;
    float: left;
    width: 100%;
}

.list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.06rem 1.125rem; /* 上下17px 左右18px */
  width: 100%;
  padding: 1.25rem; /* 四周20px边距 */
  /* 大屏限制最大宽度，居中不松散 */
  max-width: 56rem;
  margin: 0 auto;
}

.list .item {
  background-color: #41496a;
  border-radius: 0.625rem; /* 10px圆角 */
  overflow: hidden;
  box-shadow: 0px 4px 11px #00000017;
  min-width: 7.5rem; /* 120px最小宽度，防止过度压缩 */
}

/* 海报图片固定比例不变形 */
.list .img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

/* 文字内容区域内边距 */
.list .movie-info{
    padding: 0.625rem; /* 10px */
}

.list .text-wrapper {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.875rem; /* 14px */
    letter-spacing: 0;
    line-height: normal;
}
.list .text-wrapper-2 {
    font-weight: 700;
    color: #d7d7d7;
    font-size: 0.75rem; /* 12px */
    white-space: nowrap;
    letter-spacing: 0;
    line-height: normal;
    margin-top: 0.3125rem; /* 5px */
}
.list .p {
    font-weight: 500;
    color: #d7d7d7;
    font-size: 0.6875rem; /* 11px */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    letter-spacing: 0;
    line-height: normal;
    margin-top: 0.125rem; /* 2px */
}
.list .text-wrapper-3 {
    font-weight: 500;
    color: #ededed;
    font-size: 0.6875rem; /* 11px */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    letter-spacing: 0;
    line-height: normal;
    margin-top: 0.3125rem; /* 5px */
}

/* 右下角悬浮刷新按钮 */
.refresh {
  position: fixed;
  bottom: 0.625rem; /* 10px */
  right: 0.625rem;
  width: 3.8125rem; /* 61px */
  height: 3.875rem; /* 62px */
  background-color: #15225e;
  border-radius: 3.375rem; /* 54px */
  overflow: hidden;
  border: 1px solid;
  border-color: #ffffff2b;
  box-shadow: 0px 4px 4px #00000040;
}

.refresh .text-wrapper-4 {
  width: 100%;
  text-shadow: 0px 4px 4px #00000040;
  font-weight: 400;
  color: #ffffff82;
  font-size: 0.8125rem; /*13px*/
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  display: block;
  margin-top: -0.355rem;
}

/* ========== 下方详情页样式 全部转为rem ========== */
.movie img{
    width: calc(100vw - 2rem);
    margin: 1rem auto 0;
    object-fit: cover;
    display: block;
    max-width: 30rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.28);
    border-radius: 0.8125rem;
    box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.3);
}
.movie .info{
    padding: 1.5rem;
}

.movie .info .text1{
    margin-top: 0.338rem;
    font-weight: 900;
    color: #ffffff;
    font-size: 1.75rem;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
}

.playtime{
    background-color: #493f3b;
    border-radius: 0.9375rem; /*15px*/
    border: 1px solid;
    display: table;
    border-color: #815a29;
    padding: 0.3125rem 0.875rem; /*5px 14px*/
    margin: auto;
    text-align: center;
    margin-top: 0.625rem; /*10px*/
    color: #ffffffcc;
    font-size: 0.875rem; /*14px*/
    font-weight: 500;
}

.title{
    align-self: stretch;
    width: 100%;
    height: 3.125rem; /*50px*/
    border-bottom-width: 0.5px;
    border-bottom-style: solid;
    border-color: #61afee;
    padding: 1rem 0;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}
.title h2{
    font-weight: 700;
    color: #61afee;
    font-size: 1.125rem; /*18px*/
    letter-spacing: 0;
    line-height: 1.375rem; /*22px*/
}
.xx{
    display: flex;
    align-items: baseline;
    font-weight: 500;
    color: transparent;
    font-size: 0.875rem; /*14px*/
    letter-spacing: 0;
    line-height: normal;
    margin-top: 0.4rem;
}
.xx .x1{
    color: #95a4b2;
}
.xx .x2{
    color: #d7d7d7;
}
.x3{
    align-self: stretch;
    font-weight: 500;
    color: #d7d7d7;
    font-size: 0.875rem; /*14px*/
    letter-spacing: 0;
    line-height: normal;
}