/* OPC 社区列表 — 对齐 Figma 12233:2837 / 下拉 12256:2048 */

.opc-page {
  background: #fff;
  min-height: 100vh;
  color: #070707;
}

.opc-hero {
  position: relative;
  width: var(--wrap);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
}
.opc-hero-swiper {
  width: 100%;
}
.opc-hero .swiper-slide {
  width: 100%;
}
.opc-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 268;
  object-fit: cover;
  display: block;
}
.opc-hero-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.opc-hero-pagination {
  position: absolute;
  left: 0 !important;
  right: 0;
  bottom: 2px;
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  transform: none !important;
  z-index: 10;
}
.opc-hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 4px !important;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  border-radius: 5px;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: none;
}
.opc-hero-pagination .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.5);
}
.opc-hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  height: 10px;
  border-radius: 5px;
  opacity: 1;
  background: #C9FF85;
}
.opc-hero-prev,
.opc-hero-next {
  position: absolute;
  top: 42%;
  z-index: 12;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, border-color 0.2s;
  line-height: 0;
}
.opc-hero-prev { left: 24px; }
.opc-hero-next { right: 24px; }
.opc-hero-prev:hover,
.opc-hero-next:hover {
  background: rgba(201, 255, 133, 0.16);
  border-color: rgba(201, 255, 133, 0.35);
}
.opc-hero-prev img,
.opc-hero-next img {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0 auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.opc-hero-prev img {
  transform: rotate(180deg);
}

.opc-body {
  width: var(--wrap);
  margin: 0 auto;
  padding: 0.73vw 0 4vw;
}

/* 筛选条 */
.opc-toolbar {
  display: flex;
  align-items: center;
  gap: 0.52vw;
  flex-wrap: wrap;
  margin-bottom: 0.62vw;
}
.opc-toolbar-title {
  font-size: 1.25vw;
  font-weight: 800;
  margin-right: 0.2vw;
  color: #070707;
  white-space: nowrap;
}
.opc-city-pills {
  display: flex;
  align-items: center;
  gap: 0.42vw;
  flex-wrap: wrap;
}
.opc-city-btn {
  height: 2.08vw;
  min-height: 36px;
  padding: 0 0.94vw;
  border-radius: 999px;
  border: none;
  background: #f3f4f3;
  color: #111827;
  font-size: 0.83vw;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.21vw;
  white-space: nowrap;
}
.opc-city-btn.on {
  background: #C9FF85;
  color: #111827;
}
.opc-city-pin {
  width: 12px;
  height: 14px;
  min-width: 12px;
  flex-shrink: 0;
  display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E5484D' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.opc-more-city {
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
  font-weight: 600;
}
.opc-more-city.on {
  border-color: #C9FF85;
  background: #F6FFE8;
}
.opc-partner-btn {
  height: 2.08vw;
  min-height: 36px;
  margin-left: auto;
  padding: 0 0.94vw;
  border-radius: 999px;
  border: 1px solid #C9E8A8;
  background: #F3FBE8;
  color: #2F7A18;
  font-size: 0.83vw;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.opc-partner-btn.on {
  background: #C9FF85;
  border-color: #B6E86A;
  color: #1F6B0F;
}
.opc-toolbar-right {
  margin-left: auto;
  color: #6B7280;
  font-size: 0.83vw;
  white-space: nowrap;
}
#opcCount {
  color: #70D94F;
  font-weight: 800;
}
.opc-geo-hint {
  margin-left: 0.35em;
  color: #70D94F;
  font-weight: 500;
}
.opc-geo-hint::before {
  content: ' · ';
  color: #9CA3AF;
  font-weight: 400;
}

/* 下拉 */
.opc-dd {
  position: relative;
}
.opc-dd-btn {
  height: 2.08vw;
  min-height: 36px;
  padding: 0 0.83vw;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 0.52vw;
  display: inline-flex;
  align-items: center;
  gap: 0.42vw;
  font-size: 0.83vw;
  color: #111827;
  cursor: pointer;
  white-space: nowrap;
}
.opc-dd-btn svg {
  width: 0.73vw;
  height: 0.73vw;
  min-width: 10px;
  color: #9CA3AF;
  transition: transform .2s;
}
.opc-dd.open .opc-dd-btn svg { transform: rotate(180deg); }

.opc-dd-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.42vw);
  left: 0;
  z-index: 40;
  background: #fff;
  border-radius: 0.73vw;
  box-shadow: 0 0.63vw 2.08vw rgba(15, 23, 42, 0.12);
  padding: 0.42vw;
  min-width: 10.4vw;
}
.opc-dd.open .opc-dd-panel { display: block; }
#opcMoreCityList {
  max-height: 16vw;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2F7A18 transparent;
}
#opcMoreCityList::-webkit-scrollbar {
  width: 6px;
}
#opcMoreCityList::-webkit-scrollbar-track {
  background: transparent;
}
#opcMoreCityList::-webkit-scrollbar-thumb {
  background: #2F7A18;
  border-radius: 99px;
}
#opcMoreCityList::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.opc-dd-item {
  padding: 0.52vw 0.73vw;
  border-radius: 0.42vw;
  font-size: 0.83vw;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
}
.opc-dd-item:hover { background: #f4f6f4; }
.opc-dd-item.on {
  background: #EEFADE;
  color: #1F6B0F;
  font-weight: 700;
}

/* 省市区 三列 */
.opc-cascader {
  display: flex;
  min-width: 28vw;
}
.opc-cascader-col {
  flex: 1;
  max-height: 16vw;
  overflow-y: auto;
  padding: 0.21vw;
}
.opc-cascader-col + .opc-cascader-col {
  border-left: 1px solid #f0f0f0;
}

/* 列表卡 — 对齐 Figma 12279:1826 */
.opc-list {
  display: flex;
  flex-direction: column;
  gap: 1.25vw;
}
.opc-card {
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: 1.25vw;
  background: #fff;
  border-radius: 0.833vw;
  box-shadow: 0 0.21vw 1.04vw rgba(0,0,0,0.06);
  padding: 1.25vw;
  align-items: stretch;
}
.opc-card-info {
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.opc-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.83vw;
  width: 100%;
}
.opc-card-name {
  font-size: 1.0417vw;
  font-weight: 700;
  line-height: 1.3;
  color: #070707;
  white-space: nowrap;
}
.opc-perk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 1.35vw;
  margin-top: 0.15vw;
  padding: 0.28vw 0.72vw;
  border-radius: 999px;
  font-size: 0.625vw;
  font-weight: 500;
  line-height: 1.2;
  background: #E8F8D4;
  color: #2F7A18;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.opc-perk:hover { color: #246214; background: #DCF3C4; }
.opc-status {
  display: none;
}
.opc-meta {
  margin-top: 1.04vw;
  display: flex;
  flex-direction: column;
  gap: 0.625vw;
  width: 100%;
}
.opc-meta-row {
  display: flex;
  align-items: center;
  gap: 0.417vw;
  font-size: 0.833vw;
  color: #595F75;
  line-height: 1.5;
  font-weight: 400;
}
.opc-meta-row svg {
  width: 0.833vw;
  height: 0.833vw;
  min-width: 14px;
  color: #7CCB2A;
  flex-shrink: 0;
  margin-top: 0;
}
.opc-desc {
  margin-top: 1.25vw;
  font-size: 0.833vw;
  color: #73788B;
  line-height: 1.7;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.opc-card-btns {
  margin-top: auto;
  padding-top: 1.25vw;
  display: flex;
  align-items: center;
  gap: 0.625vw;
  flex-wrap: wrap;
}
.opc-btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.19vw;
  min-height: 38px;
  padding: 0 1.04vw;
  background: #070707;
  color: #fff;
  border-radius: 0.52vw;
  font-size: 0.78vw;
  font-weight: 700;
  text-decoration: none;
}
.opc-btn-detail:hover { background: #222; color: #fff; }
.opc-btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.31vw;
  height: 2.19vw;
  min-height: 38px;
  padding: 0 0.83vw;
  border: 1px solid #7CCB2A;
  color: #2D7A0F;
  background: #fff;
  border-radius: 0.52vw;
  font-size: 0.73vw;
  font-weight: 600;
  text-decoration: none;
}
.opc-btn-pdf:hover { background: #f6ffe9; color: #2D7A0F; }
.opc-btn-pdf svg { width: 0.94vw; height: 0.94vw; min-width: 14px; }

.opc-card-photos {
  display: grid;
  grid-template-columns: 45fr 20fr;
  gap: 0.625vw;
  min-width: 0;
  min-height: 14.6vw;
}
.opc-card-main {
  border-radius: 0.625vw;
  overflow: hidden;
  background: #eef0ee;
  min-height: 0;
}
.opc-card-main img,
.opc-card-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.opc-card-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.52vw;
  min-width: 0;
}
.opc-card-thumbs a,
.opc-card-thumbs span {
  flex: 1;
  border-radius: 0.52vw;
  overflow: hidden;
  display: block;
  min-height: 0;
}

.opc-empty {
  text-align: center;
  padding: 4vw 0;
  color: #9CA3AF;
  font-size: 0.94vw;
}

@media screen and (max-width: 1280px) {
  .opc-toolbar-title { font-size: 20px; }
  .opc-city-btn, .opc-dd-btn, .opc-dd-item, .opc-partner-btn { font-size: 13px; }
  .opc-city-btn, .opc-dd-btn, .opc-partner-btn { height: 36px; }
  .opc-card { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .opc-card-info { width: 100%; }
  .opc-card-name { font-size: 20px; }
  .opc-card-head { gap: 10px; }
  .opc-perk { height: auto; min-height: 26px; margin-top: 2px; padding: 5px 12px; font-size: 12px; }
  .opc-meta { margin-top: 20px; gap: 12px; }
  .opc-meta-row, .opc-desc { font-size: 16px; }
  .opc-desc { margin-top: 24px; }
  .opc-btn-detail, .opc-btn-pdf { font-size: 13px; }
  .opc-card-photos { grid-template-columns: 1fr 120px; min-height: 220px; }
  .opc-cascader { min-width: 360px; }
  .opc-cascader-col { max-height: 240px; }
  #opcMoreCityList { max-height: 240px; }
}

@media screen and (max-width: 768px) {
  .opc-hero { border-radius: 12px; }
  .opc-hero-pagination { bottom: 8px; }
  .opc-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .opc-hero-pagination .swiper-pagination-bullet-active {
    width: 20px;
    height: 8px;
  }
  .opc-hero-prev,
  .opc-hero-next { display: none; }
  .opc-body { padding: 8px 0 40px; }
  .opc-toolbar { gap: 8px; margin-bottom: 10px; }
  .opc-city-pills { width: 100%; }
  .opc-partner-btn { margin-left: 0; }
  .opc-card-photos { grid-template-columns: 1fr; min-height: 0; }
  .opc-card-main { height: 180px; }
  .opc-card-thumbs { flex-direction: row; height: 72px; }
  .opc-dd-panel { min-width: 160px; }
  #opcMoreCityList { max-height: 240px; }
  .opc-cascader { min-width: 260px; flex-direction: column; max-height: 280px; overflow: auto; }
  .opc-cascader-col { max-height: none; }
  .opc-cascader-col + .opc-cascader-col { border-left: none; border-top: 1px solid #f0f0f0; }
}

/* OPC 详情 — 教程内页板式，无左右侧栏 */
.opc-detail-page {
  background: #fff;
}
.opc-im4 {
  justify-content: center;
}
.opc-im4 .empty {
  width: 39.062vw;
  margin: 0 auto;
}
.opc-brand-box {
  border: 1px solid #E8E8E8;
  border-radius: 0.625vw;
  padding: 1.25vw 1.46vw;
  margin-bottom: 1.46vw;
  background: #fff;
}
.opc-brand-name {
  font-family: 'Nasalization', sans-serif;
  font-size: 1.15vw;
  font-weight: 700;
  color: #070707;
  letter-spacing: 0.02em;
}
.opc-brand-slogan {
  margin-top: 0.31vw;
  color: #696969;
  font-size: 0.83vw;
}
.opc-lead {
  color: #70D94F;
  font-weight: 500;
  line-height: 1.86;
  margin: 0 0 1.25vw;
}
.opc-im4 .empty ul,
.opc-im4 .empty ol {
  list-style: none;
  padding-left: 0;
  margin: 0.31vw 0 1.25vw;
}
.opc-im4 .empty li {
  list-style: none;
  position: relative;
  padding-left: 1.2em;
  margin: 0.42em 0;
  line-height: 1.86;
}
.opc-im4 .empty ul > li::before {
  content: '';
  position: absolute;
  left: 0.12em;
  top: 0.68em;
  width: 0.38em;
  height: 0.38em;
  border-radius: 50%;
  background: #7CCB2A;
}
.opc-im4 .empty ol {
  counter-reset: opc-ol;
}
.opc-im4 .empty ol > li {
  counter-increment: opc-ol;
}
.opc-im4 .empty ol > li::before {
  content: counter(opc-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: #7CCB2A;
  font-weight: 700;
}
.opc-info-list {
  margin: 0.42vw 0 1.46vw;
}
.opc-info-row {
  display: flex;
  gap: 1.04vw;
  padding: 0.52vw 0;
  border-bottom: 1px solid #F0F0F0;
  line-height: 1.6;
}
.opc-info-row span {
  width: 3.2vw;
  flex-shrink: 0;
  color: #73788B;
}
.opc-info-row b {
  font-weight: 500;
  color: #070707;
}
.opc-detail-photos {
  margin: 0.83vw 0 1.67vw;
  min-height: 22vw;
  width: 100%;
}
.opc-detail-photos.opc-photos-single {
  grid-template-columns: 1fr;
}
.opc-im4 .empty .opc-detail-photos img {
  margin: 0 !important;
  height: 100% !important;
  width: 100%;
  max-width: none !important;
  object-fit: cover;
  border-radius: 0;
}
.opc-im4 .opc-btn-pdf {
  display: inline-flex;
}

@media screen and (max-width: 768px) {
  .opc-im4 .empty { width: 100%; }
  .opc-brand-name { font-size: 18px; }
  .opc-brand-slogan, .opc-lead, .opc-info-row { font-size: 14px; }
  .opc-info-row span { width: 48px; }
  .opc-detail-photos { min-height: 0; }
}

/* OPC 合作福利弹窗 — Figma 12479:2143 */
.opc-perk-layer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.opc-perk-layer.on { display: block; }
body:has(#opcPerkPopup.on) .lightTips { z-index: 100001; }
.opc-perk-shade {
  position: fixed;
  inset: 0;
  background: rgba(32, 32, 32, 0.62);
}
.opc-perk-dialog {
  position: relative;
  width: min(620px, calc(100vw - 32px), calc((100vh - 40px) * 2053 / 2923));
  container-type: inline-size;
  margin: 8px auto 24px;
  z-index: 1;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}
.opc-perk-hero {
  position: absolute;
  left: 1.064%;
  top: 0;
  width: 97.81%;
  aspect-ratio: 2008 / 1134;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.opc-perk-close {
  position: absolute;
  top: calc(233 / 2053 * 100cqw);
  left: calc(1911.41 / 2053 * 100cqw);
  width: calc(142 / 2053 * 100cqw);
  height: calc(142 / 2053 * 100cqw);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 3;
  line-height: 0;
}
.opc-perk-close img {
  width: 100%;
  height: 100%;
  display: block;
}
.opc-perk-card {
  position: relative;
  z-index: 1;
  margin-top: calc(836 / 2053 * 100cqw);
  background: #fafaf7;
  border-radius: calc(182.039 / 2053 * 100cqw);
  padding: calc(95 / 2053 * 100cqw) calc(182 / 2053 * 100cqw) calc(88 / 2053 * 100cqw);
  box-sizing: border-box;
}
.opc-perk-kicker {
  display: flex;
  align-items: center;
  gap: calc(18 / 2053 * 100cqw);
  color: #477915;
  font-size: calc(72.816 / 2053 * 100cqw);
  font-weight: 600;
  letter-spacing: calc(5.4612 / 2053 * 100cqw);
  line-height: 1;
}
.opc-perk-kicker img {
  width: calc(50.945 / 2053 * 100cqw);
  height: calc(50.945 / 2053 * 100cqw);
  display: block;
  flex-shrink: 0;
}
.opc-perk-logo {
  display: block;
  width: 100%;
  height: calc(144.332 / 2053 * 100cqw);
  margin: calc(28 / 2053 * 100cqw) 0 calc(48 / 2053 * 100cqw);
  object-fit: contain;
}
.opc-perk-sub {
  margin: 0 0 calc(52 / 2053 * 100cqw);
  color: #868686;
  font-size: calc(45 / 2053 * 100cqw);
  font-weight: 600;
  letter-spacing: calc(3 / 2053 * 100cqw);
  line-height: 1.35;
}
.opc-perk-main {
  display: grid;
  grid-template-columns: 943fr 701fr;
  gap: calc(42 / 2053 * 100cqw);
  align-items: stretch;
}
.opc-perk-benefits {
  display: flex;
  flex-direction: column;
  gap: calc(30 / 2053 * 100cqw);
  min-width: 0;
}
.opc-perk-item {
  display: flex;
  align-items: center;
  gap: calc(38 / 2053 * 100cqw);
  min-height: calc(253 / 2053 * 100cqw);
  padding: calc(36 / 2053 * 100cqw) calc(48 / 2053 * 100cqw);
  background: #fafbf9;
  border: calc(3.641 / 2053 * 100cqw) solid #d8f2e4;
  border-radius: calc(50.971 / 2053 * 100cqw);
  box-shadow: 0 0 calc(18.204 / 2053 * 100cqw) rgba(56, 153, 59, 0.1);
  box-sizing: border-box;
}
.opc-perk-icon {
  width: calc(170 / 2053 * 100cqw);
  height: calc(170 / 2053 * 100cqw);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f9ed;
  border: calc(3 / 2053 * 100cqw) solid #e5f3e1;
  border-radius: calc(37 / 2053 * 100cqw);
  box-sizing: border-box;
}
.opc-perk-icon img {
  width: 64%;
  height: 56%;
  object-fit: contain;
}
.opc-perk-item-text { min-width: 0; }
.opc-perk-item-title {
  color: #393839;
  font-size: calc(45 / 2053 * 100cqw);
  font-weight: 700;
  letter-spacing: calc(2 / 2053 * 100cqw);
  line-height: 1.25;
}
.opc-perk-item-desc {
  margin-top: calc(8 / 2053 * 100cqw);
  color: #666766;
  font-size: calc(30 / 2053 * 100cqw);
  font-weight: 600;
  letter-spacing: calc(2 / 2053 * 100cqw);
  line-height: 1.4;
}
.opc-perk-item:last-child .opc-perk-item-desc {
  font-size: calc(27 / 2053 * 100cqw);
  letter-spacing: 0;
}
.opc-perk-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f3f9f0;
  border: calc(3.641 / 2053 * 100cqw) solid #d8f2e4;
  border-radius: calc(50.971 / 2053 * 100cqw);
  box-shadow: 0 0 calc(18.204 / 2053 * 100cqw) rgba(56, 153, 59, 0.1);
  padding: calc(70 / 2053 * 100cqw) calc(48 / 2053 * 100cqw) calc(48 / 2053 * 100cqw);
  box-sizing: border-box;
}
.opc-perk-aside-ask {
  color: #477915;
  font-size: calc(40 / 2053 * 100cqw);
  font-weight: 600;
  letter-spacing: calc(5.4612 / 2053 * 100cqw);
  line-height: 1.35;
}
.opc-perk-aside-scan {
  margin-top: calc(8 / 2053 * 100cqw);
  color: #0d0d0d;
  font-size: calc(40 / 2053 * 100cqw);
  font-weight: 600;
  letter-spacing: calc(5.4612 / 2053 * 100cqw);
  line-height: 1.35;
}
.opc-perk-qr {
  width: calc(509 / 2053 * 100cqw);
  max-width: 100%;
  aspect-ratio: 509 / 497;
  margin: calc(22 / 2053 * 100cqw) 0 calc(22 / 2053 * 100cqw);
  border: calc(8 / 2053 * 100cqw) solid #47c191;
  border-radius: calc(38 / 2053 * 100cqw);
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}
.opc-perk-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.opc-perk-remark {
  color: #477915;
  font-size: calc(40 / 2053 * 100cqw);
  font-weight: 600;
  letter-spacing: calc(5.4612 / 2053 * 100cqw);
  line-height: 1.35;
  margin-bottom: calc(22 / 2053 * 100cqw);
}
.opc-perk-copy {
  width: calc(574.549 / 2053 * 100cqw);
  max-width: 100%;
  height: calc(118.951 / 2053 * 100cqw);
  border: 0;
  border-radius: calc(43 / 2053 * 100cqw);
  background: linear-gradient(94.61deg, #45BE95 0.42%, #5FE269 46.27%, #B1E337 99.76%);
  color: #fff;
  font-size: calc(45 / 2053 * 100cqw);
  font-weight: 900;
  letter-spacing: calc(2 / 2053 * 100cqw);
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.opc-perk-copy:hover { filter: brightness(1.04); }
.opc-perk-terms {
  margin-top: calc(39 / 2053 * 100cqw);
  background: #f3f9f0;
  border: calc(3.641 / 2053 * 100cqw) solid #d8f2e4;
  border-radius: calc(50.971 / 2053 * 100cqw);
  box-shadow: 0 0 calc(18.204 / 2053 * 100cqw) rgba(56, 153, 59, 0.1);
  padding: calc(24 / 2053 * 100cqw) calc(54 / 2053 * 100cqw) calc(22 / 2053 * 100cqw);
  box-sizing: border-box;
}
.opc-perk-terms-title {
  display: flex;
  align-items: center;
  gap: calc(12 / 2053 * 100cqw);
  color: #477915;
  font-size: calc(48 / 2053 * 100cqw);
  font-weight: 600;
  letter-spacing: calc(5.4612 / 2053 * 100cqw);
  line-height: 1;
}
.opc-perk-terms-title img {
  width: calc(46.27 / 2053 * 100cqw);
  height: calc(44.37 / 2053 * 100cqw);
  display: block;
  flex-shrink: 0;
}
.opc-perk-terms-body {
  margin-top: calc(12 / 2053 * 100cqw);
  color: #666766;
  font-size: calc(36 / 2053 * 100cqw);
  font-weight: 600;
  letter-spacing: calc(2 / 2053 * 100cqw);
  line-height: calc(60 / 36);
}

@media screen and (max-width: 768px) {
  .opc-perk-dialog { width: calc(100vw - 16px); margin: 8px auto 32px; }
  .opc-perk-card {
    border-radius: 28px;
    padding: 18px 16px 16px;
  }
  .opc-perk-kicker { font-size: 16px; letter-spacing: 1px; gap: 6px; }
  .opc-perk-kicker img { width: 14px; height: 14px; }
  .opc-perk-logo { height: auto; margin: 10px 0 12px; }
  .opc-perk-sub { font-size: 12px; letter-spacing: 0; margin-bottom: 14px; }
  .opc-perk-main { grid-template-columns: 1fr; gap: 12px; }
  .opc-perk-benefits { gap: 10px; }
  .opc-perk-item {
    min-height: 0;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    border-width: 1px;
  }
  .opc-perk-icon { width: 48px; height: 48px; border-radius: 12px; border-width: 1px; }
  .opc-perk-item-title { font-size: 14px; letter-spacing: 0; }
  .opc-perk-item-desc,
  .opc-perk-item:last-child .opc-perk-item-desc { font-size: 12px; letter-spacing: 0; }
  .opc-perk-aside { padding: 16px 14px; border-radius: 16px; border-width: 1px; }
  .opc-perk-aside-ask,
  .opc-perk-aside-scan,
  .opc-perk-remark { font-size: 14px; letter-spacing: 0.5px; }
  .opc-perk-qr { width: 180px; margin: 12px 0; border-width: 4px; border-radius: 14px; }
  .opc-perk-copy { height: 44px; font-size: 16px; border-radius: 16px; letter-spacing: 1px; }
  .opc-perk-terms { margin-top: 12px; padding: 12px 14px; border-radius: 16px; border-width: 1px; }
  .opc-perk-terms-title { font-size: 15px; letter-spacing: 1px; gap: 6px; }
  .opc-perk-terms-title img { width: 14px; height: 14px; }
  .opc-perk-terms-body { font-size: 12px; letter-spacing: 0; line-height: 1.7; margin-top: 8px; }
  .opc-perk-close {
    width: 36px;
    height: 36px;
    top: calc(70 / 2053 * 100cqw);
    left: auto;
    right: 4px;
  }
}

/* OPC 创客大赛海报弹窗 */
.opc-contest-layer {
  position: fixed;
  inset: 0;
  z-index: 100020;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.opc-contest-layer.on { display: block; }
body:has(#opcContestPopup.on) .lightTips { z-index: 100021; }
.opc-contest-shade {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 28, 0.72);
}
.opc-contest-dialog {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  margin: 28px auto 40px;
  z-index: 1;
}
.opc-contest-scroll {
  background: #08102a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.opc-contest-scroll img {
  width: 100%;
  height: auto;
  display: block;
}
.opc-contest-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.opc-contest-close::before,
.opc-contest-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #111;
  border-radius: 2px;
}
.opc-contest-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.opc-contest-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

@media screen and (max-width: 768px) {
  .opc-contest-dialog { width: min(420px, calc(100vw - 16px)); margin: 12px auto 32px; }
  .opc-contest-scroll { border-radius: 14px; }
}
