.collective-flag-section{margin:32px 0 0;text-align:center}.collective-flag-section h3{margin-bottom:12px;font-size:1.2rem;color:#34495e}.collective-flag-mosaic{display:grid;grid-template-columns:repeat(auto-fit,minmax(40px,1fr));gap:0;justify-items:stretch;align-items:stretch;background:#f8f8f8;padding:0;border-radius:8px;box-shadow:0 2px 8px #0000000a;max-width:320px;margin:0 auto;overflow:hidden}.collective-flag-tile{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;border-radius:0;border:none;box-shadow:none;background:none;display:block}.flag-modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background-color:#000000d9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:modalFadeIn .3s ease-out}.flag-modal .close-modal{position:absolute;top:20px;right:30px;color:#fff;font-size:48px;font-weight:300;cursor:pointer;z-index:1001;transition:all .2s ease;width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.flag-modal .close-modal:hover{background-color:#fff3;transform:scale(1.1)}.flag-modal .close-modal:active{transform:scale(.95)}.modal-flag-image{width:100%;height:auto;max-width:320px;max-height:180px;display:block;border-radius:12px;box-shadow:0 8px 24px #00000026;border:3px solid #ecf0f1;transition:transform .15s cubic-bezier(.4,0,.2,1);background:#fff;position:static;margin:0}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}.close-modal{position:absolute;top:20px;right:30px;color:#fff;font-size:48px;font-weight:300;cursor:pointer;z-index:1001;transition:all .2s ease;width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.close-modal:hover{background-color:#fff3;transform:scale(1.1)}.close-modal:active{transform:scale(.95)}.flag-modal-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:16px;padding:40px;max-width:90vw;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .3s ease-out;text-align:center}@keyframes modalSlideIn{0%{opacity:0;transform:translate(-50%,-60%)}to{opacity:1;transform:translate(-50%,-50%)}}.flag-modal-content h2{margin:0 0 24px;font-size:2.2rem;font-weight:700;color:#2c3e50;text-shadow:0 1px 2px rgba(0,0,0,.1)}.flag-modal-content h4{margin:32px 0 16px;font-size:1.4rem;font-weight:600;color:#34495e;text-align:left}.flag-image-container{display:flex;justify-content:center;align-items:center;width:100%;max-width:320px;margin:0 auto 32px}.flag-modal-content .modal-cappy-image{width:100%;height:auto;max-width:320px;max-height:180px;display:block;border-radius:12px;box-shadow:0 8px 24px #00000026;border:3px solid #ecf0f1;transition:transform .15s cubic-bezier(.4,0,.2,1);background:#fff;position:static;margin:0}.flag-facts-list{list-style:none;padding:0;margin:0;text-align:left}.flag-facts-list li{padding:12px 16px;margin:8px 0;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:8px;border-left:4px solid #3498db;font-size:1rem;line-height:1.5;color:#495057;position:relative;transition:all .2s ease}.flag-facts-list li:hover{background:linear-gradient(135deg,#e3f2fd,#bbdefb);transform:translate(4px);box-shadow:0 2px 8px #3498db33}.flag-facts-list li:before{content:"🏳️";margin-right:8px;font-size:.9rem}@media (max-width: 768px){.flag-modal-content{padding:24px;margin:20px;max-width:calc(100vw - 40px)}.flag-modal-content h2{font-size:1.8rem}.flag-modal-content h4{font-size:1.2rem}.close-modal{top:15px;right:20px;font-size:36px;width:40px;height:40px}.modal-cappy-image{max-height:300px}.flag-facts-list li{padding:10px 12px;font-size:.9rem}}@media (max-width: 480px){.flag-modal-content{padding:20px;margin:10px;max-width:calc(100vw - 20px)}.flag-modal-content h2{font-size:1.5rem}.modal-cappy-image{max-height:250px}}.flag-modal-content::-webkit-scrollbar{width:8px}.flag-modal-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.flag-modal-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.flag-modal-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.series-description{margin:16px 0;padding:12px 16px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:8px;border-left:4px solid #3498db;animation:fadeIn .3s ease-in}.series-desc-text{margin:0;font-size:.95rem;line-height:1.6;color:#495057}.series-desc-text strong{color:#2c3e50;font-weight:600}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.challenge-completion{text-align:center;padding:3rem 2rem;max-width:600px;margin:0 auto}.challenge-completion h2{color:#2c5530;margin-bottom:2rem;font-size:2.5rem}.your-score{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;padding:2rem;border-radius:15px;margin:2rem 0;box-shadow:0 4px 15px #4caf504d}.your-score h3{margin:0 0 1rem;font-size:1.5rem}.score-percentage{font-size:3rem;font-weight:700;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.challenge-completion .loading{margin:2rem 0;padding:1.5rem;background:#f8f9fa;border-radius:10px;border-left:4px solid #007bff}.challenge-completion .error{color:#dc3545;font-style:italic;margin:1rem 0}.flag-question-container{display:flex;flex-direction:column;align-items:center;gap:2rem;max-width:800px;margin:0 auto;padding:2rem}.flag-display{display:flex;justify-content:center;align-items:center;margin:2rem 0;padding:1rem;background:#f8f9fa;border-radius:12px;box-shadow:0 4px 12px #0000001a}.flag-image{max-width:320px;max-height:200px;width:auto;height:auto;border-radius:8px;box-shadow:0 2px 8px #00000026;transition:transform .3s ease}.flag-image:hover{transform:scale(1.05)}.flag-answer-btn{min-width:200px;padding:1rem 1.5rem;font-size:1.1rem;border-radius:8px;border:2px solid #e9ecef;background:#fff;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.flag-answer-btn:hover{border-color:#007bff;background:#f8f9fa;transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.flag-answer-btn.selected{background:#007bff;color:#fff;border-color:#007bff}.flag-answer-btn.correct{background:#28a745;color:#fff;border-color:#28a745}.flag-answer-btn.wrong{background:#dc3545;color:#fff;border-color:#dc3545}.flag-answer-btn:disabled{cursor:not-allowed;opacity:.8}.fact-flag{display:flex;justify-content:center;margin-bottom:1rem}.fact-flag-image{max-width:150px;max-height:100px;border-radius:6px;box-shadow:0 2px 6px #0000001a}.flag-quiz-link{display:inline-flex;align-items:center;justify-content:center;margin-left:.5rem;text-decoration:none;transition:transform .2s ease}.flag-quiz-link:hover{transform:scale(1.1)}.flag-quiz-image{width:32px;height:32px;object-fit:contain}.flag-quiz-fallback{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;font-size:24px;text-decoration:none}@media (max-width: 768px){.flag-question-container{padding:1rem;gap:1.5rem}.flag-display{margin:1rem 0;padding:.5rem}.flag-image{max-width:280px;max-height:180px}.flag-answer-btn{min-width:150px;padding:.8rem 1rem;font-size:1rem}.answer-grid{display:grid;grid-template-columns:1fr;gap:.75rem;width:100%}}@media (min-width: 769px){.answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;width:100%;max-width:500px}}.quiz-setup-container{display:flex;gap:30px;max-width:1200px;margin:0 auto;align-items:flex-start}.quiz-settings-col{width:320px;background:#fff;padding:24px 20px;border-radius:15px;box-shadow:0 5px 15px #00000014;position:sticky;top:20px;align-self:flex-start}.quiz-main-col{flex:1;background:#fff;padding:36px 32px;border-radius:15px;box-shadow:0 5px 15px #00000014}.quiz-main-content{display:flex;flex-direction:column;align-items:center}.quiz-icon-large{margin-bottom:18px}.flag-quiz-main-icon{width:120px;display:block;margin:0 auto}.quiz-title{font-family:Montserrat,sans-serif;color:#2c3e50;font-size:2.2em;text-align:center;margin-bottom:12px}.quiz-description{color:#555;font-size:1.1em;text-align:center;margin-bottom:28px}.quiz-features{display:flex;gap:24px;justify-content:center;margin-top:18px}.feature{background:#f8f9fa;border-radius:10px;padding:18px 16px;text-align:center;box-shadow:0 2px 6px #0000000a}.feature-icon{font-size:2em;margin-bottom:8px;display:block}@media (max-width: 900px){.quiz-setup-container{flex-direction:column;gap:18px}.quiz-settings-col,.quiz-main-col{width:100%;max-width:100%;padding:18px 8px;box-sizing:border-box}.quiz-main-content{padding:0 4px}.quiz-features{flex-direction:column;gap:12px}}.quiz-container.map-quiz-container{display:block;max-width:800px;margin:0 auto;padding:20px}.map-quiz-container .quiz-header{display:none}.map-quiz-container .question-section{display:flex;flex-direction:column;align-items:center;width:100%;max-width:600px;margin:0 auto}.map-quiz-container .question-text{text-align:center;width:100%}.map-quiz-container .map-container{width:100%;display:flex;justify-content:center;margin-bottom:20px}.map-quiz-container .answer-options{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px}.map-quiz-container .answer-btn{width:100%;max-width:400px}.map-quiz-progress-header{display:flex;justify-content:center;align-items:center;margin-bottom:20px;position:relative}.map-quiz-progress-header .question-counter{font-size:16px;font-weight:600;color:#333;text-align:center}.map-quiz-progress-header .exit-quiz-btn{position:absolute;right:0;top:50%;transform:translateY(-50%);background:none;border:none;font-size:24px;color:#666;cursor:pointer;padding:8px;line-height:1;transition:color .2s ease}.map-quiz-progress-header .exit-quiz-btn:hover{color:#e74c3c}.map-quiz-container .answer-btn{position:relative;overflow:hidden}.map-quiz-container .loading-answer:before{content:"";position:absolute;top:0;left:0;height:100%;width:0;background-color:#0000001a;animation:fillBackground 1s forwards;z-index:0}.map-quiz-container .correct-answer:before{background-color:#4caf504d}.map-quiz-container .wrong-answer:before{background-color:#f443364d}.map-quiz-container .show-correct{background-color:#4caf5033;border-color:#4caf50}@keyframes fillBackground{0%{width:0}to{width:100%}}.map-quiz-container .answer-btn span{position:relative;z-index:1}.quiz-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding:0 10px}.quiz-progress{flex:1;max-width:300px}.progress-bar{width:100%;height:8px;background-color:#e0e0e0;border-radius:4px;overflow:hidden;margin-bottom:5px}.progress-fill{height:100%;background:linear-gradient(90deg,#4caf50,#8bc34a);transition:width .3s ease}.progress-text{font-size:14px;color:#666;font-weight:500}.quiz-score{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:700;color:#333}.score-label{color:#666}.score-value{color:#4caf50}.quiz-content{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;overflow:hidden;margin-bottom:20px}.question-section{padding:30px;text-align:center}.question-title{font-size:24px;font-weight:600;color:#333;margin-bottom:30px;line-height:1.4}.map-container{position:relative;margin:20px 0;background:#f8f9fa;border-radius:8px;padding:20px;border:2px solid #e9ecef}.map-wrapper{position:relative;cursor:pointer;transition:transform .3s ease;display:flex;align-items:center;justify-content:center;min-height:150px}.map-wrapper:hover{transform:scale(1.02)}.map-wrapper.zoomed{transform:scale(1.5);z-index:10}.country-map{display:block;filter:drop-shadow(0 2px 8px rgba(0,0,0,.1))}.country-shape{transition:all .3s ease}.country-shape:hover{fill:#4caf50;stroke:#2e7d32;stroke-width:3}.map-overlay{position:absolute;top:10px;right:10px;background:#000000b3;color:#fff;padding:8px 12px;border-radius:20px;font-size:12px;opacity:0;transition:opacity .3s ease}.map-wrapper:hover .map-overlay{opacity:1}.answers-section{padding:0 30px 30px}.answer-options{display:grid;grid-template-columns:1fr;gap:12px;margin-top:20px}.answer-option{display:flex;align-items:center;padding:16px 20px;background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .3s ease;font-size:16px;text-align:left;position:relative;overflow:hidden}.answer-option:hover:not(:disabled){border-color:#4caf50;background:#f8fff8;transform:translateY(-2px);box-shadow:0 4px 12px #4caf5033}.answer-option:disabled{cursor:not-allowed}.answer-option.correct{border-color:#4caf50;background:#e8f5e8;color:#2e7d32}.answer-option.correct:before{content:"✓";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:20px;font-weight:700;color:#4caf50}.answer-option.incorrect{border-color:#f44336;background:#ffebee;color:#c62828}.answer-option.incorrect:before{content:"✗";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:20px;font-weight:700;color:#f44336}.option-letter{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#f0f0f0;border-radius:50%;font-weight:700;margin-right:16px;flex-shrink:0;transition:all .3s ease}.answer-option:hover:not(:disabled) .option-letter{background:#4caf50;color:#fff}.answer-option.correct .option-letter{background:#4caf50;color:#fff}.answer-option.incorrect .option-letter{background:#f44336;color:#fff}.option-text{flex:1;font-weight:500}.quiz-actions{display:flex;justify-content:center;padding:20px 0}.next-btn{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;border:none;padding:16px 32px;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #4caf504d}.next-btn:hover{background:linear-gradient(135deg,#45a049,#3d8b40);transform:translateY(-2px);box-shadow:0 6px 20px #4caf5066}.next-btn:active{transform:translateY(0)}.quiz-loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#fffffff2;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:9999;display:flex;align-items:center;justify-content:center}.loading-quiz-container{text-align:center;padding:40px;max-width:400px}.loading-quiz-container .loading-spinner-large{width:60px;height:60px;border:4px solid rgba(102,126,234,.3);border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.loading-quiz-container h2{margin:0 0 10px;font-size:1.8rem;font-weight:600;color:#2c3e50}.loading-quiz-container p{margin:0;font-size:1.1rem;color:#666}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.quiz-setup-container{display:flex;gap:20px;max-width:1200px;margin:0 auto;padding:20px}.quiz-main-col{flex:1}.quiz-main-content{background:#fff;border-radius:12px;padding:40px;box-shadow:0 4px 20px #0000001a;text-align:center}.quiz-icon-large{margin-bottom:30px}.map-quiz-main-icon{width:120px;height:120px;border-radius:50%;object-fit:cover;box-shadow:0 8px 25px #00000026}.quiz-title{font-size:36px;font-weight:700;color:#333;margin-bottom:20px;background:linear-gradient(135deg,#4caf50,#2e7d32);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.quiz-description{font-size:18px;color:#666;margin-bottom:40px;line-height:1.6}.quiz-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;margin-top:40px}.feature{text-align:center;padding:20px;border-radius:8px;background:#f8f9fa;transition:transform .3s ease}.feature:hover{transform:translateY(-5px)}.feature-icon{font-size:48px;margin-bottom:15px;display:block}.feature h3{font-size:20px;font-weight:600;color:#333;margin-bottom:10px}.feature p{font-size:14px;color:#666;line-height:1.5}@media (max-width: 768px){.quiz-setup-container{flex-direction:column;padding:10px}.quiz-main-content{padding:20px}.quiz-title{font-size:28px}.quiz-description{font-size:16px}.quiz-features{grid-template-columns:1fr;gap:20px}.map-quiz-container{padding:10px}.question-section{padding:20px}.question-title{font-size:20px}.answers-section{padding:0 20px 20px}.answer-option{padding:12px 16px;font-size:14px}.option-letter{width:28px;height:28px;margin-right:12px}}@media (max-width: 480px){.quiz-header{flex-direction:column;gap:15px;align-items:stretch}.quiz-progress{max-width:none}.quiz-score{justify-content:center}.map-container{padding:10px}.country-map{max-height:300px}.map-wrapper{min-height:120px}}
