@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/crown-font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/crown-font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/crown-font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/crown-font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/crown-font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/crown-font-5.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/crown-font-6.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/crown-font-7.ttf) format('truetype');
}

:root{--ink:#ece8dd;--muted:#9cabaa;--gold:#d9b581;--navy:#102023;--panel:#15292c;--line:#3b4c48;--title:Cinzel,Georgia,serif;font-family:Manrope,Arial,sans-serif;color-scheme:dark}html{scroll-behavior:smooth}body{font-family:Manrope,Arial,sans-serif;background:#101d20;color:var(--ink)}body.in-game{overflow:hidden}.cf-landing{overflow:hidden;min-height:100vh;background:#101d20}.site-header{position:absolute;z-index:10;top:0;left:0;right:0;height:104px;display:flex;align-items:center;justify-content:space-between;margin:0 5.3%;border-bottom:1px solid #e8dcc51f}.brand{display:flex;gap:13px;align-items:center;text-decoration:none}.brand>img{width:43px;height:43px}.brand>span{font:600 20px var(--title);letter-spacing:3px}.brand small{display:block;font:600 7px Manrope,Arial,sans-serif;letter-spacing:3.7px;margin-top:5px;color:#b0bab5}.site-header nav{display:flex;gap:35px;align-items:center}.site-header nav a,.site-header nav button{font:500 12px Manrope,Arial,sans-serif;color:#deddd3;text-decoration:none;background:none;border:0;padding:8px 0}.site-header nav a:hover,.site-header nav button:hover{color:#e6bd87}.header-cta{padding:12px 0 12px 24px;display:flex;align-items:center;gap:30px;border:0;border-left:1px solid #d9b58155;background:none;color:#e9d5b4;font:700 10px Manrope,Arial,sans-serif;letter-spacing:1.5px}.header-cta span{font-size:20px;color:#d9b581}.cf-hero{position:relative;min-height:810px;height:100svh;max-height:1080px;isolation:isolate}.hero-image{position:absolute;inset:0;z-index:-3;background:url('/assets/crownfall-hero.png') center/cover;animation:heroReveal 1.2s ease-out}.hero-image::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0e2029ad 0%,#10232a38 44%,transparent 70%),linear-gradient(0deg,#101d20 0%,#101d2000 20%,#0b192328 80%,#0b192399 100%)}.hero-grain{position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23n)'/%3E%3C/svg%3E")}.hero-content{position:absolute;left:7%;top:50%;transform:translateY(-43%);max-width:610px}.overline{font:700 9px Manrope,Arial,sans-serif;letter-spacing:2.5px;color:#b9a37e;display:flex;align-items:center;gap:11px}.overline>span{width:25px;height:1px;background:#d9b581}.hero-content h1{font:500 clamp(60px,6.1vw,100px)/1.04 var(--title);letter-spacing:-2.8px;color:#f1ece0;margin:24px 0;text-shadow:0 4px 30px #03141a44}.hero-content h1 em{font-style:normal;color:#dabb8d}.hero-description{font:400 13px/1.9 Manrope,Arial,sans-serif;color:#bdc7c6;letter-spacing:.1px}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:29px}.cf-button{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:18px 22px;background:#c4a174;color:#152127;border:1px solid #e3c599;font:800 10px Manrope,Arial,sans-serif;letter-spacing:1.5px;min-width:210px;box-shadow:0 6px 25px #071b2244;transition:background .2s}.cf-button:hover{background:#dec399}.cf-button span{font:20px Manrope,Arial,sans-serif;line-height:.7}.hero-guide{display:flex;align-items:center;gap:11px;border:0;background:none;font:600 11px Manrope,Arial,sans-serif;color:#e7e8df}.play-outline{width:29px;height:29px;border:1px solid #b3bcb366;border-radius:50%;display:grid;place-items:center;font-size:13px;padding-left:1px}.hero-details{display:flex;align-items:center;gap:14px;margin-top:22px;font:600 7px Manrope,Arial,sans-serif;letter-spacing:1.2px;color:#a3b6b2}.hero-details span{display:flex;align-items:center;gap:6px}.hero-details b{font-size:5px;opacity:.6}.hero-details i,.world-status i{width:5px;height:5px;border-radius:50%;background:#96bc9b;box-shadow:0 0 8px #96bc9b55}.hero-place{position:absolute;right:5.5%;bottom:150px;border-left:1px solid #d9b58188;padding-left:17px;text-shadow:0 2px 10px #08181f;text-align:left}.hero-place>span{font:600 8px Manrope,Arial,sans-serif;letter-spacing:2px;color:#d9b581}.hero-place p{font:15px/1.7 Georgia,serif;margin-top:9px}.hero-place i{font-style:italic;color:#d5d4c5}.hero-bottom{position:absolute;bottom:35px;left:5.5%;right:5.5%;border-top:1px solid #e8dcc51f;padding-top:22px;display:flex;align-items:center;justify-content:space-between;font:600 8px Manrope,Arial,sans-serif;letter-spacing:1.4px;color:#9eafad}.scroll-cue{display:flex;gap:14px;align-items:center;text-decoration:none}.scroll-cue>span{font:22px Georgia;color:#d9b581}.world-status{display:flex;gap:9px;align-items:center}.hero-version{font-size:7px;letter-spacing:1.5px}.realm-section{max-width:1440px;margin:auto;padding:100px 7% 105px}.section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;margin-bottom:55px}.section-intro h2,.army-heading h2,.final-section h2{font:400 48px/1.16 var(--title);letter-spacing:-1.6px;margin-top:18px}.section-intro h2 em,.final-section h2 em{font-family:Georgia,serif;font-weight:400;color:#c2a67e}.section-intro>p{font-size:12px;line-height:1.9;color:#9aa9a7;max-width:370px;margin-bottom:3px}.strategy-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #b8c5ab22}.strategy-grid article{position:relative;padding:28px 29px 24px;background:linear-gradient(130deg,#24352e3b,#102023);border-right:1px solid #b8c5ab22}.strategy-grid article:last-child{border-right:0}.chapter-no{font:12px Georgia;color:#bd9e6f}.strategy-art{height:160px;display:flex;align-items:center;justify-content:center;margin:0 0 29px;position:relative}.strategy-art:after{content:'';position:absolute;bottom:-3px;left:20%;right:20%;height:30px;background:#a4bb6e1a;filter:blur(22px);z-index:0}.strategy-art img{max-height:170px;max-width:160px;filter:sepia(.2) saturate(.55) hue-rotate(327deg) drop-shadow(0 12px 16px #0005);position:relative;z-index:1}.strategy-art.banner-art img{max-height:165px;max-width:180px;filter:sepia(.3) saturate(.6) drop-shadow(0 12px 16px #0005)}.strategy-grid article h3{font:400 21px/1.4 Georgia,serif;margin:10px 0 13px}.strategy-grid article>p:not(.overline){font-size:11px;color:#9ba9a7;line-height:1.9;min-height:62px}.strategy-grid article>button{margin-top:24px;width:100%;border:0;border-top:1px solid #b8c5ab1a;padding:15px 0 0;display:flex;justify-content:space-between;background:none;color:#d6c6a9;font-size:10px;font-weight:600}.strategy-grid article>button span{font-size:16px}.army-section{padding:85px 7% 100px;background:#0c181b;border-top:1px solid #b8c5ab16;border-bottom:1px solid #b8c5ab16}.army-heading{text-align:center}.army-heading .overline{justify-content:center}.army-heading h2{font-size:42px;margin:16px 0}.army-heading>p:last-child{font-size:12px;color:#91a4a0}.warrior-grid{max-width:1110px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:45px auto 0}.warrior{position:relative;border-bottom:1px solid #b7a27e66;background:radial-gradient(ellipse at 50% 55%,#53614833,transparent 65%);padding:24px 15px 26px;text-align:center}.warrior-num{position:absolute;top:13px;left:18px;font:10px Georgia;color:#ac9776}.warrior>img{height:175px;width:190px;max-width:100%;object-fit:contain;image-rendering:auto;filter:saturate(.65) sepia(.15) drop-shadow(0 10px 10px #0007);transition:transform .4s}.warrior:hover>img{transform:translateY(-9px)}.warrior>div p{font:600 7px Manrope,Arial,sans-serif;letter-spacing:1.5px;color:#97a8a0;margin:18px 0 10px}.warrior h3{font:400 24px var(--title);color:#e6dbc6}.final-section{text-align:center;padding:80px 20px 85px;background:radial-gradient(ellipse at 50% 90%,#29403c55,transparent 65%)}.final-mark img{width:55px;height:55px}.final-section .overline{justify-content:center;margin-top:20px;font-size:8px}.final-section h2{font-size:55px;margin:24px 0 22px}.final-section>p:not(.overline){font-size:12px;color:#9eafa9}.final-actions{display:flex;flex-direction:column;align-items:center;gap:22px;margin:27px 0}.ledger-link{border:0;background:none;color:#ccb48c;font-size:11px}.final-section>small{font-size:9px;color:#7f9690}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #b8c5ab22;margin:0 5.3%;padding:25px 0 30px}.site-footer .brand>img{width:31px;height:31px}.site-footer .brand>span{font-size:15px;letter-spacing:2px}.site-footer p{font-size:7px;color:#79938e;letter-spacing:1.6px}.site-footer button{background:none;border:0;color:#abb5a7;font-size:10px}.site-footer>span{font-size:7px;letter-spacing:1px;color:#79938e}
/* A restrained command interface, shared with the world outside the game. */
#game{background:#12373c}.hud{top:24px;left:26px;right:34px}.chief-name{background:#0d2425ed;border:1px solid #d9b58130;border-radius:3px;font:600 13px Manrope,sans-serif;padding:8px 12px;text-shadow:none}.xp{background:#102426d9;border:1px solid #d9b58144;border-radius:4px}.xp img{width:41px;height:41px;left:8px;top:1px;opacity:.8}.xp b{font:700 10px Manrope,sans-serif;color:#ecd4ac;margin-top:30px}.trophy{font:600 11px Manrope,sans-serif}.trophy img{width:18px;height:18px}.online-pill{font-size:6px;letter-spacing:1.3px;border-radius:2px;color:#b1c9b8;background:#15342dcc;border-color:#7a9b7e55}.resource{height:28px;border-radius:3px;background:#0c2426e6;border:1px solid #d9b58133}.resource .fill{border-radius:1px;opacity:.25;background:linear-gradient(90deg,#9d845b,#c7b081)}.resource.elixir .fill{background:linear-gradient(90deg,#645b89,#a193b4)}.resource b{font:600 12px Manrope,sans-serif;top:4px;text-shadow:none;letter-spacing:.5px}.resource img{width:29px;height:29px;top:0;right:-14px;padding:4px;background:#163036;border:1px solid #d9b58144;border-radius:3px}.shield{border-radius:3px;background:#0c2426d9;font:600 7px Manrope,sans-serif;letter-spacing:1px;padding:5px 9px}.shield img{width:16px;height:16px}.village-note{text-shadow:0 2px 8px #142b21;left:30px;top:128px;max-width:260px}.eyebrow{font:700 8px Manrope,sans-serif;letter-spacing:2px;color:#c9ac7d}.village-note h2{font:400 24px/1.3 var(--title);margin:12px 0}.village-note p{font:400 11px/1.7 Manrope,sans-serif;color:#d3dcc8}.camera-controls button{border-radius:3px;background:#132c2ee8;border:1px solid #b79c6e77;box-shadow:none;color:#d6bc92;font:20px Manrope,sans-serif}.game-bar{left:22px;right:22px;bottom:15px;border:1px solid #b79c6e4d;border-radius:5px;background:#102629f5;padding:10px 12px;gap:5px;box-shadow:0 8px 35px #07181980;backdrop-filter:blur(14px)}.menu-button{background:transparent;box-shadow:none;border-radius:3px;font:600 9px Manrope,sans-serif;letter-spacing:.25px;min-width:70px;padding:8px 12px;min-height:54px;gap:4px;color:#cbd3c4}.menu-button:hover{background:#dfc39b10}.menu-button img{width:24px;height:24px;margin:0;filter:none}.menu-button.attack{background:#bd9869;color:#152127;box-shadow:none;border:1px solid #e3c599;border-radius:3px;font:700 14px Manrope,sans-serif;letter-spacing:1px;padding:10px 26px}.menu-button.attack img{width:25px;height:25px;margin:0;filter:brightness(.2)}.menu-button.utility{font:600 9px Manrope,sans-serif}.menu-button.utility img{width:22px;height:22px;margin:0}.map-tip{font:500 7px Manrope,sans-serif;letter-spacing:2px;bottom:105px}.panel{top:115px;right:22px;bottom:112px;background:#12282bf5;backdrop-filter:blur(18px);border:1px solid #b79c6e77;border-radius:5px}.panel>header{border-color:#b79c6e33;padding:21px 20px 18px}.panel h2{font:400 24px var(--title);margin-top:8px}.panel-body{scrollbar-color:#536b60 #12282b}.close{background:#d9b5810b;border:1px solid #b79c6e55;color:#ccb48c;border-radius:3px}.button{border-radius:3px;box-shadow:none;background:#274245;border:1px solid #6e898044;font:600 11px Manrope,sans-serif;padding:11px 13px;text-decoration:none}.button.primary,.button.gold-button{background:#c3a174;border:1px solid #e3c599;color:#142327;box-shadow:none}.modal{background:linear-gradient(145deg,#193237,#0c2227);border:1px solid #b79c6e88;border-radius:6px;max-width:580px;padding:35px}.modal h2{font:400 29px/1.25 var(--title);margin-top:15px}.modal p{font:400 12px/1.9 Manrope,sans-serif;color:#aabbb6}.modal input{border-radius:3px;border-color:#b79c6e55;background:#102426}.modal::backdrop{background:#03171bdb;backdrop-filter:blur(7px)}.build-card{border-radius:4px;background:linear-gradient(#2b444233,#1d3536);border:1px solid #b79c6e44;gap:7px}.build-card b{font:600 12px Manrope,sans-serif}.build-card small{font:400 9px Manrope,sans-serif;color:#90a9a0}.building-art img,.detail-art img{filter:saturate(.55) hue-rotate(280deg) drop-shadow(0 4px 4px #0019)}.cost{font:600 11px Manrope,sans-serif;color:#d9b581}.cost img{width:17px;height:17px}.troop-row{border:1px solid #b79c6e33;border-radius:4px;background:#263c3c55}.troop-row img{filter:sepia(.15) saturate(.7)}.troop-row h3{font:500 15px var(--title)}.troop-row p{color:#a4b5ac;font-size:9px}.troop-row small{color:#b4a3c9;font-size:10px}.counter b{font:600 13px Manrope,sans-serif}.counter button{border-radius:2px;background:#c3a174;border-color:#d9b581;color:#19302c}.level-tag{font:500 14px var(--title);color:#d9b581}.stats{border-color:#b79c6e33;border-radius:4px}.stat{font-size:11px;border-color:#b79c6e22}.stat span{color:#9db2a9}.notice{border:1px solid #b79c6e33;border-radius:4px;background:#d9b58108;color:#b1bca5;font-size:11px;line-height:1.8}.quest{border-radius:4px;border-color:#b79c6e33;background:#193336}.quest h3{font:500 15px var(--title)}.quest p{font:400 10px/1.7 Manrope,sans-serif;color:#a1b6ac}.progress{border-radius:2px;background:#0d2427;height:4px}.progress i{border-radius:1px;background:#a9a274}.list-item{border-radius:4px;border:1px solid #b79c6e33;background:#1c3739}.list-item b{font:500 12px Manrope,sans-serif}.list-item small{color:#95aca2;font-size:10px}.history-entry b{font:500 17px var(--title);display:block;margin-top:8px}.history-entry p{color:#b0beb0}.stars{color:#d3ad77}.battle-hud{background:#112a2de8;border:1px solid #c4a17477;border-radius:4px;box-shadow:0 7px 30px #061c2877}.battle-hud h2{font:400 19px var(--title)}.battle-hud small{color:#bca179;font-size:7px}.battle-hud .battle-stats{font:500 13px Manrope,sans-serif;gap:22px;padding-top:6px}.unit-button{background:#244042;border:1px solid #66807455;border-radius:3px}.unit-button.selected{background:#61553b99;border:1px solid #c8aa73;box-shadow:none}.unit-button img{filter:saturate(.65)}.unit-button span{font:500 9px Manrope,sans-serif}.unit-button b{font:600 11px Manrope,sans-serif;background:#0b2728}.battle-action .button{font:600 11px Manrope,sans-serif}.result .result-stars{font-size:50px;color:#d9b581;text-shadow:none;letter-spacing:8px}.result .loot>div{border:1px solid #b79c6e33;background:#102a2b;border-radius:4px}.result .loot b{font:400 26px var(--title)}.result .loot img{width:30px;height:30px}.loading{background:linear-gradient(#0b232bc7,#0b232bf0),url('/assets/crownfall-hero.png') center/cover}.loading h2{font:400 25px var(--title)}.loading-track{border-radius:1px;border-color:#d9b58166}.loading-track i{border-radius:1px;background:#d9b581}.toast{background:#163236f5;border:1px solid #b79c6e66;border-radius:4px;font:500 11px/1.7 Manrope,sans-serif;bottom:120px}.placement-hint{background:#132d2ff0;border-radius:4px;border:1px solid #b79c6e66;color:#dac299;font:500 12px Manrope,sans-serif;bottom:117px}.placement-hint button{border-radius:2px}.guide-step h3{font:500 15px var(--title)}.guide-step p{font-size:11px;line-height:1.9;color:#a5bab0}.guide-step img{width:33px;height:33px;margin-top:5px}.guide-steps{gap:22px;margin-top:24px}.raid-options{display:grid;gap:14px;margin-top:24px}.raid-choice{text-align:left;border:1px solid #b79c6e55;padding:20px;background:linear-gradient(135deg,#3c483522,#1b3639);border-radius:4px}.raid-choice>span{font:700 8px Manrope,sans-serif;letter-spacing:1.8px;color:#bfa274}.raid-choice h3{font:400 22px var(--title);margin-top:12px}.raid-choice p{font-size:11px;margin:12px 0 16px}.raid-choice b{font-size:11px;font-weight:600;color:#d9b581}.rival-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #b79c6e44;background:#1e3b3c;padding:14px 12px;margin-bottom:10px;border-radius:4px}.rival-sigil{font-size:30px;color:#d9b581}.rival-row div{flex:1}.rival-row b,.rank-row b{display:block;font-size:12px;font-weight:600}.rival-row small,.rank-row small{font-size:9px;color:#9ab2a7;display:block;margin-top:5px}.rival-row>span:last-child{font-size:10px;color:#d9b581}.empty-state{text-align:center;padding:30px 10px}.empty-state>span{font-size:45px;color:#b89e74}.empty-state h3{font:400 24px var(--title);margin:20px 0}.empty-state p{color:#9ab2a7;font-size:12px;line-height:1.8;margin-bottom:24px}.rank-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid #b79c6e33;padding:17px 4px}.rank-number{font:400 22px var(--title);color:#b9a57e;min-width:30px}.rank-row>div{flex:1}.rank-row>strong{font:500 19px var(--title);color:#d9b581;text-align:right}.rank-row>strong>small{font:600 6px Manrope,sans-serif;letter-spacing:1px;color:#a5b6aa}.rank-row.is-you{background:#d9b5810a}.rank-list{margin-top:8px}
@keyframes heroReveal{from{opacity:0;transform:scale(1.015)}to{opacity:1;transform:scale(1)}}
@media(min-width:1600px){.hero-content{left:9%}.hero-content h1{font-size:105px}.hero-description{font-size:15px}.hero-content{max-width:700px}.hero-place{right:7%}}
@media(max-width:900px){.site-header nav{gap:20px}.hero-content h1{font-size:67px}.hero-place{display:none}.hero-content{left:6%;max-width:480px}.section-intro{align-items:flex-start}.section-intro h2{font-size:37px}.section-intro>p{font-size:11px;max-width:260px}.strategy-grid article{padding:23px 19px}.strategy-grid article h3{font-size:19px}.strategy-grid article>p:not(.overline){min-height:85px}.warrior>img{height:135px}.warrior h3{font-size:20px}.warrior-grid{gap:8px}.site-footer p{display:none}.menu-button{min-width:60px;padding:8px 9px}.menu-button.attack{padding:10px 17px}.menu-button.optional{display:none}}
@media(max-width:600px){.site-header{height:80px;margin:0 6%}.brand>img{width:32px;height:32px}.brand>span{font-size:16px;letter-spacing:2px}.brand small{font-size:5px;letter-spacing:2.9px}.site-header nav{display:none}.header-cta{padding:8px 0 8px 15px;font-size:7px;letter-spacing:.8px;gap:12px}.header-cta span{font-size:15px}.cf-hero{min-height:780px;height:100svh;max-height:960px}.hero-image{background-position:63% center}.hero-image:after{background:linear-gradient(90deg,#0c202bd6 0%,#10232a4d 100%),linear-gradient(0deg,#101d20 0%,#101d2000 28%,#0c202b66 100%)}.hero-content{left:7%;right:6%;top:48%;transform:translateY(-36%);max-width:100%}.hero-content h1{font-size:59px;line-height:1.08;letter-spacing:-2px;margin:24px 0}.hero-content>.overline{font-size:7px;letter-spacing:2px}.hero-description{font-size:11px;line-height:1.9}.hero-actions{gap:19px;margin-top:26px}.cf-button{padding:16px 18px;min-width:190px;font-size:8px;letter-spacing:1px;gap:25px}.hero-guide{font-size:9px;gap:8px}.play-outline{width:24px;height:24px;font-size:11px}.hero-details{font-size:5.7px;gap:9px;letter-spacing:.65px}.hero-bottom{left:7%;right:7%;bottom:29px;padding-top:19px;font-size:6px;letter-spacing:.7px}.hero-version{display:none}.scroll-cue{gap:8px}.world-status{gap:7px;font-size:6px}.realm-section{padding:64px 7%}.section-intro{flex-direction:column;gap:23px;margin-bottom:33px}.section-intro h2{font-size:38px;letter-spacing:-1.2px;margin-top:15px}.section-intro>p{max-width:100%;font-size:11px}.strategy-grid{grid-template-columns:1fr}.strategy-grid article{padding:22px 23px;border-right:0;border-bottom:1px solid #b8c5ab22;display:grid;grid-template-columns:1fr 115px}.strategy-grid article:last-child{border-bottom:0}.chapter-no{grid-column:1;grid-row:1;font-size:10px}.strategy-art{grid-column:2;grid-row:1/5;height:120px;margin:15px -8px 0 5px;align-self:center}.strategy-art img{max-height:125px;max-width:110px}.strategy-art.banner-art img{max-height:125px;max-width:120px}.strategy-grid article .overline{font-size:7px;grid-column:1;margin-top:20px}.strategy-grid article h3{grid-column:1;font-size:20px;margin-right:5px}.strategy-grid article>p:not(.overline){grid-column:1;font-size:10px;min-height:0;margin-right:6px}.strategy-grid article>button{grid-column:1/3;margin-top:20px;padding-top:13px;font-size:10px}.army-section{padding:60px 7%}.army-heading .overline{font-size:6px;letter-spacing:1.4px}.army-heading h2{font-size:30px;letter-spacing:-1.2px}.army-heading>p:last-child{font-size:10px}.warrior-grid{grid-template-columns:1fr 1fr;gap:20px 10px;margin-top:30px}.warrior{padding:20px 5px}.warrior>img{height:135px}.warrior-num{font-size:8px;left:9px;top:5px}.warrior>div p{font-size:5.5px;letter-spacing:.9px}.warrior h3{font-size:21px}.final-section{padding:55px 7%}.final-mark img{width:45px;height:45px}.final-section .overline{font-size:5.7px;letter-spacing:1.2px}.final-section h2{font-size:43px}.final-section>p:not(.overline){font-size:10px;line-height:1.8}.ledger-link{font-size:10px}.site-footer{margin:0 7%;display:grid;grid-template-columns:1fr auto;row-gap:20px;padding:24px 0}.site-footer .brand>span{font-size:13px}.site-footer .brand>img{width:26px;height:26px}.site-footer button{font-size:9px}.site-footer>span{grid-column:1/3;font-size:6px}.hud{top:14px;left:12px;right:25px}.xp img{width:32px;height:32px;left:4px;top:-1px}.xp b{margin-top:25px;font-size:8px}.chief-name{font-size:10px;max-width:126px;padding:6px 8px}.trophy{font-size:9px;margin-top:4px}.trophy img{width:15px;height:15px}.resource{width:112px;height:25px}.resource b{font-size:10px;top:4px}.resource img{width:25px;height:25px;right:-12px;top:0}.shield{font-size:5px;letter-spacing:.5px;padding:3px 5px}.shield img{width:12px;height:12px}.village-note{top:106px;left:17px;max-width:190px}.village-note h2{font-size:21px;line-height:1.2}.village-note p{font-size:9px;max-width:180px}.eyebrow{font-size:6px;letter-spacing:1.2px}.game-bar{left:8px;right:8px;bottom:10px;padding:8px 5px;gap:1px}.menu-button{min-width:44px;padding:5px 4px;min-height:49px;font-size:7px;letter-spacing:0;gap:5px}.menu-button img{width:20px;height:20px}.menu-button.attack{min-width:64px;padding:8px 9px;font-size:11px;flex:1.3;gap:6px}.menu-button.attack img{width:17px;height:17px}.map-tip{bottom:88px;font-size:6px}.camera-controls{right:12px;bottom:111px}.camera-controls button{width:29px;height:30px;font-size:17px}.panel{top:108px;left:10px;right:10px;bottom:91px}.panel>header{padding:15px 16px}.panel h2{font-size:23px;margin-top:6px}.build-card b{font-size:11px}.panel-body>p{font-size:10px;line-height:1.8}.modal{padding:29px 22px;width:calc(100% - 26px);max-height:88svh}.modal h2{font-size:25px}.modal p{font-size:11px}.battle-hud{top:99px;padding:10px 20px;width:max-content;max-width:90%}.battle-hud h2{font-size:17px}.battle-hud .battle-stats{font-size:12px}.battle-hud small{font-size:6px}.battle-action .button{font-size:9px;padding:8px;max-width:65px}.unit-button{height:56px;min-width:41px;width:44px}.unit-button span{font-size:7px}.unit-button img{width:35px;height:35px}.unit-button b{font-size:9px}.placement-hint{bottom:100px;font-size:10px}.toast{font-size:10px;bottom:103px}.raid-choice{padding:17px}.raid-choice h3{font-size:20px}.raid-choice>span{font-size:7px}.guide-step h3{font-size:14px}.guide-step img{width:27px;height:27px}.guide-step p{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-image{animation:none}.warrior:hover>img{transform:none}}

@media(max-width:600px){.hero-content h1{font-size:48px;line-height:1.1;letter-spacing:-1px}}

/* Wall direction controls remain reachable on touch screens. */
.wall-orientation{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-block:1px solid #b79c6e33}
.wall-orientation>div{display:flex;align-items:center;gap:12px}.wall-orientation span{font-size:11px;color:#a9beb6}.wall-orientation strong{font:600 18px Manrope,sans-serif;color:#ead4b0}.wall-orientation button{min-height:44px;white-space:nowrap}.wall-orientation kbd{font:10px Manrope,sans-serif;border:1px solid #b79c6e66;padding:2px 5px;margin-left:8px;border-radius:2px}.orientation-help{font-size:11px!important;color:#a9beb6!important}
.placement-hint{gap:10px;padding:8px 10px 8px 16px}.placement-hint>span{min-width:0;line-height:1.5}.placement-hint button{min-height:44px;flex-shrink:0;white-space:nowrap}.placement-hint #rotate-placement{border:1px solid #b79c6e77;color:#f2d5a6;font:600 11px Manrope,sans-serif;padding:8px 12px}.placement-hint #cancel-placement{min-width:44px}
@media(max-width:760px){.placement-hint{width:max-content;max-width:calc(100% - 20px);padding:6px 6px 6px 12px;gap:6px}.placement-hint>span{max-width:140px}.placement-hint #rotate-placement{font-size:10px;padding:8px}.wall-orientation kbd{display:none}}
/* Defense records, hidden traps, and read-only battle playback. */
.log-tabs{display:flex;gap:6px;margin-bottom:17px}.log-tabs button{flex:1;min-height:44px}.log-tabs [aria-pressed="true"]{color:#172b2e;background:#d1b17c;border-color:#e8cea5}.history-entry.defense-record{border-left:2px solid #b59d6d;padding-left:16px}.history-entry>b{display:block;margin-top:9px}.history-outcome{font-size:12px!important}.replay-watch{margin-top:13px}.bomb-armory{margin-top:23px;padding:18px;border:1px solid #b79c6e66;border-radius:4px;background:#10222599}.bomb-heading{display:flex;align-items:center;gap:12px}.bomb-heading>img{width:44px;height:44px}.bomb-heading h3{font:400 20px var(--title);margin-top:6px;color:#eed6af}.bomb-heading>strong{margin-left:auto;font-size:22px;color:#e9c88d;text-align:right}.bomb-heading small{display:block;font:700 6px Manrope,sans-serif;letter-spacing:1px}.bomb-armory>p{font-size:11px;line-height:1.8;margin-top:14px}.bomb-facts{display:flex;justify-content:space-between;gap:10px;font:500 10px Manrope,sans-serif;color:#ceb88e;margin-top:14px}.bomb-armory .actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.bomb-armory .button{min-height:44px}.trap-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #b79c6e33;padding:16px 0}.trap-row>img{width:33px;height:33px}.trap-row>div{flex:1;min-width:0}.trap-row b{display:block;font-size:11px}.trap-row small{display:block;color:#a8bdb3;font-size:9px;line-height:1.6;margin-top:5px}.trap-row button{padding:10px;min-height:44px}
.game-bar.is-replay{display:grid;gap:10px;padding:14px 20px}.replay-timeline{display:flex;align-items:center;gap:18px}.replay-timeline label{font:700 8px Manrope,sans-serif;color:#d9b581;letter-spacing:1.5px}.replay-timeline input{min-width:0;flex:1;accent-color:#d9b581;cursor:pointer;min-height:28px}.replay-timeline output{font:500 12px Manrope,sans-serif;color:#eee0c3;min-width:95px;text-align:right;font-variant-numeric:tabular-nums}.replay-buttons{display:flex;justify-content:center;align-items:center;gap:10px}.replay-buttons .button{min-height:44px;min-width:100px}.replay-buttons .button:last-child{margin-left:auto}.replay-speed{display:flex;gap:8px;align-items:center;font-size:10px;color:#bdcbc0}.replay-speed select{font:600 12px Manrope,sans-serif;background:#244043;border:1px solid #b79c6e55;border-radius:3px;color:#efdbb6;min-height:44px;padding:8px 12px}.battle-hud h2 span{font:500 10px Manrope,sans-serif;color:#bdc7b8;margin:0 7px}body:has(.is-replay) .camera-controls{bottom:180px}
@media(max-width:760px){.game-bar.is-replay{padding:10px;gap:7px}.replay-timeline{gap:8px;flex-wrap:wrap}.replay-timeline label{width:100%;font-size:7px;letter-spacing:1px}.replay-timeline output{font-size:10px;min-width:80px}.replay-buttons{gap:5px}.replay-buttons .button{min-width:0;padding:9px 8px;font-size:9px;flex:1}.replay-speed{font-size:0;gap:0}.replay-speed select{font-size:11px;padding:8px}.replay-buttons .button:last-child{margin-left:0}.bomb-armory{padding:14px}.log-tabs button{padding:9px;font-size:10px}body:has(.is-replay) .battle-hud{max-width:calc(100% - 24px);width:calc(100% - 24px);box-sizing:border-box;padding:12px}.battle-hud h2{overflow-wrap:anywhere}body:has(.is-replay) .battle-hud .battle-stats{gap:12px;justify-content:center;font-size:10px}body:has(.is-replay) .camera-controls{bottom:185px}}
