.modal-overlay{z-index:1000;background-color:#00000080;justify-content:center;align-items:center;padding:20px;animation:.3s fadeIn;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:16px;width:100%;max-height:90vh;animation:.3s slideIn;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-small{max-width:400px}.modal-medium{max-width:600px}.modal-large{max-width:800px}.modal-header{border-bottom:1px solid var(--border-color);background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-title{margin:0;font-size:20px;font-weight:600}.modal-close{cursor:pointer;color:#fff;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;transition:background-color .3s;display:flex}.modal-close:hover{background-color:#fff3}.modal-close-icon{font-size:24px;line-height:1}.modal-body{max-height:calc(90vh - 140px);padding:24px;overflow-y:auto}.modal-footer{border-top:1px solid var(--border-color);justify-content:flex-end;gap:12px;padding:20px 24px;display:flex}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.btn{cursor:pointer;border:none;border-radius:20px;justify-content:center;align-items:center;gap:8px;font-weight:500;transition:all .3s;display:inline-flex;position:relative;overflow:hidden}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-small{padding:12px;font-size:12px}.btn-medium{padding:10px 20px;font-size:14px}.btn-large{padding:14px 28px;font-size:16px}.btn-primary{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;box-shadow:0 4px 12px #6b4eff4d}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #6b4eff66}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-secondary{color:var(--text-primary);background-color:#f0f0f0}.btn-secondary:hover:not(:disabled){background-color:#e0e0e0}.btn-outline{border:1px solid var(--primary-color);color:var(--primary-color);background-color:#0000}.btn-outline:hover:not(:disabled){background-color:var(--primary-color);color:#fff}.btn-danger{background-color:var(--danger-color);color:#fff}.btn-danger:hover:not(:disabled){background-color:#ff7875}.btn-success{background-color:var(--success-color);color:#fff}.btn-success:hover:not(:disabled){background-color:#73d13d}.btn-full-width{width:100%}.btn-loading{position:relative;color:#0000!important}.btn-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin;position:absolute}@keyframes spin{to{transform:rotate(360deg)}}.btn-icon{justify-content:center;align-items:center;font-size:18px;display:flex}.input-wrapper{width:100%;margin-bottom:20px}.input-label{color:var(--text-primary);margin-bottom:8px;font-size:14px;font-weight:500;display:block}.input-container{border:1px solid var(--border-color);background-color:var(--white);border-radius:8px;align-items:center;transition:all .3s;display:flex;position:relative}.input-container:hover{border-color:var(--primary-light)}.input-container.input-focused{border-color:var(--primary-color);box-shadow:0 0 0 3px #6b4eff1a}.input-container.input-error{border-color:var(--danger-color)}.input-field{width:100%;color:var(--text-primary);background:0 0;border:none;outline:none;padding:12px 16px;font-size:14px}.input-field::placeholder{color:var(--text-light)}.has-left-icon .input-field{padding-left:44px}.has-right-icon .input-field{padding-right:44px}.input-left-icon,.input-right-icon{width:44px;color:var(--text-light);justify-content:center;align-items:center;font-size:18px;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.input-left-icon{left:0}.input-right-icon{right:0}.input-error-message{color:var(--danger-color);margin-top:6px;font-size:12px;display:block}.input-helper-text{color:var(--text-light);margin-top:6px;font-size:12px;display:block}.input-field[type=number]{-moz-appearance:textfield}.input-field[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.input-field[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.dialog-message{color:var(--text-primary);white-space:pre-wrap;margin:0;font-size:15px;line-height:1.5}.dialog-prompt-field{width:100%}.dialog-prompt-label{color:var(--text-primary);margin-bottom:8px;font-size:14px;font-weight:500;display:block}.dialog-prompt-textarea-wrap{border:1px solid var(--border-color);background-color:var(--white);border-radius:8px;transition:border-color .3s,box-shadow .3s}.dialog-prompt-textarea-wrap:focus-within{border-color:var(--primary-color);box-shadow:0 0 0 3px #6b4eff1a}.dialog-prompt-textarea-wrap--error{border-color:var(--danger-color)}.dialog-prompt-textarea{width:100%;min-height:100px;color:var(--text-primary);resize:vertical;background:0 0;border:none;border-radius:8px;outline:none;padding:12px 16px;font-family:inherit;font-size:14px;display:block}.dialog-prompt-textarea::placeholder{color:var(--text-light)}.dialog-prompt-error{color:var(--danger-color);margin-top:8px;font-size:13px;display:block}.template-card{box-shadow:var(--shadow);background:#fff;border-radius:16px;flex-direction:column;height:100%;transition:all .3s;display:flex;position:relative;overflow:hidden}.template-card:before{content:"";background:var(--template-color);z-index:1;height:4px;position:absolute;top:0;left:0;right:0}.template-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-8px)}.template-card-header{text-align:center;background:linear-gradient(135deg, var(--template-color) 0%, color-mix(in srgb, var(--template-color) 80%, black) 100%);color:#fff;padding:30px 20px 20px}.template-icon{object-fit:contain;width:48px;height:48px;margin-bottom:12px;animation:2s infinite bounce;display:inline-block}.template-icon-own{width:50px;height:50px}.template-icon-tictactoe{width:54px;height:54px}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.template-title{margin:0;font-size:24px;font-weight:600}.template-card-content{flex:1;padding:24px}.template-description{color:var(--text-secondary);margin:0;font-size:14px;line-height:1.6}.template-card-footer{border-top:1px solid var(--border-color);padding:20px}.create-game-page{max-width:1200px;margin:0 auto;padding:40px;animation:.5s fadeIn}.templates-grid{grid-template-columns:repeat(auto-fit,minmax(500px,1fr));gap:30px;padding:20px 0;animation:.5s .2s both slideIn;display:grid}@media (width<=768px){.create-game-page{padding:20px}.page-title{font-size:36px}.page-description{font-size:16px}.templates-grid{grid-template-columns:1fr}}.game-card{box-shadow:var(--shadow);cursor:pointer;background:#fff;border-radius:16px;flex-direction:column;height:100%;transition:all .3s;display:flex;position:relative;overflow:hidden}.game-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px)}.game-card-header{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;justify-content:space-between;align-items:flex-start;padding:16px;display:flex}.game-card-header-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.game-card-report-icon{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.game-card-report-icon:hover{background:#ffffff59}.game-card-type{background:#fff3;border-radius:20px;align-items:center;gap:8px;padding:4px 12px;font-size:13px;display:flex}.game-card-status{background:#fff3;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:500}.game-card-status.published{background:var(--success-color)}.game-card-status.draft{background:var(--warning-color)}.library-likes-badge{color:#ffe4e6;cursor:default;-webkit-user-select:none;user-select:none;background:#fff3;border:1px solid #ffffff4d;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:13px;font-weight:600;line-height:1;display:inline-flex}.game-card-content{flex-direction:column;flex:1;padding:20px;display:flex}.game-card-title{color:var(--text-primary);margin:0 0 8px;font-size:18px;font-weight:600}.game-card-description{color:var(--text-secondary);margin:0 0 16px;font-size:14px;line-height:1.5}.game-card-library-footer-meta{flex-flow:wrap;justify-content:flex-start;align-items:center;gap:16px;margin-top:auto;padding-top:16px;display:flex}.game-card-library-id{flex-shrink:0}.game-card-library-author{min-width:0}button.game-card-library-author--clickable{font:inherit;text-align:left;cursor:pointer;color:inherit;background:0 0;border:none;border-radius:10px;max-width:100%;margin:-4px -6px;padding:4px 6px;transition:background-color .2s,color .2s}button.game-card-library-author--clickable:hover{color:var(--primary-color);background:#6b4eff14}button.game-card-library-author--clickable:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}.game-card-meta{flex-wrap:wrap;gap:16px;margin-bottom:12px;display:flex}.game-card-meta-item{color:var(--text-light);align-items:center;gap:6px;font-size:13px;display:flex}.meta-icon-svg{color:var(--text-light);justify-content:center;align-items:center;line-height:0;display:inline-flex}.author-avatar{background:var(--border-color);width:20px;height:20px;color:var(--text-secondary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:inline-flex;overflow:hidden}.author-avatar img{object-fit:cover;width:100%;height:100%;display:block}.game-card-stats{border-top:1px solid var(--border-color);gap:20px;padding-top:12px;display:flex}.game-card-stat{color:var(--text-secondary);align-items:center;gap:6px;font-size:14px;display:flex}.stat-icon{font-size:16px;line-height:0}.game-card-footer{border-top:1px solid var(--border-color);background:#fafafa;flex-wrap:wrap;gap:8px;padding:16px;display:flex}.game-card-footer button{flex:1;min-width:100px}.my-games-page{max-width:1400px;margin:0 auto;padding:40px;animation:.5s fadeIn}.page-header{justify-content:space-between;align-items:center;margin-bottom:40px;display:flex}.header-left{animation:.5s slideIn}.page-title{color:var(--text-primary);margin-bottom:8px;font-size:36px;font-weight:700}.page-subtitle{color:var(--text-secondary);margin:0;font-size:16px}.games-stats{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px;animation:.5s .1s both slideIn;display:grid}.stat-value{color:var(--primary-color);margin-bottom:8px;font-size:42px;font-weight:700;line-height:1}.filter-tabs{border-bottom:1px solid var(--border-color);gap:12px;margin-bottom:30px;padding-bottom:12px;animation:.5s .2s both slideIn;display:flex}.empty-state{text-align:center;box-shadow:var(--shadow);background:#fff;border-radius:16px;padding:80px 20px;animation:.5s fadeIn}.publish-form{flex-direction:column;gap:16px;display:flex}.empty-state-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.my-games-controls{margin-bottom:32px}.my-games-filter-row{align-items:center;gap:16px;margin-bottom:20px;display:flex}.my-games-filter-col{flex:1 1 0;width:50%;min-width:0}.my-games-search-section{align-items:center;display:flex}.my-games-search-section .input-wrapper{margin-bottom:0}.my-games-search-section .input-container{box-sizing:border-box;border-radius:12px;min-height:48px}.my-games-age-section{box-sizing:border-box;background:#6b4eff0a;border:1px solid #6b4eff1f;border-radius:12px;flex-direction:row;align-items:center;gap:12px;min-height:48px;padding:0 14px;display:flex}.my-games-age-label{color:var(--text-primary);white-space:nowrap;flex-shrink:0;font-size:13px;font-weight:600}.my-games-age-section .age-range-slider{flex:1;width:auto;min-width:0}.my-games-type-filters{flex-wrap:wrap;gap:12px;display:flex}.my-games-filter-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:30px;padding:8px 20px;font-size:14px;font-weight:500;transition:all .3s}.my-games-filter-btn:hover{border-color:var(--primary-color);color:var(--primary-color)}.my-games-filter-btn.active{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;border-color:#0000;box-shadow:0 4px 12px #6b4eff4d}.my-games-filter-label{align-items:center;gap:8px;display:inline-flex}.my-games-type-icon{object-fit:contain;width:18px;height:18px}.my-games-type-icon.own{width:19px;height:19px}.my-games-type-icon.game-type-icon-tictactoe{width:22px;height:22px}@media (width<=768px){.my-games-page{padding:20px}.page-header{flex-direction:column;align-items:flex-start;gap:16px}.games-stats{grid-template-columns:1fr}.my-games-filter-row{flex-direction:column}.my-games-filter-col{width:100%}}.age-range-slider{box-sizing:border-box;flex-direction:column;gap:4px;width:100%;padding:2px 0;display:flex}.age-range-slider__meta{justify-content:space-between;align-items:baseline;gap:8px;padding:0 2px;display:flex}.age-range-slider__hint{color:var(--text-secondary,#666);flex:none;font-size:11px;font-weight:500;line-height:1.2}.age-range-slider__selection{text-align:center;min-width:0;color:var(--text-secondary,#666);white-space:nowrap;flex:auto;font-size:12px;line-height:1.2}.age-range-slider__selection strong{color:var(--text-primary,#222);font-weight:600}.age-range-slider__sep{opacity:.6;margin:0 4px}.age-range-slider__track-wrap{height:28px;position:relative}.age-range-slider__track{pointer-events:none;background:#6b4eff1f;border-radius:6px;height:6px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.age-range-slider__active{background:linear-gradient(135deg, var(--primary-color,#6b4eff) 0%, var(--primary-dark,#5a3fd4) 100%);border-radius:6px;height:100%;position:absolute;box-shadow:0 2px 6px #6b4eff47}.age-range-slider__input{pointer-events:none;appearance:none;background:0 0;width:100%;height:0;margin:0;padding:0;position:absolute;top:50%;left:0;transform:translateY(-50%)}.age-range-slider__input::-webkit-slider-thumb{pointer-events:auto;appearance:none;background:linear-gradient(135deg, var(--primary-color,#6b4eff) 0%, var(--primary-dark,#5a3fd4) 100%);cursor:grab;border:2px solid #fffffff2;border-radius:50%;width:18px;height:18px;box-shadow:0 2px 6px #6b4eff73}.age-range-slider__input:active::-webkit-slider-thumb{cursor:grabbing}.age-range-slider__input::-moz-range-thumb{pointer-events:auto;background:linear-gradient(135deg, var(--primary-color,#6b4eff) 0%, var(--primary-dark,#5a3fd4) 100%);cursor:grab;border:2px solid #fffffff2;border-radius:50%;width:18px;height:18px;box-shadow:0 2px 6px #6b4eff73}.age-range-slider__input::-webkit-slider-runnable-track{background:0 0;height:6px}.age-range-slider__input::-moz-range-track{background:0 0;height:6px}.age-range-slider--compact{flex-direction:row;align-items:center;gap:10px;padding:0}.age-range-slider--compact .age-range-slider__meta{flex:none;padding:0}.age-range-slider--compact .age-range-slider__hint--edge{display:none}.age-range-slider--compact .age-range-slider__selection{text-align:left;flex:none;font-size:11px}.age-range-slider--compact .age-range-slider__track-wrap{flex:auto;min-width:60px;height:22px}@media (width<=360px){.age-range-slider__selection{font-size:11px}.age-range-slider__sep{margin:0 2px}.age-range-slider--compact .age-range-slider__selection{font-size:10px}}.library-author-modal{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:8px 0 4px;display:flex}.library-author-modal-avatar{background:linear-gradient(135deg,#f0f2ff 0%,#e8ecff 100%);border:3px solid #6b4eff40;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:88px;height:88px;display:flex;overflow:hidden}.library-author-modal-avatar img{object-fit:cover;width:100%;height:100%;display:block}.library-author-modal-avatar-fallback{color:var(--primary-color);font-size:36px;font-weight:700;line-height:1}.library-author-modal-name{color:var(--text-primary);word-break:break-word;margin:0;font-size:20px;font-weight:600}.library-author-modal-id{color:var(--text-secondary);word-break:break-all;max-width:100%;margin:0;font-size:14px}.library-page{max-width:1400px;margin:0 auto;padding:40px;animation:.5s fadeIn}.library-controls{margin-bottom:40px;animation:.5s .1s both slideIn}.library-tabs{border-bottom:1px solid var(--border-color);flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:24px;padding-bottom:12px;display:flex}.library-tab{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:30px;padding:8px 20px;font-size:14px;font-weight:500;transition:all .3s}.library-tab:hover{color:var(--text-primary);background-color:#f0f0f0}.library-tab.active{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;box-shadow:0 4px 12px #6b4eff4d}.search-row{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:20px;display:flex}.search-section{flex:1;min-width:min(100%,220px);margin-bottom:0}.search-section .input-wrapper{margin-bottom:0}.search-section .input-container{box-sizing:border-box;border-radius:12px;min-height:48px}.age-filter-row{background:#6b4eff0a;border:1px solid #6b4eff1f;border-radius:16px;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-bottom:16px;padding:12px 16px;display:flex}.age-filter-label{color:var(--text-primary);flex:none;font-size:14px;font-weight:600}.age-filter-row .age-range-slider{flex:260px}.filters-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.type-filters{flex-wrap:wrap;gap:12px;display:flex}.filter-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:30px;padding:8px 20px;font-size:14px;font-weight:500;transition:all .3s}.filter-label{align-items:center;gap:8px;display:inline-flex}.filter-type-icon{object-fit:contain;flex-shrink:0;width:18px;height:18px}.filter-type-icon-own{width:19px;height:19px}.filter-type-icon.game-type-icon-tictactoe{width:22px;height:22px}.filter-btn:hover{border-color:var(--primary-color);color:var(--primary-color)}.filter-btn.active{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;border-color:#0000;box-shadow:0 4px 12px #6b4eff4d}.sort-select{flex:none;align-items:center;min-width:200px;max-width:100%;display:flex;position:relative}.sort-dropdown{box-sizing:border-box;border:1px solid var(--border-color);width:100%;min-height:48px;color:var(--text-primary);background-color:var(--white);box-shadow:none;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%236b4eff' d='M5.5 7.5 10 12l4.5-4.5 1.4 1.4L10 14.8 4.1 8.9z'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px 16px;border-radius:12px;outline:none;padding:12px 42px 12px 16px;font-size:14px;font-weight:400;line-height:1.25;transition:all .3s}.sort-dropdown:hover{border-color:var(--primary-light);box-shadow:none}.sort-dropdown:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #6b4eff1a}.games-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;animation:.5s .2s both slideIn;display:grid}.no-results{text-align:center;box-shadow:var(--shadow);background:#fff;border-radius:16px;padding:80px 20px;animation:.5s fadeIn}.no-results-icon{color:var(--text-light);opacity:.5;justify-content:center;align-items:center;margin-bottom:20px;display:flex}.no-results h3{color:var(--text-primary);margin-bottom:12px;font-size:24px}.no-results p{color:var(--text-secondary);margin-bottom:24px;font-size:16px}@media (width<=768px){.library-page{padding:20px}.search-row{flex-direction:column;align-items:stretch}.sort-select{width:100%;min-width:0}.filters-row{flex-direction:column;align-items:stretch}.type-filters{justify-content:center}}.session-card{box-shadow:var(--shadow);cursor:pointer;background:#fff;border-radius:16px;flex-direction:column;height:100%;transition:all .3s;display:flex;overflow:hidden}.session-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px)}.session-card-header{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;justify-content:space-between;align-items:center;padding:16px;display:flex}.session-type{background:#fff3;border-radius:20px;align-items:center;gap:8px;padding:4px 12px;font-size:13px;display:flex}.type-icon{object-fit:contain;flex-shrink:0;width:20px;height:20px}.type-icon-own{width:21px;height:21px}.type-icon.game-type-icon-tictactoe{width:24px;height:24px}.session-status{background:#fff3;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:500}.session-status.status-waiting{background:var(--warning-color)}.session-status.status-active{background:var(--success-color)}.session-status.status-finished{background:#999}.session-card-content{flex:1;padding:20px}.session-title{color:var(--text-primary);margin:0 0 16px;font-size:18px;font-weight:600}.session-meta{flex-wrap:wrap;gap:20px;margin-bottom:16px;display:flex}.session-meta-item{color:var(--text-secondary);align-items:center;gap:8px;font-size:14px;display:flex}.meta-icon{font-size:16px}.session-invite-code{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;background:#f5f6f8;border-radius:8px;align-items:center;gap:6px;max-width:100%;padding:5px 11px;font-size:14px;display:inline-flex;overflow:hidden}.session-invite-code__label{flex-shrink:0}.session-invite-code__value{color:var(--primary-color);letter-spacing:1px;text-overflow:ellipsis;font-family:monospace;font-size:16px;font-weight:600;overflow:hidden}.session-card-footer{border-top:1px solid var(--border-color);background:#fafafa;flex-direction:row;gap:8px;padding:16px;display:flex}.game-sessions-page{max-width:1400px;margin:0 auto;padding:40px;animation:.5s fadeIn}.page-title{color:var(--text-primary);background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:8px;font-size:36px;font-weight:700}.page-description{color:var(--text-secondary);margin:0;font-size:16px}.join-section{box-shadow:var(--shadow);background:#fff;border-radius:16px;margin-bottom:24px;animation:.5s 50ms both slideIn;overflow:hidden}.join-toggle{cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:18px 20px;transition:background-color .25s;display:flex}.join-toggle:hover{background:#f8f9ff}.join-title{color:#4a4f57;text-align:left;margin:0;font-size:18px;font-weight:500}.join-chevron{color:var(--text-secondary);justify-content:center;align-items:center;font-size:20px;transition:transform .25s;display:inline-flex}.join-toggle.open .join-chevron{transform:rotate(180deg)}.join-content{opacity:0;max-height:0;transition:max-height .3s,opacity .25s;overflow:hidden}.join-content.open{opacity:1;max-height:420px}.join-form{gap:14px;padding:0 20px 20px;display:grid}.sessions-stats{grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:30px;animation:.5s .1s both slideIn;display:grid}.stat-card{box-shadow:var(--shadow);cursor:pointer;background:#fff;border-radius:16px;flex-direction:column;align-items:center;padding:20px;transition:all .3s;display:flex}.stat-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px)}.stat-value{color:var(--primary-color);margin-bottom:4px;font-size:32px;font-weight:700}.stat-label{color:var(--text-secondary);font-size:13px;font-weight:500}.filter-tabs{border-bottom:1px solid var(--border-color);flex-wrap:wrap;gap:12px;margin-bottom:30px;padding-bottom:12px;animation:.5s .2s both slideIn;display:flex}.filter-tab{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:30px;padding:8px 20px;font-size:14px;font-weight:500;transition:all .3s}.filter-tab:hover{color:var(--text-primary);background-color:#f0f0f0}.filter-tab.active{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;box-shadow:0 4px 12px #6b4eff4d}.sessions-grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px;animation:.5s .3s both slideIn;display:grid}.empty-state{text-align:center;box-shadow:var(--shadow);background:#fff;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;padding:80px 20px;display:flex}.empty-icon{opacity:.45;width:72px;height:72px;color:var(--text-secondary);justify-content:center;align-items:center;margin:0 auto 20px;display:flex}.empty-state h3{color:var(--text-primary);margin-bottom:12px;font-size:24px}.empty-state p{color:var(--text-secondary);margin-bottom:24px;font-size:16px}.invite-modal{text-align:center}.invite-text{color:var(--text-secondary);margin-bottom:20px;font-size:16px}.invite-code-container{border:2px dashed var(--primary-color);background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-radius:12px;margin-bottom:16px;padding:20px}.invite-code{color:var(--primary-color);letter-spacing:4px;flex-direction:column;font-family:monospace;font-size:24px;font-weight:700;display:flex}.invite-note{color:var(--text-light);font-size:14px}.results-modal{padding:20px 0}.results-summary{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-radius:12px;margin-bottom:24px;padding:20px}.result-item{justify-content:space-between;margin-bottom:12px;font-size:16px;display:flex}.result-item:last-child{margin-bottom:0}.result-label{color:var(--text-secondary);font-weight:500}.result-value{color:var(--text-primary);font-weight:600}.scores-title{color:var(--text-primary);margin-bottom:16px;font-size:18px;font-weight:600}.scores-list{border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.score-row{border-bottom:1px solid var(--border-color);background:#fff;justify-content:space-between;padding:15px 20px;display:flex}.score-row:last-child{border-bottom:none}.score-row.header{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;font-weight:600}.team-name{color:var(--text-primary);font-weight:500}.team-score{color:var(--primary-color);font-weight:600}@media (width<=768px){.game-sessions-page{padding:20px}.join-toggle{padding:16px}.join-form{padding:0 16px 16px}.sessions-stats{grid-template-columns:repeat(2,1fr)}.filter-tabs{justify-content:center}}.builder-layout{background:linear-gradient(135deg,#f5f7fa 0%,#e9ecef 100%);min-height:100vh;padding:20px}.builder-container{max-width:1400px;margin:0 auto}.card{box-shadow:var(--shadow);background:#fff;border-radius:12px;transition:all .3s;overflow:hidden}.card-hoverable:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px)}.card-clickable{cursor:pointer}.card-header{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.card-title{margin:0;font-size:18px;font-weight:600}.card-actions{gap:8px;display:flex}.card-actions button{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:6px;padding:6px 12px;transition:background-color .3s}.card-actions button:hover{background:#ffffff4d}.table-container{border:1px solid var(--border-color);background:#fff;border-radius:8px;overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:14px}.table th{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;text-align:left;white-space:nowrap;padding:12px 16px;font-weight:600}.table td{border-bottom:1px solid var(--border-color);color:var(--text-secondary);padding:12px 16px}.table tr:last-child td{border-bottom:none}.table tbody tr:hover{background-color:#f8f9fa}.clickable-row{cursor:pointer;transition:background-color .3s}.clickable-row:hover{background-color:#f0f0f0!important}.table-empty{text-align:center;color:var(--text-light);padding:40px!important}.table-loading{color:var(--text-light);background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:40px;display:flex}.spinner{border:3px solid var(--border-color);border-top-color:var(--primary-color);border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}.value-cell{color:var(--primary-color);font-weight:600}.own-game-builder{animation:.5s slideIn}.categories-section{margin-top:24px}.categories-list{flex-direction:column;gap:20px;display:flex}.value-cell{color:var(--primary-color);padding:0 8px;font-weight:600}.question-image-field{flex-direction:column;gap:10px;display:flex}.question-image-actions{flex-wrap:wrap;gap:8px;display:flex}.question-image-preview-wrap{border:1px solid var(--border-color);background:#f8f9ff;border-radius:10px;width:100%;max-width:260px;overflow:hidden}.question-image-preview{object-fit:cover;width:100%;height:140px;display:block}.quiz-game-builder{animation:.5s slideIn}.questions-section{margin-top:24px}.section-header{justify-content:space-between;align-items:center;margin-bottom:20px;padding:0 4px;display:flex}.questions-list{flex-direction:column;gap:16px;display:flex}.question-grid{grid-template-columns:1fr 1fr auto;align-items:end;gap:16px;display:grid}.question-field{flex-direction:column;gap:6px;display:flex}.question-field.full-width{grid-column:span 2}.question-field label{color:var(--text-secondary);font-size:13px;font-weight:500}.questions-info{color:var(--text-secondary);align-items:center;gap:8px;font-size:16px;display:flex}.questions-info strong{color:var(--primary-color);font-size:18px}@media (width<=768px){.basic-info-grid,.question-grid{grid-template-columns:1fr}.question-field.full-width{grid-column:auto}}.crocodile-game-builder{animation:.5s slideIn}.builder-header{box-shadow:var(--shadow);background:#fff;border-radius:16px;justify-content:space-between;align-items:center;margin-bottom:32px;padding:24px;display:flex}.builder-title{color:var(--text-primary);background:linear-gradient(135deg,#ff9e8b 0%,#ff6b4e 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:8px;font-size:28px;font-weight:700}.builder-subtitle{color:var(--text-secondary);margin:0;font-size:14px}.header-actions{gap:12px;display:flex}.basic-info-grid{grid-template-columns:2fr 1fr;gap:20px;display:grid}.terms-section{margin-top:24px}.section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:0 4px;display:flex}.section-title{color:var(--text-primary);margin-bottom:4px;font-size:20px;font-weight:600}.section-description{color:var(--text-secondary);margin:0;font-size:14px}.terms-list{flex-direction:column;gap:16px;max-height:500px;padding:4px;display:flex;overflow-y:auto}.term-card-wrapper{flex-shrink:0;width:100%}.term-field{width:100%}.term-field .input-wrapper{margin-bottom:0}.builder-footer{box-shadow:var(--shadow);background:#fff;border-radius:16px;justify-content:space-between;align-items:center;margin-top:32px;padding:20px;display:flex}.terms-info{color:var(--text-secondary);align-items:center;gap:12px;font-size:16px;display:flex}.info-icon{font-size:20px}.terms-info strong{color:#ff6b4e;font-size:18px}.info-note{color:var(--text-light);font-size:13px}@media (width<=768px){.basic-info-grid{grid-template-columns:1fr}.section-header{flex-direction:column;align-items:flex-start}.section-header button{width:100%}}.wheel-game-builder{animation:.5s slideIn}.wheel-game-builder .wheel-questions-list{flex-direction:column;gap:14px;display:flex}.wheel-game-builder .wheel-question-item{border:1px solid var(--border-color);background:var(--card-bg);border-radius:16px;flex-direction:column;gap:12px;padding:16px;display:flex;box-shadow:0 8px 24px #1018280f}.wheel-game-builder .wheel-question-header{color:var(--text-primary);justify-content:space-between;align-items:center;font-size:14px;font-weight:600;display:flex}.wheel-game-builder .wheel-question-fields{gap:12px;display:grid}.wheel-game-builder .info-icon{object-fit:contain;flex-shrink:0;width:18px;height:18px}.station-game-builder{flex-direction:column;gap:20px;display:flex}.station-basic-grid{flex-direction:column;gap:16px;display:flex}.station-list{flex-direction:column;gap:14px;display:flex}.station-item{border:1px solid var(--border-color);background:var(--card-bg);border-radius:16px;flex-direction:column;gap:12px;padding:16px;display:flex;box-shadow:0 8px 24px #1018280f}.station-item-header{justify-content:space-between;align-items:center;display:flex}.station-footer-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.station-style-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.station-style-field{color:var(--text-secondary);flex-direction:column;gap:8px;font-size:13px;display:flex}.station-style-field select{border:1px solid var(--border-color);color:var(--text-primary);background:#fff;border-radius:10px;padding:10px 12px}.station-color-row{align-items:center;gap:8px;display:flex}.station-color-row input[type=color]{cursor:pointer;background:0 0;border:none;width:40px;height:40px}.station-color-row code{background:#1118270f;border-radius:8px;padding:6px 8px;font-size:12px}@media (width<=768px){.station-style-grid{grid-template-columns:1fr}}.tictactoe-game-builder{flex-direction:column;gap:24px;animation:.5s slideIn;display:flex}.tictactoe-questions-list{flex-direction:column;gap:14px;display:flex}.tictactoe-question-item{background:var(--bg-secondary,#f8f9fc);border:1px solid #667eea26;border-radius:16px;flex-direction:column;gap:12px;padding:16px;display:flex;box-shadow:0 8px 24px #1018280f}.tictactoe-question-label{color:#667eea;font-size:14px;font-weight:600}.error-container{text-align:center;box-shadow:var(--shadow);background:#fff;border-radius:16px;padding:80px 20px;animation:.5s fadeIn}.error-icon{opacity:.5;margin-bottom:20px;font-size:64px}.error-container h2{color:var(--text-primary);margin-bottom:12px;font-size:28px}.error-container p{color:var(--text-secondary);margin-bottom:24px;font-size:16px}.back-button{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;cursor:pointer;border:none;border-radius:30px;padding:12px 32px;font-size:16px;font-weight:500;transition:all .3s;box-shadow:0 4px 12px #6b4eff4d}.back-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #6b4eff66}.builder-age-panel{box-sizing:border-box;background:#6b4eff0f;border:1px solid #6b4eff26;border-radius:16px;margin-top:16px;padding:16px 20px}.builder-age-panel__title{color:var(--text-primary);margin:0 0 10px;font-size:15px;font-weight:600}.builder-age-panel__any{color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:14px;display:inline-flex}.builder-age-panel__any input{accent-color:var(--primary-color,#6b4eff);width:16px;height:16px}.builder-age-panel__slider{width:100%;margin-top:16px}.game-page{background:linear-gradient(135deg,#7d88bb 0%,#b6a4c8 100%);min-height:100vh;padding:20px;position:relative;overflow-x:hidden}.game-page:before{content:"";opacity:.3;pointer-events:none;background:url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"20\" cy=\"20\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"80\" cy=\"40\" r=\"3\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"40\" cy=\"70\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"90\" cy=\"85\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/></svg>");position:absolute;inset:0}.game-page.lobby{justify-content:center;align-items:center;display:flex}.game-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffffa;border:1px solid #ffffff4d;border-radius:32px;width:100%;max-width:800px;padding:48px;animation:.5s slideIn;box-shadow:0 25px 50px -12px #00000040}.game-title{color:var(--text-primary);text-align:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;letter-spacing:-.5px;-webkit-background-clip:text;background-clip:text;margin-bottom:30px;font-size:42px;font-weight:800}.session-info{text-align:center;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border:1px solid #0000000d;border-radius:20px;margin-bottom:30px;padding:24px}.session-info p{color:var(--text-secondary);margin:8px 0;font-size:16px}.session-info strong{color:#667eea;letter-spacing:2px;margin-left:10px;font-size:28px;font-weight:800}.teams-section{margin-bottom:30px}.teams-section h2{color:var(--text-primary);margin-bottom:20px;font-size:24px;font-weight:700}.teams-list{gap:12px;display:grid}.lobby-hint{text-align:center;color:var(--text-secondary);margin:16px 0 24px;font-size:16px}.team-item--editable{cursor:default;flex-direction:column;align-items:stretch;gap:8px}.team-item--editable:hover{transform:none}.team-name-row{align-items:center;gap:12px;width:100%;display:flex}.team-name-action{color:#667eea;cursor:pointer;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:1px solid #667eea40;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;transition:all .2s;display:inline-flex}.team-name-action:hover:not(:disabled){background:#667eea14;border-color:#667eea73;box-shadow:0 2px 8px #667eea26}.team-name-action:disabled{opacity:.5;cursor:not-allowed}.team-name-action--save{color:#22a06b;border-color:#22a06b59}.team-name-action--save:hover:not(:disabled){background:#22a06b1a;border-color:#22a06b80;box-shadow:0 2px 8px #22a06b26}.team-name-input{min-width:0;color:var(--text-primary);background:#fff;border:1px solid #667eea59;border-radius:12px;outline:none;flex:1;padding:10px 14px;font-size:16px;font-weight:600;transition:border-color .2s,box-shadow .2s}.team-name-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea26}.team-name-input:disabled{opacity:.7}.team-item{cursor:pointer;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:1px solid #667eea1a;border-radius:16px;justify-content:space-between;align-items:center;padding:16px 24px;transition:all .3s;display:flex}.team-item:hover{border-color:#667eea4d;transform:translate(8px);box-shadow:0 4px 12px #0000001a}.team-players{color:var(--text-secondary);align-items:center;gap:4px;font-size:14px;display:flex}.game-actions{justify-content:center;gap:16px;margin-top:24px;display:flex}.game-page.active{background:linear-gradient(135deg,#7d88bb 0%,#b6a4c8 100%);flex-direction:column;padding:0;display:flex}.game-page.quiz-active{background:linear-gradient(135deg,#7d88bb 0%,#b6a4c8 100%);flex-direction:column;min-height:100vh;padding:0;display:flex}.game-page.game-finished{justify-content:center;align-items:center;min-height:100vh;padding:40px;display:flex}.game-results-container{background:#fffffffa;border-radius:32px;width:100%;max-width:1000px;padding:40px;animation:.5s slideIn;box-shadow:0 25px 50px -12px #00000040}.tictactoe-results-hero{text-align:center;background:linear-gradient(145deg,#f5f3ff 0%,#faf5ff 50%,#fff7ed 100%);border:1px solid #c4b5fd99;border-radius:28px;flex-direction:column;align-items:center;margin-bottom:32px;padding:32px 24px 40px;display:flex;box-shadow:0 4px 24px #667eea1f,inset 0 1px #ffffffe6}.tictactoe-results-trophy{color:#eab308;filter:drop-shadow(0 4px 12px #eab30859);margin-bottom:12px;font-size:56px}.tictactoe-results-label{letter-spacing:.12em;text-transform:uppercase;color:#764ba2;margin:0 0 20px;font-size:14px;font-weight:700}.tictactoe-results-subtitle{color:#64748b;margin:-12px 0 24px;font-size:16px}.tictactoe-results-winner-card{background:#fff;border:2px solid #c4b5fd;border-radius:24px;flex-direction:column;align-items:center;gap:16px;min-width:min(100%,320px);padding:28px 48px;display:flex;box-shadow:0 12px 40px #667eea2e}.tictactoe-results-winner-name{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:32px;font-weight:800;line-height:1.2}.tictactoe-results-teams{flex-wrap:wrap;justify-content:center;gap:20px;width:100%;display:flex}.tictactoe-results-team-card{background:#fff;border:2px solid #ddd6fe;border-radius:20px;flex-direction:column;align-items:center;gap:12px;min-width:140px;padding:20px 28px;display:flex;box-shadow:0 4px 16px #667eea1a}.tictactoe-results-team-name{color:#334155;font-size:18px;font-weight:700}.results-summary .summary-value{margin-bottom:8px;font-size:48px;font-weight:800;line-height:1.2;display:block}.results-summary .summary-label{color:#6b6b76;letter-spacing:.3px;font-size:14px;font-weight:600}.leaderboard-section{background:#f8fafccc;border:1px solid #e0c8f780;border-radius:28px;margin-bottom:32px;padding:24px}.leaderboard-section h3{color:#5a4f8c;border-bottom:2px solid #ddd4f5;align-items:center;gap:10px;margin-bottom:20px;padding-bottom:12px;font-size:20px;font-weight:700;display:flex}.leaderboard-list{flex-direction:column;gap:10px;display:flex}.leaderboard-row{background:#fff;border:1px solid #f0eef3;border-radius:20px;align-items:center;gap:16px;padding:14px 20px;transition:all .2s;display:flex}.leaderboard-row:hover{border-color:#ddd4f5;transform:translate(4px);box-shadow:0 4px 12px #7874b214}.rank-badge{color:#5e5b7a;background:#f5f2fa;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:800;display:flex}.rank-badge.gold{color:#fff;background:linear-gradient(135deg,gold,#ffb347)}.rank-badge.silver{color:#fff;background:linear-gradient(135deg,silver,#a8a8a8)}.rank-badge.bronze{color:#fff;background:linear-gradient(135deg,#cd7f32,#b87333)}.leaderboard-team-info{flex-wrap:wrap;flex:1;justify-content:space-between;align-items:center;gap:12px;display:flex}.team-name-result{color:#2c2c36;font-size:16px;font-weight:600}.team-score-result{color:#7874b2;font-size:24px;font-weight:800}.results-export{justify-content:center;margin-top:20px;display:flex}.results-export-button{color:#6c58aa;background:#fff;border-width:1px;border-color:#a695d6;min-width:280px;box-shadow:0 6px 16px #7874b21f}.results-export-button .btn-icon{font-size:16px}.results-export-button:hover:not(:disabled){color:#fff;background:linear-gradient(135deg,#7d88bb 0%,#b6a4c8 100%);border-color:#0000;box-shadow:0 10px 24px #7874b240}.results-section{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#f8fafccc;border:1px solid #e0c8f780;border-radius:28px;padding:24px;box-shadow:0 8px 20px #0000000a}.term-item{background:#fff;border:1px solid #f0eef3;border-radius:12px;align-items:center;gap:12px;margin-bottom:8px;padding:10px 12px;transition:all .2s;display:flex}.term-item:hover{border-color:#ddd4f5;transform:translate(4px);box-shadow:0 4px 12px #7874b214}.game-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffffa;border-bottom:1px solid #667eea33;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px;padding:20px 32px;display:flex;box-shadow:0 4px 20px #00000014}.game-info{flex-wrap:wrap;align-items:center;gap:24px;display:flex}.game-title-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:24px;font-weight:700}.game-code{color:var(--text-secondary);background:linear-gradient(135deg,#f0f0f0 0%,#e0e0e0 100%);border-radius:20px;padding:4px 12px;font-size:13px;font-weight:500}.own-team-add{align-items:flex-end;gap:12px;display:flex}.own-team-add .input-wrapper{margin-bottom:0}.own-team-add input{border:2px solid #e0e0e0;border-radius:12px;transition:all .3s}.own-team-add input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.quiz-content{flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;max-width:1200px;margin:0 auto;padding:40px 20px;display:flex}.quiz-meta{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);width:100%;max-width:700px;color:var(--text-secondary);background:#fffffff2;border:1px solid #ffffff80;border-radius:60px;justify-content:space-between;align-items:center;margin-bottom:30px;padding:12px 24px;font-size:16px;font-weight:500;display:flex;box-shadow:0 4px 15px #0000001a}.quiz-meta span:first-child{color:#667eea;font-weight:700}.quiz-meta strong{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;font-size:22px;font-weight:800}.quiz-card{background:#fff;border:1px solid #ffffff4d;border-radius:48px;width:100%;max-width:700px;padding:56px;transition:all .3s;animation:.6s cubic-bezier(.68,-.55,.265,1.55) slideUp;box-shadow:0 30px 60px -20px #0000004d}.quiz-card:hover{transform:translateY(-6px);box-shadow:0 35px 70px -20px #0006}.quiz-question{color:var(--text-primary);text-align:center;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-radius:32px;margin-bottom:48px;padding:24px;font-size:32px;font-weight:800;line-height:1.4;position:relative;box-shadow:inset 0 1px 3px #0000000d,0 1px 2px #0000000d}.quiz-question:before{content:"\"";color:#667eea;opacity:.2;font-family:Georgia,serif;font-size:80px;position:absolute;top:-20px;left:20px}.quiz-question:after{content:"\"";color:#667eea;opacity:.2;font-family:Georgia,serif;font-size:80px;position:absolute;bottom:-40px;right:20px}.quiz-answer-input{flex-direction:column;gap:20px;display:flex}.quiz-card .question-content-image-wrap{margin-bottom:20px}.quiz-answer-input .input-wrapper{width:100%}.quiz-answer-input input{background:#fff;border:2px solid #e0e0e0;border-radius:20px;padding:16px 24px;font-size:18px;transition:all .3s}.quiz-answer-input input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 4px #667eea26}.quiz-answer-input button{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:20px;padding:16px 28px;font-size:18px;font-weight:700;transition:all .3s;position:relative;overflow:hidden}.quiz-answer-input button:before{content:"";background:linear-gradient(90deg,#0000,#ffffff4d,#0000);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.quiz-answer-input button:hover:not(:disabled):before{left:100%}.quiz-answer-input button:hover:not(:disabled){transform:scale(1.02);box-shadow:0 12px 28px #667eea66}.quiz-submitted-note{text-align:center;color:#2e7d32;background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%);border-radius:16px;padding:14px;font-size:14px;font-weight:600;animation:.3s fadeIn}.quiz-answer-block{background:#fff;border-radius:48px;width:100%;max-width:700px;padding:48px;animation:.5s fadeInUp;box-shadow:0 30px 60px -20px #0000004d}.quiz-answer{text-align:center;background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%);border-left:5px solid #4caf50;border-radius:28px;margin-bottom:32px;padding:28px;animation:.5s pulse}.quiz-answer strong{color:#2e7d32;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px;font-size:18px;display:block}.quiz-answer{color:var(--text-primary);font-size:22px;font-weight:600}.quiz-results{border-top:2px solid #0000001a;padding-top:28px}.quiz-results-title{color:var(--text-primary);text-align:center;margin-bottom:20px;font-size:20px;font-weight:800}.quiz-team-result{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border:1px solid #667eea1a;border-radius:16px;justify-content:space-between;align-items:center;margin-bottom:10px;padding:14px 20px;transition:all .3s;display:flex}.quiz-team-result:hover{background:linear-gradient(135deg,#f0f0f0 0%,#fff 100%);border-color:#667eea4d;transform:translate(6px)}.quiz-team-name{color:var(--text-primary);font-size:16px;font-weight:700}.quiz-team-score{color:#667eea;font-size:20px;font-weight:800}.quiz-team-correct{text-align:center;width:40px;font-size:24px;animation:.3s bounce}.quiz-empty{text-align:center;color:var(--text-secondary);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:32px;max-width:500px;margin:40px auto;padding:60px;font-size:24px}.game-content{grid-template-columns:1fr 280px;gap:24px;width:100%;max-width:1600px;margin:0 auto;padding:0 24px;display:grid}.game-board{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:24px;padding:24px;overflow-x:auto;box-shadow:0 8px 32px #0000001a}.jeopardy-table{border-collapse:collapse;width:100%;min-width:600px}.jeopardy-table th{color:#fff;text-align:center;text-transform:uppercase;letter-spacing:.5px;text-shadow:0 1px 2px #0000001a;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:2px solid #ffffff4d;padding:18px;font-size:18px;font-weight:700}.jeopardy-table td{text-align:center;background:0 0;border:0;padding:0}.question-cell{vertical-align:middle;height:90px;padding:6px}.question-button{color:#667eea;cursor:pointer;background:linear-gradient(135deg,#f0f0ff 0%,#e8e8ff 100%);border:2px solid #667eea4d;border-radius:12px;justify-content:center;align-items:center;width:100%;height:100%;font-weight:800;transition:all .3s cubic-bezier(.68,-.55,.265,1.55);display:flex;box-shadow:0 4px 12px #667eea33}.question-button:hover:not(:disabled){background:linear-gradient(135deg,#e8e8ff 0%,#d8d8ff 100%);border-color:#667eea;transform:scale(1.05)translateY(-2px);box-shadow:0 8px 20px #667eea4d}.question-button.used{box-shadow:none;cursor:not-allowed;opacity:.6;background:linear-gradient(135deg,#e0e0e0 0%,#d0d0d0 100%);border-color:silver;transform:none}.question-button.answered{box-shadow:none;cursor:not-allowed;opacity:.5;background:linear-gradient(135deg,#d0d0d0 0%,silver 100%);border-color:#b0b0b0;transform:none}.teams-scoreboard{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:24px;height:fit-content;padding:24px;box-shadow:0 8px 32px #0000001a}.teams-scoreboard h3{color:var(--text-primary);text-align:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;border-bottom:2px solid #667eea4d;margin-bottom:20px;padding-bottom:12px;font-size:20px;font-weight:800}.scoreboard-list{flex-direction:column;gap:12px;display:flex}.scoreboard-row{cursor:pointer;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border:1px solid #667eea33;border-radius:16px;padding:14px;transition:all .3s}.scoreboard-row:hover{border-color:#667eea80;transform:translate(4px);box-shadow:0 2px 8px #0000000d}.team-info{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.team-info .team-name{color:var(--text-primary);font-size:15px;font-weight:600}.team-info .team-score{color:#667eea;font-size:20px;font-weight:800}.score-actions{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.score-actions button{border-radius:10px;padding:4px 12px;font-size:12px;font-weight:600;transition:all .2s}.score-actions button:hover{transform:scale(1.05)}.question-and-points{align-items:flex-start;gap:28px;display:flex}.question-modal{text-align:center;flex:1;min-width:0;padding:0}.question-value{color:#667eea;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;text-shadow:0 2px 4px #0000001a;-webkit-background-clip:text;background-clip:text;margin-bottom:32px;font-size:56px;font-weight:800}.question-text{color:var(--text-primary);margin-bottom:32px;padding:0 20px;font-size:26px;font-weight:500;line-height:1.5}.question-answer{color:#4caf50;text-align:left;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-left:5px solid #4caf50;border-radius:20px;padding:24px;font-size:22px;font-weight:500}.question-button__value{font-size:32px;font-weight:800;line-height:1}.points-modal{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border:1px solid #667eea33;border-radius:20px;flex:0 0 340px;min-width:280px;padding:20px;box-shadow:0 8px 20px #00000014}.points-title{color:var(--text-primary);text-align:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:16px;font-size:18px;font-weight:800}.points-list{flex-direction:column;gap:12px;display:flex}.points-team-row{background:#fff;border:1px solid #667eea33;border-radius:16px;padding:12px;transition:all .3s}.points-team-row:hover{border-color:#667eea;transform:translate(4px);box-shadow:0 2px 8px #0000000d}.points-team-meta{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.points-team-name{color:var(--text-primary);font-size:15px;font-weight:700}.points-team-score{color:#667eea;font-size:20px;font-weight:800}.points-actions{gap:10px;display:flex}.points-actions button{border-radius:12px;flex:1;font-weight:700;transition:all .2s}.points-actions button:hover{transform:scale(1.02)}@keyframes slideUp{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@media (width<=1024px){.game-content{grid-template-columns:1fr;gap:20px}.game-board{order:2}.teams-scoreboard{order:1}}@media (width<=768px){.game-header{text-align:center;flex-direction:column;padding:16px 20px}.game-info{flex-direction:column;gap:8px}.own-team-add{flex-direction:column;width:100%}.own-team-add button{width:100%}.question-cell{height:70px;padding:4px}.question-button{height:100%}.question-button__value{font-size:20px}.category-header{padding:10px;font-size:12px}.question-and-points{flex-direction:column;gap:20px}.points-modal{flex:none;width:100%}.quiz-card{padding:28px}.quiz-question{margin-bottom:32px;padding:18px;font-size:22px}.quiz-question:before,.quiz-question:after{font-size:50px}.quiz-meta{text-align:center;flex-direction:column;gap:10px;padding:12px 20px}.quiz-answer{padding:20px;font-size:18px}.game-container{padding:32px 24px}.game-title{font-size:32px}.results-summary{grid-template-columns:1fr;gap:14px}.results-details{grid-template-columns:1fr;gap:20px}.leaderboard-row{flex-wrap:wrap}.leaderboard-team-info{flex-direction:column;align-items:flex-start}.game-results-container{padding:24px}.results-export-button{width:100%;min-width:0}}.crocodile-page{background:linear-gradient(135deg,#ddd4f5 0%,#c9d6f5 55%,#b8ebe3 100%);min-height:100vh;padding:20px;position:relative}.crocodile-page.waiting{justify-content:center;align-items:center;display:flex}.crocodile-container{text-align:center;background:#fffffffa;border-radius:32px;width:100%;max-width:600px;padding:48px;animation:.5s slideIn;box-shadow:0 25px 50px -12px #00000040}.crocodile-title{color:var(--text-primary);background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:30px;font-size:42px;font-weight:800}.crocodile-info{background:#f7f4ff;border:1px solid #e0c8f7;border-radius:20px;margin-bottom:30px;padding:24px}.crocodile-info p{color:var(--text-secondary);margin:8px 0;font-size:18px}.crocodile-info strong{color:#7874b2;margin-left:10px;font-size:24px}.crocodile-actions{justify-content:center;gap:16px;display:flex}.crocodile-page.active{flex-direction:column;display:flex}.crocodile-header{background:#fffffffa;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px;padding:20px 32px;display:flex;box-shadow:0 4px 20px #00000014}.crocodile-progress{flex:1;align-items:center;gap:16px;max-width:400px;display:flex}.progress-bar{background:#e0e0e0;border-radius:6px;flex:1;height:12px;overflow:hidden}.progress-fill{background:linear-gradient(135deg,#8f7aff 0%,#7fc8c0 60%,#e2ca69 100%);border-radius:6px;height:100%;transition:width .3s}.progress-text{color:var(--text-secondary);font-size:14px;font-weight:600}.crocodile-game-area{flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;max-width:800px;margin:0 auto;padding:40px 20px;display:flex}.crocodile-timer{margin-bottom:40px}.timer-circle{color:#7874b2;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:3px solid #ddd4f5;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:140px;height:140px;display:flex;box-shadow:0 8px 24px #00000026}.timer-circle.warning{background:linear-gradient(135deg,#fbcaba 0%,#ffe9a8 100%);border-color:#e72a6e;animation:1s infinite pulse}.timer-value{font-size:52px;font-weight:800;line-height:1}.timer-label{opacity:.7;margin-top:4px;font-size:14px}.crocodile-term-card{text-align:center;background:#fff;border:2px solid #ddd4f5;border-radius:48px;width:100%;max-width:700px;margin-bottom:40px;padding:60px 40px;box-shadow:0 30px 60px -20px #0000004d}.term-text{color:var(--text-primary);word-break:break-word;font-size:36px;font-weight:700;line-height:1.4}.crocodile-actions-buttons{justify-content:center;gap:24px;width:100%;max-width:500px;display:flex}.guess-button,.skip-button{border-radius:60px;flex:1;padding:16px 32px;font-size:18px;font-weight:700}.crocodile-page.finished{justify-content:center;align-items:center;padding:40px;display:flex}.crocodile-results-container{background:#fffffffa;border-radius:32px;width:100%;max-width:1000px;padding:40px;animation:.5s slideIn;box-shadow:0 25px 50px -12px #00000040}.results-title{text-align:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:32px;font-size:36px;font-weight:800}.results-summary{background:linear-gradient(135deg,#f2e8ff 0%,#fdeef4 100%);border:1px solid #e8d7fa;border-radius:24px;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px;padding:14px;display:grid}.summary-card{text-align:center;cursor:pointer;background:#f8f4ff;border:1px solid #c4abe8;border-radius:20px;padding:24px;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 6px 14px #7874b214}.summary-card:hover,.summary-card.hovered{border-color:#8f7aff;transform:translateY(-2px)scale(1.005);box-shadow:0 10px 16px -12px #00000029}.summary-card .summary-value{transition:transform .2s}.summary-card:hover .summary-value,.summary-card.hovered .summary-value{transform:scale(1.03)}.summary-icon{vertical-align:middle;margin-right:6px}.guessed-icon{color:#52c41a}.missed-icon{color:#ff4d4f}.summary-value{color:#7874b2;margin-bottom:8px;font-size:48px;font-weight:800;transition:transform .3s;display:block}.summary-label{color:var(--text-secondary);font-size:14px}.grade-container{text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#ffffffe6,#f8f9fae6);border-radius:60px;margin-bottom:40px;padding:20px}.grade-emoji{margin-bottom:12px;font-size:48px;display:inline-block}.grade-text{margin-bottom:8px;font-size:24px;font-weight:700}.results-details{grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px;display:grid}.results-section{background:#f8f9fa;border-radius:20px;padding:20px;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.results-section:hover,.results-section.hovered{transform:translateY(-4px);box-shadow:0 12px 24px -8px #00000026}.results-section.guessed{background:#f7fff7;border:1px solid #cce0bd}.results-section.not-guessed{background:linear-gradient(135deg,#fff1f0 0%,#ffe0e0 100%);border:1px solid #ffccc7}.results-section h3{border-bottom:2px solid;align-items:center;gap:8px;margin-bottom:16px;padding-bottom:8px;font-size:18px;font-weight:700;display:flex}.section-icon{font-size:18px}.section-count{background:#00000014;border-radius:20px;margin-left:auto;padding:2px 10px;font-size:14px;font-weight:600}.results-section.guessed h3{color:#389e0d;border-bottom-color:#95de64}.results-section.not-guessed h3{color:#cf1322;border-bottom-color:#ffa39e}.terms-list{max-height:300px;overflow-y:auto}.term-item{cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:12px;margin-bottom:8px;padding:10px 12px;display:flex}.term-number{width:28px;height:28px;color:var(--text-secondary);background:#e9ecef;border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:600;display:flex}.term-item.guessed .term-number{color:#52c41a;background:#e8f5e9}.term-item.not-guessed .term-number{color:#ff4d4f;background:#ffe0e0}.term-name{color:var(--text-primary);flex:1;font-size:14px;font-weight:500}.term-status-icon{font-size:16px}.status-success{color:#52c41a}.status-error{color:#ff4d4f}.empty-terms{text-align:center;color:var(--text-light);padding:40px;font-size:14px}.empty-terms.success-empty{color:#52c41a}.empty-icon{opacity:.6;margin-bottom:12px;font-size:32px}.empty-icon.success{color:#52c41a;opacity:.8}.practice-tip{background:linear-gradient(135deg,#fff9e6 0%,#fff1c1 100%);border:1px solid #ffd666;border-radius:16px;align-items:center;gap:16px;margin-bottom:32px;padding:16px 20px;animation:.5s .3s both slideIn;display:flex}.tip-icon{color:#faad14;font-size:28px;animation:3s linear infinite rotate}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tip-content{flex:1}.tip-content h4{color:#d48806;margin:0 0 6px;font-size:14px;font-weight:600}.tip-content p{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.5}.results-actions{border-top:1px solid var(--border-color);justify-content:center;gap:16px;padding-top:20px;display:flex}@keyframes slideInFromLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes slideInFromRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@media (width<=768px){.crocodile-container{padding:32px 24px}.crocodile-title{font-size:32px}.term-text{font-size:24px}.crocodile-actions-buttons{flex-direction:column;gap:12px}.results-details,.results-summary{grid-template-columns:1fr}.timer-circle{width:100px;height:100px}.timer-value{font-size:36px}.grade-text{font-size:18px}.grade-emoji{font-size:36px}.practice-tip{text-align:center;flex-direction:column}}.question-content-block{flex-direction:column;gap:14px;display:flex}.question-content-image-wrap{background:#ffffffd9;border:1px solid #7d88bb4d;border-radius:16px;width:100%;max-width:min(100%,520px);max-height:240px;margin:0 auto;overflow:hidden}.question-content-image{object-fit:contain;width:100%;height:240px;display:block}@media (width<=768px){.question-content-image-wrap{max-height:180px}.question-content-image{height:180px}}.wheel-page{background:linear-gradient(135deg,#7d88bb 0%,#b6a4c8 100%);flex-direction:column;gap:32px;min-height:100vh;padding:24px;display:flex;position:relative;overflow-x:hidden}.wheel-page:before{content:"";opacity:.3;pointer-events:none;background:url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"20\" cy=\"20\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"80\" cy=\"40\" r=\"3\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"40\" cy=\"70\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"90\" cy=\"85\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/></svg>");position:absolute;inset:0}.wheel-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:24px;justify-content:space-between;align-items:center;padding:20px 32px;display:flex;box-shadow:0 8px 32px #0000001a}.wheel-header-left{flex:1}.wheel-title{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:28px;font-weight:700}.wheel-subtitle{color:var(--text-secondary);margin:4px 0 0;font-size:14px}.wheel-layout{grid-template-columns:1fr 380px;align-items:start;gap:32px;display:grid}.wheel-board{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff1a;border:1px solid #fff3;border-radius:40px;flex-direction:column;align-items:center;gap:32px;padding:32px;display:flex}.wheel-pointer-container{justify-content:center;width:100%;display:flex;position:relative}.wheel-pointer{z-index:10;filter:drop-shadow(0 4px 8px #0003);border-top:40px solid #ff6b4e;border-left:20px solid #0000;border-right:20px solid #0000;width:0;height:0;animation:2s infinite pointerPulse;position:relative}.wheel-pointer-center{z-index:11;background:linear-gradient(135deg,#fff 0%,#e0e0e0 100%);border:2px solid #ff6b4e;border-radius:50%;width:24px;height:24px;position:absolute;top:-12px;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #0003}@keyframes pointerPulse{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.wheel-container{width:380px;height:380px;margin:0 auto;position:relative}.wheel-circle{border:4px solid #ffffff4d;border-radius:50%;width:100%;height:100%;transition:transform 4s cubic-bezier(.25,.1,.15,1);position:relative;overflow:hidden;box-shadow:0 20px 40px #0000004d,inset 0 0 20px #fff3}.wheel-circle.spinning{transition:transform 4s cubic-bezier(.2,.9,.3,1.1)}.wheel-disk{z-index:1;border-radius:50%;position:absolute;inset:0}.wheel-disk-glow{z-index:2;pointer-events:none;animation:.55s ease-in-out infinite alternate sectorGlowPulse}@keyframes sectorGlowPulse{0%{opacity:.75}to{opacity:1}}.wheel-legend{background:#ffffffe6;border:1px solid #ffffff73;border-radius:16px;flex-wrap:wrap;justify-content:center;gap:8px 12px;width:100%;max-width:520px;padding:12px 14px;display:flex}.wheel-legend-item{background:#ffffffbf;border-radius:999px;align-items:center;gap:8px;min-width:0;max-width:220px;padding:5px 10px;display:inline-flex}.wheel-legend-color{border:1px solid #0f172a26;border-radius:50%;flex-shrink:0;width:12px;height:12px}.wheel-legend-name{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:1.25;overflow:hidden}.wheel-empty{color:#fff;text-align:center;background:#00000080;border-radius:50%;justify-content:center;align-items:center;padding:20px;font-size:16px;display:flex;position:absolute;inset:0}.spin-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6b4eff 0%,#4b2ec0 100%);border:none;border-radius:50px;min-width:200px;padding:14px 32px;font-size:18px;font-weight:700;transition:all .3s;box-shadow:0 8px 24px #6b4eff4d}.spin-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 32px #6b4eff66}.spin-button:disabled{opacity:.6;cursor:not-allowed}.spin-button-content{justify-content:center;align-items:center;gap:12px;display:flex}.spin-icon{object-fit:contain;flex-shrink:0;width:24px;height:24px}.wheel-side{flex-direction:column;gap:24px;display:flex}.wheel-score-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(135deg,#fffffff2 0%,#f8f9faf2 100%);border:1px solid #ffffff4d;border-radius:24px;padding:24px;box-shadow:0 8px 32px #0000001a}.wheel-score-header{border-bottom:2px solid #6b4eff33;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:12px;display:flex}.wheel-score-icon{font-size:28px}.wheel-score-header h3{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:20px;font-weight:700}.wheel-score-value{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-radius:16px;justify-content:space-between;align-items:center;padding:16px;display:flex}.team-name{color:var(--text-primary);font-size:18px;font-weight:600}.team-score{color:#6b4eff;font-size:32px;font-weight:800}.wheel-question-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffffa;border:1px solid #ffffff4d;border-radius:24px;padding:24px;animation:.4s slideInRight;box-shadow:0 8px 32px #0000001a}@keyframes slideInRight{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.wheel-question-theme{color:#6b4eff;border-bottom:2px solid #6b4eff33;align-items:center;gap:10px;margin-bottom:16px;padding-bottom:12px;font-size:18px;font-weight:700;display:flex}.theme-icon{font-size:24px}.wheel-question-value{color:var(--text-secondary);background:linear-gradient(135deg,#f0f0ff 0%,#e8e8ff 100%);border-radius:12px;margin-bottom:20px;padding:10px 12px;font-size:14px;display:inline-block}.wheel-question-value strong{color:#6b4eff;font-size:16px}.wheel-question-text{color:var(--text-primary);background:#f8f9fa;border-radius:16px;margin-bottom:20px;padding:16px;font-size:18px;font-weight:500;line-height:1.5}.wheel-question-answer{background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%);border-left:4px solid #4caf50;border-radius:16px;margin-bottom:20px;padding:16px}.wheel-question-answer strong{color:#2e7d32;margin-bottom:8px;display:block}.wheel-question-actions{flex-direction:column;gap:12px;display:flex}.answer-toggle{width:100%}.action-buttons{justify-content:center;gap:12px;display:flex}.action-buttons button{flex:1}.wheel-hint{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:20px;align-items:flex-start;gap:16px;padding:20px;display:flex;box-shadow:0 4px 16px #00000014}.hint-icon{object-fit:contain;flex-shrink:0;width:32px;height:32px}.hint-text{flex:1}.hint-text strong{color:#6b4eff;margin-bottom:8px;font-size:16px;display:block}.hint-text p{color:var(--text-secondary);margin:0;font-size:14px;line-height:1.4}.wheel-hint.warning{background:linear-gradient(135deg,#fff3e0 0%,#ffe0b2 100%);border-left:4px solid #ff9800}.wheel-done{background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%);border-left:4px solid #4caf50}@media (width<=1024px){.wheel-layout{grid-template-columns:1fr;gap:24px}.wheel-board{order:1}.wheel-side{order:2}}@media (width<=768px){.wheel-page{gap:20px;padding:16px}.wheel-header{text-align:center;flex-direction:column;gap:16px;padding:20px}.wheel-title{font-size:24px}.wheel-container{width:280px;height:280px}.wheel-legend{gap:8px;max-width:300px;padding:10px}.wheel-legend-item{flex:100%;justify-content:flex-start;max-width:100%}.wheel-legend-name{font-size:12px}.spin-button{min-width:160px;padding:12px 24px;font-size:16px}.wheel-question-text{font-size:16px}.action-buttons{flex-direction:column}.action-buttons button{width:100%}}.wheel-legend{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff26;border:1px solid #ffffff40;border-radius:32px;flex-wrap:wrap;justify-content:center;gap:12px;width:100%;max-width:520px;padding:16px;display:flex}.wheel-legend-item{cursor:default;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffd9;border:1px solid #ffffff80;border-radius:100px;align-items:center;gap:12px;padding:8px 16px;transition:all .2s;display:flex;box-shadow:0 4px 12px #0000000d}.wheel-legend-item:hover{background:#fffffff2;transform:translateY(-2px);box-shadow:0 8px 20px #0000001a}.wheel-legend-color{border:1px solid #0000001a;border-radius:50%;flex-shrink:0;width:16px;height:16px;box-shadow:inset 0 1px 2px #0000000d,0 1px 1px #fffc}.wheel-legend-name{color:#1e293b;letter-spacing:-.01em;white-space:nowrap;font-size:14px;font-weight:600}.station-game-page{background:linear-gradient(135deg,#7d88bb 0%,#b6a4c8 100%);flex-direction:column;gap:24px;min-height:calc(100vh - 24px);padding:24px;display:flex;position:relative}.station-game-page:before{content:"";opacity:.3;pointer-events:none;background:url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"20\" cy=\"20\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"80\" cy=\"40\" r=\"3\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"40\" cy=\"70\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"90\" cy=\"85\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/></svg>");position:absolute;inset:0}.glass-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:24px;box-shadow:0 8px 32px #0000001a}.station-game-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px 28px;display:flex}.station-header-left{flex-direction:column;gap:8px;display:flex}.station-title{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:28px;font-weight:700}.station-stats-badge{gap:12px;display:flex}.stat-badge{border-radius:20px;align-items:center;gap:6px;padding:4px 12px;font-size:13px;font-weight:600;display:inline-flex}.stat-badge-icon{flex-shrink:0;font-size:12px}.stat-badge.success{color:#2e7d32;background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%)}.stat-badge.failed{color:#c62828;background:linear-gradient(135deg,#ffe0e0 0%,#ffcdd2 100%)}.stat-badge.attempts{color:#1565c0;background:linear-gradient(135deg,#e3f2fd 0%,#bbdefb 100%)}.station-header-actions{align-items:center;gap:16px;display:flex}.station-timer{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--text-secondary,#6c757d);background:#fffffff2;border:1px solid #ffffff80;border-radius:60px;align-items:center;gap:10px;padding:12px 24px;font-size:16px;font-weight:500;display:inline-flex;box-shadow:0 4px 15px #0000001a}.station-timer-clock-icon{color:#667eea;flex-shrink:0;font-size:18px}.station-timer-label{font-weight:500}.station-timer-value{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;letter-spacing:.02em;-webkit-background-clip:text;background-clip:text;margin:0;font-size:22px;font-weight:800}.station-lobby{text-align:center;justify-content:center;align-items:center;min-height:400px;display:flex}.lobby-content{padding:40px}.lobby-icon{color:#667eea;justify-content:center;margin-bottom:20px;font-size:64px;display:flex}.lobby-icon svg{display:block}.lobby-content h2{color:#4a4f57;margin-bottom:12px;font-size:28px}.lobby-content p{color:#6c757d;margin-bottom:28px;font-size:16px}.station-main-layout{flex:1;gap:24px;min-height:0;display:flex}.station-left-column{flex-direction:column;flex:2;gap:20px;min-height:0;display:flex}.station-right-column{flex:1.5;min-width:320px}.station-path-panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff6;border:1px solid #ffffff59;border-radius:28px;flex-direction:column;flex:1;gap:12px;width:100%;min-height:0;padding:16px 12px 20px;display:flex}.station-path-nav{justify-content:space-between;align-items:center;gap:12px;padding:0 8px 4px;display:flex}.station-path-nav-btn{cursor:pointer;color:#6b4eff;background:#ffffffeb;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:18px;transition:transform .2s,background .2s,color .2s;display:flex;box-shadow:0 4px 12px #0000001a}.station-path-nav-btn:hover:not(.disabled){color:#fff;background:#6b4eff;transform:scale(1.06)}.station-path-nav-btn.disabled{opacity:.4;cursor:not-allowed}.station-path-nav-label{color:#3d4260;letter-spacing:.02em;font-size:14px;font-weight:700}.station-path-scroll{scrollbar-width:thin;scrollbar-color:#6b4eff59 transparent;background:#ffffff2e;border:1px solid #ffffff38;border-radius:20px;flex:1;min-height:0;padding:8px 10px 12px;overflow:hidden auto}.station-path-scroll::-webkit-scrollbar{width:6px}.station-path-scroll::-webkit-scrollbar-thumb{background:#ffffff73;border-radius:6px}.station-path-inner{width:100%;max-width:none;min-height:100%;margin:0;position:relative}.station-path-inner--transitioning .station-path-node-wrap--active .station-node-shape-main,.station-path-inner--transitioning .station-path-node-wrap--active .station-node-shape{animation:.28s stationPathShapePulse}@keyframes stationPathShapePulse{50%{transform:scale(1.05)}}.station-path-svg{z-index:0;pointer-events:none;position:absolute;top:0;left:0;overflow:visible}.station-path-segment{stroke-linecap:round;stroke-linejoin:round;transition:stroke .35s,stroke-width .35s,opacity .35s}.station-path-segment--todo{stroke:#ffffff6b;stroke-width:5px}.station-path-segment--done{stroke-width:6px;filter:drop-shadow(0 2px 6px #6b4eff66)}.station-path-rows{z-index:1;margin:0;padding:0;list-style:none;position:relative}.station-path-row{justify-content:center;align-items:center;margin:0;padding:0;display:flex}.station-path-node-wrap{z-index:1;cursor:pointer;font:inherit;text-align:center;background:0 0;border:none;border-radius:20px;padding:8px 12px;transition:opacity .25s,transform .25s,filter .25s;position:relative}.station-path-node-wrap:not(:disabled):hover{filter:brightness(1.05)}.station-path-node-wrap:focus-visible{outline-offset:4px;outline:3px solid #fffffff2}.station-path-node-wrap--active{transform-origin:50%}.station-path-node-wrap--active:not(:disabled),.station-path-node-wrap--locked{cursor:default}.station-path-node-wrap:disabled:not(.station-path-node-wrap--active){cursor:not-allowed;opacity:.68}.station-path-node-wrap--locked:disabled{opacity:.72}.station-path-node-wrap--active:disabled{opacity:1}.station-node-small{flex-direction:column;align-items:center;gap:10px;display:flex}.station-node-shape{transform-origin:50%;flex-direction:column;align-items:center;gap:6px;transition:all .3s;display:flex}.station-node-name{color:#4a4f57;text-align:center;background:#fffc;border-radius:20px;max-width:100px;padding:4px 8px;font-size:13px;font-weight:600}.station-node-status{font-size:14px;font-weight:700}.station-node-main{flex-direction:column;align-items:center;gap:12px;display:flex}.station-node-shape-main{transform-origin:50%;flex-direction:column;align-items:center;gap:8px;transition:all .3s;display:flex}.station-node-name-main{color:#2c2c36;background:#ffffffe6;border-radius:30px;margin:0;padding:6px 14px;font-size:18px;font-weight:700}.station-progress-badge{color:#fff;background:linear-gradient(135deg,#6b4eff 0%,#a855f7 100%);border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600}.station-shape-wrap{box-sizing:border-box;flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:inline-flex;overflow:visible}.station-result-mark{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;box-shadow:0 2px 10px #11182733}.station-result-mark--compact{width:22px;height:22px}.station-result-mark--main{width:30px;height:30px}.station-result-mark-icon{width:55%;height:55%}.station-result-mark--ok{background:linear-gradient(145deg,#22c55e 0%,#16a34a 100%)}.station-result-mark--fail{background:linear-gradient(145deg,#f87171 0%,#ef4444 100%)}.station-shape-icon{filter:drop-shadow(0 3px 8px #11182733);flex-shrink:0;width:100%;height:100%;display:block}.station-task-panel{flex-direction:column;height:100%;padding:28px;display:flex}.task-panel-header{border-bottom:2px solid #6b4eff33;align-items:center;gap:12px;margin-bottom:24px;padding-bottom:16px;display:flex}.task-icon{color:#667eea;font-size:24px;display:inline-flex}.task-icon svg{display:block}.task-label{color:#4a4f57;font-size:18px;font-weight:700}.retry-badge{color:#ed6c02;background:linear-gradient(135deg,#fff3e0 0%,#ffe0b2 100%);border-radius:20px;margin-left:auto;padding:4px 12px;font-size:12px;font-weight:600}.task-content{flex-direction:column;flex:1;gap:24px;display:flex}.task-text{color:#2c2c36;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-left:4px solid #6b4eff;border-radius:20px;margin:0;padding:20px;font-size:18px;line-height:1.5}.task-actions{justify-content:center;gap:16px;margin-top:auto;display:flex}.task-btn{cursor:pointer;border:none;border-radius:60px;flex:1;justify-content:center;align-items:center;gap:8px;padding:12px 24px;font-size:16px;font-weight:700;transition:all .3s;display:flex}.task-btn .btn-icon{justify-content:center;align-items:center;font-size:16px;display:inline-flex}.success-btn{color:#fff;background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%);box-shadow:0 4px 12px #22c55e4d}.success-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #22c55e66}.danger-btn{color:#fff;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);box-shadow:0 4px 12px #ef44444d}.danger-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #ef444466}.task-btn:disabled{opacity:.6;cursor:not-allowed}.waiting-message{text-align:center;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-radius:20px;flex-direction:column;align-items:center;gap:12px;padding:32px;display:flex}.waiting-icon{color:#667eea;justify-content:center;align-items:center;font-size:40px;display:flex}.waiting-message-success .waiting-icon{color:#2e7d32}.waiting-message-failed .waiting-icon{color:#c62828}.waiting-message p{color:#6c757d;margin:0;font-size:16px}.task-empty{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:48px;display:flex}.empty-icon{opacity:.45;color:#667eea;font-size:48px;display:flex}.empty-icon svg{display:block}.task-empty p{color:#6c757d;margin:0}.station-stats-compact{background:linear-gradient(135deg,#f8f9ff,#f0f2fa);border-radius:20px;gap:16px;margin-bottom:20px;padding:12px;display:flex}.compact-stat{text-align:center;flex:1}.compact-stat-label{color:#6b7280;font-size:11px;display:block}.compact-stat-value{color:#6b4eff;font-size:20px;font-weight:700}@media (width<=1024px){.station-main-layout{flex-direction:column}.station-right-column{min-width:auto}}@media (width<=768px){.station-game-page{gap:16px;padding:16px}.station-game-header{text-align:center;flex-direction:column;padding:16px 20px}.station-title{font-size:22px}.station-stats-badge{justify-content:center}.station-path-panel{padding:12px 8px 16px}.station-path-nav-btn{width:40px;height:40px;font-size:16px}.station-node-name{max-width:70px;font-size:10px}.station-node-name-main{font-size:14px}.task-text{padding:16px;font-size:16px}.task-btn{padding:10px 16px;font-size:14px}.task-actions{flex-direction:column}}.tictactoe-page{box-sizing:border-box;background:linear-gradient(135deg,#7d88bb 0%,#b6a4c8 100%);flex-direction:column;gap:20px;min-height:100vh;padding:24px;display:flex}.tictactoe-page--lobby,.tictactoe-page--setup{justify-content:center;align-items:center}.tictactoe-page--playing{min-height:100vh}.tictactoe-lobby-card,.tictactoe-setup-screen{background:#fffffffa;border-radius:24px;width:100%;max-width:720px;padding:48px;box-shadow:0 8px 32px #0000001f}.tictactoe-lobby-card{text-align:center}.tictactoe-setup-screen{flex-direction:column;gap:24px;display:flex}.tictactoe-setup-screen-subtitle{color:#64748b;margin:0;font-size:16px;line-height:1.5}.tictactoe-lobby-text{color:#64748b;margin:0 0 24px}.tictactoe-wait-host{text-align:center;color:#64748b;margin:0;font-size:16px}.tictactoe-setup-start-btn{align-self:center;min-width:200px}.tictactoe-title{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:28px;font-weight:700}.tictactoe-title--compact{flex-shrink:0;font-size:22px}.tictactoe-game-body{flex-direction:column;flex:1;gap:20px;min-height:0;display:flex}.tictactoe-turn-bar{background:#fffffffa;border:1px solid #667eea33;border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;display:flex;box-shadow:0 4px 20px #667eea26}.tictactoe-turn-bar-main{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.tictactoe-turn-bar-label{text-transform:uppercase;letter-spacing:.06em;color:#764ba2;font-size:14px;font-weight:600}.tictactoe-turn-bar-team{color:#1e293b;font-size:22px;font-weight:700}.tictactoe-turn-bar-teams{flex-wrap:wrap;gap:12px;display:flex}.tictactoe-team-chip{color:#64748b;background:#f8fafc;border:2px solid #0000;border-radius:999px;align-items:center;gap:8px;padding:8px 14px;font-size:14px;font-weight:600;display:flex}.tictactoe-team-chip--active{color:#4338ca;background:#ede9fe;border-color:#667eea;box-shadow:0 0 0 3px #667eea26}.tictactoe-layout{flex:1;grid-template-columns:1fr 1fr;align-items:stretch;gap:24px;min-height:calc(100vh - 200px);display:grid}@media (width<=900px){.tictactoe-layout{grid-template-columns:1fr;min-height:auto}}.tictactoe-board-wrap{justify-content:center;align-items:center;width:100%;height:100%;min-height:280px;display:flex}.tictactoe-board{aspect-ratio:1;background:#ede9fe;border-radius:12px;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;max-width:100%;padding:8px;display:grid;box-shadow:0 8px 32px #667eea33}.tictactoe-cell{aspect-ratio:1;cursor:default;background:#fff;border:2px solid #c4b5fd;border-radius:8px;justify-content:center;align-items:center;min-width:0;min-height:0;padding:0;transition:background .15s,box-shadow .15s;display:flex}.tictactoe-cell svg{max-width:75%;max-height:75%}.tictactoe-cell--clickable{cursor:pointer}.tictactoe-cell--clickable:hover{background:#f5f3ff}.tictactoe-cell--selected{background:#ede9fe;border-color:#667eea;box-shadow:inset 0 0 0 2px #667eea}.tictactoe-cell:disabled{opacity:1}.tictactoe-panel{background:#fffffffa;border:1px solid #ffffff80;border-radius:24px;flex-direction:column;min-height:100%;padding:28px;display:flex;box-shadow:0 8px 32px #0000001a}.tictactoe-panel-title{color:#667eea;margin:0 0 16px;font-size:20px}.tictactoe-question-text{color:#1e293b;flex:1;margin:0 0 auto;font-size:18px;line-height:1.5}.tictactoe-answer-actions{flex-shrink:0;gap:12px;margin-top:24px;display:flex}.tictactoe-panel-placeholder{color:#94a3b8;text-align:center;flex:1;justify-content:center;align-items:center;font-size:16px;display:flex}.tictactoe-footer{flex-shrink:0;justify-content:flex-end;display:flex}.tictactoe-setup{grid-template-columns:1fr 1fr;gap:24px;display:grid}@media (width<=640px){.tictactoe-setup{grid-template-columns:1fr}}.tictactoe-setup-label{color:#64748b;margin:12px 0 8px;font-size:14px;font-weight:600}.tictactoe-symbol-picker{flex-wrap:wrap;gap:8px;display:flex}.tictactoe-symbol-btn{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;transition:border-color .15s,box-shadow .15s;display:flex}.tictactoe-symbol-btn:hover:not(:disabled){border-color:#667eea}.tictactoe-symbol-btn--selected{border-color:#667eea;box-shadow:0 0 0 3px #667eea40}.tictactoe-symbol-btn:disabled{opacity:.35;cursor:not-allowed}.tictactoe-setup-error{color:#ef4444;grid-column:1/-1;margin:0;font-size:14px}.tictactoe-victory{text-align:center;padding:16px}.tictactoe-trophy{color:#eab308;margin-bottom:16px;font-size:48px}.tictactoe-victory-team{color:#1e293b;margin:0 0 16px;font-size:24px;font-weight:700}.game-fullscreen-shell{width:100%;min-height:100vh;position:relative}.game-fullscreen-shell:fullscreen{background:#7d88bb;width:100%;min-height:100%;overflow:auto}.game-fullscreen-toggle{z-index:200;color:#4a4a5e;cursor:pointer;background:#ffffffeb;border:1px solid #ffffff59;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;font-size:16px;transition:background .2s,color .2s,transform .15s;display:flex;position:absolute;top:12px;right:12px;box-shadow:0 4px 16px #0000001f}.game-fullscreen-toggle:hover{color:#667eea;background:#fff;transform:scale(1.05)}.game-fullscreen-toggle:focus-visible{outline-offset:2px;outline:2px solid #667eea}.auth-page{background:var(--background-color);place-items:center;min-height:100vh;padding:32px 16px;display:grid;position:relative}.auth-bg{background:radial-gradient(1200px 600px at 20% 10%,#7874b259 0%,#7874b200 55%),radial-gradient(900px 500px at 80% 30%,#ff6b4e2e 0%,#ff6b4e00 55%),radial-gradient(900px 500px at 70% 85%,#534f7e38 0%,#534f7e00 60%);position:absolute;inset:0}.auth-container{z-index:1;width:100%;max-width:520px;position:relative}.auth-card{border-radius:16px}.auth-title{flex-direction:column;gap:2px;display:flex}.auth-title-main{font-size:20px;font-weight:700}.auth-title-sub{opacity:.85;font-size:12px}.auth-switch{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px;display:grid}.auth-switch-btn{appearance:none;border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:10px;padding:10px 12px;font-weight:600;transition:all .2s}.auth-switch-btn:hover:not(:disabled){border-color:#7874b273;box-shadow:0 8px 20px #7874b21f}.auth-switch-btn.active{color:var(--text-primary);background:linear-gradient(135deg,#7874b224 0%,#534f7e14 100%);border-color:#7874b299}.auth-form{flex-direction:column;gap:14px;display:flex}.auth-eye{cursor:pointer;opacity:.75;background:0 0;border:none;padding:0;font-size:16px}.auth-eye:hover{opacity:1}.auth-error{color:#b91c1c;background:#ff4d4f14;border:1px solid #ff4d4f33;border-radius:12px;padding:12px 14px;font-size:14px}.auth-hint{color:var(--text-secondary);text-align:center;font-size:14px}.auth-link{color:var(--primary-dark);cursor:pointer;background:0 0;border:none;font-weight:700}.auth-link:hover{text-decoration:underline}.settings-page{background:linear-gradient(135deg,#f5f7fa 0%,#e9ecef 100%);min-height:100vh;padding:40px;animation:.5s fadeIn}.settings-container{background:#fff;border-radius:24px;max-width:800px;margin:0 auto;animation:.5s slideIn;overflow:hidden;box-shadow:0 20px 60px #0000001a}.settings-header{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);text-align:center;color:#fff;padding:40px}.settings-title{margin-bottom:8px;font-size:32px;font-weight:700}.settings-description{opacity:.9;margin:0;font-size:16px}.settings-content{padding:40px}.avatar-section{border-bottom:1px solid var(--border-color);flex-direction:column;align-items:center;margin-bottom:40px;padding-bottom:30px;display:flex}.avatar-container{border-radius:50%;flex-shrink:0;width:120px;height:120px;margin-bottom:16px;overflow:hidden;box-shadow:0 4px 12px #0000001a}.avatar-image{object-fit:cover;object-position:center;box-sizing:border-box;border:4px solid var(--primary-color);border-radius:50%;width:100%;height:100%;display:block}.avatar-placeholder{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;border:4px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;font-size:48px;font-weight:700;display:flex;box-shadow:0 4px 12px #0000001a}.avatar-actions{gap:12px;display:flex}.form-section{margin-bottom:32px}.form-section .input-wrapper:last-child{margin-bottom:0}.settings-actions{border-top:1px solid var(--border-color);justify-content:flex-end;padding-top:20px;display:flex}.avatar-modal-content{padding:20px 0}.avatar-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px;display:grid}.avatar-option{cursor:pointer;border:3px solid #0000;border-radius:12px;transition:all .3s;overflow:hidden}.avatar-option:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026}.avatar-option.selected{border-color:var(--primary-color);box-shadow:0 0 0 3px #6b4eff33}.avatar-option img{aspect-ratio:1;object-fit:cover;background:#f8f9fa;width:100%}.avatar-modal-footer{text-align:center;border-top:1px solid var(--border-color);padding-top:20px}.avatar-modal-footer p{color:var(--text-secondary);margin-bottom:12px;font-size:14px}.avatar-modal-actions{justify-content:center;gap:12px;display:flex}@media (width<=768px){.settings-page{padding:20px}.settings-header{padding:30px 20px}.settings-title{font-size:24px}.settings-content{padding:24px}.avatar-grid{grid-template-columns:repeat(3,1fr)}.avatar-actions{flex-direction:column;width:100%}.avatar-actions button{width:100%}.avatar-modal-actions{flex-direction:column}}.admin-page{max-width:1400px;margin:0 auto;padding:40px;animation:.5s fadeIn}.page-header{text-align:center;margin-bottom:40px}.page-title{color:var(--text-primary);background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:8px;font-size:36px;font-weight:700;animation:.5s slideIn}.page-description{color:var(--text-secondary);margin:0;font-size:16px;animation:.5s .1s both slideIn}.admin-tabs{border-bottom:1px solid var(--border-color);flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:30px;padding-bottom:12px;animation:.5s .15s both slideIn;display:flex}.admin-tab{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:30px;align-items:center;gap:8px;padding:8px 20px;font-size:14px;font-weight:500;transition:all .3s;display:inline-flex}.admin-tab-icon{flex-shrink:0;width:1em;height:1em}.admin-tab:hover{color:var(--text-primary);background-color:#f0f0f0}.admin-tab.active{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;box-shadow:0 4px 12px #6b4eff4d}.admin-card{box-shadow:var(--shadow);background:#fff;border-radius:20px;transition:transform .3s,box-shadow .3s;animation:.5s .2s both slideIn;overflow:hidden}.admin-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px)}.admin-card .card-header{background:linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;border-bottom:none;align-items:center;gap:12px;padding:20px 24px;display:flex}.admin-card .card-header .card-icon{color:#fff;justify-content:center;align-items:center;font-size:28px;line-height:1;display:inline-flex}.admin-card .card-header .card-icon svg{width:1em;height:1em}.admin-card .card-header h3{color:#fff;flex:1;margin:0;font-size:20px;font-weight:600}.admin-card .reports-count{color:#fff;background:#ffffff38;border-radius:30px;padding:4px 12px;font-size:14px;font-weight:600}.card-content{padding:24px}.admin-blocks{grid-template-columns:repeat(2,1fr);gap:24px;animation:.5s .2s both slideIn;display:grid}.admin-actions{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.loading-container{text-align:center;color:var(--text-secondary);padding:60px 20px;font-size:16px}.empty-state-report{text-align:center;padding:60px 20px}.empty-icon{opacity:.5;justify-content:center;margin-bottom:16px;display:flex}.empty-icon svg{width:48px;height:48px}.empty-state-report p{color:var(--text-secondary);margin:0;font-size:16px}.reports-list{flex-direction:column;gap:16px;display:flex}.report-item{border:1px solid var(--border-color);background:#fff;border-radius:16px;padding:20px;transition:all .3s}.report-item:hover{border-color:var(--primary-color);box-shadow:0 4px 12px #6b4eff14}.report-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.report-title{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.report-title strong{color:var(--text-primary);font-size:18px}.report-status{border-radius:30px;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:500;display:inline-flex}.report-status-icon{flex-shrink:0;width:12px;height:12px}.report-status.pending{color:#b45f06;background:#fff4d1}.report-status.approved{color:#0a6e3e;background:#dbffe8}.report-status.rejected{color:#b91c1c;background:#ffe2e2}.report-meta{flex-wrap:wrap;gap:16px;display:flex}.report-meta-item{color:var(--text-secondary);font-family:monospace;font-size:12px}.meta-label{color:var(--text-primary);font-weight:600}.report-reason{margin-bottom:16px}.reason-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;font-size:12px;font-weight:600;display:block}.report-reason p{color:var(--text-primary);background:#f8f9fa;border-radius:12px;margin:0;padding:12px;font-size:14px;line-height:1.5}.report-actions{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}@media (width<=900px){.admin-blocks{grid-template-columns:1fr}}@media (width<=768px){.admin-page{padding:20px}.page-title{font-size:28px}.admin-card .card-header{padding:16px 20px}.admin-card .card-header h3{font-size:18px}.card-content{padding:20px}.report-header{flex-direction:column}.report-meta{width:100%}}.menu{background:linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);color:#fff;z-index:100;flex-direction:column;width:280px;height:100vh;display:flex;position:fixed;overflow-y:auto;box-shadow:4px 0 20px #0000001a}.menu::-webkit-scrollbar{width:6px}.menu::-webkit-scrollbar-track{background:#ffffff1a}.menu::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:3px}.menu::-webkit-scrollbar-thumb:hover{background:#fff6}.menu-header{border-bottom:1px solid #ffffff1a;padding:30px 20px 20px}.user-info{align-items:center;gap:15px;display:flex}.user-avatar{background:#fff3;border:2px solid #ffffff4d;border-radius:50%;flex-shrink:0;place-content:center;align-items:center;width:50px;height:50px;display:flex;overflow:hidden}.user-avatar img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.user-avatar-placeholder{color:#fff;justify-content:center;align-items:center;width:100%;height:100%;font-size:20px;font-weight:700;display:flex}.avatar-icon{font-size:24px}.user-details{flex:1}.user-name{margin-bottom:4px;font-size:16px;font-weight:600;display:block}.user-email{opacity:.8;font-size:12px;display:block}.menu-nav{flex:1;padding:20px 0}.menu-item{color:#fffc;align-items:center;gap:12px;padding:14px 24px;font-size:15px;text-decoration:none;transition:all .3s;display:flex;position:relative;overflow:hidden}.menu-item-button{text-align:left;background:0 0;border:none;width:100%}.menu-item:before{content:"";background:#fff;width:3px;height:100%;transition:transform .3s;position:absolute;top:0;left:0;transform:translate(-100%)}.menu-item:hover{color:#fff;background-color:#ffffff1a}.menu-item:hover:before{transform:translate(0)}.menu-item-active{color:#fff;background-color:#ffffff26;font-weight:500}.menu-item-active:before{transform:translate(0)}.menu-item-icon{width:24px;min-width:24px;height:24px;color:inherit;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.menu-item-label{flex:1}.menu-search{border-top:1px solid #ffffff1a;border-bottom:1px solid #ffffff1a;padding:20px 24px;position:relative}.search-input{color:#fff;background-color:#ffffff1a;border:1px solid #fff3;border-radius:30px;width:100%;padding:12px 40px 12px 16px;font-size:14px;transition:all .3s}.search-input::placeholder{color:#fff9}.search-input:focus{background-color:#ffffff26;border-color:#fff6;outline:none}.search-button{color:#fff9;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:8px;transition:color .3s;display:flex;position:absolute;top:50%;right:34px;transform:translateY(-50%)}.search-button:hover{color:#fff}.menu-footer{border-top:1px solid #ffffff1a;padding:20px 0}.app{background-color:var(--background-color);min-height:100vh;display:flex}.main-content{background-color:var(--background-color);flex:1;min-height:100vh;margin-left:280px}.main-content-full{margin-left:0}.fade-in{animation:.3s fadeIn}.slide-in{animation:.3s slideIn}.slide-in-right{animation:.3s slideInFromRight}:root{--primary-color:#7874b2;--primary-dark:#534f7e;--primary-light:#8f7aff;--secondary-color:#ff6b4e;--success-color:#63cb2f;--warning-color:#faad14;--danger-color:#ff4d4f;--text-primary:#333;--text-secondary:#666;--text-light:#999;--background-color:#f5f5f5;--white:#fff;--border-color:#e0e0e0;--shadow:0 2px 8px #0000001a;--shadow-hover:0 8px 24px #6b4eff26}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--background-color);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:var(--primary-light);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}
