/* ============================================================
 * service-photo.css — 挑选服务 / 预约玩法：宣传图卡片
 * 四个玩法都配对应宣传图（与 SVIP 专属下单同一套素材），去掉原来的图标，
 * 直接用照片当主体，文字压在底部渐变上。
 * ============================================================ */

/* 每个玩法对应的宣传图 */
.service-tile[data-id="主题海岛"] {
  --tile-art: url(/aletai.webp);
}
.service-tile[data-id="地铁逃生"] {
  --tile-art: url(/metro.webp);
}
.service-tile[data-id="超体对抗"] {
  --tile-art: url(/super.webp);
}
.service-tile[data-id="经典海岛"] {
  --tile-art: url(/island.webp);
}

/* 通用照片卡片（SVIP 专属下单页有更具体的样式，会覆盖这里） */
.service-tile {
  --tile-art: url(/studio.webp);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 2px;
  min-height: 158px;
  padding: 15px 17px;
  overflow: hidden;
  text-align: left;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(
      0deg,
      rgba(16, 11, 18, 0.9),
      rgba(16, 11, 18, 0.22) 60%,
      rgba(16, 11, 18, 0.02)
    ),
    var(--tile-art) center / cover;
  box-shadow: 0 10px 24px rgba(40, 26, 14, 0.14);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.service-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(40, 26, 14, 0.22);
}

.service-tile strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.service-tile small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 11.5px;
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* 右上角箭头：半透明圆底，压在照片上也看得清 */
.tile-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(12, 8, 14, 0.32);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ---------- 普通老板：两列照片卡 ---------- */
.gx-guest .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.gx-guest .service-tile {
  gap: 2px;
  min-height: 136px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(
      0deg,
      rgba(18, 12, 16, 0.88),
      rgba(18, 12, 16, 0.18) 62%,
      rgba(18, 12, 16, 0.02)
    ),
    var(--tile-art) center / cover;
  box-shadow: 0 8px 18px rgba(58, 38, 22, 0.16);
}
/* 原来的角落光斑装饰在照片上会发灰，去掉 */
.gx-guest .service-tile::after {
  display: none;
}
.gx-guest .service-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 26px rgba(58, 38, 22, 0.24);
}
.gx-guest .service-tile:active {
  transform: translateY(-1px) scale(0.985);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 8px 16px rgba(58, 38, 22, 0.2);
}
.gx-guest .service-tile strong {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.gx-guest .service-tile small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.gx-guest .service-tile .tile-arrow {
  top: 10px;
  right: 10px;
  bottom: auto;
  width: 24px;
  height: 24px;
  color: #fff;
  opacity: 1;
  background: rgba(12, 8, 14, 0.34);
}

@media (min-width: 520px) {
  .gx-guest .service-tile {
    min-height: 152px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-tile,
  .gx-guest .service-tile {
    transition: none;
  }
}
