*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body,#app{margin:0;min-height:100%;background:#f6f7fb;color:#1f2937;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif}
button,input,textarea,select{font:inherit}
.tb-page{max-width:480px;margin:0 auto;min-height:100vh;padding-bottom:28px;
  background:linear-gradient(180deg,#fff7d6 0,#f6f7fb 260px)}
.tb-hero{padding:18px 16px 14px;background:linear-gradient(135deg,#ffdf39,#ffb300);
  color:#3d2500;border-radius:0 0 22px 22px;box-shadow:0 8px 22px rgba(255,179,0,.22)}
.tb-hero-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.tb-title{margin:0;font-size:24px;letter-spacing:.5px}
.tb-sub{margin:6px 0 0;font-size:13px;line-height:1.6;color:#6b4c00}
.tb-pill{border:0;background:rgba(255,255,255,.7);color:#6b4c00;border-radius:999px;
  padding:7px 12px;font-size:12px;font-weight:700}
.tb-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.tb-stat{background:rgba(255,255,255,.66);border-radius:14px;padding:10px;text-align:center}
.tb-stat b{display:block;font-size:18px;color:#ff3b30}
.tb-stat span{font-size:11px;color:#7a5a00}
.tb-tabs{display:flex;gap:8px;margin:14px 12px 0;background:#fff;padding:6px;
  border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.tb-tab{flex:1;border:0;background:transparent;border-radius:10px;padding:10px 0;
  color:#64748b;font-weight:700}
.tb-tab.active{background:#ffdf39;color:#3d2500}
.tb-card{margin:12px;background:#fff;border-radius:16px;padding:14px;
  box-shadow:0 4px 16px rgba(15,23,42,.06)}
.tb-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.tb-card h2{margin:0;font-size:17px}
.tb-link{border:0;background:transparent;color:#ff3b30;font-weight:700;padding:5px}
.tb-form{display:grid;gap:10px}
.tb-field label{display:block;font-size:12px;color:#64748b;margin:0 0 6px 2px}
.tb-input,.tb-textarea,.tb-select,.tb-search{width:100%;border:1px solid #e5e7eb;
  background:#f8fafc;border-radius:12px;padding:12px;outline:none;color:#111827}
.tb-textarea{min-height:78px;resize:vertical;line-height:1.55}
.tb-input:focus,.tb-textarea:focus,.tb-search:focus{border-color:#ffcf24;background:#fff;
  box-shadow:0 0 0 3px rgba(255,207,36,.22)}
.tb-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tb-actions{display:flex;gap:10px;margin-top:2px}
.tb-btn{border:0;border-radius:999px;padding:12px 16px;background:#ff3b30;color:#fff;
  font-weight:800;box-shadow:0 6px 12px rgba(255,59,48,.18)}
.tb-btn.ghost{background:#f1f5f9;color:#475569;box-shadow:none}
.tb-btn:disabled{opacity:.55}
.tb-tips{margin:8px 0 0;padding-left:18px;color:#64748b;font-size:12px;line-height:1.8}
.tb-tools{display:flex;gap:8px;margin:12px}
.tb-search{flex:1;border-radius:999px;background:#fff;padding:11px 14px}
.tb-select{width:115px;border-radius:999px;background:#fff}
.tb-team{background:#fff;border-radius:16px;margin:12px;padding:14px;
  box-shadow:0 4px 16px rgba(15,23,42,.06);border:1px solid transparent}
.tb-team.done{border-color:#bbf7d0}
.tb-team.expired{opacity:.7}
.tb-team-head{display:flex;align-items:flex-start;gap:8px;cursor:pointer}
.tb-team-title{font-size:16px;font-weight:800;line-height:1.4;flex:1}
.tb-status{font-size:11px;border-radius:999px;padding:4px 8px;font-weight:800;
  background:#e0f2fe;color:#0369a1;white-space:nowrap}
.tb-status.done{background:#dcfce7;color:#15803d}
.tb-status.expired{background:#e5e7eb;color:#64748b}
.tb-meta{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0;color:#64748b;font-size:12px}
.tb-meta b{color:#ff3b30}
.tb-progress{height:18px;background:#f1f5f9;border-radius:999px;position:relative;overflow:hidden}
.tb-progress-fill{height:100%;background:linear-gradient(90deg,#ffdf39,#ff3b30);border-radius:inherit}
.tb-progress span{position:absolute;inset:0;text-align:center;line-height:18px;font-size:11px;
  font-weight:800;color:#3d2500}
.tb-desc{margin:10px 0 0;padding:10px;background:#fff7ed;border-radius:10px;color:#7c2d12;
  font-size:12px;line-height:1.6;white-space:pre-wrap}
.tb-member-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.tb-member{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:5px 9px;
  font-size:12px;color:#475569}
.tb-team-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.tb-mini{flex:1;border:0;border-radius:999px;padding:9px 10px;font-size:13px;font-weight:800;
  background:#f1f5f9;color:#475569;min-width:45%}
.tb-mini.primary{background:#ff3b30;color:#fff}
.tb-mini.warn{background:#fff1f2;color:#e11d48}
.tb-empty{text-align:center;color:#94a3b8;padding:42px 12px}
.tb-page-footer{text-align:center;color:#94a3b8;font-size:12px;padding:18px}
.tb-modal-mask{position:fixed;inset:0;background:rgba(15,23,42,.56);z-index:10;
  display:flex;align-items:flex-end;justify-content:center}
.tb-modal{width:100%;max-width:480px;background:#fff;border-radius:18px 18px 0 0;
  padding:18px;max-height:82vh;overflow:auto}
.tb-modal-h2{font-weight:900;font-size:18px;margin-bottom:10px}
.tb-modal-tip{font-size:13px;color:#64748b;line-height:1.7}
.tb-word{background:#f8fafc;border-radius:12px;padding:12px;margin:12px 0;color:#111827;
  word-break:break-all;line-height:1.6}
.tb-modal-actions{display:flex;gap:10px;margin-top:14px}
.tb-contact-item{display:flex;justify-content:space-between;gap:8px;background:#f8fafc;
  border-radius:12px;padding:12px;margin:8px 0}
.tb-rules-body{font-size:13px;line-height:1.75;color:#475569}
.tb-faq{background:#f8fafc;border-radius:12px;padding:10px;margin:8px 0}
.tb-faq-q{font-weight:800;color:#111827;margin-bottom:4px}
.toast{position:fixed;left:50%;bottom:80px;transform:translateX(-50%);
  background:rgba(15,23,42,.9);color:#fff;border-radius:999px;padding:10px 16px;
  font-size:13px;z-index:20;animation:fade .2s}
@keyframes fade{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}

/* ========== TB: ¾Ù±¨µ¯´° + tab ¹ö¶¯ ========== */
.tb-report-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:14px 0}
.tb-report-list .tb-btn{padding:10px 8px;font-size:13px}
.tb-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}
.tb-tabs::-webkit-scrollbar{display:none}
.tb-tab{flex-shrink:0;white-space:nowrap}
.tb-mini.ghost{background:transparent;border:1px solid #cbd5e1;color:#64748b}
.tb-mini.ghost:hover{background:#f1f5f9;color:#334155}
