html,body,#root{height:100%;margin:0;padding:0}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0f172a;color:#e5e7eb}.app-shell{display:flex;height:100vh}.side-nav{display:flex;flex-direction:column;background:#020617;color:#e5e7eb;padding:.75rem .5rem;transition:width .2s ease;border-right:1px solid rgba(148,163,184,.25)}.side-nav.expanded{width:220px}.side-nav.collapsed{width:64px}.side-nav.collapsed .menu-toggle,.side-nav.collapsed .nav-item{padding-left:.2rem;justify-content:center}.menu-toggle{display:flex;align-items:center;gap:.75rem;width:100%;padding:.6rem .7rem;background:transparent;border:none;color:inherit;cursor:pointer;font-size:.95rem;border-radius:.5rem;text-align:left}.menu-toggle:hover{background-color:#94a3b833}.nav-items{display:flex;flex-direction:column;gap:.25rem}.nav-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.6rem .7rem;background:transparent;border:none;color:inherit;text-align:left;border-radius:.5rem;cursor:pointer;font-size:.95rem}.nav-item:hover{background-color:#94a3b833}.nav-item.active{background:linear-gradient(135deg,#6366f1,#22c55e);color:#0b1120;font-weight:600}.nav-icon{width:1.5rem;display:inline-flex;justify-content:center}.version-display{margin-top:auto;padding:.75rem;text-align:center}.version-text{font-size:.7rem;color:#64748b;opacity:.6;font-weight:400}.main-area{flex:1;display:flex;flex-direction:column;min-width:0}.top-bar{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;border-bottom:1px solid rgba(148,163,184,.25);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:radial-gradient(circle at top left,rgba(227,242,249,.12),transparent),radial-gradient(circle at top right,rgba(213,216,247,.12),transparent),#252e44e6}.app-title{margin:0;font-size:1.15rem;letter-spacing:.03em}.topbar-left{display:flex;align-items:center;gap:.75rem}.top-logo{height:50px;display:flex;align-items:center}.logo-image{height:130%;width:auto;object-fit:contain;display:block}.top-logo-text{color:#0b1120;font-weight:700;font-size:.75rem;letter-spacing:.04em}.product-name{font-size:1.1rem;font-weight:600;letter-spacing:.02em;color:#e5e7eb}.global-search-container{position:relative;flex:1;max-width:500px;margin:0 2rem}.global-search-input-wrapper{position:relative;display:flex;align-items:center;background:#0f172a99;border:1px solid rgba(148,163,184,.3);border-radius:.5rem;padding:.5rem .75rem;transition:all .2s ease}.global-search-input-wrapper:focus-within{border-color:#6366f180;background:#0f172acc;box-shadow:0 0 0 3px #6366f11a}.search-icon{font-size:1rem;margin-right:.5rem;opacity:.6}.global-search-input{flex:1;background:transparent;border:none;outline:none;color:#e5e7eb;font-size:.9rem;padding:0}.global-search-input::placeholder{color:#64748b}.search-clear-button{background:transparent;border:none;color:#94a3b8;font-size:1rem;cursor:pointer;padding:0 .25rem;margin-left:.5rem;transition:color .2s ease}.search-clear-button:hover{color:#e5e7eb}.global-search-dropdown{position:absolute;top:calc(100% + .5rem);left:0;right:0;background:#1f2937;border:1px solid #374151;border-radius:.75rem;box-shadow:0 10px 40px #00000080;max-height:400px;overflow-y:auto;z-index:1000;animation:searchDropdownSlideIn .2s ease-out}@keyframes searchDropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.search-dropdown-loading,.search-dropdown-empty{padding:2rem;text-align:center;color:#9ca3af;font-size:.9rem}.search-suggestion-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;background:transparent;border:none;border-bottom:1px solid rgba(55,65,81,.5);color:#e5e7eb;text-align:left;cursor:pointer;transition:background .15s ease}.search-suggestion-item:last-of-type{border-bottom:none}.search-suggestion-item:hover{background:#374151}.search-suggestion-icon{font-size:1rem;opacity:.5;flex-shrink:0}.search-suggestion-text{flex:1;font-size:.9rem;font-weight:500;color:#e5e7eb}.search-dropdown-footer{padding:.75rem 1rem;text-align:center;font-size:.8rem;color:#6b7280;border-top:1px solid rgba(55,65,81,.5);background:#1f293780}.account-area{display:flex;align-items:center;gap:.75rem}.avatar{width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,#22c55e,#06b6d4);display:flex;align-items:center;justify-content:center;color:#0b1120;font-weight:600;font-size:.95rem}.avatar-button{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .6rem .4rem .4rem;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:#0f172a99;color:#e5e7eb;font-size:.9rem;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.avatar-button:hover{background:#1e293bcc;border-color:#94a3b880;transform:translateY(-1px);box-shadow:0 4px 12px #0000004d}.avatar-button:active{transform:translateY(0)}.avatar{width:36px;height:36px;border-radius:999px;background:linear-gradient(135deg,#22c55e,#06b6d4);display:flex;align-items:center;justify-content:center;color:#0b1120;font-weight:700;font-size:1rem;flex-shrink:0;box-shadow:0 2px 8px #22c55e4d}.avatar-name{font-size:.9rem;font-weight:500;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sign-out-label{font-size:.85rem;color:#94a3b8;padding-left:.5rem;border-left:1px solid rgba(148,163,184,.3);transition:color .2s ease}.avatar-button:hover .sign-out-label{color:#ef4444}@media (max-width: 768px){.avatar-name{display:none}.sign-out-label{border-left:none;padding-left:.25rem}}.sign-in-button{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .75rem;border-radius:999px;border:1px solid rgba(148,163,184,.7);background:transparent;color:#e5e7eb;font-size:.9rem;cursor:pointer}.sign-in-button:hover{background-color:#94a3b826}.sign-in-icon{font-size:1rem}.content{padding:1.25rem 1.5rem 2rem;overflow:auto}.section-title{margin:0 0 1rem;font-size:1.05rem;color:#e5e7eb}.sim-section{display:flex;flex-direction:column;gap:1rem}.sim-grid{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.sim-card{background:radial-gradient(circle at top left,rgba(59,130,246,.25),transparent 55%),#0f172af2;border-radius:.9rem;border:1px solid rgba(148,163,184,.35);padding:.85rem;display:flex;flex-direction:column;gap:.6rem;box-shadow:0 10px 30px #0f172ab3}.sim-thumbnail{position:relative;border-radius:.75rem;background:repeating-conic-gradient(from 0deg,#94a3b833,#94a3b833 10deg,#1e40af80 10deg,#1e40af80 20deg);height:160px;overflow:hidden;display:flex;align-items:center;justify-content:center}.sim-thumb-label{position:relative;z-index:1;padding:.25rem .6rem;border-radius:999px;background:#0f172ad9;color:#e5e7eb;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}.sim-info h3{margin:0 0 .25rem;font-size:.98rem}.sim-info p{margin:0;font-size:.85rem;color:#cbd5f5}@media (max-width: 768px){.top-bar{padding-inline:1rem;flex-wrap:wrap;gap:.75rem}.global-search-container{order:3;width:100%;max-width:none;margin:0}.content{padding-inline:1rem}}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;gap:1rem}.section-header-left{display:flex;align-items:center;gap:1rem}.section-title{margin:0;font-size:1.05rem;color:#e5e7eb}.inline-filters{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem;padding:.75rem;background:#0f172a66;border:1px solid rgba(148,163,184,.15);border-radius:.75rem}.inline-search-wrapper{flex:1;max-width:400px;display:flex;align-items:center;background:#1e293b99;border:1px solid rgba(148,163,184,.2);border-radius:.5rem;padding:.5rem .75rem;transition:all .2s ease}.inline-search-wrapper:focus-within{border-color:#6366f180;background:#1e293be6}.inline-search-icon{font-size:.95rem;margin-right:.5rem;opacity:.5}.inline-search-input{flex:1;background:transparent;border:none;outline:none;color:#e5e7eb;font-size:.9rem;padding:0}.inline-search-input::placeholder{color:#64748b}.inline-search-clear{background:transparent;border:none;color:#94a3b8;font-size:1rem;cursor:pointer;padding:0 .25rem;margin-left:.5rem;transition:color .2s ease}.inline-search-clear:hover{color:#e5e7eb}.inline-filters-right{display:flex;align-items:center;gap:.75rem}.sort-select{padding:.5rem .75rem;background:#1e293b99;border:1px solid rgba(148,163,184,.2);border-radius:.5rem;color:#e5e7eb;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;outline:none}.sort-select:hover{border-color:#94a3b866;background:#1e293bcc}.sort-select:focus{border-color:#6366f180;background:#1e293be6}.sort-select option{background:#1e293b;color:#e5e7eb}.upload-button{display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1.25rem;background:linear-gradient(135deg,#6366f1,#22c55e);border:none;border-radius:.5rem;color:#0b1120;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #6366f14d}.upload-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f166}.upload-button:active{transform:translateY(0)}.upload-icon{font-size:1rem}.upload-label{font-size:.9rem}.upload-button-inline{padding:.5rem 1rem;font-size:.85rem}.upload-button-inline .upload-icon{font-size:.9rem}.upload-button-inline .upload-label{font-size:.85rem}.sim-card-menu-container{position:absolute;top:.75rem;right:.75rem;z-index:10}.sim-card-menu-button{background:#1f2937f2;border:1px solid #374151;border-radius:6px;color:#9ca3af;font-size:1.25rem;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;padding:0;line-height:1}.sim-card-menu-button:hover{background:#374151;color:#f3f4f6;border-color:#4b5563}.sim-card-menu{position:absolute;top:100%;right:0;margin-top:.25rem;background:#1f2937;border:1px solid #374151;border-radius:8px;box-shadow:0 10px 25px #00000080;min-width:140px;overflow:hidden;animation:menuSlideIn .15s ease-out}@keyframes menuSlideIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.menu-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.75rem 1rem;background:transparent;border:none;color:#e5e7eb;font-size:.875rem;text-align:left;cursor:pointer;transition:background .15s}.menu-item:hover{background:#374151}.menu-item-delete{color:#ef4444}.menu-item-delete:hover{background:#ef44441a}.menu-item-disabled{opacity:.5;cursor:not-allowed}.menu-item-disabled:hover{background:transparent}.menu-divider{height:1px;background:#374151;margin:.25rem 0}.pagination-container{display:flex;align-items:center;gap:1rem;padding:.5rem .75rem;background:#0f172a4d;border-radius:.5rem;border:1px solid rgba(148,163,184,.15)}.pagination-info{font-size:.85rem;color:#94a3b8;font-weight:500;white-space:nowrap}.pagination-controls{display:flex;align-items:center;gap:.375rem;flex-wrap:nowrap}.pagination-bottom-container{display:flex;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(148,163,184,.1)}.pagination-button{padding:.4rem .75rem;background:#1e293b99;border:1px solid rgba(148,163,184,.3);border-radius:.375rem;color:#cbd5e1;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.pagination-button:hover:not(:disabled){background:#1e293be6;border-color:#6366f180;color:#e5e7eb}.pagination-button:disabled{opacity:.4;cursor:not-allowed}.pagination-pages{display:flex;align-items:center;gap:.25rem}.pagination-page{min-width:2rem;height:2rem;padding:.375rem;background:#1e293b99;border:1px solid rgba(148,163,184,.2);border-radius:.375rem;color:#cbd5e1;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.pagination-page:hover{background:#1e293be6;border-color:#6366f166;color:#e5e7eb}.pagination-page.active{background:#6366f1;border-color:#6366f1;color:#fff;font-weight:600}.pagination-page.active:hover{background:#5558e3;border-color:#5558e3}.pagination-ellipsis{padding:0 .25rem;color:#64748b;font-weight:500;-webkit-user-select:none;user-select:none;font-size:.85rem}@media (max-width: 768px){.section-header{flex-direction:column;align-items:stretch;gap:1rem}.upload-button{width:100%;justify-content:center}.inline-filters{flex-direction:column;align-items:stretch;gap:.75rem}.inline-search-wrapper{max-width:none}.inline-filters-right{justify-content:stretch}.sort-select{flex:1}.pagination-container{flex-direction:column;align-items:stretch;gap:.75rem;padding:1rem}.pagination-info{text-align:center}.pagination-controls{justify-content:center;flex-wrap:wrap}.pagination-button{font-size:.8rem;padding:.5rem .75rem}.pagination-page{min-width:2.25rem;height:2.25rem}}.auth-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.auth-modal{position:relative;background:radial-gradient(circle at top left,rgba(59,130,246,.15),transparent),#0f172afa;border:1px solid rgba(148,163,184,.3);border-radius:1rem;width:100%;max-width:440px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000080}.auth-modal-close{position:absolute;top:1rem;right:1rem;background:transparent;border:none;color:#94a3b8;font-size:1.5rem;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:.5rem;transition:all .2s ease}.auth-modal-close:hover{background:#94a3b833;color:#e5e7eb}.auth-modal-header{padding:2rem 2rem 1rem;border-bottom:1px solid rgba(148,163,184,.2)}.auth-modal-header h2{margin:0;font-size:1.5rem;color:#e5e7eb;font-weight:600}.auth-modal-body{padding:2rem}.auth-error{padding:.75rem 1rem;background:#ef444426;border:1px solid rgba(239,68,68,.3);border-radius:.5rem;color:#fca5a5;font-size:.875rem;margin-bottom:1rem}.auth-success{padding:.75rem 1rem;background:#22c55e26;border:1px solid rgba(34,197,94,.3);border-radius:.5rem;color:#86efac;font-size:.875rem;margin-bottom:1rem}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.form-group label{font-size:.875rem;color:#cbd5e1;font-weight:500}.form-group input{padding:.75rem 1rem;background:#0f172a99;border:1px solid rgba(148,163,184,.3);border-radius:.5rem;color:#e5e7eb;font-size:.95rem;transition:all .2s ease}.form-group input:focus{outline:none;border-color:#6366f199;background:#0f172acc;box-shadow:0 0 0 3px #6366f11a}.form-group input:disabled{opacity:.5;cursor:not-allowed}.form-group input::placeholder{color:#64748b}.auth-submit-button{padding:.875rem 1.5rem;background:linear-gradient(135deg,#6366f1,#22c55e);border:none;border-radius:.5rem;color:#0b1120;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-top:.5rem}.auth-submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #6366f166}.auth-submit-button:active:not(:disabled){transform:translateY(0)}.auth-submit-button:disabled{opacity:.6;cursor:not-allowed}.auth-divider{display:flex;align-items:center;gap:1rem;margin:1.5rem 0;color:#64748b;font-size:.875rem}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#94a3b833}.google-sign-in-button{width:100%;padding:.875rem 1.5rem;background:#fffffff2;border:1px solid rgba(148,163,184,.3);border-radius:.5rem;color:#0f172a;font-size:.95rem;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.75rem;transition:all .2s ease}.google-sign-in-button:hover:not(:disabled){background:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.google-sign-in-button:active:not(:disabled){transform:translateY(0)}.google-sign-in-button:disabled{opacity:.6;cursor:not-allowed}.auth-footer{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid rgba(148,163,184,.2);display:flex;flex-direction:column;gap:.5rem;align-items:center}.auth-link{background:transparent;border:none;color:#60a5fa;font-size:.875rem;cursor:pointer;text-decoration:none;transition:color .2s ease}.auth-link:hover{color:#93c5fd;text-decoration:underline}@media (max-width: 480px){.auth-modal{max-width:100%;border-radius:0;max-height:100vh}.auth-modal-header,.auth-modal-body{padding:1.5rem}}.upload-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem;overflow-y:auto}.upload-container{background:radial-gradient(circle at top left,rgba(59,130,246,.15),transparent),#0f172afa;border:1px solid rgba(148,163,184,.3);border-radius:1rem;width:100%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000080}.upload-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;border-bottom:1px solid rgba(148,163,184,.2)}.upload-header h2{margin:0;font-size:1.5rem;color:#e5e7eb;font-weight:600}.upload-close{background:transparent;border:none;color:#94a3b8;font-size:1.5rem;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:.5rem;transition:all .2s ease}.upload-close:hover{background:#94a3b833;color:#e5e7eb}.upload-progress{display:flex;justify-content:space-between;padding:2rem 2rem 1.5rem;border-bottom:1px solid rgba(148,163,184,.2);position:relative}.upload-progress:before{content:"";position:absolute;top:50%;left:2rem;right:2rem;height:2px;background:#94a3b833;z-index:0}.progress-step{display:flex;flex-direction:column;align-items:center;gap:.5rem;position:relative;z-index:1;flex:1}.progress-circle{width:40px;height:40px;border-radius:50%;background:#0f172ae6;border:2px solid rgba(148,163,184,.3);display:flex;align-items:center;justify-content:center;font-weight:600;color:#94a3b8;font-size:.9rem;transition:all .3s ease}.progress-step.active .progress-circle{border-color:#6366f1;background:linear-gradient(135deg,#6366f1,#22c55e);color:#0b1120}.progress-step.completed .progress-circle{border-color:#22c55e;background:#22c55e;color:#0b1120}.progress-label{font-size:.75rem;color:#94a3b8;text-transform:capitalize;white-space:nowrap}.progress-step.active .progress-label{color:#e5e7eb;font-weight:500}.upload-content{flex:1;overflow-y:auto;padding:2rem}.upload-step{display:flex;flex-direction:column;gap:2rem;min-height:400px}.step-description{color:#cbd5e1;font-size:.95rem;line-height:1.6;margin:0 0 1rem}.drop-zone{border:2px dashed rgba(148,163,184,.3);border-radius:.75rem;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#0f172a80}.drop-zone:hover{border-color:#6366f180;background:#6366f10d}.drop-zone.dragging{border-color:#22c55e;background:#22c55e1a}.drop-zone-content{pointer-events:none}.drop-zone-icon{font-size:3rem;margin-bottom:1rem}.drop-zone-text{font-size:1.1rem;color:#e5e7eb;margin:0 0 .5rem;font-weight:500}.drop-zone-hint{font-size:.875rem;color:#94a3b8;margin:.25rem 0 1rem}.drop-zone-buttons{display:flex;gap:.75rem;justify-content:center;pointer-events:auto}.browse-button{padding:.75rem 1.5rem;background:#6366f133;border:1px solid rgba(99,102,241,.4);border-radius:.5rem;color:#e5e7eb;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.browse-button:hover{background:#6366f14d;border-color:#6366f199;transform:translateY(-1px)}.file-list{background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:.75rem;padding:1.5rem}.file-list-title{font-size:.95rem;color:#cbd5e1;margin:0 0 1rem;font-weight:500}.file-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background:#0f172acc;border:1px solid rgba(148,163,184,.2);border-radius:.5rem;margin-bottom:.75rem;transition:all .2s ease}.file-item:last-child{margin-bottom:0}.file-item:hover{border-color:#94a3b866;background:#1e293bcc}.file-icon{font-size:1.5rem;flex-shrink:0}.file-details{flex:1;min-width:0}.file-key-input{width:100%;background:transparent;border:none;color:#e5e7eb;font-size:.95rem;padding:.25rem 0;font-family:Monaco,Consolas,monospace}.file-key-input:focus{outline:none;border-bottom:1px solid #6366f1}.file-meta{display:flex;align-items:center;gap:.5rem;margin-top:.25rem;font-size:.8rem;color:#94a3b8}.file-size{color:#94a3b8}.file-separator{color:#64748b}.file-type-select{background:#0f172acc;border:1px solid rgba(148,163,184,.3);color:#e5e7eb;padding:.25rem .5rem;border-radius:.25rem;font-size:.8rem;cursor:pointer}.file-type-select:hover{border-color:#94a3b880}.file-remove{background:transparent;border:none;color:#94a3b8;cursor:pointer;width:28px;height:28px;border-radius:.25rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.file-remove:hover{background:#ef444433;color:#ef4444}.metadata-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-size:.9rem;color:#cbd5e1;font-weight:500}.label-hint{font-weight:400;color:#94a3b8;font-size:.85rem}.form-input,.form-textarea{padding:.75rem 1rem;background:#0f172a99;border:1px solid rgba(148,163,184,.3);border-radius:.5rem;color:#e5e7eb;font-size:.95rem;transition:all .2s ease;font-family:inherit}.form-input:focus,.form-textarea:focus{outline:none;border-color:#6366f199;background:#0f172acc;box-shadow:0 0 0 3px #6366f11a}.form-input.error,.form-textarea.error{border-color:#ef444499}.form-textarea{resize:vertical;min-height:100px}.form-error{color:#fca5a5;font-size:.85rem}.form-hint{color:#94a3b8;font-size:.8rem;text-align:right}.tag-input-container{background:#0f172a99;border:1px solid rgba(148,163,184,.3);border-radius:.5rem;padding:.5rem;transition:all .2s ease}.tag-input-container:focus-within{border-color:#6366f199;background:#0f172acc;box-shadow:0 0 0 3px #6366f11a}.tag-list{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tag{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .75rem;background:linear-gradient(135deg,#6366f133,#22c55e33);border:1px solid rgba(99,102,241,.3);border-radius:999px;color:#e5e7eb;font-size:.85rem;font-weight:500}.tag-remove{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.tag-remove:hover{background:#ef44444d;color:#ef4444}.tag-input{border:none;background:transparent;color:#e5e7eb;font-size:.9rem;padding:.4rem .5rem;flex:1;min-width:200px;outline:none}.tag-input::placeholder{color:#64748b}.tag-suggestions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:.75rem}.suggestions-label{font-size:.8rem;color:#94a3b8;margin-right:.25rem}.suggestion-tag{padding:.35rem .75rem;background:#0f172a99;border:1px solid rgba(148,163,184,.3);border-radius:999px;color:#cbd5e1;font-size:.8rem;cursor:pointer;transition:all .2s ease}.suggestion-tag:hover{background:#6366f133;border-color:#6366f180;color:#e5e7eb}.visibility-options{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.visibility-option{cursor:pointer}.visibility-option input[type=radio]{display:none}.option-content{display:flex;align-items:center;gap:1rem;padding:1rem;background:#0f172a99;border:2px solid rgba(148,163,184,.3);border-radius:.75rem;transition:all .2s ease}.visibility-option:hover .option-content{border-color:#94a3b880;background:#1e293b99}.visibility-option.selected .option-content{border-color:#6366f1;background:#6366f11a}.option-icon{font-size:2rem;flex-shrink:0}.option-text{flex:1}.option-title{font-size:1rem;color:#e5e7eb;font-weight:600;margin-bottom:.25rem}.option-description{font-size:.85rem;color:#94a3b8}.thumbnail-step{display:flex;flex-direction:column;gap:1.5rem}.thumbnail-upload{border:2px dashed rgba(148,163,184,.3);border-radius:.75rem;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#0f172a80}.thumbnail-upload:hover{border-color:#6366f180;background:#6366f10d}.thumbnail-upload-content{pointer-events:none}.thumbnail-icon{font-size:3rem;margin-bottom:1rem}.thumbnail-text{font-size:1.1rem;color:#e5e7eb;margin:0 0 .5rem;font-weight:500}.thumbnail-hint{font-size:.875rem;color:#94a3b8;margin:.25rem 0}.thumbnail-preview{width:100%;max-width:600px;border-radius:.75rem;overflow:hidden;border:1px solid rgba(148,163,184,.3)}.thumbnail-tips{background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:.75rem;padding:1.25rem}.tips-title{font-size:.95rem;color:#cbd5e1;margin:0 0 .75rem;font-weight:500}.tips-list{margin:0;padding-left:1.5rem;color:#94a3b8;font-size:.9rem;line-height:1.8}.preview-card{background:#0f172a99;border:1px solid rgba(148,163,184,.3);border-radius:.75rem;overflow:hidden}.preview-thumbnail{width:100%;aspect-ratio:16/9;overflow:hidden;background:#0000004d}.preview-thumbnail img{width:100%;height:100%;object-fit:cover}.preview-metadata{padding:1.5rem}.preview-title{font-size:1.5rem;color:#e5e7eb;margin:0 0 .75rem;font-weight:600}.preview-description{color:#cbd5e1;font-size:.95rem;line-height:1.6;margin:0 0 1rem}.preview-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.preview-tag{padding:.4rem .75rem;background:linear-gradient(135deg,#6366f133,#22c55e33);border:1px solid rgba(99,102,241,.3);border-radius:999px;color:#e5e7eb;font-size:.85rem}.visibility-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#6366f133;border:1px solid rgba(99,102,241,.3);border-radius:.5rem;color:#e5e7eb;font-size:.9rem;font-weight:500}.preview-section{background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:.75rem;padding:1.25rem}.preview-section-title{font-size:.95rem;color:#cbd5e1;margin:0 0 1rem;font-weight:500}.preview-files{display:flex;flex-direction:column;gap:.5rem}.preview-file{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:.5rem;font-size:.9rem}.preview-file-icon{font-size:1.2rem}.preview-file-name{flex:1;color:#e5e7eb;font-family:Monaco,Consolas,monospace}.preview-file-type{padding:.25rem .5rem;background:#6366f133;border-radius:.25rem;color:#cbd5e1;font-size:.75rem;text-transform:uppercase}.preview-file-size{color:#94a3b8;font-size:.85rem}.preview-total-size{margin-top:.75rem;padding-top:.75rem;border-top:1px solid rgba(148,163,184,.2);color:#cbd5e1;font-size:.9rem;text-align:right}.preview-info{display:flex;gap:1rem;padding:1.25rem;background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:.75rem}.info-icon{font-size:1.5rem;flex-shrink:0}.info-content{flex:1}.info-title{font-size:.95rem;color:#e5e7eb;margin:0 0 .5rem;font-weight:600}.info-list{margin:0;padding-left:1.25rem;color:#cbd5e1;font-size:.9rem;line-height:1.8}.publish-step{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem;min-height:400px}.publish-status{text-align:center}.status-icon{font-size:4rem;margin-bottom:1rem}.status-title{font-size:1.5rem;color:#e5e7eb;margin:0 0 .5rem;font-weight:600}.status-subtitle{color:#94a3b8;font-size:.95rem;margin:0}.progress-container{width:100%;max-width:400px;text-align:center}.progress-bar{width:100%;height:8px;background:#94a3b833;border-radius:999px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#6366f1,#22c55e);border-radius:999px;transition:width .3s ease}.progress-text{font-size:.9rem;color:#cbd5e1;font-weight:600}.success-message,.error-message{text-align:center;padding:1.5rem;border-radius:.75rem}.success-message{background:#22c55e1a;border:1px solid rgba(34,197,94,.3);color:#86efac}.success-hint{font-size:.9rem;color:#94a3b8;margin-top:.5rem}.error-message{background:#ef44441a;border:1px solid rgba(239,68,68,.3);color:#fca5a5}.publish-info{display:flex;gap:2rem;justify-content:center}.info-item{display:flex;flex-direction:column;gap:.25rem;text-align:center}.info-label{font-size:.8rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.info-value{font-size:1.1rem;color:#e5e7eb;font-weight:600}.uploading-notice{text-align:center;color:#94a3b8;font-size:.9rem;margin:0}.upload-actions{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem 2rem;border-top:1px solid rgba(148,163,184,.2);margin-top:auto}.btn-primary,.btn-secondary,.btn-text,.btn-sm{padding:.75rem 1.5rem;border-radius:.5rem;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.btn-primary{background:linear-gradient(135deg,#6366f1,#22c55e);color:#0b1120}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #6366f166}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:#94a3b833;color:#e5e7eb;border:1px solid rgba(148,163,184,.3)}.btn-secondary:hover{background:#94a3b84d;border-color:#94a3b880}.btn-text{background:transparent;color:#94a3b8}.btn-text:hover{color:#e5e7eb;background:#94a3b81a}.btn-sm{padding:.5rem 1rem;font-size:.875rem}.upload-error{padding:.75rem 1rem;background:#ef444426;border:1px solid rgba(239,68,68,.3);border-radius:.5rem;color:#fca5a5;font-size:.875rem}@media (max-width: 768px){.upload-container{max-width:100%;max-height:100vh;border-radius:0}.upload-content{padding:1.5rem}.upload-header,.upload-actions{padding:1.25rem 1.5rem}.upload-progress{padding:1.5rem 1rem 1rem}.progress-label{font-size:.7rem}.visibility-options{grid-template-columns:1fr}.tag-input{min-width:150px}}.preview-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;gap:1rem;color:#94a3b8}.loading-spinner{width:48px;height:48px;border:4px solid rgba(148,163,184,.2);border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-error{text-align:center;padding:3rem 2rem;color:#cbd5e1}.error-icon{font-size:3rem;margin-bottom:1rem}.preview-error h3{margin:0 0 .5rem;color:#e5e7eb;font-size:1.25rem}.preview-error p{margin:.5rem 0;color:#94a3b8}.error-hint{font-size:.875rem;color:#64748b;margin-top:1rem!important}.step-header{margin-bottom:1.5rem}.step-header h2{margin:0 0 .5rem;font-size:1.5rem;color:#e5e7eb;font-weight:600}.simulation-preview-section{margin-bottom:2rem}.simulation-preview-container{background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:.5rem;overflow:hidden;margin-bottom:1rem}.simulation-frame{position:relative;width:100%;padding-bottom:75%;background:#000}.preview-iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none;background:#fff}.capture-controls{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem 0}.btn-capture{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:.875rem 2rem;border-radius:.5rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 4px 12px #3b82f64d}.btn-capture:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 6px 16px #3b82f666}.btn-capture:disabled{opacity:.6;cursor:not-allowed;transform:none}.capture-hint{margin:0;font-size:.875rem;color:#94a3b8;text-align:center}.thumbnail-preview-section{margin-top:2rem;padding-top:2rem;border-top:1px solid rgba(148,163,184,.2)}.thumbnail-preview-section h3{margin:0 0 1rem;font-size:1.125rem;color:#e5e7eb;font-weight:600}.thumbnail-preview-container{display:flex;flex-direction:column;align-items:center;gap:1rem}.thumbnail-preview{max-width:400px;width:100%;border-radius:.5rem;overflow:hidden;border:2px solid rgba(148,163,184,.3);background:#0f172a99}.thumbnail-preview img{width:100%;height:auto;display:block}.thumbnail-actions{display:flex;gap:.75rem}.btn-recapture{margin-top:.5rem}.thumbnail-required-notice{margin-top:1rem;padding:.875rem 1.25rem;background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:.5rem;text-align:center;font-size:.875rem;color:#93c5fd}@media (max-width: 768px){.simulation-frame{padding-bottom:56.25%}.btn-capture{width:100%;padding:1rem}.thumbnail-preview{max-width:100%}.step-header h2{font-size:1.25rem}}.preview-step-loading,.preview-step-error{text-align:center;padding:3rem 2rem}.preview-step-loading .loading-spinner{font-size:3rem;margin-bottom:1rem}.preview-step-loading p,.preview-step-error p{color:#94a3b8;margin:.5rem 0}.preview-step{display:flex;flex-direction:column;gap:1.5rem}.simulation-preview-iframe{width:100%;height:600px;border:none;border-radius:.5rem;background:#000}.simulation-preview-loading{display:flex;align-items:center;justify-content:center;height:600px;color:#94a3b8;background:#0f172a99;border-radius:.5rem}.thumbnail-capture-section{background:#0f172a66;border:1px solid rgba(148,163,184,.2);border-radius:.5rem;padding:1.5rem;text-align:center}.thumbnail-capture-section h4{margin:0 0 .5rem;color:#e5e7eb;font-size:1.125rem}.thumbnail-capture-section .capture-hint{margin-bottom:1rem;color:#94a3b8;font-size:.875rem}.thumbnail-preview-result{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid rgba(148,163,184,.2)}.thumbnail-preview-result .success-message{color:#10b981;font-weight:600;margin-bottom:1rem}.thumbnail-preview-img{max-width:400px;width:100%;border-radius:.5rem;border:2px solid rgba(148,163,184,.3)}.preview-info-box{background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:.5rem;padding:1rem;text-align:center}.preview-info-box p{margin:0;color:#93c5fd;font-size:.875rem}@media (max-width: 768px){.simulation-preview-iframe{height:400px}.thumbnail-preview-img{max-width:100%}}.type-selection-step{display:flex;flex-direction:column;gap:2rem;padding:2rem 0}.type-options{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.type-option-card{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:3rem 2rem;background:#0f172a99;border:2px solid rgba(148,163,184,.3);border-radius:1rem;cursor:pointer;transition:all .3s ease;text-align:center}.type-option-card:hover{border-color:#6366f1;background:#6366f11a;transform:translateY(-4px);box-shadow:0 8px 24px #6366f133}.type-icon{font-size:3.5rem;opacity:.9}.type-option-card h3{margin:0;font-size:1.25rem;color:#e5e7eb;font-weight:600}.type-option-card p{margin:0;font-size:.9rem;color:#94a3b8;line-height:1.5}.external-url-step{display:flex;flex-direction:column;gap:2rem}.url-input-section{display:flex;flex-direction:column;gap:1rem}.url-input-section label{font-size:.95rem;color:#cbd5e1;font-weight:500}.url-input-section input[type=url]{padding:.875rem 1rem;background:#0f172a99;border:2px solid rgba(148,163,184,.3);border-radius:.5rem;color:#e5e7eb;font-size:1rem;transition:all .2s ease;font-family:Monaco,Consolas,monospace}.url-input-section input[type=url]:focus{outline:none;border-color:#6366f199;background:#0f172acc;box-shadow:0 0 0 3px #6366f11a}.url-input-section input[type=url].input-error{border-color:#ef444499}.error-message{color:#fca5a5;font-size:.875rem;margin-top:-.5rem;padding:.5rem .75rem;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:.375rem}.url-examples{background:#0f172a66;border:1px solid rgba(148,163,184,.2);border-radius:.5rem;padding:1rem}.examples-title{margin:0 0 .5rem;font-size:.875rem;color:#cbd5e1;font-weight:500}.url-examples ul{margin:0;padding-left:1.5rem;color:#94a3b8;font-size:.875rem;line-height:1.8}.url-examples li{font-family:Monaco,Consolas,monospace}.url-note{padding:.875rem 1rem;background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:.5rem;font-size:.875rem;color:#93c5fd;line-height:1.6}.url-note strong{color:#60a5fa}@media (max-width: 768px){.type-options{grid-template-columns:1fr}.type-option-card{padding:2rem 1.5rem}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.confirm-delete-modal{background:#1f2937;border:1px solid #374151;border-radius:12px;padding:0;max-width:450px;width:90%;box-shadow:0 20px 25px -5px #00000080;animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:1.5rem;border-bottom:1px solid #374151}.modal-header h2{margin:0;font-size:1.25rem;font-weight:600;color:#ef4444}.modal-body{padding:1.5rem}.simulation-title{font-size:1rem;font-weight:500;color:#f3f4f6;margin:0 0 1rem}.warning-text{color:#9ca3af;font-size:.875rem;margin:0;line-height:1.5}.modal-actions{padding:1rem 1.5rem;display:flex;gap:.75rem;justify-content:flex-end;border-top:1px solid #374151}.btn-cancel,.btn-delete{padding:.5rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;border:none}.btn-cancel{background:#374151;color:#f3f4f6}.btn-cancel:hover:not(:disabled){background:#4b5563}.btn-delete{background:#ef4444;color:#fff}.btn-delete:hover:not(:disabled){background:#dc2626}.btn-cancel:disabled,.btn-delete:disabled{opacity:.5;cursor:not-allowed}.simulation-viewer{max-width:1200px;margin:0 auto;padding:2rem;color:#e5e7eb}.close-button{background:transparent;border:1px solid #374151;color:#9ca3af;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;margin-bottom:1rem;transition:all .2s}.close-button:hover{background:#1f2937;color:#e5e7eb;border-color:#4b5563}.simulation-header{margin-bottom:1rem}.simulation-header h1{font-size:2rem;margin:0 0 .5rem;color:#f3f4f6}.simulation-meta{display:flex;gap:1.5rem;font-size:.9rem;color:#9ca3af}.simulation-meta span{display:flex;align-items:center;gap:.25rem}.simulation-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.5rem}.tag{background:#1f2937;color:#60a5fa;padding:.25rem .75rem;border-radius:12px;font-size:.85rem;border:1px solid #374151}.simulation-runner-container{position:relative;margin:2rem 0;background:#1f2937;border:2px solid #374151;border-radius:8px;overflow:hidden;transition:all .3s ease}.simulation-runner-container.maximized{position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100vh;margin:0;border-radius:0;z-index:9999;border:none}.maximize-button{position:absolute;top:.75rem;right:.75rem;z-index:10;background:#1f2937e6;border:1px solid #4b5563;color:#e5e7eb;width:36px;height:36px;border-radius:6px;cursor:pointer;font-size:1.25rem;display:flex;align-items:center;justify-content:center;transition:all .2s;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.maximize-button:hover{background:#374151f2;border-color:#6b7280;transform:scale(1.05)}.simulation-runner-container.maximized .maximize-button{background:#1f2937f2;border-color:#6b7280}.simulation-runner-warning{background:#422006;border-bottom:1px solid #78350f;padding:.75rem 1rem;font-size:.85rem;color:#fbbf24;display:flex;align-items:center;gap:.5rem}.simulation-runner{width:100%;height:600px;border:none;background:#111827;display:block}.simulation-runner-container.maximized .simulation-runner{height:100vh}.simulation-description{margin:2rem 0;padding:1.5rem;background:#1f2937;border-radius:8px;border:1px solid #374151}.simulation-description h2{margin:0 0 1rem;font-size:1.25rem;color:#f3f4f6}.simulation-description p{margin:0;line-height:1.6;color:#d1d5db}.simulation-actions{margin:2rem 0;display:flex;gap:1rem}.like-button{background:#1f2937;border:2px solid #374151;color:#e5e7eb;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-size:1rem;transition:all .2s;display:flex;align-items:center;gap:.5rem}.like-button:hover{background:#374151;border-color:#4b5563;transform:scale(1.02)}.like-button.liked{background:#7c2d12;border-color:#dc2626;color:#fecaca}.like-button.liked:hover{background:#991b1b;border-color:#ef4444}.like-button:disabled{opacity:.5;cursor:not-allowed}.version-info{margin:2rem 0;padding:1rem;background:#111827;border-left:3px solid #60a5fa;border-radius:4px}.version-info h3{margin:0 0 .5rem;font-size:1rem;color:#60a5fa}.release-notes{margin:0;color:#9ca3af;font-size:.9rem}.comments-section{margin:3rem 0;padding-top:2rem;border-top:2px solid #374151}.comments-section h2{font-size:1.5rem;margin:0 0 1.5rem;color:#f3f4f6}.comment-form{margin-bottom:2rem;display:flex;flex-direction:column;gap:.75rem}.comment-form textarea{background:#1f2937;border:2px solid #374151;border-radius:8px;padding:.75rem;color:#e5e7eb;font-size:.95rem;font-family:inherit;resize:vertical;transition:border-color .2s}.comment-form textarea:focus{outline:none;border-color:#60a5fa}.comment-form textarea:disabled{opacity:.5;cursor:not-allowed}.comment-form button{background:#2563eb;border:none;color:#fff;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-size:.95rem;align-self:flex-start;transition:background .2s}.comment-form button:hover:not(:disabled){background:#1d4ed8}.comment-form button:disabled{background:#374151;cursor:not-allowed;opacity:.6}.comment-signin-prompt{padding:1.5rem;background:#1f2937;border:1px solid #374151;border-radius:8px;text-align:center;color:#9ca3af;margin-bottom:2rem}.comments-list{display:flex;flex-direction:column;gap:1rem}.no-comments{text-align:center;color:#6b7280;padding:2rem;font-style:italic}.comment{background:#1f2937;border:1px solid #374151;border-radius:8px;padding:1rem}.comment-header{display:flex;justify-content:space-between;margin-bottom:.5rem;font-size:.85rem}.comment-author{font-weight:600;color:#60a5fa}.comment-date{color:#6b7280}.comment-content{color:#d1d5db;line-height:1.5;margin-bottom:.5rem}.comment-replies{margin-top:1rem;padding-left:1.5rem;border-left:2px solid #374151;display:flex;flex-direction:column;gap:1rem}.loading,.error{text-align:center;padding:4rem 2rem}.error{color:#f87171}.error h2{margin-bottom:1rem;color:#ef4444}.error button{background:#2563eb;border:none;color:#fff;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;margin-top:1rem}.error button:hover{background:#1d4ed8}.simulation-actions-bar{display:flex;align-items:center;gap:.5rem;margin-top:1rem;margin-bottom:2rem;padding:.5rem .75rem;background:transparent;border-top:1px solid #2d3748;border-bottom:1px solid #2d3748}.action-btn{display:flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border-radius:4px;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s;border:none;background:transparent}.action-btn-secondary{color:#9ca3af}.action-btn-secondary:hover:not(:disabled){color:#e5e7eb;background:#4b55634d}.action-btn-secondary:disabled{opacity:.4;cursor:not-allowed}.action-btn-delete{color:#f87171}.action-btn-delete:hover:not(:disabled){color:#ef4444;background:#ef44441a}.action-spacer{flex:1}@media (max-width: 768px){.simulation-viewer{padding:1rem}.simulation-header h1{font-size:1.5rem}.simulation-runner{height:400px}.comment-replies{padding-left:1rem}.simulation-actions-bar{flex-wrap:wrap;justify-content:center}.action-spacer{display:none}.action-btn{flex:1 1 auto;min-width:fit-content}}.external-simulation-container{display:flex;align-items:center;justify-content:center;min-height:400px;padding:3rem}.external-simulation-info{text-align:center;max-width:500px}.external-icon{font-size:4rem;margin-bottom:1rem;opacity:.8}.external-simulation-info h3{font-size:1.5rem;color:#f3f4f6;margin-bottom:.5rem}.external-simulation-info p{color:#9ca3af;margin-bottom:1.5rem;font-size:.95rem}.external-link-button{display:inline-block;background:#2563eb;color:#fff;padding:.875rem 1.75rem;border-radius:8px;text-decoration:none;font-weight:500;font-size:1rem;transition:all .2s;border:2px solid #2563eb}.external-link-button:hover{background:#1d4ed8;border-color:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 12px #2563eb4d}.external-url-display{margin-top:1.5rem;padding:.75rem;background:#1f2937;border:1px solid #374151;border-radius:6px;word-break:break-all}.external-url-display small{color:#60a5fa;font-size:.85rem}.history-view{width:100%;max-width:900px;margin:0 auto;padding:1rem 0}.history-loading,.history-error{text-align:center;padding:3rem;color:#9ca3af;font-size:1.1rem}.history-error{color:#f87171}.history-empty{text-align:center;padding:4rem 2rem;color:#9ca3af}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.history-empty h3{margin:0 0 .5rem;font-size:1.5rem;color:#cbd5e1}.history-empty p{margin:0;font-size:1rem;color:#64748b}.history-group{margin-bottom:2.5rem}.history-group-title{font-size:.75rem;font-weight:700;letter-spacing:.1em;color:#64748b;margin:0 0 1rem;padding:0 0 .5rem;border-bottom:2px solid rgba(100,116,139,.2)}.history-items{display:flex;flex-direction:column;gap:.75rem}.history-card{display:flex;gap:1rem;background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:.75rem;padding:1rem;cursor:pointer;transition:all .2s ease}.history-card:hover{background:#0f172acc;border-color:#6366f166;transform:translate(4px);box-shadow:0 4px 12px #6366f11a}.history-card-thumbnail{flex-shrink:0;width:120px;height:90px;background:#1e293b99;border-radius:.5rem;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.1)}.history-card-no-thumb{font-size:.75rem;color:#64748b;text-align:center}.history-card-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:.5rem}.history-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.history-card-title{margin:0;font-size:1.1rem;font-weight:600;color:#e5e7eb;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-card-time{flex-shrink:0;font-size:.85rem;color:#94a3b8;font-weight:500}.history-card-description{margin:0;font-size:.9rem;color:#94a3b8;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.history-card-tags{display:flex;gap:.375rem;flex-wrap:wrap}.history-card-tag{font-size:.7rem;padding:.125rem .5rem;background:#1f2937cc;color:#60a5fa;border-radius:6px;border:1px solid rgba(55,65,81,.6)}.history-card-stats{display:flex;gap:1rem;font-size:.85rem;color:#6b7280;margin-top:auto}.history-card-stats span{display:flex;align-items:center;gap:.25rem}.history-load-more{margin-top:2rem;padding:2rem 1rem;text-align:center;background:#0f172a66;border-radius:.75rem;border:1px solid rgba(148,163,184,.15)}.load-more-button{padding:.75rem 2rem;background:#6366f11a;border:2px solid rgba(99,102,241,.3);border-radius:.5rem;color:#a5b4fc;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.load-more-button:hover:not(:disabled){background:#6366f133;border-color:#6366f180;color:#c7d2fe;transform:translateY(-2px);box-shadow:0 4px 12px #6366f133}.load-more-button:disabled{opacity:.5;cursor:not-allowed;transform:none}@media (max-width: 768px){.history-view{padding:.5rem}.history-card{flex-direction:column}.history-card-thumbnail{width:100%;height:180px}.history-card-header{flex-direction:column;gap:.25rem;align-items:flex-start}.history-card-title{white-space:normal}.history-card-time{font-size:.75rem}}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.history-group{animation:slideIn .3s ease-out}.settings-view{width:100%;max-width:800px;margin:0 auto;padding:2rem 1rem}.settings-not-signed-in{text-align:center;padding:4rem 2rem;color:#9ca3af}.not-signed-in-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.settings-not-signed-in h3{margin:0 0 .5rem;font-size:1.5rem;color:#cbd5e1}.settings-not-signed-in p{margin:0;font-size:1rem;color:#64748b}.settings-container{display:flex;flex-direction:column;gap:1.5rem}.settings-card{background:#0f172a99;border:1px solid rgba(148,163,184,.2);border-radius:1rem;padding:1.5rem;transition:all .2s ease}.settings-card:hover{border-color:#94a3b84d;background:#0f172ab3}.settings-card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid rgba(148,163,184,.1)}.settings-card-icon{font-size:1.5rem}.settings-card-title{margin:0;font-size:1.25rem;font-weight:600;color:#e5e7eb}.settings-card-content{display:flex;flex-direction:column;gap:1.5rem}.settings-field{display:flex;flex-direction:column;gap:.5rem}.settings-field-danger{padding-top:1.5rem;border-top:1px solid rgba(239,68,68,.2)}.settings-label{font-size:.95rem;font-weight:500;color:#cbd5e1}.settings-value{font-size:1rem;color:#94a3b8;display:flex;align-items:center;gap:.5rem}.verified-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;background:#22c55e1a;color:#4ade80;border:1px solid rgba(34,197,94,.3);border-radius:.375rem;font-size:.75rem;font-weight:500}.settings-hint{font-size:.875rem;color:#64748b;line-height:1.4}.settings-radio-group{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.radio-option{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:#1e293b66;border:2px solid rgba(148,163,184,.2);border-radius:.5rem;cursor:pointer;transition:all .2s ease}.radio-option:hover{border-color:#6366f166;background:#1e293b99}.radio-option input[type=radio]{margin-top:.25rem;cursor:pointer}.radio-option input[type=radio]:checked+.radio-label{color:#e5e7eb}.radio-label{display:flex;flex-direction:column;gap:.25rem;flex:1;color:#94a3b8;font-weight:500}.radio-icon{margin-right:.25rem}.radio-hint{font-size:.75rem;color:#64748b;font-weight:400}.settings-select{padding:.75rem 1rem;background:#1e293b99;border:2px solid rgba(148,163,184,.2);border-radius:.5rem;color:#e5e7eb;font-size:.95rem;cursor:pointer;transition:all .2s ease;max-width:200px}.settings-select:hover{border-color:#94a3b84d}.settings-select:focus{outline:none;border-color:#6366f199;box-shadow:0 0 0 3px #6366f11a}.settings-button{padding:.75rem 1.5rem;font-size:.95rem;font-weight:500;border-radius:.5rem;border:none;cursor:pointer;transition:all .2s ease;max-width:fit-content}.settings-button:disabled{opacity:.5;cursor:not-allowed}.settings-button-primary{background:#6366f1;color:#fff}.settings-button-primary:hover:not(:disabled){background:#5558e3}.settings-button-secondary{background:#94a3b81a;color:#cbd5e1;border:1px solid rgba(148,163,184,.3)}.settings-button-secondary:hover:not(:disabled){background:#94a3b833;border-color:#94a3b866}.settings-button-danger{background:#ef44441a;color:#f87171;border:1px solid rgba(239,68,68,.3)}.settings-button-danger:hover:not(:disabled){background:#ef444433;border-color:#ef444466}.settings-confirm{padding:1rem;background:#1e293b66;border:1px solid rgba(148,163,184,.2);border-radius:.5rem;margin-top:.5rem}.confirm-text{margin:0 0 1rem;font-size:.9rem;color:#cbd5e1;line-height:1.5}.confirm-text strong{color:#f87171}.confirm-actions{display:flex;gap:.75rem;flex-wrap:wrap}@media (max-width: 768px){.settings-view{padding:1rem .5rem}.settings-card{padding:1rem}.settings-card-header{margin-bottom:1rem;padding-bottom:.75rem}.settings-select{max-width:100%}.settings-button{width:100%;max-width:100%}.confirm-actions{flex-direction:column}.radio-option{padding:.75rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.settings-card{animation:fadeIn .3s ease-out}.settings-card:nth-child(1){animation-delay:0s}.settings-card:nth-child(2){animation-delay:.1s}.settings-card:nth-child(3){animation-delay:.2s}.login-required-container{display:flex;justify-content:center;align-items:center;min-height:400px;padding:40px 20px}.login-required-content{text-align:center;max-width:400px;padding:40px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.login-required-icon{font-size:64px;margin-bottom:20px;opacity:.8}.login-required-title{font-size:24px;font-weight:600;color:#1a1a1a;margin:0 0 12px}.login-required-message{font-size:16px;color:#666;margin:0 0 24px;line-height:1.5}.login-required-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 32px;font-size:16px;font-weight:600;border-radius:8px;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 4px #0000001a}.login-required-button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.login-required-button:active{transform:translateY(0);box-shadow:0 2px 4px #0000001a}.login-required-help{font-size:14px;color:#888;margin:20px 0 0;line-height:1.4}
