/* Gia phả Hồ tộc Thuần Mỹ — chủ đề giao diện (Quản trị → Giao diện)
   body[data-theme] chọn bảng màu; body.fest bật phong cách cổ truyền / Tết; các lớp pat-*, rad-*, dens-*, side-*, decor, dark là tuỳ chọn. */

/* ---------- bảng màu ---------- */
body[data-theme=tet]{--accent:#c0161d;--accent-2:#9b0f15;--accent-soft:#fde7e4;--gold:#d99a00;--gold-2:#f6c343;--gold-soft:#fff4d6;
  --bg:#fcf3e3;--surface:#fffdf7;--surface-2:#fdf5e6;--line:#efd9b0;--line-2:#e2c48c;--ink:#3a1a10;--ink-2:#5d3424;--muted:#8c6a52;
  --top-bg:linear-gradient(100deg,#7d0a0e 0%,#c0161d 45%,#d4231f 60%,#8c0b10 100%);--top-ink:#fff;--top-sub:#ffd66b;--top-line:#f0b429;
  --side-bg:#fffaf0;--side-act:linear-gradient(90deg,#c0161d,#e0301e);--side-act-ink:#fff;--side-ic:#b7791f;
  --h-color:#a3111a;--stat:#c0161d;--seal-bg:linear-gradient(145deg,#ffd66b,#f0b429);--seal-ink:#a3111a;--fab:linear-gradient(145deg,#d4231f,#8c0b10);
  ;--hero-frame:#f0b429}
body[data-theme=co-truyen]{--accent:#8b1a1a;--accent-2:#6d1212;--accent-soft:#f6e6e1;--gold:#b8860b;--gold-2:#f5c542;--gold-soft:#fbf3dc;
  --bg:#f7f1e6;--surface:#fff;--surface-2:#fffaf0;--line:#e6d8c0;--line-2:#d8c39f;--ink:#2b1d14;--ink-2:#4a3627;--muted:#7a6a5a;
  --top-bg:linear-gradient(90deg,#8b1a1a,#5e0f0f);--top-ink:#fff;--top-sub:#f5c542;--top-line:#5e0f0f;
  --side-bg:#fff;--side-act:#8b1a1a;--side-act-ink:#fff;--side-ic:#8b1a1a;
  --h-color:#8b1a1a;--stat:#8b1a1a;--seal-bg:#f5c542;--seal-ink:#8b1a1a;--fab:#8b1a1a;--hero-frame:#f5c542}
body[data-theme=hoang-kim]{--accent:#8e0e12;--accent-2:#6a080b;--accent-soft:#f8e6d5;--gold:#c8930a;--gold-2:#ffd36b;--gold-soft:#fff3d2;
  --bg:#fbf4e2;--surface:#fffcf3;--surface-2:#fbf1da;--line:#ead29c;--line-2:#d9b56a;--ink:#2f1608;--ink-2:#55301a;--muted:#86663e;
  --top-bg:linear-gradient(100deg,#3d0507,#6a080b 50%,#3d0507);--top-ink:#ffe39a;--top-sub:#e9b949;--top-line:#e9b949;
  --side-bg:linear-gradient(180deg,#4a0709,#2f0405);--side-ink:#f7dc9b;--side-ic:#e9b949;--side-grp:#c99b4a;--side-hover:rgba(255,211,107,.12);
  --side-act:linear-gradient(90deg,#f6c343,#e2a721);--side-act-ink:#5a0709;
  --h-color:#7a0b0f;--stat:#8e0e12;--seal-bg:linear-gradient(145deg,#ffe08a,#d9a21c);--seal-ink:#6a080b;--fab:linear-gradient(145deg,#8e0e12,#3d0507);
  ;--hero-frame:#e9b949}
body[data-theme=hoa-dao]{--accent:#c2185b;--accent-2:#9c1149;--accent-soft:#fde4ee;--gold:#d97706;--gold-2:#fbbf24;--gold-soft:#fff3e0;
  --bg:#fff4f6;--surface:#fffdfe;--surface-2:#fff0f4;--line:#f6cfdc;--line-2:#eeaec3;--ink:#3b1222;--ink-2:#5c2a3d;--muted:#91607a;
  --top-bg:linear-gradient(100deg,#b0123f,#e0457b 55%,#b0123f);--top-ink:#fff;--top-sub:#ffe0ec;--top-line:#fbbf24;
  --side-bg:#fffafb;--side-act:linear-gradient(90deg,#c2185b,#e0457b);--side-act-ink:#fff;--side-ic:#d1477a;
  --h-color:#b0123f;--stat:#c2185b;--seal-bg:linear-gradient(145deg,#fde68a,#fbbf24);--seal-ink:#b0123f;--fab:linear-gradient(145deg,#e0457b,#9c1149);
  ;--hero-frame:#fbbf24}
body[data-theme=hoa-mai]{--accent:#c2410c;--accent-2:#9a3412;--accent-soft:#ffedd5;--gold:#ca8a04;--gold-2:#facc15;--gold-soft:#fef9c3;
  --bg:#fffbea;--surface:#fffef8;--surface-2:#fef7dc;--line:#f3dfa0;--line-2:#e8c96a;--ink:#3a2205;--ink-2:#5b3a10;--muted:#8a6b35;
  --top-bg:linear-gradient(100deg,#b91c1c,#dc2626 35%,#ea580c 75%,#f59e0b);--top-ink:#fff;--top-sub:#fef08a;--top-line:#facc15;
  --side-bg:#fffdf3;--side-act:linear-gradient(90deg,#dc2626,#f59e0b);--side-act-ink:#fff;--side-ic:#ca8a04;
  --h-color:#b91c1c;--stat:#c2410c;--seal-bg:linear-gradient(145deg,#fef08a,#facc15);--seal-ink:#b91c1c;--fab:linear-gradient(145deg,#ea580c,#b91c1c);
  ;--hero-frame:#facc15}
body[data-theme=tram-mac]{--accent:#7c2d12;--accent-2:#5f230e;--accent-soft:#f5e6dc;--gold:#a16207;--gold-2:#d6a54a;--gold-soft:#f8efdc;
  --bg:#f4ede3;--surface:#fffcf7;--surface-2:#f8f1e7;--line:#e2d3bf;--line-2:#cfb99b;--ink:#2a1a10;--ink-2:#4a3424;--muted:#7d6652;
  --top-bg:linear-gradient(100deg,#3b1e10,#5f2e15 60%,#3b1e10);--top-ink:#f7e7c9;--top-sub:#d6a54a;--top-line:#a16207;
  --side-bg:#fbf6ee;--side-act:#7c2d12;--side-act-ink:#fff;--side-ic:#a16207;
  --h-color:#6b2410;--stat:#7c2d12;--seal-bg:#d6a54a;--seal-ink:#3b1e10;--fab:#5f2e15;--hero-frame:#d6a54a}
/* hiện đại: dùng bảng màu gốc của style.css */

/* ---------- phong cách cổ truyền / Tết (mọi chủ đề trừ Hiện đại) ---------- */
body.fest{--head-font:var(--hfont,"Noto Serif","Times New Roman",Georgia,serif)}
body.fest h1,body.fest h2,body.fest h3{font-family:var(--head-font);color:var(--h-color);letter-spacing:0}
body.fest .card h3{font-size:16px}
body.fest .page-head h2,body.fest .toolbar h2{font-size:24px}
body.fest .topbar{background:var(--top-bg);color:var(--top-ink);border-bottom:3px solid var(--top-line);box-shadow:0 2px 10px rgba(80,10,10,.25)}
body.fest .brand{color:var(--top-ink)}
body.fest .brand b{font-family:var(--head-font);font-size:17px;font-weight:700}
body.fest .brand small{color:var(--top-sub)}
body.fest .seal{background:var(--seal-bg);color:var(--seal-ink);border-radius:8px;box-shadow:0 0 0 2px rgba(255,255,255,.25)}
body.fest .top-search input{background:rgba(255,255,255,.96);border-color:transparent;color:#222}
body.fest .top-search>.ic{color:#8a6d55}
body.fest .mode-btn,body.fest .user-box .icon-btn,body.fest #menuBtn{color:var(--top-ink)}
body.fest .user-box{border-left-color:rgba(255,255,255,.25)}
body.fest .user-box #userName small{color:var(--top-sub)}
body.fest .user-box .avatar{background:var(--seal-bg);color:var(--seal-ink)}
body.fest .sidebar{background:var(--side-bg);border-right-color:var(--line)}
body.fest .sidebar a{color:var(--side-ink,var(--ink-2))}
body.fest .sidebar a .ic{color:var(--side-ic)}
body.fest .sidebar a:hover{background:var(--side-hover,var(--surface-2));color:var(--side-ink,var(--ink))}
body.fest .sidebar a.active{background:var(--side-act);color:var(--side-act-ink);box-shadow:0 2px 8px rgba(120,10,10,.25)}
body.fest .sidebar a.active .ic{color:var(--side-act-ink)}
body.fest .nav-grp{color:var(--side-grp,var(--gold))}
body.fest .card{box-shadow:0 2px 10px rgba(110,40,10,.07);border-top:3px solid var(--gold-2)}
body.fest .card-head{border-bottom-color:var(--line)}
body.fest .stat{text-align:center;align-items:center;background-image:radial-gradient(circle at 50% -40%,var(--gold-soft),transparent 70%)}
body.fest .stat b{font-family:var(--head-font);color:var(--stat);font-size:32px;font-weight:700}
body.fest .stat span{order:0}
body.fest .btn{background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 88%,#fff),var(--accent));border-color:var(--accent-2);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15)}
body.fest .btn:hover{background:var(--accent-2)}
body.fest .btn.ghost{background:var(--surface);color:var(--accent);border-color:var(--line-2);box-shadow:none}
body.fest .btn.ghost:hover{background:var(--gold-soft);border-color:var(--gold)}
body.fest .btn.gold{background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#3a1a10;border-color:var(--gold)}
body.fest .btn.danger{background:var(--surface);color:var(--err)}
body.fest .tabs{border-bottom:2px solid var(--line)}
body.fest .tabs button.active{color:var(--accent);border-bottom:3px solid var(--accent);margin-bottom:-2px}
body.fest .chip.gold{background:var(--gold-soft);color:#7a4b00;border-color:var(--gold-2)}
body.fest .hero{border:3px solid var(--hero-frame);box-shadow:0 6px 24px rgba(120,20,10,.18)}
body.fest .countdown{background:var(--top-bg);color:#fff;border-top:2px solid var(--hero-frame);justify-content:center;text-align:center}
body.fest .countdown span{flex:none;color:#fff}
body.fest .countdown b{color:var(--gold-2);font-family:var(--head-font);font-size:22px}
body.fest .bar{background:linear-gradient(90deg,var(--accent),var(--gold-2));opacity:1;height:12px;border-radius:3px}
body.fest .datebox{background:var(--accent);border-color:var(--accent-2);color:#fff}
body.fest .datebox small{color:var(--gold-2)}
body.fest .avatar{background:var(--gold-soft);color:var(--accent);box-shadow:0 0 0 2px var(--gold-2)}
body.fest .avatar.lg{box-shadow:none;border:2px solid var(--gold-2)}
body.fest th{background:var(--gold-soft);color:var(--ink-2)}
body.fest .ai-fab{background:var(--fab);box-shadow:0 0 0 3px var(--gold-2),0 8px 22px rgba(120,10,10,.35);color:#fff}
body.fest .chat-head{background:var(--top-bg);color:var(--top-ink);border-bottom:2px solid var(--top-line)}
body.fest .chat-head .icon-btn{color:var(--top-ink)}
body.fest .ai-badge{background:var(--seal-bg);color:var(--seal-ink)}
body.fest .msg.user{background:var(--accent);color:#fff}
body.fest .mine .bub{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 25%,transparent);color:var(--ink)}
body.fest .conv-ava.t-all{background:var(--fab)}
body.fest .app-ico{background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 85%,#fff),var(--accent-2));color:var(--gold-2);border:0;box-shadow:0 3px 8px rgba(120,10,10,.25);border-radius:14px}
body.fest .app-lbl{color:var(--ink)}
body.fest.m .bottom-nav{border-top:2px solid var(--gold-2)}
body.fest .vendor-foot{background:#1d1d1f;border-color:#1d1d1f;color:#bdbdbd}
body.fest .vendor-foot b{color:#e8c25a}
body.fest .vendor-foot.login,body.fest .vendor-foot.card{background:none;border:0}
body.fest .vendor-foot.login b,body.fest .vendor-foot.card b{color:var(--ink-2)}
body.fest .auth-box{background:var(--surface)}
body.fest .auth-brand b{font-family:var(--head-font);font-size:20px;color:var(--h-color)}
body.fest .auth-note{background:var(--gold-soft);border-color:var(--gold-2)}
body.fest .tree-wrap{background-color:var(--surface-2)}
body.fest .md h2,body.fest .md h3{color:var(--h-color)}

/* ---------- màn hình đăng nhập kiểu cũ: thẻ giữa nền ảnh ---------- */
body.login-center .auth{grid-template-columns:1fr;place-items:center;padding:16px;background:linear-gradient(rgba(60,8,8,.55),rgba(60,8,8,.75)),url(/static/img/banner.jpg) center/cover}
body.login-center .auth-art{display:none}
body.login-center .auth-box{border-radius:16px;box-shadow:0 14px 44px rgba(0,0,0,.45);border-top:5px solid var(--gold-2,#f5c542);padding:28px;margin:0}

/* ---------- hoa văn nền: ảnh nền do Theme.apply() tạo theo màu chủ đề ---------- */
body.has-pat{background-attachment:fixed;background-repeat:repeat}

/* ---------- bo góc, mật độ ---------- */
body.rad-square{--radius:3px;--r-sm:2px}
body.rad-round{--radius:10px;--r-sm:7px}
body.rad-soft{--radius:16px;--r-sm:10px}
body.dens-compact{font-size:13px}
body.dens-compact .card{padding:12px}body.dens-compact .card-head{margin:-12px -12px 10px;padding:8px 12px}
body.dens-compact main{padding:14px 16px 70px}body.dens-compact .grid{gap:10px}
body.dens-airy{font-size:15px}
body.dens-airy .card{padding:20px}body.dens-airy .card-head{margin:-20px -20px 16px;padding:13px 20px}
body.dens-airy main{padding:26px 32px 90px}body.dens-airy .grid{gap:20px}
body.dens-airy .sidebar a{height:38px}

/* ---------- kiểu thanh menu trái ---------- */
body.side-light{--side-bg:var(--surface);--side-ink:var(--ink-2);--side-grp:var(--muted);--side-hover:var(--surface-2)}
body.side-red{--side-bg:linear-gradient(180deg,var(--accent),var(--accent-2));--side-ink:#fff;--side-ic:var(--gold-2,#ffd66b);--side-grp:var(--gold-2,#ffd66b);--side-hover:rgba(255,255,255,.12);
  --side-act:var(--gold-2,#ffd66b);--side-act-ink:var(--accent-2)}
body.side-red .sidebar{background:var(--side-bg)}
body.side-red .sidebar a{color:#fff}body.side-red .sidebar a .ic{color:var(--side-ic)}
body.side-red .sidebar a:hover{background:var(--side-hover);color:#fff}
body.side-red .sidebar a.active{background:var(--side-act);color:var(--side-act-ink)}body.side-red .sidebar a.active .ic{color:var(--side-act-ink)}
body.side-red .nav-grp{color:var(--side-grp)}

/* ---------- trang trí Tết: đèn lồng, câu chúc ---------- */
body.decor .hero{overflow:visible}
body.decor .hero::before,body.decor .hero::after{content:"";position:absolute;top:-3px;width:46px;height:96px;z-index:2;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='96' viewBox='0 0 46 96'%3E%3Cpath d='M23 0v14' stroke='%23b8860b' stroke-width='2'/%3E%3Crect x='14' y='13' width='18' height='6' rx='2' fill='%23f0b429'/%3E%3Cellipse cx='23' cy='40' rx='20' ry='22' fill='%23d4231f'/%3E%3Cpath d='M23 18c-9 6-9 38 0 44M23 18c9 6 9 38 0 44M23 18v44' stroke='%23f0b429' stroke-width='1.3' fill='none' opacity='.85'/%3E%3Cellipse cx='23' cy='40' rx='20' ry='22' fill='none' stroke='%239b0f15' stroke-width='1.5'/%3E%3Crect x='14' y='60' width='18' height='6' rx='2' fill='%23f0b429'/%3E%3Cpath d='M18 66l-1 26M23 66v28M28 66l1 26' stroke='%23f0b429' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center/contain;
  animation:swing 3.2s ease-in-out infinite;transform-origin:50% 0}
body.decor .hero::before{left:22px}
body.decor .hero::after{right:22px;animation-delay:-1.6s}
@keyframes swing{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
body.decor .brand::after{content:"";width:22px;height:40px;margin-left:4px;align-self:flex-start;flex:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='40' viewBox='0 0 46 96'%3E%3Cpath d='M23 0v14' stroke='%23ffd66b' stroke-width='3'/%3E%3Crect x='14' y='13' width='18' height='6' rx='2' fill='%23ffd66b'/%3E%3Cellipse cx='23' cy='40' rx='20' ry='22' fill='%23ff3b2f'/%3E%3Cpath d='M23 18c-9 6-9 38 0 44M23 18c9 6 9 38 0 44' stroke='%23ffd66b' stroke-width='2' fill='none'/%3E%3Crect x='14' y='60' width='18' height='6' rx='2' fill='%23ffd66b'/%3E%3Cpath d='M23 66v28' stroke='%23ffd66b' stroke-width='3'/%3E%3C/svg%3E") no-repeat center/contain;
  animation:swing 3s ease-in-out infinite;transform-origin:50% 0}
body.decor.m .brand::after{display:none}
.festive-wish{display:none}
body.decor .festive-wish{display:flex;justify-content:center;gap:10px;align-items:center;margin:0 0 14px;font-family:var(--head-font,serif);color:var(--accent);font-size:18px;font-weight:700}
body.decor .festive-wish i{flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--gold-2,#f0b429),transparent);max-width:220px}

/* ---------- hoa rơi ---------- */
#petals{position:fixed;inset:0;pointer-events:none;z-index:35;overflow:hidden}
#petals span{position:absolute;top:-30px;width:var(--s,16px);height:var(--s,16px);background:var(--flower) no-repeat center/contain;opacity:.9;
  animation:fall var(--d,12s) linear var(--dl,0s) infinite;will-change:transform}
@keyframes fall{0%{transform:translate3d(0,0,0) rotate(0)}25%{transform:translate3d(28px,28vh,0) rotate(90deg)}50%{transform:translate3d(-12px,56vh,0) rotate(180deg)}75%{transform:translate3d(30px,84vh,0) rotate(270deg)}100%{transform:translate3d(0,112vh,0) rotate(360deg)}}

body.petals-mai{--flower:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23fbbf24'%3E%3Ccircle cx='20' cy='9' r='8'/%3E%3Ccircle cx='30.5' cy='16.6' r='8'/%3E%3Ccircle cx='26.5' cy='29' r='8'/%3E%3Ccircle cx='13.5' cy='29' r='8'/%3E%3Ccircle cx='9.5' cy='16.6' r='8'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='5' fill='%23ea580c'/%3E%3C/svg%3E")}
body.petals-dao{--flower:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23f9a8d4'%3E%3Ccircle cx='20' cy='9' r='8'/%3E%3Ccircle cx='30.5' cy='16.6' r='8'/%3E%3Ccircle cx='26.5' cy='29' r='8'/%3E%3Ccircle cx='13.5' cy='29' r='8'/%3E%3Ccircle cx='9.5' cy='16.6' r='8'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='5' fill='%23be185d'/%3E%3C/svg%3E")}
@media (prefers-reduced-motion: reduce){#petals{display:none}body.decor .hero::before,body.decor .hero::after,body.decor .brand::after{animation:none}}

/* ---------- chế độ tối ---------- */
body.dark{--bg:#120d0b;--surface:#1c1513;--surface-2:#241b18;--line:#3a2c26;--line-2:#4c3a32;--ink:#f1e6dc;--ink-2:#d6c6b8;--muted:#a3907f;
  --accent-soft:#3a1a18;--gold-soft:#33270f;--shadow:none;--shadow-lg:0 12px 32px rgba(0,0,0,.5);--side-bg:#1a1311;--h-color:#ffb4a8;--stat:#ff8a7a}
body.dark .top-search input{background:#2a201c;color:var(--ink)}
body.dark.fest .card{box-shadow:none}
body.dark .vendor-foot.login b,body.dark .vendor-foot.card b{color:var(--ink-2)}

/* font tiêu đề chung (mọi chủ đề) */
body.hf h1,body.hf h2,body.hf h3,body.hf .brand b{font-family:var(--hfont)}

/* ---------- Quản trị → Giao diện ---------- */
.theme-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.theme-card{border:2px solid var(--line);border-radius:10px;background:var(--surface);padding:6px;cursor:pointer;text-align:left;font:inherit;color:var(--ink)}
.theme-card:hover{border-color:var(--line-2)}
.theme-card.on{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}
.theme-card .tp{display:grid;grid-template-columns:28% 1fr;grid-template-rows:16px 1fr;height:84px;border-radius:6px;overflow:hidden;border:1px solid rgba(0,0,0,.08)}
.theme-card .tp i{grid-column:1/3}
.theme-card .tp b{display:flex;flex-direction:column;gap:4px;padding:6px 4px;border-right:1px solid rgba(0,0,0,.06)}
.theme-card .tp em{display:block;height:6px;border-radius:2px;background:rgba(0,0,0,.08)}
.theme-card .tp s{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:7px;text-decoration:none}
.theme-card .tp u{display:block;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.theme-card .tn{display:block;font-size:13px;font-weight:600;margin:6px 2px 1px}
.hero.no-img{background:none;border:0;box-shadow:none}
.hero.no-img .countdown{border-radius:var(--radius)}
body.dark a{color:#ff9b8f}
body.dark .dropdown a,body.dark .sidebar a:not(.active){color:var(--side-ink,var(--ink-2))}
body.dark .btn{color:#fff}body.dark .btn.ghost{color:var(--ink)}

/* xưng hô */
.kin{border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px;background:var(--surface-2)}
.kin-row{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline;margin:3px 0}
.kin-w{font-size:17px;color:var(--accent);font-family:var(--hfont,inherit)}
.kin-fam{border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px;margin-bottom:10px}
.kin-kids{margin:8px 0 0;padding-left:22px}
.kin-kids li{display:flex;gap:8px;align-items:center;padding:3px 0;border-bottom:1px dashed var(--line)}
.kin-kids li:last-child{border-bottom:0}
.ic.rot90{transform:rotate(90deg)}
.card h3:not(:first-child){margin-top:18px}.card .card-head h3,.card .row>h3,.card .toolbar h3{margin-top:0}

/* tên dòng họ & khẩu hiệu: chữ thư pháp */
body .brand b,body.fest .brand b,body.hf .brand b,.auth-brand b,body.fest .auth-brand b{font-family:var(--title-font,"Charm",serif);font-weight:var(--title-w,700);letter-spacing:.2px}
body .brand b{font-size:21px;line-height:1.15}
.auth-brand b,body.fest .auth-brand b{font-size:25px;line-height:1.2}
.slogan,body.decor .festive-wish span,.auth-brand small{font-family:var(--slogan-font,"Dancing Script",cursive);font-weight:var(--slogan-w,700)}
body.decor .festive-wish{font-size:calc(26px * var(--slogan-scale,1));font-weight:var(--slogan-w,700)}
.auth-brand small{font-size:calc(17px * var(--slogan-scale,1));color:var(--accent);margin-top:2px}
body.m .brand b{font-size:18px}
.festive-wish{display:flex!important;justify-content:center;gap:12px;align-items:center;margin:0 0 14px;color:var(--accent);text-align:center}
.festive-wish span{font-family:var(--slogan-font,"Dancing Script",cursive);font-weight:var(--slogan-w,700);font-size:calc(26px * var(--slogan-scale,1));line-height:1.3}
.festive-wish i{flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--gold-2,#f0b429),transparent);max-width:220px}
body.m .festive-wish span{font-size:calc(20px * var(--slogan-scale,1))}
.auth-brand{flex-direction:column;text-align:center;gap:6px}
.auth-brand .seal{width:56px;height:56px;font-size:32px;border-radius:12px}
.auth-brand b,body.fest .auth-brand b{font-size:30px}
.auth-brand small{font-size:calc(19px * var(--slogan-scale,1))}
.nw{white-space:nowrap;display:inline-block}
