/* =========================================================
   玄机测算 · 页面样式
   ========================================================= */

/* ============ 首页 ============ */
.home-coupon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.5rem 0.9375rem 0;
  padding: 0.75rem 0.875rem;
  overflow: hidden;
  border-radius: 0.875rem;
  color: #fff3dc;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 214, 153, 0.3), transparent 40%),
    linear-gradient(120deg, #b91422, #e8402c 55%, #ff7a45);
  box-shadow: 0 0.375rem 1rem rgba(200, 30, 43, 0.24);
}

.home-coupon::after {
  content: "";
  position: absolute;
  inset: 0.25rem;
  border: 1px dashed rgba(255, 226, 178, 0.42);
  border-radius: 0.625rem;
  pointer-events: none;
}

.home-coupon__left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
}

.home-coupon__amount {
  color: #ffe1a8;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1;
  font-family: "DIN Alternate", "Helvetica Neue", sans-serif;
}

.home-coupon__amount small {
  font-size: 0.75rem;
  font-weight: 700;
}

.home-coupon__desc {
  padding-bottom: 0.125rem;
  font-size: 0.6875rem;
  line-height: 1.35;
  opacity: 0.9;
}

.home-coupon__desc b {
  display: block;
  font-size: 0.75rem;
}

.home-coupon__right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.home-coupon__timer {
  display: flex;
  align-items: center;
  gap: 0.1875rem;
  font-size: 0.625rem;
  color: #ffd9a6;
}

.home-coupon__timer .timer span {
  display: inline-block;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.125rem;
  border-radius: 0.25rem;
  background: rgba(80, 0, 8, 0.5);
  font-size: 0.6875rem;
  line-height: 1.25rem;
  text-align: center;
  color: #fff;
}

.home-coupon__btn {
  height: 1.75rem;
  padding: 0 0.875rem;
  font-size: 0.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  padding: 0.9375rem 0.9375rem 0;
}

.hero-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.05;
  border-radius: 0.875rem;
  background: linear-gradient(160deg, #33204f, #140d24);
  box-shadow: 0 0.375rem 1rem rgba(32, 20, 48, 0.25);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 6s ease;
}

.hero-card:active img {
  transform: scale(1.04);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 20, 0) 35%, rgba(10, 6, 20, 0.82) 100%);
}

.hero-card__body {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  color: #fff;
}

.hero-card__eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 233, 201, 0.72);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
}

.hero-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.hero-card__title strong {
  display: block;
  color: #f7d9a4;
  font-weight: 700;
}

.hero-card__note {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.625rem;
}

.hero-card__spark {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 1;
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(247, 217, 164, 0.8);
}

/* 横向轮播 */
.banner-carousel {
  margin: 0.9375rem 0 0;
  overflow: hidden;
}

.carousel {
  display: flex;
  overflow-x: auto;
  padding: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel__slide {
  position: relative;
  flex: 0 0 88%;
  margin-right: 3%;
  overflow: hidden;
  aspect-ratio: 2.55 / 1;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #2b1a45, #6b4a24);
  opacity: 0.62;
  transform: scale(0.94);
  transition: transform 0.28s ease, opacity 0.28s ease;
  scroll-snap-align: center;
}

.carousel__slide:first-child { margin-left: 6%; }
.carousel__slide:last-child { margin-right: 6%; }

.carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 6, 20, 0) 45%, rgba(10, 6, 20, 0.74) 100%);
}

.carousel__caption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.625rem;
  left: 0.75rem;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 0.375rem rgba(0, 0, 0, 0.5);
}

.carousel__caption b {
  display: block;
  font-size: 0.9375rem;
}

.carousel__caption span {
  font-size: 0.625rem;
  opacity: 0.78;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.carousel-dots i {
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 999px;
  background: #cfc6b8;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dots i.is-active {
  width: 0.875rem;
  background: var(--gold);
}

/* 今日运程 */
.score-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0.9375rem;
  padding: 0.875rem;
  border: 1px solid #f3e5ce;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #fffaf1);
  box-shadow: var(--shadow-soft);
}

.score-card__info {
  flex: 1;
  min-width: 0;
}

.score-card__label {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  color: var(--gold-deep);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.score-card__title {
  margin-top: 0.1875rem;
  font-size: 1rem;
  font-weight: 700;
}

.score-card__note {
  margin-top: 0.1875rem;
  color: var(--ink-2);
  font-size: 0.6875rem;
}

.score-card__link {
  margin-top: 0.375rem;
  color: var(--cta-1);
  font-size: 0.75rem;
  font-weight: 700;
}

.score-ring {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), #ece5d9 0);
  animation: glowPulse 2.8s ease-out infinite;
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 0.3125rem;
  border-radius: 50%;
  background: #fff;
}

.score-ring b {
  position: relative;
  color: var(--gold-deep);
  font-size: 1.125rem;
  font-weight: 800;
}

.score-ring b i {
  font-size: 0.5625rem;
  font-style: normal;
  font-weight: 400;
}

/* 首页 Tab */
.home-tabs {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin: 0.5rem 0.9375rem 0.625rem;
}

.home-tabs button {
  position: relative;
  color: #8f887f;
  font-size: 1.0625rem;
  font-weight: 700;
}

.home-tabs button.is-active {
  color: #3a2d20;
  font-size: 1.1875rem;
}

.home-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.375rem;
  width: 1.5rem;
  height: 0.1875rem;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: tabsLine 0.18s ease-out;
}

@keyframes tabsLine {
  from { transform: translateX(-50%) scaleX(0); }
  to { transform: translateX(-50%) scaleX(1); }
}

/* 活动倒计时 */
.festival {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0.9375rem;
  padding: 0.5625rem 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #fff2dd, #ffe1b3);
  color: #8a4a12;
  font-size: 0.6875rem;
}

.festival b {
  color: #e0490f;
  font-size: 0.8125rem;
}

/* 分类横滑 */
.cat-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0.9375rem 0;
  scrollbar-width: none;
}

.cat-chips::-webkit-scrollbar { display: none; }

.cat-chip {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(228, 171, 100, 0.35);
  border-radius: 0.625rem;
  color: #7a4a18;
  background: linear-gradient(160deg, #fffdf8, #fff3df);
  box-shadow: 0 0.125rem 0.5rem rgba(201, 143, 69, 0.12);
}

.cat-chip b {
  font-size: 0.75rem;
  white-space: nowrap;
}

.cat-chip span {
  color: var(--ink-3);
  font-size: 0.5625rem;
  white-space: nowrap;
}

/* 商品区 */
.goods-wrap {
  margin: 0.9375rem;
  padding: 0 0.625rem 0.75rem;
  border: 1px solid #f5ecdd;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.goods-tabs {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  padding: 0.625rem 0 0.75rem;
  border-radius: 0.875rem 0.875rem 0 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(0.5rem);
}

.goods-tabs button {
  position: relative;
  color: #7d756b;
  font-size: 1.0625rem;
  font-weight: 700;
}

.goods-tabs button.is-active { color: var(--gold-deep); }

.goods-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  width: 1.625rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: tabsLine 0.18s ease-out;
}

.goods-more {
  position: absolute;
  right: 1.125rem;
  top: 0.8125rem;
  color: var(--cta-1);
  font-size: 0.6875rem;
}

.goods-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.goods-item {
  display: block;
  overflow: hidden;
  border: 1px solid #f7f0e5;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.0625rem 0.5rem 0.125rem rgba(203, 176, 110, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.goods-item:active {
  transform: scale(0.992);
  box-shadow: 0 0.0625rem 0.375rem rgba(203, 176, 110, 0.18);
}

.goods-item__cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.55 / 1;
  background: linear-gradient(135deg, #2b1a45, #a8752f);
}

.goods-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.goods-item__tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.goods-item__body { padding: 0.625rem 0.75rem 0.75rem; }

.goods-item__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.goods-item__desc {
  margin-top: 0.1875rem;
  color: #7e7e7e;
  font-size: 0.75rem;
  line-height: 1.45;
}

.goods-item__meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.3125rem;
  color: #a9a29a;
  font-size: 0.625rem;
}

.goods-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.goods-item__bottom .btn-sm {
  height: 2rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

/* 开运好物 */
.luck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin: 0 0.9375rem;
}

.luck-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.625rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.luck-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #8a4a12;
  background: radial-gradient(circle at 30% 30%, #fff4da, #e4ab64);
  box-shadow: inset 0 -0.125rem 0.25rem rgba(138, 74, 18, 0.18);
}

.luck-item__icon svg { width: 1.125rem; height: 1.125rem; }

.luck-item b {
  display: block;
  font-size: 0.8125rem;
}

.luck-item span {
  display: block;
  margin-top: 0.0625rem;
  color: var(--ink-3);
  font-size: 0.5625rem;
  line-height: 1.35;
}

.home-footer {
  padding: 1.25rem 1.5rem 0.5rem;
  color: #a9a29a;
  font-size: 0.625rem;
  line-height: 1.7;
  text-align: center;
}

/* 领券红包弹窗 */
.coupon-pop {
  position: relative;
  width: 17.5rem;
  max-width: 86vw;
  padding: 0.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #e23a2e, #b31422);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.2);
  transform-origin: center;
}

.mask.is-open .coupon-pop {
  animation: popIn 0.2s linear forwards;
}

.coupon-pop__inner {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0.875rem 1rem;
  border: 1px dashed rgba(227, 179, 107, 0.9);
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff8e9 0%, #fff3d9 62%, #ffd9a8 100%);
  text-align: center;
}

.coupon-pop__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #a8460c;
  font-size: 1rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.7);
}

.coupon-pop__eyebrow {
  color: #b44d00;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
}

.coupon-pop__amount {
  margin-top: 0.125rem;
  color: #ff1335;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  font-family: "DIN Alternate", "Helvetica Neue", sans-serif;
}

.coupon-pop__amount small {
  font-size: 1rem;
  font-weight: 700;
}

.coupon-pop__sub {
  margin-top: 0.25rem;
  color: #b44d00;
  font-size: 0.8125rem;
}

.coupon-pop__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.625rem;
  color: #a8460c;
  font-size: 0.6875rem;
}

.coupon-pop__timer .timer span {
  display: inline-block;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.3125rem;
  color: #fff;
  background: #ad0000;
  box-shadow: inset 0 -2px 0.25rem rgba(0, 0, 0, 0.25);
  font-size: 0.75rem;
  line-height: 1.5rem;
  text-align: center;
}

.coupon-pop__btn {
  width: 100%;
  height: 2.5rem;
  margin-top: 0.75rem;
  font-size: 1rem;
}

.coupon-pop__tips {
  margin-top: 0.4375rem;
  color: #b44d00;
  font-size: 0.625rem;
  opacity: 0.72;
}

.coins {
  position: relative;
  height: 2.25rem;
  margin-top: 0.625rem;
}

.coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid #ffe6a0;
  border-radius: 50%;
  color: #b45309;
  font-size: 1rem;
  font-weight: 800;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #f0b33c 60%, #c47a11);
  box-shadow: 0 0.125rem 0.375rem rgba(180, 83, 9, 0.35);
  animation: floatY 3s ease-in-out infinite;
}

.coin:nth-child(1) { left: 18%; bottom: 0; }
.coin:nth-child(2) {
  left: 50%;
  bottom: 0.375rem;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: -1.375rem;
  animation-delay: 0.35s;
}
.coin:nth-child(3) { right: 18%; bottom: 0; animation-delay: 0.7s; }

/* ============ 通用导航栏 ============ */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 2.875rem;
  padding: 0 0.75rem;
  background: rgba(237, 237, 237, 0.9);
  backdrop-filter: blur(0.75rem);
}

.nav-bar--light {
  background: rgba(255, 255, 255, 0.92);
}

.nav-bar__title {
  flex: 1;
  overflow: hidden;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-bar__side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 3rem;
  color: var(--ink-2);
  font-size: 0.75rem;
}

.nav-bar__side--right { justify-content: flex-end; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
}

.icon-btn svg { width: 1.125rem; height: 1.125rem; }

/* ============ 商品详情 / 下单 ============ */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.375rem 0.9375rem 0;
  padding: 0.5rem 0.625rem;
  border-radius: 0.625rem;
  color: #8a4a12;
  background: #fff7e8;
  font-size: 0.6875rem;
}

.notice-bar svg {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--gold-deep);
}

.product-hero {
  position: relative;
  overflow: hidden;
  margin: 0.625rem 0.9375rem 0;
  aspect-ratio: 2.35 / 1;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #2b1a45, #a8752f);
}

.product-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(16, 10, 24, 0.72) 100%);
}

.product-hero__body {
  position: absolute;
  right: 0.75rem;
  bottom: 0.625rem;
  left: 0.75rem;
  z-index: 1;
  color: #fff;
}

.product-hero__body h1 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.product-hero__body p {
  margin-top: 0.1875rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6875rem;
}

.product-card {
  margin: 0.625rem 0.9375rem 0;
  padding: 0.875rem;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #f4eee4;
}

.product-price-row__meta {
  color: var(--ink-3);
  font-size: 0.625rem;
  text-align: right;
}

.product-form__title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0.875rem 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.product-form__title small {
  color: var(--ink-3);
  font-size: 0.625rem;
  font-weight: 400;
}

.live-feed {
  margin: 0.625rem 0.9375rem 0;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.live-feed__head {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.375rem;
  color: var(--ink-2);
  font-size: 0.6875rem;
  font-weight: 700;
}

.live-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #ff4a3d;
  box-shadow: 0 0 0 0.1875rem rgba(255, 74, 61, 0.14);
  animation: glowPulse 1.6s ease-out infinite;
}

.live-feed__viewport {
  height: 4.5rem;
  overflow: hidden;
}

.live-feed__track {
  animation: tickerUp 14s linear infinite;
}

.live-feed:hover .live-feed__track { animation-play-state: paused; }

.live-feed__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 1.5rem;
  color: #8f887f;
  font-size: 0.625rem;
  white-space: nowrap;
}

.live-feed__item b { color: #5c554d; font-weight: 600; }
.live-feed__item em { color: var(--gold-deep); font-style: normal; }

.cross-sell {
  margin: 0.625rem 0 0;
}

.cross-sell__scroll {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding: 0 0.9375rem 0.25rem;
  scrollbar-width: none;
}

.cross-sell__scroll::-webkit-scrollbar { display: none; }

.cross-card {
  flex: 0 0 9.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.cross-card__cover {
  aspect-ratio: 2.2 / 1;
  background: linear-gradient(135deg, #2b1a45, #a8752f);
}

.cross-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cross-card__body {
  padding: 0.5rem 0.625rem 0.625rem;
}

.cross-card__body b {
  display: block;
  overflow: hidden;
  font-size: 0.8125rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cross-card__body span {
  display: block;
  margin-top: 0.1875rem;
  color: var(--red);
  font-size: 0.6875rem;
  font-weight: 700;
}

.buybar {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 30rem;
  padding: 0.625rem 0.9375rem calc(0.625rem + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.06);
  transform: translateX(-50%);
  backdrop-filter: blur(0.5rem);
}

.buybar__price {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
}

.buybar__price span {
  color: var(--ink-3);
  font-size: 0.625rem;
}

.buybar .btn {
  flex: 1;
  max-width: 12.5rem;
  height: 2.75rem;
}

.product-footer {
  padding: 1rem 0.9375rem 0.5rem;
  color: #a9a29a;
  font-size: 0.625rem;
  line-height: 1.7;
  text-align: center;
}

/* 支付弹层 */
.pay-sheet__amount {
  color: var(--red);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  font-family: "DIN Alternate", "Helvetica Neue", sans-serif;
}

.pay-sheet__amount span {
  font-size: 1rem;
}

.pay-sheet__product {
  margin-top: 0.125rem;
  color: var(--ink-2);
  font-size: 0.75rem;
  text-align: center;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  height: 3rem;
  margin: 1rem 0 0.875rem;
  padding: 0 0.75rem;
  border: 1px solid var(--gold);
  border-radius: 0.625rem;
  background: #fff9ef;
  font-size: 0.875rem;
  text-align: left;
}

.pay-method__icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #fff;
  background: #09bb07;
}

.pay-method__icon svg { width: 1rem; height: 1rem; }

.pay-method__name { flex: 1; font-weight: 700; }

.pay-method__tag {
  color: var(--gold-deep);
  font-size: 0.625rem;
}

.pay-sheet__tip {
  margin-top: 0.625rem;
  color: var(--ink-3);
  font-size: 0.625rem;
  text-align: center;
}

.pay-spinner {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.25rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -0.125rem;
}

/* ============ 推演过渡页 ============ */
.transition-page {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem 1.125rem calc(2rem + var(--safe-bottom));
  overflow: hidden;
  color: #f4e7cf;
  background:
    radial-gradient(circle at 50% -10%, rgba(126, 78, 180, 0.55), transparent 45%),
    radial-gradient(circle at 15% 70%, rgba(201, 143, 69, 0.16), transparent 35%),
    linear-gradient(180deg, #241537 0%, #150d24 55%, #0b0714 100%);
}

.transition-head {
  position: relative;
  z-index: 2;
  text-align: center;
}

.transition-head__eyebrow {
  color: rgba(241, 188, 123, 0.7);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
}

.transition-head h1 {
  margin-top: 0.375rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.transition-head p {
  margin-top: 0.375rem;
  color: rgba(244, 231, 207, 0.55);
  font-size: 0.6875rem;
}

.rune {
  position: relative;
  display: grid;
  place-items: center;
  width: 7.5rem;
  height: 7.5rem;
  margin: 1.5rem auto 1.25rem;
  border-radius: 50%;
  border: 1px solid rgba(241, 188, 123, 0.28);
}

.rune::before,
.rune::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.rune::before {
  inset: 0.5rem;
  border: 1px dashed rgba(241, 188, 123, 0.45);
  animation: spin 18s linear infinite;
}

.rune::after {
  inset: 1.5rem;
  background: radial-gradient(circle at 40% 35%, rgba(247, 217, 164, 0.26), transparent 65%);
  box-shadow: inset 0 0 2rem rgba(241, 188, 123, 0.12);
}

.rune__icon {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #f1bc7b;
  filter: drop-shadow(0 0 0.5rem rgba(241, 188, 123, 0.35));
}

.rune__icon svg { width: 100%; height: 100%; }

.user-brief {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(241, 188, 123, 0.18);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(0.5rem);
}

.user-brief__item {
  min-width: 0;
  flex: 1;
}

.user-brief__item span {
  display: block;
  color: rgba(244, 231, 207, 0.45);
  font-size: 0.5625rem;
}

.user-brief__item b {
  display: block;
  margin-top: 0.1875rem;
  overflow: hidden;
  color: #f4e7cf;
  font-size: 0.8125rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-card {
  position: relative;
  z-index: 2;
  padding: 1rem;
  border: 1px solid rgba(241, 188, 123, 0.16);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(0.5rem);
}

.prog-item {
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
}

.prog-item + .prog-item { margin-top: 1.125rem; }

.prog-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.prog-item__name {
  color: rgba(244, 231, 207, 0.82);
}

.prog-item__state {
  color: rgba(241, 188, 123, 0.55);
  font-size: 0.625rem;
}

.prog-item.is-done .prog-item__state { color: #8fd6a5; }

.prog-line {
  height: 0.375rem;
  overflow: hidden;
  border-radius: 0.1875rem;
  background: rgba(255, 255, 255, 0.09);
}

.prog-line > i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.1875rem;
  background: linear-gradient(90deg, #b57a33, #ffcf8e 55%, #ffe9c6);
  transform: scaleX(0);
  transform-origin: left center;
  animation: progressGrow var(--dur, 2s) linear var(--delay, 0s) forwards;
}

.transition-tip {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
  color: rgba(244, 231, 207, 0.42);
  font-size: 0.625rem;
  text-align: center;
  line-height: 1.7;
}

.transition-skip {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  color: rgba(241, 188, 123, 0.62);
  font-size: 0.6875rem;
  text-align: center;
}

/* ============ 结果页 ============ */
.result-hero {
  position: relative;
  overflow: hidden;
  height: 11rem;
  background: linear-gradient(160deg, #2f1b4d, #150d24);
}

.result-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.result-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 7, 20, 0.1), rgba(11, 7, 20, 0.85));
}

.result-hero__body {
  position: absolute;
  right: 1rem;
  bottom: 1.75rem;
  left: 1rem;
  z-index: 1;
  color: #f4e7cf;
}

.result-hero__eyebrow {
  color: rgba(241, 188, 123, 0.7);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
}

.result-hero__body h1 {
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  letter-spacing: 0.04em;
}

.result-hero__body p {
  margin-top: 0.25rem;
  color: rgba(244, 231, 207, 0.55);
  font-size: 0.6875rem;
}

.score-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: -1.25rem 0.9375rem 0;
  padding: 0.875rem;
  border: 1px solid #f0e2ca;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.score-panel__ring {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), #eee7db 0);
}

.score-panel__ring::before {
  content: "";
  position: absolute;
  inset: 0.375rem;
  border-radius: 50%;
  background: #fff;
}

.score-panel__ring b {
  position: relative;
  color: var(--gold-deep);
  font-size: 1.375rem;
  font-weight: 800;
}

.score-panel__ring b i {
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 400;
}

.score-panel__info h2 {
  font-size: 1rem;
  font-weight: 700;
}

.score-panel__info p {
  margin-top: 0.25rem;
  color: var(--ink-2);
  font-size: 0.6875rem;
  line-height: 1.55;
}

.result-tabs {
  position: sticky;
  top: 2.875rem;
  z-index: 10;
  display: flex;
  justify-content: space-around;
  margin-top: 0.75rem;
  padding: 0.625rem 0 0.75rem;
  background: rgba(237, 237, 237, 0.95);
  backdrop-filter: blur(0.5rem);
}

.result-tabs button {
  position: relative;
  padding-bottom: 0.375rem;
  color: #8f887f;
  font-size: 0.8125rem;
}

.result-tabs button.is-active {
  color: #3a2d20;
  font-size: 0.9375rem;
  font-weight: 700;
}

.result-tabs__line {
  position: absolute;
  bottom: 0.1875rem;
  left: 0;
  width: 1.5rem;
  height: 0.1875rem;
  border-radius: 999px;
  background: var(--gold);
  transition: transform 0.25s ease;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0 0.9375rem;
}

.result-item {
  position: relative;
  overflow: hidden;
  padding: 0.875rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.result-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.result-item__title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.result-item__title::before {
  content: "";
  width: 0.1875rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
}

.result-item__score {
  color: var(--gold-deep);
  font-size: 0.6875rem;
  font-weight: 700;
}

.result-item__text {
  color: #6f6a64;
  font-size: 0.75rem;
  line-height: 1.75;
  transition: filter 0.3s ease;
}

.result-item.is-locked .result-item__text {
  filter: blur(0.25rem);
  user-select: none;
  pointer-events: none;
}

.result-item__lock {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  color: #8a4a12;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 250, 240, 0.88));
}

.result-item.is-locked .result-item__lock { display: flex; }

.result-item__lock svg {
  width: 1.5rem;
  height: 1.5rem;
}

.result-item__lock span {
  font-size: 0.6875rem;
}

.result-item__lock b {
  color: var(--red);
  font-size: 0.75rem;
}

.year-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0.9375rem 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(100deg, #2f1b4d, #1a102c);
  color: #f4e7cf;
}

.year-summary b {
  flex: none;
  color: #f1bc7b;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.year-summary p {
  color: rgba(244, 231, 207, 0.7);
  font-size: 0.6875rem;
  line-height: 1.55;
}

.year-summary p strong {
  color: #f1bc7b;
  font-weight: 600;
}

.result-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 30rem;
  padding: 0.625rem 0.9375rem calc(0.625rem + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.06);
  transform: translateX(-50%);
  backdrop-filter: blur(0.5rem);
}

.result-bottom__text {
  min-width: 0;
}

.result-bottom__text b {
  display: block;
  color: var(--gold-deep);
  font-size: 0.8125rem;
}

.result-bottom__text span {
  display: block;
  color: var(--ink-3);
  font-size: 0.625rem;
}

.result-bottom .btn {
  flex: none;
  height: 2.625rem;
  padding: 0 1.5rem;
}

.result-disclaimer {
  padding: 1rem 1.25rem 0.5rem;
  color: #a9a29a;
  font-size: 0.625rem;
  line-height: 1.7;
  text-align: center;
}

/* ============ 分类页 ============ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0.9375rem 0;
  padding: 0 0.75rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.search-bar svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: var(--ink-3);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.8125rem;
}

.search-bar input::placeholder { color: #bdb6ac; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 0.5rem;
  margin: 0.9375rem;
  padding: 0.875rem 0.5rem;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
}

.cat-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #8a4a12;
  background: radial-gradient(circle at 30% 25%, #fff6e2, #f0c88f 62%, #dba35b);
  box-shadow: inset 0 -0.125rem 0.375rem rgba(138, 74, 18, 0.2), 0 0.25rem 0.5rem rgba(201, 143, 69, 0.18);
}

.cat-card__icon svg { width: 1.375rem; height: 1.375rem; }

.cat-card b {
  font-size: 0.6875rem;
  font-weight: 600;
}

.cat-card span {
  color: var(--ink-3);
  font-size: 0.5rem;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0.9375rem 0.25rem;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
  flex: none;
  height: 1.75rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  color: #7d756b;
  background: #fff;
  font-size: 0.6875rem;
  line-height: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.filter-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  font-weight: 700;
}

.goods-row-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.75rem 0.9375rem 0;
}

.goods-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.goods-row__cover {
  flex: none;
  width: 5.5rem;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #2b1a45, #a8752f);
}

.goods-row__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goods-row__body {
  flex: 1;
  min-width: 0;
}

.goods-row__title {
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-row__desc {
  display: -webkit-box;
  margin-top: 0.125rem;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 0.6875rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.goods-row__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3125rem;
}

.goods-row__bottom .price b { font-size: 1.125rem; }

.goods-row__go {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: #c9c1b6;
}

.goods-row__go svg { width: 100%; height: 100%; }

/* ============ 我的 / 登录 ============ */
.login-card {
  margin: 1rem 0.9375rem 0;
  padding: 1.25rem 1rem 1.125rem;
  border-radius: 0.875rem;
  background:
    radial-gradient(circle at 85% 0%, rgba(228, 171, 100, 0.22), transparent 42%),
    #fff;
  box-shadow: var(--shadow-card);
}

.login-card__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.login-card__brand svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold-deep);
}

.login-card__note {
  margin-bottom: 1rem;
  color: var(--ink-3);
  font-size: 0.6875rem;
}

.code-row {
  display: flex;
  gap: 0.5rem;
}

.code-row .input { flex: 1; }

.code-btn {
  flex: none;
  width: 6.5rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  color: var(--gold-deep);
  background: #fff5e5;
  font-size: 0.75rem;
  font-weight: 700;
}

.code-btn:disabled {
  color: #b7aea1;
  background: #f4f0ea;
}

.login-card .btn { margin-top: 1rem; }

.profile-card {
  position: relative;
  overflow: hidden;
  margin: 0.75rem 0.9375rem 0;
  padding: 1rem;
  border-radius: 0.875rem;
  color: #f4e7cf;
  background: linear-gradient(120deg, #2f1b4d, #4a2b24 70%, #7a4a18);
  box-shadow: 0 0.375rem 1rem rgba(32, 20, 48, 0.25);
}

.profile-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(241, 188, 123, 0.25);
  border-radius: 50%;
}

.profile-card__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(241, 188, 123, 0.45);
  border-radius: 50%;
  color: #f1bc7b;
  background: rgba(255, 255, 255, 0.08);
}

.avatar svg { width: 1.5rem; height: 1.5rem; }

.profile-card__name {
  font-size: 1rem;
  font-weight: 700;
}

.profile-card__meta {
  margin-top: 0.125rem;
  color: rgba(244, 231, 207, 0.55);
  font-size: 0.6875rem;
}

.profile-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(241, 188, 123, 0.16);
}

.profile-stats b {
  display: block;
  color: #f1bc7b;
  font-size: 1.125rem;
}

.profile-stats span {
  color: rgba(244, 231, 207, 0.5);
  font-size: 0.625rem;
}

.user-tabs {
  display: flex;
  gap: 1.5rem;
  margin: 0.875rem 0.9375rem 0.625rem;
}

.user-tabs button {
  position: relative;
  color: #8f887f;
  font-size: 0.875rem;
}

.user-tabs button.is-active {
  color: #3a2d20;
  font-weight: 700;
}

.user-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.375rem;
  width: 1.25rem;
  height: 0.1875rem;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
}

.order-item {
  margin: 0 0.9375rem 0.625rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.order-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f5efe5;
  color: var(--ink-3);
  font-size: 0.625rem;
}

.order-item__head b {
  color: var(--gold-deep);
  font-weight: 600;
}

.order-item__body {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-top: 0.625rem;
}

.order-item__cover {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #2b1a45, #a8752f);
}

.order-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item__info {
  flex: 1;
  min-width: 0;
}

.order-item__info b {
  display: block;
  overflow: hidden;
  font-size: 0.8125rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-item__info span {
  display: block;
  margin-top: 0.1875rem;
  color: var(--ink-3);
  font-size: 0.625rem;
}

.order-item__link {
  flex: none;
  color: var(--gold-deep);
  font-size: 0.6875rem;
}

.user-actions {
  padding: 0.5rem 0.9375rem 1rem;
}

.user-actions .btn { height: 2.5rem; font-size: 0.8125rem; }

/* 搜索无结果 */
.search-empty {
  padding: 2rem 1rem;
  color: var(--ink-3);
  font-size: 0.75rem;
  text-align: center;
}

/* 我的卡券 */
.user-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0.9375rem 0.625rem;
  padding: 1rem;
  border-radius: 0.75rem;
  color: #fff3dc;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 214, 153, 0.26), transparent 42%),
    linear-gradient(120deg, #b91422, #f0452f);
  box-shadow: 0 0.375rem 1rem rgba(200, 30, 43, 0.22);
}

.user-coupon b {
  color: #ffe1a8;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  font-family: "DIN Alternate", "Helvetica Neue", sans-serif;
}

.user-coupon b small {
  font-size: 0.75rem;
}

.user-coupon span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  opacity: 0.85;
}

.user-coupon.is-empty {
  filter: grayscale(0.35);
  opacity: 0.8;
}

.user-coupon .btn { flex: none; }

/* 细节补全 */
.brandbar__logo i svg { width: 100%; height: 100%; }
.hero-card__spark svg { width: 100%; height: 100%; }
.float-red b {
  color: #ffd98c;
  font-size: 1rem;
  line-height: 1;
}
img.is-broken { opacity: 0; }

@media (min-width: 481px) {
  body { background: #cfccc5; }
  .app { min-height: 100vh; }
  .float-red { right: calc(50% - 15.625rem); }
  .float-red.is-mini { right: calc(50% - 16.5625rem); }
}
