.error-display{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin:1rem 0;padding:1.5rem}.error-content{text-align:center}.error-icon{font-size:2rem;margin-bottom:.5rem}.error-title{color:#dc2626;font-size:1.1rem;font-weight:600;margin:.5rem 0}.error-message{color:#7f1d1d;font-size:.9rem;line-height:1.4;margin:.5rem 0 1rem}.error-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.error-button{border:none;border-radius:4px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:all .2s ease}.retry-button{background:#dc2626;color:#fff}.retry-button:hover{background:#b91c1c}.close-button{background:#6b7280;color:#fff}.close-button:hover{background:#4b5563}@media (prefers-color-scheme:dark){.error-display{background:#1f2937;border-color:#374151}.error-title{color:#f87171}.error-message{color:#d1d5db}}.modal-overlay{align-items:center;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#1e293b;border:1px solid #94a3b833;border-radius:12px;box-shadow:0 20px 40px #00000080;display:flex;flex-direction:column;max-height:90vh;max-width:90vw;overflow:hidden;width:1100px}.modal-header{align-items:center;background:#0f172acc;border-bottom:1px solid #94a3b833;display:flex;justify-content:space-between;padding:1.5rem 2rem}.modal-header h2{color:#f8fafc;font-size:1.5rem;font-weight:600;margin:0}.modal-close{background:none;border:none;border-radius:4px;color:#94a3b8;cursor:pointer;font-size:1.5rem;padding:.5rem;transition:all .2s ease}.modal-close:hover{background:#33415580;color:#e2e8f0}.modal-form{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.form-sections{flex:1 1;max-height:calc(90vh - 140px);overflow-y:auto;padding:2rem}.form-section{border-bottom:1px solid #94a3b826;margin-bottom:2rem;padding-bottom:1.5rem}.form-section:last-child{border-bottom:none;margin-bottom:0}.form-section h3{border-bottom:2px solid #60a5fa;color:#e2e8f0;font-size:1.1rem;font-weight:600;margin:0 0 1rem;padding-bottom:.5rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr;margin-bottom:1rem}.form-group{display:flex;flex-direction:column;margin-bottom:1rem}.form-group label{color:#cbd5e1;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.form-group input,.form-group select,.form-group textarea{background:#33415599;border:1px solid #94a3b84d;border-radius:6px;color:#e2e8f0;font-size:.9rem;padding:.75rem;transition:all .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{background:#334155cc;border-color:#60a5fa;box-shadow:0 0 0 2px #3b82f633;outline:none}.form-group input:disabled{background:#3341554d;color:#64748b;cursor:not-allowed}.form-group textarea{min-height:80px;resize:vertical}.checkbox-group{align-items:center;flex-direction:row;margin-bottom:.5rem}.checkbox-group label{align-items:center;cursor:pointer;display:flex;font-size:.9rem;margin-bottom:0}.checkbox-group input[type=checkbox]{height:auto;margin-right:.5rem;width:auto}.modal-actions{background:#0f172acc;border-top:1px solid #94a3b833;display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem 2rem}.btn{border:none;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;min-width:100px;padding:.75rem 1.5rem;transition:all .2s ease}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.btn-primary:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.btn-secondary{background:#6b7280;color:#fff}.btn-secondary:hover{background:#4b5563;transform:translateY(-1px)}.form-sections::-webkit-scrollbar,.tab-panel::-webkit-scrollbar{width:8px}.form-sections::-webkit-scrollbar-track,.tab-panel::-webkit-scrollbar-track{background:#33415566;border-radius:4px}.form-sections::-webkit-scrollbar-thumb,.tab-panel::-webkit-scrollbar-thumb{background:#64748b99;border-radius:4px}.form-sections::-webkit-scrollbar-thumb:hover,.tab-panel::-webkit-scrollbar-thumb:hover{background:#94a3b8cc}@media (max-width:768px){.modal-content{max-height:95vh;width:95vw}.modal-header{padding:1rem 1.5rem}.modal-header h2{font-size:1.25rem}.form-sections{max-height:calc(95vh - 120px);padding:1.5rem}.form-row{gap:.75rem;grid-template-columns:1fr}.modal-actions{flex-direction:column;padding:1rem 1.5rem}.btn{width:100%}}@media (max-width:480px){.modal-overlay{padding:.5rem}.modal-content{border-radius:0;max-height:100vh;width:100vw}.form-sections{max-height:calc(100vh - 100px);padding:1rem}.form-section{margin-bottom:1.5rem;padding-bottom:1rem}.form-section h3{font-size:1rem}}.form-group select option{background:#1e293b;color:#e2e8f0}.tab-bar{background:#0f172a;border-bottom:2px solid #334155;display:flex;flex-shrink:0;overflow-x:auto}.tab-btn{background:none;border:none;border-bottom:2px solid #0000;color:#94a3b8;cursor:pointer;font-size:.875rem;font-weight:500;margin-bottom:-2px;padding:12px 20px;transition:color .15s ease,border-color .15s ease;white-space:nowrap}.tab-btn:hover{color:#e2e8f0}.tab-btn.active{border-bottom-color:#60a5fa;color:#60a5fa;font-weight:600}.tab-panel{flex:1 1;max-height:calc(90vh - 200px);overflow-y:auto;padding:1.75rem 2rem}.sub-tab-bar{border-bottom:2px solid #334155;display:flex;margin-bottom:1.25rem}.sub-tab-btn{background:none;border:none;border-bottom:2px solid #0000;color:#64748b;cursor:pointer;font-size:.875rem;font-weight:500;margin-bottom:-2px;padding:8px 16px;transition:color .15s ease}.sub-tab-btn:hover{color:#e2e8f0}.sub-tab-btn.active{border-bottom-color:#10b981;color:#10b981;font-weight:600}.req-section{border:1px solid #94a3b826;border-radius:8px;margin-bottom:1.25rem;overflow:hidden}.req-section-header{align-items:center;background:#0f172a99;cursor:pointer;display:flex;justify-content:space-between;padding:10px 14px;-webkit-user-select:none;user-select:none}.req-section-header span{color:#cbd5e1;font-size:.875rem;font-weight:600}.req-section-header .req-toggle{color:#64748b;font-size:.75rem}.req-grid{grid-gap:1rem;background:#1e293b80;display:grid;gap:1rem;grid-template-columns:1fr 1fr;padding:1rem}.req-col-label{color:#64748b;font-size:.75rem;font-weight:700;letter-spacing:.05em;margin-bottom:.75rem;text-transform:uppercase}.media-upload-header,.modal-header-actions{align-items:center;display:flex;gap:8px}.media-upload-header{flex-wrap:wrap;justify-content:space-between;margin-bottom:10px}.media-upload-actions{align-items:center;display:flex;gap:8px}.media-file-upload-btn{align-items:center;background:#10b98126;border:1px solid #10b98173;border-radius:6px;color:#34d399;cursor:pointer;display:inline-flex;font-size:.8rem;font-weight:600;gap:6px;margin-bottom:0!important;padding:6px 12px;transition:all .15s ease}.media-file-upload-btn:hover{background:#10b98140;border-color:#10b981}.media-file-upload-btn.disabled{cursor:not-allowed;opacity:.6}.media-json-toggle-btn{background:#1e293bcc;border:1px solid #94a3b840;border-radius:6px;color:#94a3b8;cursor:pointer;font-size:.75rem;font-weight:500;padding:6px 10px;transition:all .15s ease}.media-json-toggle-btn:hover{border-color:#94a3b873;color:#e2e8f0}.media-screenshot-grid{grid-gap:8px;background:#0f172a8c;border:1px solid #94a3b826;border-radius:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));padding:10px}.media-screenshot-item{aspect-ratio:16/9;background:#0f172a;border:1px solid #94a3b833;border-radius:6px;overflow:hidden;position:relative}.media-screenshot-item img{display:block;height:100%;object-fit:cover;width:100%}.media-screenshot-empty{color:#64748b;font-size:.75rem;height:100%;width:100%}.media-item-remove-btn,.media-screenshot-empty{align-items:center;display:flex;justify-content:center}.media-item-remove-btn{background:#ef4444e6;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:14px;height:22px;line-height:1;padding:0;position:absolute;right:4px;top:4px;width:22px}.media-item-remove-btn:hover{background:#dc2626}.media-movie-list{background:#0f172a8c;border:1px solid #94a3b826;border-radius:8px;display:flex;flex-direction:column;gap:10px;padding:10px}.media-movie-item{align-items:center;background:#1e293b99;border:1px solid #94a3b826;border-radius:6px;display:flex;gap:12px;padding:8px}.media-movie-preview{background:#0f172a;border:1px solid #94a3b833;border-radius:4px;flex-shrink:0;height:80px;overflow:hidden;width:140px}.media-movie-preview img,.media-movie-preview video{display:block;height:100%;object-fit:cover;width:100%}.media-movie-fields{display:flex;flex:1 1;flex-direction:column;gap:6px;min-width:0}.media-movie-field-row{align-items:center;display:flex;gap:6px}.media-movie-field-row input[type=text]{flex:1 1;font-size:.8rem!important;min-width:0;padding:6px 10px!important}.media-thumb-upload-btn{align-items:center;background:#3b82f626;border:1px solid #3b82f666;border-radius:6px;color:#60a5fa;cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:600;margin-bottom:0!important;padding:6px 10px;white-space:nowrap}.media-thumb-upload-btn:hover{background:#3b82f640}.media-movie-delete-btn{background:#ef444426;border:1px solid #ef444466;border-radius:6px;color:#f87171;cursor:pointer;font-size:.75rem;font-weight:600;padding:6px 10px;white-space:nowrap}.media-movie-delete-btn:hover{background:#ef444447}.media-movie-src-text{color:#64748b;font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.tab-panel{max-height:calc(95vh - 140px);padding:1.25rem}.req-grid{grid-template-columns:1fr}.media-movie-item{align-items:stretch;flex-direction:column}.media-movie-preview{height:140px;width:100%}}.wiki-annotated-wrapper{display:inline}.wiki-term-anchor{border-bottom:1.5px dotted #a855f7;border-radius:2px;color:inherit;cursor:pointer;display:inline;font-weight:500;padding:0 1px;position:relative;transition:all .18s ease}.wiki-term-dot{color:#a855f7;font-size:10px;line-height:0;margin-left:1px;opacity:.8;vertical-align:super}.wiki-term-anchor:hover{background:#a855f726;border-bottom-color:#c084fc;border-bottom-style:solid;color:#f3e8ff}.wiki-term-anchor.cat-character{border-bottom-color:#38bdf8}.wiki-term-anchor.cat-character:hover{background:#38bdf826;color:#e0f2fe}.wiki-term-anchor.cat-location{border-bottom-color:#fb923c}.wiki-term-anchor.cat-location:hover{background:#fb923c26;color:#ffedd5}.wiki-term-anchor.cat-item{border-bottom-color:#facc15}.wiki-term-anchor.cat-item:hover{background:#facc1526;color:#fef08a}.wiki-term-anchor.cat-faction{border-bottom-color:#f43f5e}.wiki-term-anchor.cat-faction:hover{background:#f43f5e26;color:#ffe4e6}.wiki-tooltip-card{animation:wikiTooltipFade .2s cubic-bezier(.16,1,.3,1);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:linear-gradient(165deg,#141a2ef7,#0d1120fa);border:1px solid #a855f766;border-radius:14px;box-shadow:0 18px 45px -10px #000000bf,0 0 25px #a855f738;display:flex;flex-direction:column;font-family:inherit;gap:8px;line-height:1.45;padding:14px 16px;pointer-events:auto;position:fixed;text-align:left;width:290px;z-index:999999}@keyframes wikiTooltipFade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.wiki-tooltip-header{align-items:center;border-bottom:1px solid #ffffff14;display:flex;gap:8px;justify-content:space-between;padding-bottom:6px}.wiki-tooltip-cat-badge{background:#a855f726;border:1px solid #a855f74d;border-radius:4px;color:#c084fc;font-size:10px;font-weight:700;padding:2px 7px;white-space:nowrap}.wiki-tooltip-cat-badge.cat-character{background:#38bdf826;border-color:#38bdf84d;color:#38bdf8}.wiki-tooltip-cat-badge.cat-location{background:#fb923c26;border-color:#fb923c4d;color:#fb923c}.wiki-tooltip-cat-badge.cat-item{background:#facc1526;border-color:#facc154d;color:#facc15}.wiki-tooltip-cat-badge.cat-faction{background:#f43f5e26;border-color:#f43f5e4d;color:#f43f5e}.wiki-tooltip-title{color:#f8fafc;flex:1 1;font-size:13px;font-weight:700;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.wiki-tooltip-summary{color:#cbd5e1;display:block;font-size:12px;line-height:1.55;margin:2px 0}.wiki-tooltip-link{align-items:center;border-top:1px solid #ffffff0f;color:#a78bfa;display:inline-flex;font-size:11.5px;font-weight:600;justify-content:space-between;margin-top:4px;padding-top:8px;text-decoration:none;transition:all .18s ease}.wiki-tooltip-link:hover{color:#fff;transform:translateX(2px)}.wiki-tooltip-link .arrow{font-size:12px}.wiki-term-chips-container{background:#0f172a99;border:1px solid #a855f740;border-radius:12px;display:flex;flex-direction:column;gap:8px;margin:14px 0 18px;padding:10px 14px}.wiki-term-chips-label{align-items:center;color:#c4b5fd;display:flex;font-size:12px;gap:6px}.wiki-term-chips-label strong{color:#f1f5f9}.chips-count{background:#ffffff14;border-radius:10px;color:#94a3b8;font-size:11px;padding:1px 6px}.wiki-term-chips-scroll{display:flex;flex-wrap:wrap;gap:6px;max-height:96px;overflow-y:auto}.wiki-term-chips-scroll::-webkit-scrollbar{width:4px}.wiki-term-chips-scroll::-webkit-scrollbar-thumb{background:#a855f74d;border-radius:2px}.wiki-chip-btn{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:14px;color:#cbd5e1;cursor:pointer;display:inline-flex;font-size:11.5px;gap:5px;padding:3px 9px;transition:all .18s ease}.wiki-chip-btn:hover{background:#a855f733;border-color:#a855f780;color:#fff;transform:translateY(-1px)}.game-ai-summary-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(135deg,#1e1b4b73,#0f172aa6);border:1px solid #8b5cf64d;border-radius:14px;box-shadow:0 8px 32px 0 #0000005e;margin-bottom:24px;overflow:hidden;padding:20px 24px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.game-ai-summary-card:hover{border-color:#a855f780;box-shadow:0 12px 36px 0 #8b5cf626}.ai-summary-glow{background:radial-gradient(circle,#a855f738 0,#3b82f600 70%);filter:blur(20px);height:180px;pointer-events:none;position:absolute;right:-60px;top:-60px;width:180px}.ai-summary-header{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin-bottom:16px}.ai-badge-group{align-items:center;display:flex;gap:10px}.ai-badge-sparkle{background:linear-gradient(135deg,#8b5cf6,#ec4899);box-shadow:0 2px 8px #8b5cf666;color:#fff;font-weight:700;gap:6px;letter-spacing:.02em}.ai-badge-sparkle,.ai-wiki-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:.8rem;padding:4px 10px}.ai-wiki-badge{background:#1e293bcc;border:1px solid #38bdf84d;color:#38bdf8;font-weight:600;text-decoration:none;transition:all .2s ease}.ai-wiki-badge:hover{background:#38bdf826;border-color:#38bdf8;transform:translateY(-1px)}.ai-catchphrase{color:#cbd5e1;font-size:.92rem;font-style:italic;font-weight:500}.ai-summary-list{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0 0 16px;padding:0}.ai-summary-item{align-items:flex-start;background:#0f172a66;border-left:3px solid #8b5cf6;border-radius:8px;display:flex;gap:12px;padding:10px 14px}.ai-item-num{align-items:center;background:#8b5cf640;border-radius:50%;color:#c084fc;display:flex;flex-shrink:0;font-size:.75rem;font-weight:700;height:22px;justify-content:center;margin-top:2px;width:22px}.ai-item-text{color:#f1f5f9;font-size:.95rem;line-height:1.5}.ai-tips-container{background:#1e293b59;border:1px dashed #94a3b840;border-radius:10px;margin-bottom:16px;padding:12px 16px}.ai-tips-title{color:#fbbf24;font-size:.85rem;font-weight:700;margin-bottom:8px}.ai-tips-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.ai-tip-chip{align-items:center;background:#0f172a80;border-radius:6px;display:flex;gap:8px;padding:6px 10px}.tip-dot{background-color:#fbbf24;border-radius:50%;flex-shrink:0;height:6px;width:6px}.tip-text{color:#e2e8f0;font-size:.85rem;line-height:1.4}.ai-compatibility-toggle-row{display:flex;justify-content:flex-end}.ai-compat-toggle-btn{align-items:center;background:#1e293b99;border:1px solid #8b5cf666;border-radius:8px;color:#e2e8f0;cursor:pointer;display:inline-flex;font-size:.88rem;font-weight:600;gap:8px;padding:8px 16px;transition:all .2s ease}.ai-compat-toggle-btn.active,.ai-compat-toggle-btn:hover{background:#8b5cf640;border-color:#a855f7;color:#fff}.compat-icon{font-size:1rem}.compat-arrow{color:#94a3b8;font-size:.7rem;margin-left:4px}.ai-compat-panel{animation:fadeIn .3s ease-in-out;border-top:1px solid #94a3b826;margin-top:16px;padding-top:16px}@keyframes fadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.compat-desc{color:#94a3b8;font-size:.85rem;line-height:1.4;margin:0 0 12px}.compat-preset-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.compat-preset-chip{background:#1e293b80;border:1px solid #94a3b833;border-radius:14px;color:#cbd5e1;cursor:pointer;font-size:.8rem;padding:4px 10px;transition:all .15s ease}.compat-preset-chip:hover{background:#8b5cf633;border-color:#8b5cf6;color:#fff}.compat-form{display:flex;gap:10px;margin-bottom:14px}.compat-input{background:#0f172ab3;border:1px solid #94a3b840;border-radius:8px;color:#f8fafc;flex:1 1;font-size:.9rem;outline:none;padding:10px 14px;transition:border-color .2s ease}.compat-input:focus{border-color:#a855f7}.compat-submit-btn{align-items:center;background:linear-gradient(135deg,#8b5cf6,#6366f1);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;justify-content:center;min-width:100px;padding:0 18px;transition:opacity .2s ease}.compat-submit-btn:disabled{cursor:not-allowed;opacity:.5}.compat-loading{color:#cbd5e1;font-size:.88rem;padding:16px;text-align:center}.compat-loading-dots{display:flex;gap:6px;justify-content:center;margin-bottom:8px}.compat-loading-dots span{animation:pulseDot 1.2s ease-in-out infinite both;background:#8b5cf6;border-radius:50%;height:8px;width:8px}.compat-loading-dots span:first-child{animation-delay:-.32s}.compat-loading-dots span:nth-child(2){animation-delay:-.16s}@keyframes pulseDot{0%,80%,to{opacity:.3;transform:scale(0)}40%{opacity:1;transform:scale(1)}}.compat-error{background:#ef444426;border:1px solid #ef444466;border-radius:8px;color:#fca5a5;font-size:.88rem;margin-bottom:12px;padding:10px 14px}.compat-result-box{background:#0f172aa6;border:1px solid #8b5cf64d;border-radius:10px;padding:16px}.compat-result-header{align-items:center;color:#c084fc;display:flex;font-size:.95rem;font-weight:700;justify-content:space-between;margin-bottom:12px}.wiki-tag{background:#38bdf826;border:1px solid #38bdf84d;border-radius:12px;color:#38bdf8;font-size:.75rem;padding:2px 8px}.compat-result-body{color:#e2e8f0;font-size:.92rem;line-height:1.65}.compat-markdown-content{word-break:keep-all}.compat-patches-section{border-top:1px dashed #94a3b833;margin-top:14px;padding-top:12px}.patches-header{color:#34d399;font-size:.88rem;font-weight:700;margin-bottom:8px}.patches-list{display:flex;flex-direction:column;gap:6px}.patch-link-item{align-items:center;background:#1e293b73;border:1px solid #34d39940;border-radius:6px;display:flex;justify-content:space-between;padding:8px 12px;text-decoration:none;transition:all .2s ease}.patch-link-item:hover{background:#34d39926;border-color:#34d399}.patch-title{color:#f1f5f9;font-size:.88rem;font-weight:600}.patch-cat{background:#94a3b833;border-radius:4px;color:#94a3b8;font-size:.75rem;padding:2px 6px}.patch-cta{color:#34d399;font-size:.8rem;font-weight:700}.skeleton-loading .skeleton{animation:skeletonPulse 1.4s ease infinite;background:linear-gradient(90deg,#ffffff0d 25%,#ffffff1a 37%,#ffffff0d 63%);background-size:400% 100%;border-radius:6px}@keyframes skeletonPulse{0%{background-position:100% 50%}to{background-position:0 50%}}.skeleton-badge{border-radius:12px;height:24px;width:90px}.skeleton-title{height:20px;width:200px}.skeleton-text{height:16px;margin-top:10px;width:100%}.spinner-inline{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:14px;width:14px}@keyframes spin{to{transform:rotate(1turn)}}@media (max-width:768px){.game-ai-summary-card{box-sizing:border-box;padding:14px;width:100%}.ai-summary-header{align-items:flex-start;flex-direction:column;gap:8px}.ai-tips-grid{grid-template-columns:1fr}.ai-compatibility-toggle-row{justify-content:stretch;width:100%}.ai-compat-toggle-btn{box-sizing:border-box;font-size:.82rem;justify-content:center;padding:9px 12px;width:100%}.compat-preset-chip{line-height:1.35;text-align:left;white-space:normal}.compat-form{flex-direction:column;width:100%}.compat-input,.compat-submit-btn{box-sizing:border-box;width:100%}.compat-submit-btn{padding:10px}}.game-book-tab-wrapper{margin-top:.75rem;width:100%}.game-book-empty-state,.game-book-loading-state{background:#0f172abf;border:1px solid #94a3b829;border-radius:12px;color:#cbd5e1;padding:2.5rem 1.5rem;text-align:center}.game-book-spinner{animation:gameBookSpin .8s linear infinite;border:3px solid #94a3b840;border-radius:50%;border-top-color:#60a5fa;height:30px;margin:0 auto .85rem;width:30px}@keyframes gameBookSpin{to{transform:rotate(1turn)}}.game-book-empty-title{color:#f8fafc;font-size:1.05rem;font-weight:700;margin:0 0 .45rem}.game-book-empty-desc{color:#94a3b8;font-size:.9rem;margin:0 0 1.2rem}.game-book-empty-actions{flex-wrap:wrap;gap:.6rem}.game-book-btn,.game-book-empty-actions{display:inline-flex;justify-content:center}.game-book-btn{align-items:center;background:#1e293bd9;border:1px solid #94a3b84d;border-radius:8px;color:#e2e8f0;cursor:pointer;font-size:.85rem;font-weight:600;gap:.35rem;padding:.5rem .95rem;transition:all .15s ease}.game-book-btn:hover:not(:disabled){background:#334155f2;border-color:#94a3b880}.game-book-btn:disabled{cursor:not-allowed;opacity:.5}.game-book-btn--primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#3b82f6;color:#fff}.game-book-btn--primary:hover:not(:disabled){background:linear-gradient(135deg,#3b82f6,#2563eb)}.game-book-btn--danger{background:#7f1d1d73;border-color:#f8717173;color:#fecaca}.game-book-btn--danger:hover:not(:disabled){background:#991b1ba6}.game-book-layout{grid-gap:1.15rem;align-items:start;display:grid;gap:1.15rem;grid-template-columns:300px minmax(0,1fr)}.game-book-mobile-bar{display:none}.game-book-sidebar{background:#0f172ae0;border:1px solid #94a3b829;border-radius:12px;display:flex;flex-direction:column;max-height:calc(100vh - 96px);overflow:hidden;position:-webkit-sticky;position:sticky;top:76px}.game-book-sidebar__header{background:#1e293b73;border-bottom:1px solid #94a3b81f;padding:.95rem 1rem .8rem}.game-book-sidebar__title-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:.35rem}.game-book-sidebar__badge{color:#60a5fa;font-size:.74rem;font-weight:700;letter-spacing:.02em}.game-book-sidebar__ext-link{color:#94a3b8;font-size:.74rem;text-decoration:none}.game-book-sidebar__ext-link:hover{color:#e2e8f0;text-decoration:underline}.game-book-sidebar__book-name{color:#f8fafc;font-size:.96rem;font-weight:700;line-height:1.35;margin:0 0 .35rem}.game-book-sidebar__stats{align-items:center;color:#94a3b8;display:flex;font-size:.75rem;gap:.35rem}.game-book-sidebar__admin-btn{background:#2563eb29;border:1px solid #60a5fa59;border-radius:6px;color:#93c5fd;cursor:pointer;font-size:.76rem;font-weight:600;margin-top:.6rem;padding:.38rem .6rem;width:100%}.game-book-sidebar__admin-btn:hover{background:#2563eb47;color:#dbeafe}.game-book-sidebar__controls{border-bottom:1px solid #94a3b81f;padding:.7rem .85rem}.game-book-sidebar__search-wrap{align-items:center;display:flex;position:relative}.game-book-sidebar__search-input{background:#0f172ae6;border:1px solid #94a3b83d;border-radius:7px;color:#f1f5f9;font-size:.8rem;padding:.42rem 1.8rem .42rem .65rem;width:100%}.game-book-sidebar__search-input:focus{border-color:#60a5fa;outline:none}.game-book-sidebar__search-clear{background:#0000;border:none;color:#94a3b8;cursor:pointer;font-size:.75rem;padding:.15rem .25rem;position:absolute;right:.4rem}.game-book-sidebar__tree-actions{align-items:center;display:flex;justify-content:space-between;margin-top:.45rem}.game-book-sidebar__tree-hint{color:#64748b;font-size:.72rem}.game-book-sidebar__expand-btn{background:#0000;border:none;color:#93c5fd;cursor:pointer;font-size:.74rem;font-weight:600;padding:0}.game-book-sidebar__expand-btn:hover{text-decoration:underline}.game-book-tree{flex:1 1;overflow-y:auto;padding:.55rem .55rem .85rem}.game-book-tree__empty{color:#94a3b8;font-size:.82rem;padding:1.2rem .5rem;text-align:center}.game-book-tree__list,.game-book-tree__pages{list-style:none;margin:0;padding:0}.game-book-tree__chapter{margin-bottom:.25rem}.game-book-tree__chapter-btn{align-items:center;background:#1e293b73;border:1px solid #0000;border-radius:7px;color:#e2e8f0;cursor:pointer;display:flex;font-size:.84rem;font-weight:600;gap:.45rem;padding:.5rem .6rem;text-align:left;transition:background .15s ease,border-color .15s ease;width:100%}.game-book-tree__chapter-btn:hover{background:#334155a6}.game-book-tree__chapter.has-active-page>.game-book-tree__chapter-btn{border-color:#60a5fa59;color:#93c5fd}.game-book-tree__caret{color:#60a5fa;flex-shrink:0;font-size:.78rem;width:14px}.game-book-tree__chapter-name{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-book-tree__chapter-count{background:#0f172aa6;border-radius:999px;color:#94a3b8;flex-shrink:0;font-size:.7rem;padding:.08rem .42rem}.game-book-tree__pages{border-left:1px solid #94a3b833;margin:.2rem 0 .35rem .7rem;padding-left:.55rem}.game-book-tree__page-empty{color:#64748b;font-size:.76rem;padding:.35rem .5rem}.game-book-tree__page-item,.game-book-tree__root-page{margin-bottom:.15rem}.game-book-tree__page-btn{align-items:flex-start;background:#0000;border:none;border-radius:6px;color:#cbd5e1;cursor:pointer;display:flex;font-size:.81rem;gap:.4rem;line-height:1.35;padding:.4rem .55rem;text-align:left;transition:background .12s ease,color .12s ease;width:100%}.game-book-tree__page-btn:hover{background:#3341558c;color:#f8fafc}.game-book-tree__page-btn.is-active{background:#2563eb3d;color:#93c5fd;font-weight:600}.game-book-tree__page-bullet{color:#64748b;flex-shrink:0;font-size:.74rem;line-height:1.4}.game-book-tree__page-btn.is-active .game-book-tree__page-bullet{color:#60a5fa}.game-book-tree__page-title{flex:1 1;word-break:break-word}.game-book-viewer{background:#0f172ad1;border:1px solid #94a3b829;border-radius:12px;min-height:480px;padding:1.35rem 1.6rem}.game-book-viewer__empty,.game-book-viewer__loading{color:#94a3b8;padding:3.5rem 1rem;text-align:center}.game-book-article__header{border-bottom:1px solid #94a3b829;margin-bottom:1.25rem;padding-bottom:.9rem}.game-book-article__meta-bar{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;margin-bottom:.55rem}.game-book-article__breadcrumb{align-items:center;color:#94a3b8;display:flex;flex-wrap:wrap;font-size:.78rem;gap:.35rem}.game-book-article__bc-sep{color:#64748b}.game-book-article__bc-chapter{color:#cbd5e1;font-weight:600}.game-book-article__bc-page{color:#60a5fa;font-weight:600}.game-book-article__actions{align-items:center;display:inline-flex;font-size:.76rem;gap:.65rem}.game-book-article__updated{color:#64748b}.game-book-article__origin-link{background:#2563eb29;border:1px solid #60a5fa47;border-radius:6px;color:#93c5fd;font-weight:600;padding:.22rem .55rem;text-decoration:none}.game-book-article__origin-link:hover{background:#2563eb47;color:#dbeafe}.game-book-article__title{color:#f8fafc;font-size:1.45rem;font-weight:800;line-height:1.35;margin:0}.bookstack-html-content{color:#e2e8f0;font-size:.94rem;line-height:1.72;word-break:break-word}.bookstack-html-content h1,.bookstack-html-content h2,.bookstack-html-content h3,.bookstack-html-content h4,.bookstack-html-content h5{color:#f8fafc;line-height:1.35;margin:1.5rem 0 .65rem}.bookstack-html-content h2{border-bottom:1px solid #94a3b824;font-size:1.24rem;padding-bottom:.35rem}.bookstack-html-content h3{font-size:1.08rem}.bookstack-html-content h4,.bookstack-html-content h5{color:#93c5fd;font-size:.98rem}.bookstack-html-content p{margin:.65rem 0}.bookstack-html-content a{color:#60a5fa;text-decoration:underline;text-underline-offset:2px}.bookstack-html-content a:hover{color:#93c5fd}.bookstack-html-content img{border:1px solid #94a3b82e;border-radius:8px;height:auto;margin:.5rem 0;max-width:100%}.bookstack-html-content ol,.bookstack-html-content ul{margin:.65rem 0;padding-left:1.35rem}.bookstack-html-content li{margin-bottom:.3rem}.bookstack-html-content .callout,.bookstack-html-content blockquote{background:#1e293ba6;border-left:3px solid #3b82f6;border-radius:0 8px 8px 0;color:#dbeafe;margin:.9rem 0;padding:.75rem 1rem}.bookstack-html-content .callout.warning{background:#78350f40;border-left-color:#f59e0b;color:#fde68a}.bookstack-html-content .callout.danger{background:#7f1d1d40;border-left-color:#ef4444;color:#fecaca}.bookstack-html-content .callout.success{background:#064e3b40;border-left-color:#10b981;color:#a7f3d0}.bookstack-html-content table{background:#0f172a99;border:1px solid #94a3b833;border-collapse:collapse;display:block;font-size:.86rem;margin:1rem 0;overflow-x:auto;width:100%!important}.bookstack-html-content td,.bookstack-html-content th{border:1px solid #94a3b833;padding:.55rem .75rem;text-align:left;vertical-align:top}.bookstack-html-content th{background:#1e293bd9;color:#f8fafc;font-weight:700}.game-book-article__nav{grid-gap:.85rem;border-top:1px solid #94a3b829;display:grid;gap:.85rem;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:2rem;padding-top:1.1rem}.game-book-article__nav-btn{background:#1e293b8c;border:1px solid #94a3b838;border-radius:10px;color:#e2e8f0;cursor:pointer;display:flex;flex-direction:column;gap:.2rem;padding:.75rem .95rem;transition:all .15s ease}.game-book-article__nav-btn:hover{background:#334155bf;border-color:#60a5fa73}.game-book-article__nav-btn--prev{text-align:left}.game-book-article__nav-btn--next{text-align:right}.game-book-article__nav-dir{color:#94a3b8;font-size:.74rem}.game-book-article__nav-title{color:#93c5fd;font-size:.88rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-book-modal-backdrop{align-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#020617c2;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:2200}.game-book-modal{background:#0f172a;border:1px solid #94a3b847;border-radius:14px;box-shadow:0 24px 48px #0000008c;display:flex;flex-direction:column;max-height:86vh;max-width:620px;overflow:hidden;width:100%}.game-book-modal__header{align-items:flex-start;border-bottom:1px solid #94a3b829;display:flex;gap:.75rem;justify-content:space-between;padding:1rem 1.25rem}.game-book-modal__title{color:#f8fafc;font-size:1.05rem;font-weight:700;margin:0 0 .25rem}.game-book-modal__subtitle{color:#94a3b8;font-size:.8rem;margin:0}.game-book-modal__close{background:#0000;border:none;color:#94a3b8;cursor:pointer;font-size:1rem;padding:.2rem .4rem}.game-book-modal__body{flex:1 1;overflow-y:auto;padding:1rem 1.25rem}.game-book-modal__search-row{margin-bottom:.85rem}.game-book-modal__search-input{background:#1e293bbf;border:1px solid #94a3b847;border-radius:8px;color:#f8fafc;font-size:.86rem;padding:.55rem .75rem;width:100%}.game-book-modal__error{background:#7f1d1d66;border:1px solid #f8717166;border-radius:8px;color:#fecaca;font-size:.82rem;margin-bottom:.75rem;padding:.6rem .8rem}.game-book-modal__empty,.game-book-modal__loading{color:#94a3b8;font-size:.86rem;padding:2rem 1rem;text-align:center}.game-book-modal__list{display:flex;flex-direction:column;gap:.55rem}.game-book-modal__item{align-items:flex-start;background:#1e293b73;border:1px solid #94a3b833;border-radius:10px;cursor:pointer;display:flex;gap:.7rem;padding:.75rem .85rem;transition:all .15s ease}.game-book-modal__item:hover{background:#33415599}.game-book-modal__item.is-selected{background:#2563eb2e;border-color:#3b82f6}.game-book-modal__item input[type=radio]{margin-top:.22rem}.game-book-modal__item-main{flex:1 1;min-width:0}.game-book-modal__item-top{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.25rem}.game-book-modal__item-name{color:#f8fafc;font-size:.92rem;font-weight:700}.game-book-modal__item-badge{background:#10b98133;border:1px solid #10b98159;border-radius:999px;color:#6ee7b7;font-size:.7rem;font-weight:700;padding:.1rem .45rem}.game-book-modal__item-meta{align-items:center;color:#94a3b8;display:flex;flex-wrap:wrap;font-size:.76rem;gap:.4rem}.game-book-modal__item-meta a{color:#60a5fa;text-decoration:none}.game-book-modal__item-desc{color:#cbd5e1;font-size:.78rem;line-height:1.4;margin:.35rem 0 0}.game-book-modal__footer{align-items:center;border-top:1px solid #94a3b829;display:flex;gap:.75rem;justify-content:space-between;padding:.85rem 1.25rem}.game-book-modal__footer-right{align-items:center;display:flex;gap:.5rem}@media (max-width:768px){.game-book-layout{gap:.65rem;grid-template-columns:1fr}.game-book-mobile-bar{display:block}.game-book-mobile-toggle{align-items:center;background:#0f172aeb;border:1px solid #60a5fa59;border-radius:10px;color:#e2e8f0;cursor:pointer;display:flex;font-size:.83rem;font-weight:600;justify-content:space-between;padding:.65rem .85rem;width:100%}.game-book-mobile-toggle__action{color:#60a5fa;font-size:.75rem}.game-book-sidebar{display:none;max-height:360px;position:static}.game-book-sidebar.is-mobile-open{display:flex}.game-book-viewer{padding:1rem .95rem}.game-book-article__title{font-size:1.18rem}.game-book-article__nav{grid-template-columns:1fr}}.game-book-modal__direct-box{background:#1e293ba6;border:1px solid #3b82f659;border-radius:10px;display:flex;flex-direction:column;gap:.4rem;padding:.75rem .85rem}.game-book-modal__direct-label{color:#93c5fd;font-size:.78rem;font-weight:700}.game-book-modal__direct-row{display:flex;gap:.5rem}.game-book-modal__direct-preview{color:#cbd5e1;font-size:.75rem;padding-top:.15rem}.game-book-modal__direct-preview strong{color:#38bdf8}.game-book-modal__direct-preview a{color:#60a5fa;text-decoration:none}.game-book-modal__search-row{display:flex;flex-direction:column;gap:.35rem}.game-home-admin-book-card{align-items:center;background:linear-gradient(135deg,#0f172aeb,#1e3a8a47);border:1px dashed #3b82f68c;border-radius:10px;display:flex;flex-wrap:wrap;gap:.65rem;justify-content:space-between;margin-bottom:.85rem;padding:.75rem .95rem}.game-home-admin-book-card__info{display:flex;flex-direction:column;gap:.2rem;min-width:0}.game-home-admin-book-card__title{align-items:center;color:#f8fafc;display:inline-flex;font-size:.84rem;font-weight:700;gap:.45rem}.game-home-admin-book-card__badge{background:#3b82f638;border:1px solid #3b82f666;border-radius:999px;color:#93c5fd;font-size:.68rem;font-weight:700;padding:.1rem .45rem}.game-home-admin-book-card__badge.is-linked{background:#10b98133;border-color:#10b98166;color:#6ee7b7}.game-home-admin-book-card__desc{color:#cbd5e1;font-size:.76rem;margin:0}.game-home-admin-book-card__actions{align-items:center;display:flex;flex-wrap:wrap;gap:.45rem}.tab-btn.tab-btn--admin-book-unlinked{background:#1e3a8a38;border:1px dashed #60a5fa99;color:#93c5fd}.tab-btn.tab-btn--admin-book-unlinked:hover{background:#2563eb52;color:#fff}
/*# sourceMappingURL=8337.af184890.chunk.css.map*/