/* ===== 2026-11-09 登入、註冊、生日確認改版：羽毛天空 ===== */
html body .gate{background:linear-gradient(165deg,#ffd9c9 0%,#ffc9d4 34%,#e9cdf5 68%,#d6dcff 100%) fixed!important;color:#3d2a20!important;padding:calc(22px + env(safe-area-inset-top,0px)) 18px calc(26px + env(safe-area-inset-bottom,0px))!important;overflow-x:hidden}
html.night body .gate{background:radial-gradient(120% 70% at 80% 0,#3a2a63 0,#1d1638 45%,#120e22 100%) fixed!important;color:#f3ecff!important}
.lg-sky{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.lg-sky .blob{position:absolute;border-radius:50%;filter:blur(40px);opacity:.55}
.lg-sky .b1{width:320px;height:320px;left:-120px;top:-80px;background:#ffb39f}
.lg-sky .b2{width:280px;height:280px;right:-110px;top:28%;background:#c9a8ff}
.lg-sky .b3{width:300px;height:300px;left:10%;bottom:-140px;background:#ffd38a}
html.night .lg-sky .blob{opacity:.28}
.lg-sky .fe{position:absolute;top:-80px;width:22px;height:44px;opacity:.85;animation:lg-fall linear infinite}
.lg-sky .fe svg{width:100%;height:100%;filter:drop-shadow(0 4px 6px #8a4b3a22)}
@keyframes lg-fall{0%{transform:translate(0,-10vh) rotate(-30deg)}25%{transform:translate(30px,25vh) rotate(10deg)}50%{transform:translate(-20px,55vh) rotate(-20deg)}75%{transform:translate(25px,85vh) rotate(15deg)}100%{transform:translate(-10px,115vh) rotate(-25deg)}}
.lg-sky .st{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;box-shadow:0 0 6px #fff;animation:lg-tw 3s ease-in-out infinite}
@keyframes lg-tw{0%,100%{opacity:.2}50%{opacity:1}}
html:not(.night) .lg-sky .st{background:#fff;opacity:.6}
html body .gate .gbox{position:relative;z-index:1;max-width:400px;gap:12px}
/* 標誌區 */
html body .gate .gbox .lgw.mas{width:104px!important;height:104px!important;border-radius:50%!important;margin:4px auto 6px!important;box-shadow:0 0 0 5px #ffffffb3,0 0 0 12px #ffffff40,0 18px 40px #b4473a40;animation:lg-bob 4.5s ease-in-out infinite;position:relative;overflow:hidden}
html.night body .gate .gbox .lgw.mas{box-shadow:0 0 0 5px #ffffff30,0 0 40px #ffd6a855,0 18px 40px #0008}
html body .gate .gbox .lgw.mas img{border-radius:50%;transform:scale(1.35);object-position:50% 40%}
@keyframes lg-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
html body .gate .gbox h2{font-size:34px!important;font-weight:900!important;letter-spacing:4px!important;margin:0!important;background:linear-gradient(120deg,#c4513f,#e5576b 45%,#8a5cc7);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
html.night body .gate .gbox h2{background:linear-gradient(120deg,#ffd6a8,#ffb3c6 50%,#c9b4ff)!important;-webkit-background-clip:text!important;background-clip:text!important}
html body .gate .gbox .atag{margin:-4px 0 2px!important;font-size:14.5px!important;color:#7a5446!important;letter-spacing:1px}
html.night body .gate .gbox .atag{color:#d8cdef!important}
html body #auth .afeat{display:flex!important;justify-content:center;gap:8px;flex-wrap:wrap;margin:2px 0 4px}
html body #auth .afeat span{font-size:12.5px;font-weight:800;padding:6px 12px;border-radius:16px;background:#ffffff8c;color:#6b4436;border:1px solid #ffffffb3;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
html.night body #auth .afeat span{background:#ffffff14;color:#f3ecff;border-color:#ffffff26}
/* 卡片 */
html body .gate .gcard,html body #auth .acard,html body .gate .acard{background:#fffaf6d9!important;border:1px solid #ffffffcc!important;border-radius:30px!important;box-shadow:0 24px 60px #8a4b3a2e,0 1px 0 #fff inset!important;backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2);animation:lg-rise .55s cubic-bezier(.2,.9,.3,1) both}
html body #auth .acard{padding:22px 20px 18px!important}
html.night body .gate .gcard,html.night body #auth .acard,html.night body .gate .acard{background:#221b3ad9!important;border-color:#ffffff1f!important;box-shadow:0 24px 60px #0009!important}
@keyframes lg-rise{from{opacity:0;transform:translateY(24px) scale(.98)}}
html body #auth .acard>.lgw.mas,html body #auth .acard>h2,html body #auth .acard>.atag,html body #auth .acard>.afeat{position:relative}
/* 分頁 */
html body .gate .atab{position:relative;background:#f3e6dc!important;border-radius:18px!important;padding:5px!important;margin:6px 0 6px!important}
html body .gate .atab button{min-height:44px!important;border-radius:14px!important;font-size:15.5px!important;font-weight:800!important;color:#8a6a5a!important;transition:all .25s}
html body .gate .atab .on{background:linear-gradient(135deg,#ff8a74,#e5576b)!important;color:#fff!important;box-shadow:0 6px 14px #e5576b55!important}
html.night body .gate .atab{background:#2b2346!important}
html.night body .gate .atab button{color:#b7aacb!important}
/* 欄位 */
html body .gate .auth-label{font-size:13px!important;font-weight:800!important;color:#7a5446!important;margin:6px 0 -4px 4px!important}
html.night body .gate .auth-label{color:#d8cdef!important}
html body .gate .pin{min-height:54px!important;border-radius:16px!important;border:1.5px solid #f0dccf!important;background:#fff!important;font-size:16px!important;color:#3d2a20!important;transition:border-color .2s,box-shadow .2s}
html body .gate input.pin{padding-left:46px!important;background-repeat:no-repeat!important;background-position:15px 50%!important;background-size:20px 20px!important}
html body .gate .pin:focus{outline:none!important;border-color:#e57265!important;box-shadow:0 0 0 4px #ffd8cf!important}
html.night body .gate .pin{background-color:#2b2346!important;border-color:#3e3463!important;color:#f3ecff!important}
html.night body .gate .pin:focus{border-color:#ff9a85!important;box-shadow:0 0 0 4px #ff9a8533!important}
html body .gate .pin::placeholder{color:#b49a8b!important}
html.night body .gate .pin::placeholder{color:#8f83aa!important}
html body .gate #au,html body .gate #ru{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d0806f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E")!important}
html body .gate #ap,html body .gate #rp,html body .gate #rp2{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d0806f' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")!important}
html body .gate #rn{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d0806f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 3C11 4 5 10 5 19'/%3E%3Cpath d='M20 3c1 8-4 14-12 15'/%3E%3Cpath d='M5 19l-2 2'/%3E%3C/svg%3E")!important}
html body .gate input.pin[type=email],html body .gate #fe2,html body .gate #fem{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d0806f' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E")!important}
html body .gate select.pin{padding-left:14px!important;text-align:center;font-weight:800!important;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4513f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:16px!important;padding-right:30px!important}
html body .gate .pwt{color:#c4513f!important;font-weight:800!important}
html.night body .gate .pwt{color:#ffb3a3!important}
html body .gate .pwbar{height:6px!important;border-radius:3px!important;background:#f3e6dc!important;overflow:hidden;margin:-2px 4px 0!important}
html body .gate .pwbar i{border-radius:3px!important}
html body .gate .rem{font-size:13.5px!important;color:#7a5446!important}
html.night body .gate .rem,html.night body .gate .gbox p,html.night body .gate .gbox small{color:#cbbfe3!important}
html body .gate .rem input{accent-color:#e5576b!important;width:22px!important;height:22px!important}
/* 按鈕 */
html body .gate .btn.big,html body #auth #ago,html body #auth #rgo,html body #auth #fgo2{position:relative;overflow:hidden;min-height:56px!important;border-radius:18px!important;font-size:17px!important;font-weight:900!important;letter-spacing:1px;background:linear-gradient(135deg,#ff8a74,#e5576b 55%,#c94a6a)!important;color:#fff!important;box-shadow:0 12px 26px #e5576b55!important;border:0!important}
html body .gate .btn.big::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,#ffffff66,transparent);transform:skewX(-20deg);animation:lg-shine 3.6s ease-in-out infinite}
@keyframes lg-shine{0%,60%{left:-60%}100%{left:130%}}
html body .gate .btn.big:active{transform:scale(.98)}
html body .gate .btn.ghost.big,html body .gate #gno{background:#ffffffb3!important;color:#b4473a!important;border:1.5px solid #f3cfc4!important;box-shadow:none!important}
html body .gate .btn.ghost.big::after{display:none}
html.night body .gate .btn.ghost.big,html.night body .gate #gno{background:#ffffff12!important;color:#ffc6b4!important;border-color:#ffffff30!important}
html body .gate a,html body .gate .lk2{color:#c4513f!important;font-weight:800}
html.night body .gate a,html.night body .gate .lk2{color:#ffb3a3!important}
/* 生日 */
html body .gate .auth-step{display:inline-flex;align-items:center;gap:6px;font-size:12px!important;font-weight:800;letter-spacing:1px;color:#c4513f!important;background:#ffe9e2;padding:4px 12px;border-radius:12px}
html.night body .gate .auth-step{background:#3a2a55;color:#ffc6b4!important}
html body .gate .gcard h3{font-size:25px!important;font-weight:900!important}
html.night body .gate .gcard h3,html.night body .gate .gcard b{color:#fff!important}
html body .gate .bdr{gap:10px!important}
html body .gate .g18{border-radius:16px!important;padding:12px 14px!important;font-weight:800;background:linear-gradient(135deg,#fff3d6,#ffe2e8)!important;color:#7a3f33!important}
html.night body .gate .g18{background:#2b2346!important;color:#ffd6a8!important}
html body .gate .gbox>small{color:#7a5446!important;font-size:12px!important}
html body .gate .afoot{position:relative;z-index:1;color:#7a5446!important}
html.night body .gate .afoot{color:#b7aacb!important}
@media(max-height:700px){html body .gate .gbox .lgw.mas{width:78px!important;height:78px!important}html body .gate .gbox h2{font-size:28px!important}html body #auth .afeat{display:none!important}}
@media(prefers-reduced-motion:reduce){.lg-sky .fe,.lg-sky .st,html body .gate .gbox .lgw.mas,html body .gate .btn.big::after{animation:none!important}.lg-sky .fe{display:none}}
html.night body .gate .atab .on{color:#fff!important}
html.night body .gate .pwbar{background:#3e3463!important}
html body .gate .gerr:not(:empty){background:#fff0ef;border-radius:12px;padding:8px 12px!important;font-size:13.5px;font-weight:700;width:100%;box-sizing:border-box}
html.night body .gate .gerr:not(:empty){background:#4a2030;color:#ffc2c2!important}
/* 生日步驟：已有帳號直接登入 */
.gate .ghave{display:block;width:100%;margin:12px 0 0;padding:8px;border:0;background:transparent;color:var(--cu-mute,#8a7466);font-size:14px;text-align:center}
.gate .ghave b{color:var(--cu-brand,#c4513f);font-weight:800;text-decoration:underline;text-underline-offset:3px;margin-left:4px}
.gate .gnote{margin:8px 2px 0;font-size:12.5px;line-height:1.5;opacity:.75;text-align:center}
/* 新版103：年齡確認頁就看得到條款、隱私、商店資訊（放在卡片裡，不用捲到最下面） */
.glegal{margin:0 0 12px;text-align:center;font-size:13px;line-height:1.7;color:#8a6f62}
.glegal a{color:#b0483a;font-weight:700;text-decoration:underline;text-underline-offset:3px;padding:3px 2px;display:inline-block}
.glegal i{font-style:normal;opacity:.5;margin:0 2px}
html.night .glegal{color:#b7aacb}html.night .glegal a{color:#ffb9a8}
html body .gate{overflow-y:auto!important;-webkit-overflow-scrolling:touch;height:100dvh}
