.hero-main{display:inline}.hero h1{overflow-wrap:anywhere}.brand{max-width:35%;overflow-wrap:anywhere;white-space:normal}.inner-shell{background:#11162e}.inner-shell::before{display:none}.avatar{object-fit:cover}.about-avatar{width:74px;height:74px;object-fit:cover;border-radius:50%;flex-shrink:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading>a{font-size:10px;color:#b8a5e9;white-space:nowrap}.post-stack{display:grid;gap:15px;margin-top:14px}.post-card{display:block;border:1px solid #ba9cef20;background:#b7a3e508;border-radius:13px;overflow:hidden;transition:background .2s}.post-card:hover{background:#b7a3e514}.post-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.post-card>div{padding:17px}.post-meta{font-size:9px;color:#ad99cf}.post-card h3{font-size:16px;line-height:1.6;margin:7px 0 8px;overflow-wrap:anywhere}.post-card p{font-size:12px;line-height:1.8;color:#b1a7c3;margin:0;overflow-wrap:anywhere}.read-more{display:block;margin-top:12px;font-size:10px;color:#bda0f2}.resources{display:grid;gap:12px;margin-top:23px}.resource-card{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #c1adf31c;background:#a989e008;border-radius:13px;overflow-wrap:anywhere}.resource-card:hover{border-color:#b494ef70}.resource-card>img{width:47px;height:47px;object-fit:cover;border-radius:10px;flex-shrink:0}.resource-card>div{min-width:0;flex:1}.resource-card h3{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:14px;margin:0 0 5px}.resource-card h3 span{color:#b697ed}.resource-card p{font-size:11px;color:#b0a3c2;white-space:pre-line;line-height:1.8;margin:0}.cms-projects{grid-column:1/-1}.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin:17px 0 24px}.project-grid .resource-card{flex-direction:column;align-items:stretch;padding:0}.project-grid .resource-card>img{width:100%;height:170px;border-radius:0;object-fit:cover}.project-grid .resource-card>div{padding:20px}.preserve-lines{white-space:pre-line}.page-content{padding:35px 45px 45px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-title h1{font-size:35px;margin:12px 0}.page-title p{font-size:13px;color:#b7a9cb}.search-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}.search-form input,.search-form select{font:inherit;color:#e1d3f6;background:#1c213b;border:1px solid #b499e43b;border-radius:10px;padding:12px;font-size:12px}.search-form input{flex:1;min-width:150px}.search-form select{max-width:170px}.results-count{font-size:11px;color:#a195b5;margin-bottom:20px}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:start}.empty-state{padding:32px;text-align:center;border:1px dashed #b397dc33;border-radius:14px;color:#bba8d0}.empty-state h2{font-size:20px}.empty-state p{font-size:13px}.pagination{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:30px}.pagination a{font-size:12px;border:1px solid #b59be338;border-radius:7px;padding:7px 12px}.pagination a[aria-current=page]{background:#7960c8;border-color:#7960c8}.article-page{max-width:850px;margin:auto;padding:30px 45px 50px}.back-link{font-size:12px;color:#bfa5e4}.article-meta{font-size:11px;color:#9e8cb9;margin-top:28px}.article-page h1{font-size:clamp(26px,4vw,42px);line-height:1.45;overflow-wrap:anywhere;margin:12px 0 20px}.article-lead{color:#b4a5c8;line-height:1.9;font-size:15px;padding-bottom:23px;border-bottom:1px solid #b69ad626}.article-cover{display:block;width:100%;max-height:450px;object-fit:cover;border-radius:14px;margin:25px 0}.article-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:2;color:#ddd3e9;margin:26px 0 45px}.article-end{border-top:1px solid #b69ad626;padding-top:22px;display:flex;gap:20px;align-items:center;justify-content:space-between}.article-end>span{font-size:12px;color:#a991bd}@media(max-width:850px){.blog-grid{grid-template-columns:repeat(2,1fr)}.page-content{padding:25px}.project-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start}.section-heading h2{font-size:18px}}@media(max-width:540px){.hero-main{display:block;max-width:270px}.hero h1{max-width:290px}.wave{display:none}.brand{max-width:36%;font-size:13px;line-height:1.4}.cms-projects{grid-column:auto}.project-actions{gap:12px}.page-content{padding:24px 20px}.page-title h1{font-size:28px}.page-title{align-items:flex-start}.page-title .button{margin-top:12px;flex-shrink:0}.search-form{gap:8px}.search-form select{max-width:130px}.blog-grid{grid-template-columns:1fr}.article-page{padding:25px 23px 35px}.article-body{font-size:15px}.article-end{align-items:flex-start}.about-avatar{width:48px;height:48px}.section-heading h2{font-size:19px}.section-heading>a{padding-top:14px}}
/* 常用入口：只使用后台上传的封面，上图下文，不再复用旧背景。 */
#links{display:flex;flex-direction:column}
#links .resources{flex:1;display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(210px,1fr);gap:16px;margin-top:22px}
#links .shortcut-card{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:210px;padding:0;overflow:hidden;border:1px solid #ffffff29;border-radius:16px;background:#f7f7fb;color:#2c2b40;box-shadow:0 8px 26px #080b221c;transition:transform .2s,box-shadow .2s,border-color .2s}
#links .shortcut-visual{position:relative;flex:1;min-height:118px;overflow:hidden;background:#e4ebf3}
#links .shortcut-visual.no-cover{display:grid;place-items:center;background:linear-gradient(130deg,#e7edf2,#d9e4eb)}
#links .shortcut-card:nth-child(even) .shortcut-visual.no-cover{background:linear-gradient(130deg,#ede9f4,#dfd9ee)}
#links .shortcut-placeholder{width:44px;height:44px;color:#9faebd;stroke-width:1.2}
#links .shortcut-card:nth-child(even) .shortcut-placeholder{color:#afa3bf}
#links .shortcut-cover{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .35s}
#links .shortcut-card .shortcut-details{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;background:#fafafd;border-top:1px solid #e8e8f0}
#links .shortcut-copy{flex:1;min-width:0}
#links .shortcut-card h3{display:block;font-size:18px;line-height:1.5;font-weight:650;color:#302d43;margin:0 0 4px;overflow-wrap:anywhere}
#links .shortcut-card p{font-size:11px;line-height:1.75;color:#858090;margin:0;white-space:pre-line}
#links .shortcut-go{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid #e3dfef;border-radius:10px;color:#78649b;background:white;font-size:18px;transition:transform .2s,background .2s}
#links .shortcut-card:hover{border-color:#c9b5f4;box-shadow:0 12px 32px #080b2233;transform:translateY(-2px)}
#links .shortcut-card:hover .shortcut-cover{transform:scale(1.025)}
#links .shortcut-card:hover .shortcut-go{background:#f0eafb;transform:translateX(2px)}
#links .shortcut-card:focus-visible{outline:3px solid #d2bbff;outline-offset:4px}
#links .resources>.empty-state{align-self:start}
@media(max-width:540px){#links .resources{grid-auto-rows:auto;gap:14px;margin-top:19px}#links .shortcut-card{min-height:210px}#links .shortcut-visual{min-height:130px}#links .shortcut-card .shortcut-details{padding:15px 17px;gap:12px}#links .shortcut-card h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){#links .shortcut-card,#links .shortcut-go,#links .shortcut-cover{transition:none}#links .shortcut-card:hover,#links .shortcut-card:hover .shortcut-go,#links .shortcut-card:hover .shortcut-cover{transform:none}}
/* 独立个人简介页面。 */
.profile-page{width:min(860px,100%);margin:0 auto;padding:30px 42px 50px}
.profile-background{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.profile-background>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.profile-background::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#080d248f,#10152cbf 55%,#10152ce6)}
.profile-page.has-background .profile-biography{background:#10162dd9;border-color:#c6b2ef40;backdrop-filter:blur(8px)}
.profile-page.has-background .profile-tagline,.profile-page.has-background .profile-contact p{color:#d2c5e2}
.profile-heading{display:flex;align-items:center;gap:24px;margin:34px 0 30px}
.profile-avatar{width:88px;height:88px;border-radius:24px;object-fit:cover;flex-shrink:0;border:1px solid #b79cde3b;background:#a98bdb12}
.profile-avatar-placeholder{display:grid;place-items:center;font-size:58px;line-height:1;color:#bea0ed;background:linear-gradient(130deg,#a98bdb1a,#746da91c)}
.profile-heading>div{min-width:0}
.profile-heading h1{font-size:clamp(26px,3.5vw,36px);letter-spacing:-1px;line-height:1.45;overflow-wrap:anywhere;margin:10px 0}
.profile-tagline{font-size:12px;letter-spacing:2px;color:#ad9cbf;margin:0;line-height:1.8}
.profile-biography{border:1px solid #bda2e126;background:linear-gradient(135deg,#23233e88,#1a203a88);border-radius:20px;padding:32px}
.profile-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#d8cfe6;font-size:15px;line-height:2.1}
.profile-empty{font-size:14px;color:#b4a4c7;margin:0;line-height:1.9}
.profile-contact{display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:1px solid #ba9bd727;margin-top:32px;padding-top:24px}
.profile-contact strong{font-size:15px;font-weight:600;color:#e1d6ed}
.profile-contact p{font-size:12px;color:#ae9dbf;margin:5px 0 0}
.profile-contact .button{flex-shrink:0}
.profile-more{display:inline-block;margin-right:20px}
@media(max-width:540px){.profile-page{padding:22px 22px 35px}.profile-heading{align-items:flex-start;gap:16px;margin:26px 0 24px}.profile-avatar{width:64px;height:64px;border-radius:19px}.profile-avatar-placeholder{font-size:43px}.profile-heading h1{font-size:25px;margin:7px 0 8px}.profile-tagline{font-size:11px;letter-spacing:1px}.profile-biography{padding:23px 20px;border-radius:16px}.profile-text{font-size:14px;line-height:2}.profile-contact{margin-top:25px;padding-top:22px}}
/* 页面外侧留白：浅蓝与淡紫光晕，避免纯白刺眼和灰色沉闷。 */
body,body[data-theme=night],body[data-theme=dusk]{background:#c2c3e2;background-image:radial-gradient(ellipse at 0% 12%,#aacdf0 0%,transparent 58%),radial-gradient(ellipse at 100% 26%,#dbb7e1 0%,transparent 56%),linear-gradient(155deg,#c8c5e6,#b4bee0);background-attachment:fixed}
/* 切换人物时，将外侧蓝色和粉紫色光晕左右对调。 */
body[data-theme=dusk]{background-image:radial-gradient(ellipse at 100% 12%,#aacdf0 0%,transparent 58%),radial-gradient(ellipse at 0% 26%,#dbb7e1 0%,transparent 56%),linear-gradient(205deg,#c8c5e6,#b4bee0)}
.site-shell{box-shadow:0 24px 75px #2926532b}
/* 首页公告弹窗：正文保留换行，长公告在内容区滚动。 */
#announcement-dialog{width:min(520px,calc(100% - 32px));max-height:calc(100svh - 40px);padding:30px;border:1px solid #e9e1fa;border-radius:24px;background:linear-gradient(145deg,#fdfbff,#f0edfb);color:#28223e;box-shadow:0 28px 100px #120c3866;overflow:auto}
#announcement-dialog::backdrop{background:#090e29b8;backdrop-filter:blur(7px)}
.announcement-close{position:absolute;top:14px;right:14px;margin:0}
.announcement-close button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#7d62bb12;color:#7a6a97;font-size:25px;cursor:pointer}
.announcement-close button:hover{background:#7d62bb24}
.announcement-heading{padding-right:25px}
.announcement-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:20px;border:1px solid #e1d6fa;border-radius:14px;background:#ebe2ff;color:#7b5bd1}
.announcement-icon svg{width:25px;height:25px}
.announcement-label{display:block;color:#9380b3;font-size:10px;font-weight:650;letter-spacing:2px}
.announcement-heading h2{font-size:25px;line-height:1.45;overflow-wrap:anywhere;margin:8px 0 22px;letter-spacing:-.5px}
.announcement-body{max-height:46svh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4b5dd transparent;padding:20px;border:1px solid #e5ddf2;border-radius:14px;background:#ffffffa6;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.95;color:#655973}
.announcement-actions{display:flex;justify-content:flex-end;margin:23px 0 0}
.announcement-actions .button{min-width:112px}
#announcement-dialog :focus-visible{outline:3px solid #9576df;outline-offset:3px}
@media(max-width:540px){#announcement-dialog{padding:25px 22px;border-radius:20px}.announcement-icon{margin-bottom:16px}.announcement-heading h2{font-size:23px;margin-bottom:18px}.announcement-body{padding:17px;font-size:13px}.announcement-actions{margin-top:20px}.announcement-actions .button{min-height:40px}}
/* 月亮按钮在原背景和星河背景之间切换，图片加载成功后再淡入。 */
.hero-background{transition:opacity .35s ease}
.hero-background-alternate{inset:0 0 auto;width:100%;height:auto;aspect-ratio:1672 / 941;opacity:0;object-fit:contain;object-position:center top;mask-image:linear-gradient(#000 76%,transparent);pointer-events:none}
body[data-theme=dusk].alternate-background-ready .hero-background:not(.hero-background-alternate){opacity:0}
body[data-theme=dusk].alternate-background-ready .hero-background-alternate{opacity:1}
body[data-theme=dusk].alternate-background-ready .topbar nav a{text-shadow:0 1px 5px #06091de6}
body[data-theme=dusk].alternate-background-ready .theme-toggle{background:#10162d66;border-color:#c7b8ff30}
.theme-toggle .theme-icon-sun{display:none}
.theme-toggle[aria-pressed=true] .theme-icon-moon{display:none}
.theme-toggle[aria-pressed=true] .theme-icon-sun{display:block}
@media(max-width:540px){.hero-background-alternate{height:520px;aspect-ratio:auto;object-fit:cover;object-position:55% top;mask-image:linear-gradient(#000 70%,transparent)}body[data-theme=dusk].alternate-background-ready .site-shell::before{background:linear-gradient(90deg,#0b102cf2,#0b102c99 45%,#0b102c0d 88%),linear-gradient(0deg,#231e38 2%,transparent 55%)}}
/* 页头统一使用御风羽毛 Logo，手机上为导航留出空间。 */
.brand{gap:12px;line-height:1.25}
.brand-logo{display:block;width:72px;height:72px;object-fit:contain;flex-shrink:0}
.brand-name{min-width:0}
.topbar nav{white-space:nowrap}
@media(max-width:540px){.topbar{padding-top:14px;padding-bottom:14px}.brand{max-width:none;flex-shrink:0}.brand-logo{width:58px;height:58px}.brand-name{display:none}}
@media(max-width:375px){.brand-logo{width:52px;height:52px}}
/* 视频教程列表和独立播放页。 */
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
.video-card{min-width:0;border:1px solid #b59ce329;border-radius:17px;overflow:hidden;background:#1b203a;transition:transform .2s,border-color .2s,box-shadow .2s}
.video-card:hover{transform:translateY(-4px);border-color:#b59ce375;box-shadow:0 14px 32px #080c2429}
.video-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:radial-gradient(ellipse at 20% 20%,#e5edff,transparent 64%),linear-gradient(125deg,#a8c8e9,#b5a4de)}
.video-card:nth-child(3n+2) .video-cover{background:radial-gradient(ellipse at 80% 10%,#f2e6f7,transparent 64%),linear-gradient(125deg,#bcaee3,#d9b6d9)}
.video-card:nth-child(3n) .video-cover{background:radial-gradient(ellipse at 20% 80%,#e4f7fa,transparent 64%),linear-gradient(125deg,#9fcbd8,#b5bcdf)}
.video-cover>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video-provider{position:absolute;left:14px;top:14px;padding:4px 9px;border:1px solid #ffffff9c;border-radius:6px;background:#ffffffba;color:#61527e;font-size:9px;letter-spacing:1.4px;font-weight:700}
.video-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;transform:translate(-50%,-50%);width:53px;height:53px;border:1px solid #ffffffe6;border-radius:50%;background:#ffffffd9;color:#7d5abd;box-shadow:0 5px 20px #535a8f20;transition:background .2s}
.video-play svg{width:22px;height:22px;fill:currentColor;stroke:none;margin-left:2px}
.video-card:hover .video-play{background:#fff}
.video-card-copy{padding:20px}
.video-card-copy h2{margin:0 0 9px;font-size:17px;line-height:1.55;overflow-wrap:anywhere;color:#f0eaff}
.video-card-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:1.85;color:#b6aac9;margin:0}
.video-cta{display:flex;align-items:center;justify-content:space-between;margin-top:21px;padding-top:13px;border-top:1px solid #b69bda1c;color:#bea5f0;font-size:11px}
.video-detail{max-width:1090px;margin:auto}
.video-detail-label{margin-top:28px}
.video-detail>h1{font-size:clamp(25px,3.5vw,36px);line-height:1.5;letter-spacing:-.5px;margin:10px 0 24px;overflow-wrap:anywhere}
.video-frame{position:relative;width:100%;aspect-ratio:16/9;border:1px solid #ba9de335;border-radius:17px;background:#070b1b;overflow:hidden}
.video-frame iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}
.video-player-note{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px}
.video-player-note p{font-size:11px;line-height:1.8;color:#a99abf;margin:0}
.video-player-note .button{flex-shrink:0;font-size:12px}
.video-description{margin-top:30px;padding:25px;border:1px solid #b79cde26;border-radius:15px;background:#b79cde08}
.video-description h2{font-size:17px;margin:0 0 12px}
.video-description p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:2;color:#c9bdd8;margin:0}
@media(max-width:900px){.video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:540px){.video-grid{grid-template-columns:1fr;gap:18px}.video-card-copy{padding:19px}.video-catalog .page-title{flex-wrap:wrap;gap:7px}.video-frame{border-radius:12px}.video-detail>h1{font-size:25px;margin-bottom:20px}.video-player-note{align-items:flex-start;flex-direction:column;gap:12px}.video-description{padding:21px}.video-description p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.video-card,.video-play{transition:none}.video-card:hover{transform:none}}
