:root{--primary-color:#ff9800;--accent-color:#4caf50;--bg-color:#fffbe6;--card-bg:#ffffff;--text-color:#5d4037;--border-radius:20px;--error-color:#e53935}body{background-color:var(--bg-color);background-image:radial-gradient(#e0e0e0 15%,transparent 16%);background-size:20px 20px}.search-wrapper{max_width:900px;color:var(--text-color);font-family:"M PLUS Rounded 1c","Hiragino Maru Gothic Pro",sans-serif;margin:40px auto;padding:0 20px}.search-header{margin-bottom:40px}.header-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:25px}.header-logo-link{align-items:center;background:#fff;border:3px solid var(--primary-color);border-radius:50%;box-shadow:0 4px 0 rgba(0,0,0,.1);display:flex;flex:0 0 60px;height:60px;justify-content:center;overflow:hidden;text-decoration:none;transition:transform .2s}.header-logo-link:hover{transform:scale(1.1) rotate(-5deg)}.header-logo-link img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.search-title{color:var(--primary-color);flex:1;font-size:2.2rem;font-weight:900;line-height:1.2;margin:0;text-align:center;text-shadow:2px 2px 0 #fff,4px 4px 0 rgba(0,0,0,.1)}.header-spacer{flex:0 0 60px}.search-form{display:flex;flex-direction:column;gap:15px;max_width:750px;background:#fff;border:3px solid var(--primary-color);border-radius:30px;box-shadow:0 8px 0 rgba(0,0,0,.1);margin:0 auto;padding:25px 30px}.radio-row{align-items:flex-start;border-bottom:2px dashed #eee;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding-bottom:15px}.radio-legend{color:var(--primary-color);font-size:.9rem;font-weight:700;margin-top:5px;white-space:nowrap}.radio-group{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.radio-label{background:#f9f9f9;border:2px solid #ddd;border-radius:20px;color:var(--text-color);cursor:pointer;display:inline-block;font-size:.85rem;font-weight:700;padding:6px 14px;transition:.2s}.radio-input{display:none}.radio-input:checked+.radio-label{background:var(--primary-color);border-color:var(--primary-color);box-shadow:0 2px 0 #e65100;color:#fff;transform:translateY(-2px)}.note-text{color:#888;font-size:.7rem;margin-top:5px;text-align:center;width:100%}.filter-row{align-items:center;background:#fff8e1;border:2px dashed #ffecb3;border-radius:15px;display:flex;flex-wrap:wrap;gap:15px;justify-content:center;margin-top:5px;padding:12px}.filter-group{align-items:center;display:flex;flex-direction:column;gap:5px}.filter-label{color:var(--primary-color);font-size:.9rem;font-weight:700;white-space:nowrap}.form-control{background:#fff;border:2px solid #ddd;border-radius:10px;color:var(--text-color);font-family:inherit;font-size:.95rem;outline:0;padding:8px 12px}.form-control:focus{border-color:var(--accent-color)}.search-actions{display:flex;flex-direction:column;gap:10px;margin-top:10px}.strict-mode-box{align-items:center;display:flex;font-size:.9rem;justify-content:flex-end}.strict-mode-box label{align-items:center;color:var(--text-color);cursor:pointer;display:flex;gap:5px}.strict-mode-box label:hover{color:var(--primary-color)}.strict-mode-box input[type=checkbox]{accent-color:var(--primary-color);transform:scale(1.2)}.search-input{border:2px solid #eee;border-radius:15px;color:var(--text-color);flex:1;font-size:1.2rem;outline:0;padding:12px 20px}.search-input:focus{border-color:var(--primary-color)}.search-btn{background:var(--primary-color);border:none;border-radius:25px;box-shadow:0 4px 0 #e65100;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;padding:10px 35px;transition:transform .1s;white-space:nowrap}.search-btn:active{box-shadow:none;transform:translateY(4px)}.reset-btn{align-items:center;background:#9e9e9e;border:none;border-radius:25px;box-shadow:0 4px 0 #616161;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:700;justify-content:center;padding:10px 20px;text-decoration:none;transition:transform .1s}.reset-btn:active{box-shadow:none;transform:translateY(4px)}#error-msg{background:#ffebee;border-radius:10px;color:var(--error-color);display:none;font-size:.9rem;font-weight:700;margin-bottom:10px;padding:10px;text-align:center}#loading-overlay{align-items:center;background:rgba(255,255,255,.8);display:none;flex-direction:column;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:9999}.puyo-loader{animation:bounce .6s infinite alternate;background:var(--accent-color);border-radius:50%;box-shadow:0 4px 0 #388e3c;height:50px;margin-bottom:15px;width:50px}.loading-text{color:var(--primary-color);font-size:1.2rem;font-weight:700}.result-meta{color:var(--text-color);font-weight:700;margin-bottom:30px;text-align:center}.highlight-word{color:var(--primary-color);font-size:1.2rem;-webkit-text-decoration:underline wavy var(--accent-color);text-decoration:underline wavy var(--accent-color)}.usage-note{color:#888;display:block;font-size:.8rem;font-weight:400;margin-top:8px}.video-card{background:var(--card-bg);border:2px solid #eee;border-radius:var(--border-radius);box-shadow:0 4px 0 rgba(0,0,0,.05);display:flex;flex-direction:column;margin-bottom:30px;overflow:hidden;transition:transform .2s}.video-card:hover{border-color:var(--primary-color);transform:translateY(-4px)}.card-left-col{width:100%}.card-thumbnail{background:#eee;display:block;padding-top:56.25%;position:relative;width:100%}.thumb-img{height:100%;left:0;position:absolute;top:0;width:100%;-o-object-fit:cover;object-fit:cover;transition:transform .3s}.card-thumbnail:hover .thumb-img{transform:scale(1.05)}.play-overlay{color:#fff;font-size:3rem;left:50%;pointer-events:none;position:absolute;text-shadow:0 2px 10px rgba(0,0,0,.5);top:50%;transform:translate(-50%,-50%)}.video-info-header{background:#fafafa;border-bottom:1px solid #eee;padding:15px 20px}.video-date{color:#888;display:block;font-size:.8rem;font-weight:700;margin-bottom:4px}.video-title{color:var(--text-color);font-size:1rem;font-weight:700;line-height:1.4;margin:0}.card-content{padding:10px 20px 20px}.subtitle-list{list-style:none;margin:0;padding:0}.subtitle-item{align-items:flex-start;border-bottom:2px dashed #eee;display:flex;gap:15px;padding:12px 0}.subtitle-item:last-child{border-bottom:none}.time-link{background:var(--accent-color);border-radius:15px;box-shadow:0 2px 0 #388e3c;color:#fff;display:inline-block;font-size:.85rem;font-weight:700;margin-right:5px;padding:4px 12px;text-decoration:none;white-space:nowrap}.time-link:hover{background:#66bb6a;transform:translateY(1px)}.sub-text{flex:1;font-size:.95rem;line-height:1.6;word-break:break-all}.sub-text strong{background:#ffeb3b;border-radius:4px;color:#333;padding:0 4px}.no-result{background:#fff;border:2px dashed #ddd;border-radius:var(--border-radius);color:var(--text-color);padding:50px;text-align:center}.pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:50px}.page-btn,.page-link{align-items:center;background:#fff;border:2px solid #ddd;border-radius:25px;color:var(--text-color);display:inline-flex;font-weight:700;justify-content:center;padding:12px 24px;text-decoration:none;transition:.3s}.page-link{border-radius:50%;height:40px;padding:0;width:40px}.page-btn:hover,.page-link:hover{border-color:var(--primary-color);color:var(--primary-color)}.page-link.current{background:var(--primary-color);border-color:var(--primary-color);color:#fff;pointer-events:none}.page-dots{align-items:center;color:#aaa;display:flex;font-weight:700}@media (min-width:768px){.video-card{align-items:stretch;flex-direction:row}.card-left-col{border-right:1px solid #eee;display:flex;flex-direction:column;flex-shrink:0;width:300px}.card-thumbnail{padding-top:168px}.video-info-header{border-bottom:none;flex:1}.card-content{flex:1;padding:20px 25px}.search-actions{flex-direction:row}.filter-group{flex-direction:row}}@media (max-width:600px){.search-title{font-size:1.5rem}.header-logo-link,.header-spacer{flex:0 0 40px;height:40px}}@keyframes bounce{from{transform:translateY(0)}to{transform:translateY(-20px)}}