/* Brand: one name, one softly shaped subject label. */
.header .brand{gap:11px}.header .brand-logo{display:block;width:42px;height:42px;object-fit:contain;flex-shrink:0}.header .brand-wordmark{display:block}.header .brand-line{display:flex;align-items:center;gap:10px;white-space:nowrap}.header .brand-name,.header .brand-subject{font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:16px;font-weight:650;letter-spacing:0;line-height:24px}.header .brand-name{color:#173258}.header .brand-subject{display:inline-flex;align-items:center;padding:4px 12px;background:#eef1ff;color:#485ca8;border:1px solid #e1e6fc;border-radius:12px;box-shadow:none}.header-inner{min-height:77px;gap:24px}.header nav{gap:15px}.header nav>a{font-size:13px;padding:25px 0;transition:color .16s ease}.header nav>a,.header nav>a:hover,.header nav>a:focus-visible,.header nav>a.active{background:transparent;box-shadow:none;transform:none;border-radius:0}.header nav>a:hover,.header nav>a:focus-visible{color:#1551d8}.header nav>a::before,.header nav>a::after{content:none;box-shadow:none}.header .account-toggle{width:38px;height:38px}.brand-slogan{display:none!important}
@media(min-width:1101px){.header nav>a.active::after,.header nav>a:hover::after,.header nav>a:focus-visible::after{content:"";display:block;position:absolute;left:calc(50% - 9px);bottom:14px;width:18px;height:2px;background:#1551d8;border-radius:1px;transform:none}}
.home-search-area h1{font-size:clamp(24px,2.3vw,31px);letter-spacing:.01em}.home-page .section-light:has(#home-articles){background:linear-gradient(180deg,#f8faff,#fff)}.home-page .section-light:has(#home-articles) .eyebrow{font-size:10px;letter-spacing:.15em;color:#7889ac}.home-page .section-light:has(#home-articles) .section-header h2{font-size:30px}.home-page .section-light:has(#home-articles) .section-header p{font-size:14px}.home-page #home-articles{display:grid;gap:14px}.home-page #home-articles .topic-card{margin:0}.tabs{flex-wrap:wrap}.tab{white-space:nowrap}
/* Keep the community inside the existing blue palette, with lighter peach and violet accents. */
.community-page{background:#f7f8fc}.community-page .header{background:#fffffff5}.forum-intro{position:relative;overflow:hidden;background:radial-gradient(ellipse at 78% 30%,#f0edff 0,transparent 50%),linear-gradient(105deg,#fff6e9,#f4f7ff 68%);padding:48px 0 44px;border-bottom:1px solid #e8ecf5}.forum-intro>.container{position:relative;gap:32px}.forum-intro .eyebrow{color:#8b79bb;font-size:12px;letter-spacing:.13em;margin-bottom:12px}.forum-intro h1{font-size:39px;letter-spacing:1px;color:#23355a;margin-bottom:13px}.forum-intro p{font-size:14px;color:#7c839a}.forum-intro .button{font-size:13px;padding:13px 22px;background:#5673db;box-shadow:0 7px 18px #7286dc22;border-radius:12px}.forum-art{display:grid;gap:12px;margin-left:auto;margin-right:25px;transform:rotate(-4deg)}.forum-art>span{background:white;border:1px solid #e5e2fa;color:#8274aa;padding:11px 21px;border-radius:16px 16px 3px 16px;font-size:13px;box-shadow:0 8px 24px #7974ad0b}.forum-art>span+span{background:#fff2df;border-color:#f3e3ca;color:#ac8459;transform:translateX(18px) rotate(8deg);border-radius:16px 16px 16px 3px}.forum-section{padding-top:32px}.forum-layout{gap:26px;grid-template-columns:minmax(0,1fr) 280px}.forum-toolbar{gap:12px}.forum-search{border-radius:12px;min-height:49px;border-color:#e2e7f1}.forum-search button{background:#edf1fc;color:#657bbe;padding-inline:22px}.forum-toolbar select{border-radius:12px}.forum-categories{gap:9px}.forum-categories button{border-radius:30px;padding:7px 16px;color:#7d88a1;background:#edf0f7;font-size:12px}.forum-categories button[aria-pressed=true]{background:#e9eaff;border-color:#d8daf9;color:#7069b1}.forum-results-meta{color:#98a0b3;letter-spacing:.02em}.topic-card{border-color:#e8ebf4;border-radius:16px;box-shadow:0 3px 14px #30477803}.topic-card:hover{border-color:#cdd4ef;box-shadow:0 8px 24px #45629b09;transform:translateY(-2px)}.topic-link{padding:23px 25px}.topic-tag{border-radius:20px;padding:4px 12px;background:#fff1db;color:#b0874a}.topic-card[data-topic-category="学习交流"] .topic-tag{background:#eaf3ff;color:#628fbe}.topic-card[data-topic-category="择校讨论"] .topic-tag{background:#f0ebff;color:#9079be}.topic-card[data-topic-category="心情杂谈"] .topic-tag{background:#ffeef2;color:#bd8195}.topic-card h3{color:#2d3d5c}.topic-card .forum-avatar,.thread-meta .forum-avatar{background:#edeaff;color:#9a88bd}.topic-card:nth-child(3n+2) .forum-avatar{background:#e5f3ee;color:#78a78c}.topic-card:nth-child(3n) .forum-avatar{background:#fff0e2;color:#ba9575}.topic-stats{color:#a0a8bb}.topic-like{border-radius:24px}.topic-like.is-liked{background:#fff0f4;color:#d47896}.forum-more{font-size:13px;color:#7484b3}.forum-side-card{position:relative;background:linear-gradient(145deg,#f0ecff,#f8f7ff 75%);border:1px solid #e4dff8;border-radius:20px;padding:30px 25px}.forum-side-label{color:#9a8bb7;font-size:11px}.forum-side-card h3{font-size:25px;color:#65567f;line-height:1.55;margin-top:18px}.forum-side-card p{color:#90859f;font-size:12px}.forum-side-card .button{border-radius:11px;background:#8c7bb8;color:white;font-size:12px;box-shadow:none}.side-spark{position:absolute;right:21px;top:22px;color:#c0b0df;font-size:33px;line-height:1}.forum-side-notes{padding:25px 13px;color:#9299ad;line-height:1.9}.forum-side-notes a{display:inline-block;color:#8997bd;margin-top:7px}.forum-side-notes strong{color:#7986a1}.forum-thread-layout{padding-block:35px 64px}.thread-post,.thread-replies{border-color:#e6eaf4;border-radius:18px}.thread-post h1{font-size:27px}.thread-replies>h2{font-size:19px}.thread-body{color:#4b5873}.reply-compose,.reply-signin{background:#f6f5fc}.reply-compose .button,.reply-signin .button{border-radius:10px}.thread-back{color:#8794b1}
.community-welcome{display:grid;justify-items:center;background:#fff;border:1px solid #e0e7f2;border-radius:20px;padding:32px 16px}
.forum-toolbar>[data-compose][hidden],.home-feed-column:has(#home-articles>.community-welcome) [data-home-compose]{display:none}
#preview-account>p{font-size:13px;color:#8a91a5;line-height:1.9}#preview-account .button{margin:5px 6px 0 0;font-size:13px}#preview-account .forum-form{margin-top:22px}.preview-label{position:fixed;left:12px;bottom:12px;z-index:19;background:#fffffff0;border:1px solid #e0e5f0;border-radius:20px;padding:4px 10px;color:#929bb0;font-size:10px;box-shadow:0 3px 12px #1e3d7208;backdrop-filter:blur(8px)}
@media(min-width:1101px){.home-page .home-hub{min-height:570px;padding-bottom:16px}.home-hub .entry-card small{font-size:11px}.home-search-area .site-search{width:min(880px,100%)}.home-feature-row{padding-bottom:0}.home-carousel,.home-login{border-radius:16px}}
@media(max-width:1100px){.header-inner{min-height:76px}.header nav{top:76px;gap:0}.header nav>a{padding:13px 16px;font-size:14px}.header nav>a:before{display:none}.forum-art{margin-right:0}.forum-layout{grid-template-columns:minmax(0,1fr)}.forum-intro{padding:36px 0}.forum-sidebar{display:none}}
@media(max-width:700px){.header .brand-name,.header .brand-subject{font-size:14px;letter-spacing:0}.header .brand-subject{padding:4px 10px}.header .brand-line{gap:8px}.header .brand-logo{width:34px;height:34px}.header .brand{gap:8px}.header-inner{min-height:70px;gap:7px}.header nav{top:70px}.header .account-toggle{width:34px;height:34px}.home-search-area h1{font-size:23px;line-height:1.5}.forum-intro{padding:29px 0}.forum-intro>.container{gap:16px}.forum-intro .eyebrow{font-size:10px;margin-bottom:10px}.forum-intro h1{font-size:29px}.forum-intro p{font-size:11px;line-height:1.8;max-width:210px;margin-bottom:0}.forum-intro .button{font-size:11px;padding:11px 13px;white-space:nowrap}.forum-art{display:none}.forum-categories{gap:7px}.forum-categories button{font-size:11px;padding:7px 12px}.forum-search input{font-size:12px}.forum-toolbar select{font-size:11px}.forum-search button{font-size:12px;padding-inline:13px}.home-page .section-light:has(#home-articles) .section-header h2{font-size:23px}.home-page .section-light:has(#home-articles) .section-header p{font-size:12px}.home-page .section-light:has(#home-articles) .section-link{font-size:11px;white-space:nowrap;margin-top:31px}.home-page .section-light:has(#home-articles) .section-header{gap:8px}.forum-thread-layout{padding-top:22px}.thread-post h1{font-size:23px}.thread-actions{flex-wrap:wrap}.topic-card-bottom{font-size:10px}.forum-sidebar{display:none}.preview-label{font-size:9px}.header .account-panel{max-width:calc(100vw - 32px)}}
@media(min-width:1101px){.header nav .nav-hot{top:6px;right:-2px;font-size:8px;padding:1px 5px;line-height:1.3;border-radius:3px}}
@media(max-width:600px){.home-hub .entry-card:nth-child(n){flex-direction:column;align-items:flex-start;gap:10px;padding:15px}.home-hub .entry-card small{font-size:10px;line-height:1.7}.home-hub .entry-icon{width:33px;height:33px}.home-hub .entry-icon svg{width:22px;height:22px}}
@media(prefers-reduced-motion:reduce){.topic-card:hover{transform:none}}

@media(max-width:380px){.header .brand-logo{width:30px;height:30px}.header .brand-name,.header .brand-subject{font-size:13px}.header .brand-subject{padding:3px 8px}.header .brand-line{gap:7px}.header .brand{gap:7px}}

/* White surfaces with a fine rim and a quiet raised edge. */
.home-page .home-hub{background:#f3f5f9}.header{border-bottom-color:#dce4f0}
.home-hub .entry-card:nth-child(n){background:#fff;border:1px solid #cdd6e3;border-bottom-color:#bfcbdc;box-shadow:0 2px 0 #dce3ed,0 5px 12px #243b6408;transition:border-color .18s,box-shadow .18s,transform .18s;transform:none}
.home-hub .entry-card:nth-child(n):hover{background:#fff;border-color:#91a7c7;box-shadow:0 3px 0 #d2dce9,0 10px 20px #243b6412;transform:translateY(-2px)}
.home-hub .entry-card:nth-child(n):active{transform:translateY(1px);box-shadow:inset 0 2px 4px #243b6409,0 1px 0 #dce3ed}
.home-hub .entry-card:focus-visible{outline:2px solid #375cce;outline-offset:4px}
.home-hub .entry-card small{color:#738097}.home-hub .entry-card:hover .entry-icon{transform:none}
.button-secondary,.account-signup{background:#fff;border:1px solid #cbd5e4;color:#344b6d;box-shadow:0 2px 0 #dfe5ef,0 4px 9px #243b6407;transition:border-color .18s,box-shadow .18s,transform .18s}
.button-secondary:hover,.account-signup:hover{background:#fff;border-color:#91a7c7;box-shadow:0 2px 0 #d2dce9,0 6px 12px #243b6412;transform:translateY(-1px)}
.button-secondary:active,.account-signup:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #243b640c}
.header .account-toggle{background:#fff;border-color:#cdd6e3;box-shadow:0 2px 0 #e1e6ef}
.button-primary,.account-signin,.site-search button{box-shadow:inset 0 1px 0 #ffffff26,0 3px 0 #2049be1c,0 5px 10px #2049be12}
.button-primary:active,.account-signin:active,.site-search button:active{transform:translateY(1px);box-shadow:inset 0 2px 5px #143ca333}
.tab:not(.active){background:#fff;border:1px solid #cdd6e3;color:#687b9c;box-shadow:0 2px 0 #e1e6ef}.tab:not(.active):hover{background:#fff;border-color:#91a7c7}
.site-search{border-color:#ccd7e8;box-shadow:0 2px 0 #e0e6f0,0 6px 18px #334b7608}.site-search:focus-within{border-color:#7b96d9;box-shadow:0 0 0 3px #dce5fa,0 6px 18px #334b7609}
/* A single complete poster. */
.announcement-carousel{display:flex;align-items:center;justify-content:center;background:#82cdf7;box-shadow:0 5px 18px #30577b12;overflow:hidden}
.announcement-carousel .announcement-poster{display:block;position:static;width:100%;height:100%;object-fit:contain;object-position:center}
/* A compact navy account card and a separate announcement strip. */
.home-account-column{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;align-self:start}
.home-login{display:flex;flex:0 0 auto;flex-direction:column;height:auto;min-height:0;background:#162542;border:1px solid #243654;border-radius:16px;box-shadow:0 5px 15px #16254212;text-align:left}
.home-login .login-welcome{display:flex;align-items:center;gap:10px;min-height:0;padding:20px 20px 0;background:none;border:0}
.home-login .login-welcome .login-avatar{width:34px;height:34px;margin:0;background:#fff;border:3px solid #fff;box-shadow:none;flex-shrink:0}
.home-login .login-welcome .login-greeting{font-size:12px;font-weight:500;color:#bac8df;line-height:1.5;margin:0}
.home-login .login-card-body{display:flex;flex:none;min-height:0;flex-direction:column;justify-content:flex-start;gap:19px;padding:16px 20px 22px}
.home-login .login-main h2{font-size:16px;font-weight:650;letter-spacing:0;color:#fff;line-height:1.5;margin:0 0 17px}
.home-login .login-actions{width:100%;max-width:none;margin:0;gap:10px}
.home-login .login-actions button{min-height:40px;font-size:13px;border-radius:9px;padding:7px}
.home-login .account-signin{background:#fff;color:#2448b6;border:1px solid #fff;box-shadow:0 3px 0 #0c1935,0 5px 12px #08132926;transition:box-shadow .18s,transform .18s}
.home-login .account-signup{background:#fff;color:#273e61;border-color:#d6ddea;box-shadow:0 3px 0 #0c1935,0 5px 12px #08132926}
.home-login .login-actions button:hover{background:#fff;box-shadow:0 4px 0 #0c1935,0 8px 16px #08132940;transform:translateY(-1px)}
.home-login .login-actions button:active{transform:translateY(1px);box-shadow:0 1px 0 #0c1935,inset 0 1px 3px #16254212}
.course-notice{display:flex;align-items:center;gap:7px;min-height:44px;padding:9px 10px;background:#fff5f6;border:1px solid #ecd8de;border-radius:10px;color:#c85e76;font-size:10px;line-height:1.5;box-shadow:0 2px 0 #eadfe4;transition:border-color .18s,box-shadow .18s}
.course-notice-icon{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;background:#df7b91;border-radius:50%;color:#fff}.course-notice-icon svg{width:17px;height:17px}
.course-notice-arrow{margin-left:auto;color:#bd798b;font-size:14px}.course-notice:hover{border-color:#d6a9b6;box-shadow:0 3px 0 #e5d4db,0 5px 12px #6f36430a}
@media(min-width:1101px) and (max-height:800px){.home-login .login-welcome{padding:11px 18px 0;gap:9px}.home-login .login-welcome .login-avatar{width:27px;height:27px}.home-login .login-welcome .login-greeting{font-size:11px}.home-login .login-card-body{padding:11px 18px 13px;gap:10px}.home-login .login-main h2{font-size:14px;margin-bottom:12px}.home-login .login-actions button{min-height:34px;font-size:12px}.course-notice{min-height:40px;padding:7px 9px}.course-notice-icon{width:23px;height:23px}}
@media(max-width:1100px){.announcement-carousel{min-height:235px}.announcement-carousel .announcement-poster{height:auto;min-height:0}}
@media(max-width:800px){.announcement-carousel{min-height:0;aspect-ratio:3/1}.home-account-column{gap:12px}.home-login .login-welcome{padding:20px 22px 0}.home-login .login-card-body{padding:15px 22px 22px;gap:19px}.home-login .login-main h2{font-size:17px}.home-login .login-actions button{min-height:42px}.course-notice{font-size:12px;padding:10px 13px;min-height:46px}}
@media(prefers-reduced-motion:reduce){.home-hub .entry-card:nth-child(n):hover,.home-hub .entry-card:nth-child(n):active,.home-login button:hover,.home-login button:active,.button-secondary:hover,.account-signup:hover{transform:none}}

@media(min-width:1101px){.home-page .floating-consult{right:3px;width:38px;height:38px;padding:6px;font-size:10px}}

/* Centered account portrait fills the available feature height. */
.home-account-column{height:100%;align-self:stretch}
.home-account-column .home-login{flex:1}
.home-login .login-welcome{flex:1;flex-direction:column;justify-content:center;padding:22px 20px 0;gap:12px;text-align:center}
.home-avatar-button{display:grid;place-items:center;flex-shrink:0;width:76px;height:76px;padding:4px;border-radius:50%;background:#243754;border:1px solid #61728c;box-shadow:inset 0 1px 0 #ffffff18,0 5px 12px #07152c20;transition:border-color .18s,box-shadow .18s}
.home-avatar-button:hover{border-color:#c0cee3;box-shadow:0 0 0 3px #ffffff12,0 5px 12px #07152c20}
.home-avatar-button>img,.profile-avatar-preview>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.home-avatar-placeholder{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;color:#c4d0e4}
.home-avatar-placeholder svg{width:43px;height:43px}
.home-login #home-login-title{font-size:18px;line-height:1.4;font-weight:600;letter-spacing:0;color:#fff;margin:0;text-align:center;overflow-wrap:anywhere}
.home-login .login-card-body{flex:none;padding:18px 20px 22px;gap:19px}
.home-login .login-actions>*{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:9px;font-size:13px;font-weight:600;padding:7px}
.home-login .login-actions>a{background:#fff;box-shadow:0 3px 0 #0c1935,0 5px 12px #08132926}
.profile-avatar-row{display:flex;flex-direction:column;align-items:center;gap:19px;margin:6px 0 2px}
#auth-dialog.is-profile-editor .dialog-inner #auth-title{margin:0 0 22px;padding-inline:30px;text-align:center}
#auth-dialog.is-profile-editor #preview-account .profile-avatar-row>div:last-child{display:flex;flex-direction:column;align-items:center;gap:10px}
#auth-dialog.is-profile-editor #preview-account .profile-avatar-row .avatar-remove{margin-left:0}
.profile-avatar-preview{flex-shrink:0;display:grid;place-items:center;width:80px;height:80px;border:1px solid #ccd7e6;border-radius:50%;background:#f0f3f9;padding:3px;overflow:hidden}
.profile-avatar-preview .home-avatar-placeholder{color:#8294b1}
.profile-avatar-row .avatar-upload-label{display:inline-flex;cursor:pointer;padding:8px 13px;font-size:12px}
.profile-avatar-row p{font-size:10px;margin:10px 0 0;color:#8b96a9}
.avatar-remove{font-size:12px;color:#8391a7;background:none;margin-left:8px;padding:7px}
.profile-links{display:flex;align-items:center;justify-content:space-between;margin-top:21px;font-size:12px;color:#607aa6}
.profile-links button{color:#8c97a8;background:none;font-size:12px;padding:5px}
.forum-avatar{overflow:hidden}.forum-avatar img{width:100%;height:100%;object-fit:cover}
/* One aligned channel row, followed by a balanced two-column feed. */
.home-community .section-header{margin-bottom:25px}
.home-community .section-header h2{font-size:28px}
.home-community .home-channel-tabs{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;margin:0 0 23px}
.home-channel-tabs .tab{display:flex;align-items:center;justify-content:center;text-align:center;padding:11px 8px;font-size:13px;line-height:1.6;min-height:44px}
.home-community .content-columns{grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}
.home-feed-column{min-width:0}
.home-page #home-articles[data-view="hot"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#home-articles>.forum-loading,#home-articles>.forum-empty,#home-articles>.community-welcome{grid-column:1/-1}
.home-community .topic-card{border-color:#dbe2ed;box-shadow:0 2px 0 #e7ebf3}
.home-community .topic-link{height:100%;padding:20px;display:flex;flex-direction:column}
.home-community .topic-card h3{font-size:15px;line-height:1.65;margin:13px 0 10px}
.home-community .topic-card p{font-size:12px;line-height:1.85;margin:0 0 17px}
.home-community .topic-card-bottom{margin-top:auto}
.topic-labels{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}
.topic-sample{display:inline-flex;align-items:center;font-size:9px;line-height:1.6;color:#8b98af;border:1px solid #e2e7ef;border-radius:5px;padding:1px 5px;background:#fafbfe;white-space:nowrap}
.topic-date{font-size:10px;color:#8492a8}
.home-community .topic-card-top{align-items:center;gap:8px;flex-wrap:wrap}
.home-community .topic-stats{gap:10px;font-size:10px}
.home-community .consult-card{padding:26px;background:#162542;border-radius:16px}
.home-community .consult-card .eyebrow{font-size:10px;letter-spacing:.13em;margin-bottom:16px}
.home-community .consult-card h3{font-size:23px;line-height:1.55}
.home-community .consult-card p{font-size:13px;line-height:1.9}
.home-community .consult-card .small-note{font-size:10px;margin-top:17px}
.home-feed-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px}
.home-feed-footer .button,.home-feed-footer .section-link{font-size:12px;margin:0;padding:10px 14px}
.home-feed-footer .section-link{padding-right:0}
.sample-post-note{font-size:11px;margin:22px 0 -12px;color:#8997ad}
@media(min-width:1101px){.home-feature-row{min-height:270px}}
@media(min-width:1101px) and (max-height:800px){.home-search-area{padding:16px 0}.home-hub .entry-grid{padding-bottom:18px}.home-hub .entry-card:nth-child(n){min-height:76px;padding-block:11px}.home-login .login-welcome{padding:10px 18px 0;gap:7px}.home-avatar-button{width:52px;height:52px}.home-avatar-placeholder svg{width:32px;height:32px}.home-login #home-login-title{font-size:16px}.home-login .login-card-body{padding:10px 18px 13px;gap:10px}.home-login .login-actions>*{min-height:34px;font-size:12px}}
@media(max-width:1100px){.home-community .content-columns{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.home-community .home-channel-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.home-page #home-articles[data-view="hot"]{grid-template-columns:1fr}.home-community .topic-card h3{min-height:0}}
@media(max-width:800px){.home-account-column{height:auto}.home-account-column .home-login{flex:none}.home-login .login-welcome{padding:24px 22px 0;gap:12px}.home-avatar-button{width:72px;height:72px}.home-login .login-card-body{padding:19px 22px 24px}.home-login .login-actions>*{min-height:42px}.home-community .content-columns{grid-template-columns:1fr}.home-community .consult-card{display:block}.home-community .topic-card-top{flex-wrap:nowrap}.home-community .section-header h2{font-size:24px}.home-channel-tabs .tab{font-size:12px;padding:9px 5px;min-height:41px}.home-community .home-channel-tabs{gap:8px;margin-bottom:20px}.home-feed-footer{padding-top:16px}.home-feed-footer .section-link{white-space:nowrap}.home-community .consult-card h3{font-size:22px}.home-community .consult-card .small-note{margin-bottom:0}.profile-avatar-row{gap:13px}.profile-avatar-preview{width:69px;height:69px}}

/* Course announcement belongs beneath search; the account card spans the hero. */
.home-search-area .course-notice{width:min(880px,100%);min-height:32px;margin:10px auto 0;padding:5px 12px;font-size:11px;gap:8px;text-align:left;border-radius:8px;box-shadow:0 1px 0 #eadfe4}
.home-search-area .course-notice-icon{width:21px;height:21px}.home-search-area .course-notice-icon svg{width:14px;height:14px}
.home-search-area .course-notice-arrow{font-size:14px}
.home-account-column{gap:0}.home-account-column .home-login{height:100%}
.home-avatar-button:has(.home-avatar-placeholder){background:#f7f3e9;border-color:#e3d6bf;box-shadow:0 4px 12px #07152c20}
.home-avatar-placeholder .academic-cap{display:block;width:53px;height:53px;object-fit:contain}
.profile-avatar-preview .home-avatar-placeholder{background:#f7f3e9}
/* Full-width discussion rows keep the scale of the latest-content cards. */
.home-page #home-articles[data-view="hot"]{grid-template-columns:minmax(0,1fr);gap:14px}
.topic-row,.home-community .topic-row{border:1px solid #dbe2ed;border-radius:14px;background:#fff;box-shadow:none;overflow:hidden;transform:none}
.topic-row:hover,.home-community .topic-row:hover{border-color:#b9cae4;box-shadow:0 5px 16px #243b6409;transform:none}
.topic-row .topic-link{display:grid;grid-template-columns:52px minmax(0,1fr) 14px;align-items:center;gap:17px;padding:23px 26px;min-height:174px}
.topic-reply-count{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:49px;background:#f3f5f9;border:1px solid #e0e6ef;border-radius:8px;color:#6a7d9a;line-height:1.5}
.topic-reply-count strong{font-size:17px;font-weight:500}.topic-reply-count small{font-size:10px}
.topic-row-main{min-width:0}
.topic-row-heading{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0 0 9px}
.topic-row .topic-row-heading h3{font-size:1.16rem;line-height:1.6;font-weight:650;margin:0;color:#2d3d5c;overflow-wrap:anywhere}
.topic-row:hover h3{color:#2455be}
.topic-row .topic-row-main>p{font-size:.9375rem;line-height:1.75;margin:0 0 15px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;color:#7c899f}
.topic-row .topic-tag{font-size:11px;padding:3px 9px;border-radius:6px}.topic-row .topic-sample{font-size:9px}
.topic-row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:11px 17px;color:#8996ab;font-size:12px}
.topic-row-meta .forum-avatar{width:22px;height:22px;font-size:10px}
.topic-row-meta .topic-date{font-size:11px}
.topic-row-likes{display:inline-flex;align-items:center;gap:5px;margin-left:auto;white-space:nowrap;font-size:11px}
.topic-row-likes svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.topic-row-arrow{align-self:center;color:#9aabc2;font-size:25px;line-height:1}
@media(min-width:1101px){.home-feature-row{min-height:250px}}
@media(min-width:1101px) and (max-height:800px){.home-avatar-placeholder .academic-cap{width:36px;height:36px}}
@media(max-width:800px){.home-search-area .course-notice{min-height:35px;font-size:11px;padding:6px 10px}.home-account-column .home-login{height:auto}.home-avatar-placeholder .academic-cap{width:51px;height:51px}.topic-row .topic-link{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:21px 18px;min-height:172px}.topic-row-arrow{display:none}.topic-row .topic-row-heading h3{font-size:16px;line-height:1.65}.topic-row .topic-row-main>p{font-size:12px;line-height:1.85;margin-bottom:13px}.topic-reply-count{min-height:43px;align-self:start;margin-top:37px}.topic-reply-count strong{font-size:15px}.topic-row-meta{gap:8px 11px;font-size:10px}.topic-row-meta .topic-date{font-size:9px}.topic-row-meta .forum-avatar{width:19px;height:19px}.topic-row-likes{font-size:9px;margin-left:0}.topic-row .topic-tag{font-size:10px}.topic-row .topic-sample{font-size:8px}}

/* Account content forms one centered group; its portrait sits slightly higher. */
.home-login{justify-content:center;padding:28px 20px;gap:24px}
.home-login .login-welcome{flex:0 0 auto;padding:0;gap:12px;transform:translateY(-6px)}
.home-login .login-card-body{flex:none;padding:0;gap:20px}
.site-bookmark-button{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:1px solid #cdd6e3;border-radius:10px;background:#fff;color:#536e98;box-shadow:0 2px 0 #e1e6ef;transition:border-color .18s,box-shadow .18s}
.site-bookmark-button svg{width:20px;height:20px}.site-bookmark-button:hover{color:#345bba;border-color:#8fa7cb;box-shadow:0 2px 0 #d4deed,0 4px 9px #243b6409}
.site-bookmark-button:active{transform:translateY(1px);box-shadow:0 1px 0 #e1e6ef}
/* A light resource shelf balances the consultation card. */
.home-community{padding-top:32px}.home-community .content-columns{align-items:stretch}
.home-community-sidebar{display:grid;grid-template-rows:auto auto;align-content:start;align-self:start;gap:18px;min-width:0}
.popular-resources-card{display:flex;flex-direction:column;min-height:0;border:1px solid #a5b9d8;border-bottom-color:#90a7ca;border-radius:16px;padding:20px;background:#e2eaf7;box-shadow:inset 0 1px 0 #ffffffcc,0 3px 0 #c7d4e7,0 10px 24px #304b741a}
.popular-pdf-list{display:grid;gap:8px;list-style:none;margin:0;padding:0}.popular-pdf-list>li{min-width:0}
.popular-pdf-item{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 10px;background:#fff;border:1px solid #dce5f1;border-radius:8px;min-width:0;box-shadow:0 1px 0 #e4eaf4;transition:border-color .18s,box-shadow .18s,transform .18s}
a.popular-pdf-item:hover{border-color:#a9bcdb;box-shadow:0 2px 0 #d9e2f0,0 4px 9px #30466c0a;transform:translateY(-1px)}a.popular-pdf-item:active{transform:translateY(0);box-shadow:0 1px 0 #e4eaf4}
.pdf-rank{display:inline-flex;align-items:center;gap:4px;flex:0 0 49px;font:600 9px/1.5 Arial,sans-serif;color:#a6acb7}.pdf-rank svg{width:10px;height:13px;flex-shrink:0}.pdf-rank-1{color:#e45145;font-weight:750}.pdf-rank-1 svg{width:13px;height:17px}.pdf-rank-2{color:#e9894d}.pdf-rank-2 svg{width:12px;height:15px}.pdf-rank-3{color:#c9a264}
.popular-pdf-item .pdf-resource-title{flex:1;min-width:0;display:block;font-size:12px;font-weight:600;color:#526b91;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdf-pending-label{flex-shrink:0;font-size:9px;color:#a1aec0}.pdf-open-arrow{flex-shrink:0;color:#7c93b9;font-size:13px}
.pdf-coming-soon{margin-top:18px;padding:0 3px;text-align:center;color:#b9c9e2}.pdf-coming-soon>span{display:block;font-size:27px;margin-bottom:7px;color:#bdcce4}.pdf-coming-soon p{font-size:12px;color:#859ab9;margin:0 0 6px}.pdf-coming-soon small{font-size:10px;color:#a2b1c8}
/* Calm icon actions preserve the site's own card layout and blue palette. */
.topic-row .topic-link{height:auto;padding-bottom:14px;min-height:160px}
.post-action-bar{display:flex;align-items:center;justify-content:space-between;gap:10px}
.topic-row>.post-action-bar{border-top:1px solid #edf1f7;margin:0 26px 0 95px;padding:10px 0 12px}
.post-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:30px;padding:5px 8px;border:0;border-radius:7px;background:transparent;color:#8a9ab3;font-size:11px;line-height:1.6;white-space:nowrap;transition:color .16s,background .16s}
.post-action svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.post-action:hover{background:#eff4fc;color:#416cac}.post-action.is-liked{color:#c77890}.post-action.is-liked svg{fill:#fbeef2}.post-action.is-bookmarked{color:#4f71b7}.post-action.is-bookmarked svg{fill:#eaf0fc}
.thread-actions{display:block}.thread-actions .post-action-bar{flex-wrap:wrap;gap:9px;padding:0;border:0}.thread-actions>.forum-delete{display:block;margin:12px 0 0 auto}
.profile-links{flex-wrap:wrap;gap:10px}
/* Browser-bookmark guidance and deliberate share controls. */
#site-action-dialog{width:min(450px,calc(100% - 30px));border-radius:17px}#site-action-dialog .dialog-inner{padding:31px 28px}#site-action-dialog h2{font-size:23px;margin-bottom:16px}#site-action-dialog p{font-size:13px;line-height:1.8}
.bookmark-shortcut{display:flex;align-items:center;justify-content:center;gap:14px;margin:23px 0;color:#8497b3}.bookmark-shortcut kbd{display:grid;place-items:center;min-width:54px;padding:9px 15px;border:1px solid #cfdaeb;border-bottom:3px solid #becbe1;border-radius:9px;background:#f4f7fc;font:inherit;font-size:19px;font-weight:600;line-height:1.5;color:#3b5783}
#site-action-dialog .bookmark-alternative{font-size:11px;color:#8a9bb5}.share-url-label{display:grid;gap:8px;font-size:11px;color:#8697b0}.share-url-label input{width:100%;min-width:0;border:1px solid #d8e2ef;border-radius:9px;background:#f7f9fd;padding:10px 11px;color:#6a7f9f;font-size:11px}
.site-action-buttons{display:flex;gap:10px;margin-top:17px}.site-action-buttons .button{font-size:12px;padding:10px 17px}.site-action-status{min-height:20px;margin:12px 0 0;color:#7086a8!important;font-size:11px!important}.share-topic-title{color:#667d9e}
.heat-total{display:flex;flex-direction:column;align-items:center;margin:20px 0 24px;color:#8096b7}.heat-total strong{font-size:40px;font-weight:600;line-height:1.4;color:#415d8d}.heat-total span{font-size:11px}.heat-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.heat-breakdown>div{display:flex;flex-direction:column;align-items:center;gap:5px;background:#f3f6fc;border:1px solid #e3eaf5;border-radius:11px;padding:16px 8px}.heat-breakdown strong{font-size:19px;color:#5c779f;font-weight:500}.heat-breakdown span{font-size:11px;color:#92a2ba}#site-action-dialog .heat-explanation{font-size:11px;text-align:center;margin:20px 0 0;color:#93a3b9}
@media(min-width:1101px) and (max-height:800px){.home-login{padding:16px 18px;gap:18px}.home-login .login-welcome{padding:0;gap:10px;transform:translateY(-4px)}.home-login .login-card-body{padding:0;gap:13px}}
@media(max-width:800px){.home-login{padding:28px 22px;gap:23px}.home-login .login-welcome{padding:0;gap:12px}.home-login .login-card-body{padding:0;gap:19px}.home-community{padding-top:24px}.home-community-sidebar{grid-template-rows:auto auto}.popular-resources-card{min-height:320px;padding:24px 22px}.pdf-coming-soon{padding-top:25px}.topic-row>.post-action-bar{margin-inline:18px;padding:8px 0 11px}.post-action{font-size:10px;gap:5px;padding:5px 6px}.post-action svg{width:15px;height:15px}.header-inner{gap:5px}.site-bookmark-button{width:32px;height:34px;border-radius:9px}.site-bookmark-button svg{width:18px;height:18px}.header .brand-subject{padding-inline:8px}.header .brand,.header .brand-line{gap:6px}}
@media(max-width:380px){.site-bookmark-button{width:30px;height:32px}.header .account-toggle{width:30px;height:32px}.header .menu-button{padding:8px}.header .brand-subject{padding-inline:7px}}

/* The topic feed shares the article cards' width, height and vertical rhythm. */
.home-community{--home-feed-card-height:184px}
.home-community #home-articles>.article-card{min-height:var(--home-feed-card-height)}
.home-community #home-articles[data-view="hot"]{grid-template-columns:1fr;gap:15px}
.home-community #home-articles .topic-row{display:grid;grid-template-rows:minmax(0,1fr) auto;height:var(--home-feed-card-height);min-height:0;border-radius:12px;box-shadow:none}
.home-community #home-articles .topic-row .topic-link{height:auto;min-height:0;padding:15px 26px 7px}
.home-community #home-articles .topic-row-heading{gap:6px;margin-bottom:6px}
.home-community #home-articles .topic-row-heading h3{font-size:1.16rem;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.home-community #home-articles .topic-row .topic-tag{padding:2px 8px;line-height:1.6}
.home-community #home-articles .topic-row-main>p{font-size:.9375rem;line-height:1.75;margin:0 0 8px}
.home-community #home-articles .topic-row-meta{font-size:11px;line-height:1.7}
.home-community #home-articles .topic-row>.post-action-bar{padding:6px 0 8px}
@media(max-width:1100px){.home-community #home-articles .topic-row{height:auto;min-height:var(--home-feed-card-height)}.home-community #home-articles .topic-row .topic-link{padding:18px 20px 10px}.home-community #home-articles .topic-row-heading h3{-webkit-line-clamp:2}}
@media(max-width:800px){.home-community #home-articles .topic-row .topic-link{padding:18px 18px 10px}.home-community #home-articles .topic-row-heading h3{font-size:16px;line-height:1.5}.home-community #home-articles .topic-row-main>p{font-size:12px}.home-community #home-articles .topic-row-meta{font-size:10px}}

/* Ranked content stays visible until the visitor asks to sign in. */
.login-gate{position:relative;isolation:isolate;overflow:hidden}
.login-gate .gate-surface{display:flex;flex-direction:column;flex:1;min-height:0;opacity:1;transition:opacity .28s ease}
.login-gate[data-gate-open="true"]>.gate-surface{opacity:.2}
.login-gate .gate-overlay.home-login{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:flex-start;gap:0;flex:none;height:100%;margin:0;padding:24px 20px;overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:inherit;background:#192740;box-shadow:none;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(9px);transition:opacity .3s ease,transform .34s cubic-bezier(.22,.7,.3,1),visibility 0s linear .34s}
.login-gate[data-gate-open="true"] .gate-overlay{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s}
.gate-login-content{display:flex;flex-direction:column;gap:21px;width:100%;margin-block:auto;flex-shrink:0}
.login-gate .gate-overlay .login-welcome{flex:none;transform:none;padding:0;gap:10px}
.login-gate .gate-overlay [data-gate-title]{margin:0;font-size:18px;line-height:1.4;font-weight:600;color:#fff;text-align:center;letter-spacing:0}
.login-gate .gate-overlay .home-avatar-button{width:66px;height:66px}
.login-gate .gate-overlay .academic-cap{width:48px;height:48px}
.login-gate .gate-overlay .login-card-body{flex:none;gap:19px;padding:0}
.login-gate .gate-overlay .login-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
.login-gate .gate-overlay .login-actions>*{width:100%;min-height:40px}
.gate-close{position:absolute;right:9px;top:8px;z-index:3;display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:transparent;color:#bac7db;font-size:24px;line-height:1}
.gate-close:hover{background:#ffffff12;color:#fff}
.ranking-login-trigger{display:inline;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-align:inherit;line-height:inherit}
.ranking-login-trigger:disabled{color:inherit;opacity:1;cursor:default}
.school-heat-card{display:flex;flex:1;flex-direction:column;min-height:0;height:100%;padding:20px;border:1px solid #a5b9d8;border-bottom-color:#90a7ca;border-radius:16px;background:#e2eaf7;box-shadow:inset 0 1px 0 #ffffffcc,0 3px 0 #c7d4e7,0 10px 24px #304b741a}
.school-heat-heading,.popular-resources-heading{display:flex;align-items:center;gap:10px}.school-heat-heading h2,.popular-resources-heading h3{font-size:18px;line-height:1.5;font-weight:600;letter-spacing:0;margin:0;color:#30466c}
.school-heat-subtitle,.popular-resources-subtitle{font-size:10px;color:#8c9bb2;margin:6px 0 13px}
.school-heat-heading{gap:7px;justify-content:space-between;flex-shrink:0}.school-heat-heading h2{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.school-heat-card .school-heat-subtitle{flex-shrink:0}
.school-heat-badge{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;padding:2px 5px;border:1px solid #b9c9e2;border-radius:5px;background:#f5f8ff;color:#627da7;font-size:9px;font-weight:600;line-height:1.5;white-space:nowrap}.school-heat-badge svg{display:block;flex-shrink:0;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* One complete list scrolls inside a bounded window, with no duplicate rows. */
.school-rank-viewport{flex:1 1 287px;min-height:132px;height:287px;max-height:287px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdc9dd transparent;scrollbar-gutter:stable;touch-action:pan-y;padding:1px 4px 2px 0;border-radius:8px}.school-rank-viewport:focus-visible{outline:2px solid #8fa7cb;outline-offset:3px}.school-rank-viewport::-webkit-scrollbar{width:5px}.school-rank-viewport::-webkit-scrollbar-thumb{border-radius:5px;background:#bdc9dd}.school-rank-viewport::-webkit-scrollbar-track{background:transparent}
.school-rank-list{display:grid;align-content:start;gap:7px;min-height:0;overflow:visible;list-style:none;margin:0;padding:0 0 2px}
.school-rank-item{display:flex;align-items:center;gap:7px;min-height:35px;padding:7px 9px;background:#fff;border:1px solid #dce5f1;border-radius:7px;box-shadow:0 1px 0 #e4eaf4;transition:border-color .18s,box-shadow .18s}
.school-rank-item strong{flex:1;min-width:0;font-size:12px;line-height:1.6;font-weight:600;color:#536c91;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.school-rank-item small{flex-shrink:0;font-size:9px;color:#9aa7ba}.school-rank-item:hover{border-color:#a9bcdb;box-shadow:0 2px 0 #d8e1ef}.school-rank-item:focus-visible{outline:2px solid #8fa7cb;outline-offset:2px}
.school-heat-more{display:inline-flex;align-self:flex-end;align-items:center;justify-content:flex-end;gap:6px;flex-shrink:0;white-space:nowrap;font-size:10px;line-height:1.7;color:#6c82a5;margin-top:auto;padding-top:12px}.school-heat-more:hover{color:#345bba}
.popular-pdf-list{gap:7px}.popular-pdf-item{min-height:37px;padding-block:7px}
.pdf-rank{flex-basis:49px;color:#9ba7b8;font-size:9px}.pdf-rank-1{color:#e13d31;font-weight:750}.pdf-rank-1 svg{width:16px;height:21px;filter:drop-shadow(0 1px 2px #e13d3133)}.pdf-rank-2{color:#ed7c3e}.pdf-rank-2 svg{width:14px;height:18px}.pdf-rank-3{color:#cf9b49}.pdf-rank-3 svg{width:12px;height:15px}
.heat-place-1 .popular-pdf-item,.heat-place-1 .school-rank-item{border-color:#eab1a8;box-shadow:inset 3px 0 #e45b49,0 1px 0 #e6d7d4}
.heat-place-1 .pdf-resource-title,.heat-place-1 .school-rank-item strong{color:#934b43;font-weight:650}
.heat-place-2 .popular-pdf-item,.heat-place-2 .school-rank-item{border-color:#e9c5a7;box-shadow:inset 2px 0 #eca56a,0 1px 0 #e9e1d9}
.heat-place-3 .popular-pdf-item,.heat-place-3 .school-rank-item{border-color:#e4d5b7}
.site-contact-button{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:1px solid #cdd6e3;border-radius:10px;background:#fff;color:#536e98;box-shadow:0 2px 0 #e1e6ef;transition:border-color .18s,box-shadow .18s}
.site-contact-button svg{width:20px;height:20px}.site-contact-button:hover{color:#345bba;border-color:#8fa7cb;box-shadow:0 2px 0 #d4deed,0 4px 9px #243b6409}.site-contact-button:active{transform:translateY(1px);box-shadow:0 1px 0 #e1e6ef}
@media(min-width:1101px) and (max-height:800px){.school-heat-card,.popular-resources-card{padding:15px 18px}.school-rank-item{min-height:32px;padding-block:5px}.school-rank-list{gap:5px}.school-rank-viewport{flex-basis:254px;height:254px;max-height:254px}.school-heat-subtitle,.popular-resources-subtitle{margin-bottom:10px}.login-gate .gate-overlay.home-login{padding:15px 18px}.gate-login-content{gap:13px}.login-gate .gate-overlay .home-avatar-button{width:48px;height:48px}.login-gate .gate-overlay .academic-cap{width:35px;height:35px}.login-gate .gate-overlay .login-welcome{gap:7px}.login-gate .gate-overlay [data-gate-title]{font-size:17px}.login-gate .gate-overlay .login-card-body{gap:13px}.login-gate .gate-overlay .login-actions>*{min-height:34px}.login-gate .gate-overlay .login-actions{gap:8px}}
@media(max-width:1100px){.school-heat-card{min-height:360px}}
@media(max-width:800px){.home-account-column .school-heat-card{height:auto;min-height:420px;max-height:450px}.school-heat-card{padding:24px 22px}.school-rank-viewport{flex:0 1 294px;height:294px;max-height:294px;min-height:180px}.school-rank-list{overflow:visible}.school-rank-item{min-height:36px}.school-heat-more{padding-top:15px}.site-contact-button{width:32px;height:34px;border-radius:9px}.site-contact-button svg{width:18px;height:18px}.popular-resources-card{min-height:0}.pdf-coming-soon{padding-top:23px}.login-gate .gate-overlay.home-login{padding:26px 22px}}
@media(max-width:380px){.header .brand-logo{width:26px;height:26px}.header .brand-name,.header .brand-subject{font-size:12px}.header .brand-subject{padding:3px 6px}.header .brand-line,.header .brand{gap:5px}.header-inner{gap:4px}.site-contact-button,.site-bookmark-button,.header .account-toggle{width:28px;height:31px}.header .menu-button{padding:5px}}
@media(prefers-reduced-motion:reduce){.login-gate .gate-overlay.home-login,.login-gate .gate-surface{transition:none;transform:none}}
.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.home-feed-column{display:flex;flex-direction:column}
.home-feed-footer{margin-top:auto}
.home-feed-footer .section-link{margin-left:auto}
.home-feed-footer [data-home-compose][hidden]{display:none}
@media(max-width:800px){.header-actions{gap:5px}}
@media(max-width:380px){.header-actions{gap:4px}}

/* A focused explanation of common teaching and school-specific sessions. */
.targeted-course{margin-top:34px;padding:30px;border:1px solid #c1d0e6;border-radius:16px;background:#fff;box-shadow:0 2px 0 #e0e7f2,0 8px 22px #304b7408}
.targeted-course h2{font-size:26px;line-height:1.5;letter-spacing:0;color:#233b60;margin:0 0 8px}
.targeted-course-lead{font-size:17px;font-weight:600;line-height:1.8;color:#3c5e92;margin:0 0 11px}
.targeted-course-description{max-width:990px;font-size:14px;line-height:1.9;color:#73839b;margin:0 0 23px}
.targeted-course-tracks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.targeted-course-track{padding:20px 22px;border:1px solid #d8e2f0;border-radius:11px;background:#f5f8fd}
.targeted-course-track h3{font-size:18px;line-height:1.6;font-weight:600;letter-spacing:0;color:#344e76;margin:0 0 9px}
.targeted-course-track p{font-size:13px;line-height:1.9;color:#7a8aa3;margin:0}
.targeted-course-note{padding-top:17px;margin:22px 0 0;border-top:1px solid #e0e7f1;font-size:12px;line-height:1.9;color:#7a8ca6}
@media(max-width:800px){.targeted-course{padding:24px 20px;margin-top:28px}.targeted-course h2{font-size:22px}.targeted-course-lead{font-size:15px}.targeted-course-description{font-size:13px}.targeted-course-tracks{grid-template-columns:1fr;gap:13px}.targeted-course-track{padding:17px 18px}.targeted-course-track h3{font-size:16px}.targeted-course-note{font-size:11px}}

/* Original articles and video collections share the established resource cards. */
.resource-card-content{min-width:0}.resource-card-kicker{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:10px}.resource-card-kicker .article-tag{margin-bottom:0}
.pdf-resource-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.pdf-resource-text .pdf-resource-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdf-resource-meta{font-size:9px;line-height:1.5;color:#8a9ab2}.pdf-download-label{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;color:#526fa1}.popular-pdf-item:has(.pdf-resource-meta){min-height:51px}
.resource-source-label{font-size:10px;color:#8a9ab2;line-height:1.7}
.article-card.has-resource-cover{grid-template-columns:96px minmax(0,1fr) auto;align-items:center}
.resource-card-cover{width:96px;height:72px;object-fit:cover;align-self:center;border:1px solid #dde5ef;border-radius:8px;background:#edf2fa}
.article-card.resource-external h3{line-height:1.5}.article-card.resource-external p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-card.resource-external .article-meta{gap:5px 13px;font-size:11px}.article-card.resource-external .article-meta time{color:#8c9db5}
.source-collection-row{display:flex;justify-content:flex-end;margin-bottom:16px}.source-collection-row:empty{display:none}
.source-collection-link{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #c9d6e8;border-radius:8px;background:#fff;color:#526f9f;box-shadow:0 2px 0 #e2e9f3;font-size:12px;line-height:1.7}.source-collection-link:hover{border-color:#97afd2;box-shadow:0 2px 0 #d5e0ef}
@media(max-width:800px){.article-card.has-resource-cover{grid-template-columns:72px minmax(0,1fr);gap:14px}.resource-card-cover{width:72px;height:62px;align-self:start;margin-top:2px}.article-card.resource-external .read-label{grid-column:2;justify-self:end;font-size:12px}.article-card.resource-external .article-meta{font-size:10px;gap:4px 9px}.resource-source-label{font-size:9px}.article-card.resource-external .resource-card-kicker{gap:5px 8px}}

/* The rankings stay still; only the leading flames flicker, strongest first. */
.school-rank-list .pdf-rank svg,.popular-pdf-list .pdf-rank svg{transform-box:fill-box;transform-origin:50% 88%}
.school-rank-list .pdf-rank-1 svg,.popular-pdf-list .pdf-rank-1 svg{animation:rank-flame-blaze .78s ease-in-out infinite}
.school-rank-list .pdf-rank-2 svg,.popular-pdf-list .pdf-rank-2 svg{animation:rank-flame-dance 1.08s ease-in-out -.31s infinite}
.school-rank-list .pdf-rank-3 svg,.popular-pdf-list .pdf-rank-3 svg{animation:rank-flame-ember 1.55s ease-in-out -.63s infinite}
@keyframes rank-flame-blaze{0%,100%{transform:translateY(0) rotate(-5deg) scale(.94,1.01);filter:drop-shadow(0 0 2px #e13d3150)}30%{transform:translateY(-1px) rotate(4deg) scale(1.06,1.19);filter:drop-shadow(0 0 4px #e954387a)}65%{transform:translateY(-.3px) rotate(-2deg) scale(.98,1.08);filter:drop-shadow(0 0 3px #ed613b66)}}
@keyframes rank-flame-dance{0%,100%{transform:rotate(-3deg) scale(.98,1);filter:drop-shadow(0 0 1px #ed7c3e30)}45%{transform:translateY(-.6px) rotate(3deg) scale(1.03,1.12);filter:drop-shadow(0 0 2px #ed7c3e55)}}
@keyframes rank-flame-ember{0%,100%{transform:rotate(-1deg) scale(1);filter:drop-shadow(0 0 0 #cf9b4900)}50%{transform:translateY(-.3px) rotate(1deg) scale(1.02,1.07);filter:drop-shadow(0 0 1px #cf9b4935)}}
@media(prefers-reduced-motion:reduce){.school-rank-list .pdf-rank svg,.popular-pdf-list .pdf-rank svg{animation:none;transform:none;filter:none}}

/* Shared, uncluttered resource browsing with the homepage announcement. */
.resource-search-row{display:block;margin-bottom:20px}.resource-search-row .search-box{width:100%}
.resource-banner{margin-bottom:22px}.resource-banner .announcement-carousel{aspect-ratio:2170/725;min-height:0}.resource-banner .announcement-poster{height:auto}
.resource-channel-nav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 22px}.resource-channel-nav .tab{padding:9px 13px;font-size:13px;line-height:1.6}
.resource-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.resource-list-heading .results-count,.resource-list-heading .source-collection-row{margin:0}.resource-list-heading .source-collection-link{font-size:11px}
.article-card.has-resource-cover{grid-template-columns:180px minmax(0,1fr) auto;gap:20px}.resource-card-cover{display:block;width:180px;height:auto;max-height:none;object-fit:contain;align-self:center;background:transparent}
.article-card.resource-external p{display:block;white-space:normal;overflow:visible;font-size:13px;line-height:1.8;margin-bottom:10px}
@media(max-width:1100px){.article-card.has-resource-cover{grid-template-columns:150px minmax(0,1fr)}.resource-card-cover{width:150px}.article-card.resource-external .read-label{grid-column:2;justify-self:end}}
@media(max-width:800px){.resource-channel-nav{gap:7px}.resource-channel-nav .tab{padding:8px 11px;font-size:12px}.article-card.has-resource-cover{grid-template-columns:125px minmax(0,1fr);gap:14px}.resource-card-cover{width:125px;height:auto;margin-top:0}.resource-list-heading{flex-wrap:wrap}.resource-banner{margin-bottom:18px}}
@media(max-width:480px){.article-card.has-resource-cover{grid-template-columns:minmax(0,1fr)}.resource-card-cover{width:100%;height:auto;max-width:360px;justify-self:center}.article-card.resource-external .read-label{grid-column:1}.article-card.resource-external p{font-size:12px}.resource-channel-nav{gap:6px}}

.school-rank-item strong{display:flex;align-items:baseline;gap:5px;overflow:hidden}.school-rank-item .school-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.school-exam-code{flex-shrink:0;font-size:10px;font-weight:600;color:inherit;font-variant-numeric:tabular-nums;opacity:.88}

.bookmark-device{display:inline-block;padding:5px 10px;border-radius:7px;background:#eef3ff;color:#526fa3;font-size:11px}.bookmark-guide>p:first-of-type{margin-top:14px}.bookmark-confirm{text-align:center}.bookmark-steps{list-style:none;padding:0;margin:20px 0;counter-reset:bookmark-step;display:grid;gap:14px}.bookmark-steps li{position:relative;counter-increment:bookmark-step;padding-left:37px;min-height:28px;display:flex;align-items:center;color:#4c6385;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.bookmark-steps li:before{content:counter(bookmark-step);position:absolute;left:0;top:1px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#edf2ff;color:#3156c4;font-size:12px;font-weight:600}.bookmark-understood{width:100%;min-height:44px;margin-top:15px}
@media(max-width:600px){#site-action-dialog{width:calc(100% - 24px);max-width:450px;max-height:calc(100dvh - 24px);padding:0;margin:auto;overflow-y:auto;overscroll-behavior:contain}#site-action-dialog .dialog-inner{padding:28px 20px max(22px,env(safe-area-inset-bottom))}#site-action-dialog .dialog-close{top:9px;right:9px;min-width:44px;min-height:44px}#site-action-dialog h2{font-size:21px;padding-right:38px}.bookmark-steps{gap:16px}.bookmark-steps li{font-size:14px;line-height:1.8}.bookmark-understood{min-height:46px}.bookmark-shortcut{gap:10px;margin:18px 0}.bookmark-shortcut kbd{min-width:50px;padding:8px 13px}}
.wecom-contact{display:grid;justify-items:center;gap:13px;text-align:center;padding:20px 0}.wecom-contact>strong{font-size:18px;color:#30466c}.wecom-contact .wecom-contact-qr{display:block;width:220px;max-width:100%;height:auto;object-fit:contain;background:#fff;padding:6px;border:1px solid #dce4f0;border-radius:10px}.wecom-contact p{margin:0;font-size:13px;line-height:1.8;color:#6c7f9d}.wecom-contact .wecom-fallback{max-width:340px;font-size:11px;color:#8b9bb2}

.auth-tabs{display:flex;gap:10px;margin:12px 0 20px}.auth-tabs button{flex:1;padding:10px;border:1px solid #d4deec;border-radius:8px;background:#fff;color:#587398}.auth-tabs button[aria-pressed="true"]{background:#2851db;border-color:#2851db;color:#fff}
.moderation-label{display:inline-block;border:1px solid #e7d4aa;background:#fff8e9;color:#9a7335;border-radius:5px;padding:2px 7px;font-size:11px}.moderation-label.is-rejected{background:#fff0ee;border-color:#e5bbb6;color:#a04d45}.moderation-reason{font-size:12px;color:#9b6558;line-height:1.8}

.admin-console{max-width:1100px}.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}.admin-heading h1{font-size:32px;margin:7px 0 10px}.admin-heading p{color:#7b8ca6}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.admin-stats>div{display:grid;gap:5px;padding:20px;border:1px solid #dbe4f0;border-radius:12px;background:#f6f8fc}.admin-stats strong{font-size:28px;color:#345ebc}.admin-stats span{font-size:13px;color:#7e8fab}.admin-filters{display:flex;gap:16px;margin-bottom:25px}.admin-filters label{display:grid;gap:7px;color:#587298;font-size:13px}.admin-filters select{min-width:150px;padding:10px;border:1px solid #d3dfef;border-radius:8px;background:#fff}.admin-review-card{padding:25px;margin-bottom:20px;border:1px solid #d5e0f0;border-radius:13px;background:#fff}.admin-review-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;color:#7f90a8;font-size:12px}.admin-review-meta a{margin-left:auto}.admin-review-card h2{font-size:21px;margin:15px 0}.admin-review-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;color:#405675;margin-bottom:20px}.admin-reason{display:grid;gap:8px;font-size:12px;color:#7a8ca7}.admin-reason textarea{padding:12px;border:1px solid #d3dfed;border-radius:8px;resize:vertical;font:inherit;color:#30466c}.admin-review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.admin-item-error,.admin-error{color:#a95045;font-size:12px}.admin-audit{padding:20px;border:1px solid #dbe3ef;border-radius:12px;color:#7b8ca4;font-size:12px;line-height:1.8}.admin-audit summary{cursor:pointer;color:#3c577e;font-size:15px}.admin-audit p{padding-top:8px}.admin-access p{margin:20px 0}
@media(max-width:650px){.admin-heading{align-items:flex-start}.admin-heading h1{font-size:26px}.admin-stats{grid-template-columns:1fr 1fr;gap:10px}.admin-stats>div{padding:15px}.admin-review-card{padding:18px}.admin-filters{gap:10px}.admin-filters select{min-width:120px}}

span.moderation-reason{display:block}
.admin-navigation{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 24px}.admin-navigation a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid #d3deee;border-radius:8px;color:#54719b;background:#fff;font-size:13px}.admin-navigation a[aria-current="page"]{background:#2851db;border-color:#2851db;color:#fff}.admin-navigation a:last-child{margin-left:auto}.cms-console{max-width:1320px}.cms-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}.cms-toolbar p{color:#7c8ea7;font-size:13px;line-height:1.8}.cms-toolbar>.button{flex-shrink:0}.cms-notice{min-height:24px;color:#426d9e;font-size:13px;margin-bottom:12px}.cms-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:23px;align-items:start}.cms-library,.cms-editor{border:1px solid #d7e1ef;border-radius:12px;background:#fff;padding:20px;min-width:0}.cms-library [data-cms-list]{max-height:720px;overflow:auto;overscroll-behavior:contain;padding-right:3px}.cms-search{display:block;margin-bottom:15px}.cms-search input{width:100%;min-width:0;padding:11px 12px;border:1px solid #d4dfef;border-radius:8px;font:inherit;font-size:13px}.cms-library-item{border:1px solid #e0e7f2;border-radius:9px;padding:14px;margin-bottom:12px}.cms-library-item.is-editing{border-color:#8ba4e3;background:#f8faff}.cms-library-item h3{font-size:14px;line-height:1.7;margin:8px 0;overflow-wrap:anywhere}.cms-library-item p,.cms-item-type{font-size:11px;line-height:1.7;color:#889bb4}.cms-item-type{margin-left:8px}.cms-publish-state{display:inline-block;padding:2px 7px;border-radius:5px;background:#edf6f1;color:#4b8b6c;font-size:10px}.cms-publish-state.is-hidden{background:#f1f3f7;color:#929cae}.cms-item-actions{display:flex;gap:9px;margin-top:10px}.cms-item-actions button{min-height:36px;padding:6px 13px;border:1px solid #d9e2ef;border-radius:7px;background:#fff;color:#5877a2;cursor:pointer;font:inherit;font-size:12px}.cms-editor{scroll-margin-top:calc(var(--site-header-height,90px) + 16px)}.cms-editor-heading{display:flex;justify-content:space-between;gap:14px;align-items:baseline;border-bottom:1px solid #e6edf6;padding-bottom:15px;margin-bottom:20px}.cms-editor-heading h2{font-size:20px}.cms-editor-heading>span{font-size:11px;color:#93a2b8}.cms-form{display:grid;gap:17px}.cms-form label{display:grid;gap:8px;font-size:13px;color:#576f91;min-width:0}.cms-form input,.cms-form select,.cms-form textarea{width:100%;min-width:0;border:1px solid #cfdbeb;border-radius:8px;padding:10px 12px;background:#fff;color:#344d71;font:inherit;line-height:1.7}.cms-form textarea{resize:vertical;min-height:88px}.cms-form [name="body"]{min-height:240px;white-space:pre-wrap}.cms-form-two{display:grid;grid-template-columns:1fr 1fr;gap:15px;min-width:0}.cms-help{font-size:11px;line-height:1.9;color:#8c9db4;overflow-wrap:anywhere}.cms-file-picker{padding:16px;border:1px dashed #b9cce8;border-radius:9px;background:#f8faff}.cms-file-picker input{border:0;padding:3px;background:transparent;font-size:12px}.cms-cover-preview{display:block;max-width:100%;width:auto;height:auto;max-height:240px;object-fit:contain;justify-self:start}.cms-cover-preview[hidden]{display:none}.cms-upload-state{display:grid;gap:7px;font-size:12px;color:#5a7ba5}.cms-upload-state progress{width:100%;height:11px;accent-color:#2851db}.cms-upload-state[hidden]{display:none}.cms-save-actions{display:flex;flex-wrap:wrap;gap:10px}.cms-save-actions .button{min-height:43px;font-size:13px}.cms-start{padding:40px 10px;text-align:center;color:#8b9db6}.cms-start h2{font-size:19px;margin-bottom:14px;color:#536e96}.cms-start p,.cms-empty{font-size:13px;line-height:1.9;color:#8a9cb5}.cms-form button:disabled,.cms-item-actions button:disabled{opacity:.55;cursor:wait}
@media(max-width:900px){.cms-layout{grid-template-columns:1fr}.cms-library [data-cms-list]{max-height:340px}.cms-toolbar{align-items:flex-start}.cms-console{padding-top:25px}.cms-editor{scroll-margin-top:calc(var(--site-header-height,80px) + 12px)}}
@media(max-width:600px){.admin-navigation{gap:7px}.admin-navigation a{font-size:12px;padding:8px 12px;min-height:44px}.admin-navigation a:last-child{margin-left:0}.cms-toolbar{flex-direction:column;gap:12px}.cms-toolbar>.button{width:100%;min-height:44px}.cms-library,.cms-editor{padding:16px}.cms-form-two{grid-template-columns:1fr}.cms-editor-heading{align-items:flex-start;flex-direction:column;gap:6px}.cms-form input,.cms-form select,.cms-form textarea{font-size:16px}.cms-item-actions button{min-height:44px;min-width:70px}.cms-save-actions{display:grid;grid-template-columns:1fr}.cms-save-actions .button{width:100%;min-height:46px}}

/* Account password and recovery */
.account-recovery-link{display:block;margin:18px 0 0;background:none;padding:8px 0;color:#4869b6;font:inherit;font-size:13px;text-decoration:underline;text-underline-offset:4px}.security-section{padding:22px 0;border-top:1px solid #dbe2ef;margin-top:20px}.security-section h3{font-size:17px;margin-bottom:10px}.security-section p,.security-help{font-size:13px;line-height:1.8;color:#78899e}.security-section .forum-form{margin-top:15px}.recovery-result{padding:20px;border:1px solid #c7d8f3;background:#f5f8ff;border-radius:12px;margin-top:18px;overflow-wrap:anywhere}.recovery-result input{display:block;width:100%;padding:13px;margin:14px 0;font-family:monospace;font-size:15px;border:1px solid #bccce6;border-radius:7px;background:#fff}.recovery-result p{font-size:13px;line-height:1.8;margin:12px 0 0}#account-security-dialog{width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;overflow-y:auto}#account-security-dialog .dialog-inner{padding:32px}#account-security-dialog input{min-width:0}.security-panel h2{padding-right:25px}.security-panel>div>p{font-size:14px;line-height:1.8;margin:15px 0}.security-panel button{min-height:44px}@media(max-width:600px){#account-security-dialog .dialog-inner{padding:27px 20px max(25px,env(safe-area-inset-bottom))}#account-security-dialog input{font-size:16px}.security-panel .forum-form{gap:16px}.recovery-result{padding:16px}.profile-links button{min-height:44px}}

.ranking-account-entry{display:flex;justify-content:flex-end;margin-top:auto;padding-top:15px}.ranking-account-entry .school-heat-more{margin:0;padding:0}.popular-pdf-empty{font-size:12px;color:#8395b2;line-height:1.9;padding:15px 0}

/* A single quiet search field for the selected home channel. */
.home-channel-search{display:flex;align-items:center;gap:13px;margin:19px 0 20px;padding:8px 9px 8px 16px;min-height:52px;border:1px solid #d3dded;border-radius:10px;background:#fff;box-shadow:0 1px 1px #243a6505}.home-channel-search svg{width:20px;height:20px;fill:none;stroke:#8190aa;stroke-width:1.7;flex-shrink:0}.home-channel-search input{flex:1;min-width:0;border:0;outline:none;padding:7px 0;background:transparent;font:inherit;font-size:14px;color:#30486b}.home-channel-search input::placeholder{color:#96a3b8}.home-channel-search button{padding:8px 17px;border:1px solid #d9e2f2;border-radius:7px;background:#f3f6fc;color:#456394;min-height:36px;font:inherit;font-size:12px}.home-channel-search .home-search-clear{background:none;border-color:transparent;color:#8796ae}.home-channel-search:focus-within{border-color:#7c9bd8;box-shadow:0 0 0 3px #dbe5ff66}.home-search-status{font-size:11px;color:#8c9ab0;margin:0 0 12px}.home-search-status:empty{display:none}.home-search-empty{padding:38px 22px}.home-group-result,.home-join-result{display:block;padding:22px 25px;border:1px solid #dce4f1;border-radius:12px;background:#fff}.home-group-result h3,.home-join-result h3{font-size:17px;margin:10px 0;color:#263d61}.home-group-result p,.home-join-result p{font-size:13px;line-height:1.8;color:#8090a9}.home-group-result>a{display:block;font-size:12px;color:#4068be;margin-top:12px}@media(max-width:650px){.home-channel-search{gap:9px;padding:6px 7px 6px 12px;margin:16px 0;min-height:52px}.home-channel-search input{font-size:16px}.home-channel-search button{padding:9px 12px;min-height:44px}.home-channel-search svg{width:18px}.home-search-status{font-size:11px}.home-group-result,.home-join-result{padding:19px}}
/* Compact shared school cards: original emblems, restrained labels, clear reading order. */
.article-list>.article-card.school-resource-card,.home-community #home-articles>.article-card.school-resource-card{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:18px;min-height:0;padding:20px 22px;border:1px solid #dfe6f1;border-radius:12px;background:#fff;box-shadow:none}
.article-card.school-resource-card:hover{border-color:#aebfdb;box-shadow:0 3px 14px #20385a06}
.school-card-emblem{display:grid;place-items:center;align-self:center;width:64px;height:72px;background:transparent}
.school-card-emblem img{display:block;width:64px;height:72px;max-width:100%;object-fit:contain;object-position:center;border:0;border-radius:0;background:transparent}
.school-card-tags{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 9px}
.school-card-tags .article-tag{margin:0;padding:2px 7px;border:0;border-radius:4px;background:#edf2ff;color:#3b61bc;font-size:10px;line-height:1.7;font-weight:600;letter-spacing:0}
.school-card-tags .school-detail-tag{color:#78869b;background:#f4f6f9;font-weight:400}
.article-card.school-resource-card h3{font-size:16px;line-height:1.5;font-weight:650;letter-spacing:0;color:#243951;margin:0 0 7px;overflow-wrap:anywhere}
.article-card.school-resource-card p{display:block;font-size:13px;line-height:1.75;color:#718197;margin:0 0 9px;overflow-wrap:anywhere}
.school-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;line-height:1.6;color:#9aa6b7}
.school-card-footer time{white-space:nowrap}.article-card.school-resource-card .school-card-footer .read-label{grid-column:auto;justify-self:auto;margin-left:auto;font-size:11px;line-height:1.6;color:#5c78ac}
@media(max-width:650px){.article-list>.article-card.school-resource-card,.home-community #home-articles>.article-card.school-resource-card{grid-template-columns:48px minmax(0,1fr);gap:13px;padding:17px 15px;border-radius:10px}.school-card-emblem{width:48px;height:56px;align-self:start;margin-top:3px}.school-card-emblem img{width:48px;height:56px}.school-card-tags{gap:4px;margin-bottom:8px}.school-card-tags .article-tag{font-size:10px;padding:2px 6px}.article-card.school-resource-card h3{font-size:15px;line-height:1.6;margin-bottom:7px}.article-card.school-resource-card p{font-size:12px;line-height:1.8;margin-bottom:9px}.school-card-footer{font-size:10px}.article-card.school-resource-card .school-card-footer .read-label{font-size:11px}}
/* Signed-in visitors interact with the rankings directly, with no login overlay. */
.login-gate[data-authenticated="true"]>.gate-overlay{display:none}
.login-gate[data-authenticated="true"]>.gate-surface{opacity:1;transition:none}

/* Column pages begin directly with their working content. */
#main>.page-title+section.section{padding-top:28px}
.forum-toolbar{flex-wrap:wrap;align-items:stretch}.forum-toolbar .forum-search{flex:1 1 220px;min-width:0}.forum-toolbar>[data-compose]{min-height:44px;padding:8px 14px;font-size:13px;white-space:nowrap}
@media(max-width:650px){#main>.page-title+section.section{padding-top:20px}.forum-toolbar .forum-search{flex-basis:100%}.forum-toolbar>[data-compose]{margin-left:auto}}

/* A compact two-line brand and account portrait. */
.header .brand-line{flex-direction:column;align-items:flex-start;gap:2px}.header .brand-name{font-size:15px;line-height:22px;padding-inline:7px}.header .brand-subject{font-size:15px;line-height:22px;padding:0 6px;border-radius:6px}
.account-heading .account-portrait-button{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;padding:0;border:1px solid #e0e6ef;background:#f7f9fc;border-radius:50%}.account-heading .account-portrait-button img{display:block;width:44px;height:44px;object-fit:cover;border-radius:50%;margin:0}.header .account-toggle .account-toggle-avatar{width:100%;height:100%;object-fit:cover;border-radius:9px}.header .account-toggle .account-toggle-avatar[hidden]{display:none}
.auth-dialog-avatar{display:block;width:64px;height:64px;object-fit:cover;border-radius:50%;margin:0 0 16px;background:#f7f9fc}.avatar-review-note{padding:10px 13px;border:1px solid #d7e2f5;border-radius:8px;background:#f5f8ff;color:#617ba1;font-size:12px;line-height:1.8;margin:0}.avatar-review-note.is-rejected{background:#fff5f3;border-color:#f0d4ce;color:#a46b61}
#consult-dialog{width:min(350px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto}#consult-dialog .dialog-inner{padding:48px 28px 25px}.simple-wecom-contact{display:grid;justify-items:center;gap:15px;text-align:center}.simple-wecom-contact .wecom-contact-qr{width:250px;max-width:100%;height:auto;object-fit:contain;margin:0;border:0;border-radius:0;padding:0;background:#fff}.simple-wecom-contact p{font-size:15px;color:#5f7391;margin:0;line-height:1.6}#consult-dialog .dialog-close{width:44px;height:44px;right:7px;top:6px}
@media(max-width:650px){.header .brand{gap:7px}.header .brand-name{font-size:14px;line-height:21px}.header .brand-subject{font-size:14px;line-height:21px;padding:0 6px}.header .account-heading .account-portrait-button{width:48px;height:48px}.account-heading h2{font-size:14px;line-height:1.6}.account-panel{max-height:calc(100dvh - 95px);overflow-y:auto;overscroll-behavior:contain}.auth-dialog-avatar{width:56px;height:56px}#site-action-dialog .dialog-inner{padding:26px 20px max(22px,env(safe-area-inset-bottom))}#site-action-dialog h2{font-size:22px;line-height:1.5;padding-right:42px;margin-bottom:16px}.bookmark-device{font-size:12px}.bookmark-guide>p,.bookmark-alternative{font-size:14px;line-height:1.8}.bookmark-steps li{font-size:14px;line-height:1.8}.bookmark-understood{min-height:46px}.home-feature-row .announcement-carousel{height:auto;min-height:0;aspect-ratio:auto;align-self:start}.home-feature-row .announcement-poster{height:auto;aspect-ratio:2170/725}.simple-wecom-contact .wecom-contact-qr{width:230px}}

.simple-wecom-contact p{line-height:1.9}.simple-wecom-contact p strong{display:inline-block;font-size:15px;font-weight:500;color:#344e73}

/* Small color-coded school facts, shared by school and exam cards. */
.school-card-tags .tag-kind{background:#eef1ff;color:#3d57b7}.school-card-tags .tag-tier-985{background:#fff0f2;color:#a54c5e}.school-card-tags .tag-tier-211{background:#fff4df;color:#956c27}.school-card-tags .tag-tier-general{background:#eaf6f0;color:#3f7963}.school-card-tags .tag-tier-research{background:#f3edfb;color:#7c59a1}.school-card-tags .tag-assessment{background:#f0ebfc;color:#7252a4}.school-card-tags .tag-year{background:#edf3fa;color:#5d7897}.school-card-tags .tag-subject{background:#eaf6fa;color:#3e7892}

/* HOT remains a clear, static red label. */
.hot-badge{isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#f56358,#e64959);animation:none;transform:none}
.hot-badge:not(.nav-hot){position:relative}
.hot-badge::before,.hot-badge::after{content:none;animation:none}
@media(max-width:1100px){.header nav .nav-hot{position:relative}}
/* Color stays within the existing circular column icons. */
.home-hub .entry-icon{isolation:isolate;overflow:hidden;animation:column-icon-breathe 3.6s ease-in-out infinite}
.home-hub .entry-icon::after{content:"";position:absolute;inset:-25%;pointer-events:none;background:linear-gradient(110deg,transparent 33%,#ffffff00 39%,#ffffff80 50%,#ffffff00 61%,transparent 67%);transform:translateX(-120%);animation:column-icon-shine 5.4s ease-in-out infinite}
.home-hub .entry-card:nth-child(2n) .entry-icon{animation-delay:-.8s}.home-hub .entry-card:nth-child(3n) .entry-icon{animation-delay:-1.6s}
.home-hub .entry-card:nth-child(2n) .entry-icon::after{animation-delay:-1.1s}.home-hub .entry-card:nth-child(3n) .entry-icon::after{animation-delay:-2.2s}.home-hub .entry-card:nth-child(4n) .entry-icon::after{animation-delay:-3.3s}
@keyframes column-icon-breathe{0%,100%{box-shadow:0 0 0 0 transparent,0 4px 10px var(--icon-shadow)}50%{box-shadow:0 0 0 4px color-mix(in srgb,var(--icon-accent) 12%,transparent),0 6px 15px var(--icon-shadow)}}
@keyframes column-icon-shine{0%,60%{transform:translateX(-120%)}83%,100%{transform:translateX(120%)}}
/* The three header controls share the account button's blue palette. */
.header .site-contact-button,.header .site-bookmark-button,.header .account-toggle{color:#5365b1;background:#f0f3ff;border-color:#d1d9f3;box-shadow:0 2px 0 #dce1f1,inset 0 1px 0 #fff}
.header .site-contact-button:hover,.header .site-bookmark-button:hover,.header .account-toggle:hover,.header .account-toggle[aria-expanded="true"]{color:#354c9b;background:#e5eaff;border-color:#aab9e8}
.header .site-contact-button:focus-visible,.header .site-bookmark-button:focus-visible,.header .account-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.hot-badge,.hot-badge::before,.hot-badge::after,.home-hub .entry-icon,.home-hub .entry-icon::after{animation:none}.hot-badge::before,.hot-badge::after,.home-hub .entry-icon::after{display:none}}

/* The headline keeps one clear line, with a restrained focus on optics. */
.home-search-area .home-title{font-size:clamp(26px,2.5vw,34px);font-weight:750;line-height:1.45;letter-spacing:.025em;color:#203a63;margin-bottom:22px;text-wrap:balance}
.home-title-focus{position:relative;display:inline-block;isolation:isolate;margin-inline:2px;color:#2358c7;background:linear-gradient(115deg,#1c4ba2,#286dea 62%,#3156af);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.home-title-focus::after{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:.08em;height:.14em;border-radius:999px;background:linear-gradient(90deg,#7aa3f333,#63b5d23b,#7aa3f333)}
@media(max-width:650px){.home-search-area .home-title{font-size:clamp(22px,5.8vw,25px);line-height:1.55;letter-spacing:.005em;margin-bottom:18px}.home-title-focus{margin-inline:1px}}
@media(forced-colors:active){.home-title-focus{background:none;-webkit-text-fill-color:currentColor}.home-title-focus::after{display:none}}

/* The study card catches a soft light; its consultation button gently presses down. */
.consult-card,.home-community .consult-card{background-image:linear-gradient(112deg,transparent 36%,#c7dbff08 43%,#ffffff18 50%,#c7dbff08 57%,transparent 64%);background-size:260% 100%;background-repeat:no-repeat;background-position:200% 0;animation:study-card-polish 2.5s ease-in-out infinite}
.consult-card .button[data-consult]{box-shadow:0 5px 0 #a8bad5;animation:study-consult-press .9s ease-in-out infinite;transform:translateY(0)}
.consult-card .button[data-consult]:hover,.consult-card .button[data-consult]:focus-visible{animation-play-state:paused}
.consult-card .button[data-consult]:active{animation:none;transform:translateY(3px);box-shadow:0 2px 0 #a8bad5}
@keyframes study-card-polish{0%,10%{background-position:200% 0}80%,100%{background-position:-100% 0}}
@keyframes study-consult-press{0%,38%,100%{transform:translateY(0);box-shadow:0 5px 0 #a8bad5}50%,64%{transform:translateY(3px);box-shadow:0 2px 0 #a8bad5}82%{transform:translateY(0);box-shadow:0 5px 0 #a8bad5}}
@media(prefers-reduced-motion:reduce){.consult-card,.home-community .consult-card,.consult-card .button[data-consult]{animation:none}.consult-card,.home-community .consult-card{background-image:none}.consult-card .button[data-consult]{transform:none}}

/* Mobile consultation placement and heat details */
.home-mobile-consult-slot{display:none}
.consult-card-stack { display: grid; gap: 18px; min-width: 0; }
.consult-card-stack > .consult-card { width: 100%; margin: 0; }
.shared-course-mall {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 320px;
  padding: 24px 20px;
  border: 2px solid #71533d;
  border-radius: 18px;
  background: #fff8e9;
  color: #4e3528;
  text-align: center;
  text-decoration: none;
  box-shadow: 4px 5px 0 #e9cfaa;
}
.shared-course-mall .course-mall-art {
  display: block;
  width: min(142px, 75%);
  height: auto;
  margin-block: auto 2px;
  border-radius: 50%;
}
.shared-course-mall h2 {
  margin: 0;
  color: inherit;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  text-wrap: balance;
}
.shared-course-mall .course-entry-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 9px;
  border: 1px solid #bc5d25;
  border-radius: 11px;
  background: #d66b2d;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 5px 0 #a74b1c;
}
.shared-course-mall .course-entry-action > span { white-space: nowrap; }
.shared-course-mall .course-entry-action svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shared-course-mall:hover { color: #4e3528; text-decoration: none; }
.shared-course-mall:hover .course-entry-action { background: #bf5922; }
.shared-course-mall:active .course-entry-action { transform: translateY(3px); box-shadow: 0 2px 0 #a74b1c; }
.shared-course-mall:focus-visible { outline: 3px solid #3877c8; outline-offset: 4px; }
.heat-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}.heat-breakdown strong{color:#233858;font-weight:700}.heat-breakdown span{color:#526783;font-size:13px}#site-action-dialog .heat-explanation{color:#61748d;font-size:13px;line-height:1.8}
@media(max-width:767px){.home-mobile-consult-slot{display:block;min-width:0}.home-mobile-consult-slot>.consult-card{width:100%;margin:0}.home-community-sidebar:empty{display:none}.school-rank-list .pdf-rank svg{display:block;width:14px;height:18px;flex:0 0 14px;opacity:1}}

/* YANYI_RANKING_FLAME_42: restore the shared TOP ranking tiers from the approved design. */
.school-rank-list .pdf-rank svg,.popular-pdf-list .pdf-rank svg{display:block;width:10px;height:13px;flex:0 0 10px;color:inherit;opacity:1;transform-box:fill-box;transform-origin:50% 88%;filter:none;animation:none}
.school-rank-list .pdf-rank-1 svg,.popular-pdf-list .pdf-rank-1 svg{width:16px;height:21px;flex:0 0 16px;filter:drop-shadow(0 1px 2px #e13d3133);animation:rank-flame-blaze .78s ease-in-out infinite}
.school-rank-list .pdf-rank-2 svg,.popular-pdf-list .pdf-rank-2 svg{width:14px;height:18px;flex:0 0 14px;animation:rank-flame-dance 1.08s ease-in-out -.31s infinite}
.school-rank-list .pdf-rank-3 svg,.popular-pdf-list .pdf-rank-3 svg{width:12px;height:15px;flex:0 0 12px;animation:rank-flame-ember 1.55s ease-in-out -.63s infinite}
@media(prefers-reduced-motion:reduce){.school-rank-list .pdf-rank svg,.popular-pdf-list .pdf-rank svg{animation:none;transform:none;filter:none}}

/* PDF library and the compact team entrance. */
.site-join-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.pdf-library-card.free-resource-card.has-free-cover .free-card-main{grid-template-columns:80px minmax(0,1fr)}
.pdf-library-card.free-resource-card .free-card-main>.pdf-library-avatar{position:relative;display:block;width:80px;height:80px;margin:0;border-radius:50%;overflow:hidden;background:#fff}
.pdf-library-card .pdf-library-avatar>.pdf-library-logo{position:absolute;display:block;left:50%;top:50%;width:225%;max-width:none;height:auto;transform:translate(-50%,-50%);object-fit:contain;filter:none;opacity:1;image-rendering:auto}
.pdf-library-card.free-resource-card.has-free-cover>.content-action-bar{margin-left:96px}
@media(max-width:650px){.pdf-library-card.free-resource-card.has-free-cover .free-card-main{grid-template-columns:56px minmax(0,1fr)}.pdf-library-card.free-resource-card .free-card-main>.pdf-library-avatar{width:56px;height:56px}.pdf-library-card.free-resource-card.has-free-cover>.content-action-bar{margin-left:68px}}
.pdf-library-author{color:var(--muted);font-size:14px}.entry-pdfs{--icon-start:#8c9bff;--icon-accent:#586cdb;--icon-shadow:#697de323}.cms-item-actions{flex-wrap:wrap}.cms-item-actions button:disabled{opacity:.4;cursor:not-allowed}

.consult-card-stack>.consult-card{height:auto;min-height:0;padding:24px 26px}
.consult-card-stack>.consult-card h3{margin:0 0 20px}
.consult-card-stack>.consult-card .eyebrow{margin-bottom:12px}
