@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap");
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-60px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(60px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.6, 0.6, 0.6);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
:root {
  --navy: #374FA6;
  --navy-deep: #252D80;
  --navy-text: #2B2F61;
  --pink: #FF6AB1;
  --pink-light: #FFDBEE;
  --pink-bg: #FFEEF8;
  --pink-pale: #FFE6F5;
  --yellow: #FCC342;
  --purple: #C880ED;
  --red: #D70C18;
  --red-bar: #C9161E;
  --black: #0E0606;
  --gray-text: #585757;
  --gray-line: #DEDEDE;
  --gray-placeholder: #D9D9D9;
  --white: #FFFFFF;
}

/* ============================================================
   貼紙字描邊 mixin：白字 + 均勻描邊（16 方向）+ 位移陰影
   三個參數都可獨立設定（用具名參數就不必照順序）：
     @include sticker(2px);                              // 只改粗細
     @include sticker($shadow: -2px 2px 0 var(--navy));  // 只改陰影
     @include sticker(1px, $color: var(--navy));         // 只改描邊色
     @include sticker(2px, $shadow: false);              // 不要陰影
============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* 只用淺色配色，阻止瀏覽器自動深色主題反轉/調暗顏色 */
  color-scheme: light only;
  /* 錨點連結（#upgrade-gift 等）平滑捲動 */
  scroll-behavior: smooth;
  /* 捲動定位時預留固定 header 高度，避免內容被擋住 */
  scroll-padding-top: 88px;
}

html,
body {
  font-family: "Albert Sans", "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-weight: 900;
  color: var(--navy-text);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 40x40 pink + white grid background (header → benefits) */
body {
  background-color: var(--pink-bg);
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.55) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 40px 40px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* ============================================================
   HEADER
============================================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  height: 70px;
  background-color: var(--red);
  padding: 20px 40px;
  display: flex;
  align-items: center;
}
header .logo:hover {
  text-decoration: none;
}
header .logo img {
  width: auto;
  height: 28px;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  width: 100%;
  background: transparent;
  padding-top: 96px;
}

.hero-inner {
  position: relative;
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.hero-left {
  position: relative;
  max-width: 560px;
  z-index: 2;
}
.hero-left .hero-title {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}
.hero-left .hero-title .badge {
  display: block;
  width: 220px;
  height: auto;
  position: absolute;
  top: -80px;
  left: -42px;
}
.hero-left .hero-title img.title {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
  margin: -36px 0;
}
.hero-left .hero-sub-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-left .hero-sub {
  display: inline-flex;
  align-items: stretch;
  background: var(--pink);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  overflow: hidden;
  border: 2px solid var(--pink);
}
.hero-left .hero-sub .seg {
  padding: 12px 8px;
  line-height: 1;
}
.hero-left .hero-sub .seg:first-child {
  background: white;
  color: var(--pink);
}
.hero-left .task-tags {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-left .task-tags li {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  padding: 24px;
  font-size: 24px;
  font-weight: 900;
}
.hero-left .task-tags li .tag-value {
  color: var(--navy-text);
}
.hero-left .task-tags li .tag-value em {
  color: var(--pink);
  font-style: normal;
  font-size: 33px;
  line-height: 1;
}
.hero-left .cta-draw-container {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-left .deco-2 {
  top: -46px;
  right: -31px;
}
.hero-left .deco-3 {
  top: 0px;
  left: 18px;
}

.cta-draw {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 24px;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--navy);
  transition: color 0.15s, box-shadow 0.15s;
  line-height: 1;
  cursor: pointer;
}
.cta-draw .arrow {
  width: 20px;
  transition: fill 0.2s;
}
.cta-draw:hover {
  box-shadow: 4px 4px 0 var(--pink);
  color: var(--pink);
  border-color: var(--pink);
}
.cta-draw:hover .arrow path {
  fill: var(--pink);
}

.hero-right .hero-illustration {
  max-width: 560px;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ============================================================
   FIXED PIN (立即辦卡 直立釘選, sticks to right viewport edge)
============================================================ */
.fixed-pin {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  /* 粉紅標籤 + 深藍外框 + 往左下的位移陰影（取代原本 pin-banner.svg 的雙層底色） */
  background: var(--pink);
  border: 1px solid var(--navy);
  box-shadow: -3px 3px 0 var(--navy);
  transition: transform 0.25s ease;
}
.fixed-pin .fixed-pin-text {
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  /* 沿用 .modal-title 寫法：白字 + 深藍外框(text-shadow) + 往左下位移陰影 */
  text-shadow: 0 0 0 var(--navy), 1px 0 0 var(--navy), -1px 0 0 var(--navy), 0 1px 0 var(--navy), 0 -1px 0 var(--navy), -3px 3px 0 var(--navy);
}
.fixed-pin:hover {
  transform: translateY(calc(-50% - 4px));
}

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.deco-1 {
  top: 106px;
  left: -178px;
  width: 220px;
}

/* ============================================================
   MARQUEE (tilted strips)
============================================================ */
.marquee {
  position: relative;
  width: 100%;
  height: 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin: 75px 0 40px;
  z-index: 4;
  background: white;
  color: var(--navy);
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}
.marquee.tilt-down {
  transform: rotate(-5deg);
}
.marquee.tilt-up {
  margin: 60px 0 20px;
  transform: rotate(5deg);
}
.marquee.tilt-up .marquee-track {
  animation: marquee-scroll 30s linear infinite reverse;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.marquee-track span {
  padding: 0;
  flex-shrink: 0;
}
.marquee-track span::after {
  content: "•";
  margin: 0 0.6rem;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* ============================================================
   CONNECTOR
============================================================ */
.connector {
  background: transparent;
  position: relative;
  z-index: 1;
}
.connector .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}
.connector .copy h3 .line {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.connector .copy h3 .line.accent {
  color: var(--pink);
  margin: 24px 0;
}
.connector .illustration {
  flex-shrink: 0;
  width: 380px;
}
.connector .illustration img {
  width: 100%;
}

/* ============================================================
   GIFTS (Card section 1)
============================================================ */
.gifts {
  background: transparent;
  padding: 70px 0 50px;
  position: relative;
}
.gifts .deco-3,
.gifts .deco-4 {
  position: absolute;
  z-index: -1;
}
.gifts .deco-4 {
  left: -136px;
  top: -163px;
}
.gifts .deco-3 {
  right: -90px;
  top: 80px;
  transform: rotate(33deg);
}
.gifts .section-title {
  text-align: center;
  margin-bottom: -46px;
  position: relative;
  z-index: 3;
}
.gifts .section-title .title-img {
  display: inline-block;
  width: auto;
  height: 72px;
  max-width: 100%;
}
.gifts .gifts-wrapper {
  position: relative;
  background: var(--white);
  border: 3px solid var(--navy);
  padding: 80px 40px 40px;
  box-shadow: 4px 3px 0px 2px var(--navy);
  border-radius: 0 8px 0 8px;
}
.gifts .grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: stretch;
}
.gifts .gifts-col {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.upgrade-gift .new-card {
  width: 100%;
}
.upgrade-gift .upgrade-deco-3,
.upgrade-gift .upgrade-deco-4 {
  position: absolute;
  z-index: -1;
}
.upgrade-gift .upgrade-deco-3 {
  top: 112px;
  left: -124px;
  width: 100px;
}
.upgrade-gift .upgrade-deco-4 {
  top: 420px;
  left: -66px;
  width: 40px;
}

.gift-card {
  background: var(--white);
  border: 2px solid var(--navy);
  padding: 32px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  box-shadow: 4px 3px 0px 2px var(--navy);
  border-radius: 0 8px 0 8px;
  width: calc(50% - 12px);
}
.gift-card .gift-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gift-card .gift-tag {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.gift-card .gift-tag > img {
  width: 28px;
}
.gift-card .gift-desc {
  font-size: 20px;
  color: var(--navy-text);
  font-weight: 900;
}
.gift-card .gift-desc em {
  color: var(--pink);
  font-style: normal;
  font-size: 24px;
  font-weight: 900;
}
.gift-card .note {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 400;
  line-height: 1.5;
}
.gift-card .gift-illustration {
  width: 296px;
}

.gift-note {
  width: 100%;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: 4px 3px 0px 2px var(--navy);
  border-radius: 0 8px 0 8px;
  border: 2px solid var(--navy);
  padding: 16px;
}
.gift-note .link-to-upgrade {
  color: var(--pink);
  font-size: 16px;
}
.gift-note .badge {
  white-space: nowrap;
  padding: 8px;
  background: var(--pink);
  color: white;
  line-height: 1;
}
.gift-note {
  font-size: 20px;
}
.gift-note span {
  color: var(--pink);
  font-size: 24px;
}

.info-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.info-card .info-row {
  padding-bottom: 24px;
  border-top: 2px solid var(--pink);
}
.info-card .info-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.info-card .info-row .info-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  padding: 10px 8px;
  background: var(--pink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 20px;
}
.info-card .info-row .info-label .info-ico {
  width: 14px;
  height: 14px;
  color: var(--white);
  flex-shrink: 0;
}
.info-card .info-row .info-value {
  font-size: 16px;
  color: var(--navy-text);
  font-weight: 900;
  line-height: 1.6;
  padding: 0 24px;
}
.info-card .info-row .info-value.date {
  font-size: 24px;
  line-height: 1;
}
.info-card .info-row .info-value.note {
  font-size: 14px;
  color: var(--navy-text);
  font-weight: 400;
  line-height: 2;
  margin-top: 8px;
}
.info-card .info-row .info-value em {
  color: var(--pink);
  font-style: normal;
  font-weight: 900;
}
.info-card .info-actions {
  display: flex;
  gap: 24px;
  margin-top: auto;
}

.new-card .title {
  background: var(--pink-bg);
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  line-height: 1;
}
.new-card .title .badge {
  color: var(--white);
  background: var(--pink);
  font-size: 24px;
  font-weight: 900;
  padding: 10px 12px 8px;
  border-radius: 16px;
  margin-right: 8px;
  line-height: 1;
}
.new-card .content {
  background: var(--pink-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 12px 24px 24px;
  font-size: 24px;
}
.new-card .center {
  margin: 12px 0;
}
.new-card .pointers {
  display: flex;
  align-items: center;
  gap: 16px;
}
.new-card .point {
  background: var(--white);
  border: 1px solid var(--pink);
  text-align: center;
  color: var(--pink);
  font-size: 40px;
  line-height: 1;
}
.new-card .point p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
  line-height: 1;
}
.new-card .point span {
  font-size: 20px;
  color: var(--navy-text);
}
.new-card .point .point-bottom {
  background: var(--pink);
  color: var(--white);
  font-size: 16px;
  padding: 8px 0;
  width: 196px;
  line-height: 1;
}
.new-card .info-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  gap: 24px;
}

/* ============================================================
   SOCIAL DRAW (Card section 2)
============================================================ */
.social-draw .social-deco-3,
.social-draw .social-deco-4,
.social-draw .social-deco-5 {
  position: absolute;
  z-index: -1;
}
.social-draw .social-deco-3 {
  width: 246px;
  top: -112px;
  left: -158px;
}
.social-draw .social-deco-4 {
  width: 310px;
  top: -186px;
  right: -224px;
  transform: rotate(38deg);
}
.social-draw .social-deco-5 {
  right: -240px;
  bottom: -61px;
}
.social-draw .gift-titles {
  font-size: 20px;
}
.social-draw .gift-titles .first {
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--pink);
  margin-bottom: 8px;
}
.social-draw .gift-titles .first img {
  width: 154px;
}
.social-draw .gift-titles .second {
  color: white;
  background: var(--pink);
  display: flex;
  font-size: 16px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  margin-bottom: 12px;
}
.social-draw .gift-titles .second path {
  fill: white;
}
.social-draw .gift-titles .second:hover path {
  fill: var(--navy);
}
.social-draw .gift-titles .list {
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-bottom: 11px;
}
.social-draw .gift-desc {
  background: rgba(43, 47, 97, 0.0509803922);
  padding: 16px 8px;
}
.social-draw .gift-desc .title {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(43, 47, 97, 0.2);
}
.social-draw .gift-desc .list {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 400;
  display: flex;
}
.social-draw .gift-card {
  padding-bottom: 20px;
  gap: 0;
  justify-content: flex-start;
}
.social-draw .gift-draw {
  display: flex;
}
.social-draw .gift-draw .draw-desc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
}
@media screen and (max-width: 1199px) {
  .social-draw .gift-draw .draw-desc {
    font-size: 19px;
  }
}
.social-draw .gift-draw .draw-desc p {
  margin-bottom: 6px;
}
.social-draw .gift-draw .draw-desc span {
  color: var(--pink);
  font-size: 16px;
  margin-left: 4px;
}
.social-draw .gift-draw .draw-desc em {
  font-size: 32px;
  font-style: normal;
}
.social-draw .gift-draw .badge {
  padding: 4px;
  border: 0.5px solid var(--navy-text);
  font-size: 12px;
  border-radius: 4px;
  font-weight: 400;
  margin-left: 4px;
}
.social-draw .gift-draw.gift-analyze {
  display: block;
}
.social-draw .gift-draw.gift-analyze .gift-analyze-desc {
  font-size: 13px;
  display: flex;
  font-weight: 400;
}
.social-draw .gift-draw.gift-camera {
  display: block;
}
.social-draw .gift-draw.gift-camera .camera {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-draw .gift-draw.gift-camera .camera img {
  max-width: 88px;
}
@media screen and (max-width: 1199px) {
  .social-draw .gift-draw.gift-camera .camera {
    gap: 8px;
  }
  .social-draw .gift-draw.gift-camera .camera img {
    max-width: 84px;
  }
}
.social-draw .gift-draw.gift-line .draw-desc > img {
  margin-bottom: 15px;
}
.social-draw .gift-draw.gift-line .draw-desc span {
  margin-left: 0;
}
.social-draw .gift-draw.gift-line .line-point {
  width: 134px;
  margin-bottom: -15px;
}
.social-draw .gift-text {
  margin-bottom: 24px;
}
.social-draw .cta-draw {
  margin-top: auto;
  align-self: flex-start;
}
@media screen and (max-width: 1199px) {
  .social-draw .cta-draw {
    margin: 28px auto 20px;
  }
}

/* ============================================================
   BENEFITS (Richart 7 大刷)
============================================================ */
.benefits {
  background: var(--pink-pale);
  padding: 80px 0;
}
.benefits .section-title {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.benefits .section-title .mascot {
  height: 64px;
  width: auto;
}
.benefits .section-title .title-img {
  height: 64px;
  width: auto;
}
.benefits .section-title {
  /* 手機版才換成的整合圖，桌機隱藏 */
}
.benefits .section-title .title-img-mobile {
  display: none;
}

/* ---- 左：7+1 刷權益表（白底格、2px pink 格線） ---- */
.benefits-table {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 2px;
  background: var(--pink-pale);
  --col-item: 128px;
  --col-rate: 112px;
}
.benefits-table .switch-cell {
  flex: 0 0 152px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.benefits-table .switch-cell .switch-label {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.benefits-table .switch-cell .switch-count {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  white-space: nowrap;
  line-height: 1;
}
.benefits-table .switch-cell .switch-count em {
  font-style: normal;
  font-size: 48px;
  font-weight: 900;
  color: var(--pink);
  -webkit-text-stroke: 1px var(--navy);
  text-shadow: 2px 2px 0 var(--navy);
  line-height: 1;
}
.benefits-table .switch-cell .switch-count i {
  font-style: normal;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}
.benefits-table .switch-cell .switch-count b {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}
.benefits-table .table-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.benefits-table .bgroup {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.benefits-table .b-ico {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.benefits-table {
  /* 類別欄（OO刷 / Pay著刷 / 假日刷） */
}
.benefits-table .b-item {
  flex: 0 0 var(--col-item);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  text-align: center;
}
.benefits-table .b-item-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
}
.benefits-table .b-item-note {
  font-size: 12px;
  font-weight: 400;
  color: var(--navy);
}
.benefits-table {
  /* 級距列容器 */
}
.benefits-table .b-rows {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.benefits-table .b-row {
  flex: 1 1 auto;
  min-height: 48px;
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.benefits-table {
  /* 費率欄外層：撐滿 cell（白底/欄寬），垂直置中內層 b-rate */
}
.benefits-table .b-rate-wrap {
  flex: 0 0 var(--col-rate);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefits-table {
  /* 費率欄內容：「最高」「%」靠齊大數字底部 */
}
.benefits-table .b-rate {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy-text);
  white-space: nowrap;
}
.benefits-table .b-rate em {
  font-style: normal;
  font-size: 24px;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}
.benefits-table {
  /* 說明欄 */
}
.benefits-table .b-desc {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  background: var(--white);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy-text);
}
.benefits-table .b-desc.b-desc--hl {
  color: var(--pink);
  font-weight: 900;
  font-size: 16px;
}
.benefits-table {
  /* 說明欄內的「藍框標籤 + 店家清單」多列結構（Chii享刷） */
}
.benefits-table .b-subcats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
}
.benefits-table .b-subcat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.benefits-table .b-subtag {
  flex-shrink: 0;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 4px 4px 2px;
  white-space: nowrap;
}
.benefits-table .b-subtag-list {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.4;
  color: var(--navy-text);
  word-break: break-word;
}
.benefits-table {
  /* 群組 3：5 類別共用一個費率 */
}
.benefits-table .bgroup-cats .b-cats {
  flex: 0 0 var(--col-item);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.benefits-table .bgroup-cats .b-cat {
  flex: 1 1 0;
  min-height: 48px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
}
.benefits-table .bgroup-cats .b-rate--merged {
  align-self: stretch;
}
.benefits-table .bgroup-cats .b-descs {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.benefits-table .bgroup-cats .b-descs .b-desc {
  flex: 1 1 0;
}

/* ---- 右：3 張加碼權益卡 ---- */
.benefits-title {
  margin-bottom: 20px;
}
@media screen and (max-width: 1199px) {
  .benefits-title {
    text-align: center;
  }
}

.benefits-extras {
  display: flex;
  margin-top: 20px;
  gap: 20px;
}
.benefits-extras .extra-card {
  flex: 1 1 0;
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.benefits-extras .badge {
  background: var(--pink);
  color: white;
  padding: 8px;
  line-height: 1;
  align-self: flex-start;
}
.benefits-extras .extra-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.benefits-extras .extra-title .extra-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.benefits-extras .extra-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--navy-text);
  line-height: 1.6;
}
.benefits-extras .extra-card p em {
  font-style: normal;
  font-size: 24px;
  font-weight: 900;
  color: var(--pink);
  margin: 0 2px;
}

/* ============================================================
   FOOTER
============================================================ */
.warning {
  background: linear-gradient(90deg, #ebebeb 0%, #fbfbfc 100%);
}

.w-box {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  padding: 16px 0;
  display: flex;
  align-items: center;
  font-weight: 900;
  letter-spacing: 0.1rem;
  font-family: "Albert Sans", sans-serif;
  gap: 24px;
  color: var(--black);
}

.w-left {
  font-size: 32px;
  text-align: center;
}

.w-right {
  flex: 1;
  font-size: 16px;
  font-family: "Microsoft JhengHei", sans-serif;
  font-weight: 400;
  letter-spacing: normal;
}

footer {
  background-image: linear-gradient(90deg, var(--red) 50%, #dedede 51%);
}

.footer-copyright {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 56px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 56px;
  padding-left: 30px;
  width: 312px;
  background-color: #dedede;
}

.copyright {
  background-color: var(--red);
  font-size: 12px;
  font-family: "Microsoft JhengHei";
  font-weight: 500;
  line-height: 56px;
  padding-left: 30px;
  flex: 1;
  display: inline-block;
  color: #fff;
}

/* ============================================================
   MODAL（活動詳情彈窗）
============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal.is-open {
  display: flex;
}
@media screen and (max-width: 1199px) {
  .modal#modal-loading {
    align-items: center;
  }
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 23, 46, 0.8);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: 700px;
  max-width: 100%;
  height: 552px;
  max-height: calc(100vh - 40px);
  background: var(--pink-bg);
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.15s;
  background: white;
  border-radius: 50%;
}
.modal-close svg {
  display: block;
}
.modal-close:hover {
  color: var(--pink);
}

.modal-header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--navy);
}
.modal-header .modal-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  color: var(--white);
  text-shadow: 0 0 0 var(--navy), 1px 0 0 var(--navy), -1px 0 0 var(--navy), 0 1px 0 var(--navy), 0 -1px 0 var(--navy), -3px 3px 0 var(--navy);
}
.modal-header .modal-subtitle {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 0;
}

/* 活動辦法：1./2.… 主項 + (1)(2)… 子項，懸掛縮排 */
.modal-terms {
  list-style: none;
  counter-reset: term;
  color: var(--navy-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}
.modal-terms > li {
  counter-increment: term;
  position: relative;
  padding-left: 1.8em;
}
.modal-terms > li::before {
  content: counter(term) ".";
  position: absolute;
  left: 0;
  top: 0;
}
.modal-terms .sub {
  list-style: none;
  counter-reset: sub;
}
.modal-terms .sub > li {
  counter-increment: sub;
  position: relative;
  padding-left: 2.4em;
}
.modal-terms .sub > li::before {
  content: "(" counter(sub) ")";
  position: absolute;
  left: 0;
  top: 0;
}
.modal-terms p {
  margin: 0;
}

/* 手動編號版（中文 (一)(二)… + 子項 1. 2.）：關掉自動 counter，用 .t-no 懸掛縮排 */
.modal-terms--manual {
  counter-reset: none;
}
.modal-terms--manual > li {
  counter-increment: none;
  padding-left: 3em;
}
.modal-terms--manual > li::before {
  content: none;
}
.modal-terms--manual .sub--manual {
  counter-reset: none;
}
.modal-terms--manual .sub--manual > li {
  counter-increment: none;
  padding-left: 1.8em;
}
.modal-terms--manual .sub--manual > li::before {
  content: none;
}
.modal-terms--manual .t-no {
  position: absolute;
  left: 0;
  top: 0;
}

/* 注意事項小標 */
.modal-terms-heading {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy-text);
  margin-bottom: 4px;
}

/* modal 內文連結（網址）：可辨識為連結、可換行不爆版 */
.modal-body a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  word-break: break-all;
}

.modal-disclaimer {
  font-weight: 400;
}
.modal-disclaimer .modal-disclaimer-title {
  font-weight: 400;
}

/* ============================================================
   MODAL：抽籤（請憑直覺抽出一支籤）
============================================================ */
.draw-dialog {
  position: relative;
  width: 700px;
  max-width: 100%;
  /* 矮螢幕時自動縮小，留 88px 給浮在外面的 X（置中時上下各 ~44px，X 不會被擠出畫面）*/
  max-height: min(552px, 100dvh - 88px);
  height: 100%;
  background: var(--pink-bg);
  background: linear-gradient(254.78deg, #F9BCEF 5.64%, #DFC1F3 57.98%, #AAC9FB 105.51%);
  /* 讓子層可用 cqh = 面板高度，做高度導向的縮放 */
  container-type: size;
}
@media screen and (max-width) {
  .draw-dialog {
    max-height: calc(100dvh - 88px);
  }
}
.draw-dialog {
  /* 四邊跑馬燈 */
}
.draw-dialog .draw-edge {
  position: absolute;
  overflow: hidden;
  z-index: 3;
  background: var(--white);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}
.draw-dialog .draw-edge--top {
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  border-bottom: 1px solid var(--navy);
}
.draw-dialog .draw-edge--bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  border-top: 1px solid var(--navy);
}
.draw-dialog .draw-edge--left {
  top: 0;
  bottom: 0;
  left: 0;
  width: 56px;
  justify-content: center;
  /* 垂直 track 靠頂端對齊（基底的 align-items:center 會把超高 track 置中，
     導致 translateY(-50%) 後底部停在邊條中央而露白） */
  align-items: flex-start;
  border-right: 1px solid var(--navy);
}
.draw-dialog .draw-edge--right {
  top: 0;
  bottom: 0;
  right: 0;
  width: 56px;
  justify-content: center;
  align-items: flex-start;
  border-left: 1px solid var(--navy);
}
.draw-dialog .draw-edge .draw-edge-track {
  white-space: nowrap;
  will-change: transform;
}
.draw-dialog .draw-edge--top .draw-edge-track, .draw-dialog .draw-edge--bottom .draw-edge-track {
  /* 內容加倍（8 段）→ 60s 維持原速；半條 track 夠寬，reverse 起始不會露白 */
  animation: marquee-scroll 60s linear infinite reverse;
}
.draw-dialog .draw-edge--left .draw-edge-track, .draw-dialog .draw-edge--right .draw-edge-track {
  writing-mode: vertical-rl;
  animation: marquee-scroll-y 60s linear infinite reverse;
}
.draw-dialog {
  /* 內容區（避開四邊跑馬燈） */
}
.draw-dialog .draw-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.draw-dialog .draw-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 0;
  max-width: none;
}
@media screen and (max-width: 1199px) {
  .draw-dialog .draw-glow {
    width: 130%;
  }
}
@media screen and (max-width: 500px) {
  .draw-dialog .draw-glow {
    width: 200%;
  }
}
.draw-dialog .draw-title {
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  z-index: 2;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  color: var(--white);
  text-shadow: 0 0 0 var(--navy), 1px 0 0 var(--navy), -1px 0 0 var(--navy), 0 1px 0 var(--navy), 0 -1px 0 var(--navy), -3px 3px 0 var(--navy);
}
@media screen and (max-width: 1199px) {
  .draw-dialog .draw-title {
    font-size: 32px;
  }
}
.draw-dialog {
  /* 扇形籤（以底部中央為軸心放射） */
}
.draw-dialog .draw-fan {
  position: absolute;
  left: 50%;
  bottom: -238px;
  width: 0;
  height: 0;
  z-index: 10;
  transform: translateX(-50%);
  /* 手機版：bottom 依面板高度(100cqh)變化，高度越少 bottom 降越多。
     -35px = 滿高(100cqh=552)時的基準；1.5 = 陡度(>1 比等比更陡)。兩者可調。 */
}
@media screen and (max-width: 1199px) {
  .draw-dialog .draw-fan {
    bottom: calc(-35px + (100cqh - 552px) * 0.7);
  }
}
.draw-dialog .draw-stick {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  margin-left: -29px;
  transform-origin: bottom center;
  transform: rotate(var(--angle));
  transition: transform 0.2s ease;
  cursor: pointer;
}
@media screen and (max-width: 1199px) {
  .draw-dialog .draw-stick {
    width: 40px;
    margin-left: -20px;
  }
}
.draw-dialog .draw-stick {
  /* 進場：扇形展開（modal 每次開啟都會重播，因 .modal display 由 none→flex） */
  animation: stick-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.draw-dialog .draw-stick:nth-child(1) {
  animation-delay: 0.04s;
}
.draw-dialog .draw-stick:nth-child(2) {
  animation-delay: 0.1s;
}
.draw-dialog .draw-stick:nth-child(3) {
  animation-delay: 0.16s;
}
.draw-dialog .draw-stick:nth-child(4) {
  animation-delay: 0.22s;
}
.draw-dialog .draw-stick:nth-child(5) {
  animation-delay: 0.28s;
}
.draw-dialog .draw-stick img {
  width: 100%;
  height: auto;
  display: block;
}
.draw-dialog .draw-stick {
  /* hover：沿該籤方向往外移 24px（不改變 z-index，維持原本疊放順序） */
}
.draw-dialog .draw-stick:hover {
  transform: rotate(var(--angle)) translateY(-48px);
}

@keyframes marquee-scroll-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
/* 抽籤：籤進場（從中央收合 → 各自角度展開） */
@keyframes stick-in {
  from {
    opacity: 0;
    transform: rotate(0deg) translateY(60px);
  }
  to {
    opacity: 1;
    transform: rotate(var(--angle)) translateY(0);
  }
}
/* ============================================================
   MODAL：抽籤結果（籤詩）
============================================================ */
.result-dialog {
  position: relative;
  /* 頂列：左 X、右 儲存籤詩 + L（浮在卡片上方） */
}
.result-dialog .result-topbar {
  position: absolute;
  top: -52px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-dialog .result-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
}
.result-dialog .result-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.result-dialog .result-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--navy);
  padding: 12px 8px 8px 12px;
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  cursor: pointer;
}
.result-dialog .result-save img {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
}

/* 卡片本體（主題色用 --r-bg / --r-text，JS 隨機套上） */
.result-card {
  --r-bg: #FFEEFB;
  --r-text: #AF61CC;
  width: 300px;
  max-width: 100%;
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  background: var(--r-bg);
  color: var(--r-text);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* 卡內文字統一 line-height:1（避免 html2canvas 下載時文字往下偏）；內文段落另外覆寫 */
  line-height: 1;
  /* 標題/籤名/4 句：白字 + 主題色外框(border)+ 位移陰影，沿用 .modal-title 寫法 */
}
.result-card .result-level {
  color: var(--white);
  text-shadow: 0 0 0 var(--r-text), 1px 0 0 var(--r-text), -1px 0 0 var(--r-text), 0 1px 0 var(--r-text), 0 -1px 0 var(--r-text), -4px 2px 0 var(--navy);
}
.result-card .result-name {
  color: var(--white);
  text-shadow: 1px 0px 0 var(--r-text), 0.924px 0.383px 0 var(--r-text), 0.707px 0.707px 0 var(--r-text), 0.383px 0.924px 0 var(--r-text), 0px 1px 0 var(--r-text), -0.383px 0.924px 0 var(--r-text), -0.707px 0.707px 0 var(--r-text), -0.924px 0.383px 0 var(--r-text), -1px 0px 0 var(--r-text), -0.924px -0.383px 0 var(--r-text), -0.707px -0.707px 0 var(--r-text), -0.383px -0.924px 0 var(--r-text), 0px -1px 0 var(--r-text), 0.383px -0.924px 0 var(--r-text), 0.707px -0.707px 0 var(--r-text), 0.924px -0.383px 0 var(--r-text), -2px 2px 0 var(--navy);
}
.result-card .result-head {
  text-align: center;
}
.result-card .result-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  border: 1px solid white;
  padding: 8px;
  background: url("/images/sign/bg.svg");
  background-size: cover;
  background-position-y: 43%;
}
.result-card .result-name {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.result-card {
  /* 標題兩側裝飾（線+鑽石）inline SVG，吃主題色(currentColor)。
     翻轉改寫在右邊那顆 SVG 內部的 <g transform>，html2canvas 才會正確渲染（CSS transform 它不吃）。 */
}
.result-card .r-deco {
  width: 48px;
  height: auto;
  flex-shrink: 0;
  color: var(--r-text);
}
.result-card {
  /* 4 句直書 */
}
.result-card .result-poem-container {
  padding: 4px;
  border: 1px solid white;
}
.result-card .result-poem {
  display: flex;
  justify-content: center;
  border: 1px solid white;
}
.result-card .result-phrase {
  writing-mode: vertical-rl;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 8px 22px 8px 18px;
  flex: 1;
  /* 直書時水平＝flex 的 cross 軸，用 align-items 讓文字左右置中 */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  text-shadow: 2px 0px 0 var(--r-text), 1.848px 0.766px 0 var(--r-text), 1.414px 1.414px 0 var(--r-text), 0.766px 1.848px 0 var(--r-text), 0px 2px 0 var(--r-text), -0.766px 1.848px 0 var(--r-text), -1.414px 1.414px 0 var(--r-text), -1.848px 0.766px 0 var(--r-text), -2px 0px 0 var(--r-text), -1.848px -0.766px 0 var(--r-text), -1.414px -1.414px 0 var(--r-text), -0.766px -1.848px 0 var(--r-text), 0px -2px 0 var(--r-text), 0.766px -1.848px 0 var(--r-text), 1.414px -1.414px 0 var(--r-text), 1.848px -0.766px 0 var(--r-text), -3px 3px 0 transparent;
}
.result-card .result-phrase .result-phrase-hr {
  position: absolute;
  height: 100%;
  width: 1px;
  left: 0;
  background: white;
}
.result-card .result-section {
  text-align: center;
  border: 1px solid white;
  padding: 16px 12px;
}
.result-card .result-section-title {
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
}
.result-card .r-text {
  display: flex;
  gap: 1rem;
}
.result-card .r-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--r-text);
  position: relative;
}
.result-card .r-star {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}
.result-card .result-section-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--navy-text);
  text-align: left;
}

/* Loading：SVG 正弦波（osublake / GSAP + CustomEase） */
.sine-loader {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.sine-loader .sine-svg {
  width: 300px;
  max-width: 80vw;
  height: auto;
  overflow: visible;
}
.sine-loader .sine-svg line {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}
.sine-loader .sine-svg .sine-wave {
  fill: none;
  stroke: var(--white);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sine-loader .sine-text {
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 0 0 var(--navy), 1px 0 0 var(--navy), -1px 0 0 var(--navy), 0 1px 0 var(--navy), 0 -1px 0 var(--navy), -3px 3px 0 var(--pink);
}
@media screen and (max-width: 1199px) {
  .sine-loader .sine-text {
    font-size: 32px;
    letter-spacing: 0.15em;
  }
}

/* ============================================================
   底部固定 CTA（僅手機顯示）
============================================================ */
.mobile-cta {
  display: none;
}

/* ============================================================
   Mobile (< 1200px) — 單欄滿版，依手機設計稿
============================================================ */
@media (max-width: 1199px) {
  /* 手機 header 較矮，縮小錨點捲動的預留高度 */
  html {
    scroll-padding-top: 76px;
  }
  /* 容器：流動滿版 */
  .container {
    width: auto;
    max-width: 100%;
    padding: 0 15px;
  }
  body {
    padding-bottom: 50px;
    /* 讓底部固定 CTA 不遮住 footer */
  }
  .mobile-none {
    display: none !important;
  }
  /* ---- Header：logo 置中 ---- */
  header {
    height: auto;
    padding: 20px 14px;
    justify-content: center;
  }
  header .logo img {
    height: 24px;
  }
  /* ---- Hero：單欄堆疊 ---- */
  .hero {
    /* 一開始就把整個 hero 塞進可視高度（svh = 工具列顯示時的高度），不管手機多高都看到全部 */
    height: 100vh;
    height: 100svh;
    padding-top: 88px;
    /* 預留底部固定 CTA bar（50px）空間 */
    padding-bottom: 54px;
    display: flex;
    flex-direction: column;
  }
  .hero-inner {
    width: auto;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 8px 15px 0;
  }
  .hero-left {
    max-width: 100%;
    width: 100%;
  }
  .hero-left .hero-sub-container {
    margin-bottom: 12px;
  }
  .hero-left .hero-title {
    margin-bottom: 12px;
  }
  .hero-left .hero-title .badge {
    width: 127px;
    top: -41px;
    left: 50%;
    transform: translateX(calc(-50% - 110px)) rotate(8deg);
  }
  .hero-left .hero-title img.title {
    max-width: 280px;
    margin: -22px;
  }
  .hero-left .hero-sub {
    font-size: 16px;
  }
  .hero-left .hero-sub .seg {
    padding: 8px;
  }
  .hero-left .task-tags {
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
  }
  .hero-left .task-tags li {
    padding: 8px;
    gap: 8px;
    font-size: 16px;
    max-width: 168px;
    width: 100%;
  }
  .hero-left .task-tags li > div {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
  }
  .hero-left .task-tags li > div p:first-child {
    width: 100%;
  }
  .hero-left .task-tags li .tag-value em {
    font-size: 24px;
  }
  .hero-left .task-tags li .tag-value-emph em {
    font-size: 20px;
  }
  .hero-left .task-tags li img {
    width: 32px;
  }
  .cta-draw {
    font-size: 20px;
    padding: 12px 16px 12px 24px;
  }
  /* 隱藏會超出畫面的裝飾 */
  .deco-1,
  .hero-left .deco-2,
  .hero-left .deco-3 {
    display: none;
  }
  .hero-right {
    width: 100%;
    max-width: 345px;
    /* basis:0 → 純吃文字內容以外的剩餘高度，插圖隨螢幕高度確實縮放 */
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 讓 <img> 直接成為 flex 子項，height/max-height 才會對著 .hero-right 生效 */
  }
  .hero-right picture {
    display: contents;
  }
  .hero-right .hero-illustration {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  /* ---- 釘選 CTA：桌機隱藏，改底部固定列 ---- */
  .fixed-pin {
    display: none;
  }
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    background: var(--pink);
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.3em;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  }
  .mobile-cta span {
    /* 沿用 .modal-title 寫法：白字 + 深藍外框(text-shadow) + 往左下位移陰影 */
    color: var(--white);
    text-shadow: 0 0 0 var(--navy), 1px 0 0 var(--navy), -1px 0 0 var(--navy), 0 1px 0 var(--navy), 0 -1px 0 var(--navy), -3px 3px 0 var(--navy);
  }
  .mobile-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  /* ---- 跑馬燈 ---- */
  .marquee {
    height: 44px;
    margin: 46px 0 56px;
  }
  .marquee.tilt-up {
    margin: 56px 0 16px;
  }
  .marquee-track {
    font-size: 16px;
  }
  /* ---- 連接語：單欄置中 ---- */
  .connector .container {
    gap: 16px;
    text-align: center;
  }
  .connector .copy {
    text-align: left;
  }
  .connector .copy h3 .line {
    font-size: 16px;
  }
  .connector .copy h3 .line.accent {
    margin: 16px 0;
  }
  .connector .illustration {
    width: 100%;
    max-width: 116px;
  }
  /* ---- 禮物卡區（首刷/升級/社群共用）：單欄 ---- */
  .gifts {
    padding: 36px 0 32px;
  }
  .gifts .section-title {
    margin-bottom: -28px;
  }
  .gifts .section-title .title-img {
    height: 48px;
  }
  .gifts .gifts-wrapper {
    padding: 40px 16px 24px;
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid var(--navy);
    border-radius: 0;
    box-shadow: none;
  }
  .gifts .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gifts .gifts-col {
    gap: 20px;
    order: 2;
  }
  .gift-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    width: 100%;
  }
  .gift-card .gift-text {
    gap: 16px;
  }
  .gift-card .gift-tag {
    font-size: 20px;
    gap: 4px;
  }
  .gift-card .gift-tag img {
    width: 28px;
  }
  .gift-card .gift-desc {
    font-size: 16px;
  }
  .gift-card .gift-desc br {
    display: none;
  }
  .gift-card .gift-desc em {
    font-size: 24px;
  }
  .gift-card .gift-illustration {
    width: 100%;
    max-width: 280px;
    align-self: center;
  }
  .gift-note {
    flex-direction: column;
    align-items: flex-start;
    font-size: 16px;
  }
  .gift-note .badge {
    font-size: 20px;
  }
  /* info-card：按鈕直向堆疊滿版 */
  .info-card .info-row {
    padding-bottom: 16px;
  }
  .info-card .info-row .info-value {
    font-size: 16px;
    padding: 0 16px;
  }
  .info-card .info-row .info-value.note {
    margin-bottom: 12px;
  }
  .info-card .info-row .info-value.date {
    font-size: 20px;
  }
  .info-card .info-row .info-label {
    margin-bottom: 6px;
    padding: 8px;
  }
  .info-actions {
    gap: 20px;
  }
  .info-actions .cta-draw {
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px 12px 14px;
  }
  .upgrade-gift .gifts-wrapper {
    border: 3px solid var(--navy);
    box-shadow: 4px 3px 0px 2px var(--navy);
    border-radius: 0 8px 0 8px;
  }
  .upgrade-gift .new-card {
    display: flex;
    flex-direction: column;
  }
  .upgrade-gift .new-card .info-actions {
    order: 1;
  }
  .upgrade-gift .new-card .title {
    order: 2;
    font-size: 16px;
    padding: 12px 30px;
  }
  .upgrade-gift .new-card .title .badge {
    font-size: 16px;
    border-radius: 12px;
  }
  .upgrade-gift .new-card .content {
    order: 3;
    padding: 4px 8px 12px;
  }
  .upgrade-gift .new-card .content .center {
    font-size: 16px;
    margin: 8px 0;
  }
  .upgrade-gift .new-card .content .pointers {
    gap: 8px;
  }
  .upgrade-gift .new-card .content .point {
    font-size: 24px;
  }
  .upgrade-gift .new-card .content .point .point-bottom {
    font-size: 13px;
    width: 126px;
  }
  .upgrade-gift .new-card .content .point p {
    padding: 12px 16px;
  }
  .upgrade-gift .new-card .content .point span {
    font-size: 14px;
    margin-top: 4px;
  }
  .upgrade-gift .new-card .info-actions {
    margin-top: 0;
    margin-bottom: 40px;
    gap: 8px;
  }
  .upgrade-gift .new-card .info-actions .cta-draw {
    padding: 12px;
    white-space: nowrap;
    font-size: 18px;
  }
  /* 升級禮：籤詩 pointers 換行 */
  .pointers {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .point {
    font-size: 30px;
  }
  .point .point-bottom {
    width: 100%;
  }
  /* ---- 7+1 刷權益表 ---- */
  .benefits {
    padding: 48px 0;
  }
  .benefits .section-title {
    margin-bottom: 24px;
    gap: 6px;
    /* 手機版：吉祥物＋標題兩張換成整合的 benefits-title-mobile.svg */
  }
  .benefits .section-title .mascot,
  .benefits .section-title .title-img {
    display: none;
  }
  .benefits .section-title .title-img-mobile {
    display: block;
    height: 104px;
    width: auto;
  }
  /* 切換權益標籤移到表頂橫條，表身橫向捲動 */
  .benefits-table {
    flex-direction: column;
  }
  .benefits-table .switch-cell {
    flex: none;
    width: 100%;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
  }
  .benefits-table .switch-cell .switch-count em {
    font-size: 48px;
    /* Figma mobile style_HBSFCX = 48px */
  }
  .benefits-table .table-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .benefits-table {
    /* 內表保持舒適寬度 → 視窗不足時水平捲動 */
  }
  .benefits-table .bgroup {
    min-width: 600px;
  }
  /* 加碼 3 卡：直向滿版 */
  .benefits-extras {
    flex: none;
    flex-direction: column;
    width: 100%;
  }
  .benefits-extras .extra-card {
    flex: none;
    width: 100%;
  }
  .benefits-extras .extra-title {
    font-size: 20px;
  }
  .benefits-extras .extra-title .extra-ico {
    width: 40px;
    /* Figma mobile layout_9Q2EJH = 40x40 */
    height: 40px;
  }
  /* ---- Footer：直向堆疊 ---- */
  .w-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 15px;
  }
  .w-left {
    font-size: 24px;
    text-align: left;
  }
  .w-right {
    font-size: 13px;
    line-height: 1.6;
  }
  .footer-copyright {
    flex-direction: column;
    height: auto;
    max-width: 100%;
    text-align: center;
  }
  .copyright {
    line-height: 1.6;
    padding: 12px 15px;
  }
  .footer-logo {
    width: 100%;
    height: auto;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
  }
  /* ---- Modal：手機版 ---- */
  .modal-dialog {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 132px);
    padding: 20px 16px;
  }
  .modal-header {
    gap: 16px;
    padding: 4px 28px 16px;
  }
  .modal-header .modal-title {
    font-size: 28px;
  }
  .modal-header .modal-subtitle {
    font-size: 20px;
  }
  .modal-body {
    padding: 16px 0;
  }
  .modal-terms {
    font-size: 14px;
    line-height: 1.9;
  }
}
