@charset "utf-8";
/* ==========================================================================
   雷霆通行证 ltLogin2 组件 —— 设计 token 与样式（取自 wd.leiting.com 官方组件）
   数值对照官方 lt_ltLogin2.min.css 桌面端(landscape)规则，未做二次发挥。

   自适应策略（本轮新增）：
   - 基准设计宽度 418px（官方原值），由 --ltlW 统一控制，可用 ?w=360 覆盖
   - 所有左右 padding 改「百分比 + clamp」：比例取 418 基准下与官方 px 完全等价的值
       48/418 = 11.5%   24/322 = 7.45%(input 内左边距，322 = 418-96)
       50/322 = 15.5%  130/322 = 40.4%   18/418 = 4.3%
     宽 418 时逐像素等于官方，宽度变化时等比缩放；每条 clamp 前保留一行 px 兜底
   - 垂直方向按 max-height 三档收紧（760 / 640 / 540），矮弹窗不再溢出
   - .ltl-modal-stack 用 auto margin 居中而非 justify-content:center，
     内容超高时（flex 自由空间为负 auto margin 归 0）不会裁掉顶部
   ========================================================================== */
:root{
    --ltlW:418px;                       /* 弹窗基准宽度，JS 可用 ?w= 覆盖 */
    --ltlcolorPurple:#6d5bf5;   --ltlcolorPurple2:#8a7bff;  --ltlcolorPurple3:#6753fa;
    --ltlcolorPurple4:#8677fa;  --ltlcolorPurple5:#6451f7;  --ltlcolorPurple6:#9786ff;
    --ltlcolorPurple7:#f7f6ff;  --ltlcolorPurple8:#e9e6ff;  --ltlcolorPurple9:#e5e2f7;
    --ltlcolorPurple10:#d3d0e3; --ltlcolorPurple11:#dcdcf1;
    --ltlcolorRed:#f04a97;      --ltlcolorGray:#646464;     --ltlcolorGray2:#bfbfbf;
    --ltlcolorGray3:#cfcfcf;    --ltlcolorGray4:#d7d7d7;    --ltlcolorGray5:#f5f5f5;
    --ltlcolorGray6:#aaa;       --ltlcolorWhite:#fff;       --ltlcolorBlack:#000;
}
html,body{width:100%;height:100%;margin:0;padding:0}
body{background:#14161f url(bg.jpg) center center / cover no-repeat fixed}

/* ===== 遮罩层 ===== */
.ltl-modal{display:flex;overflow:auto;position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;
    box-sizing:border-box;
    padding:50px 24px 100px;
    padding:clamp(10px,5vh,50px) clamp(10px,3vw,24px) clamp(10px,9vh,100px);
    font-family:"\5FAE\8F6F\96C5\9ED1","Microsoft YaHei",tahoma,sans-serif;
    font-weight:400;font-style:normal;background-color:rgba(0,0,0,.8);outline:none;opacity:1;
    -webkit-user-select:none;user-select:none;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch}
.ltl-modal a{outline:none;-webkit-tap-highlight-color:transparent;text-decoration:none}
.ltl-modal input{margin:0;border:none;padding:0;font-family:"\5FAE\8F6F\96C5\9ED1","Microsoft YaHei",tahoma,sans-serif;
    font-weight:400;font-style:normal;outline:none;box-shadow:0 0 0 transparent;
    -webkit-appearance:none;appearance:none}
.ltl-modal input::-ms-reveal{display:none}
.ltl-modal input::-ms-clear{display:none}
.ltl-modal i{display:inline;border:none;border-radius:0;width:auto;height:auto;font-style:normal;text-align:left}
.ltl-icon{display:block;width:100%;height:100%;fill:var(--ltlcolorPurple9);transition:fill .15s}

/* 内容栈：wrapper + 备案行打包成一个整体做垂直居中 */
.ltl-modal-stack{display:block;box-sizing:border-box;margin:auto;width:100%;
    max-width:var(--ltlW);flex-shrink:0}

/* ===== 弹窗主体 ===== */
.ltl-login-modal .ltl-modal-wrapper{position:relative;z-index:10001;margin:0 auto;border-radius:36px;
    font-size:0;outline:none;box-sizing:border-box;width:100%;max-width:100%;min-width:0;line-height:1;
    background-color:var(--ltlcolorWhite);box-shadow:0 24px 60px rgba(0,0,0,.45)}
.ltl-login-modal .ltl-modal-content-wrap{display:none;overflow:hidden;position:relative;
    padding:18px 48px;
    padding:clamp(14px,4.3%,18px) clamp(18px,11.5%,48px)}
.ltl-login-modal .ltl-modal-content-wrap.ltl-active{display:block}
/* 右下角雷霆 LOGO 水印（官方同款：136x196 / opacity .2）；窄屏按比例缩，避免压字 */
.ltl-login-modal .ltl-modal-content-wrap:before{display:block;position:absolute;right:0;bottom:0;
    width:136px;height:196px;
    width:clamp(78px,32.5%,136px);height:clamp(112px,46.9%,196px);
    background-image:url(img/lt_logo2.png);background-repeat:no-repeat;
    background-position:100% 100%;background-size:contain;opacity:.2;content:"";pointer-events:none}
.ltl-login-modal .ltl-modal-header{position:relative;padding:30px 0}
.ltl-login-modal .ltl-modal-header .ltl-title{margin:0;font-size:24px;font-weight:700;line-height:1.4;
    text-align:center;color:var(--ltlcolorBlack)}
.ltl-login-modal .ltl-modal-body{position:relative}
.ltl-login-modal .ltl-modal-footer{position:relative;padding-top:20px;padding-bottom:5px}

/* ===== 输入框 ===== */
.ltl-primary-input,.ltl-password-input,.ltl-msg-code-input{position:relative;height:48px}
.ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-primary-input,
.ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-password-input,
.ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-msg-code-input,
.ltl-login-modal .ltl-modal-body .ltl-password-input+.ltl-password-input,
.ltl-login-modal .ltl-modal-body .ltl-password-input+.ltl-primary-input,
.ltl-login-modal .ltl-modal-body .ltl-msg-code-input+.ltl-primary-input,
.ltl-login-modal .ltl-modal-body .ltl-msg-code-input+.ltl-password-input{margin-top:12px}
.ltl-primary-input>input,.ltl-password-input>input,.ltl-msg-code-input>input{box-sizing:border-box;
    border:1px solid var(--ltlcolorGray4);border-radius:24px;padding:0 24px;width:100%;height:100%;
    padding:0 clamp(15px,7.45%,24px);
    font-size:16px;color:var(--ltlcolorBlack);background-color:var(--ltlcolorWhite);
    box-shadow:inset 0 0 0 30px var(--ltlcolorWhite);transition:border-color .15s,box-shadow .15s}
.ltl-primary-input>input::-webkit-input-placeholder,
.ltl-password-input>input::-webkit-input-placeholder,
.ltl-msg-code-input>input::-webkit-input-placeholder{color:var(--ltlcolorGray4)}
.ltl-primary-input>input:-moz-placeholder,
.ltl-password-input>input:-moz-placeholder,
.ltl-msg-code-input>input:-moz-placeholder{color:var(--ltlcolorGray4)}
.ltl-primary-input>input:focus,.ltl-password-input>input:focus,.ltl-msg-code-input>input:focus{
    border-color:var(--ltlcolorPurple6);
    box-shadow:inset 0 0 0 30px var(--ltlcolorWhite),0 0 4px 1px var(--ltlcolorPurple7)}
.ltl-primary-input.ltl-error>input,.ltl-password-input.ltl-error>input,
.ltl-msg-code-input.ltl-error>input{border-color:var(--ltlcolorRed)}
.ltl-primary-input:hover:not(.ltl-error)>input,.ltl-password-input:hover:not(.ltl-error)>input,
.ltl-msg-code-input:hover:not(.ltl-error)>input{border-color:var(--ltlcolorPurple6)}

/* 密码框：眼睛 */
.ltl-password-input>input{padding:0 50px 0 24px;
    padding:0 clamp(38px,15.5%,50px) 0 clamp(15px,7.45%,24px)}
.ltl-password-input .ltl-btn-eye{display:flex;position:absolute;top:0;right:0;box-sizing:border-box;
    border-radius:0 24px 24px 0;padding-left:6px;width:50px;height:100%;cursor:pointer;
    width:clamp(38px,15.5%,50px);
    align-items:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center}
.ltl-password-input .ltl-btn-eye .ltl-eye{display:block;width:22px;height:22px}
.ltl-password-input .ltl-btn-eye:hover .ltl-eye .ltl-icon{fill:var(--ltlcolorPurple6)}

/* 验证码框：右侧获取按钮 */
.ltl-msg-code-input>input{padding:0 130px 0 24px;
    padding:0 clamp(94px,40.4%,130px) 0 clamp(15px,7.45%,24px)}
.ltl-msg-code-input .ltl-btn-code{display:flex;position:absolute;top:0;right:0;box-sizing:border-box;
    border-radius:0 24px 24px 0;padding:0 22px;max-width:52%;height:100%;line-height:1.4;cursor:pointer;
    padding:0 clamp(13px,6.8%,22px);
    align-items:center;justify-content:center;background:transparent;
    -webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:center}
.ltl-msg-code-input .ltl-btn-code>i{overflow:hidden;font-size:15px;white-space:nowrap;
    text-overflow:ellipsis;color:var(--ltlcolorGray2)}
.ltl-msg-code-input .ltl-btn-code.ltl-active>i{color:var(--ltlcolorPurple)}
.ltl-msg-code-input .ltl-btn-code.ltl-disable{pointer-events:none}
.ltl-msg-code-input .ltl-btn-code.ltl-disable>i{color:var(--ltlcolorGray2)}
.ltl-msg-code-input .ltl-btn-code:hover>i{color:var(--ltlcolorPurple)}
/* 图形验证码：右侧图片，位置与官方验证码按钮一致 */
.ltl-msg-code-input .ltl-captcha-img{position:absolute;top:0;right:0;box-sizing:border-box;
    height:100%;padding:6px 6px 6px 0;cursor:pointer;z-index:2}
.ltl-msg-code-input .ltl-captcha-img img{display:block;height:100%;width:auto;border-radius:0 22px 22px 0}

/* ===== 协议勾选 ===== */
.ltl-login-modal .ltl-modal-body .ltl-checkbox{margin-top:20px;display:block}
.ltl-checkbox>input{display:none}
.ltl-checkbox>label{display:flex;text-align:left;color:var(--ltlcolorGray2);
    align-items:flex-start;-webkit-align-items:flex-start;-webkit-box-align:start;cursor:pointer}
.ltl-checkbox>label .ltl-checkbox-icon{position:relative;margin:.25em 0 0;box-sizing:border-box;border:none;
    border-radius:50%;width:16px;height:16px;box-shadow:0 0 0 1px var(--ltlcolorGray4);flex-shrink:0}
.ltl-checkbox>input:checked+label .ltl-checkbox-icon{box-shadow:none}
.ltl-checkbox>label .ltl-checkbox-icon .ltl-icon-tick{display:none;position:absolute;top:0;left:0;
    width:16px;height:16px;fill:var(--ltlcolorPurple)}
.ltl-checkbox>input:checked+label .ltl-checkbox-icon .ltl-icon-tick{display:inline-block}
.ltl-checkbox.ltl-error>label .ltl-checkbox-icon{box-shadow:0 0 0 1px var(--ltlcolorRed)}
.ltl-checkbox>label .ltl-checkbox-icon+.ltl-checkbox-text{margin-left:10px}
.ltl-checkbox>label .ltl-checkbox-text{position:relative;margin:0;font-size:12px;line-height:1.5;
    flex:1;color:var(--ltlcolorGray);pointer-events:auto}
.ltl-checkbox>label .ltl-checkbox-href{font-size:12px;color:var(--ltlcolorPurple2)}

/* ===== 按钮 ===== */
.ltl-btn{display:flex;box-sizing:border-box;border:none;border-radius:48px;height:48px;font-size:16px;
    cursor:pointer;align-items:center;justify-content:center;transition:opacity .15s,background-image .15s;
    -webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center}
.ltl-btn>i{overflow:hidden;line-height:1.4;white-space:nowrap;text-overflow:ellipsis}
.ltl-btn.ltl-btn-primary{color:var(--ltlcolorWhite);width:100%;
    background-image:-webkit-linear-gradient(right,var(--ltlcolorPurple),var(--ltlcolorPurple2));
    background-image:linear-gradient(270deg,var(--ltlcolorPurple),var(--ltlcolorPurple2))}
.ltl-btn.ltl-btn-primary:hover{opacity:1;
    background-image:-webkit-linear-gradient(right,var(--ltlcolorPurple3),var(--ltlcolorPurple4));
    background-image:linear-gradient(270deg,var(--ltlcolorPurple3),var(--ltlcolorPurple4))}
.ltl-btn[disabled]{opacity:.6;cursor:default}
.ltl-btn[disabled]:hover{background-image:linear-gradient(270deg,var(--ltlcolorPurple),var(--ltlcolorPurple2))}

/* ===== 底部反馈与操作区 ===== */
.ltl-login-modal .ltl-modal-footer .ltl-login-tips-submit{margin:5px 0 0;text-align:left;
    font-size:13px;line-height:1.5;min-height:20px;color:var(--ltlcolorRed);word-break:break-all}
.ltl-login-modal .ltl-modal-footer .ltl-login-tips-submit.ltl-ok{color:var(--ltlcolorPurple)}
/* 操作行：窄屏自动换行，避免「忘记密码 / 注册账号」互相挤扁 */
.ltl-login-modal .ltl-modal-footer .ltl-op-wrap{display:flex;margin-top:24px;gap:14px;flex-wrap:wrap;
    align-items:center;justify-content:space-between;-webkit-box-pack:justify;-ms-flex-pack:justify}
.ltl-login-modal .ltl-modal-footer .ltl-op-wrap:only-child,
.ltl-login-modal .ltl-modal-footer .ltl-op-wrap.ltl-single{justify-content:center;
    -webkit-box-pack:center;-ms-flex-pack:center}
.ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-op-wrap-row{display:flex;align-items:center;
    -webkit-align-items:center;-webkit-box-align:center}
.ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-op-wrap-account-btn{display:flex;box-sizing:border-box;
    border:1px solid var(--ltlcolorPurple11);border-radius:22px;width:auto;height:42px;padding:0 22px;
    padding:0 clamp(14px,6.8%,22px);
    flex-shrink:0;font-size:15px;align-items:center;justify-content:center;color:var(--ltlcolorPurple);
    background:var(--ltlcolorWhite);cursor:pointer;transition:background-color .15s}
.ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-op-wrap-account-btn:hover{background:var(--ltlcolorPurple7)}
.ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-item{font-size:15px;color:var(--ltlcolorPurple);cursor:pointer}
.ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-item:hover{color:var(--ltlcolorPurple3)}
.ltl-login-tips{font-size:13px;line-height:1.5;word-break:break-all;color:var(--ltlcolorGray6)}
.ltl-modal-footer .ltl-login-tips{margin-top:14px;text-align:center}

/* ===== Toast 吐司（官方 ltl-toast-wrap） ===== */
.ltl-toast-wrap{display:none;position:fixed;top:0;left:0;z-index:10002;width:100%;height:100%;
    box-sizing:border-box;padding:0 20px;
    font-family:"\5FAE\8F6F\96C5\9ED1",tahoma,sans-serif;align-items:center;flex-direction:column;
    justify-content:center;-webkit-box-pack:center;-ms-flex-pack:center}
.ltl-toast-wrap.ltl-active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}
.ltl-toast-wrap .ltl-toast-con{box-sizing:border-box;border-radius:28px;padding:17px 30px;
    max-width:520px;max-width:min(520px,100%);line-height:1.4;text-align:justify;
    background-color:rgba(10,7,34,.8);opacity:0}
.ltl-toast-wrap .ltl-toast-con.ltl-move-in{-webkit-animation:toastMoveIn .3s linear forwards;
    animation:toastMoveIn .3s linear forwards}
.ltl-toast-wrap .ltl-toast-con.ltl-move-out{-webkit-animation:toastMoveOut .3s linear forwards;
    animation:toastMoveOut .3s linear forwards}
.ltl-toast-wrap .ltl-toast-con+.ltl-toast-con{margin-top:10px}
.ltl-toast-wrap .ltl-toast-con .ltl-toast-text{font-size:14px;color:var(--ltlcolorWhite);
    -webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
@-webkit-keyframes toastMoveIn{0%{opacity:0;-webkit-transform:translateY(14px)}100%{opacity:1;-webkit-transform:translateY(0)}}
@keyframes toastMoveIn{0%{opacity:0;transform:translateY(14px)}100%{opacity:1;transform:translateY(0)}}
@-webkit-keyframes toastMoveOut{0%{opacity:1}100%{opacity:0}}
@keyframes toastMoveOut{0%{opacity:1}100%{opacity:0}}

/* ===== 协议提醒弹窗（官方 ltl-clause-reminder） ===== */
.ltl-clause-reminder{display:none;position:fixed;z-index:10000;background:rgba(0,0,0,.8);
    box-sizing:border-box;padding:0 16px;
    flex-direction:column;align-items:center;justify-content:center;inset:0;
    -webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;
    font-family:"\5FAE\8F6F\96C5\9ED1","Microsoft YaHei",tahoma,sans-serif}
.ltl-clause-reminder.ltl-active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}
.ltl-clause-reminder .ltl-clause-reminder-box{box-sizing:border-box;border-radius:36px;padding:33px;
    width:320px;max-width:100%;background:var(--ltlcolorWhite)}
.ltl-clause-reminder .ltl-clause-reminder-title{margin-bottom:16px;font-size:18px;font-weight:600;
    color:var(--ltlcolorBlack)}
.ltl-clause-reminder .ltl-clause-reminder-text{margin:0 0 24px;font-size:15px;line-height:22px;
    color:var(--ltlcolorGray)}
.ltl-clause-reminder .ltl-clause-reminder-link{color:var(--ltlcolorPurple);text-decoration:none}
.ltl-clause-reminder .ltl-clause-reminder-btns{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;
    -webkit-box-pack:center;-ms-flex-pack:center}
.ltl-clause-reminder .ltl-clause-reminder-btn{display:inline-flex;box-sizing:border-box;border-radius:48px;
    padding:0 24px;height:48px;font-size:16px;text-decoration:none;align-items:center;justify-content:center}
.ltl-clause-reminder .ltl-clause-reminder-btn-reject{display:flex;border:1px solid var(--ltlcolorPurple6);
    border-radius:20px;padding:10px 20px;font-size:15px;color:var(--ltlcolorPurple);
    background:var(--ltlcolorWhite);cursor:pointer}
.ltl-clause-reminder .ltl-clause-reminder-btn-agree{display:flex;border-radius:20px;padding:10px 20px;
    font-size:15px;color:var(--ltlcolorWhite);cursor:pointer;
    background-image:-webkit-linear-gradient(right,var(--ltlcolorPurple),var(--ltlcolorPurple2));
    background-image:linear-gradient(270deg,var(--ltlcolorPurple),var(--ltlcolorPurple2))}
.ltl-clause-reminder .ltl-btn-close{margin-top:20px;display:block;box-sizing:border-box;border-radius:50%;
    padding:10px;width:40px;height:40px;font-size:0;cursor:pointer;
    box-shadow:inset 0 0 0 2px var(--ltlcolorWhite)}
.ltl-clause-reminder .ltl-btn-close .ltl-icon{width:100%;height:100%;stroke:var(--ltlcolorWhite)}

/* ===== Loading 遮罩（官方 ltl-loading-modal） ===== */
.ltl-loading-modal{display:none;position:fixed;top:0;left:0;z-index:10002;width:100%;height:100%}
.ltl-loading-modal.ltl-active{display:block}
.ltl-loading-modal .ltl-loading-con{position:absolute;top:50%;left:50%;border-radius:20px;width:84px;
    height:84px;background-color:rgba(0,0,0,.8);transform:translate(-50%,-50%);
    -webkit-transform:translate(-50%,-50%)}
.ltl-loading-modal .ltl-loading-con>i{display:block;position:absolute;top:50%;left:50%;margin-top:-25px;
    margin-left:-25px;border-radius:50%;width:50px;height:50px;
    background-image:conic-gradient(from 0deg,hsla(0,0%,100%,0) 6%,#fff 80%);
    background-image:radial-gradient(closest-side,hsla(0,0%,100%,0) calc(90% - 1px),#fff 90%),
                     conic-gradient(from 0deg,hsla(0,0%,100%,0) 6%,#fff 80%);
    -webkit-animation:ltlLoading 1s linear infinite;animation:ltlLoading 1s linear infinite;
    -webkit-mask:-webkit-radial-gradient(closest-side,hsla(0,0%,100%,0) calc(90% - 1px),#fff 90%);
    mask:radial-gradient(closest-side,hsla(0,0%,100%,0) calc(90% - 1px),#fff 90%)}
@-webkit-keyframes ltlLoading{to{-webkit-transform:rotate(1turn)}}
@keyframes ltlLoading{to{transform:rotate(1turn)}}

/* ===== 备案 =====
   默认隐藏（2026-09-13）：小弹窗/游戏 WebView 里这行又占高度又和画面无关。
   需要对外展示合规信息时加 ?icp=1，head 内联脚本会给 <html> 打上 .ltl-icp。 */
.ltl-beian{display:none;box-sizing:border-box;width:100%;max-width:var(--ltlW);margin:20px auto 0;flex-shrink:0;
    text-align:center;font-size:13px;line-height:1.8;color:rgba(255,255,255,.5)}
html.ltl-icp .ltl-beian{display:block}
.ltl-beian a{color:rgba(255,255,255,.5);text-decoration:none}
.ltl-beian .sep{margin:0 10px;color:rgba(255,255,255,.25)}

/* ===== 引导页（首页） ===== */
.ltl-home{max-width:520px;margin:0 auto;padding:0 16px;text-align:center;color:#fff}
.ltl-home .ltl-home-logo{width:186px;max-width:70%;height:auto;margin:0 auto 26px;display:block;opacity:.95}
.ltl-home h1{margin:0 0 10px;font-size:32px;font-weight:700;letter-spacing:6px}
.ltl-home .ltl-home-sub{margin:0 0 40px;font-size:14px;letter-spacing:2px;color:rgba(255,255,255,.62)}
.ltl-home .ltl-home-btn{display:block;box-sizing:border-box;border-radius:48px;height:48px;margin:0 auto 16px;
    max-width:300px;font-size:16px;color:var(--ltlcolorWhite);text-decoration:none;line-height:48px;
    background-image:linear-gradient(270deg,var(--ltlcolorPurple),var(--ltlcolorPurple2))}
.ltl-home .ltl-home-btn:hover{background-image:linear-gradient(270deg,var(--ltlcolorPurple3),var(--ltlcolorPurple4))}
.ltl-home .ltl-home-btn.ltl-ghost{border:1px solid var(--ltlcolorPurple6);color:var(--ltlcolorPurple6);background:none}
.ltl-home .ltl-home-btn.ltl-ghost:hover{background:rgba(151,134,255,.12)}

/* ===== 结果页（注册成功） ===== */
.ltl-result{padding:36px 48px 30px;
    padding:clamp(24px,8.6%,36px) clamp(20px,11.5%,48px) clamp(22px,7.2%,30px);
    text-align:center}
.ltl-result .ltl-result-icon{width:64px;height:64px;margin:0 auto 18px;display:block}
.ltl-result .ltl-result-title{font-size:24px;font-weight:700;line-height:1.4;color:var(--ltlcolorBlack);margin:0 0 10px}
.ltl-result .ltl-result-desc{font-size:13px;line-height:1.6;color:var(--ltlcolorGray);margin:0 0 24px}
.ltl-result .ltl-result-info{box-sizing:border-box;border-radius:16px;padding:14px 18px;margin-bottom:22px;
    background:var(--ltlcolorPurple7);font-size:14px;line-height:1.9;color:var(--ltlcolorGray);text-align:left}
.ltl-result .ltl-result-info b{color:var(--ltlcolorBlack);font-weight:600;word-break:break-all}
.ltl-result .ltl-result-btn{display:block;box-sizing:border-box;border-radius:48px;height:48px;font-size:16px;
    color:var(--ltlcolorWhite);text-decoration:none;line-height:48px;
    background-image:linear-gradient(270deg,var(--ltlcolorPurple),var(--ltlcolorPurple2))}
.ltl-result .ltl-result-btn:hover{background-image:linear-gradient(270deg,var(--ltlcolorPurple3),var(--ltlcolorPurple4))}
.ltl-result .ltl-result-btn.ltl-ghost{margin-top:12px;background-image:none;border:1px solid var(--ltlcolorPurple6);color:var(--ltlcolorPurple6)}
.ltl-result .ltl-result-btn.ltl-ghost:hover{background:rgba(151,134,255,.12)}
.ltl-result .ltl-result-more{margin-top:18px;font-size:13px;color:var(--ltlcolorGray6)}

/* ==========================================================================
   自适应：高度分档（矮弹窗收紧，注册 tab 7 行输入也不溢出）
   ========================================================================== */
@media screen and (max-height:760px){
    .ltl-modal{padding-top:clamp(8px,2.5vh,50px);padding-bottom:clamp(8px,5vh,100px)}
    .ltl-login-modal .ltl-modal-header{padding:22px 0}
    .ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-primary-input,
    .ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-password-input,
    .ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-msg-code-input,
    .ltl-login-modal .ltl-modal-body .ltl-password-input+.ltl-password-input,
    .ltl-login-modal .ltl-modal-body .ltl-password-input+.ltl-primary-input,
    .ltl-login-modal .ltl-modal-body .ltl-msg-code-input+.ltl-primary-input,
    .ltl-login-modal .ltl-modal-body .ltl-msg-code-input+.ltl-password-input{margin-top:10px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap{margin-top:16px}
}
@media screen and (max-height:640px){
    .ltl-login-modal .ltl-modal-header{padding:16px 0}
    .ltl-login-modal .ltl-modal-header .ltl-title{font-size:21px}
    .ltl-primary-input,.ltl-password-input,.ltl-msg-code-input{height:44px}
    .ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-primary-input,
    .ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-password-input,
    .ltl-login-modal .ltl-modal-body .ltl-primary-input+.ltl-msg-code-input,
    .ltl-login-modal .ltl-modal-body .ltl-password-input+.ltl-password-input,
    .ltl-login-modal .ltl-modal-body .ltl-password-input+.ltl-primary-input,
    .ltl-login-modal .ltl-modal-body .ltl-msg-code-input+.ltl-primary-input,
    .ltl-login-modal .ltl-modal-body .ltl-msg-code-input+.ltl-password-input{margin-top:8px}
    .ltl-login-modal .ltl-modal-body .ltl-checkbox{margin-top:14px}
    .ltl-btn{height:44px}
    .ltl-login-modal .ltl-modal-footer{padding-top:14px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap{margin-top:12px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-op-wrap-account-btn{height:38px}
    .ltl-modal-footer .ltl-login-tips{margin-top:10px}
    .ltl-beian{margin-top:12px}
}
@media screen and (max-height:540px){
    .ltl-login-modal .ltl-modal-header{padding:12px 0}
    .ltl-login-modal .ltl-modal-header .ltl-title{font-size:19px}
    .ltl-primary-input,.ltl-password-input,.ltl-msg-code-input{height:40px}
    .ltl-primary-input>input,.ltl-password-input>input,.ltl-msg-code-input>input{font-size:15px}
    .ltl-btn{height:40px;font-size:15px}
    .ltl-login-modal .ltl-modal-content-wrap:before{display:none}
    .ltl-login-modal .ltl-modal-body .ltl-checkbox{margin-top:10px}
    .ltl-login-modal .ltl-modal-footer{padding-top:10px;padding-bottom:2px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap{margin-top:10px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-op-wrap-account-btn{height:34px;font-size:13px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-item{font-size:13px}
    .ltl-login-modal .ltl-modal-footer .ltl-login-tips-submit{min-height:16px;font-size:12px}
    .ltl-modal-footer .ltl-login-tips{margin-top:8px;font-size:12px}
    .ltl-beian{margin-top:8px;font-size:12px}
}
/* 极端矮（-520）：注册 tab 7 行输入本身就有下限，这里把信息价值低的
   尾部说明行和空提示位收掉，能省约 40px，尽量让首屏不用滚 */
@media screen and (max-height:520px){
    .ltl-login-modal .ltl-modal-footer .ltl-login-tips{display:none}
    .ltl-login-modal .ltl-modal-footer .ltl-login-tips-submit:empty{min-height:0}
    .ltl-login-modal .ltl-modal-header{padding:10px 0}
    .ltl-login-modal .ltl-modal-header .ltl-title{font-size:18px}
    .ltl-checkbox>label .ltl-checkbox-text{line-height:1.4}
    .ltl-login-modal .ltl-modal-body .ltl-checkbox{margin-top:8px}
    .ltl-login-modal .ltl-modal-footer{padding-top:8px;padding-bottom:0}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap{margin-top:8px}
    .ltl-beian{margin-top:6px}
}

/* ==========================================================================
   自适应：宽度分档
   ========================================================================== */
@media screen and (max-width:560px){
    .ltl-login-modal .ltl-modal-wrapper{border-radius:30px}
    .ltl-login-modal .ltl-modal-header{padding:26px 0 22px}
    .ltl-login-modal .ltl-modal-header .ltl-title{font-size:22px}
}
@media screen and (max-width:520px){
    .ltl-modal-stack{max-width:100%}
    .ltl-beian{max-width:100%}
    .ltl-modal{padding:16px 12px 32px}
    .ltl-login-modal .ltl-modal-wrapper{width:auto;min-width:0;max-width:100%;border-radius:28px}
    .ltl-login-modal .ltl-modal-content-wrap{padding:14px 24px}
    .ltl-login-modal .ltl-modal-content-wrap:before{width:96px;height:138px}
    .ltl-login-modal .ltl-modal-header{padding:24px 0 20px}
    .ltl-login-modal .ltl-modal-header .ltl-title{font-size:20px}
    .ltl-primary-input,.ltl-password-input,.ltl-msg-code-input{height:44px}
    .ltl-primary-input>input,.ltl-password-input>input,.ltl-msg-code-input>input{font-size:15px;padding:0 20px}
    .ltl-password-input>input{padding:0 46px 0 20px}
    .ltl-msg-code-input>input{padding:0 118px 0 20px}
    .ltl-password-input .ltl-btn-eye{width:46px}
    .ltl-msg-code-input .ltl-btn-code{padding:0 16px}
    .ltl-msg-code-input .ltl-btn-code>i{font-size:13px}
    .ltl-btn{height:44px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap{margin-top:14px;gap:8px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-item{font-size:13px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-op-wrap-account-btn{height:38px;padding:0 16px;font-size:13px}
    .ltl-clause-reminder .ltl-clause-reminder-box{width:auto;max-width:100%;padding:26px 22px;border-radius:28px}
    .ltl-result{padding:26px 24px 22px}
    .ltl-home h1{font-size:26px}
}
@media screen and (max-width:400px){
    .ltl-modal{padding:12px 10px 24px}
    .ltl-login-modal .ltl-modal-wrapper{border-radius:24px}
    .ltl-login-modal .ltl-modal-content-wrap{padding:12px 18px}
    .ltl-login-modal .ltl-modal-content-wrap:before{width:76px;height:110px}
    .ltl-login-modal .ltl-modal-header{padding:20px 0 16px}
    .ltl-login-modal .ltl-modal-header .ltl-title{font-size:19px}
    .ltl-primary-input,.ltl-password-input,.ltl-msg-code-input{height:42px}
    .ltl-primary-input>input,.ltl-password-input>input,.ltl-msg-code-input>input{font-size:15px;padding:0 16px}
    .ltl-password-input>input{padding:0 42px 0 16px}
    .ltl-msg-code-input>input{padding:0 104px 0 16px}
    .ltl-password-input .ltl-btn-eye{width:42px}
    .ltl-msg-code-input .ltl-btn-code{padding:0 12px}
    .ltl-msg-code-input .ltl-btn-code>i{font-size:12px}
    .ltl-checkbox>label .ltl-checkbox-text{font-size:11px}
    .ltl-checkbox>label .ltl-checkbox-icon+.ltl-checkbox-text{margin-left:8px}
    .ltl-btn{height:42px;font-size:15px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap{gap:6px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-op-wrap-account-btn{height:36px;padding:0 14px;font-size:12px}
    .ltl-login-modal .ltl-modal-footer .ltl-op-wrap .ltl-item{font-size:12px}
    .ltl-result{padding:22px 18px 18px}
    .ltl-result .ltl-result-title{font-size:20px}
    .ltl-home h1{font-size:23px;letter-spacing:3px}
    .ltl-home .ltl-home-btn{max-width:100%}
}
@media screen and (max-width:340px){
    .ltl-modal{padding:10px 8px 20px}
    .ltl-login-modal .ltl-modal-content-wrap{padding:10px 14px}
    .ltl-login-modal .ltl-modal-content-wrap:before{display:none}
    .ltl-primary-input>input,.ltl-password-input>input,.ltl-msg-code-input>input{font-size:14px}
    .ltl-msg-code-input>input{padding:0 92px 0 14px}
    .ltl-beian{font-size:11px}
}

/* ==========================================================================
   嵌入模式：被 iframe / 游戏内 WebView 弹窗装载时（?embed=1 或自动检测）
   —— 去掉自己的全屏遮罩与背景，由父容器提供外壳，尺寸完全交给外部
   ========================================================================== */
html.ltl-embed,html.ltl-embed body{height:auto;min-height:0;background:none}
html.ltl-embed body{background:none}
html.ltl-embed .ltl-modal{position:relative;top:auto;right:auto;bottom:auto;left:auto;overflow:visible;
    display:block;height:auto;min-height:0;padding:0;background:none}
html.ltl-embed .ltl-modal-stack{margin:0}
html.ltl-embed .ltl-beian{display:none}
html.ltl-embed .ltl-toast-wrap,
html.ltl-embed .ltl-loading-modal,
html.ltl-embed .ltl-clause-reminder{position:fixed}

/* 紧凑模式：外部弹窗空间很小，进一步压缩留白 */
html.ltl-compact .ltl-login-modal .ltl-modal-header{padding:16px 0}
html.ltl-compact .ltl-login-modal .ltl-modal-header .ltl-title{font-size:20px}
html.ltl-compact .ltl-primary-input,
html.ltl-compact .ltl-password-input,
html.ltl-compact .ltl-msg-code-input{height:42px}
html.ltl-compact .ltl-btn{height:42px}
html.ltl-compact .ltl-login-modal .ltl-modal-content-wrap:before{display:none}
html.ltl-compact .ltl-login-modal .ltl-modal-footer{padding-top:12px}
html.ltl-compact .ltl-login-modal .ltl-modal-footer .ltl-op-wrap{margin-top:12px}
