/* claude-authb-1101 登录 / 注册 / 找回密码页 B 版（她 11-01 选定：左表单 + 右「我是瑶瑶」原样式黑金卡）。
   只在 <html class="yyb"> 下生效，开关在 Authentication/Header.html 顶部那段小脚本；表单结构、字段名、JS 全部没动。 */
.yyb-nav,.yyb-head,.yyb-back,.yyb-aside{display:none}
html.yyb body{background:#f5f6f8 !important;background-image:none !important;color:#1c2024;font-family:-apple-system,"PingFang SC","Microsoft YaHei",Inter,"Segoe UI",sans-serif}
html.yyb .yy-auth-home{display:none !important}

/* 顶部胶囊导航（照首页） */
html.yyb .yyb-nav{display:block;max-width:1232px;margin:12px auto 0;padding:0 16px}
.yyb-nav-shell{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-radius:999px;padding:8px 10px 8px 10px;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.yyb-brand{display:flex;align-items:center;gap:10px;min-width:0;color:#111 !important;font-weight:700;font-size:15px;text-decoration:none !important}
.yyb-brand img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.yyb-brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yyb-nav-r{display:flex;gap:8px;flex:0 0 auto}
.yyb-pill{display:inline-flex;align-items:center;height:36px;padding:0 14px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#111 !important;font-size:14px;font-weight:600;text-decoration:none !important;white-space:nowrap}

/* 布局：左表单 右瑶瑶卡 */
html.yyb .auth-wrapper{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start;max-width:880px;margin:0 auto;padding:16px 16px 40px;background:none;overflow:visible}
html.yyb .auth-wrapper:not(:has(.yyb-aside)){grid-template-columns:minmax(0,440px);justify-content:center}
html.yyb .auth-wrapper::before,html.yyb .auth-wrapper::after{display:none !important}
html.yyb .yyb-back{display:block;grid-column:1/-1;font-size:14px;color:#6b7280 !important;text-decoration:none !important;margin-bottom:-6px}
html.yyb .auth-card{max-width:none;border-radius:16px;padding:26px 24px;border:0;color:#1c2024;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 1px 3px rgba(0,0,0,.05)}
html.yyb .brand-header,html.yyb .auth-subtitle{display:none}
html.yyb .yyb-head{display:block}
.yyb-h1{font-size:22px;font-weight:800;color:#111827;margin:0}
.yyb-lead{color:#6b7280;font-size:14px;margin:6px 0 18px}
.yyb-tabs{display:flex;background:#f1f2f4;border-radius:12px;padding:4px;margin-bottom:20px}
.yyb-tabs a{flex:1;text-align:center;padding:9px 0;border-radius:9px;font-weight:600;color:#6b7280 !important;font-size:15px;text-decoration:none !important}
.yyb-tabs a.on{background:#fff;color:#111 !important;box-shadow:0 1px 3px rgba(0,0,0,.08)}

/* 表单 */
html.yyb .form-floating>.form-control,html.yyb .form-floating>.form-control-plaintext{background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;color:#1c2024}
html.yyb .form-floating>label{color:#9ca3af}
html.yyb .form-control:focus{background:#fff;border-color:#111;box-shadow:0 0 0 3px rgba(17,17,17,.08);color:#1c2024}
html.yyb .form-floating>.form-control:focus~label,html.yyb .form-floating>.form-control:not(:placeholder-shown)~label{color:#6b7280}
html.yyb .form-floating>.form-control:focus~label::after,html.yyb .form-floating>.form-control:not(:placeholder-shown)~label::after{background:transparent}
html.yyb .image-code{margin-left:0;height:58px;border:1px solid #e5e7eb;border-radius:12px}
html.yyb .btn-gradient{background:#111;background-image:none;box-shadow:none;border-radius:12px;min-height:48px;font-size:16px;color:#fff}
html.yyb .btn-gradient:hover{background:#000;filter:none;transform:none;box-shadow:none}
html.yyb .btn-passkey{--bs-btn-color:#111;--bs-btn-bg:#fff;--bs-btn-border-color:#e5e7eb;--bs-btn-hover-color:#111;--bs-btn-hover-bg:#f7f7f8;--bs-btn-hover-border-color:#d1d5db;--bs-btn-active-color:#111;--bs-btn-active-bg:#f1f2f4;--bs-btn-active-border-color:#d1d5db;border-radius:12px;min-height:46px;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
html.yyb .btn-passkey__badge{background:#111 !important;box-shadow:none !important}
html.yyb .btn-ghost{border:1px solid #111;color:#111;border-radius:12px}
html.yyb .btn-ghost:hover{border:1px solid #111;color:#111;background:#f7f7f8}
html.yyb .text-link{color:#111;font-weight:600}
html.yyb .text-link:hover{color:#000}
html.yyb .auth-card p.text-center{color:#6b7280}
html.yyb .auth-card p.text-center .text-link{text-decoration:underline}
html.yyb .form-check{color:#6b7280}
html.yyb .form-check label:hover{color:#111}
html.yyb .form-check input[type="checkbox"]{border-color:#9ca3af;box-shadow:none}
html.yyb .form-check input[type="checkbox"]:checked{background:#111;border-color:#111;box-shadow:none}
html.yyb .divider{color:#9ca3af}

/* 右栏：「我是瑶瑶」照首页原样式（来源 assets/yy/home2.css 的 .h2-me / .h2-qr / .h2-greenbtn / .h2-ref，.h2 祖先换成 .yyb-aside） */
html.yyb .yyb-aside{display:flex;flex-direction:column;gap:12px}
.yyb-aside .h2-qr{position:relative;flex:0 0 auto}
.yyb-aside .h2-qr-pop{position:absolute;z-index:40;padding:16px;background:#fff;border-radius:12px;box-shadow:rgba(0,0,0,.18) 0 12px 32px;text-align:center;color:#111827}
.yyb-aside .h2-qr-pop img{display:block;width:180px;height:180px;margin:0 auto;border-radius:8px;background:#f3f4f6;object-fit:contain}
.yyb-aside .h2-qr-t{margin-top:12px;font-size:15px;font-weight:700;line-height:22px;color:#111827}
.yyb-aside .h2-qr-s{margin-top:4px;font-size:12px;line-height:18px;color:#6b7280}
.yyb-aside .h2-qr--side .h2-qr-pop{left:0;right:0;top:54px}
.yyb-aside .h2-me{position:relative;z-index:10;display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:18px;border:1px solid #9a733a;color:#f3e9d6;background:radial-gradient(circle at calc(100% - 46px) 28px,rgba(238,203,135,.2) 0,rgba(238,203,135,0) 96px),linear-gradient(160deg,#211b14 0%,#141210 48%,#0c0b0a 100%);box-shadow:rgba(24,18,10,.24) 0 12px 26px,rgba(24,18,10,.1) 0 2px 6px,rgba(255,236,190,.1) 0 1px 0 inset}
.yyb-aside .h2-me::after{content:"";position:absolute;left:14px;right:14px;top:0;height:1px;background:linear-gradient(90deg,rgba(236,200,130,0),#f4dca6 50%,rgba(236,200,130,0));pointer-events:none}
.yyb-aside .h2-me-row{position:relative;display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid rgba(214,172,98,.5);border-image:linear-gradient(90deg,rgba(214,172,98,.12),rgba(234,200,132,.85) 50%,rgba(214,172,98,.12)) 1/1/0 stretch}
.yyb-aside .h2-me-av{flex:0 0 auto;display:block;width:52px;height:52px;border-radius:50%;object-fit:cover;padding:2px;background:linear-gradient(135deg,#fcefcc 0%,#dcb062 38%,#8e6428 62%,#f1d496 100%);box-shadow:rgba(226,190,120,.16) 0 0 0 3px,rgba(0,0,0,.45) 0 4px 10px}
.yyb-aside .h2-me-tx{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
.yyb-aside .h2-me .h2-me-nm{margin:0;font-size:19px;font-weight:900;line-height:1.3;letter-spacing:.5px;background:linear-gradient(#fdf1d4 0%,#efd08f 50%,#d4a457 100%) text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.yyb-aside .h2-me-fans{font-size:14px;font-weight:600;line-height:1.3;color:#e6d9bf;white-space:nowrap}
.yyb-aside .h2-me-fans em{font-style:normal;font-size:20px;font-weight:900;margin:0 2px;background:linear-gradient(#fff8e4 0%,#f8dc9c 45%,#e6b764 100%) text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.yyb-aside .h2-me .h2-me-desc{flex:1 0 100%;margin:2px 0 0;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:.2px;color:rgba(241,230,207,.84)}
.yyb-aside .h2-me-desc span{display:inline-block;white-space:nowrap}
.yyb-aside .h2-greenbtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:46px;padding:0 16px;border:1px solid rgba(255,240,204,.6);border-radius:999px;background:linear-gradient(#f8e8c0 0%,#e8c684 46%,#cc9b45 100%);color:#2a1b09;font-size:16px;font-weight:800;line-height:20px;letter-spacing:.3px;cursor:pointer;box-shadow:rgba(170,122,44,.3) 0 8px 18px,rgba(255,255,255,.6) 0 1px 0 inset,rgba(122,82,24,.25) 0 -1px 0 inset}
.yyb-aside .h2-greenbtn:hover{background:linear-gradient(#f3dfaf 0%,#dfba72 46%,#c08d3a 100%)}
.yyb-aside .h2-ref{min-height:64px;display:flex;align-items:center;gap:10px;padding:8px 14px 8px 16px;border-radius:16px;background:#d4391c;color:#fff !important;text-decoration:none !important}
.yyb-aside .h2-ref:hover{background:#c23418}
.yyb-aside .h2-ref-t{flex:1 1 auto;min-width:0;font-size:14px;font-weight:700;line-height:20px;color:#fff}
.yyb-aside .h2-ref-t span{display:block}
.yyb-aside .h2-ref-b{flex:0 0 auto;display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;background:#fff;color:#b42d14;font-size:13px;font-weight:700;line-height:18px;white-space:nowrap}

@media (max-width:760px){
  html.yyb .auth-wrapper{grid-template-columns:minmax(0,1fr)}
  html.yyb .auth-card{padding:22px 18px}
  .yyb-brand{font-size:14px}
}
@media (max-width:380px){.yyb-brand span{max-width:170px}}
html.yyb .yyb-nav-r #yyLangToggle{position:static;cursor:pointer;font-weight:600 !important}
html.yyb .btn-outline-primary{--bs-btn-color:#111;--bs-btn-border-color:#111;--bs-btn-hover-color:#111;--bs-btn-hover-bg:#f7f7f8;--bs-btn-hover-border-color:#111;--bs-btn-active-color:#111;--bs-btn-active-bg:#f1f2f4;--bs-btn-active-border-color:#111;--bs-btn-disabled-color:#6b7280;--bs-btn-disabled-border-color:#d1d5db;border-radius:12px;font-weight:600}
html.yyb .btn-outline-primary{white-space:nowrap;font-size:14px;padding-left:8px;padding-right:8px}
