:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--primary-color: #1e90ff;--primary-hover: #1c86ee;--secondary-color: #28a745;--danger-color: #dc3545;--background-color: #121212;--card-bg: #1f1f1f;--gray-light: #333;--gray-medium: #555;--gray-dark: #aaa;--text-color: #eee;--font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif}*,*:before,*:after{box-sizing:border-box}body{margin:0;padding:0;font-family:var(--font-family);color:var(--text-color);background-color:var(--background-color);min-height:100vh;display:flex;flex-direction:column;align-items:center}#root{margin:0;padding:0}h1{font-size:2rem}header.app-header{position:fixed;top:0;right:0;padding:.5rem 1rem;font-size:.85rem;color:var(--text-color);display:flex;align-items:center;gap:1rem;background-color:#121212d9;-webkit-backdrop-filter:saturate(180%) blur(10px);backdrop-filter:saturate(180%) blur(10px);border-bottom-left-radius:12px;z-index:1000}.user-dropdown{position:relative;cursor:pointer;color:var(--text-color);outline:none;-webkit-user-select:none;user-select:none;padding:.25rem .5rem;border-radius:6px;transition:background-color .2s ease}.user-dropdown:focus,.user-dropdown:hover{background-color:#ffffff1a}.dropdown-menu{position:absolute;top:100%;right:0;margin-top:.25rem;background-color:var(--card-bg);border-radius:6px;padding:.5rem 0;min-width:140px;box-shadow:0 4px 12px #0009;z-index:1001;list-style:none}.dropdown-item{all:unset;display:block;width:100%;padding:.5rem 1rem;color:var(--text-color);cursor:pointer;font-size:1rem;transition:background-color .2s ease;border-radius:4px;text-align:left}.dropdown-item:hover,.dropdown-item:focus{background-color:var(--primary-color);color:#fff;outline:none}main.container{margin-top:3rem;width:100vw;padding:0 2rem;display:flex;flex-direction:column;align-items:center;gap:2rem;text-align:center}form.form-group{flex-direction:column;flex-wrap:wrap;align-items:stretch}form.form-group,section.add-movie>div{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;width:100%;max-width:400px;margin:0 auto}input[type=email],input[type=password],input[type=text]{flex-grow:1;padding:.75rem;font-size:1rem;border-radius:6px;border:1px solid var(--gray-medium);background-color:#222;color:var(--text-color);transition:border-color .2s ease,background-color .2s ease}input[type=email]:focus,input[type=password]:focus,input[type=text]:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #1e90ff66;background-color:#333}button{padding:.75rem 1.25rem;font-size:1rem;font-weight:600;color:#fff;background-color:var(--primary-color);border:none;border-radius:6px;cursor:pointer;transition:background-color .2s ease;min-width:120px}button:disabled{background-color:#555;cursor:not-allowed}button:hover:not(:disabled),button:focus:not(:disabled){background-color:var(--primary-hover)}button.secondary{background-color:var(--secondary-color)}section.add-movie,section.vault{width:100%}.vault-grid{display:grid;grid-template-columns:repeat(auto-fill,200px);justify-content:start;margin-top:1rem}@media (max-width: 600px){main.container{padding:3rem 1rem 0;margin-top:0;gap:1rem;width:100%}.vault-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:1rem;justify-content:center}}.vault-card{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;width:100%;height:auto;overflow:hidden;cursor:pointer;transition:transform .3s ease,box-shadow .3s ease}.vault-card:hover{transform:translateY(-20px) rotateX(8deg) scale(1.01);z-index:10}.vault-image{width:auto;height:265px;object-fit:fill;border-radius:2px;margin-bottom:8px;filter:contrast(1.1) brightness(1);transition:filter .3s ease}.vault-card:hover .vault-image{filter:brightness(.6) contrast(1.1)}.vault-info-overlay{position:absolute;top:0;left:0;width:100%;height:265px;background:#000000bf;color:var(--text-color);opacity:0;transition:opacity .3s ease;display:flex;flex-direction:column;justify-content:center;padding:1rem;border-radius:2px;pointer-events:none;font-size:.9rem;text-align:center}.vault-info-overlay h3,.vault-info-overlay p{padding:0 1rem}.vault-card:hover .vault-info-overlay{opacity:1;pointer-events:auto}.vault-info-overlay h3{margin:0 0 .5rem;font-size:1.1rem;font-weight:700;font-family:Courier New,Courier,monospace}.vault-info-overlay p{margin:.2rem 0;line-height:1.3}.no-image-box{width:100%;height:150px;background-color:var(--gray-light);border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--gray-dark);font-size:.9rem;margin-bottom:8px}.vault-card h3{font-size:.95rem;margin:0;word-break:break-word;overflow-wrap:anywhere;color:var(--text-color);padding:0 6px 10px;font-family:Courier New,Courier,monospace}@media (max-width: 400px){form.form-group,section.add-movie>div{flex-direction:column;max-width:100%}button,input[type=email],input[type=password],input[type=text]{max-width:100%;width:100%}button.secondary{margin-left:0;margin-top:.5rem}}.vault-card .remove-btn{opacity:0;transition:opacity .3s ease;min-width:0!important;padding:0!important;position:absolute;top:5px;right:15px;background-color:var(--danger-color);width:30px;height:30px;z-index:10}.vault-card:hover .remove-btn{opacity:1}.vault-card .remove-btn:hover,.vault-card .remove-btn:focus{background-color:#b32b2b;outline:none}.sort-filter-controls{display:flex;align-items:center;width:100%;max-width:1200px;margin:0 auto;gap:1rem;padding:.5rem 1rem;border-radius:15px;background-color:#1b1b1b}.sort-filter-label{font-size:1rem;color:var(--text-color);display:flex;align-items:center;justify-content:center;gap:.5rem}.sort-filter-toggle{display:none;background:none;border:1px solid #ccc;padding:.5rem 1rem;font-weight:700;cursor:pointer;margin-bottom:1rem}.sort-filter-wrapper{width:100%}.sort-filter-label:has(.sort-filter-input){margin-left:auto}.sort-filter-select,.sort-filter-input{padding:.4rem .6rem;border-radius:6px;border:1px solid var(--gray-medium);background-color:#222;color:var(--text-color);font-size:1rem;transition:border-color .2s ease,background-color .2s ease}.sort-filter-select:focus,.sort-filter-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #1e90ff66;background-color:#333}@media (max-width: 992px){.sort-filter-controls{flex-direction:column;align-items:center;text-align:center}.sort-filter-label{width:100%;flex-direction:column;align-items:center;text-align:center}.sort-filter-select,.sort-filter-input{width:100%;margin-top:.25rem}.sort-filter-toggle{display:block}.sort-filter-controls.collapsed{display:none}.sort-filter-controls.open{display:flex;flex-direction:column;align-items:center}}.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}.stats-charts{display:flex;gap:5rem;justify-content:center;flex-wrap:wrap;margin:2rem auto}.stats-charts{display:flex;flex-wrap:wrap;justify-content:center;gap:3rem;max-width:1200px;margin:2rem auto}.chart{flex:1 1 45%;max-width:500px;text-align:center}.recharts-legend-wrapper{bottom:0!important}@media (max-width: 768px){.chart{flex:1 1 100%;max-width:100%}}.toggle-container{width:50px;height:28px;border-radius:999px;background-color:var(--primary-color);position:relative;cursor:pointer;transition:background-color .3s ease;margin:0 auto}.toggle-circle{width:24px;height:24px;background-color:#fff;border-radius:50%;position:absolute;top:2px;left:2px;transition:transform .3s ease}.toggle-container.on .toggle-circle{transform:translate(22px)}
