@charset "UTF-8";
/* 风景门户主题：所有选择器限定当前主题，其他模板和后台保持各自样式。 */
.aurora-portal{--ink:#192232;--canvas:#f6f7ff;--surface:#fff;--line:#eaeafa;--portal-muted:#88909e;background:linear-gradient(135deg,#f5f4ff,#f8f9ff 65%,#f4f7ff);color:var(--ink);font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}
.portal-svg-library{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.portal-header{position:relative;z-index:30;background:#ffffffeb;border-bottom:1px solid #edecfa}
.portal-header-inner{width:calc(100% - 7.2vw);max-width:1860px;margin:auto;height:78px;display:flex;align-items:center;gap:22px}
.portal-brand{display:flex;align-items:center;gap:12px;color:#101f30;font-size:24px;font-weight:800;white-space:nowrap;letter-spacing:.7px}
.portal-brand .site-brand-mark{height:42px;width:42px;border-radius:15px;background:linear-gradient(145deg,#79c9ff,#6457ff);box-shadow:0 3px 9px #7060e333;font-size:24px;transform:rotate(-5deg)}
.portal-brand .site-brand-logo{width:42px;height:42px}
.portal-brand-caption{font-size:14px;color:#455063;max-width:230px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.portal-nav{display:flex;align-items:center;gap:45px;position:absolute;left:50%;transform:translateX(-50%);height:100%;white-space:nowrap}
.portal-nav a{font-size:18px;position:relative;line-height:78px}
.portal-nav a.active:after{content:"";position:absolute;bottom:13px;left:0;right:0;height:3px;border-radius:3px;background:currentColor}
.portal-header-actions{display:flex;align-items:center;gap:15px;margin-left:auto}
.portal-icon-button{width:46px;height:44px;border:0;border-radius:18px;background:#f1f2fc;color:#647084;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.portal-icon-button svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.portal-icon-button .icon{width:23px;height:23px}
.portal-login{display:inline-flex;align-items:center;justify-content:center;min-width:95px;height:47px;border:1px solid #fff;border-radius:28px;background:linear-gradient(#fff,#efedff);color:#6454ef;font-size:16px;font-weight:600;box-shadow:0 2px 9px #5e4bae18;padding:0 23px;white-space:nowrap}
.portal-mobile-menu{display:none}
.portal-mobile-nav[hidden]{display:none}
.portal-mobile-nav{padding:12px 20px;background:#fff;display:flex;flex-wrap:wrap;gap:15px;border-top:1px solid var(--line);font-size:13px}
.portal-home .portal-header{position:absolute;inset:0 0 auto;background:transparent;border:0}
.portal-home .portal-nav{color:#fff;text-shadow:0 1px 8px #2e497250}
.portal-home .portal-icon-button{background:#ffffff1f;color:#fff;backdrop-filter:blur(10px)}
.portal-hero{height:475px;background:#9aaaca url("images/skyline.webp") center center/cover no-repeat;position:relative}
.portal-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#d4dbf514,transparent 45%,#143c6510);pointer-events:none}
.portal-hero-inner{width:calc(100% - 7.2vw);max-width:1860px;margin:auto;height:100%;position:relative;z-index:1;padding-top:112px}
.portal-hero-center{width:min(46vw,855px);margin:0 auto;text-align:center;color:#fff}
.portal-hero-center h1{font-size:54px;font-weight:900;letter-spacing:5px;font-style:italic;text-shadow:0 3px 5px #354f7c37;margin:0 0 12px;line-height:1.35}
.portal-hero-subtitle{font-size:21px;letter-spacing:1px;margin:0 0 24px;color:#ffffffed;text-shadow:0 1px 4px #38527930}
.portal-search{height:77px;background:#ffffffeb;border:3px solid #ffffffb8;border-radius:33px;padding:7px;display:flex;align-items:center;gap:15px;box-shadow:0 9px 30px #263f5e19;position:relative;backdrop-filter:blur(15px);text-align:left}
.portal-search>.icon{margin-left:17px;width:27px;height:27px;color:#5c44f6}
.portal-search input{min-width:0;flex:1;font-size:17px;letter-spacing:.5px;border:0;outline:none;background:transparent;color:#31374e}
.portal-search input::placeholder{color:#828697}
.portal-search>button,.portal-space-button{border:0;color:#fff;background:linear-gradient(110deg,#a16bff,#416eff);box-shadow:0 3px 10px #7762f336;border-radius:27px;font-size:17px;letter-spacing:1px}
.portal-search>button{height:55px;padding:0 47px;flex-shrink:0}
.portal-search .suggestions{top:calc(100% + 10px);border-radius:20px;padding:12px;color:#28324b;box-shadow:0 12px 38px #27395629}
.portal-search .suggestions a{font-size:14px;padding:10px}
.portal-hot-search{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:20px;font-size:15px;white-space:nowrap}
.portal-hot-search>span{font-weight:500;text-shadow:0 1px 5px #2d3b54}
.portal-hot-search a{border-radius:25px;padding:4px 18px;background:#ffffff24;backdrop-filter:blur(9px);box-shadow:inset 0 1px 0 #ffffff13;transition:background .15s;max-width:140px;overflow:hidden;text-overflow:ellipsis}
.portal-hot-search a:hover{background:#ffffff47;color:#fff}
.portal-clock{position:absolute;left:0;top:111px;width:242px;height:269px;border-radius:22px;background:linear-gradient(145deg,#ffffff24,#6784a524);color:#fff;border:1px solid #ffffff1f;padding:22px;backdrop-filter:blur(9px);box-shadow:0 7px 20px #364c6810}
.portal-clock-date{display:inline-flex;background:#27344e36;border-radius:18px;padding:5px 10px;font-size:15px;position:relative;z-index:2}
.portal-clock-time{font-size:61px;line-height:1.2;font-weight:700;letter-spacing:-2px;display:block;margin-top:5px;text-shadow:0 2px 6px #ffffff24}
.portal-clock p{font-size:16px;line-height:1.8;margin-top:14px;letter-spacing:.4px}
.portal-clock p span{color:#ffe071}
.portal-clock-weather{position:absolute;top:41px;right:23px;width:52px;height:43px}
.portal-sun{position:absolute;right:0;top:0;width:33px;height:33px;border-radius:50%;background:#ffd263;box-shadow:0 0 0 6px #ffd26320}
.portal-cloud{position:absolute;left:0;bottom:0;width:43px;height:23px;border-radius:16px;background:#fff;box-shadow:0 2px 4px #536aa81a}
.portal-cloud:before{content:"";position:absolute;left:8px;top:-11px;width:25px;height:25px;border-radius:50%;background:#fff}
.portal-main{width:calc(100% - 7.2vw);max-width:1860px;margin:auto;padding:30px 0 0;min-width:0}
.portal-home .portal-main{padding-top:0;position:relative;z-index:3;margin-top:-55px}
.portal-categories{display:flex;align-items:center;justify-content:space-around;gap:10px;min-height:132px;padding:22px 24px;background:linear-gradient(135deg,#fffefcf5,#ffffffed);border:2px solid #fff;box-shadow:0 3px 12px #7775d817,inset 0 0 30px #efecff30;border-radius:20px;scroll-margin-top:20px}
.portal-category{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;flex:1;min-width:0;color:#172032;font-size:15px;font-weight:550;text-align:center;line-height:1.4;transition:transform .15s}
.portal-category:hover{transform:translateY(-4px);color:var(--brand)}
.portal-3d-icon{width:43px;height:43px;overflow:visible;filter:drop-shadow(0 3px 3px #696fcd1a);flex-shrink:0}
.portal-feature-row{display:grid;grid-template-columns:minmax(0,3.5fr) repeat(4,minmax(0,1fr)) minmax(0,2.5fr);gap:20px;margin:25px 0 36px}
.portal-space-card,.portal-quote-card,.portal-shortcut{border-radius:18px;min-height:197px;overflow:hidden;box-shadow:0 3px 8px #6f74bb0d}
.portal-space-card{background:#080b1d url("images/astronaut.webp") center/cover no-repeat;position:relative;color:#fff;padding:35px 30px}
.portal-space-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#080b1d00,#080b1d00);pointer-events:none}
.portal-space-card>div{position:relative;z-index:1}
.portal-space-card h2{font-size:27px;font-weight:700;line-height:1.4;letter-spacing:1px;margin:0 0 9px}
.portal-space-card p{font-size:20px;margin:0 0 16px}
.portal-space-button{display:inline-flex;align-items:center;gap:9px;font-size:15px;padding:7px 20px;letter-spacing:0;line-height:1.5}
.portal-space-button .icon{width:19px;height:19px}
.portal-space-card:hover{color:#fff}
.portal-shortcut{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border:2px solid #fff;background:linear-gradient(#f0f8ff,#fff);padding:16px 10px;gap:13px;transition:transform .15s}
.portal-shortcut:hover{transform:translateY(-4px);color:inherit}
.portal-shortcut .portal-3d-icon{width:38px;height:38px}
.portal-shortcut h2{font-size:19px;font-weight:650;margin:6px 0 0;white-space:nowrap}
.portal-shortcut p{font-size:14px;margin:0;color:#9298a4;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-shortcut.tone-cyan{background:linear-gradient(#ecfafb,#fff)}
.portal-shortcut.tone-pink{background:linear-gradient(#fff0f8,#fff)}
.portal-shortcut.tone-orange{background:linear-gradient(#fff6ee,#fff)}
.portal-shortcut.tone-orange use{filter:hue-rotate(-150deg)}
.portal-quote-card{background:#f0e9fc url("images/city-moment.webp") center/cover no-repeat;position:relative;padding:43px 30px;color:#3d4868}
.portal-quote-card p{position:relative;font-size:22px;line-height:1.7;margin:0 0 0 36px;letter-spacing:1px;white-space:nowrap}
.portal-quote-card p span{color:#ffca58}
.portal-quote-mark{position:absolute;left:23px;top:8px;font-size:65px;line-height:1;font-family:Georgia,serif;color:#ffffffa1}
.portal-section-heading{display:flex;align-items:center;gap:20px;margin-bottom:19px;min-height:35px}
.portal-section-heading h2{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:750;white-space:nowrap;margin:0}
.portal-section-heading h3{font-size:19px;font-weight:650;margin:0}
.portal-section-heading>a{font-size:14px;color:#7e8796;display:inline-flex;align-items:center;gap:6px;margin-left:auto;white-space:nowrap}
.portal-section-heading>a .icon{width:16px;height:16px}
.portal-title-icon{width:28px;height:28px;flex-shrink:0;filter:drop-shadow(0 2px 1px #ffbc3f24)}
.portal-filter-tabs{display:flex;align-items:center;gap:15px;margin-left:auto;justify-content:center;flex:1;white-space:nowrap;min-width:0}
.portal-filter-tabs a{font-size:14px;color:#9095a0;padding:6px 13px;border:1px solid transparent;border-radius:25px}
.portal-filter-tabs a.active{border-color:#d7d6fa;background:#ffffff80;color:#5c6297;box-shadow:inset 0 0 0 1px #e9e6ff}
.portal-filter-tabs a:hover{color:var(--brand);background:#fff}
.portal-refresh svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.portal-popular-viewport{overflow:hidden;overflow:clip;position:relative;padding:4px;margin:-4px;isolation:isolate}
.portal-popular-track{display:flex;align-items:flex-start;width:100%;position:relative}
.portal-popular-panel{flex:0 0 100%;width:100%;min-width:0}
.portal-popular-panel[inert]{pointer-events:none}
.portal-popular-viewport[aria-busy="true"]{cursor:progress}
.portal-popular .portal-filter-tabs a.is-pending{color:var(--brand);border-color:var(--brand)}
.portal-popular.is-loading .portal-refresh svg{animation:portal-popular-loading .85s linear infinite}
@keyframes portal-popular-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.portal-popular.is-loading .portal-refresh svg{animation:none}}
.portal-sites-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 18px}
.portal-site{min-width:0;display:flex;align-items:center;gap:15px;height:83px;background:#ffffffed;border-radius:15px;border:1px solid #ffffffd9;padding:15px 17px;box-shadow:0 3px 12px #7984be04;transition:transform .15s,box-shadow .15s}
.portal-site:hover{color:inherit;transform:translateY(-3px);box-shadow:0 8px 24px #7064ca13;border-color:#dfddff}
.portal-site-logo{width:47px;height:47px;border-radius:12px;flex-shrink:0;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#729eff,#6761ed);color:#fff;font-size:23px;font-weight:700}
.portal-site:nth-child(5n+2) .portal-site-logo{background:linear-gradient(145deg,#5abdf6,#4285fe)}
.portal-site:nth-child(5n+3) .portal-site-logo{background:linear-gradient(145deg,#ffa5c2,#ff4a93)}
.portal-site:nth-child(5n+4) .portal-site-logo{background:linear-gradient(145deg,#77cfb9,#35a77a)}
.portal-site:nth-child(5n+5) .portal-site-logo{background:linear-gradient(145deg,#b09dff,#8551ed)}
.portal-site-logo img{width:100%;height:100%;object-fit:contain;background:#fff}
.portal-site-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.portal-site-info strong{font-size:17px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}
.portal-site-info>span{font-size:14px;color:#939ba8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-empty{display:flex;align-items:center;gap:25px;padding:28px 30px;border:1px dashed #dcdcf3;border-radius:16px;background:#ffffff86;min-height:130px}
.portal-empty strong{font-size:17px;font-weight:600}
.portal-empty p{font-size:13px;color:#949aae;margin:8px 0 0}
.portal-empty>a{margin-left:auto;white-space:nowrap}
.portal-bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;margin-top:24px}
.portal-list-panel{border:2px solid #fff;border-radius:20px;background:linear-gradient(120deg,#f4faffd4,#f1edffe6);padding:20px 22px;min-width:0;box-shadow:0 1px 5px #7077d405}
.portal-list-panel .portal-section-heading{margin-bottom:17px}
.portal-list-panel .portal-section-heading h2{font-size:21px;gap:9px}
.portal-mini-sites{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.portal-mini-sites .portal-site{height:72px;padding:12px;gap:11px;background:#ffffffb0;border-radius:12px}
.portal-mini-sites .portal-site-logo{width:36px;height:36px;border-radius:9px;font-size:19px}
.portal-mini-sites .portal-site-info strong{font-size:14px}
.portal-mini-sites .portal-site-info>span{font-size:11px}
.portal-new-icon{display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:8px;width:23px;height:25px;border-radius:4px;background:linear-gradient(#81d7ff,#4693ff);box-shadow:2px 2px 0 #b8cbff;transform:rotate(-3deg)}
.portal-new-badge{font-size:9px;display:inline-block;font-weight:500;background:#ff7d9d;color:#fff;border-radius:11px;padding:3px 7px;margin-left:4px}
.portal-panel-empty{grid-column:1/-1;padding:18px 0 24px;color:#9399ae;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.portal-panel-empty a{color:#7363df;white-space:nowrap}
.portal-announcement{display:flex;align-items:center;gap:12px;font-size:13px;padding:15px 20px;margin:24px 0;border:1px solid #e8e7f9;border-radius:14px;background:#ffffff70;color:#818ca4}
.portal-announcement .icon{color:#9291dc;width:17px}
.portal-announcement span{margin-left:auto;color:#a2a9b7}
.portal-category-directory{margin-top:30px}
.portal-category-block{margin-bottom:25px}
.portal-category-block>.portal-section-heading{margin-bottom:13px}
.aurora-portal .friends-inline{margin-top:35px}
.aurora-portal .front-footer{padding:25px 0 30px;gap:20px}
.aurora-portal .front-footer,.aurora-portal .friends-inline{font-size:12px}
.aurora-portal .page-intro{margin-top:12px}
.aurora-portal .page-intro h1{font-size:30px}
.aurora-portal .sites-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.aurora-portal .portal-main>.page-intro{background:#ffffffa1;border:1px solid #fff;border-radius:20px;padding:30px}
.aurora-portal .portal-main>.page-intro .hero-search{margin-top:22px;max-width:800px}
.aurora-portal .banner-slot{display:block!important;width:100%!important;max-width:none!important;margin:0 0 26px!important;padding:0!important;box-sizing:border-box!important}.aurora-portal .banner-slot .banner-ad{display:block!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:20px!important;box-sizing:border-box!important;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px!important;line-height:0!important;text-align:center!important}.aurora-portal .banner-slot .banner-ad img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:900/160;object-fit:cover!important;border-radius:8px!important}
.aurora-portal .portal-brand:focus-visible,.aurora-portal a:focus-visible,.aurora-portal button:focus-visible{outline:3px solid #9c87ff;outline-offset:4px}
/* 深色偏好是用户本地显示设置，不影响站点后台模板选择。 */
.aurora-portal.portal-dark{--ink:#e5e9f6;--canvas:#151a2a;--surface:#20273b;--line:#353b52;background:#151a2a;color:var(--ink)}
.portal-dark .portal-header{background:#20273b;border-color:#353b52}
.portal-dark.portal-home .portal-header{background:transparent}
.portal-dark.portal-home .portal-brand{color:#101f30}.portal-dark.portal-home .portal-brand-caption{color:#455063}
.portal-dark .portal-brand{color:#e5e9f6}.portal-dark .portal-brand-caption{color:#acb5c9}
.portal-dark .portal-categories,.portal-dark .portal-list-panel,.portal-dark .portal-shortcut,.portal-dark .portal-site,.portal-dark .portal-empty,.portal-dark .portal-announcement,.portal-dark .portal-main>.page-intro{background:#20273b;border-color:#353b52}
.portal-dark .portal-category,.portal-dark .portal-shortcut h2{color:#e5e9f6}.portal-dark .portal-filter-tabs a.active{background:#343957;border-color:#62618a;color:#ded7ff}
.portal-dark .form-control,.portal-dark .form-select{background:#20273b;border-color:#454b67;color:#e5e9f6}
.portal-dark .form-label{color:#b6bfd4}
.portal-dark .modal-content{background:#20273b;color:#e5e9f6}.portal-dark .portal-announcement{color:#bac4dd}
@media(max-width:1650px){
 .portal-header-inner{gap:18px}.portal-brand{font-size:21px}.portal-brand-caption{max-width:170px;font-size:12px}.portal-nav{gap:28px}.portal-nav a{font-size:16px}
 .portal-hero{height:430px}.portal-hero-inner{padding-top:111px}.portal-hero-center{width:52vw;max-width:850px}.portal-hero-center h1{font-size:46px}.portal-hero-subtitle{font-size:17px}.portal-search{height:67px;border-radius:28px}.portal-search>button{height:49px;padding:0 35px}.portal-clock{width:205px;height:235px;top:106px;padding:18px}.portal-clock-time{font-size:52px}.portal-clock p{font-size:14px}.portal-clock-date{font-size:13px}.portal-clock-weather{right:14px;top:40px;transform:scale(.85)}
 .portal-hot-search{font-size:12px;gap:8px}.portal-hot-search a{padding:5px 12px}.portal-categories{min-height:113px}.portal-category{font-size:13px}.portal-3d-icon{width:36px;height:36px}
 .portal-feature-row{gap:15px;margin-top:23px;margin-bottom:28px}.portal-space-card,.portal-quote-card,.portal-shortcut{min-height:170px;border-radius:15px}.portal-space-card{padding:27px 23px}.portal-space-card h2{font-size:22px}.portal-space-card p{font-size:16px}.portal-space-button{font-size:13px;padding:5px 15px}.portal-shortcut{gap:10px}.portal-shortcut h2{font-size:16px}.portal-shortcut p{font-size:12px}.portal-quote-card{padding:35px 19px}.portal-quote-card p{font-size:17px;margin-left:22px}
 .portal-section-heading h2{font-size:21px}.portal-filter-tabs{gap:2px}.portal-filter-tabs a{font-size:12px;padding:5px 10px}.portal-site{gap:12px;height:77px;padding:14px}.portal-site-logo{width:39px;height:39px;border-radius:10px}.portal-site-info strong{font-size:14px}.portal-site-info>span{font-size:12px}.portal-sites-grid{gap:15px}.portal-mini-sites{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
 .portal-brand-caption{display:none}.portal-header-inner{gap:18px}.portal-nav{gap:25px}.portal-brand{font-size:19px}.portal-header-actions{gap:9px}.portal-icon-button{width:37px;height:37px;border-radius:14px}.portal-login{min-width:75px;height:40px;font-size:14px;padding:0 17px}
 .portal-clock{width:170px;height:218px;padding:15px;top:116px}.portal-clock-time{font-size:47px}.portal-clock-weather{transform:scale(.7);right:4px}.portal-clock p{font-size:12px}.portal-hero-center{width:58vw;margin-left:25%}.portal-hero-center h1{font-size:40px}
 .portal-feature-row{grid-template-columns:2.5fr repeat(4,1fr)}.portal-quote-card{display:none}.portal-space-card h2{font-size:19px}.portal-shortcut h2{font-size:14px}.portal-sites-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-filter-tabs a:nth-last-child(-n+2){display:none}.aurora-portal .sites-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
 .portal-nav{gap:17px}.portal-nav a{font-size:14px}.portal-header-inner{gap:14px}.portal-brand{font-size:17px}.portal-brand .site-brand-mark,.portal-brand .site-brand-logo{width:35px;height:35px;font-size:21px}.portal-header-actions>.portal-icon-button:first-child{display:none}
 .portal-clock{display:none}.portal-hero-center{margin:auto;width:min(85vw,720px)}.portal-hero-center h1{font-size:40px}.portal-hero{height:400px}.portal-hero-inner{padding-top:115px}.portal-categories{gap:8px;padding:20px 12px}.portal-category{font-size:12px}.portal-category .portal-3d-icon{width:32px;height:32px}
 .portal-feature-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.portal-space-card{grid-column:1/-1;min-height:170px;background-position:center 46%;background-size:cover}.portal-space-card h2{font-size:25px}.portal-space-card p{font-size:16px}.portal-shortcut{min-height:145px}.portal-shortcut h2{font-size:17px}.portal-shortcut p{font-size:12px}.portal-section-heading{flex-wrap:wrap;gap:12px}.portal-filter-tabs{order:3;width:100%;justify-content:flex-start;flex:initial;overflow-x:auto;scrollbar-width:none}.portal-filter-tabs a:nth-last-child(-n+2){display:inline-block}.portal-sites-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-bottom-grid{grid-template-columns:1fr 1fr;gap:16px}.portal-mini-sites{grid-template-columns:1fr}.aurora-portal .sites-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
 .portal-header-inner{width:calc(100% - 32px);height:68px;gap:10px}.portal-brand{font-size:17px;letter-spacing:0;gap:8px;min-width:0;max-width:calc(100% - 140px)}.portal-brand>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.portal-brand .site-brand-mark,.portal-brand .site-brand-logo{width:32px;height:32px;border-radius:11px;font-size:20px}
 .portal-nav{display:none}.portal-header-actions{margin-left:auto;gap:7px}.portal-mobile-menu{display:inline-flex}.portal-header-actions>.portal-icon-button:first-child{display:none}.portal-icon-button{width:32px;height:32px;border-radius:11px}.portal-icon-button svg{width:19px;height:19px}.portal-login{height:34px;min-width:57px;font-size:12px;padding:0 12px}.portal-mobile-nav{position:absolute;top:64px;left:16px;right:16px;border:1px solid #e9e7fc;border-radius:15px;box-shadow:0 10px 25px #23375e24;color:#3e4864;gap:0;overflow:hidden;padding:8px}.portal-mobile-nav a{width:50%;padding:12px}
 .portal-hero{height:350px;background-position:65% center}.portal-hero-inner{width:calc(100% - 32px);padding-top:105px}.portal-hero-center{width:100%}.portal-hero-center h1{font-size:31px;letter-spacing:2px;margin-bottom:10px}.portal-hero-subtitle{font-size:12px;letter-spacing:0;margin-bottom:22px}.portal-search{height:56px;border-radius:24px;padding:5px;border-width:2px;gap:7px}.portal-search>.icon{width:21px;height:21px;margin-left:9px}.portal-search input{font-size:13px;width:30px}.portal-search>button{height:42px;font-size:13px;padding:0 21px;border-radius:19px}.portal-hot-search{font-size:12px;gap:6px;margin-top:14px;justify-content:flex-start;flex-wrap:wrap;white-space:normal;overflow:visible;max-height:none}.portal-hot-search>span{flex-shrink:0}.portal-hot-search a{padding:4px 10px;max-width:90px;flex-shrink:0}.portal-hot-search a:nth-of-type(n+4){display:none}
 .portal-main{width:calc(100% - 28px);padding-top:20px}.portal-home .portal-main{margin-top:-31px}.portal-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 5px;padding:21px 9px;min-height:unset;border-radius:17px}.portal-category{font-size:11px;gap:9px}.portal-category .portal-3d-icon{width:32px;height:32px}
 .portal-feature-row{margin-top:18px;margin-bottom:24px;gap:9px}.portal-space-card{min-height:161px;padding:25px 20px}.portal-space-card h2{font-size:22px;letter-spacing:0}.portal-space-card p{font-size:14px}.portal-space-button{font-size:12px}.portal-shortcut{min-height:126px;padding:13px 4px;gap:8px;border-width:1px;border-radius:13px}.portal-shortcut h2{font-size:12px;margin-top:2px}.portal-shortcut p{font-size:9px}.portal-shortcut .portal-3d-icon{width:29px;height:29px}
 .portal-section-heading{gap:10px;margin-bottom:13px}.portal-section-heading h2{font-size:19px;gap:7px}.portal-title-icon{width:23px;height:23px}.portal-section-heading>a{font-size:11px}.portal-filter-tabs{gap:4px;margin-top:2px}.portal-filter-tabs a{font-size:11px;padding:5px 11px}.portal-sites-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portal-site{height:73px;padding:11px 10px;gap:9px;border-radius:12px}.portal-site-logo{width:34px;height:34px;font-size:19px;border-radius:9px}.portal-site-info strong{font-size:12px}.portal-site-info>span{font-size:10px}
 .portal-empty{padding:22px 16px;gap:12px;flex-wrap:wrap}.portal-empty .portal-3d-icon{width:30px;height:30px}.portal-empty strong{font-size:14px}.portal-empty p{font-size:11px}.portal-empty>div{flex:1;min-width:200px}.portal-empty>a{font-size:11px;padding:7px 12px}
 .portal-bottom-grid{grid-template-columns:1fr;gap:16px;margin-top:20px}.portal-list-panel{padding:17px 14px;border-radius:16px}.portal-mini-sites{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portal-list-panel .portal-section-heading h2{font-size:18px}.portal-mini-sites .portal-site{gap:8px;padding:10px;height:65px}.portal-mini-sites .portal-site-logo{width:30px;height:30px}.portal-mini-sites .portal-site-info strong{font-size:12px}.portal-mini-sites .portal-site-info>span{font-size:10px}.portal-announcement{padding:13px;font-size:11px}.portal-announcement span{display:none}.portal-category-directory{margin-top:23px}.portal-category-block .portal-section-heading h3{font-size:16px}.aurora-portal .front-footer{flex-direction:column;font-size:10px;gap:13px;align-items:flex-start}.aurora-portal .footer-links{gap:15px}.aurora-portal .sites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aurora-portal .portal-main>.page-intro{padding:22px 16px}.aurora-portal .page-intro h1{font-size:25px}.portal-dark .portal-mobile-nav{background:#20273b;color:#e4e9f6;border-color:#353b52}
}

/* 已收录网站的精选快捷入口；不再把分类图标作为站点入口。 */
.portal-featured-badge{display:inline-flex;align-items:center;vertical-align:middle;margin-left:6px;padding:1px 5px;border:1px solid #d7d0ff;border-radius:5px;background:#eeeaff;color:#7560ce;font-size:10px;font-weight:500;line-height:1.4;letter-spacing:0;white-space:nowrap}
.portal-dark .portal-featured-badge{background:#39304f;border-color:#60517c;color:#d0baf8}
#portalRecommended,#portalFeatured{scroll-margin-top:95px}
.portal-recommendation{padding:0 5px;max-width:180px}
.portal-recommend-logo{width:46px;height:46px;border-radius:13px;box-shadow:0 4px 10px #6775a516;transition:transform .15s}
.portal-recommend-logo img{padding:5px}
.portal-recommendation:hover .portal-recommend-logo{transform:scale(1.06)}
.portal-recommend-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-category-directory{scroll-margin-top:25px}
@media(max-width:1024px){.portal-recommend-logo{width:39px;height:39px;border-radius:11px}}
@media(max-width:640px){.portal-recommendation{max-width:none}.portal-recommend-logo{width:38px;height:38px;border-radius:10px}.portal-recommend-logo img{padding:4px}}

/* Keep the complete uploaded brand image at its original aspect ratio. */
.portal-brand .site-brand-logo{width:auto;max-width:min(210px,100%);border-radius:0}

/* 首页图片广告：桌面三列等宽，保持图片主体和点击区域完整。 */
.portal-home .banner-slot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 28px}
.portal-home .banner-slot .banner-ad{min-width:0;margin:0;border:0;border-radius:14px;background:var(--surface,#fff);box-shadow:0 4px 16px #20294508;transition:transform .18s,box-shadow .18s}
.portal-home .banner-slot .banner-ad img{width:100%;height:auto;max-height:none;aspect-ratio:3.2/1;object-fit:cover;object-position:right center}
.portal-home .banner-slot .ad-label{max-width:calc(100% - 20px);right:10px;bottom:8px;padding:3px 7px;border-radius:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#10182780;color:#fff;font-size:10px;line-height:1.5}
.portal-home .banner-slot .banner-ad:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
@media(hover:hover){.portal-home .banner-slot .banner-ad:hover{transform:translateY(-2px);box-shadow:0 8px 24px #20294515}}
@media(max-width:991px){.portal-home .banner-slot{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:575px){.portal-home .banner-slot{grid-template-columns:minmax(0,1fr);gap:10px;margin:18px 0 24px}.portal-home .banner-slot .banner-ad{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.portal-home .banner-slot .banner-ad{transition:none}.portal-home .banner-slot .banner-ad:hover{transform:none}}

/* ===== 20261113 首页快捷推荐：修复 Logo 显示不全 + 搜索区下方排版可配置 ===== */
/* 原样式复用了 .portal-categories 的 min-height:132px 与 space-around，
   站点少时卡片被撑高、Logo 缩成小条，宽图更只剩一条细线。以下覆盖为卡片式排布。 */
.portal-recommendations{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:14px 12px;min-height:0;padding:20px 22px}
.portal-recommendation{display:flex;flex-direction:column;align-items:center;gap:9px;width:84px;max-width:84px;padding:8px 2px;border-radius:15px;transition:background .18s}
.portal-recommendation:hover{background:#f5f3ff}
.portal-recommend-logo{width:54px;height:54px;border-radius:15px;background:#fff;border:1px solid #eae7fb;box-shadow:0 4px 12px #6775a51f;overflow:hidden;display:flex;align-items:center;justify-content:center}
.portal-recommend-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:5px}
.portal-recommend-logo.is-wide{width:70px;height:46px;border-radius:11px}
.portal-recommend-logo.is-wide img{padding:3px 5px}
.portal-recommend-logo.is-tall{width:44px;height:56px;border-radius:12px}
.portal-recommend-name{font-size:12px;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1024px){
  .portal-recommend-logo{width:48px;height:48px}
  .portal-recommend-logo.is-wide{width:62px;height:42px}
  .portal-recommend-logo.is-tall{width:40px;height:50px}
  .portal-recommendation{width:76px;max-width:76px}
}
@media(max-width:640px){
  .portal-recommendations{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 8px;padding:16px 12px;min-height:0}.portal-recommendations .portal-recommendation:nth-child(n+9){display:none!important}
  .portal-recommendation{width:calc(25% - 8px);max-width:calc(25% - 8px);padding:6px 0;gap:7px}
  .portal-recommend-logo{width:44px;height:44px;border-radius:12px}
  .portal-recommend-logo img{padding:4px}
  .portal-recommend-logo.is-wide{width:56px;height:38px;border-radius:9px}
  .portal-recommend-logo.is-tall{width:36px;height:46px}
}
/* 紧凑横向排布 */
.portal-quick-compact .portal-recommendations{gap:10px;padding:16px 18px}
.portal-quick-compact .portal-recommendation{flex-direction:row;width:auto;max-width:230px;padding:8px 14px 8px 8px;background:#fff;border:1px solid #eeeafc;border-radius:14px;gap:10px}
.portal-quick-compact .portal-recommend-logo{width:34px;height:34px;border-radius:10px;box-shadow:none}
.portal-quick-compact .portal-recommend-logo.is-wide{width:46px;height:32px}
.portal-quick-compact .portal-recommend-logo.is-tall{width:30px;height:40px}
.portal-quick-compact .portal-recommend-name{max-width:160px;text-align:left}
/* 隐藏快捷推荐 */
.portal-quick-hidden .portal-recommendations{display:none!important}
/* 深色模式下的卡片底色 */
.portal-dark .portal-recommend-logo{background:#20273b;border-color:#353b52}
.portal-dark .portal-recommend-logo img{background:#20273b}
.portal-dark .portal-recommendation:hover{background:#232a40}
.portal-dark.portal-quick-compact .portal-recommendation{background:#20273b;border-color:#353b52}
/* ===== 2026-11-18 热门网站以下区域紧凑化（标题/卡片/间距整体收小） ===== */
.portal-bottom-grid{gap:18px;margin-top:18px}
.portal-bottom-grid .portal-list-panel{padding:15px 16px;border-radius:14px;border-width:1px}
.portal-bottom-grid .portal-section-heading{margin-bottom:12px;min-height:0;gap:12px}
.portal-bottom-grid .portal-section-heading h2{font-size:17px;gap:7px}
.portal-bottom-grid .portal-section-heading>a{font-size:12px}
.portal-bottom-grid .portal-new-icon{width:19px;height:21px;font-size:7px}
.portal-bottom-grid .portal-new-badge{font-size:8px;padding:2px 6px}
.portal-bottom-grid .portal-mini-sites{gap:9px}
.portal-bottom-grid .portal-mini-sites .portal-site{height:60px;padding:9px;gap:9px;border-radius:10px}
.portal-bottom-grid .portal-mini-sites .portal-site-logo{width:30px;height:30px;border-radius:8px;font-size:16px}
.portal-bottom-grid .portal-mini-sites .portal-site-info strong{font-size:13px}
.portal-bottom-grid .portal-mini-sites .portal-site-info>span{font-size:10px}
.portal-bottom-grid .portal-panel-empty{padding:12px 0 14px;font-size:12px}
.portal-announcement{font-size:12px;padding:11px 15px;margin:16px 0;border-radius:11px;gap:9px}
.portal-category-directory{margin-top:20px}
.portal-category-directory .portal-section-heading{margin-bottom:12px;min-height:0;gap:12px}
.portal-category-directory .portal-section-heading h2{font-size:18px;gap:8px}
.portal-category-directory .portal-title-icon{width:23px;height:23px}
.portal-category-directory .portal-section-heading h3{font-size:15px}
.portal-category-directory .portal-section-heading>a{font-size:12px}
.portal-category-block{margin-bottom:16px}
.portal-category-block>.portal-section-heading{margin-bottom:9px}
.portal-category-directory .portal-sites-grid{gap:10px 12px}
.portal-category-directory .portal-site{height:64px;padding:10px 12px;gap:11px;border-radius:12px}
.portal-category-directory .portal-site-logo{width:34px;height:34px;border-radius:9px;font-size:17px}
.portal-category-directory .portal-site-info strong{font-size:13px}
.portal-category-directory .portal-site-info>span{font-size:11px}
.aurora-portal .friends-inline{margin-top:22px}

@media(max-width:680px){
 .portal-bottom-grid .portal-mini-sites .portal-site{height:58px}
 .portal-category-directory .portal-site{height:64px}
}
/* ===== 2026-11-18 列表页 hero 右侧广告位 ===== */
.aurora-portal .portal-main>.page-intro.has-ad{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,680px);gap:26px;align-items:stretch}
.page-intro-ad{min-width:0;display:flex;align-items:stretch;height:100%}
.page-intro-ad-card{position:relative;display:flex;flex-direction:column;justify-content:center;gap:7px;width:100%;height:100%;min-height:100px;padding:16px 18px;border:1px solid #e7e5f8;border-radius:16px;background:linear-gradient(135deg,#f8faff,#f4f0ff);color:#3f4664;text-decoration:none;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.page-intro-ad-card:hover{border-color:#d5d1f6;box-shadow:0 6px 18px #6f66c81a}
.page-intro-ad-card strong{font-size:15px;font-weight:700;line-height:1.3}
.page-intro-ad-card>span{font-size:12px;color:#8b91a8;line-height:1.65}
.page-intro-ad-card em{font-style:normal;font-size:12px;font-weight:600;color:#6c63d8}
.page-intro-ad-badge{position:absolute;top:10px;right:12px;font-size:9px;letter-spacing:1px;color:#fff;background:#8f8ae8;border-radius:4px;padding:2px 6px}
.page-intro-ad-card>img{display:block;width:100%;height:auto;border-radius:10px}
.page-intro-ad-card>.ad-label{position:absolute;left:10px;bottom:10px;font-size:9px;color:#fff;background:#00000070;border-radius:4px;padding:2px 6px}
.portal-dark .page-intro-ad-card{background:#20273b;border-color:#353b52;color:#e4e9f6}
@media(max-width:1200px){
 .aurora-portal .portal-main>.page-intro.has-ad{grid-template-columns:minmax(0,1fr)}
 .page-intro-ad-card{min-height:0}
}
/* 列表页 hero 广告位：后台真实广告图片模式 */
.page-intro-ad-card.has-image{padding:0;border:0;background:none;display:block;min-height:0;height:100%;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px #0000000d}
.page-intro-ad-card.has-image>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#f4f7fb;border-radius:16px}
.page-intro-ad-card.has-image:hover{box-shadow:0 6px 20px #0000001f}

/* 详情页右侧「网站档案」下方广告位 */
.profile-sidebar-ad{padding:0;border:0;background:transparent;box-shadow:none}
.profile-ad-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px 16px;border-radius:16px;background:linear-gradient(135deg,#f5f8ff,#eef3fb);border:1px dashed rgba(99,102,241,.28);color:#64748b;text-decoration:none;text-align:center;transition:border-color .18s,box-shadow .18s}
.profile-ad-card:hover{border-color:rgba(99,102,241,.5);box-shadow:0 6px 18px rgba(15,23,42,.06)}
.profile-ad-card strong{font-size:15px;font-weight:700;color:#1e293b}
.profile-ad-card>span{font-size:12px;line-height:1.6}
.profile-ad-card em{font-style:normal;font-size:12px;color:#6366f1;font-weight:600}
.profile-ad-badge{position:absolute;left:8px;top:8px;padding:1px 7px;border-radius:6px;background:rgba(15,23,42,.55);color:#fff;font-size:10px;letter-spacing:.4px;z-index:2}
.profile-ad-card.has-image{padding:0;border:0;background:transparent;overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.08)}
.profile-ad-card.has-image>img{display:block;width:100%;height:auto;border-radius:16px}.brand-sidebar-ad.brand-panel{padding:16px}