.wiki-container{max-width:1200px;margin:0 auto;padding:1rem}@media (min-width:768px){.wiki-container{padding:2rem}}.wiki-header{text-align:center;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid var(--border-color,#263545)}@media (min-width:768px){.wiki-header{margin-bottom:3rem;padding-bottom:2rem}}.wiki-title{font-size:1.75rem;background:linear-gradient(135deg,#64b5f6,#0a84ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:1rem}@media (min-width:768px){.wiki-title{font-size:2.5rem}}.wiki-subtitle{color:var(--text-secondary,#a0aec0);font-size:.95rem;max-width:600px;margin:0 auto}@media (min-width:768px){.wiki-subtitle{font-size:1.1rem}}.buildings-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1.5rem}@media (min-width:480px){.buildings-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:768px){.buildings-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-top:2rem}}.building-card{background:var(--card-bg,#1a2634);border:1px solid var(--border-color,#263545);border-radius:12px;padding:1rem;transition:all .3s ease;text-decoration:none;color:inherit;display:block}@media (min-width:768px){.building-card{padding:1.5rem}}.building-card:hover{transform:translateY(-4px);border-color:var(--accent-color,#64b5f6);box-shadow:0 8px 25px rgba(100,181,246,.15)}.building-card-icon{font-size:2rem;margin-bottom:.75rem}@media (min-width:768px){.building-card-icon{font-size:2.5rem;margin-bottom:1rem}}.building-card-title{font-size:1.1rem;font-weight:600;color:var(--text-color,#e0e6ed);margin-bottom:.5rem}@media (min-width:768px){.building-card-title{font-size:1.3rem}}.building-card-description{color:var(--text-secondary,#a0aec0);font-size:.9rem;line-height:1.5}.building-card-meta{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border-color,#263545);display:flex;justify-content:space-between;font-size:.85rem;color:var(--text-secondary,#a0aec0)}.building-detail{max-width:1200px;margin:0 auto;padding:1rem}@media (min-width:768px){.building-detail{padding:2rem}}.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1.5rem;font-size:.8rem;color:var(--text-secondary,#a0aec0)}@media (min-width:768px){.breadcrumb{font-size:.9rem}}.breadcrumb a{color:var(--accent-color,#64b5f6);text-decoration:none}.breadcrumb a:hover{text-decoration:underline}.breadcrumb-separator{color:var(--text-secondary,#64748b)}.building-detail-header{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1rem;margin-bottom:1.5rem}@media (min-width:768px){.building-detail-header{flex-direction:row;text-align:left;gap:1.5rem;margin-bottom:2rem}}.building-detail-icon{font-size:3rem;flex-shrink:0}@media (min-width:768px){.building-detail-icon{font-size:4rem}}.building-detail-info h1{font-size:1.75rem;background:linear-gradient(135deg,#64b5f6,#0a84ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.5rem}@media (min-width:768px){.building-detail-info h1{font-size:2.5rem}}.building-detail-tagline{color:var(--text-secondary,#a0aec0);font-size:.95rem}@media (min-width:768px){.building-detail-tagline{font-size:1.1rem}}.quick-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1.5rem}@media (min-width:768px){.quick-stats{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem}}.stat-card{background:var(--card-bg,#1a2634);border:1px solid var(--border-color,#263545);border-radius:8px;padding:.75rem;text-align:center}@media (min-width:768px){.stat-card{border-radius:12px;padding:1.5rem}}.stat-card-icon{font-size:1.5rem;margin-bottom:.25rem}@media (min-width:768px){.stat-card-icon{font-size:2rem;margin-bottom:.5rem}}.stat-card-value{font-size:1.1rem;font-weight:700;color:var(--accent-color,#64b5f6)}@media (min-width:768px){.stat-card-value{font-size:1.5rem}}.stat-card-label{font-size:.7rem;color:var(--text-secondary,#a0aec0);margin-top:.15rem}@media (min-width:768px){.stat-card-label{font-size:.85rem;margin-top:.25rem}}.building-description{background:var(--card-bg,#1a2634);border:1px solid var(--border-color,#263545);border-radius:12px;padding:1rem;margin-bottom:1.5rem}@media (min-width:768px){.building-description{padding:1.5rem;margin-bottom:2rem}}.building-description h2{font-size:1.15rem;color:var(--text-color,#e0e6ed);margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}@media (min-width:768px){.building-description h2{font-size:1.5rem;margin-bottom:1rem}}.building-description p{color:var(--text-secondary,#a0aec0);line-height:1.6;font-size:.9rem}@media (min-width:768px){.building-description p{line-height:1.7;font-size:1rem}}.building-tips{background:linear-gradient(135deg,rgba(100,181,246,.1),rgba(10,132,255,.1));border:1px solid rgba(100,181,246,.3);border-radius:12px;padding:1rem;margin-bottom:1.5rem}@media (min-width:768px){.building-tips{padding:1.5rem;margin-bottom:2rem}}.building-tips h2{font-size:1.1rem;color:var(--accent-color,#64b5f6);margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}@media (min-width:768px){.building-tips h2{font-size:1.3rem;margin-bottom:1rem}}.building-tips ul{list-style:none;padding:0;margin:0}.building-tips li{padding:.4rem 0 .4rem 1.5rem;position:relative;color:var(--text-secondary,#a0aec0);font-size:.9rem}@media (min-width:768px){.building-tips li{padding:.5rem 0 .5rem 1.5rem;font-size:1rem}}.building-tips li:before{content:"💡";position:absolute;left:0}.resource-table-container .resource-table,.resource-table-container table{display:table!important;border:1px solid var(--border-color,#263545)!important;border-radius:8px!important;box-shadow:none!important}.resource-table-container thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:none!important;clip:auto!important;overflow:visible!important}.resource-table-container tbody{display:table-row-group!important}.resource-table-container tr{display:table-row!important;margin-bottom:0!important;border:none!important;border-radius:0!important;padding:0!important;box-shadow:none!important;background:transparent!important}.resource-table-container td,.resource-table-container th{display:table-cell!important;text-align:right!important;border:none!important;border-bottom:1px solid var(--border-color,#263545)!important;min-height:auto!important}.resource-table-container td:first-child,.resource-table-container th:first-child{text-align:center!important}@media (min-width:768px){.resource-table-container td:first-child,.resource-table-container th:first-child{text-align:left!important}}.resource-table-container td:before{content:none!important;display:none!important}.resource-table-container{background:var(--card-bg,#1a2634);border:1px solid var(--border-color,#263545);border-radius:8px;padding:.75rem;margin-bottom:1.5rem;overflow:hidden}@media (min-width:768px){.resource-table-container{border-radius:12px;padding:1.5rem;margin-bottom:2rem}}.resource-table-container h2{font-size:1rem;color:var(--text-color,#e0e6ed);margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem;padding:0 .25rem}@media (min-width:768px){.resource-table-container h2{font-size:1.5rem;margin-bottom:1rem;padding:0}}.scroll-hint{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.4rem .75rem;margin-bottom:.75rem;color:var(--accent-color,#64b5f6);font-size:.75rem;font-weight:500;background:rgba(100,181,246,.1);border:1px solid rgba(100,181,246,.2);border-radius:6px}.scroll-hint-icon{animation:scrollHint 1.5s ease-in-out infinite}@keyframes scrollHint{0%,to{transform:translateX(0)}50%{transform:translateX(5px)}}@media (min-width:768px){.scroll-hint{display:none}}.resource-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--accent-color,#64b5f6) rgba(100,181,246,.1)}.resource-table-scroll::-webkit-scrollbar{height:8px}.resource-table-scroll::-webkit-scrollbar-track{background:rgba(100,181,246,.1);border-radius:4px}.resource-table-scroll::-webkit-scrollbar-thumb{background:var(--accent-color,#64b5f6);border-radius:4px}.resource-table-scroll::-webkit-scrollbar-thumb:hover{background:#0a84ff}.resource-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.75rem;min-width:550px}@media (min-width:768px){.resource-table{font-size:.9rem;min-width:auto}}.resource-table td,.resource-table th{padding:.5rem .4rem;text-align:right;border-bottom:1px solid var(--border-color,#263545);white-space:nowrap}@media (min-width:768px){.resource-table td,.resource-table th{padding:.75rem}}.resource-table td:first-child,.resource-table th:first-child{text-align:center;font-weight:600;position:sticky;left:0;z-index:10;min-width:50px;background:var(--card-bg,#1a2634);border-right:2px solid var(--border-color,#263545)}@media (min-width:768px){.resource-table td:first-child,.resource-table th:first-child{text-align:left;position:static;border-right:none;min-width:auto}}.resource-table thead th{background:rgba(100,181,246,.1);color:var(--accent-color,#64b5f6);font-weight:600;white-space:nowrap}.resource-table thead th:first-child{background:rgba(100,181,246,.15);z-index:15}.resource-table tbody tr:hover td{background:rgba(100,181,246,.05)}.resource-table tbody tr:hover td:first-child{background:rgba(100,181,246,.1)}.resource-table .level-cell{font-weight:600;color:var(--text-color,#e0e6ed)}.resource-table .fc-level{color:var(--accent-color,#64b5f6);font-weight:700}.calculator-link-section{background:linear-gradient(135deg,#1a2634,#0d1520);border:1px solid var(--accent-color,#64b5f6);border-radius:12px;padding:1.25rem;text-align:center;margin-top:1.5rem}@media (min-width:768px){.calculator-link-section{padding:2rem;margin-top:2rem}}.calculator-link-section h3{font-size:1.1rem;color:var(--text-color,#e0e6ed);margin-bottom:.5rem}@media (min-width:768px){.calculator-link-section h3{font-size:1.3rem}}.calculator-link-section p{color:var(--text-secondary,#a0aec0);margin-bottom:1rem;font-size:.9rem}@media (min-width:768px){.calculator-link-section p{font-size:1rem}}.calculator-btn{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#64b5f6,#0a84ff);color:#fff;padding:.75rem 1.5rem;border-radius:8px;text-decoration:none;font-weight:600;transition:all .2s ease}.calculator-btn:hover{transform:translateY(-2px);box-shadow:0 4px 15px rgba(100,181,246,.4)}.related-buildings{margin-top:2rem}@media (min-width:768px){.related-buildings{margin-top:3rem}}.related-buildings h2{font-size:1.15rem;color:var(--text-color,#e0e6ed);margin-bottom:.75rem}@media (min-width:768px){.related-buildings h2{font-size:1.5rem;margin-bottom:1rem}}.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}@media (min-width:480px){.related-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width:768px){.related-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}}.related-card{background:var(--card-bg,#1a2634);border:1px solid var(--border-color,#263545);border-radius:8px;padding:.75rem;text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem;transition:all .2s ease}@media (min-width:768px){.related-card{flex-direction:row;text-align:left;padding:1rem;gap:1rem}}.related-card:hover{border-color:var(--accent-color,#64b5f6);background:rgba(100,181,246,.05)}.related-card-icon{font-size:1.5rem}.related-card-name{font-weight:600;font-size:.85rem;color:var(--text-color,#e0e6ed)}@media (min-width:768px){.related-card-name{font-size:1rem}}[data-theme=light] .building-card,[data-theme=light] .building-description,[data-theme=light] .related-card,[data-theme=light] .resource-table-container,[data-theme=light] .stat-card{background:#ffffff;border-color:#d1dbe6}[data-theme=light] .wiki-header{border-color:#d1dbe6}[data-theme=light] .building-detail-info h1,[data-theme=light] .wiki-title{background:linear-gradient(135deg,#0a84ff,#0064d6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}[data-theme=light] .building-card-title,[data-theme=light] .building-description h2,[data-theme=light] .calculator-link-section h3,[data-theme=light] .related-buildings h2,[data-theme=light] .resource-table-container h2{color:#2c3e50}[data-theme=light] .building-card-description,[data-theme=light] .building-description p,[data-theme=light] .building-detail-tagline,[data-theme=light] .building-tips li,[data-theme=light] .calculator-link-section p,[data-theme=light] .stat-card-label,[data-theme=light] .wiki-subtitle{color:#64748b}[data-theme=light] .stat-card-value{color:#0a84ff}[data-theme=light] .building-tips{background:linear-gradient(135deg,rgba(10,132,255,.08),rgba(0,100,214,.08));border-color:rgba(10,132,255,.25)}[data-theme=light] .building-tips h2{color:#0a84ff}[data-theme=light] .resource-table-container .resource-table,[data-theme=light] .resource-table-container table{border-color:#d1dbe6!important}[data-theme=light] .resource-table-container td,[data-theme=light] .resource-table-container th{border-bottom-color:#e5e7eb!important}[data-theme=light] .resource-table td:first-child,[data-theme=light] .resource-table th:first-child{background:#ffffff;border-right-color:#d1dbe6}[data-theme=light] .resource-table thead th{background:rgba(10,132,255,.08);color:#0a84ff}[data-theme=light] .resource-table thead th:first-child{background:rgba(10,132,255,.12)}[data-theme=light] .resource-table td,[data-theme=light] .resource-table th{border-bottom-color:#e5e7eb}[data-theme=light] .resource-table tbody tr:hover td{background:rgba(10,132,255,.05)}[data-theme=light] .resource-table tbody tr:hover td:first-child{background:rgba(10,132,255,.08)}[data-theme=light] .resource-table .level-cell{color:#2c3e50}[data-theme=light] .resource-table .fc-level{color:#0a84ff}[data-theme=light] .scroll-hint{background:rgba(10,132,255,.08);border-color:rgba(10,132,255,.2);color:#0a84ff}[data-theme=light] .resource-table-scroll::-webkit-scrollbar-track{background:rgba(10,132,255,.05)}[data-theme=light] .resource-table-scroll::-webkit-scrollbar-thumb{background:#0a84ff}[data-theme=light] .calculator-link-section{background:linear-gradient(135deg,#f0f5fa,#e0ebf5);border-color:#0a84ff}[data-theme=light] .calculator-btn{background:linear-gradient(135deg,#0a84ff,#0064d6)}[data-theme=light] .calculator-btn:hover{box-shadow:0 4px 15px rgba(10,132,255,.35)}[data-theme=light] .related-card:hover{border-color:#0a84ff;background:rgba(10,132,255,.05)}[data-theme=light] .related-card-name{color:#2c3e50}[data-theme=light] .breadcrumb a{color:#0a84ff}[data-theme=light] .breadcrumb-separator{color:#94a3b8}.counter-system-card{background:linear-gradient(135deg,rgba(100,181,246,.1),rgba(10,132,255,.1));border:1px solid rgba(100,181,246,.3);border-radius:12px;padding:1.5rem;margin-bottom:2rem}.counter-system-card h2{margin:0 0 .75rem;font-size:1.25rem;color:var(--accent-color,#64b5f6)}.counter-system-card>p{margin:0 0 1rem;color:var(--text-secondary,#a0aec0)}.counter-diagram{padding:1rem 0}.counter-diagram,.counter-item{display:flex;justify-content:center}.counter-item{align-items:center;gap:.5rem;flex-wrap:wrap}.counter-icon{font-size:1.5rem}.counter-name{font-weight:600;color:var(--text-color,#e0e6ed)}.counter-arrow{color:var(--accent-color,#64b5f6);font-size:1.25rem;margin:0 .25rem}.troop-counter-banner{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.counter-info{flex:1;min-width:200px;padding:1rem;border-radius:8px;display:flex;flex-direction:column;gap:.25rem}.counter-info.strong{background:rgba(52,199,89,.15);border:1px solid rgba(52,199,89,.3)}.counter-info.weak{background:rgba(255,59,48,.15);border:1px solid rgba(255,59,48,.3)}.counter-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.5px;opacity:.8}.counter-info.strong .counter-label{color:#34c759}.counter-info.weak .counter-label{color:#ff3b30}.counter-value{font-size:1rem;font-weight:600;color:var(--text-color,#e0e6ed)}.troop-counters{display:flex;flex-direction:column;gap:.25rem;margin:.75rem 0;font-size:.85rem}.counter-strong{color:#34c759}.counter-weak{color:#ff6b6b}.building-card-role{font-size:.85rem;color:var(--accent-color,#64b5f6);margin:.25rem 0 .5rem;font-weight:500}.skills-section{margin:2rem 0}.skills-section h2{margin-bottom:1rem;color:var(--accent-color,#64b5f6)}.skills-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.skill-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1rem;transition:all .2s ease}.skill-card:hover{border-color:rgba(100,181,246,.3);background:rgba(100,181,246,.05)}.skill-card.fc-skill{border-color:rgba(255,59,48,.3);background:rgba(255,59,48,.05)}.skill-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.skill-level{background:rgba(100,181,246,.2);color:var(--accent-color,#64b5f6);padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.fc-skill .skill-level{background:rgba(255,59,48,.2);color:#ff6b6b}.skill-name{font-weight:600;color:var(--text-color,#e0e6ed)}.skill-description{font-size:.9rem;color:var(--text-secondary,#a0aec0);margin:0;line-height:1.5}.info-section{margin:2rem 0;padding:1.5rem;background:rgba(255,255,255,.03);border-radius:12px;border:1px solid rgba(255,255,255,.08)}.info-section h2{margin:0 0 1rem;color:var(--accent-color,#64b5f6)}.info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}.info-item{padding:1rem;background:rgba(255,255,255,.05);border-radius:8px}.info-item h3{margin:0 0 .5rem;font-size:1rem;color:var(--text-color,#e0e6ed)}.info-item p{margin:0;font-size:.9rem;color:var(--text-secondary,#a0aec0)}.stat-explanations{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.stat-explanations .stat-item{padding:.75rem;background:rgba(255,255,255,.05);border-radius:6px}.stat-explanations .stat-item strong{display:block;color:var(--accent-color,#64b5f6);margin-bottom:.25rem}.stat-explanations .stat-item p{margin:0;font-size:.85rem;color:var(--text-secondary,#a0aec0)}[data-theme=light] .counter-system-card{background:linear-gradient(135deg,rgba(10,132,255,.08),rgba(0,100,214,.08));border-color:rgba(10,132,255,.2)}[data-theme=light] .counter-system-card h2{color:#0a84ff}[data-theme=light] .counter-system-card>p{color:#64748b}[data-theme=light] .counter-name,[data-theme=light] .counter-value{color:#2c3e50}[data-theme=light] .building-card-role,[data-theme=light] .counter-arrow,[data-theme=light] .skills-section h2{color:#0a84ff}[data-theme=light] .skill-card{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.08)}[data-theme=light] .skill-card:hover{background:rgba(10,132,255,.05);border-color:rgba(10,132,255,.3)}[data-theme=light] .skill-level{background:rgba(10,132,255,.15);color:#0a84ff}[data-theme=light] .skill-name{color:#2c3e50}[data-theme=light] .skill-description{color:#64748b}[data-theme=light] .info-section{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.08)}[data-theme=light] .info-section h2{color:#0a84ff}[data-theme=light] .info-item{background:rgba(0,0,0,.03)}[data-theme=light] .info-item h3{color:#2c3e50}[data-theme=light] .info-item p{color:#64748b}[data-theme=light] .stat-explanations .stat-item{background:rgba(0,0,0,.03)}[data-theme=light] .stat-explanations .stat-item strong{color:#0a84ff}[data-theme=light] .stat-explanations .stat-item p{color:#64748b}@media (max-width:640px){.counter-item{font-size:.9rem}.counter-icon{font-size:1.25rem}.info-grid,.skills-grid,.stat-explanations{grid-template-columns:1fr}.troop-counter-banner{flex-direction:column}}.buildings-category-section{margin-bottom:2rem}.buildings-category-title{font-size:1.5rem;color:var(--accent-color,#64b5f6);margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border-color,#263545)}[data-theme=light] .buildings-category-title{color:#0a84ff;border-bottom-color:#d1dbe6}