.castle-page{margin-bottom:40px}.castle-page-heading{margin:20px 0 28px}.castle-page-heading h1{font-size:clamp(34px,4.5vw,52px)}.castle-page-heading p{margin-bottom:0;font-size:16px}.castle-planner{grid-template-columns:290px minmax(0,1fr);align-items:start;gap:20px;display:grid}.castle-settings{padding:24px;position:sticky;top:92px}.castle-settings h2{margin:0 0 10px;font:700 26px Georgia,serif}.castle-settings p{color:var(--muted);font-size:14px;line-height:1.6}.castle-settings :is(.select,.input){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;width:100%;font-size:16px}.castle-settings .field-label{margin:22px 0 10px;font-size:14px;line-height:1.5}.castle-settings input[readonly]{color:var(--muted)}.castle-settings .castle-settings-note{margin:20px 0}.castle-settings .btn{width:100%;color:var(--gold2);justify-content:center;font-size:14px}.castle-results{gap:18px;min-width:0;display:grid}.castle-results .building-section{margin:0}.castle-result-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.castle-result-heading h2{margin-bottom:10px}.castle-result-heading .building-art{flex-shrink:0;width:210px;height:180px}.castle-result-heading .building-art:before{max-width:160px}.castle-result-card{background:radial-gradient(at 90% 0,#e7b65b14,#0000 60%),linear-gradient(155deg,#102335,#091a28)}.castle-results .building-resources{grid-template-columns:repeat(2,minmax(0,1fr))}.castle-results .building-requirement{flex-direction:column;align-items:flex-start;gap:10px}.castle-results .building-requirement .building-art{width:100%;height:125px}.castle-results .building-requirement h3{font-size:19px}.castle-estimate{background:linear-gradient(120deg,#e7b65b14,#0000);border:1px solid #e7b65b80;border-radius:12px;align-items:center;gap:16px;margin-top:18px;padding:20px;display:flex}.castle-estimate svg{width:38px;height:38px;color:var(--gold);flex-shrink:0}.castle-estimate span{font-size:14px}.castle-estimate strong{color:var(--gold2);margin:6px 0;font:700 clamp(22px,3vw,30px)/1.3 Georgia,serif;display:block}.castle-estimate small{color:var(--muted);font-size:14px;line-height:1.5;display:block}.castle-build-link{margin-top:22px}@media (max-width:850px){.castle-planner{grid-template-columns:230px minmax(0,1fr);gap:14px}.castle-settings{padding:20px}.castle-result-heading .building-art{width:130px;height:130px}.castle-result-heading{gap:10px}.castle-results .building-section{padding:20px 16px}.castle-results .building-requirements{grid-template-columns:1fr}.castle-results .building-requirement{flex-direction:row;align-items:center}.castle-results .building-requirement .building-art{width:90px;height:90px}}@media (max-width:650px){.castle-planner{grid-template-columns:1fr}.castle-settings{position:static}.castle-settings .field-label{margin-top:16px}.castle-result-heading .building-art{width:125px;height:125px}.castle-estimate{gap:12px;padding:16px 12px}.castle-estimate svg{width:30px;height:30px}.castle-page-heading h1{font-size:36px}.castle-result-heading h2{font-size:26px}}@media (max-width:380px){.castle-result-heading .building-art{width:80px;height:90px}.castle-result-heading h2{font-size:23px}}
