/* HUB visual system - shared by every AppleCMS page */
:root{--hub-bg:#0b1020;--hub-panel:#121a2d;--hub-panel-2:#172239;--hub-line:rgba(160,180,220,.14);--hub-text:#edf2ff;--hub-muted:#8f9db8;--hub-accent:#6d8cff;--hub-accent-2:#8b5cf6;--hub-radius:18px;--hub-shadow:0 14px 38px rgba(0,0,0,.22)}
html{background:var(--hub-bg);scroll-behavior:smooth}body{background:radial-gradient(ellipse at 50% -180px,rgba(91,115,210,.19),transparent 620px),var(--hub-bg)!important;color:var(--hub-text)!important;font-weight:400!important;min-height:100vh}.container{width:min(100% - 36px,1320px);max-width:1320px;margin-left:auto;margin-right:auto}.app-main{padding:26px 0 42px;min-height:55vh}
a{color:inherit;text-decoration:none}
/* Header */
.hub-header{position:relative;z-index:20;background:rgba(12,18,34,.94);border-bottom:1px solid var(--hub-line);box-shadow:0 8px 28px rgba(0,0,0,.16);backdrop-filter:blur(16px)}
.hub-header-main{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:12px;padding-bottom:12px}
.hub-brand{display:flex;align-items:center;gap:12px;min-width:0;color:var(--hub-text)!important}.hub-brand-mark{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:14px;background:linear-gradient(135deg,var(--hub-accent),var(--hub-accent-2));color:#fff;font-size:23px;font-weight:900;box-shadow:0 7px 22px rgba(109,140,255,.3)}
.hub-brand-copy{display:flex;flex-direction:column;gap:3px}.hub-brand-copy strong{font-size:20px;line-height:1.2;font-weight:850;letter-spacing:.2px}.hub-brand-copy small{font-size:9px;letter-spacing:2px;color:var(--hub-muted);font-weight:700}
.hub-search{width:min(440px,48%);height:46px;display:flex;align-items:center;gap:10px;padding:4px 5px 4px 15px;border:1px solid var(--hub-line);border-radius:14px;background:#0b1222;position:relative}.hub-search>svg{width:19px;height:19px;fill:none;stroke:#8d9bb8;stroke-width:1.8;flex:none}.hub-search .search-input{width:100%;min-width:0;height:36px;border:0!important;outline:0;background:transparent!important;color:var(--hub-text)!important;font-size:14px;font-weight:500}.hub-search .search-input::placeholder{color:#72809c}.hub-search .search-submit{height:36px;min-width:64px;border:0;border-radius:10px;background:linear-gradient(135deg,var(--hub-accent),var(--hub-accent-2));color:#fff;font-weight:750;cursor:pointer}
.hub-nav{border-top:1px solid rgba(160,180,220,.07)}.hub-nav-inner{display:flex;align-items:center;gap:7px;min-height:48px;overflow-x:auto;scrollbar-width:none}.hub-nav-inner::-webkit-scrollbar{display:none}.hub-nav-link{white-space:nowrap;padding:8px 15px;border-radius:10px;color:#aab6ce!important;font-size:13px;font-weight:650;transition:.2s}.hub-nav-link:hover,.hub-nav-link:focus{background:rgba(109,140,255,.14);color:#fff!important}
/* Content panels and headings */
.items,.detail-content{background:linear-gradient(145deg,rgba(22,32,54,.97),rgba(16,25,44,.97))!important;border:1px solid var(--hub-line)!important;border-radius:var(--hub-radius)!important;padding:22px!important;box-shadow:var(--hub-shadow)!important;color:var(--hub-text)!important}.items-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 20px!important;padding:2px 0 2px 14px!important;border:0!important;border-left:4px solid var(--hub-accent)!important;border-radius:2px;color:#f1f5ff!important;font-size:21px!important;font-weight:800!important;line-height:1.45}.items-title>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.items-more{display:inline-flex;align-items:center;gap:5px;padding:6px 13px;border:1px solid rgba(109,140,255,.22);border-radius:10px;background:rgba(109,140,255,.1);color:#aebeff!important;font-size:12px;font-weight:700;white-space:nowrap}.items-more:hover{background:var(--hub-accent);color:#fff!important}
.items ul{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 16px!important;margin:0!important;padding:0!important}.items .item,.items .item:nth-child(3n){width:auto!important;min-width:0;margin:0!important;padding:7px!important;border:1px solid rgba(160,180,220,.11)!important;border-radius:15px!important;background:rgba(255,255,255,.025)!important;transition:transform .22s,border-color .22s,box-shadow .22s}.items .item:hover{transform:translateY(-4px);border-color:rgba(109,140,255,.62)!important;box-shadow:0 12px 28px rgba(0,0,0,.24)}.items .image-line{display:block;position:relative;overflow:hidden;border-radius:10px;background:#202b43;aspect-ratio:16/10}.items .thumb{display:block;width:100%;height:100%;max-width:100%;aspect-ratio:auto;object-fit:cover;border-radius:10px;transition:transform .35s,filter .35s}.items .item:hover .thumb{transform:scale(1.045);filter:brightness(.78)}.items .title-line{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:9px 3px 3px;min-width:0}.items .title-line h3{display:block;width:100%;margin:0!important;color:#e8edfb!important;font-size:14px!important;font-weight:700;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.items .title-line .tags{color:var(--hub-muted);font-size:12px}.items .remarks{right:7px;bottom:7px;left:7px;padding:18px 9px 7px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.76));color:#fff;border-radius:0 0 9px 9px;font-size:11px}.item-play-icon{position:absolute;z-index:2;left:50%;top:50%;width:46px;height:46px;border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(109,140,255,.86);box-shadow:0 5px 18px rgba(0,0,0,.3);opacity:0;transform:translate(-50%,-42%) scale(.82);transition:.22s}.item-play-icon:after{content:"";position:absolute;left:19px;top:13px;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:13px solid #fff}.items .item:hover .item-play-icon{opacity:1;transform:translate(-50%,-50%) scale(1)}
.home-category-block{margin:0 auto 22px}.home-category-block>.container.items{padding:22px!important}.friend-links{margin:0 auto 22px}.friend-links .container.items{padding:17px 20px!important}.friend-links-list{display:flex;flex-wrap:wrap;gap:9px}.friend-links-list a{display:inline-flex;padding:8px 13px;border:1px solid var(--hub-line);border-radius:10px;background:rgba(109,140,255,.07);color:#b9c7e4;font-size:13px;font-weight:600;transition:.2s}.friend-links-list a:hover{background:var(--hub-accent);color:#fff}
/* Category chips, search, pagination */
.tagsec-swiper{padding:10px 12px;background:var(--hub-panel)!important;border:1px solid var(--hub-line);border-radius:14px;box-shadow:var(--hub-shadow)}.tagsec-swiper .swiper-slide{display:flex;justify-content:center}.tagsec-swiper a{display:block;width:auto;max-width:100%;padding:8px 13px;border-radius:9px;background:var(--hub-panel-2);color:#aab8d4!important;text-align:center;font-size:13px;font-weight:650}.tagsec-swiper a.active,.tagsec-swiper a:hover{background:var(--hub-accent);color:#fff!important}.search-results-block{margin-top:0}.search-result-count{color:var(--hub-muted);font-size:13px}.search-result-count strong{color:#9eb2ff;font-size:18px}.pagination ul{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:22px 0}.pagination ul .page-link{display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:8px 12px;border:1px solid var(--hub-line);border-radius:9px;background:var(--hub-panel);color:#b9c7e4!important;font-weight:650}.pagination ul .active{background:var(--hub-accent)!important;border-color:var(--hub-accent);color:#fff!important}
/* Detail and player pages */
.detail-content,.player-content,.eps-content{max-width:1320px!important;color:var(--hub-text)!important}.detail-content .items-title{color:#f1f5ff!important}.items-tags,.text-container,.text-container .text-content span{color:var(--hub-muted)!important}.items-tags time,.items-tags a{color:#9eb2ff!important}.text-container .text-content img{max-width:100%;height:auto}.toggle-button{background:#263653!important;color:#b5c5ff!important}.play-breadcrumb{width:min(100% - 36px,1320px)!important;max-width:1320px!important;margin:0 auto!important;padding:12px 0!important;color:var(--hub-muted)!important}.play-breadcrumb a{color:#a9baff!important}.play-breadcrumb .crumb-current{color:#e8edfb!important}.player-content{width:100%;padding:0 18px!important}.player-content .player-box{overflow:hidden;border:1px solid var(--hub-line);border-radius:18px;background:#000;box-shadow:var(--hub-shadow)}.player-content .MacPlayer{width:100%!important;max-width:none!important;background:#000;min-height:56.25vw!important;max-height:850px}.player-content #player{width:100%!important;aspect-ratio:16/9}.player-content iframe,.player-content video{display:block;width:100%!important;max-width:100%!important;aspect-ratio:16/9}.recommend-section{width:min(100% - 36px,1320px)!important;max-width:1320px!important;margin:24px auto 0!important;padding:0!important}.recommend-section .items{margin:0}.recommend-note{color:var(--hub-muted)!important}.swiper-tags,.eps-swiper .swiper-slide .list-ep{background:var(--hub-panel-2)!important;color:#c0cbea!important}.eps-swiper .swiper-slide .list-ep.active{background:var(--hub-accent)!important;color:#fff!important}.eps-prev{border-color:var(--hub-line)!important;background:var(--hub-panel)!important;color:#c0cbea!important}
/* Footer */
.hub-footer{margin-top:34px;background:#090e1a;border-top:1px solid var(--hub-line);color:var(--hub-muted)}.hub-footer-inner{padding-top:28px;padding-bottom:18px}.hub-footer-brand{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--hub-line)}.hub-footer-brand strong{color:#edf2ff;font-size:17px}.hub-footer-brand p{margin:4px 0 0;font-size:12px;color:var(--hub-muted)}.hub-footer-links{display:flex;gap:18px;padding:17px 0}.hub-footer-links a{color:#aab8d4;font-size:13px}.hub-footer-links a:hover{color:#fff}.hub-footer-bottom{display:flex;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--hub-line);font-size:11px}
/* legacy component compatibility */
.app-header:not(.hub-header),.app-footer:not(.hub-footer){background:#0c1426!important}.content{color:var(--hub-text)}.layui-layer{border-radius:14px!important}
@media(max-width:1000px){.items ul{grid-template-columns:repeat(4,minmax(0,1fr))!important}.container{width:min(100% - 28px,1320px)}}
@media(max-width:767px){.hub-header-main{min-height:0;align-items:stretch;flex-direction:column;gap:13px;padding-top:13px;padding-bottom:12px}.hub-brand-mark{width:39px;height:39px;border-radius:12px;font-size:20px}.hub-brand-copy strong{font-size:18px}.hub-search{width:100%;height:44px}.hub-nav-inner{min-height:44px;gap:3px}.hub-nav-link{padding:7px 11px;font-size:12px}.app-main{padding:15px 0 26px}.container{width:calc(100% - 24px)}.items,.detail-content{padding:14px 12px!important;border-radius:14px!important}.items-title{font-size:17px!important;margin-bottom:14px!important;padding-left:10px!important}.items ul{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px 10px!important}.items .item,.items .item:nth-child(3n){padding:5px!important;border-radius:12px!important}.items .image-line{border-radius:9px}.items .thumb{border-radius:9px}.items .title-line{padding:7px 2px 2px}.items .title-line h3{font-size:12px!important}.items .title-line .tags{font-size:11px}.item-play-icon{width:38px;height:38px}.item-play-icon:after{left:15px;top:11px;border-top-width:7px;border-bottom-width:7px;border-left-width:10px}.home-category-block{margin-bottom:14px}.home-category-block>.container.items{padding:14px 12px!important}.friend-links .container.items{padding:13px 12px!important}.friend-links-list{gap:7px}.friend-links-list a{padding:6px 9px;font-size:11px}.tagsec-swiper{padding:7px}.tagsec-swiper a{padding:7px 9px;font-size:11px}.pagination ul{gap:5px}.pagination ul .page-link{min-width:30px;padding:6px 9px}.play-breadcrumb{width:calc(100% - 24px)!important;padding:9px 0!important;font-size:12px}.player-content{padding:0 7px!important}.player-content .player-box{border-radius:9px}.player-content .MacPlayer{min-height:56.25vw!important}.recommend-section{width:calc(100% - 24px)!important;margin-top:15px!important}.recommend-section .items{padding:14px 12px!important}.recommend-section .items-title{font-size:17px!important}.hub-footer{margin-top:22px}.hub-footer-inner{padding-top:22px;padding-bottom:15px}.hub-footer-bottom{flex-direction:column;gap:3px}.hub-footer-links{gap:14px}}
@media(max-width:380px){.items ul{gap:10px 8px!important}.items .title-line h3{font-size:11px!important}}


/* HUB home: all-site latest updates */
.hub-latest-section{width:100%;margin:0 auto 30px}
.hub-latest-panel{padding:25px!important;border:1px solid var(--hub-line);border-radius:20px;background:linear-gradient(145deg,rgba(20,31,54,.98),rgba(12,20,36,.98));box-shadow:var(--hub-shadow)}
.hub-latest-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;padding:0 0 17px;border-bottom:1px solid var(--hub-line)}
.hub-latest-heading-copy{min-width:0}
.hub-section-kicker{display:block;margin-bottom:5px;color:#8fa7ff;font-size:10px;font-weight:800;letter-spacing:2px}
.hub-latest-heading .items-title{margin:0!important;padding:0 0 0 13px!important;border:0!important;color:var(--hub-text)!important;font-size:23px!important;line-height:1.3}
.hub-latest-heading .items-title:before{content:"";position:absolute}
.hub-latest-heading-copy p{margin:7px 0 0 13px;color:var(--hub-muted);font-size:12px}
.hub-latest-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none}
.hub-latest-count{flex:none;padding:8px 12px;border:1px solid rgba(125,151,255,.24);border-radius:999px;background:rgba(109,140,255,.10);color:#bdcaff;font-size:12px;font-weight:700}
.hub-more-videos{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 15px;border:1px solid rgba(125,151,255,.38);border-radius:10px;background:linear-gradient(135deg,rgba(88,119,235,.24),rgba(55,82,177,.16));color:#dce5ff!important;font-size:13px;font-weight:800;text-decoration:none!important;white-space:nowrap;transition:background .2s,border-color .2s,transform .2s}
.hub-more-videos:hover{border-color:rgba(150,172,255,.75);background:linear-gradient(135deg,rgba(99,132,255,.38),rgba(65,94,196,.3));transform:translateY(-1px)}
.hub-more-videos span{font-size:17px;line-height:1}
.hub-latest-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:22px 15px!important;margin:0!important;padding:0!important;list-style:none}
.hub-latest-grid>.item{min-width:0;margin:0!important}
.hub-latest-grid .image-line{aspect-ratio:16/10}
/* HUB footer refresh */
.hub-footer{position:relative;overflow:hidden;margin-top:42px!important;padding:0!important;background:radial-gradient(ellipse at 15% 0%,rgba(86,116,220,.16),transparent 42%),linear-gradient(145deg,#0b1324 0%,#080d18 100%)!important;border-top:1px solid rgba(137,159,220,.2)!important;color:#9aa9c5!important}
.hub-footer:before{content:"";position:absolute;top:0;left:50%;width:min(1320px,calc(100% - 36px));height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(129,154,255,.55),transparent)}
.hub-footer-inner{position:relative;padding-top:38px!important;padding-bottom:20px!important}
.hub-footer-main{display:grid;grid-template-columns:minmax(240px,1.8fr) minmax(130px,.8fr) minmax(180px,1fr);gap:48px;padding-bottom:30px}
.hub-footer-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none!important}
.hub-footer-brand .hub-brand-mark{width:46px;height:46px;box-shadow:0 8px 24px rgba(90,119,255,.25)}
.hub-footer-brand-copy{display:flex;flex-direction:column;gap:4px}
.hub-footer-brand-copy strong{color:#f1f5ff;font-size:19px;letter-spacing:.3px}
.hub-footer-brand-copy small{color:#8193ba;font-size:9px;font-weight:800;letter-spacing:1.7px}
.hub-footer-description{max-width:340px;margin:16px 0 0;color:#8796b2;font-size:13px;line-height:1.9}
.hub-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.hub-footer-column h3{margin:3px 0 5px;color:#e6ecfb;font-size:14px;font-weight:800}
.hub-footer-column a{color:#98a8c5!important;font-size:13px;text-decoration:none;transition:color .2s,transform .2s}
.hub-footer-column a:hover{color:#c4d1ff!important;transform:translateX(3px)}
.hub-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:17px;border-top:1px solid rgba(137,159,220,.14);color:#71819e;font-size:11px}
.hub-footer-tagline{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#7f91b8}
@media(max-width:1000px){.hub-latest-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:767px){.hub-latest-section{margin-bottom:18px}.hub-latest-panel{padding:15px 12px!important;border-radius:14px}.hub-latest-heading{align-items:flex-start;margin-bottom:14px;padding-bottom:12px}.hub-latest-heading .items-title{font-size:18px!important;padding-left:10px!important}.hub-latest-heading-copy p{margin:5px 0 0 10px;font-size:11px}.hub-section-kicker{font-size:9px}.hub-latest-actions{gap:6px}.hub-latest-count{padding:6px 8px;font-size:10px}.hub-more-videos{min-height:31px;padding:0 9px;border-radius:8px;font-size:11px;gap:4px}.hub-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 10px!important}.hub-footer{margin-top:24px!important}.hub-footer-inner{padding-top:25px!important;padding-bottom:15px!important}.hub-footer-main{grid-template-columns:1fr 1fr;gap:25px 18px;padding-bottom:22px}.hub-footer-brand-block{grid-column:1/-1}.hub-footer-description{max-width:none;margin-top:10px;font-size:12px}.hub-footer-column{gap:9px}.hub-footer-column h3{font-size:13px}.hub-footer-column a{font-size:12px}.hub-footer-bottom{align-items:flex-start;flex-direction:column;gap:7px;font-size:10px}}
