*{box-sizing:border-box}body{margin:0;color:#243c4a;background:#f5f8fc;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:16px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ef8d56;outline-offset:5px}.topbar{max-width:1160px;margin:auto;padding:27px 28px;display:flex;justify-content:space-between;align-items:center}.brand{font-size:22px;font-weight:800;letter-spacing:1px;display:flex;align-items:center;gap:12px}.brand-icon{width:42px;height:42px;display:grid;place-items:center;background:#ffdb84;color:#966933;border-radius:15px;font-size:33px}.top-note{color:#697d87;font-size:14px}main{max-width:1100px;margin:auto;padding:0 28px}.intro{padding:37px 0 33px}.eyebrow{font-size:14px;font-weight:600;color:#648477;letter-spacing:2px}.intro h1{font-size:clamp(30px,4vw,46px);letter-spacing:1px;line-height:1.5;margin:12px 0}.intro h1 span{color:#3e8b78;position:relative;white-space:nowrap}.intro p{color:#667a85;line-height:1.9;margin:0}.mobile-break{display:none}.screen-section{background:white;border-radius:25px;padding:12px;box-shadow:0 10px 46px #4c6c8210;border:1px solid #e2eaf0}.screen{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:17px;background:#ceeff4}.screen canvas{display:block;width:100%;height:100%}.screen-badge{position:absolute;top:17px;left:20px;background:#ffffffc9;padding:8px 12px;border-radius:20px;font-size:13px;color:#405b67}.caption{position:absolute;bottom:4%;left:7%;right:7%;text-align:center;font-size:clamp(14px,2vw,24px);color:#263c47;font-weight:700;text-shadow:0 2px 4px #fff9}.caption:not(:empty){padding:11px 17px;border-radius:30px;background:#fffffff0}.start-button{border:0;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px;white-space:nowrap;padding:17px 26px;border-radius:40px;background:#fff;color:#356c60;box-shadow:0 5px 28px #1c4d382b;font-weight:700}.start-button svg{width:24px;height:24px;fill:#4a947e}.start-button[hidden]{display:none}.controls{display:flex;align-items:center;gap:15px;padding:18px 10px 8px}.round-button{background:#e2f1ea;color:#346e5e;padding:10px 17px;white-space:nowrap;border:0;border-radius:16px}.text-button{background:transparent;color:#536d78;border:0;padding:8px 3px;white-space:nowrap;font-size:14px}.progress-label{flex:1;display:flex;min-width:40px}input[type=range]{width:100%;accent-color:#579a83;cursor:pointer}.time{color:#69808c;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.now-playing{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 18px 18px}.now-playing h2{font-size:23px;margin:7px 0 0}.now-playing p{color:#71838b;font-size:14px}.library{margin-top:42px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{font-size:22px;margin:0}.section-heading>span{font-size:14px;color:#7b8e97}.episodes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.episode{padding:0 0 18px;background:white;text-align:left;border:2px solid transparent;border-radius:20px;overflow:hidden;transition:transform .2s,border-color .2s;color:inherit}.episode:hover{transform:translateY(-4px)}.episode[aria-pressed=true]{border-color:#6baf94}.episode canvas{width:100%;aspect-ratio:16/9;display:block}.episode h3{margin:17px 18px 7px;font-size:18px}.episode p{margin:0 18px;color:#75858c;font-size:14px;line-height:1.7}.episode .duration{display:inline-block;margin:12px 18px 0;padding:5px 9px;border-radius:8px;background:#f0f5f3;color:#638776;font-size:13px}.gentle-note{margin:35px 0 40px;display:flex;align-items:center;justify-content:center;gap:18px;padding:25px;background:#e9f1f5;border-radius:19px;color:#647985}.gentle-note>span{font-size:38px;color:#c28f43}.gentle-note p{margin:0;line-height:1.9;font-size:14px}footer{max-width:1100px;margin:auto;padding:0 28px 28px;color:#83939b;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:13px;font-size:13px}footer>span:first-child{font-weight:700;color:#647e88}footer p{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.screen:fullscreen{border-radius:0;width:100vw;height:100vh;aspect-ratio:auto;display:flex;align-items:center;background:#182e31}.screen:fullscreen canvas{height:auto;max-height:100vh;object-fit:contain}.screen:fullscreen .caption{bottom:8%}@media(max-width:700px){.topbar{padding:19px 18px}.brand{font-size:19px}.brand-icon{width:36px;height:36px}.top-note{display:none}main{padding:0 16px}.intro{padding:24px 3px}.intro h1{font-size:30px}.mobile-break{display:block}.intro p{font-size:14px}.screen-section{padding:7px;border-radius:20px}.screen{border-radius:14px}.screen-badge{top:9px;left:10px;font-size:10px;padding:5px 8px}.controls{gap:8px;flex-wrap:wrap;padding:12px 3px 4px}.time{font-size:11px}.round-button{font-size:13px;padding:8px 12px}.text-button{font-size:13px}.now-playing{padding:13px 9px;display:block}.now-playing h2{font-size:20px}.now-playing p{margin:10px 0 0}.episodes{grid-template-columns:1fr;gap:15px}.episode{display:grid;grid-template-columns:40% 1fr;padding:0}.episode canvas{height:100%;object-fit:cover;grid-row:1/4}.episode h3{font-size:16px;margin:14px 12px 5px}.episode p{font-size:12px;margin:0 12px}.episode .duration{font-size:11px;justify-self:start;margin:7px 12px 12px}.section-heading{align-items:start}.section-heading h2{font-size:20px}.section-heading>span{font-size:12px}.gentle-note{margin:25px 0}.start-button{padding:12px 17px;font-size:14px}footer{padding:0 19px 25px;font-size:12px;line-height:1.8}.caption:not(:empty){padding:6px 10px}}

[hidden]{display:none!important}
.autoplay{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:14px;color:#536f67}
.autoplay input{accent-color:#579a83}
.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:19px}
.filters button{background:#fff;border:1px solid #dce8e5;border-radius:100px;color:#385e57;padding:8px 13px;font-size:14px}
.filters button[aria-pressed=true]{background:#dfeee7;border-color:#8bbcaa}
.episode{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.poster{width:100%;aspect-ratio:16/9;display:grid;place-items:center;background:linear-gradient(150deg,#c9ebdb,#f4e7b5);font-size:clamp(45px,7vw,85px);line-height:1}
.poster[data-category="水边朋友"]{background:linear-gradient(150deg,#a3dfe9,#caeee1)}
.poster[data-category="四季天空"]{background:linear-gradient(150deg,#bdd3ff,#f5ded3)}
.poster[data-category="睡前故事"]{background:linear-gradient(150deg,#5a7aac,#ccd4ed)}
.episode-title{font-size:18px;margin:16px 18px 7px}
.episode-summary{font-size:14px;color:#536974;margin:0 18px;line-height:1.65;flex:1}
.episode .vip{background:#f8ebcf;color:#735b2e}
.status{margin:0;color:#984746}
.status:not(:empty){margin-top:14px}
footer{margin-top:42px}
dialog{width:min(420px,calc(100vw - 30px));color:#243c4a;border:1px solid #dde9e7;border-radius:23px;padding:26px;background:#fff;box-shadow:0 15px 80px #162f4f3d}
dialog::backdrop{background:#223b5590}
dialog h2{margin:0 34px 10px 0}
dialog p{line-height:1.55}
.close-dialog{position:absolute;top:15px;right:17px;background:#eff5f3;border:0;border-radius:50%;width:34px;height:34px;color:#3a6359;font-size:22px}
#member-form label{display:grid;gap:7px;margin:13px 0;font-size:14px;color:#405d62}
#member-form input{width:100%;color:#243c4a;font:inherit;font-size:16px;border:1px solid #b5cbc4;border-radius:10px;padding:10px 12px}
.form-error{font-size:14px;color:#9d4141;min-height:1.4em;margin:0 0 8px}
.member-actions{display:flex;justify-content:space-between;gap:12px;margin-top:10px}
@media(max-width:700px){.episode{display:grid;grid-template-columns:38% 1fr;grid-template-rows:auto auto 1fr}.poster{height:100%;min-height:105px;grid-row:1/4}.episode-title{font-size:16px;margin:12px 11px 4px}.episode-summary{font-size:14px;margin:0 11px}.episode .duration{margin:6px 11px 10px}.filters{margin-bottom:12px}}


.library-tools{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 12px}
.library-tools label:first-child{flex:1 1 210px;max-width:390px}
.library-tools input,.library-tools select{width:100%;min-height:42px;font:inherit;border:1px solid #cadbd5;background:#fff;border-radius:12px;color:#385e57;padding:8px 12px}
.library-tools input::placeholder{color:#647d77}
.library-matches{margin:0 0 12px;color:#596e73;font-size:14px}
.pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:23px;color:#48665d}
.pagination button:disabled{opacity:.5;cursor:default}
#library-title{scroll-margin-top:16px}

