:root{color-scheme:light dark;--bg: #f6f5ef;--surface: #fffef9;--ink: #263e32;--muted: #5e6c60;--line: #dcded2;--field: #fffefb;--green: #284e3c;--on-green: #fffef6;--soft: #eaf0e5;--soft-ink: #46604a;--yellow: #efd274;--yellow-hover: #e8c45a;--error: #a6382f;--error-bg: #faeae1;--focus: #927000;--tag: #e9ede2;--shadow: 0 18px 70px #182d2726;--serif: Georgia, "Times New Roman", serif;--sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;font-family:var(--sans);color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px;line-height:1.5;text-rendering:optimizeLegibility;accent-color:var(--green);scrollbar-color:var(--muted) var(--bg)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-underline-offset:4px}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,select,textarea,summary{outline-offset:4px}:focus-visible{outline:3px solid var(--focus)}::selection{background:var(--yellow);color:#263e32}input,textarea{caret-color:var(--green)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}svg{flex-shrink:0;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;top:10px;left:10px;background:var(--surface);padding:12px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.site-header{border-bottom:1px solid var(--line)}.header-inner{max-width:1304px;margin:0 auto;padding:23px 42px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-size:25px;font-weight:700;letter-spacing:-.8px;white-space:nowrap}.brand-period{color:#87976a}.brand-mark{width:37px;height:31px;display:grid;place-items:center;border:1.5px solid var(--green);border-radius:7px;color:var(--green);position:relative}.brand-mark>span{position:absolute;right:-7px;bottom:-5px;background:var(--green);border:2px solid var(--bg);color:var(--on-green);border-radius:50%;width:20px;height:20px;display:grid;place-items:center}.header-tools{display:flex;align-items:center;gap:25px}.mode-label{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.mode-label>span{width:6px;height:6px;border-radius:50%;background:#6c885d}.icon-button{min-width:34px;min-height:34px;display:inline-grid;place-items:center;border-radius:6px;color:var(--muted);padding:6px}.icon-button:hover{background:var(--soft);color:var(--ink)}main{max-width:1220px;margin:0 auto;outline:none}.intro{padding:47px 0 42px;display:flex;align-items:center;justify-content:space-between;gap:28px}h1{font-family:var(--serif);font-size:clamp(38px,4.1vw,54px);line-height:1.08;font-weight:400;letter-spacing:-1.9px}h1 em{font-weight:400;color:var(--soft-ink)}.intro p{color:var(--muted);font-size:14px;line-height:1.7;margin-top:18px}.intro-actions{display:grid;grid-template-columns:auto auto;gap:12px;padding-top:28px}.intro-actions>span{grid-column:1 / -1;display:flex;justify-content:flex-end;align-items:center;gap:6px;color:var(--muted);font-size:11px;margin-top:1px}.button{min-height:43px;padding:11px 17px;border-radius:7px;font-size:13px;line-height:1.4;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:background-color .15s ease,color .15s ease}.button.primary{background:var(--green);color:var(--on-green)}.button.primary:hover:not(:disabled){background:var(--ink)}.button.secondary{background:var(--surface);border:1px solid var(--line)}.button.secondary:hover:not(:disabled){background:var(--soft)}.button.sunshine{background:var(--yellow);color:#263e32;padding-left:20px;padding-right:20px}.button.sunshine:hover{background:var(--yellow-hover)}.button.quiet:hover{background:var(--soft)}.button.full{width:100%;margin-top:12px}.button.destructive{color:#fff;background:var(--error)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:4px 0;color:var(--green);font-size:12px;font-weight:600;border-radius:3px}.text-button:hover{text-decoration:underline;text-underline-offset:3px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 329px;gap:35px;align-items:start;border-top:1px solid var(--line)}.library-panel{min-width:0;padding-top:24px}.library-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:35px;margin-bottom:17px}.library-title-line{display:flex;gap:8px;align-items:center;min-width:0}.library-title-line h2{font-size:19px;font-weight:600;letter-spacing:-.5px;overflow-wrap:anywhere}.rename-button{min-width:28px;min-height:28px}.count-badge{display:grid;place-items:center;min-width:24px;height:24px;background:var(--tag);color:var(--soft-ink);border-radius:6px;font-size:11px;font-variant-numeric:tabular-nums}.import-button{flex-shrink:0;font-weight:500}.library-toolbar{display:grid;grid-template-columns:1fr 150px;gap:12px;margin-bottom:21px}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid var(--line);border-radius:6px;background:var(--field);padding:11px 12px;min-height:41px;font-size:12px}select{padding-right:24px}textarea{display:block;resize:vertical;line-height:1.6}.search-field{display:flex;align-items:center;position:relative}.search-field>svg{position:absolute;left:12px;color:var(--muted);pointer-events:none}.search-field input{padding-left:37px;background:transparent}.library-toolbar select{background:transparent;color:var(--muted)}.empty-library{background:var(--soft);border-radius:12px;min-height:356px;padding:36px 20px 28px;display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--soft-ink)}.empty-library-mark{width:145px;height:87px;margin:0 0 24px;position:relative}.empty-tile{position:absolute;width:91px;height:64px;border-radius:9px;border:1px solid #aebda5}.tile-back{left:14px;top:4px;transform:rotate(-12deg);background:#dce5d3}.tile-front{left:39px;top:16px;transform:rotate(8deg);display:grid;place-items:center;color:#5b7757;background:#f4f6ec}.empty-check{position:absolute;right:3px;bottom:-1px;width:35px;height:35px;border-radius:50%;background:var(--green);color:var(--on-green);display:grid;place-items:center;border:4px solid var(--soft)}.empty-library h3{font-family:var(--serif);font-weight:400;font-size:26px;letter-spacing:-.55px;color:var(--ink);margin-bottom:11px}.empty-library p{font-size:12px;line-height:1.8}.empty-library>.button{margin-top:23px;font-size:12px;min-height:38px;padding-top:9px;padding-bottom:9px}.example-link{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;align-items:center;margin-top:24px;font-size:10px}.example-link .text-button{font-size:10px}.library-storage{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:10px;padding:19px 4px;text-align:center}.add-panel{background:var(--surface);border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;padding:25px 24px 20px}.add-heading{display:flex;align-items:center;gap:10px}.add-heading h2{font-size:18px;font-weight:600;letter-spacing:-.5px}.add-icon{display:grid;place-items:center;width:27px;height:27px;background:var(--soft);color:var(--soft-ink);border-radius:6px}.add-description{font-size:11px;color:var(--muted);margin:9px 0 24px}.field{margin-bottom:16px}.field label,.input-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px;font-weight:600;margin-bottom:7px}.field label>span{font-size:10px;font-weight:400;color:var(--muted)}.field-hint{font-size:10px;color:var(--muted);margin-top:5px}.entry-form .full{margin-top:2px}.entry-form .secondary{margin-top:8px}.parent-tip{display:flex;align-items:flex-start;gap:10px;color:var(--soft-ink);padding-top:20px;margin-top:21px;border-top:1px solid var(--line)}.parent-tip p{font-size:11px;line-height:1.8}.parent-tip p span{color:var(--muted);font-size:10px}.how-strip{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;border-top:1px solid var(--line);margin-top:35px;padding:29px 0 30px}.how-strip>div{display:flex;align-items:center;gap:13px}.step-dot{width:33px;height:33px;display:grid;place-items:center;background:var(--tag);color:var(--soft-ink);border-radius:50%;flex-shrink:0}.how-strip strong{display:block;font-weight:600;font-size:12px}.how-strip p>span{display:block;font-size:11px;margin-top:3px;color:var(--muted)}.site-footer{max-width:1220px;margin:0 auto;border-top:1px solid var(--line);padding:22px 0 20px;color:var(--muted);font-size:10px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;column-gap:20px;row-gap:12px}.site-footer>div{display:flex;align-items:center;gap:15px}.site-footer a{text-decoration:none}.site-footer a:hover{text-decoration:underline}.site-footer .text-button{color:var(--muted);font-size:10px;font-weight:400}.site-footer p{flex-basis:100%;font-size:11px}.footer-divider{opacity:.5}.results-description{color:var(--muted);font-size:10px;margin:-2px 0 13px}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.video-card{min-width:0;overflow:hidden;border:1px solid var(--line);background:var(--surface);border-radius:12px}.thumbnail-button{width:100%;padding:0;display:block}.thumbnail{position:relative;aspect-ratio:16 / 9;background:#dce5d3;overflow:hidden;display:grid;place-items:center;color:#46604a}.thumbnail img{width:100%;height:100%;position:absolute;object-fit:cover}.play-mark{position:absolute;display:grid;place-items:center;height:38px;width:38px;background:#fffef9ee;border-radius:50%;color:#263e32;padding-left:2px;transition:background-color .15s ease}.thumbnail-button:hover .play-mark,.kid-video:hover .play-mark{background:#efd274}.thumbnail-fallback{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;padding-bottom:35px}.thumbnail-fallback+.play-mark{bottom:13px;width:28px;height:28px}.playlist-thumb{background:#e4dfc7}.playlist-tag{position:absolute;right:8px;top:8px;border-radius:4px;padding:3px 7px;background:#263e32;color:#fff;font-size:10px}.video-card-content{padding:14px 15px 8px}.video-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.sample-label{background:var(--yellow);color:#263e32;border-radius:3px;padding:1px 5px}.video-card h3{margin-top:7px;font-size:16px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.parent-note{margin-top:9px;color:var(--muted);font-size:11px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.video-card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.video-card-actions .text-button{font-size:11px}.danger:hover{color:var(--error);background:var(--error-bg)}.empty-search{padding:70px 20px;text-align:center;color:var(--muted);background:var(--soft);border-radius:12px}.empty-search h3{color:var(--ink);margin:13px 0 6px}.empty-search .text-button{margin-top:16px}.storage-warning{background:var(--error-bg);color:var(--error);border-radius:7px;padding:13px 16px;margin:18px 0;display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:12px}.storage-warning .text-button{color:var(--error);flex-shrink:0}.import-pending{background:var(--tag);border-radius:7px;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px;font-size:11px}.rename-form{display:flex;align-items:center;min-width:0}.rename-form input{font-size:15px}.modal{width:min(510px,calc(100% - 32px));padding:28px;border:0;border-radius:15px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);max-height:calc(100dvh - 40px);overflow:auto}.modal::backdrop{background:#14231ad1}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:17px}.modal-heading h2{font-family:var(--serif);font-size:28px;line-height:1.2;font-weight:400;letter-spacing:-.7px;padding-top:2px}.modal-heading .icon-button{margin:-4px -7px 0 0}.modal-intro{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:23px;overflow-wrap:anywhere}.modal-intro strong{color:var(--ink)}.modal .field label,.modal .input-label{font-size:12px}.modal input,.modal textarea{font-size:13px}.share-url{overflow-wrap:anywhere;color:var(--muted);font-size:11px!important}.fine-print{font-size:11px;line-height:1.65;color:var(--muted);margin-top:18px}.error-text{color:var(--error);background:var(--error-bg);border-radius:5px;padding:10px;margin:12px 0;font-size:12px}.check-field{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:var(--muted);padding:12px 0}.check-field input{width:17px;height:17px;margin:2px 0 0;flex-shrink:0}.or-divider{display:flex;align-items:center;gap:10px;margin:23px 0 17px;color:var(--muted);font-size:11px}.or-divider:before,.or-divider:after{content:"";height:1px;background:var(--line);flex:1}.file-input{padding:10px!important;font-size:11px!important}.file-input::file-selector-button{color:var(--ink);background:var(--soft);border:0;padding:7px 10px;border-radius:4px;margin-right:10px;cursor:pointer}.import-preview{margin:0;padding:0;list-style:none;max-height:300px;overflow:auto;border-top:1px solid var(--line)}.import-preview li{padding:13px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.import-preview strong{font-size:13px}.import-preview span{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.import-preview p{font-size:12px;color:var(--muted);margin-top:7px;white-space:pre-wrap}.import-preview .import-id{font-size:10px}.prose{font-size:12px;color:var(--muted);line-height:1.8}.prose h3{margin-top:25px;font-size:14px;color:var(--ink)}.prose h3:first-child{margin-top:0}.prose p{margin-top:8px}.pin-recovery{margin-top:20px;font-size:12px;color:var(--muted)}.pin-recovery summary{cursor:pointer}.pin-recovery p{margin-top:8px}.modal-wide{width:min(880px,calc(100% - 32px))}.player-wrap{aspect-ratio:16 / 9;min-height:200px;background:#101510;border-radius:7px;overflow:hidden}.player-wrap iframe{display:block;width:100%;height:100%;min-height:200px;border:0}.notice-container{position:fixed;bottom:22px;left:20px;right:20px;display:flex;justify-content:center;pointer-events:none;z-index:20}.toast{display:flex;align-items:flex-start;gap:10px;color:var(--on-green);background:var(--green);padding:13px 19px;border-radius:9px;font-size:12px;max-width:600px;box-shadow:var(--shadow);animation:notice-in .2s cubic-bezier(.16,1,.3,1)}@keyframes notice-in{0%{transform:translateY(10px)}to{transform:translateY(0)}}.kid-app{min-height:100dvh;background:var(--soft)}.kid-app .site-header{border-color:var(--line)}.parent-return{color:var(--soft-ink);font-size:12px}.kid-library{padding:55px 0 70px}.kid-greeting{text-align:center;margin-bottom:40px}.kid-stamp{display:inline-flex;align-items:center;gap:7px;margin-bottom:17px;color:var(--soft-ink);font-size:12px}.kid-greeting h1{font-size:clamp(36px,4.5vw,57px)}.kid-greeting p{font-size:14px;color:var(--muted);margin-top:17px}.kid-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.kid-video{background:var(--surface);padding:0;overflow:hidden;border-radius:15px;text-align:left}.thumbnail-large .play-mark{height:55px;width:55px}.kid-video-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:21px;font-size:19px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.kid-video-title small{font-size:10px;font-weight:400;background:var(--tag);border-radius:4px;padding:3px 6px;flex-shrink:0}.kid-empty{display:flex;align-items:center;flex-direction:column;gap:20px;padding:55px 20px;color:var(--soft-ink)}@media(min-width:1450px){.intro{padding-top:58px;padding-bottom:48px}}@media(max-width:1320px){main,.site-footer{margin-left:42px;margin-right:42px}}@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 300px;gap:24px}.intro-actions{grid-template-columns:1fr;min-width:186px;padding-top:0;gap:8px}.intro-actions>span{font-size:9px;justify-content:center}.intro p{font-size:12px}.add-panel{padding:24px 19px 20px}.library-title-line h2{font-size:17px}.video-grid{grid-template-columns:1fr}.kid-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.header-inner{padding:20px 24px}main,.site-footer{margin-left:24px;margin-right:24px}.workspace{grid-template-columns:1fr;gap:18px}.intro{padding-top:32px;padding-bottom:30px}.intro p{max-width:36ch}.desktop-break{display:none}h1{font-size:43px}.intro-actions{min-width:170px}.intro-actions .button{font-size:12px;padding:11px 12px}.intro-actions .button>svg:last-child:not(:first-child){display:none}.library-panel{padding-top:20px}.empty-library{min-height:355px}.add-panel{border-top:1px solid var(--line);border-radius:10px;padding:24px}.add-description{margin-bottom:23px}.entry-form .field{margin-bottom:18px}.field label,.field label>span,.field-hint{font-size:11px}input:not([type=checkbox]),textarea,select{font-size:14px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.how-strip{gap:15px;margin-top:30px}.how-strip>div{align-items:flex-start;gap:9px}.step-dot{width:25px;height:25px}.how-strip strong{font-size:10px}.how-strip p>span{font-size:10px}.kid-library{padding-top:40px}.kid-grid{gap:18px}.kid-video-title{font-size:17px;padding:16px}}@media(max-width:520px){.header-inner{padding:19px 20px}.brand{font-size:22px;gap:11px}.brand-mark{width:31px;height:27px}.brand-mark>svg{width:19px}.header-tools{gap:8px}.mode-label{font-size:10px;gap:5px}.header-tools .icon-button{min-width:29px}main,.site-footer{margin-left:20px;margin-right:20px}.intro{display:block;padding:31px 0 27px}h1{font-size:45px;letter-spacing:-1.6px}.intro p{margin-top:17px;font-size:13px;max-width:38ch}.intro-actions{display:grid;grid-template-columns:.85fr 1.15fr;padding-top:24px;gap:10px}.intro-actions>span{font-size:10px;justify-content:flex-end;margin-top:2px}.intro-actions .button{min-height:44px}.library-title-line{gap:4px}.library-title-line h2{font-size:17px}.count-badge{min-width:21px;height:21px;font-size:10px}.import-button{font-size:11px;gap:4px}.import-button svg{width:13px}.library-toolbar{grid-template-columns:1fr 121px;gap:8px}.library-toolbar input,.library-toolbar select{font-size:12px}.empty-library{padding:31px 13px 25px;min-height:350px}.empty-library h3{font-size:23px}.empty-library p{font-size:11px}.example-link{gap:4px;margin-top:20px}.library-storage{font-size:10px;line-height:1.6}.video-grid{grid-template-columns:1fr;gap:18px}.video-card h3{font-size:17px}.parent-note{font-size:12px}.add-panel{padding:23px 20px 20px}.add-description,.field label{font-size:12px}.field label>span{font-size:10px}.parent-tip p{font-size:12px}.parent-tip p span{font-size:10px}.how-strip{grid-template-columns:1fr;gap:22px;padding:27px 0}.how-strip>div{gap:13px;align-items:center}.step-dot{width:32px;height:32px}.how-strip strong{font-size:12px}.how-strip p>span{font-size:11px}.site-footer{display:block;padding-top:22px}.site-footer>div{flex-wrap:wrap;gap:10px}.site-footer>.text-button{margin-top:15px}.site-footer p{margin-top:12px;max-width:45ch;line-height:1.8}.modal{padding:22px;width:calc(100% - 24px)}.modal-heading h2{font-size:26px}.modal-wide{padding:18px}.storage-warning{flex-wrap:wrap}.kid-greeting{margin-bottom:29px}.kid-greeting h1{font-size:38px}.kid-greeting p{font-size:12px}.kid-grid{grid-template-columns:1fr}.parent-return{font-size:10px;gap:5px;padding-right:0;padding-left:5px}.kid-video-title{font-size:21px;padding:19px}}@media(prefers-color-scheme:dark){:root{--bg: #202a25;--surface: #27352d;--ink: #f0f0df;--muted: #b4bfae;--line: #435044;--field: #233128;--green: #b8d0a6;--on-green: #203528;--soft: #2b3b2e;--soft-ink: #c0d0af;--yellow: #efd274;--yellow-hover: #f8de8c;--error: #ffc0a9;--error-bg: #4a2e28;--focus: #f3d97e;--tag: #3b4b39;--shadow: 0 18px 70px #0006}.button.primary:hover:not(:disabled){background:#d3e0b9}.button.destructive{color:#402119;background:var(--error)}.tile-back{background:#41523b;border-color:#6b7a5d}.tile-front{background:#34452f;border-color:#87976a;color:#c0d0af}.thumbnail{background:#354a38;color:#d5dfc4}.playlist-thumb{background:#4c4a32}input,textarea{caret-color:#efd274}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
