.page-container{display:flex;min-height:calc(100vh - 64px);margin-top:64px;gap:0}.sidebar{width:280px;background:#f3e8d5;border-right:2px solid rgba(139,90,43,0.3);padding:30px 20px;position:sticky;top:64px;height:calc(100vh - 64px);overflow-y:auto;flex-shrink:0;box-shadow:2px 0 10px rgba(101,67,33,0.1)}.sidebar h3{font-family:'Playfair Display',Georgia,serif;font-size:1.3rem;color:#654321;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid rgba(139,90,43,0.3);text-align:center}.sidebar-section{margin-bottom:30px}.sidebar-section h4{font-family:'Playfair Display',Georgia,serif;font-size:1rem;color:#8b5a2b;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.sidebar-links{display:flex;flex-direction:column;gap:6px}.sidebar-links a{color:#654321;text-decoration:none;padding:10px 15px;border-radius:8px;transition:all .3s ease;font-size:.95rem;display:flex;align-items:center;gap:8px;font-family:Georgia,serif}.sidebar-links a:hover{background:rgba(139,90,43,0.15);color:#8b5a2b;transform:translateX(5px)}.sidebar-links a.active{background:rgba(139,90,43,0.25);color:#654321;font-weight:600}.sidebar-links a .icon{width:18px;height:18px;fill:currentColor;flex-shrink:0}.nested-categories{margin-top:8px;margin-left:12px;padding-left:12px;border-left:2px solid rgba(139,90,43,0.2);display:none}.nested-categories .sidebar-links{gap:4px}.nested-categories .sidebar-links a{font-size:.88rem;padding:8px 12px;color:#8b5a2b;background:rgba(255,255,255,0.3)}.nested-categories .sidebar-links a:hover{background:rgba(139,90,43,0.2);transform:translateX(3px)}.nested-categories.active{display:block}.content-area{flex:1;padding:2rem 3rem;background:var(--background-color);overflow-y:auto}.section-header{font-family:'Playfair Display',Georgia,serif;font-size:2rem;font-weight:700;color:#654321;margin:4rem 0 1.5rem;padding-bottom:.5rem;border-bottom:3px solid rgba(139,90,43,0.3);text-shadow:0 1px 2px rgba(0,0,0,0.1)}.section-header:first-child{margin-top:0}.cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:3rem}.cards-rect-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:3rem}@media(max-width:1024px){.sidebar{width:240px}.content-area{padding:2rem}.cards-grid,.cards-rect-grid{grid-template-columns:1fr}}@media(max-width:768px){.page-container{margin-top:64px}.content-area{width:100%;max-width:none;margin-left:0;padding:1rem}.section-header{font-size:1.5rem;margin:1.5rem 0 1rem}.nested-categories{margin-left:8px;padding-left:8px}.sidebar{position:fixed;left:-250px;transition:left .3s ease;z-index:1000}.sidebar.open{left:0}}@media(max-width:480px){.content-area{padding:1rem 8px}}.sidebar-fab{display:none;position:fixed;bottom:20px;right:20px;width:60px;height:60px;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--button-bg),var(--button-hover));text-decoration:none;color:var(--button-text);border-radius:50%;border:0;box-shadow:0 4px 20px var(--shadow-warm);cursor:pointer;z-index:999;transition:transform .3s ease}.sidebar-fab:hover{transform:scale(1.1)}.sidebar-fab .icon{width:28px;height:28px;fill:currentColor}@media(max-width:768px){.sidebar-fab{display:flex}}.line-icon{display:inline-block;padding-left:2px;padding-right:2px;height:1.6rem;vertical-align:middle;-webkit-filter:drop-shadow(2px 2px 2px rgba(2,2,2,0.4));filter:drop-shadow(2px 2px 2px rgba(2,2,2,0.4))}.table-icon{display:inline-block;height:32px;vertical-align:middle}.item-resource{display:inline-block;white-space:nowrap}.item-text{flex:1;text-align:left;width:100%;font-size:.95em}.item-text i{font-style:italic}.item-text b{font-weight:bold}@media(max-width:768px){.item-text{font-size:.9em}}@media(max-width:480px){.item-text{font-size:.85em}}.main-title{text-align:center;color:#3d2817;font-size:2.5em;margin-top:2rem;margin-bottom:5rem;font-family:'Playfair Display',Georgia,serif}.faq-button{position:absolute;top:-10px;right:20px;width:45px;height:87px;background:linear-gradient(135deg,#8b5a2b 0,#a0522d 100%);border:2px solid #654321;border-radius:6px 6px 0 0;cursor:pointer;transition:all .3s ease;box-shadow:0 -2px 8px rgba(101,67,33,0.3);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding-top:8px}.faq-button:hover{box-shadow:0 -4px 12px rgba(101,67,33,0.4);background:linear-gradient(135deg,#a0522d 0,#8b5a2b 100%)}.faq-button::before{content:'?';font-size:1.4rem;font-weight:bold;color:#fff8dc;font-family:Georgia,serif}.faq-count{font-size:.75rem;color:#fff8dc;font-weight:600;background:rgba(0,0,0,0.2);padding:2px 6px;border-radius:10px;min-width:20px;text-align:center}.achievement-card.no-faq .faq-button{display:none}.faq-modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background-color:rgba(101,67,33,0.7);backdrop-filter:blur(4px)}.faq-modal.active{display:flex;align-items:center;justify-content:center}.faq-modal-content{background:linear-gradient(135deg,#fff8dc 0,#faebd7 100%);border:3px solid #8b5a2b;border-radius:12px;padding:2rem;max-width:600px;max-height:80vh;overflow-y:auto;position:relative;box-shadow:0 10px 40px rgba(0,0,0,0.3)}.faq-modal-header{font-family:'Playfair Display',Georgia,serif;font-size:1.5rem;font-weight:700;color:#654321;margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:2px solid rgba(139,90,43,0.3)}.faq-modal-close{position:absolute;top:1rem;right:1rem;font-size:2rem;font-weight:bold;color:#8b5a2b;cursor:pointer;line-height:1;width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s ease}.faq-modal-close:hover{background:rgba(139,90,43,0.2);color:#654321}.faq-item{margin:1rem 0;padding:1rem;background:rgba(255,255,255,0.5);border-left:4px solid #8b5a2b;border-radius:6px}.faq-item h4{font-family:Georgia,serif;color:#654321;margin:0 0 .5rem 0;font-size:1.1rem}.faq-item p{margin:0;color:#654321;line-height:1.6}@media(max-width:768px){.faq-button{right:10px;width:40px;height:50px}.faq-modal-content{margin:1rem;padding:1.5rem;max-width:calc(100% - 2rem)}}.rules-search-container{max-width:800px;margin:0 auto 2rem}.search-box{position:relative;width:100%}.search-input{width:100%;padding:15px 50px 15px 20px;font-size:1rem;font-family:var(--font-primary);border:2px solid var(--border-color);border-radius:12px;background:var(--card-bg);color:var(--text-primary);transition:all .3s ease}.search-input:focus{outline:0;border-color:var(--accent-color);box-shadow:0 0 0 3px rgba(139,115,85,0.1)}.search-input::placeholder{color:var(--text-muted)}.search-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);width:24px;height:24px;fill:var(--text-muted);pointer-events:none}.search-results{position:absolute;top:calc(100% + 10px);left:0;right:0;background:var(--card-bg);border:2px solid var(--card-border);border-radius:12px;box-shadow:0 10px 30px var(--shadow-medium);max-height:500px;overflow-y:auto;z-index:100;display:none}.search-results.active{display:block}.search-result-item{padding:15px 20px;cursor:pointer;border-bottom:1px solid var(--border-light);transition:background .2s ease}.search-result-item:last-child{border-bottom:0}.search-result-item:hover{background:var(--highlight-bg)}.search-result-name{font-weight:600;color:var(--text-primary);margin-bottom:5px;font-size:1rem}.search-result-description{font-size:.85rem;color:var(--text-secondary);line-height:1.4}.search-result-page{display:inline-block;margin-top:5px;padding:3px 10px;background:var(--accent-color);color:var(--button-text);border-radius:4px;font-size:.8rem;font-weight:600}.search-no-results{padding:30px 20px;text-align:center;color:var(--text-muted);font-style:italic}.pdf-viewer-section{flex:1;display:flex;flex-direction:column}.pdf-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:20px;background:var(--background-darker-2-color);padding:15px;border-radius:10px;box-shadow:0 2px 10px var(--shadow-light)}.pdf-control-btn{background:var(--button-bg);color:var(--button-text);border:0;padding:10px 20px;border-radius:8px;cursor:pointer;font-family:var(--font-primary);font-size:.95rem;font-weight:600;transition:all .3s ease;display:flex;align-items:center;gap:8px}.pdf-control-btn:hover{background:var(--button-hover);transform:translateY(-2px)}.pdf-control-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.pdf-control-btn .icon{width:18px;height:18px;fill:currentColor}.page-info{font-family:var(--font-primary);font-size:1rem;color:var(--text-primary);font-weight:600}.page-input{width:60px;padding:8px;text-align:center;border:2px solid var(--border-color);border-radius:6px;font-family:var(--font-primary);font-size:.95rem}.zoom-controls{display:flex;gap:10px;align-items:center}.pdf-canvas-container{flex:1;background:var(--background-darker-2-color);border-radius:15px;padding:16px;display:flex;justify-content:center;align-items:center;overflow:auto;box-shadow:inset 0 2px 10px var(--shadow-light)}#pdf-canvas{max-width:100%;height:auto;box-shadow:0 10px 40px var(--shadow-heavy);border-radius:8px}.pdf-loading{text-align:center;padding:60px;color:var(--text-muted)}.pdf-loading-spinner{width:50px;height:50px;border:4px solid var(--border-light);border-top:4px solid var(--accent-color);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@media(max-width:768px){.pdf-controls{flex-wrap:wrap;gap:10px}.pdf-canvas-container{padding:8px}}@media(max-width:480px){.search-input{padding:12px 40px 12px 15px;font-size:.9rem}.pdf-control-btn{padding:8px 15px;font-size:.85rem}.pdf-canvas-container{padding:4px}}.achievement-card{border-radius:16px;padding:0;position:relative;box-shadow:0 4px 8px rgba(101,67,33,0.15);transition:all .3s cubic-bezier(0.4,0,0.2,1);overflow:hidden}.achievement-card:hover{transform:translateY(-3px);box-shadow:0 8px 16px rgba(101,67,33,0.25)}.achievement-header{height:30px;position:relative}.achievement-card-title{font-size:1.3rem;font-weight:700;margin:1rem 1.5rem 1rem;padding-bottom:.6rem;border-bottom:2px solid rgba(139,90,43,0.25);text-align:center;letter-spacing:.5px;text-shadow:0 1px 2px rgba(0,0,0,0.05)}.achievement-main{display:flex;gap:1rem;margin:0 1.5rem 1rem}.achievement-main:last-child{margin-bottom:1.5rem}.achievement-item{flex:1;display:flex;align-items:center;padding:.8rem;border-radius:8px;background:rgba(255,255,255,0.4);border:1px solid rgba(139,90,43,0.2);transition:all .3s ease}.achievement-item:hover{background:rgba(255,255,255,0.6);border-color:rgba(139,90,43,0.35)}.achievement-icons{display:flex;flex-direction:column;gap:.5rem;align-items:center;justify-content:center;background:rgba(255,255,255,0.4);border:1px solid rgba(139,90,43,0.2);border-radius:8px;padding:.75rem .5rem;flex-shrink:0}.achievement-divider{height:2px;background:rgba(139,90,43,0.25);margin:.8rem 1.5rem}@media(max-width:480px){.achievement-card{border:none !important;border-radius:8px}.achievement-header{height:25px}.achievement-card:hover{transform:none;box-shadow:none !important}.achievement-card-title{font-size:1.1rem}.achievement-main{flex-direction:column;margin:0 1rem 1rem}.achievement-main:last-child{margin-bottom:1.5rem}.achievement-item{padding:1rem}.achievement-icons{flex-direction:row;width:100%;max-width:140px;margin:0 auto;min-width:auto}.achievement-divider{margin:.8rem 1rem}}.technology-card{border-radius:16px;padding:0;position:relative;box-shadow:0 4px 8px rgba(101,67,33,0.15);transition:all .3s cubic-bezier(0.4,0,0.2,1);overflow:hidden}.technology-card:hover{transform:translateY(-3px);box-shadow:0 8px 16px rgba(101,67,33,0.25)}.technology-header{height:35px;position:relative;display:flex;align-items:flex-end;justify-content:center}.technology-header p{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.1rem}.technology-card[data-category="economy"] .technology-header{background:#b8933a}.technology-card[data-category="military"] .technology-header{background:#a94442}.technology-card[data-category="culture"] .technology-header{background:#4a7a8b}.technology-card[data-category="knowledge"] .technology-header{background:#4a8b4a}.technology-card-title{text-transform:uppercase;font-size:1.3rem;font-weight:bold;color:#654321;margin:1.5rem 1.5rem 1rem;padding-bottom:.6rem;border-bottom:2px solid rgba(139,90,43,0.25);text-align:center;letter-spacing:.5px}.technology-main{display:flex;gap:1rem;margin:0 1.5rem 1rem}.technology-icons{display:flex;flex-direction:column;gap:.5rem;align-items:center;justify-content:center;background:rgba(255,255,255,0.4);border:1px solid rgba(139,90,43,0.2);border-radius:8px;padding:.75rem .5rem;flex-shrink:0}.technology-icons img{width:32px;height:32px}.technology-item{flex:1;display:flex;align-items:center;padding:.8rem;border-radius:8px;background:rgba(255,255,255,0.4);border:1px solid rgba(139,90,43,0.2)}.technology-cost{display:flex;gap:.8rem;justify-content:center;padding:1rem 1.5rem 1.5rem;border-top:1px solid rgba(139,90,43,0.15);margin:0 1.5rem}.cost-item{display:flex;align-items:center;gap:4px;background:rgba(255,255,255,0.5);padding:6px 10px;border-radius:6px;border:1px solid rgba(139,90,43,0.2);font-family:Georgia,serif;font-weight:600;color:#654321;font-size:1.1rem}.cost-item.discounted{background:rgba(160,255,160,0.4);border-color:rgba(85,107,47,0.5)}.technology-type-wrapper{position:relative;display:inline-block}.recurrent-uses{position:absolute;top:38%;left:50%;transform:translate(-50%,-50%);font-family:Georgia,serif;font-size:10pt;font-weight:700;text-shadow:0 0 3px rgba(255,255,255,0.9),0 0 6px rgba(255,255,255,0.7);pointer-events:none}@media(max-width:480px){.technology-card{border:none !important;border-radius:8px}.technology-header{height:30px}.technology-card:hover{transform:none;box-shadow:none !important}.technology-card-title{font-size:1.1em}.technology-main{flex-direction:column;margin:0 1rem 1rem}.technology-icons{flex-direction:row;width:100%;max-width:150px;margin:0 auto;padding:.5rem;justify-content:center}.technology-item{padding:1rem}.technology-cost{margin:0;padding:.5rem 0 1rem}}.achievement-card[data-category="economy"] .achievement-card-title,.technology-card[data-category="economy"] .technology-card-title{color:#9d7920}.achievement-card[data-category="military"] .achievement-card-title,.technology-card[data-category="military"] .technology-card-title{color:#8b3a3a}.achievement-card[data-category="culture"] .achievement-card-title,.technology-card[data-category="culture"] .technology-card-title{color:#3a5a6b}.achievement-card[data-category="knowledge"] .achievement-card-title,.technology-card[data-category="knowledge"] .technology-card-title{color:#3a6b3a}.achievement-card[data-category="economy"],.technology-card[data-category="economy"],.nation-ability[data-category="economy"]{background:linear-gradient(135deg,rgba(255,215,0,0.08) 0,rgba(255,215,0,0.15) 100%);border:2px solid #c9a003}.achievement-card[data-category="military"],.technology-card[data-category="military"],.nation-ability[data-category="military"]{background:linear-gradient(135deg,#f4e4e4 0,#e8d0d0 100%);border:2px solid #a94442}.achievement-card[data-category="culture"],.technology-card[data-category="culture"],.nation-ability[data-category="culture"]{background:linear-gradient(135deg,#e4eff4 0,#d0dfe8 100%);border:2px solid #5b9bb5}.achievement-card[data-category="knowledge"],.technology-card[data-category="knowledge"],.nation-ability[data-category="knowledge"]{background:linear-gradient(135deg,#e8f4e4 0,#d0e8d0 100%);border:2px solid #4a8b4a}.achievement-card::before,.technology-card::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:var(--card-bg);background-size:cover;background-position:center;opacity:.3;border-radius:16px;pointer-events:none;z-index:0;mask-image:radial-gradient(ellipse 100% 100% at center,transparent 30%,black 80%);-webkit-mask-image:radial-gradient(ellipse 100% 100% at center,transparent 30%,black 80%)}.achievement-card[data-category="economy"]:nth-child(4n+1),.technology-card[data-category="economy"]:nth-child(4n+1){--card-bg:url('/images/bg_economy_1.webp')}.achievement-card[data-category="economy"]:nth-child(4n+2),.technology-card[data-category="economy"]:nth-child(4n+2){--card-bg:url('/images/bg_economy_2.webp')}.achievement-card[data-category="economy"]:nth-child(4n+3),.technology-card[data-category="economy"]:nth-child(4n+3){--card-bg:url('/images/bg_economy_3.webp')}.achievement-card[data-category="economy"]:nth-child(4n+4),.technology-card[data-category="economy"]:nth-child(4n+4){--card-bg:url('/images/bg_economy_4.webp')}.achievement-card[data-category="military"]:nth-child(4n+1),.technology-card[data-category="military"]:nth-child(4n+1){--card-bg:url('/images/bg_military_1.webp')}.achievement-card[data-category="military"]:nth-child(4n+2),.technology-card[data-category="military"]:nth-child(4n+2){--card-bg:url('/images/bg_military_2.webp')}.achievement-card[data-category="military"]:nth-child(4n+3),.technology-card[data-category="military"]:nth-child(4n+3){--card-bg:url('/images/bg_military_3.webp')}.achievement-card[data-category="military"]:nth-child(4n+4),.technology-card[data-category="military"]:nth-child(4n+4){--card-bg:url('/images/bg_military_4.webp')}.achievement-card[data-category="culture"]:nth-child(4n+1),.technology-card[data-category="culture"]:nth-child(4n+1){--card-bg:url('/images/bg_culture_1.webp')}.achievement-card[data-category="culture"]:nth-child(4n+2),.technology-card[data-category="culture"]:nth-child(4n+2){--card-bg:url('/images/bg_culture_2.webp')}.achievement-card[data-category="culture"]:nth-child(4n+3),.technology-card[data-category="culture"]:nth-child(4n+3){--card-bg:url('/images/bg_culture_3.webp')}.achievement-card[data-category="culture"]:nth-child(4n+4),.technology-card[data-category="culture"]:nth-child(4n+4){--card-bg:url('/images/bg_culture_4.webp')}.achievement-card[data-category="knowledge"]:nth-child(4n+1),.technology-card[data-category="knowledge"]:nth-child(4n+1){--card-bg:url('/images/bg_knowledge_1.webp')}.achievement-card[data-category="knowledge"]:nth-child(4n+2),.technology-card[data-category="knowledge"]:nth-child(4n+2){--card-bg:url('/images/bg_knowledge_2.webp')}.achievement-card[data-category="knowledge"]:nth-child(4n+3),.technology-card[data-category="knowledge"]:nth-child(4n+3){--card-bg:url('/images/bg_knowledge_3.webp')}.achievement-card[data-category="knowledge"]:nth-child(4n+4),.technology-card[data-category="knowledge"]:nth-child(4n+4){--card-bg:url('/images/bg_knowledge_4.webp')}.achievement-main,.achievement-card-title,.technology-header,.technology-card-title,.technology-main,.technology-cost{position:relative;z-index:1}.event-card{background:linear-gradient(135deg,#f5e6d3 0,#e8d4b8 100%);border:3px solid #8b6f47;border-radius:12px;box-shadow:0 4px 8px rgba(0,0,0,0.3);padding:16px;max-width:400px;color:#3a2f23;margin:20px auto}.event-card-title{font-family:'Playfair Display',Georgia,serif;font-size:1.4em;font-weight:bold;text-align:center;text-transform:uppercase;color:#5a3d2b;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #8b6f47;letter-spacing:1px}.adversity-section{background:linear-gradient(135deg,#f4e4e4 0,#e8d0d0 100%);border:2px solid #a94442;border-radius:8px;padding:12px;margin-bottom:12px}.adversity-section .event-section-title{font-size:1.1em;font-weight:bold;text-transform:uppercase;color:#8b3a3a;margin-bottom:10px;text-align:center;letter-spacing:.5px}.blessing-section{background:linear-gradient(135deg,#e8f4e4 0,#d0e8d0 100%);border:2px solid #4a8b4a;border-radius:8px;padding:12px}.blessing-section .event-section-title{font-size:1.1em;font-weight:bold;text-transform:uppercase;color:#3a6b3a;margin-bottom:10px;text-align:center;letter-spacing:.5px}.event-item{display:flex;align-items:flex-start;margin:8px 0;padding:8px;background:rgba(255,255,255,0.5);border-radius:6px;line-height:1.6}@media(max-width:768px){.event-card{border:0;box-shadow:0 2px 4px rgba(0,0,0,0.2);padding:12px;margin:10px auto}.adversity-section,.blessing-section{border:0;border-left:4px solid;border-radius:4px}.adversity-section{border-left-color:#a94442}.blessing-section{border-left-color:#4a8b4a}.event-card-title{font-size:1.2em;margin-bottom:12px;padding-bottom:8px}.event-section-title{font-size:1em}.event-item{padding:6px;margin:6px 0}}@media(max-width:480px){.event-card{padding:8px;border-radius:8px}.event-card-title{font-size:1.1em}.event-section-title{font-size:.95em}}.religion-government-card{background:linear-gradient(135deg,#f5e6d3 0,#e8d4b8 100%);border:3px solid #8b6f47;border-radius:12px;box-shadow:0 4px 8px rgba(0,0,0,0.3);padding:16px;max-width:500px;margin:20px auto;display:flex;flex-direction:column}.religion-government-card-header{display:flex;align-items:center;gap:16px;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #8b6f47}.religion-government-card-image{width:80px;height:80px;border-radius:50%;object-fit:cover;border:3px solid #8b6f47;box-shadow:0 2px 6px rgba(0,0,0,0.3);flex-shrink:0}.religion-government-card-title{font-size:1.5em;font-weight:bold;text-transform:uppercase;color:#5a3d2b;letter-spacing:1px;flex:1}.ability-block{background:linear-gradient(135deg,#f9f3eb 0,#f0e8dc 100%);border:2px solid #a89276;border-radius:8px;padding:14px;margin-bottom:12px;line-height:1.7;font-size:.95em}.ability-block:last-child{margin-bottom:0}@media(max-width:768px){.religion-government-card{border:0;box-shadow:0 2px 4px rgba(0,0,0,0.2);padding:12px;margin:10px auto}.religion-government-card-header{flex-direction:column;text-align:center;gap:12px}.religion-government-card-image{width:70px;height:70px}.religion-government-card-title{font-size:1.3em}.ability-block{border:0;border-left:4px solid #a89276;border-radius:4px;padding:10px}}@media(max-width:480px){.religion-government-card{padding:10px;border-radius:8px}.religion-government-card-image{width:60px;height:60px}.religion-government-card-title{font-size:1.2em}}.nation-card{border-radius:12px;padding:16px;position:relative;box-shadow:0 4px 8px rgba(0,0,0,0.3);transition:all .3s cubic-bezier(0.4,0,0.2,1);overflow:hidden;border:3px solid #8b6f47;background:linear-gradient(135deg,#f5e6d3 0,#e8d4b8 100%)}.nation-card:hover{transform:translateY(-3px);box-shadow:0 8px 16px rgba(101,67,33,0.25)}.nation-card-title{font-size:1.3rem;font-weight:700;margin:1rem 1.5rem 1rem;padding-bottom:.6rem;border-bottom:2px solid rgba(139,90,43,0.25);text-align:center;letter-spacing:.5px;text-shadow:0 1px 2px rgba(0,0,0,0.05);color:#654321;position:relative;z-index:1}.nation-ability{display:flex;gap:12px;border-radius:8px;padding:12px;margin-bottom:1rem}.nation-item{flex:1;display:flex;align-items:center;padding:8px;background:rgba(255,255,255,0.5);border-radius:6px;line-height:1.6}.nation-ability:last-child{margin-bottom:1.5rem}.nation-icons{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;background:rgba(255,255,255,0.4);border-radius:6px;padding:8px;box-shadow:0 2px 4px rgba(101,67,33,0.1);flex-shrink:0;position:relative}@media(max-width:480px){.nation-card{border:none !important;border-radius:8px}.nation-card:hover{transform:none;box-shadow:none !important}.nation-card-title{font-size:1.1rem}.nation-ability{flex-direction:column;margin:0 1rem 1rem;gap:8px;padding:6px}.nation-ability:last-child{margin-bottom:1.5rem}.nation-item{padding:6px;margin:6px 0}.nation-icons{flex-direction:row;width:100%;max-width:120px;margin:0 auto;min-width:auto;padding:6px}}.faq-item{background:var(--card-bg);border-left:4px solid var(--accent-color);border-radius:6px;padding:16px 20px;margin-bottom:16px;box-shadow:0 2px 4px var(--shadow-light)}.faq-question{font-family:var(--font-headings);font-size:1.1em;font-weight:600;color:var(--primary-color);margin-bottom:10px}.faq-answer{color:var(--text-secondary);line-height:1.6;margin:0}.version-block{margin-bottom:24px}.version-title{background:linear-gradient(135deg,var(--primary-color) 0,var(--border-accent) 100%);color:var(--text-header);font-family:var(--font-headings);font-size:1.3em;font-weight:600;padding:10px 16px;border-radius:6px;margin-bottom:12px;box-shadow:0 2px 4px var(--shadow-medium)}.changelog-list{background:var(--card-bg);border-left:3px solid var(--border-accent);border-radius:4px;padding:16px 20px 16px 36px;margin:0;box-shadow:0 1px 3px var(--shadow-light)}.changelog-list li{color:var(--text-secondary);line-height:1.6;margin-bottom:8px}.changelog-list li:last-child{margin-bottom:0}.units-table-card{background:var(--background-darker-1-color);border:2px solid var(--border-color,#dee2e6);border-radius:12px;padding:1.5rem;margin:2rem 0;position:relative;box-shadow:0 4px 6px var(--shadow-light,rgba(0,0,0,0.1)),0 8px 20px var(--shadow-warm,rgba(0,0,0,0.05)),inset 0 1px 0 rgba(255,255,255,0.1);transition:all .3s cubic-bezier(0.4,0,0.2,1);overflow:hidden}.table-scroll-container{overflow-x:auto;overflow-y:visible;margin:-1.5rem;padding:1.5rem;-webkit-overflow-scrolling:touch;position:relative;z-index:1}.units-table{width:100%;min-width:600px;border-collapse:separate;border-spacing:0;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px rgba(0,0,0,0.05);position:relative;z-index:1}.units-table thead{position:relative;z-index:2}.units-table th{padding:8px 6px;text-align:center;font-weight:600;border-bottom:2px solid var(--border-color,#dee2e6);white-space:normal;word-wrap:break-word;line-height:1.2}.units-table td{padding:.6rem .5rem;text-align:center;border-bottom:1px solid rgba(0,0,0,0.05);vertical-align:middle}.units-table tbody tr:hover{background:rgba(0,0,0,0.02)}.unit-name-col{min-width:150px;text-align:left !important}.header-icon{height:24px;width:auto;opacity:.8}.table-unit-icon{height:36px;width:auto;vertical-align:middle;margin-right:.5rem}.unit-name{font-weight:500;vertical-align:middle}.elite-note{font-style:italic;color:#6c757d;text-align:left !important;padding-left:1rem}.table-note{margin-top:1rem;padding:.75rem;background:rgba(0,0,0,0.03);border-radius:6px;font-size:.9em}@media(max-width:768px){.units-table-card{padding:1rem;margin:1rem -1rem;border-radius:0}.table-scroll-container{margin:-1rem;padding:1rem}.units-table{font-size:.9em}.unit-name{display:block;font-size:.85em}.table-unit-icon{height:30px;display:block;margin:0 auto .25rem}}