.newcomer-offer-link { border: 0; padding: 0; color: #a4d8ff; background: none; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.newcomer-wallet[hidden] { display: none !important; }
.newcomer-wallet { --wallet-stub: 30px; position: absolute; z-index: 3; top: 15px; right: 2%; display: flex; align-items: center; gap: 11px; min-width: 184px; min-height: 51px; padding: 8px calc(var(--wallet-stub) + 12px) 8px 13px; border: 1px solid #9baed342; border-radius: 13px; color: #dce9fa; background: linear-gradient(118deg,#080a20,#101b35 65%,#16294a); box-shadow: 0 6px 18px #02061924,inset 0 1px 0 #ffffff0b; font-family: inherit; text-align: left; cursor: pointer; transition: border-color .2s,box-shadow .2s; }
.newcomer-wallet:hover { border-color: #a5c8ec88; box-shadow: 0 7px 24px #02061940; }
.newcomer-wallet::before,.newcomer-wallet::after { content: ''; position: absolute; z-index: 2; left: calc(100% - var(--wallet-stub) - 5px); width: 8px; height: 8px; border: 1px solid #9baed342; border-radius: 50%; background: #07091a; }
.newcomer-wallet::before { top: -5px; }
.newcomer-wallet::after { bottom: -5px; }
.newcomer-wallet-symbol { position: relative; z-index: 1; width: 25px; height: 16px; flex: 0 0 auto; filter: grayscale(1) brightness(0) invert(1); opacity: .82; }
.newcomer-wallet-engraving { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; color: #9bbad8; opacity: .17; pointer-events: none; }
.newcomer-wallet-engraving g { fill: none; stroke: currentColor; stroke-width: .65; }
.newcomer-wallet-stub { position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: var(--wallet-stub); border-left: 1px dashed #d0def038; border-radius: 0 12px 12px 0; background: linear-gradient(180deg,#ffffff04,#ffffff07); color: #b8c9e0; writing-mode: vertical-rl; font-size: 9px; letter-spacing: 3px; }
.newcomer-wallet-copy { position: relative; z-index: 1; display: grid; gap: 3px; }
.newcomer-wallet-copy>span:first-child { color: #a5b7d1; font-size: 10px; letter-spacing: .6px; }
.newcomer-wallet-copy>span:last-child { color: #c4d4e8; font-size: 10px; }
.newcomer-wallet-copy strong { color: #f1f6ff; font-family: Arial,sans-serif; font-size: 20px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.4px; }
.newcomer-wallet:focus-visible { outline: 3px solid #91aafd; outline-offset: 3px; }
.newcomer-wallet-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.newcomer-wallet.is-arriving { animation: newcomer-wallet-arrive .45s ease-out both; }
.newcomer-return-veil { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; background: #05102570; backdrop-filter: blur(4px); }
.newcomer-ticket.newcomer-flying-ticket { position: fixed; z-index: 2147483001; margin: 0; pointer-events: none; transform-origin: top left; will-change: transform,opacity; font-family: "Microsoft YaHei","PingFang SC",Arial,sans-serif; }
@keyframes newcomer-wallet-arrive { 0% { transform: scale(.96); border-color: #b5d9ffb0; box-shadow: 0 0 0 5px #9bc6fb18; } 55% { transform: scale(1.035); } 100% { transform: scale(1); } }
.newcomer-offer-open { overflow: hidden; }
.newcomer-offer { box-sizing: border-box; width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #ffffffb8; border-radius: 24px; color: #172744; background: #fff; box-shadow: 0 28px 100px #06123040; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
.newcomer-offer *, .newcomer-offer *::before, .newcomer-offer *::after { box-sizing: border-box; }
.newcomer-offer [hidden] { display: none !important; }
.newcomer-offer .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
#newcomer-use-note:not([hidden]) { margin-bottom: 17px; font-size: 12px; line-height: 1.8; }
.newcomer-offer::backdrop { background: #05102570; backdrop-filter: blur(4px); }
.newcomer-offer[open] { animation: newcomer-enter .48s cubic-bezier(.2,.85,.25,1.15) both; }
.newcomer-offer[open]::backdrop { animation: newcomer-backdrop .25s ease both; }
.newcomer-offer-surface { position: relative; isolation: isolate; overflow: hidden; padding: 27px 28px 22px; text-align: center; background: radial-gradient(ellipse at 0 0,#e9f5ff 0,transparent 56%),radial-gradient(ellipse at 100% 0,#eeeaff 0,transparent 54%),#fff; }
.newcomer-offer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; color: #637394; font-size: 12px; letter-spacing: 1px; }
.newcomer-offer-brand img { display: block; width: 31px; height: 20px; object-fit: contain; }
.newcomer-offer h2 { margin: 21px 0 6px; font-size: 25px; font-weight: 700; letter-spacing: -.6px; line-height: 1.4; }
.newcomer-offer-subtitle { margin: 0; color: #71809b; font-size: 13px; line-height: 1.65; }
.newcomer-ticket { --ticket-stub: 66px; position: relative; isolation: isolate; margin: 24px 0 20px; padding-right: var(--ticket-stub); border: 1px solid #9baed342; border-radius: 15px; text-align: left; background: linear-gradient(118deg,#080a20,#101b35 65%,#16294a); box-shadow: 0 10px 22px #09133020,inset 0 1px 0 #ffffff12; }
.newcomer-ticket::before, .newcomer-ticket::after { content: ''; position: absolute; z-index: 3; left: calc(100% - var(--ticket-stub) - 7px); width: 12px; height: 12px; border: 1px solid #a4b8d52e; border-radius: 50%; background: #fdfdff; }
.newcomer-ticket::before { top: -7px; }
.newcomer-ticket::after { bottom: -7px; }
.newcomer-ticket-main { position: relative; z-index: 1; min-width: 0; padding: 23px 22px 19px; }
.newcomer-ticket-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.newcomer-ticket-kicker { color: #adbbd3; font-size: 10px; letter-spacing: 1.5px; }
.newcomer-ticket-wordmark { color: #c3cde1; font-family: Arial,sans-serif; font-size: 11px; font-weight: 600; letter-spacing: -.3px; }
.newcomer-ticket-amount { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 17px; color: #f4f6fc; }
.newcomer-ticket-amount strong { font-family: Arial,sans-serif; font-size: clamp(48px,16vw,68px); font-weight: 400; line-height: 1; letter-spacing: -2.8px; font-variant-numeric: tabular-nums; }
.newcomer-ticket-amount span { font-size: 13px; font-weight: 400; }
.newcomer-ticket-amount span[aria-hidden] { color: #b7c6df; }
.newcomer-ticket-label { margin: 0; padding-top: 12px; border-top: 1px solid #aabbd426; color: #b5c2d8; font-size: 10px; letter-spacing: .5px; white-space: nowrap; }
.newcomer-ticket-stub { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; width: var(--ticket-stub); padding: 23px 0 18px; border-left: 1px dashed #d0def038; border-radius: 0 14px 14px 0; background: linear-gradient(180deg,#ffffff04,#ffffff07); }
.newcomer-ticket-stub img { display: block; width: 24px; height: 15px; filter: grayscale(1) brightness(0) invert(1); opacity: .78; }
.newcomer-ticket-stub>span { writing-mode: vertical-rl; color: #c1cde0; font-size: 11px; letter-spacing: 4px; line-height: 1.2; }
.newcomer-ticket-stub small { color: #8f9fb9; font: 7px/1 Arial,sans-serif; letter-spacing: 1.4px; }
.newcomer-ticket-engraving { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; color: #9bbad8; opacity: .17; pointer-events: none; }
.newcomer-ticket-engraving g { fill: none; stroke: currentColor; stroke-width: .65; }
.newcomer-offer-steps { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 18px; color: #75839c; font-size: 11px; }
.newcomer-offer-steps b { color: #b6c3dc; font-weight: 400; }
.newcomer-offer-action { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 47px; border: 1px solid #2854ee; border-radius: 11px; color: #fff; background: linear-gradient(110deg,#2555f8,#4c56ee); box-shadow: 0 6px 16px #3159f126; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; transition: transform .15s, box-shadow .18s; }
.newcomer-offer-action:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 9px 22px #3159f135; }
.newcomer-offer-action:active:not(:disabled) { transform: translateY(0) scale(.985); }
.newcomer-offer-action:disabled { cursor: progress; opacity: .65; }
.newcomer-offer-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.newcomer-offer-feedback { margin: 12px 0 0; color: #9b6645; font-size: 12px; line-height: 1.6; }
.newcomer-offer-feedback:empty { display: none; }
.newcomer-offer-terms { margin: 14px 0 0; color: #8b96a9; font-size: 10px; line-height: 1.8; }
.newcomer-button-spinner { display: none; width: 15px; height: 15px; border: 2px solid #ffffff66; border-top-color: white; border-radius: 50%; }
.newcomer-offer[data-state="claiming"] .newcomer-button-spinner { display: block; animation: newcomer-spin .8s linear infinite; }
.newcomer-offer[data-state="claiming"] .newcomer-offer-action svg { display: none; }
.newcomer-offer :focus-visible { outline: 3px solid #91aafd; outline-offset: 3px; }
.newcomer-success-mark { position: absolute; z-index: 2; top: 16px; right: calc((var(--ticket-stub) - 29px)/2); display: none; width: 29px; height: 29px; margin: 0; border: 1px solid #b7cde14d; border-radius: 50%; color: #d3e5f3; background: #22364d; }
.newcomer-success-mark svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.newcomer-offer[data-state="claimed"] .newcomer-success-mark { display: grid; place-items: center; animation: newcomer-enter .35s ease both; }
.newcomer-offer[data-state="claimed"] .newcomer-ticket-stub img { visibility: hidden; }
.newcomer-offer[data-state="claimed"] h2 { margin-top: 17px; }
.newcomer-offer[data-state="claimed"] .newcomer-success-mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: newcomer-check .45s .12s ease forwards; }
.newcomer-offer[data-state="claimed"] .newcomer-offer-steps { line-height: 1.8; }
.newcomer-coupon-flash { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.newcomer-coupon-flash::before { content: ''; position: absolute; top: -30%; bottom: -30%; left: -50%; width: 36%; background: linear-gradient(90deg,transparent,#c2ddf520,transparent); transform: skewX(-20deg) translateX(-150%); opacity: 0; }
.newcomer-offer.is-redeeming .newcomer-ticket { animation: newcomer-redeem .85s ease-out both; }
.newcomer-offer.is-redeeming .newcomer-coupon-flash::before { animation: newcomer-redeem-flash .8s .05s ease-out both; }
.newcomer-claim-burst { position: absolute; z-index: 2; width: 0; height: 0; pointer-events: none; }
.newcomer-claim-burst i { position: absolute; width: 2px; height: 5px; border-radius: 1px; opacity: 0; animation: newcomer-claim-particle .95s var(--burst-delay) cubic-bezier(.12,.68,.35,1) both; }
.newcomer-claim-burst i:nth-child(3n) { width: 3px; height: 3px; border-radius: 50%; }
@keyframes newcomer-enter { from { opacity: 0; transform: translateY(20px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes newcomer-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes newcomer-check { to { stroke-dashoffset: 0; } }
@keyframes newcomer-spin { to { transform: rotate(360deg); } }
@keyframes newcomer-redeem { 0%,100% { transform: scale(1); } 35% { transform: scale(1.012); box-shadow: 0 0 0 1px #a4c2e03d,0 13px 28px #10284624,inset 0 1px 0 #d3e6ff38; } }
@keyframes newcomer-redeem-flash { 15% { opacity: 1; } 80% { opacity: 1; } to { transform: skewX(-20deg) translateX(520%); opacity: 0; } }
@keyframes newcomer-claim-particle { 0% { transform: translate(0,0) rotate(0) scale(.4); opacity: 0; } 12% { opacity: 1; } 75% { opacity: .75; } 100% { transform: translate(var(--burst-x),var(--burst-y)) rotate(var(--burst-turn)) scale(.5); opacity: 0; } }
@media (max-width: 480px) { .newcomer-offer { border-radius: 20px; } .newcomer-offer-surface { padding: 25px 22px 18px; } .newcomer-offer h2 { font-size: 23px; } .newcomer-ticket { --ticket-stub: 56px; } .newcomer-ticket-main { padding-right: 17px; padding-left: 19px; } .newcomer-ticket-wordmark { font-size: 10px; } }
@media (max-width: 700px) { .newcomer-wallet { --wallet-stub: 26px; top: 7px; right: 0; min-height: 39px; min-width: 166px; gap: 8px; padding: 6px calc(var(--wallet-stub) + 10px) 6px 10px; border-radius: 11px; } .newcomer-wallet-symbol { width: 22px; height: 14px; } .newcomer-wallet-stub { font-size: 8px; letter-spacing: 2px; border-radius: 0 10px 10px 0; } .newcomer-wallet-copy { display: flex; align-items: baseline; gap: 9px; } .newcomer-wallet-copy>span:first-child { font-size: 9px; letter-spacing: 0; } .newcomer-wallet-copy strong { font-size: 16px; } .newcomer-flying-ticket { --ticket-stub: 56px; } }
@media (max-height: 640px) { .newcomer-offer h2 { margin-top: 13px; } .newcomer-ticket { margin: 15px 0; } .newcomer-ticket-main { padding-top: 19px; padding-bottom: 16px; } .newcomer-ticket-amount strong { font-size: clamp(48px,15vw,62px); } .newcomer-offer-surface { padding-top: 22px; padding-bottom: 15px; } }
@media (prefers-reduced-motion: reduce) { .newcomer-offer, .newcomer-offer::backdrop, .newcomer-offer *, .newcomer-offer *::before, .newcomer-offer *::after { animation: none !important; transition: none !important; } .newcomer-offer[data-state="claimed"] .newcomer-success-mark path { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .newcomer-wallet { animation: none !important; transition: none !important; } }
