:root{color:#fff;background:#101010;font-family:Arial,Helvetica,sans-serif}body{background:#101010;min-width:320px;min-height:100vh;margin:0}button{font-family:inherit}*{box-sizing:border-box}body{color:#fff;background:#101010;margin:0;font-family:Arial,Helvetica,sans-serif}.app{background:#101010;min-height:100vh;padding:32px}.header{margin-bottom:32px}.header h1{letter-spacing:1px;margin:0;font-size:42px}.header p{color:#b5b5b5;margin-top:8px}.stats{grid-template-columns:repeat(4,minmax(160px,1fr));gap:16px;margin-bottom:40px;display:grid}.stat-card{background:#1c1c1c;border:1px solid #2d2d2d;border-radius:16px;padding:20px}.stat-card span{color:#a9a9a9;margin-bottom:12px;display:block}.stat-card strong{font-size:34px}.section{margin-bottom:44px}.section h2{border-bottom:3px solid #ffd400;margin-bottom:20px;padding-bottom:6px;font-size:26px;display:inline-block}.grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;display:grid}.show-card{background:#050505;border:1px solid #272727;border-radius:14px;min-height:310px;overflow:hidden}.show-card.stopped{opacity:.75}.poster-placeholder{background:linear-gradient(135deg,#292929,#111);border-bottom:6px solid #ffd400;justify-content:center;align-items:center;height:170px;display:flex}.poster-placeholder span{color:#ffd400;font-size:58px;font-weight:700}.show-content{padding:14px}.show-content h3{margin:0 0 8px;font-size:17px}.show-content p{color:#bfbfbf;margin:0 0 12px}.show-content small{color:#9f9f9f}.progress-bar{background:#333;border-radius:999px;height:8px;margin-bottom:10px;overflow:hidden}.progress{background:#ffd400;height:100%}@media (width<=800px){.app{padding:18px}.stats{grid-template-columns:repeat(2,1fr)}.header h1{font-size:32px}}.search-section{margin-bottom:36px}.search-wrapper{width:100%;max-width:520px;position:relative}.search-input{color:#fff;background:#1b1b1b;border:1px solid #3a3a3a;border-radius:999px;outline:none;width:100%;max-width:520px;padding:14px 48px 14px 18px;font-size:16px}.search-input:focus{border-color:#ffd400}.search-input::placeholder{color:#8f8f8f}.search-clear-button{color:#8f8f8f;cursor:pointer;background:0 0;border:none;font-size:24px;line-height:1;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.search-clear-button:hover{color:#fff}.show-card,.show-card *{cursor:pointer}.episodes-section{flex-direction:column;gap:32px;margin-top:40px;display:flex}.season-block{background:#151515;border:1px solid #303030;border-radius:20px;padding:24px}.season-block h2{color:#ffd400;border-bottom:none;margin:0 0 22px;font-size:28px}.episodes-list{flex-direction:column;gap:12px;display:flex}.episode-row{background:#050505;border:1px solid #292929;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;padding:16px;display:flex}.episode-row strong{color:#d0d0d0;font-size:16px;line-height:1.35;display:block}.episode-row p{color:#8f8f8f;margin:7px 0 0}.episode-watched{opacity:.72}.episode-button{white-space:nowrap;color:#fff;cursor:pointer;background:#1b1b1b;border:1px solid #3a3a3a;border-radius:999px;min-width:145px;padding:11px 16px;font-weight:600}.episode-button:hover{color:#ffd400;border-color:#ffd400}.episode-button.watched{color:#101010;background:#c9aa00;border-color:#c9aa00;font-weight:700}.episode-button.watched:hover{color:#101010;background:#ffd400;border-color:#ffd400}@media (width<=700px){.episode-row{flex-direction:column;align-items:flex-start}.episode-button{width:100%}}button.back-button{color:#ffd400;cursor:pointer;background:#ffd4001f;border:1px solid #ffd400;border-radius:999px;justify-content:center;align-items:center;gap:8px;margin-bottom:28px;padding:13px 22px;font-family:inherit;font-size:15px;font-weight:700;transition:background .15s,color .15s,transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 0 0 1px #ffd40014}button.back-button:hover{color:#101010;background:#ffd400;transform:translateY(-2px);box-shadow:0 8px 22px #ffd40038}.details-header{background:#1b1b1b;border:1px solid #303030;border-radius:22px;grid-template-columns:220px 1fr;align-items:center;gap:32px;margin-bottom:44px;padding:28px;display:grid}.details-poster{background:linear-gradient(135deg,#292929,#111);border-bottom:8px solid #ffd400;border-radius:18px;justify-content:center;align-items:center;height:285px;display:flex}.details-poster span{color:#ffd400;font-size:82px;font-weight:900}.details-status{color:#ffd400;margin:0 0 12px;font-weight:700}.details-header h1{margin:0 0 22px;font-size:46px;line-height:1.1}.details-progress{max-width:520px}.next-episode-card{background:linear-gradient(135deg,#ffd40029,#151515);border:1px solid #ffd40059;border-radius:20px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:36px;padding:24px;display:flex}.next-episode-card span{color:#ffd400;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.next-episode-card h2{color:#fff;border-bottom:none;margin:0 0 8px;font-size:26px}.next-episode-card p{color:#bdbdbd;margin:0}.next-episode-button{white-space:nowrap;color:#101010;cursor:pointer;background:#ffd400;border:1px solid #ffd400;border-radius:999px;padding:13px 18px;font-weight:800}.next-episode-button:hover{filter:brightness(1.08)}@media (width<=700px){.next-episode-card{flex-direction:column;align-items:flex-start}.next-episode-button{width:100%}}.backup-section{flex-wrap:wrap;gap:12px;margin-bottom:40px;display:flex}.backup-button{color:#101010;cursor:pointer;background:#ffd400;border:1px solid #ffd400;border-radius:999px;padding:12px 18px;font-weight:800}.backup-button:hover{filter:brightness(1.08)}.backup-button.secondary{color:#ffd400;background:#ffd4001f}.backup-button.secondary:hover{color:#101010;background:#ffd400}.hidden-file-input{display:none}.continue-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.continue-card{cursor:pointer;background:#050505;border:1px solid #272727;border-radius:16px;grid-template-columns:92px 1fr;gap:16px;min-height:150px;padding:14px;transition:transform .15s,border-color .15s;display:grid}.continue-card:hover{border-color:#ffd400;transform:translateY(-3px)}.continue-card *{cursor:pointer}.continue-poster{background:linear-gradient(135deg,#292929,#111);border-bottom:5px solid #ffd400;border-radius:12px;justify-content:center;align-items:center;min-height:122px;display:flex}.continue-poster span{color:#ffd400;font-size:42px;font-weight:900}.continue-content{flex-direction:column;justify-content:center;display:flex}.continue-label{color:#ffd400;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px;font-size:12px;font-weight:800}.continue-content h3{margin:0 0 8px;font-size:18px}.continue-content p{color:#d0d0d0;margin:0 0 6px;font-weight:700}.continue-content small{color:#9f9f9f;margin-bottom:12px}@media (width<=600px){.continue-card{grid-template-columns:1fr}.continue-poster{height:140px}}.poster-image{object-fit:cover;width:100%;height:100%;display:block}.poster-placeholder,.details-poster,.continue-poster{overflow:hidden}.finished-toggle-button{color:#ffd400;cursor:pointer;background:#ffd4001f;border:1px solid #ffd400;border-radius:999px;margin-top:16px;padding:12px 18px;font-weight:800}.finished-toggle-button:hover{color:#101010;background:#ffd400}.modal-backdrop{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000c7;padding:24px;z-index:9999!important;justify-content:center!important;align-items:center!important;display:flex!important;position:fixed!important;inset:0!important}.finished-modal{background:radial-gradient(circle at 0 0,#ffd4002e,#0000 40%),#151515;border:1px solid #ffd4008c;border-radius:28px;width:min(480px,100%);padding:30px;box-shadow:0 24px 80px #000000bf}.modal-label{color:#ffd400;letter-spacing:.1em;text-transform:uppercase;font-size:.78rem;font-weight:900}.finished-modal h2{color:#fff;margin:12px 0;font-size:2rem;line-height:1.1}.finished-modal p{color:#d8d8d8;font-size:1rem;line-height:1.5}.finished-modal strong{color:#fff}.modal-question{margin-top:18px;font-weight:800}.finished-modal-actions{gap:12px;margin-top:24px;display:flex}.modal-button{cursor:pointer;border:1px solid #ffd400;border-radius:999px;flex:1;padding:13px 16px;font-weight:900}.modal-button.primary{color:#111;background:#ffd400}.modal-button.secondary{color:#ffd400;background:0 0}.modal-button:hover{transform:translateY(-1px)}.episode-edit-button{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff38;border-radius:999px;justify-content:center;align-items:center;margin-top:12px;margin-left:10px;padding:12px 18px;font-weight:800;display:inline-flex}.episode-edit-button:hover{color:#ffd400;border-color:#ffd400}.episode-count-modal{background:radial-gradient(circle at 0 0,#ffd4002e,#0000 40%),#151515;border:1px solid #ffd4008c;border-radius:28px;width:min(480px,100%);padding:30px;box-shadow:0 24px 80px #000000bf}.episode-count-modal h2{color:#fff;margin:12px 0;font-size:2rem;line-height:1.1}.episode-count-modal p{color:#d8d8d8;line-height:1.5}.editor-field{color:#fff;gap:8px;margin-top:18px;font-weight:800;display:grid}.editor-field input,.editor-field select{color:#fff;width:100%;font:inherit;background:#101010;border:1px solid #ffffff2e;border-radius:14px;padding:12px 14px}.editor-field input:focus,.editor-field select:focus{border-color:#ffd400;outline:none}.field-input-wrapper{width:100%;position:relative}.field-input-wrapper input{padding-right:46px}.field-clear-button{color:#8f8f8f;cursor:pointer;background:0 0;border:none;font-size:24px;line-height:1;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.field-clear-button:hover{color:#fff}.modal-help{margin-top:14px;font-size:.92rem}.section-toggle-button{color:#ffd400;cursor:pointer;background:#ffd4001a;border:1px solid #ffd40099;border-radius:999px;justify-content:center;align-items:center;margin-top:18px;padding:12px 20px;font-weight:900;display:inline-flex}.section-toggle-button:hover{background:#ffd4002e}.status-select-wrapper{color:#fff;background:#ffffff14;border:1px solid #ffffff2e;border-radius:999px;align-items:center;gap:10px;padding:10px 14px;font-weight:900;display:inline-flex}.status-select{color:#ffd400;font:inherit;cursor:pointer;background:0 0;border:none;font-weight:900}.status-select:focus{outline:none}.status-select option{color:#fff;background:#151515}.danger-button{color:#f77;cursor:pointer;background:#ff50501f;border:1px solid #ff5050b3;border-radius:999px;justify-content:center;align-items:center;padding:11px 16px;font-weight:900;display:inline-flex}.danger-button:hover{background:#ff505033}.season-header h2{margin:0}.season-delete-button{color:#c94c4c;cursor:pointer;background:0 0;border:1px solid #c94c4c;border-radius:50%;place-items:center;width:2.5rem;height:2.5rem;padding:0;font-size:1.5rem;line-height:1;display:grid}.season-delete-button:hover{color:#fff;background:#c94c4c}@media (width<=600px){.season-header{grid-template-columns:minmax(0,1fr) auto auto auto;gap:.6rem}.season-delete-button{width:2.5rem;height:2.5rem}}.season-collapse-button{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.75rem;padding:0;display:flex}.season-collapse-button span:first-child{font-size:1.6rem;font-weight:800}.season-chevron{transition:transform .2s;display:inline-block}.season-chevron.expanded{transform:rotate(180deg)}.season-episode-count{font-weight:700}.season-watch-round{color:#777;cursor:pointer;background:#f2f2f2;border:1px solid #666;border-radius:50%;place-items:center;width:3.25rem;height:3.25rem;padding:0;font-size:1.4rem;display:grid}.season-watch-round.watched{color:#111;background:#ffd400;border-color:#ffd400}.season-header{grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:1rem;display:grid}.season-collapse-button{grid-area:1/1}.season-episode-count{grid-area:1/2;justify-self:end}.season-watch-round{grid-area:1/3}.season-delete-button{grid-area:1/4;justify-self:end}
