
.rom-container {
  max-width: 1200px;
  margin: 0 auto;
  background: none;
  padding: 0 16px;
}

.rom-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: none;
  border-radius: 32px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.10);
  background: linear-gradient(311deg, #D1F7FE, #D1F7FE, #F5F0EB, #ffeded, #F5F0EB, #F5F0EF);
  padding: 40px 48px 40px 40px;
  border: 2px solid #fff;
  margin-bottom: 20px;
  position: relative;
  /* min-height: 340px; */
}
.rom-header .rom-corner {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #00d084;
  color: #fff;
  font-size: 18px;
  padding: 6px 28px;
  border-radius: 0 32px 0 32px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,208,132,0.10);
  letter-spacing: 2px;
}
.rom-cover {
  margin-bottom: 0;
  flex-shrink: 0;
}
.rom-cover img {
  width: auto;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  background: #f2f2f2;
  border: 6px solid #fff;
}
.rom-info {
  margin-top: 0;
  flex: 1 1 0;
  min-width: 0;
}
.rom-info h1 {
  font-size: 30px;
  margin: 0 0 30px 0;
  color: #222;
  font-weight: 900;
  line-height: 45px;
}
.rom-tags {
  margin-bottom: 22px;
  margin-top: 0;
}
.rom-tags span {
  display: inline-block;
  background: #e6f3ff;
  color: #2196f3;
  border-radius: 18px;
  padding: 8px 22px;
  font-size: 14px;
  margin-bottom: 13px;
  font-weight: normal;
  box-shadow: 0 1px 4px rgba(33,150,243,0.06);
}
.rom-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
}
.rom-meta li {
  font-size: 14px;
  color: #000;
  min-width: 180px;
  margin-bottom: 2px;
}
.rom-meta li b{
  font-weight: normal;
  color: #888;
}
.rom-header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 200px;
  flex-shrink: 0;
  margin-top: 0;
}
.rom-price {
  font-size: 42px;
  color: #ff4d4f;
  margin-bottom: 18px;
  text-align: right;
  font-weight: bold;
  line-height: normal;
}
.rom-price del {
  color: #bbb;
  font-size: 28px;
  margin-left: 10px;
  font-weight: normal;
}
.buy-btn {
  background: linear-gradient(90deg, #00d084 60%, #00c3ff 100%);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 14px 62px;
  font-size: 18px;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-bottom: 18px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,208,132,0.10);
}
.buy-btn:hover {
  background: linear-gradient(90deg, #00c3ff 60%, #00d084 100%);
  box-shadow: 0 4px 16px rgba(0,208,132,0.18);
}
.rom-header .rom-extra {
  margin-top: 2px;
  text-align: left;
}
.rom-header .rom-extra span {
  display: block;
  color: #00bcd4;
  font-size: 14px;
  margin-left: 0;
  margin-right: 0;
  /* background: #e0f7fa; */
  /* border-radius: 14px; */
  padding: 0;
  font-weight: 500;
  text-align: left;
  margin-top: 10px;
}
.rom-header .rom-extra .rom-icon {
  vertical-align: middle;
  margin-right: 7px;
  /* border-radius: 50%; */
  /* box-shadow: 0 1px 4px rgba(0,188,212,0.10); */
}


.rom-main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.rom-main-left {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.rom-main-right {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rom-main-title {
  font-size: 30px;
  font-weight: 900;
  color: #23262b;
  margin: 0 0 24px 0;
  line-height: 46px;
  letter-spacing: 1px;
  text-align: left;
  width: 100%;
  display: block;
}
.rom-header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 32px;
}

.rom-header-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  gap: 40px;
}
.rom-header-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  flex: 1 1 0;
}

.section-title-main {
  padding: 0 0 16px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.section-title-main span {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #23262b;
  letter-spacing: 1px;
  line-height: normal;
}
.section-title-main small {
  display: block;
  font-size: 14px;
  color: #b0b4bb;
  margin-top: 6px;
  margin-left: 2px;
  font-family: 'Arial', 'Helvetica Neue', Arial, sans-serif;
  line-height: normal;
}


.hot-list, .tutorial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hot-list li, .tutorial-list li {
  background: #f5faff;
  border-radius: 12px;
  padding: 14px 20px;
  transition: box-shadow 0.2s;
  font-size: 1.08em;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(33,150,243,0.06);
}
.hot-list li:hover, .tutorial-list li:hover {
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
}
.hot-list a, .tutorial-list a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 500;
}


.download-box {
  display: flex;
  gap: 20px;
}
.download-btn {
  display: inline-block;
  background: linear-gradient(90deg, #00d084 60%, #00c3ff 100%);
  color: #fff !important;
  border-radius: 28px;
  padding: 16px 48px;
  font-size: 1.18em;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,208,132,0.10);
  font-size: 20px;
}
.download-btn.vip {
  background: linear-gradient(90deg, #ffb347 60%, #ff5e62 100%);
}
.download-btn:hover {
  background: linear-gradient(90deg, #00c3ff 60%, #00d084 100%);
  box-shadow: 0 4px 16px rgba(0,208,132,0.18);
}
.download-btn.vip:hover {
  background: linear-gradient(90deg, #ff5e62 60%, #ffb347 100%);
}


.rom-gallery {
  margin: 0 0 20px 0;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  position: relative;
}
.screenshot-swiper {
  width: 100%;
  padding: 0px 0 40px 0;
  overflow: hidden;
}
.screenshot-swiper .swiper-wrapper {
  align-items: center;
}
.screenshot-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.screenshot-swiper .swiper-slide img {
  max-height: 400px;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  border: 3px solid #fff;
  background: #f2f2f2;
  display: block;
}
.screenshot-swiper .swiper-button-prev,
.screenshot-swiper .swiper-button-next {
  color: #00d084;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  top: 44%;
  transition: background 0.2s;
}
.screenshot-swiper .swiper-button-prev:hover,
.screenshot-swiper .swiper-button-next:hover {
  background: #00d084;
  color: #fff;
}
.screenshot-swiper .swiper-pagination {
  bottom: 0;
}
.screenshot-swiper .swiper-pagination-bullet {
  background: #2dabe5;
  opacity: 0.4;
  width: 12px;
  height: 12px;
  margin: 0 6px !important;
  border-radius: 50%;
  transition: opacity 0.2s;
}
.screenshot-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #00a0e9;
}


.screenshot-swiper .swiper-button-prev, .screenshot-swiper .swiper-button-next{
  top: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after{
  font-size: 20px;
  color: #000;
}


.tutorial-card-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: -9px;
}
.tutorial-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 0;
  padding: 15px 5px;
  gap: 24px;
  transition: box-shadow 0.2s;
  border-bottom: 1px dashed #eee;
  overflow: hidden;
}
.tutorial-card:hover {
  box-shadow: 0 6px 24px rgba(0,208,132,0.10);
  padding: 15px 20px;
}
.tutorial-card:nth-last-child(1){
  border-bottom: none;
}
.tutorial-thumb {
  width: 160px;
  height: 106px;
  object-fit: cover;
  border-radius: 10px;
  background: #f2f2f2;
  flex-shrink: 0;
}
.tutorial-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.tutorial-title {
  font-size: 18px;
  font-weight: 600;
  color: #23262b;
  margin-bottom: 26px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tutorial-meta {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f5f5f5;
}
.tutorial-status {
  display: inline-block;
  background: url(../images/bg-time.png) no-repeat;
  background-size: 100% 100%;
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
  font-weight: 500;
  margin-right: 8px;
  width: 60px;
  text-indent: 13px;
}
.tutorial-date {
  color: #7b8ba0;
  font-size: 12px;
}

.hot-card-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.hot-card {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.hot-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #ff7e1b;
  margin-bottom: 4px;
}
.hot-card-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  margin-bottom: 6px;
}
.hot-card-date {
  color: #b0b4bb;
  font-size: 15px;
}
.hot-card-apps {
  color: #ff7e1b;
  font-size: 15px;
  font-weight: 600;
}
.hot-card-thumb {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  background: #f2f2f2;
  margin-top: 6px;
  box-shadow: 0 1px 6px rgba(255,126,27,0.08);
}

/* 统一hover背景色 */
.hot-list li:hover,
.tutorial-list li:hover,
.tutorial-card:hover,
.hot-card:hover,
.hot-mini-card:hover,
.keyword-item:hover {
  border-color: #b3e0ff;
}

/* 统一hover box-shadow 颜色 */
.hot-list li:hover,
.tutorial-list li:hover,
.tutorial-card:hover,
.hot-card:hover,
.hot-mini-card:hover,
.keyword-item:hover {
  background: rgba(33, 150, 243, 0.10) !important;
  color: #2196f3;
  border-color: #b3e0ff;
  box-shadow: none !important;
}

.layui-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  /* background: rgba(33,150,243,0.10); */
  color: #888;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-style: normal;
  /* right: 0; */
}
.layui-icon::before {
  content: '×';
  font-size: 31px;
  font-weight: bold;
  line-height: normal;
  color: #888;
  display: block;
  width: 100%;
  text-align: center;
}
.layui-icon:hover {
  color: #2196f3;
}
.layui-icon:hover::before {
  color: #2196f3;
}

.dialog-qrbuy{
  width: 400px;
  height: auto;
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0px 0px 6px #ccc;
  position: fixed;
  transform: translateX(-50%);
  left: 50%;
  top: 26vh;
  display: block;
  overflow: hidden;
  z-index: 50;
  display: none;
}
.dialog-qrbuy .tit{
  display: block;
  overflow: hidden;
}
.dialog-qrbuy .tit dt{
  float: left;
  font-size: 16px;
}
.dialog-qrbuy .tit dd{
  float: right;
}
.dialog-qrbuy .tit dd .close{
  width: 20px;
  height: 20px;
  background: url(../images/icon-close.png) no-repeat;
  background-size: 100%;
  display: block;
  overflow: hidden;
  cursor: pointer;
}
.dialog-qrbuy .tips-rule{
  margin: 15px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: normal;
  color: #333;
  display: block;
  overflow: hidden;
}
.dialog-qrbuy .tips-input{
  margin: 30px 0 0;
  text-align: center;
  font-size: 15px;
  font-weight: normal;
  color: #333;
  display: block;
  overflow: hidden;
}
.dialog-qrbuy .form-control{
  width: 200px;
  margin: 20px auto 0;
}
.article-header {
  padding: 28px 0 21px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 24px;
}
.article-title {
  font-size: 32px;
  font-weight: 900;
  color: #23262b;
  margin: 0 0 18px 0;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: #888;
  justify-content: center;
}
.article-date::before {
  content: "🕒";
  margin-right: 6px;
  font-size: 15px;
}
.article-views::before {
  content: "👁️";
  margin-right: 6px;
  font-size: 15px;
}
@media (max-width: 850px) {
  .article-header {
    padding: 16px 0 10px 0;
    margin-bottom: 14px;
  }
  .article-title {
    font-size: 20px;
  }
  .article-meta {
    font-size: 13px;
    gap: 12px;
  }
}
@media (max-width: 850px) {
  .dialog-qrbuy{
    width: 90%;
  }
  body { font-size: 15px; background: #f8fafb; }
  .rom-container { padding: 0 2px; }
  .rom-header { padding: 10px 4px; border-radius: 16px; }
  .rom-main-title { font-size: 18px; margin-bottom: 10px; text-align: center; }
  .rom-header-content { flex-direction: column; gap: 16px; align-items: center; }
  .rom-header-row { flex-direction: column; gap: 0; align-items: center; }
  .rom-cover img { width: 96vw; max-width: 340px; height: auto; border-radius: 12px; border-width: 3px; margin: 0 auto; display: block; }
  .rom-info { margin-top: 10px; width: 100%; }
  .rom-info h1 { font-size: 19px; margin: 0 0 10px 0; line-height: 28px; text-align: center; }
  .rom-tags {text-align: center;margin-bottom: 12px;}
  .rom-tags span { font-size: 12px; padding: 4px 10px; border-radius: 8px; margin-bottom: 4px; }
  .rom-meta {
    justify-content: flex-start;
    gap: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    margin: 0;
    row-gap: 7px;
    column-gap: 20px;
    padding: 0 2px;
  }
  .rom-meta li {
    font-size: 13px;
    min-width: 0;
    text-align: left;
    color: #222;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .rom-header-right {align-items: center;margin-left: 0;min-width: 0;width: 100%;margin: 0;}
  .rom-price { font-size: 22px; text-align: center; width: 100%; }
  .rom-price del { font-size: 13px; }
  .buy-btn {width: 340px;border-radius: 18px;font-size: 15px;padding: 10px 0;margin-bottom: 10px;/* margin: 0 12px; */display: block;overflow: hidden;}
  .rom-header .rom-extra {width: 100%;text-align: center;margin: 0;}
  .rom-header .rom-extra span { font-size: 12px; padding: 4px 0 2px 0; display: inline-block; }
  .rom-header .rom-extra .rom-icon { width: 14px; height: 14px; }

  .rom-main {flex-direction: column;gap: 0;margin: 0 12px;}
  .section-title-main span { font-size: 17px; }
  .section-title-main small { font-size: 12px; }
  .rom-main-title { font-size: 18px; margin-bottom: 10px; }

  .hot-list li, .tutorial-list li { font-size: 13px; padding: 10px 12px; border-radius: 8px; box-shadow: 0 1px 6px rgba(33,150,243,0.06); }
  .download-box { gap: 8px; flex-direction: column; }
  .download-btn { padding: 12px 0; font-size: 15px; border-radius: 16px; width: 100%; text-align: center; cursor: pointer;}

  .rom-gallery {margin: 12px;}
  .screenshot-swiper {padding: 0 0 28px 0;}
  .screenshot-swiper .swiper-slide img {max-width: 100%;max-height: 400px;border-radius: 10px;}
  .screenshot-swiper .swiper-button-prev, .screenshot-swiper .swiper-button-next { width: 28px; height: 28px; }
  .screenshot-swiper .swiper-pagination-bullet { width: 8px; height: 8px; }

  .tutorial-card-list {gap: 0;}
  .tutorial-card {padding: 10px 6px;gap: 10px;}
  .tutorial-thumb {width: auto;/* max-width: 100vw; */height: 67px;border-radius: 7px;margin-bottom: 0;}
  .tutorial-info { align-items: flex-start; }
  .tutorial-title {font-size: 14px;margin-bottom: 12px;white-space: normal;}
  .tutorial-meta {gap: 0;font-size: 12px;width: 100%;}
  .tutorial-status, .tutorial-date {font-size: 12px;padding: 2px 0;/* width: 53px; */}

  .hot-mini-list { gap: 0; }
  .hot-mini-card { padding: 6px 0; border-radius: 8px; }
  .hot-mini-thumb {width: unset;height: 60px;border-radius: 6px;}
  .hot-mini-title {font-size: 14px;line-height: 26px;}

  .rom-header .rom-corner{
    border-radius: 0 16px 0 16px;
    z-index: 5;
  }
}
