
      :root {
        --ink: #fff7f8; --muted: #b9aeb6; --paper: #100c11; --surface: #1b141b;
        --rose: #ff2f65; --coral: #ff637d; --gold: #ffd33d; --mint: #19c8a2;
        --line: rgba(255, 255, 255, 0.1); --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0; min-height: 100vh;
        background: radial-gradient(circle at 18% 0%, rgba(255, 47, 101, 0.22), transparent 28%),
          radial-gradient(circle at 82% 18%, rgba(255, 211, 61, 0.12), transparent 24%),
          linear-gradient(160deg, #08060a 0%, #151017 52%, #08060a 100%);
        color: var(--ink);
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      }
      a { color: inherit; }
      .page { width: min(100%, 460px); margin: 0 auto; min-height: 100vh; background: #0f0b10; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); overflow: hidden; }
      .hero {
        position: relative; min-height: 520px; padding: 18px;
        background: linear-gradient(180deg, rgba(8, 6, 10, 0.4) 0%, rgba(8, 6, 10, 0.26) 42%, #0f0b10 100%), url("../assets/campaign-mx.png") center top / cover;
      }
      .topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; margin-bottom: 96px; border: 1px solid rgba(255, 255, 255, 0.12); padding: 10px 12px; background: rgba(16, 12, 17, 0.72); backdrop-filter: blur(12px); }
      .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
      .mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; overflow: hidden; }
      .mark img { width: 100%; height: 100%; object-fit: contain; }
      .brand-name { margin: 0; font-size: 18px; font-weight: 900; color: white; }
      .brand-subtitle { margin: 2px 0 0; color: rgba(255, 255, 255, 0.68); font-size: 12px; font-weight: 700; }
      .bonus { flex: 0 0 auto; border: 1px solid rgba(255, 211, 61, 0.34); border-radius: 999px; padding: 8px 11px; background: rgba(255, 211, 61, 0.14); color: var(--gold); font-size: 12px; font-weight: 900; }
      .hero-cta { display: flex; width: min(100%, 360px); min-height: 58px; align-items: center; justify-content: center; margin: 24px auto 0; border-radius: 18px; background: linear-gradient(135deg, #e81752, #ff6a88); color: white; font-size: 17px; font-weight: 950; text-decoration: none; box-shadow: 0 18px 34px rgba(232, 23, 82, 0.38); }
      .showcase { position: relative; z-index: 2; }
      .poster-stage { position: relative; display: flex; min-height: 300px; align-items: end; }
      .poster-stage::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(8, 6, 10, 0) 0%, rgba(8, 6, 10, 0.72) 72%, #0f0b10 100%); }
      .drama-copy { position: relative; z-index: 1; width: 100%; color: white; text-align: center; }
      .tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 10px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase; }
      .drama-copy h1 { margin: 14px auto 10px; max-width: 360px; font-size: 36px; line-height: 1.05; text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55); }
      .drama-copy p { margin: 0 auto; max-width: 340px; color: rgba(255, 255, 255, 0.88); font-size: 13px; font-weight: 700; line-height: 1.45; }
      .section { padding: 22px 18px; border-top: 1px solid var(--line); background: #0f0b10; }
      .section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
      .section h2 { margin: 0; font-size: 21px; }
      .section-head span { color: var(--gold); font-size: 12px; font-weight: 950; }
      .dramas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
      .drama { min-width: 0; cursor: pointer; }
      .cover { position: relative; aspect-ratio: 3 / 4; border-radius: 17px; background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, 0.68)), var(--image) center / cover, linear-gradient(150deg, var(--from), var(--to)); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34); overflow: hidden; }
      .reward { position: absolute; right: 7px; top: 7px; z-index: 1; border-radius: 999px; padding: 5px 7px; background: rgba(255, 255, 255, 0.9); color: #130c11; font-size: 10px; font-weight: 950; }
      .drama b { display: block; margin-top: 8px; font-size: 12px; line-height: 1.2; }
      .install-guide { border-top: 1px solid var(--line); background: #110d14; }
      .guide-steps { display: grid; gap: 14px; }
      .guide-step { display: flex; gap: 16px; align-items: flex-start; border: 1px solid rgba(25, 200, 162, 0.15); border-radius: 18px; padding: 16px; background: rgba(25, 200, 162, 0.03); }
      .guide-icon { font-size: 24px; flex: 0 0 auto; padding: 8px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
      .guide-content b { display: block; font-size: 15px; color: white; margin-bottom: 4px; }
      .guide-content p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
      .guide-tip { margin-top: 8px; padding: 8px 12px; background: rgba(255, 211, 61, 0.1); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: 11px; color: var(--ink); }
      .security-badge { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: var(--mint); font-size: 12px; font-weight: 700; }
      .final { padding: 24px 18px 30px; background: linear-gradient(135deg, #171017, #2a1524 58%, #561b33); color: white; text-align: center; }
      .final h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.05; }
      .final p { margin: 0 auto 18px; max-width: 330px; color: rgba(255, 255, 255, 0.78); font-size: 14px; font-weight: 700; line-height: 1.5; }
      .cta { display: flex; min-height: 56px; align-items: center; justify-content: center; border: 0; border-radius: 16px; background: linear-gradient(135deg, #e81752, #ff6a88); color: white; font-size: 16px; font-weight: 950; text-decoration: none; box-shadow: 0 14px 28px rgba(251, 55, 99, 0.3); }
      .final .cta { background: white; color: var(--rose); box-shadow: none; }
      footer { padding: 16px 18px 24px; background: #08060a; color: rgba(255, 255, 255, 0.68); font-size: 11px; line-height: 1.55; text-align: center; }
      @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }
      .hero-cta, .cta { animation: pulse 2s infinite ease-in-out; }
      .modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 6, 10, 0.85); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 24px; }
      .modal-overlay.active { display: flex; }
      .modal-box { position: relative; width: 100%; max-width: 380px; background: #1b141b; border: 1px solid rgba(255, 47, 101, 0.3); border-radius: 24px; padding: 28px 20px; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
      .modal-icon { width: 64px; height: 64px; margin: 0 auto 16px; background: linear-gradient(135deg, #e81752, #ff6a88); border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: white; }
      .modal-title { font-size: 20px; font-weight: 900; color: white; margin: 0 0 10px; }
      .modal-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 24px; }
      .modal-cta { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(135deg, #e81752, #ff6a88); color: white; font-size: 16px; font-weight: 950; border: 0; cursor: pointer; }
      .modal-close-btn { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 700; cursor: pointer; }
      @media (min-width: 760px) { body { padding: 24px; } .page { border-radius: 32px; } }
      @media (max-width: 360px) { .drama-copy h1 { font-size: 28px; } }

/* Keyboard and reduced-motion support; default visuals follow the source. */
.drama:focus-visible, .modal-close-btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.modal-overlay { overflow-y: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-cta, .cta { animation: none; } }
@media (max-height: 480px) { .modal-overlay.active { align-items: flex-start; } }

.drama:nth-child(1) .cover {  }
.drama:nth-child(2) .cover {  }
.drama:nth-child(3) .cover {  }

/* LOCALIZED CAMPAIGNS — Taiwan and Mexico */
body[data-market="tw"] { --campaign-image: url('../assets/campaign-mx.png'); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "PingFang TC", sans-serif; }
body[data-market="mx"] { --campaign-image: url('../assets/campaign-mx.png'); --gold: #ffcf83; --mint: #e9c397; background: radial-gradient(circle at 20% 0%, #48271e, transparent 40%), linear-gradient(160deg,#140b0b,#211214 52%,#0a0709); }
.locale-nav { display:flex; justify-content:flex-end; gap:6px; padding:12px 18px; background:#100c11; }
.locale-nav a { padding:9px 12px; border-radius:999px; font-size:12px; font-weight:700; text-decoration:none; color:var(--muted); }
.locale-nav a[aria-current] { background:#30212d; color:var(--gold); }
.hero { background-image:linear-gradient(180deg,rgba(8,6,10,.08) 0%,rgba(8,6,10,.16) 20%,rgba(8,6,10,.9) 53%,#0f0b10 100%),var(--campaign-image); background-position:center top; background-size:cover; min-height:660px; }
.topbar { margin-bottom:140px; padding:10px; gap:8px; border-radius:14px; }
.mark { flex-shrink:0; }.brand-name {font-size:17px}.brand-subtitle {font-size:10px;line-height:1.4}.bonus{font-size:10px;padding:8px;max-width:132px;text-align:center;white-space:nowrap;}
.poster-stage {min-height:0}.poster-stage::before{display:none}.drama-copy h1 {font-size:34px;line-height:1.2;margin:10px auto 18px;letter-spacing:-.8px}.drama-copy p {font-size:13px;line-height:1.7;font-weight:500}.tag {letter-spacing:1px;font-size:10px;}
.campaign-reward {padding:16px 10px;margin:0 auto 18px;max-width:340px;border:1px solid rgba(255,211,61,.24);border-radius:18px;background:linear-gradient(135deg,rgba(73,37,44,.9),rgba(32,20,29,.94));}
.campaign-reward span,.campaign-reward small {display:block;color:var(--gold);font-size:12px;line-height:1.5}.campaign-reward strong {display:block;font-size:46px;line-height:1.2;letter-spacing:-1px;color:#fff1ce;margin:4px 0}.campaign-reward small{font-size:11px;color:#c5b6b4}
.hero-cta {font-size:15px;margin-top:20px;padding:12px;line-height:1.4}.security-badge{font-size:10px;line-height:1.5;color:var(--muted);font-weight:500;}
.section-head {align-items:flex-start;flex-direction:column;gap:6px}.section h2{font-size:21px;line-height:1.3}.section-head span{font-size:11px;font-weight:600}.drama b{font-size:12px;line-height:1.5}.cover{background-image:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.3)),var(--campaign-image);background-size:100% 100%,300% 100%;background-position:center,0% center;}
.drama:nth-child(2) .cover{background-position:center,50% center}.drama:nth-child(3) .cover{background-position:center,100% center}.reward{font-size:9px;padding:4px 5px;right:5px;top:5px;}
.guide-step {gap:12px;padding:15px}.guide-icon{font-size:18px;font-weight:800;color:var(--gold);width:36px;height:36px}.guide-content{min-width:0}.guide-content b{font-size:14px;line-height:1.5}.guide-content p{line-height:1.65}.guide-tip{line-height:1.6}.final h2{line-height:1.3;font-size:27px}.final p{font-size:13px;line-height:1.7;font-weight:500}.market-label{color:var(--gold);font-weight:700;font-size:12px}footer{line-height:1.8}.modal-desc{line-height:1.7}.modal-cta{font-size:15px;padding:12px}.modal-title{line-height:1.4}
body[data-market="mx"] .hero-cta,body[data-market="mx"] .modal-cta{background:linear-gradient(135deg,#b84839,#e17943)}body[data-market="mx"] .final{background:linear-gradient(135deg,#231718,#46252a)}body[data-market="mx"] .final .cta{color:#99382e}body[data-market="mx"] .drama-copy h1{font-size:37px;letter-spacing:-1.3px}body[data-market="mx"] .campaign-reward{background:linear-gradient(135deg,rgba(95,50,24,.88),rgba(38,22,21,.96));}
@media(max-width:360px){.topbar{gap:5px;padding:8px}.brand{gap:6px}.brand-name{font-size:15px}.brand-subtitle{font-size:9px}.bonus{font-size:9px;padding:7px 6px}.mark{width:32px;height:32px}.drama-copy h1,body[data-market="mx"] .drama-copy h1{font-size:30px}.campaign-reward strong{font-size:40px}.hero-cta{font-size:14px}.locale-nav a{font-size:11px}.reward{font-size:8px}.modal-box{padding:22px 16px}}

.locale-label { padding:9px 12px; border-radius:999px; font-size:12px; font-weight:700; color:var(--gold); background:#30212d; }
