/* 喇叭花 · 认证/绑定表单（/teacher 登录注册、/screen 房码绑定） */
#bindArea { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
#authArea { min-height: 100vh; display: flex; background: #ffffff; }
.brand-panel { width: 56%; max-width: 780px; display: flex; flex-direction: column; justify-content: center; padding: 0 80px; gap: 22px;
               background: linear-gradient(135deg, #1d4ed8 0%, var(--b2) 100%); }
.brand-logo { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 800; color: #fff; }
.brand-slogan { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #fff; line-height: 1.35; }
.brand-sub { font-size: 16px; color: #ffffffcc; }
.brand-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.brand-feats .f { display: flex; align-items: center; gap: 12px; }
.brand-feats .fic { width: 36px; height: 36px; border-radius: 10px; background: #ffffff21; display: flex; align-items: center;
                     justify-content: center; font-size: 16px; flex-shrink: 0; }
.brand-feats .ft { display: flex; flex-direction: column; gap: 1px; }
.brand-feats .ft b { font-size: 14px; color: #fff; }
.brand-feats .ft span { font-size: 12px; color: #ffffff99; }
.auth-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px 20px; }
.auth-foot { margin-top: 26px; font-size: 12px; color: var(--ink2); text-align: center; }
.auth-card { background: var(--card); border: 1px solid rgba(255,255,255,.8); border-radius: 28px;
             padding: 28px 26px; max-width: 430px; width: 100%; text-align: center;
             box-shadow: 0 30px 60px -30px rgba(11,42,74,.35); }
.auth-brand { font-size: 1.35rem; color: var(--ink); text-decoration: none; display: inline-block; }
.auth-brand small { font-size: .8rem; color: var(--ink2); font-weight: 400; margin-left: 6px; }
.auth-brand:hover { opacity: .85; }
.auth-sub { color: var(--ink2); margin-top: 6px; font-size: .88rem; line-height: 1.7; }

/* 登录/注册 Tab */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #eef2f9; padding: 5px;
             border-radius: 14px; margin: 20px 0 14px; }
.auth-tabs .tab { border: none; background: transparent; padding: 10px; border-radius: 10px; min-height: 44px;
                  font-size: .98rem; font-weight: 700; color: var(--ink2); cursor: pointer; }
.auth-tabs .tab.active { background: #fff; color: var(--b1); box-shadow: 0 2px 8px rgba(11,42,74,.08); }

/* 表单 */
.join-form { text-align: left; }
.join-form label { display: block; font-size: .85rem; color: var(--ink2); margin: 12px 0 6px; }
.join-form input { width: 100%; max-width: none; text-align: left; letter-spacing: 0; }
.join-inputs { display: flex; gap: 10px; }
.join-inputs input { min-width: 0; }
.code-row input { flex: 1; }
.code-row { margin-top: 10px; }
.btn-sms { white-space: nowrap; min-width: 128px; flex-shrink: 0; }
.err { color: #dc2626; font-size: .85rem; margin-top: 8px; }
.join-form .row { justify-content: stretch; }
.join-form .row .btn { flex: 1; justify-content: center; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 42px; }
.pass-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: none;
            background: transparent; cursor: pointer; font-size: 1.05rem; color: var(--ink2); padding: 8px; }
.linkline { margin-top: 14px; font-size: .85rem; text-align: center; }
.linkline a { color: var(--ink2); cursor: pointer; }
.tips { margin-top: 20px; color: var(--ink2); font-size: .78rem; line-height: 1.7; text-align: center; }

/* 我的班级 */
.room-cards { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 6px; }
.room-card-item { display: flex; align-items: center; justify-content: space-between; gap: 10px;
                  border: 2px solid var(--line); border-radius: 16px; padding: 12px 16px; background: #fff;
                  cursor: pointer; text-align: left; min-height: 56px; }
.room-card-item:hover { border-color: var(--b1); }
.room-card-item .rc-name { font-weight: 700; font-size: 1.05rem; }
.room-card-item .rc-meta { color: var(--ink2); font-size: .78rem; margin-top: 3px; }
.room-card-item .rc-bind { font-size: .8rem; color: var(--b1); white-space: nowrap; text-align: right; }
.room-card-item .rc-exp-warn { color: #d97706; }
.room-card-item .rc-exp-out { color: #dc2626; }
.room-acts { margin-top: 14px; }
.room-acts .btn { flex: 1; justify-content: center; }

@media (max-width: 480px) {
  #bindArea { padding: 14px; align-items: flex-start; padding-top: 8vh; }
  .brand-panel { display: none; }
  .auth-panel { padding: 24px 14px; }
  .auth-card { padding: 22px 18px; }
  .join-inputs { flex-wrap: wrap; }
  .join-inputs input { flex: 1 1 100%; }
  .code-row input { flex: 1 1 auto; width: auto; }
}
