:root { --red: #c83b32; --red-soft: #f4ded8; --green: #476f63; --green-dark: #213f38; --gold: #c49245; --ink: #26302c; --muted: #737b76; --paper: #fbf7ed; --paper-2: #f7efe2; --line: #eadfce; --white: #fffdf8; --shadow: 0 24px 70px rgba(69, 53, 35, .12); } .auth-layer-message { /* 认证页 layui 消息提示皮肤,替代浏览器原生 alert。 */ min-width: 160px; border-radius: 999px !important; background: rgba(38, 48, 44, .94) !important; box-shadow: 0 16px 42px rgba(38, 48, 44, .24) !important; } .auth-layer-message .layui-layer-content { padding: 10px 18px !important; color: #fffdf8 !important; font-size: 14px; font-weight: 800; line-height: 1.6; text-align: center; } * { box-sizing: border-box; } body { margin: 0; color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; background: var(--paper); } a { color: inherit; text-decoration: none; } img { max-width: 100%; display: block; } @media (hover: hover) and (pointer: fine) { a, .btn, .card, button, summary { cursor: pointer; } } .container { width: min(1280px, calc(100% - 72px)); margin: 0 auto; } .site-header { position: sticky; top: 0; z-index: 20; background: linear-gradient(115deg, rgba(110, 38, 32, .96) 0%, rgba(200, 59, 50, .96) 48%, rgba(139, 52, 39, .96) 100%); border-bottom: 1px solid rgba(255, 253, 248, .2); box-shadow: 0 4px 0 rgba(93, 30, 26, .2), 0 18px 38px rgba(83, 32, 26, .34), 0 30px 70px rgba(83, 32, 26, .22); backdrop-filter: blur(18px); } .nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; } .brand { display: flex !important; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 253, 248, .92); box-shadow: 0 10px 28px rgba(63, 28, 22, .18); font-size: 24px; font-weight: 800; white-space: nowrap; } .brand-logo { display: block; width: 270px; height: auto; } .footer .brand-logo { width: 270px; } .auth-page-brand .brand-logo { width: 220px; } .brand-logo-mark { width: 48px; height: 48px; } .brand-text { color: var(--ink); font-weight: 900; } .brand-mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--red); box-shadow: 0 10px 24px rgba(200, 59, 50, .22); font-weight: 800; } .nav-links { display: flex; align-items: center; gap: 26px; color: rgba(255, 253, 248, .78); font-size: 15px; white-space: nowrap; } .nav-links a.active, .nav-links a:hover { color: #fff7d8; } .nav-links a, .nav-actions a { position: relative; transition: color .22s ease, transform .22s ease; } .nav-links a:after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, #f5d99b, #fff3c8); transform: scaleX(0); transform-origin: center; transition: transform .24s ease; } .nav-links a.active:after, .nav-links a:hover:after { transform: scaleX(1); } .nav-actions { display: flex; align-items: center; gap: 14px; color: rgba(255, 253, 248, .86); font-size: 15px; white-space: nowrap; } .btn { min-width: 118px; height: 44px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; font-weight: 800; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease; will-change: transform; } .btn:hover { transform: translateY(-2px); } .btn.primary { color: #fff; background: var(--red); box-shadow: 0 14px 30px rgba(200, 59, 50, .24); } .btn.primary:hover { box-shadow: 0 18px 38px rgba(200, 59, 50, .3); } .site-header .btn.primary { color: #8f332b; background: linear-gradient(135deg, #fff8e6, #f1d49a); box-shadow: 0 12px 28px rgba(64, 26, 21, .22); } .site-header .btn.primary:hover { box-shadow: 0 16px 34px rgba(64, 26, 21, .3); } .btn.ghost { color: var(--red); border-color: rgba(200, 59, 50, .28); background: rgba(255, 255, 255, .68); } .inner-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 12%, rgba(196, 146, 69, .16), transparent 24%), linear-gradient(125deg, #fffaf0 0%, #f7efe2 48%, #edf4ef 100%); } .inner-hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(138, 50, 43, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 50, 43, .05) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); } .inner-hero .container { position: relative; z-index: 2; min-height: 410px; padding: 68px 0 72px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; } .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #8a5a3b; font-weight: 800; } .eyebrow:before { content: ""; width: 42px; height: 2px; background: var(--red); } h1, h2, h3, h4, p { margin-top: 0; } h1 { margin-bottom: 20px; color: var(--ink); font-family: "SimSun", "Songti SC", serif; font-size: 52px; line-height: 1.16; } h2 { margin-bottom: 14px; font-family: "SimSun", "Songti SC", serif; font-size: 42px; line-height: 1.25; } h3 { margin-bottom: 12px; font-size: 23px; } .lead { max-width: 620px; margin-bottom: 0; color: #645d52; font-size: 18px; line-height: 1.9; } .hero-card { min-height: 260px; padding: 28px; border: 1px solid rgba(224, 211, 189, .88); border-radius: 24px; background: rgba(255, 253, 248, .92); box-shadow: var(--shadow); } .section { padding: 76px 0; } .section.alt { background: #fffdf8; } .section-head { margin-bottom: 34px; text-align: center; } .section-head p { max-width: 720px; margin: 14px auto 0; color: var(--muted); font-size: 17px; line-height: 1.9; } .grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .card { padding: 24px; border-radius: 18px; background: #fffdf8; border: 1px solid var(--line); box-shadow: 0 16px 42px rgba(57, 48, 36, .07); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease; will-change: transform; } .card:hover { transform: translateY(-6px); border-color: rgba(196, 146, 69, .38); box-shadow: 0 24px 60px rgba(57, 48, 36, .11); } .card.soft { background: #fbf7ed; } .card.dark { color: #fff; background: linear-gradient(155deg, var(--green-dark), var(--green)); } .card.dark p { color: rgba(255, 255, 255, .78); } .card p, .muted { color: var(--muted); line-height: 1.8; } .tag-row { display: flex; gap: 10px; flex-wrap: wrap; } .tag { padding: 6px 12px; border-radius: 999px; color: var(--green); background: #eaf0eb; font-size: 14px; font-weight: 700; } .toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .input, select, textarea { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid #e2d4bf; border-radius: 999px; color: var(--ink); background: #fbf8f1; font: inherit; } textarea { min-height: 128px; padding: 14px 16px; border-radius: 18px; resize: vertical; } .form-grid { display: grid; gap: 16px; } .form-card { max-width: 560px; margin: 0 auto; padding: 34px; } .auth-layout { min-height: calc(100vh - 82px); display: grid; place-items: center; padding: 62px 24px; background: radial-gradient(circle at 18% 20%, rgba(200, 59, 50, .09), transparent 24%), linear-gradient(125deg, #fffaf0, #f7efe2 54%, #edf4ef); } /* 认证类页面共用祖堂背景,登录、注册、找回密码只保留自己的差异样式 */ .auth-scenic-layout { position: relative; isolation: isolate; min-height: 100vh; padding: 56px 24px 72px; place-items: center; background: linear-gradient(90deg, rgba(255, 253, 248, .86), rgba(255, 253, 248, .46) 45%, rgba(255, 253, 248, .88)), linear-gradient(135deg, rgba(200, 59, 50, .08), transparent 34%), url("../images/ancestral-hall-new.png") center / cover no-repeat; } .auth-scenic-layout:before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(251, 247, 237, .42), rgba(251, 247, 237, .86)), radial-gradient(circle at 50% 42%, rgba(255, 253, 248, .3), transparent 30%); backdrop-filter: blur(2px); } .auth-page-brand { position: absolute; left: clamp(18px, 4vw, 56px); top: clamp(18px, 4vw, 42px); z-index: 3; } /* 认证卡片公共样式,避免登录、注册、找回密码页面重复维护 */ .auth-card { width: min(440px, 100%); padding: 38px; border-radius: 16px; border-color: rgba(224, 211, 189, .9); background: rgba(255, 253, 248, .94); box-shadow: 0 26px 70px rgba(57, 48, 36, .16); } .auth-card:hover { transform: none; } .auth-card h1 { margin-bottom: 12px; font-size: 40px; } .auth-card .lead { margin-bottom: 28px; font-size: 16px; } .auth-card .form-grid { gap: 14px; } .auth-card .input { height: 50px; background: #fffaf1; } .auth-card .btn.primary, .auth-card .btn.ghost { position: relative; overflow: hidden; height: 50px; } .auth-card .btn.primary { width: 100%; margin-top: 2px; } .auth-card .btn.primary:before, .auth-card .btn.ghost:before { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 38%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent); transform: skewX(-18deg); transition: left .48s ease; } .auth-card .btn.primary:hover, .auth-card .btn.ghost:hover { transform: translateY(-3px) scale(1.012); } .auth-card .btn.primary:hover { box-shadow: 0 18px 42px rgba(200, 59, 50, .34); } .auth-card .btn.ghost:hover { color: #fff; border-color: rgba(200, 59, 50, .2); background: var(--red); box-shadow: 0 16px 34px rgba(200, 59, 50, .2); } .auth-card .btn.primary:hover:before, .auth-card .btn.ghost:hover:before { left: 110%; } .auth-card .btn.primary:active, .auth-card .btn.ghost:active { transform: translateY(-1px) scale(.99); } .auth-links { display: flex; justify-content: space-between; gap: 16px; color: #8a5a3b; font-weight: 800; } .auth-links a { transition: color .22s ease, transform .22s ease; } .auth-links a:hover { color: var(--red); transform: translateY(-1px); } .auth-captcha-box { /* 认证页滑动验证挂载点,TAC 内部 DOM 由第三方库生成 */ display: flex; justify-content: center; } .auth-captcha-box:empty { display: none; } .auth-captcha-box #tianai-captcha-parent { max-width: 100%; } .auth-captcha-modal { /* 认证页滑动验证弹窗挂载点,TAC 内部 DOM 由第三方库生成 */ position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(38, 48, 44, .32); backdrop-filter: blur(4px); } .auth-captcha-modal:empty { display: none; } .auth-captcha-modal #tianai-captcha-parent { max-width: min(318px, calc(100vw - 32px)); max-height: calc(100vh - 32px); } /* 验证码输入和按钮的通用双列布局,窄屏在页面 CSS 中改为单列 */ .code-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; } /* 接口请求期间的公共状态,只由 JS 切换 class,不在 JS 内写样式 */ .is-loading { pointer-events: none; opacity: .72; } /* 接口列表为空时的统一占位样式 */ .api-empty { padding: 22px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); background: rgba(255, 253, 248, .7); text-align: center; font-weight: 800; } .footer { padding: 60px 0 36px; color: rgba(255, 255, 255, .78); background: #3f3a35; } .footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 48px; padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, .12); } .footer h4 { margin: 0 0 18px; color: #fff; font-size: 17px; } .footer p, .footer a { display: block; color: inherit; margin: 10px 0; line-height: 1.8; } .footer a { width: fit-content; transition: color .22s ease, transform .22s ease; } .footer a:hover { color: #fff; transform: translateX(4px); } .footer .brand { padding: 0; border-radius: 0; background: transparent; box-shadow: none; } .footer .brand:hover { transform: translateX(0) translateY(-2px); } .copyright, .footer-legal { padding-top: 28px; color: rgba(255, 255, 255, .48); font-size: 14px; } .footer-legal { display: flex; align-items: center; justify-content: flex-start; gap: 14px; flex-wrap: wrap; text-align: left; } .footer-legal a { display: inline-flex; width: auto; margin: 0; color: inherit; font-size: inherit; line-height: inherit; } .footer-legal a:hover { color: #fff; transform: none; } .profile-layer-confirm { border-radius: 8px !important; overflow: hidden; } .profile-layer-confirm .layui-layer-title { height: 50px; line-height: 50px; border-bottom: 1px solid rgba(224, 211, 189, .72); background: #fffaf0; color: var(--ink); font-weight: 900; } .profile-layer-confirm .layui-layer-content { color: var(--muted); line-height: 1.8; } .profile-layer-confirm .layui-layer-btn a { border-radius: 999px; } .profile-layer-confirm .layui-layer-btn .layui-layer-btn0 { border-color: var(--red); background: var(--red); } .pending-layer-dialog { border-radius: 8px !important; overflow: hidden; box-shadow: 0 20px 60px rgba(38, 30, 21, .18) !important; } .pending-layer-dialog .layui-layer-title { height: 52px; line-height: 52px; border-bottom: 1px solid rgba(224, 211, 189, .72); background: #fffaf0; color: var(--ink); font-weight: 900; font-size: 16px; } .pending-layer-dialog .layui-layer-content { padding: 28px 28px 16px !important; color: var(--ink); font-size: 16px; line-height: 1.8; text-align: center; } .pending-layer-dialog .layui-layer-btn { padding: 0 24px 24px; text-align: center; } .pending-layer-dialog .layui-layer-btn a { height: 38px; min-width: 108px; padding: 0 24px; border-radius: 999px; line-height: 38px; font-weight: 800; } .pending-layer-dialog .layui-layer-btn .layui-layer-btn0 { border-color: var(--red); background: var(--red); } .profile-popup-select { display: grid; gap: 10px; padding: 4px 0; } .profile-popup-select button { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; color: var(--ink); font: inherit; font-weight: 900; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; } .profile-popup-select button:hover { border-color: rgba(200, 59, 50, .38); color: var(--red); background: #fff4ef; } @media (max-width: 1120px) { .nav-links { display: none; } .inner-hero .container, .grid-2 { grid-template-columns: 1fr; } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 720px) { .container { width: calc(100% - 28px); } .nav-actions a:not(.btn) { display: none; } .inner-hero .container { padding: 46px 0 54px; } h1 { font-size: 38px; } h2 { font-size: 32px; } .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; } .auth-scenic-layout { padding: 36px 14px 48px; align-items: start; } .auth-card { padding: 28px 22px; } .auth-card h1 { font-size: 34px; } } @media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }