/*
Theme Name: 哇塞FM 清透剧库
Version: 1.0.0
Requires at least: 7.1
Requires PHP: 8.3
Text Domain: wasfm
License: GPL-2.0-or-later
*/
:root{--pink:#bf4169;--tint:#edf5fc;--ink:#243548;--muted:#657385;--line:#e7edf3;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.8}a{color:inherit;text-decoration:none}a:hover{color:var(--pink)}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}img{max-width:100%;height:auto;display:block}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #284f9f;outline-offset:4px}.skip-link{position:absolute;left:16px;top:-100px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:12px}.wrap{width:min(1120px,calc(100% - 64px));margin-inline:auto}.site-header{height:98px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center}.header-inner{display:flex;align-items:center;gap:48px}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand img{width:64px;height:64px;object-fit:contain}.brand-name{font-size:24px;font-weight:750;letter-spacing:1px}.brand small{display:block;font-size:11px;color:var(--muted);letter-spacing:2px;line-height:1.4}.site-nav{display:flex;align-items:center;gap:30px;margin-left:auto;font-size:14px}.site-nav a{padding:10px 0;border-bottom:2px solid transparent}.site-nav a[aria-current=page]{color:var(--pink);border-bottom-color:var(--pink)}.button,.site-nav .button{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--pink);color:#fff;border:1px solid var(--pink);border-radius:9px;padding:10px 22px;font-weight:600;min-height:46px;line-height:1.5}.button:hover{background:#9d3154;color:#fff}.button.secondary{background:#fff;color:var(--ink);border-color:#ccd9e5}.menu-toggle{display:none}.hero{background:var(--tint) url('assets/discovery-background.png') center/cover no-repeat;text-align:center;padding:54px 24px 48px}.eyebrow{font-size:12px;color:#566e86;letter-spacing:4px;margin:0 0 12px}.hero h1{font-family:"Songti SC",STSong,serif;font-size:42px;font-weight:600;letter-spacing:3px;line-height:1.4;margin:0 0 12px}.hero p{color:#5e7287;margin:0 auto 24px;max-width:650px}.search-form{display:flex;width:min(620px,100%);margin:0 auto;gap:10px;padding:7px;background:#fff;border:1px solid #dce8f2;border-radius:12px;box-shadow:0 8px 25px #48739b0b}.search-form input{width:100%;min-width:0;border:0;background:transparent;padding:8px 12px;color:var(--ink);outline-offset:0}.search-form .button{white-space:nowrap}.search-icon{display:flex;align-items:center;padding-left:10px;color:#70849a}.search-hints{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:16px;font-size:13px;color:#526d84}.section{padding-top:46px;padding-bottom:6px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading h2,.section-heading h1{margin:0;font-size:25px;font-weight:650;letter-spacing:1px}.section-heading p{margin:4px 0 0;color:var(--muted);font-size:14px}.section-heading>a{font-size:13px;white-space:nowrap;color:var(--muted)}.topic-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:24px}.pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 19px;background:#f5f8fb;border:1px solid #eaf0f5;border-radius:7px;font-size:13px;min-height:38px}.pill:hover,.pill.active{background:#fcecf2;border-color:#f6cfde;color:#a93057}.program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px}.program-card{min-width:0}.cover-link{position:relative;display:block;border-radius:12px;overflow:hidden;background:#f1f5f9}.cover-link img{width:100%;aspect-ratio:1;object-fit:cover;transition:transform .25s ease}.cover-link:hover img{transform:scale(1.025)}.badge{position:absolute;bottom:10px;right:10px;padding:3px 9px;border:1px solid #ffffff75;border-radius:5px;background:#fffef3ed;color:#394852;font-size:11px;line-height:1.7}.program-card h3{font-size:17px;line-height:1.5;margin:13px 0 5px;font-weight:650}.card-meta{color:var(--muted);font-size:12px;display:flex;gap:10px;flex-wrap:wrap}.card-description{color:#637184;font-size:13px;line-height:1.8;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.selection-panel{display:grid;grid-template-columns:1.1fr 1fr;gap:52px;margin-top:44px;padding:30px 36px;border:1px solid #e6eef5;border-radius:16px;background:linear-gradient(110deg,#f0f7fd,#fcfafd)}.selection-panel h2{font-size:24px;margin:4px 0 8px;font-family:"Songti SC",STSong,serif}.selection-panel p{font-size:14px;color:#65768a;margin:0 0 20px}.guide-list{display:flex;flex-direction:column;justify-content:center}.guide-row{display:flex;gap:16px;align-items:center;border-bottom:1px solid #e0e8f0;padding:14px 0}.guide-row:last-child{border:0}.guide-index{font-family:Georgia,serif;font-size:22px;color:#98aabd}.guide-row span:last-child{margin-left:auto;color:#8c9fb2}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.faq-grid details{border-bottom:1px solid var(--line);padding:17px 0}.faq-grid summary{cursor:pointer;font-size:14px;font-weight:550}.faq-grid details p{color:var(--muted);font-size:14px;margin-bottom:4px}.service-bar{display:flex;justify-content:space-between;align-items:center;gap:26px;padding:25px 30px;background:#f8fafc;border-radius:12px;margin:40px 0}.service-bar h2{font-size:19px;margin:0 0 4px}.service-bar p{font-size:13px;color:var(--muted);margin:0}.actions{display:flex;flex-wrap:wrap;gap:12px}.site-footer{background:#f6f9fc;border-top:1px solid var(--line);padding:30px 0 22px;margin-top:45px;color:#6a7989;font-size:12px}.footer-top{display:flex;justify-content:space-between;gap:24px;margin-bottom:18px}.footer-links{display:flex;flex-wrap:wrap;gap:18px}.footer-disclaimer{max-width:860px;font-size:11px;line-height:1.9}.copyright{font-size:11px;color:#6a7989}.breadcrumb{font-size:12px;color:var(--muted);padding:24px 0}.breadcrumb a{text-decoration:underline;text-underline-offset:4px}.detail{display:grid;grid-template-columns:280px 1fr;gap:44px;align-items:start}.detail-cover{width:280px;aspect-ratio:1;border-radius:14px;object-fit:cover}.detail h1{font-size:32px;line-height:1.5;margin:2px 0 10px}.detail .lead{color:var(--muted);margin:0 0 18px}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:13px;margin:20px 0}.facts div{border-bottom:1px solid var(--line);padding-bottom:10px}.facts dt{color:#677789;font-size:12px}.facts dd{margin:3px 0 0}.entry-content{font-size:16px;line-height:2;overflow-wrap:anywhere}.entry-content h2{font-size:23px;margin:32px 0 12px}.entry-content p{margin:0 0 18px}.entry-content a{color:#9f3658;text-decoration:underline;text-underline-offset:4px}.article-wrap{width:min(760px,100%);margin-inline:auto}.article-wrap h1{font-size:34px;line-height:1.5}.content-note{background:#f4f8fc;border-left:3px solid #91b1ce;padding:18px 22px;color:#5b7084;font-size:13px;margin:26px 0}.filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:22px 0 30px;padding:20px;background:#f5f8fb;border-radius:10px}.filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#5b6a7c}.filters select,.filters input{border:1px solid #cfd9e3;border-radius:6px;background:#fff;padding:9px 12px;min-height:44px}.filters input{width:230px;max-width:100%}.pagination{display:flex;gap:8px;justify-content:center;margin:35px 0}.page-numbers{padding:8px 15px;border:1px solid var(--line);border-radius:6px}.page-numbers.current{background:var(--pink);color:#fff}.empty-state{text-align:center;padding:70px 20px;background:#f5f9fc;border-radius:16px}.empty-state h1,.empty-state h2{font-family:"Songti SC",STSong,serif;font-size:30px}.empty-state p{color:var(--muted)}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.guide-card{border:1px solid var(--line);border-radius:12px;padding:26px;background:#fbfdff}.guide-card h2{font-size:21px;margin:4px 0 12px}.guide-card p{color:var(--muted);font-size:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1450px){.hero{background-size:100% auto}}@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.header-inner{gap:20px}.site-nav{gap:18px}.site-nav .button{padding:9px 14px}.hero h1{font-size:35px}.program-grid{gap:26px 18px}.selection-panel{gap:28px;padding:28px}.brand-name{font-size:21px}.brand img{width:55px;height:55px}.detail{grid-template-columns:230px 1fr;gap:30px}.detail-cover{width:230px}}@media(max-width:700px){.wrap{width:calc(100% - 36px)}.site-header{height:auto;min-height:78px}.header-inner{position:relative;flex-wrap:wrap;gap:0;padding-block:11px}.brand img{width:48px;height:48px}.brand-name{font-size:21px}.brand small{font-size:9px}.js .menu-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;width:44px;height:44px;background:#fff;border:1px solid var(--line);border-radius:8px}.site-nav{width:100%;flex-wrap:wrap;gap:8px 24px;padding:14px 0 3px;font-size:14px}.js .site-nav[hidden]{display:none}.hero{padding:38px 18px 32px;background-image:none}.eyebrow{font-size:10px;letter-spacing:3px}.hero h1{font-size:29px;letter-spacing:1px;margin-bottom:13px}.hero p{font-size:13px;max-width:310px;margin-bottom:21px;line-height:1.9}.search-form{gap:4px;padding:5px}.search-form input{font-size:13px;padding-left:4px}.search-form .button{padding:10px 18px;font-size:13px}.search-hints{font-size:11px;gap:12px}.section{padding-top:30px}.section-heading{margin-bottom:18px;gap:10px}.section-heading h2,.section-heading h1{font-size:22px}.section-heading p{font-size:12px}.section-heading>a{font-size:12px}.topic-strip{gap:7px;padding-bottom:18px;margin-bottom:20px}.pill{font-size:12px;padding:6px 13px;min-height:36px}.program-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 14px}.program-card h3{font-size:15px;margin-top:10px}.card-meta{font-size:11px;gap:6px}.card-description{font-size:12px;margin-top:5px}.badge{font-size:10px;bottom:7px;right:7px}.selection-panel{grid-template-columns:1fr;gap:12px;padding:23px;margin-top:30px}.selection-panel h2{font-size:23px}.selection-panel p{font-size:13px}.guide-row{font-size:13px}.faq-grid{grid-template-columns:1fr}.service-bar{align-items:start;flex-direction:column;padding:23px;margin:30px 0}.service-bar .actions{width:100%}.service-bar .button{flex:1;padding-inline:12px;font-size:13px}.footer-top{flex-direction:column;gap:12px}.footer-links{gap:12px 20px}.site-footer{margin-top:30px;padding-top:24px}.detail{grid-template-columns:1fr;gap:25px}.detail-cover{width:210px;margin:auto}.detail h1{font-size:27px}.detail .actions{justify-content:flex-start}.facts{gap:14px}.article-wrap h1{font-size:28px}.entry-content{font-size:15px}.guide-grid{grid-template-columns:1fr}.filters{gap:12px;padding:15px}.filters label{flex:1;min-width:120px}.filters label:first-child{flex-basis:100%}.filters input{width:100%}.filters select{width:100%}.filters .button{flex:1}.breadcrumb{padding:20px 0}.empty-state{padding:45px 20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

@media(min-width:701px) and (max-width:1000px){.hero{background-image:none}}

/* Native WordPress menus retain the existing flat header/footer layout. */
.site-nav>.menu-item,.footer-links>.menu-item{display:contents}

/* Brand copy is editable; long names must not push navigation off screen. */
.brand{min-width:0;flex-shrink:1;max-width:340px}.brand img{flex-shrink:0}.brand-name{min-width:0}.brand-title,.brand small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero h1,.hero p,.section-heading h2,.selection-panel h2,.service-bar h2{overflow-wrap:anywhere}
@media(max-width:700px){.brand{max-width:calc(100% - 56px)}}
