/* ttuu.beer 引导页样式 - 1:1复刻 */
*{box-sizing:border-box}
body{margin:0;min-height:100vh;padding:24px 14px;font-family:PingFang SC,Microsoft YaHei,sans-serif;background:linear-gradient(175deg,#1f0d1a,#2a1322 50%,#190b14);color:#2d1a24}
.page{width:min(100%,480px);margin:auto}

/* 首页卡片 */
.card{padding:38px 22px 30px;border-radius:24px;text-align:center;background:#fffafd;border:1px solid #f0a0b855;box-shadow:inset 0 2px #f0a0b8,0 20px 50px #12050d70}
.spark{font-size:46px}
.card h1{font-size:26px;margin:12px 0 10px}
.card h1 span{color:#d4788f}
.desc{white-space:pre-line;color:#755363;line-height:1.7}
.proof{display:inline-flex;align-items:center;justify-content:center;gap:5px;margin:14px auto 2px;padding:7px 16px;border-radius:999px;background:linear-gradient(135deg,#fff1e2,#ffe3d0);color:#a3541c;font-size:13px;font-weight:700;box-shadow:0 3px 10px rgba(0,0,0,.06)}
.proof b{font-size:17px;color:#e53935}
.pills{margin:16px 0;display:flex;gap:7px;justify-content:center;flex-wrap:wrap}
.pill{font-size:12px;padding:5px 9px;border-radius:99px;background:#f8e6ec;color:#a45168}
.links{display:grid;gap:10px}
.link{padding:14px;border-radius:13px;text-decoration:none;font-weight:800;display:block;text-align:center;cursor:pointer;border:none;font-size:15px;width:100%}
.link .link-tag{display:inline-block;font-size:11px;padding:2px 6px;border-radius:4px;background:rgba(255,255,255,.25);margin-left:6px;vertical-align:middle}
.primary{color:#fff;background:linear-gradient(135deg,#d4788f,#ad4e68);box-shadow:0 7px 16px #b45b7538}
.secondary{color:#824b60;background:#f9e8ee;border:1px solid #edcad5}
.accent{color:#60384b;background:#fff;border:1px solid #d9b9c4}
.divider{display:flex;align-items:center;gap:8px;margin:14px 0 2px;color:#bd7188;font-size:12px;font-weight:800}
.divider:before,.divider:after{content:"";height:1px;flex:1;background:#eccbd5}
.foot{margin-top:20px;color:#9a7a88;font-size:11px;text-align:center}
.back{display:inline-block;margin-bottom:12px;color:#f3c3d0;text-decoration:none;font-size:13px}

/* 任务详情页 */
.task-page{background:#fff;border-radius:18px;padding:14px;box-shadow:0 18px 55px #12050d66}
.notice{white-space:pre-line;text-align:center;font-weight:800;line-height:1.65;color:#ee4e57;background:#fff0f1;border-left:4px solid #ff525b;border-radius:4px;padding:15px 11px;margin:0 0 18px}
.step{background:#fff;border:1px solid #edf0f3;border-radius:12px;padding:16px 13px;margin:0 0 16px;box-shadow:0 4px 16px #4e62720b}
.step h2{font-size:17px;margin:0 0 16px;color:#222}
.step p{font-size:14px;line-height:1.75;color:#444;white-space:pre-line}
.task-img{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:10px;margin:12px auto}
.save-box{padding:13px;border:1px solid #ffd8cf;border-radius:11px;background:#fffaf7;text-align:center;color:#f05b51;font-weight:750;line-height:1.55}
.platform{color:#f05252;font-weight:800}
.keyword-row{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid #ffd77b;border-radius:10px;background:#fffdf3}
.keyword{color:#ee5664;font-weight:800;user-select:text;-webkit-user-select:text}
.copy,.submit{border:0;color:white;font-weight:800;border-radius:999px;background:linear-gradient(135deg,#ff796e,#ee4f58);padding:10px 16px;cursor:pointer;font-size:14px}
.submit{display:block;width:max-content;max-width:100%;margin:18px auto 10px;text-decoration:none;background:linear-gradient(135deg,#278be8,#075cb8);box-shadow:0 7px 18px #176fc33d}
.muted{text-align:center;color:#999;font-size:12px}
.gallery{display:grid;gap:9px}
.gallery img{width:100%;border-radius:9px}
.task-foot{text-align:center;color:#aaa;font-size:12px;padding:18px 0 6px}

/* 评论步骤 */
.comment-step{background:#fffaf5;border-color:#ffd9c2}
.comment-step h2{display:flex;align-items:center;gap:9px}
.step-num{display:inline-grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:#ff7115;color:#fff;font-size:12px}
.comment-example{margin:0 0 15px}
.comment-text{white-space:pre-line;padding:13px;border:1px solid #ffd9c2;border-radius:12px;background:#fff;color:#332820;font-size:14px;line-height:1.55;user-select:text;-webkit-user-select:text}
.keyword-hint{text-align:center!important;font-size:13px;color:#888;margin:8px 0}

/* 上传页 */
.upload-page{background:#fff;border-radius:18px;padding:20px 16px;box-shadow:0 18px 55px #12050d66}
.upload-title{font-size:20px;font-weight:800;text-align:center;color:#222;margin:0 0 8px}
.upload-intro{text-align:center;color:#666;font-size:14px;line-height:1.6;margin:0 0 20px;white-space:pre-line}
.upload-area{border:2px dashed #ffc4c8;border-radius:14px;padding:30px 20px;text-align:center;background:#fffafa;cursor:pointer;transition:all .2s;margin-bottom:16px}
.upload-area:hover{border-color:#ff8a8f;background:#fff5f5}
.upload-area .upload-icon{font-size:40px;display:block;margin-bottom:8px}
.upload-area .upload-hint{color:#999;font-size:13px}
.upload-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}
.upload-preview .preview-item{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#f5f5f5}
.upload-preview .preview-item img{width:100%;height:100%;object-fit:cover}
.upload-preview .preview-item .remove-btn{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;border:none;cursor:pointer;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center}
.upload-rules{background:#f8f8f8;border-radius:10px;padding:12px 14px;margin:16px 0;font-size:12px;color:#888;line-height:1.8;white-space:pre-line}
.upload-privacy{text-align:center;color:#aaa;font-size:11px;margin-top:12px}

/* 审核中 */
.reviewing{text-align:center;padding:40px 20px}
.reviewing .spinner{width:50px;height:50px;border:4px solid #f0f0f0;border-top-color:#d4788f;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}
@keyframes spin{to{transform:rotate(360deg)}}
.reviewing p{color:#666;font-size:15px}

/* 成功页 */
.success-page{text-align:center;padding:30px 20px}
.success-icon{font-size:60px;margin-bottom:16px}
.success-title{font-size:22px;font-weight:800;color:#222;margin:0 0 10px}
.success-text{color:#666;font-size:14px;line-height:1.7;margin:0 0 24px;white-space:pre-line}
.resource-btn{display:inline-block;padding:14px 40px;border-radius:999px;background:linear-gradient(135deg,#d4788f,#ad4e68);color:#fff;text-decoration:none;font-weight:800;font-size:16px;box-shadow:0 7px 16px #b45b7538}

/* 入口弹窗 */
.entry-modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}
.entry-modal-card{background:#fff;border-radius:18px;padding:24px 20px;max-width:380px;width:100%;max-height:80vh;overflow-y:auto}
.entry-modal-title{font-size:18px;font-weight:800;text-align:center;color:#222;margin:0 0 14px}
.entry-modal-text{color:#555;font-size:14px;line-height:1.8;white-space:pre-line;margin:0 0 20px}
.entry-modal-btn{display:block;width:100%;padding:13px;border-radius:999px;background:linear-gradient(135deg,#d4788f,#ad4e68);color:#fff;border:none;font-weight:800;font-size:15px;cursor:pointer}

/* 领取选择弹窗 */
.claim-choice{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:9998;padding:20px}
.claim-choice-card{background:#fff;border-radius:18px;padding:24px 20px;max-width:360px;width:100%}
.claim-choice-icon{font-size:44px;text-align:center;margin-bottom:8px}
.claim-choice-name{font-size:18px;font-weight:800;text-align:center;color:#222;margin:0 0 6px}
.claim-choice-meta{text-align:center;color:#999;font-size:13px;margin:0 0 20px}
.claim-choice-actions{display:grid;gap:10px}
.claim-choice-btn{padding:14px;border-radius:13px;border:none;cursor:pointer;text-align:left;font-weight:800}
.claim-choice-btn strong{display:block;font-size:15px;margin-bottom:3px}
.claim-choice-btn small{font-size:12px;font-weight:400;opacity:.8}
.claim-choice-free{color:#fff;background:linear-gradient(135deg,#ff796e,#ee4f58);box-shadow:0 4px 12px rgba(238,79,88,.25)}
.claim-choice-vip{color:#8a5a00;background:linear-gradient(135deg,#fff3cd,#ffe8a3);border:1px solid #ffd97a}
.claim-choice-cancel{color:#999;background:#f5f5f5;text-align:center}

/* VIP页 */
.vip-page{background:#fff;border-radius:18px;padding:20px 16px;box-shadow:0 18px 55px #12050d66}
.vip-title{font-size:20px;font-weight:800;text-align:center;color:#8a5a00;margin:0 0 8px}
.vip-intro{text-align:center;color:#666;font-size:14px;line-height:1.7;margin:0 0 20px;white-space:pre-line}
.vip-step{margin-bottom:20px}
.vip-step p{font-size:14px;line-height:1.7;color:#444;text-align:center;white-space:pre-line;margin:0 0 10px}
.vip-step img{display:block;width:100%;max-width:280px;margin:0 auto;border-radius:10px}

/* 客服按钮 */
.chat-fab{position:fixed;bottom:20px;right:20px;width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#d4788f,#ad4e68);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 6px 20px rgba(212,120,143,.4);cursor:pointer;z-index:100;border:none}
.chat-panel{position:fixed;bottom:80px;right:20px;width:300px;max-height:400px;background:#fff;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.2);z-index:101;display:none;flex-direction:column;overflow:hidden}
.chat-panel.show{display:flex}
.chat-header{background:linear-gradient(135deg,#d4788f,#ad4e68);color:#fff;padding:12px 16px;font-weight:700;font-size:14px}
.chat-body{flex:1;overflow-y:auto;padding:12px}
.chat-qa{margin-bottom:10px}
.chat-q{background:#f5f5f5;border-radius:10px 10px 10px 2px;padding:8px 12px;font-size:13px;color:#333;margin-bottom:6px;cursor:pointer}
.chat-a{background:#fff0f3;border-radius:10px 10px 2px 10px;padding:8px 12px;font-size:13px;color:#555;white-space:pre-line;display:none}
.chat-qa.open .chat-a{display:block}

/* 资源列表项 */
.resource-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:13px;text-decoration:none;transition:transform .15s}
.resource-item:active{transform:scale(.98)}
.resource-icon{width:44px;height:44px;border-radius:10px;object-fit:cover;flex-shrink:0;background:#f5f5f5;display:flex;align-items:center;justify-content:center;font-size:24px}
.resource-info{flex:1;min-width:0}
.resource-name{font-size:15px;font-weight:700;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.resource-meta{font-size:11px;opacity:.7;margin-top:2px}
.resource-tag{font-size:10px;padding:2px 6px;border-radius:4px;background:rgba(255,255,255,.25);flex-shrink:0}

/* 隐藏 */
.hidden{display:none!important}

/* ========================================
   原站白绿清新风格首页（ttuu.beer 1:1）
   ======================================== */
.home-body{
    margin:0;
    min-height:100vh;
    padding:0;
    font-family:PingFang SC,Microsoft YaHei,-apple-system,sans-serif;
    background:#f5f7fa;
    color:#333;
}
.home-container{
    max-width:1100px;
    margin:0 auto;
    padding:20px 20px 40px;
}

/* 顶部Banner */
.home-banner{
    position:relative;
    background:linear-gradient(135deg,#2bbbad 0%,#1a8a7a 50%,#147a6c 100%);
    border-radius:16px;
    padding:36px 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    overflow:hidden;
    min-height:260px;
}
.home-banner::before{
    content:'';
    position:absolute;
    right:-50px;
    top:-50px;
    width:300px;
    height:300px;
    background:radial-gradient(circle,rgba(255,255,255,.12) 0%,transparent 70%);
    border-radius:50%;
}
.home-banner::after{
    content:'';
    position:absolute;
    left:30%;
    bottom:-80px;
    width:200px;
    height:200px;
    background:radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 70%);
    border-radius:50%;
}
.home-banner-left{
    flex:1;
    position:relative;
    z-index:2;
    max-width:55%;
}
.home-banner-tag{
    display:inline-block;
    background:rgba(255,255,255,.2);
    color:#fff;
    font-size:12px;
    padding:4px 12px;
    border-radius:6px;
    margin-bottom:14px;
    backdrop-filter:blur(4px);
}
.home-banner-title{
    font-size:42px;
    font-weight:800;
    color:#fff;
    margin:0 0 10px;
    line-height:1.2;
    letter-spacing:2px;
}
.home-banner-subtitle{
    font-size:20px;
    color:rgba(255,255,255,.9);
    margin:0 0 24px;
    font-weight:400;
}
.home-banner-btn{
    display:inline-block;
    background:#fff;
    color:#1a8a7a;
    font-size:16px;
    font-weight:700;
    padding:11px 30px;
    border-radius:10px;
    text-decoration:none;
    border:none;
    cursor:pointer;
    transition:transform .15s, box-shadow .15s;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}
.home-banner-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(0,0,0,.15);
}

/* 本周热门侧边卡片 */
.home-hot-card{
    width:340px;
    flex-shrink:0;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(10px);
    border-radius:14px;
    padding:22px 20px;
    position:relative;
    z-index:2;
    border:1px solid rgba(255,255,255,.1);
}
.home-hot-title{
    font-size:18px;
    font-weight:700;
    color:#fff;
    margin:0 0 16px;
    display:flex;
    align-items:center;
    gap:6px;
}
.home-hot-list{
    display:flex;
    flex-direction:column;
    gap:0;
}
.home-hot-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:11px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
    cursor:pointer;
    transition:background .15s;
    border-radius:6px;
}
.home-hot-item:last-child{border-bottom:none;}
.home-hot-item:hover{background:rgba(255,255,255,.06);}
.home-hot-icon{
    width:42px;
    height:42px;
    border-radius:10px;
    object-fit:cover;
    flex-shrink:0;
    background:rgba(255,255,255,.1);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}
.home-hot-name{
    flex:1;
    font-size:14px;
    font-weight:600;
    color:#fff;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.home-hot-badge{
    background:#ff4757;
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:3px 8px;
    border-radius:5px;
    flex-shrink:0;
}

/* 搜索区域 */
.home-search-section{
    margin-top:24px;
}
.home-search-label{
    font-size:14px;
    font-weight:700;
    color:#2a9d8f;
    margin-bottom:8px;
    display:block;
}
.home-search-box{
    display:flex;
    align-items:center;
    background:#fff;
    border:2px solid #2a9d8f;
    border-radius:12px;
    padding:0 16px;
    transition:box-shadow .2s;
}
.home-search-box:focus-within{
    box-shadow:0 0 0 3px rgba(42,157,143,.15);
}
.home-search-icon{
    color:#2a9d8f;
    font-size:18px;
    margin-right:10px;
    flex-shrink:0;
}
.home-search-input{
    flex:1;
    border:none;
    outline:none;
    padding:13px 0;
    font-size:15px;
    background:transparent;
    color:#333;
}
.home-search-input::placeholder{color:#aaa;}

/* 分类标签 */
.home-categories{
    display:flex;
    gap:10px;
    margin-top:20px;
    flex-wrap:wrap;
}
.home-cat{
    padding:7px 20px;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    border:1px solid #e0e0e0;
    background:#fff;
    color:#666;
    transition:all .15s;
    user-select:none;
}
.home-cat:hover{border-color:#2a9d8f;color:#2a9d8f;}
.home-cat.active{
    background:#222;
    color:#fff;
    border-color:#222;
}

/* 热门下载标题 */
.home-section-title{
    display:flex;
    align-items:baseline;
    gap:10px;
    margin:28px 0 16px;
}
.home-section-title h2{
    font-size:18px;
    font-weight:800;
    color:#222;
    margin:0;
}
.home-section-title span{
    font-size:12px;
    color:#999;
}

/* 资源列表 */
.home-resource-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.home-resource-item{
    background:#fff;
    border-radius:14px;
    padding:16px 22px;
    display:flex;
    align-items:center;
    gap:18px;
    box-shadow:0 2px 10px rgba(0,0,0,.04);
    transition:transform .15s, box-shadow .15s;
    cursor:pointer;
    text-decoration:none;
    color:inherit;
}
.home-resource-item:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.home-res-icon{
    width:56px;
    height:56px;
    border-radius:12px;
    object-fit:cover;
    flex-shrink:0;
    background:#f0f0f0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}
.home-res-info{
    flex:1;
    min-width:0;
}
.home-res-name{
    font-size:16px;
    font-weight:700;
    color:#222;
    margin:0 0 7px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.home-res-meta{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
.home-res-tag{
    font-size:11px;
    font-weight:600;
    padding:2px 8px;
    border-radius:4px;
    background:#f0f0f0;
    color:#888;
}
.home-res-tag.hot{
    background:#fff0f0;
    color:#ff4757;
}
.home-res-rating{
    font-size:13px;
    color:#ff9800;
    display:flex;
    align-items:center;
    gap:2px;
}
.home-res-rating .score{
    color:#888;
    margin-left:3px;
    font-weight:600;
}
.home-res-size{
    font-size:13px;
    color:#aaa;
}
.home-get-btn{
    background:linear-gradient(135deg,#2bbbad,#1a8a7a);
    color:#fff;
    border:none;
    border-radius:10px;
    padding:11px 30px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    flex-shrink:0;
    transition:transform .15s, box-shadow .15s;
    box-shadow:0 3px 10px rgba(42,157,143,.25);
    text-decoration:none;
    display:inline-block;
}
.home-get-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 5px 14px rgba(42,157,143,.35);
}

/* 联系客服悬浮 */
.home-service-fab{
    position:fixed;
    right:0;
    top:50%;
    transform:translateY(-50%);
    background:linear-gradient(180deg,#3b82f6,#2563eb);
    color:#fff;
    padding:18px 10px;
    border-radius:10px 0 0 10px;
    writing-mode:vertical-rl;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    z-index:999;
    box-shadow:-3px 0 12px rgba(37,99,235,.3);
    letter-spacing:2px;
    transition:padding .15s;
}
.home-service-fab:hover{padding-right:14px;}

/* 页脚 */
.home-footer{
    text-align:center;
    color:#bbb;
    font-size:13px;
    padding:36px 0 10px;
}

/* 搜索无结果 */
.home-no-result{
    text-align:center;
    padding:60px 20px;
    color:#999;
    font-size:15px;
}
.home-no-result .icon{font-size:48px;display:block;margin-bottom:12px;opacity:.5;}

/* 响应式 */
@media(max-width:768px){
    .home-container{padding:12px 12px 30px;}
    .home-banner{
        flex-direction:column;
        padding:28px 22px;
        gap:20px;
        min-height:auto;
    }
    .home-banner-left{max-width:100%;text-align:center;}
    .home-banner-title{font-size:32px;}
    .home-banner-subtitle{font-size:16px;}
    .home-hot-card{width:100%;}
    .home-resource-item{padding:14px 16px;gap:12px;}
    .home-res-icon{width:48px;height:48px;}
    .home-res-name{font-size:15px;}
    .home-get-btn{padding:9px 20px;font-size:13px;}
    .home-cat{padding:6px 14px;font-size:13px;}
}
