:root{--text:#f4f5eb;--muted:#d0dfd9;--line:rgba(174,216,178,.25);--accent:#efb94f;--accent-strong:#ffdc83;--container:1080px;--radius:6px;--radius-sm:4px}
*{letter-spacing:0!important}
body{background:#204e77 url('/web-assets/backgrounds/lhotka-desktop-2560x1600.png') center top / cover fixed no-repeat;color:var(--text)}
body::before{display:none}
.site-header{background:rgba(17,42,36,.94);border-bottom:2px solid #8ea65e;backdrop-filter:none}
.header-inner{min-height:76px;gap:24px}
.brand img{width:210px;filter:none}
.site-nav a{border-radius:3px;padding:10px 13px;color:#e7ecd9}
.site-nav a:hover,.site-nav a:focus-visible,.site-nav a[aria-current=page]{background:#355c43;color:#ffdf8e;box-shadow:inset 0 -2px #efb94f}
h1,h2,h3{color:#faf5dc;text-shadow:none;font-family:Georgia,serif}
h1,.page-hero h1{font-size:42px}h2{font-size:30px}h3{font-size:21px}
.eyebrow{color:#ffdd86;font-size:12px;margin-bottom:12px}
.button{border-radius:4px;box-shadow:none;min-height:46px;padding:11px 20px;border:1px solid transparent;transition:background .15s}
.button:hover,.button:focus-visible{transform:none}
.button-primary{background:#f2bf51;color:#252619;border-color:#ffe397;box-shadow:0 3px 0 #996c26}
.button-primary:hover{background:#ffcf67}
.button-secondary{background:#48743e;border-color:#9cb879;color:#fff}
.button-secondary:hover{background:#527e46}
.button-ghost{background:rgba(16,42,40,.85);border-color:#83a59a;color:#fff}
.button-ghost:hover{background:#31554b}
.menu-toggle{border-radius:4px;background:#355c43;flex-shrink:0}
.world-hero{min-height:min(640px,calc(100svh - 140px));display:flex;align-items:center;text-align:center;padding:55px 0 28px}
.world-intro{max-width:760px;text-shadow:0 2px 4px #123651}
.world-intro h1{margin:22px auto;width:min(570px,90%)}
.world-intro h1 img{width:100%;height:auto;filter:drop-shadow(0 5px 2px rgba(0,0,0,.3))}
.world-tagline{font-family:Georgia,serif;font-size:28px;font-weight:bold;margin:22px 0 12px;color:#fff9df}
.world-description{font-size:17px;color:#fff;line-height:1.7;margin:0 auto;max-width:560px}
.world-intro .hero-actions{justify-content:center;margin:26px 0 15px;text-shadow:none}
.platform-note{font-size:13px;color:#e1edec}
.world-ornament{width:230px;height:auto;margin:12px auto 0}
.home-page .section{padding:42px 0;background:rgba(15,38,34,.92);border-top:1px solid var(--line)}
.home-page .home-story{background:rgba(23,50,38,.94)}
.home-page .world-gallery{background:rgba(15,30,29,.94)}
.home-page .community-section{background:rgba(36,60,37,.94)}
.world-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-bottom:16px}
.world-features article{border-top:1px solid #779361;padding-top:16px}
.feature-number{color:#adc878;font-size:13px;font-weight:bold;display:block;margin-bottom:12px}
.world-features p{color:var(--muted);font-size:15px}
.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.shot{margin:0;border-radius:4px;box-shadow:none;border-color:#789577;background:#152c27}
.shot img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;transition:none}
.shot:hover img{transform:none}
.shot a{display:block}.shot figcaption{background:#1d382e;color:#ebeedc;padding:12px 16px}
.community-strip{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:32px}
.community-strip>img{width:150px;height:auto}
.community-strip .stack-actions{align-items:center}
.content-page main{width:100%;margin:0;background:transparent;border:0}
.content-page main .container{width:min(var(--container),calc(100% - 2rem))}
.content-page main .narrow{max-width:var(--container)}
.page-hero{padding:38px 0 20px}.section{padding:24px 0 38px}
.section-alt,.section-accent{background:rgba(125,162,109,.05)}
.info-card,.download-card,.faq-item,.vip-card,.promo-card{background:rgba(61,88,58,.35);border:1px solid var(--line);border-radius:6px;box-shadow:none}
.highlight-box,.side-panel,.support-panel,.video-card{background:transparent;box-shadow:none;border:0;border-left:2px solid #94ad6a;border-radius:0}
.info-card h2,.download-card h2,.vip-card h2{font-size:25px}
.download-card{margin-bottom:18px}.download-card .button{margin-top:16px}.download-card.is-featured{border-color:#bea15c}
.download-badge,.tag-row span{background:transparent;border:0;border-radius:0;color:#ffdc83;padding:0;font-size:13px;min-height:24px}
.notice{background:transparent;border:0;border-left:2px solid #a9bd70;border-radius:0;padding:6px 14px}
.faq-groups{display:grid;gap:32px}.faq-list{display:grid;gap:12px}.faq-item{padding:20px}.faq-item p:last-child{margin-bottom:0}
.prose-grid{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
.prose h2:not(:first-child){margin-top:30px}.prose p{color:var(--muted)}
.qr-card{border:0;background:transparent}.qr-card img{border-radius:4px}
.site-footer{background:rgba(12,28,25,.97);padding:30px 0 20px}.site-footer h2{font-size:22px}
.footer-links{display:flex;flex-wrap:wrap;gap:12px 22px}.footer-links li{padding:0;margin:0}.footer-links li::before{display:none}.footer-bottom{margin-top:18px;padding-top:12px;font-size:13px}
.image-viewer{position:fixed;padding:42px 12px 10px;border:1px solid #8ca879;background:#142d26;color:#fff;max-width:calc(100% - 24px);width:1100px;border-radius:4px}
.image-viewer::backdrop{background:rgba(0,0,0,.85)}.image-viewer img{width:100%;max-height:75svh;object-fit:contain}.image-viewer p{margin:10px 0 0;text-align:center}
.viewer-close{position:absolute;right:5px;top:0;width:40px;height:40px;font-size:30px;border:0;background:transparent;color:#fff;cursor:pointer}
@media(min-width:1700px){.world-hero{min-height:620px}}
@media(max-width:980px){.site-nav{top:76px;background:#173a30}.prose-grid{grid-template-columns:1fr}.community-actions{display:flex;flex-wrap:wrap}.promo-grid{grid-template-columns:1fr}.world-features{gap:20px}.brand img{width:200px}}
@media(max-width:640px){body{background-image:url('/web-assets/backgrounds/lhotka-mobile-1080x1920.png');background-size:100% auto}.header-inner{min-height:66px}.brand img{width:182px}.site-nav{top:66px}.world-hero{padding:50px 0 20px;min-height:min(580px,calc(100svh - 115px))}.world-intro{width:calc(100% - 36px)}.world-intro h1{width:96%;margin:16px auto}.world-tagline{font-size:23px;line-height:1.3}.world-description{font-size:15px}.world-description br{display:none}.world-intro .hero-actions{gap:10px;margin-top:20px}.world-ornament{width:180px}.home-page .section{padding:30px 0}.world-features,.gallery-grid{grid-template-columns:1fr;gap:22px}.community-strip{grid-template-columns:1fr;gap:14px}.community-strip>img{width:96px}.content-page main{width:calc(100% - 20px);margin-top:20px}.content-page .container{width:calc(100% - 32px)}h1,.page-hero h1{font-size:32px}h2{font-size:26px}.page-hero{padding:28px 0 12px}.button{max-width:100%;white-space:normal;text-align:center}.section-heading{margin-bottom:22px}.qr-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.narrow{width:calc(100% - 32px)}.promo-grid,.card-grid,.feature-grid{grid-template-columns:1fr}}
@media(max-width:640px){.world-hero{background:rgba(9,31,40,.28)}}
.game-first{font-size:17px;color:#fff0b1;text-transform:none;margin:0}.game-first span{display:block;font-size:13px;color:#e2ebed;margin-top:4px}
.button-discord{background:#5865f2;border-color:#a5adff;color:#fff;box-shadow:0 3px 0 #333cab}.button-discord:hover{background:#4752c4}
.site-nav a.nav-discord{color:#fff;background:#454fb9;border:1px solid #939cea;border-radius:4px}.site-nav a.nav-discord:hover{background:#5865f2}
.discord-invitation{font-size:14px;color:#fff;margin:14px auto;max-width:440px}
.original-art{height:220px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}.original-art img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.sprite-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:60px;margin-top:18px}.sprite-line img{width:auto;height:auto;max-width:48px;max-height:48px;object-fit:contain}
@media(max-width:640px){.game-first{font-size:16px}.world-hero{min-height:0;padding-top:38px;padding-bottom:16px}.world-intro .hero-actions{margin-bottom:10px}.original-art{height:210px}.discord-invitation{font-size:13px}.world-ornament{width:140px}}
.content-page main{width:100%;margin:0}
.content-page .site-header .container,.content-page .site-footer .container{width:min(var(--container),calc(100% - 2rem))}
.content-page .page-hero{padding:42px 0;background:rgba(14,35,34,.62);border-bottom:1px solid var(--line)}
.content-page .page-hero .container{position:relative;min-height:180px;display:flex;flex-direction:column;justify-content:center;padding-right:300px}
.content-page .page-hero h1{font-size:38px}.content-page .page-hero .lead{margin:4px 0 12px;max-width:660px;color:#e1e9e2}
.page-mascot{position:absolute;right:32px;top:50%;transform:translateY(-50%);width:140px;height:auto;max-height:180px;object-fit:contain}
.page-promo{width:245px;right:0;max-height:190px}
.content-page main>.section{background:rgba(17,37,32,.96);padding:38px 0;border-bottom:1px solid var(--line)}
.content-page main>.section-alt{background:rgba(26,49,35,.96)}
.download-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.download-options .download-card{display:flex;flex-direction:column;margin:0;padding:26px 24px;border-top:3px solid #86a464}
.download-options .is-featured{border-top-color:#efbf57}.download-options .download-card h2{font-size:24px;min-height:56px}
.download-options .download-meta{margin-top:auto;padding-top:10px}.download-options .download-badge{margin:0 0 16px}.download-options .button{align-self:flex-start;min-width:130px}
.guide-art{width:auto;height:auto;max-width:280px;max-height:190px;object-fit:contain;margin:0 auto 26px}
.about-map{width:100%;height:auto;margin:0 0 24px;border:1px solid var(--line);border-radius:4px}
.content-page .prose-grid{gap:48px}.content-page .side-panel{padding:0 0 0 24px}.content-page .prose{max-width:760px}
.content-page .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}.content-page .feature-card{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:24px 0}
.content-page .promo-card{background:transparent;border:0;border-top:2px solid #739456;border-radius:0;padding:20px 0}
.faq-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;align-items:start}
.faq-index{position:sticky;top:104px;border-left:2px solid #839b61;padding:10px 0 10px 20px}.faq-index a{display:block;padding:9px 0;text-decoration:none;color:#d8e6cf;font-size:15px}.faq-index a:hover{color:#ffdd86}
.faq-group{scroll-margin-top:100px}.faq-group h2{font-size:25px;margin-bottom:18px}.faq-list{gap:0}
.faq-item{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0}
.faq-item summary{padding:18px 32px 18px 0;cursor:pointer;font-weight:600;position:relative;list-style:none;color:#f4efd8}
.faq-item summary::-webkit-details-marker{display:none}.faq-item summary::after{content:'+';position:absolute;right:4px;top:14px;font-size:24px;color:#d1bd75}.faq-item[open] summary::after{content:'−'}
.faq-item summary:focus-visible{outline:2px solid #ffdc83;outline-offset:3px}.faq-item[open] summary{color:#ffdc83}.faq-item p{margin:0;padding:0 28px 20px 0;color:var(--muted)}
.content-page .card-grid .info-card{display:flex;flex-direction:column;padding:26px}.content-page .card-grid .button{align-self:flex-start;margin-top:auto}.discord-resource{border-top:3px solid #8d95ff}
.content-page .vip-card{padding:28px;border-top:3px solid #c9af62}.content-page .vip-card-plus{border-top-color:#a9ca81;background:rgba(74,100,54,.3)}
.content-page .vip-card .notice{padding:0;border:0;color:#d6e2be}.content-page .qr-grid{max-width:720px;gap:40px}.content-page .qr-card{padding:0;text-align:left}.content-page .qr-card img{margin:0 0 14px}
@media(max-width:980px){.download-options{grid-template-columns:1fr}.download-options .download-card h2{min-height:0}.faq-layout{grid-template-columns:180px minmax(0,1fr);gap:28px}.content-page .prose-grid{gap:24px}.content-page .page-hero .container{padding-right:240px}.page-promo{width:210px}}
@media(max-width:640px){.content-page .page-hero{padding:28px 0}.content-page .page-hero .container{padding-right:0;padding-top:0;min-height:0}.content-page .page-hero h1{font-size:30px}.page-mascot{position:static;transform:none;order:-1;width:65px;max-height:70px;margin:0 0 16px}.page-promo{width:140px;max-height:100px}.content-page main>.section{padding:28px 0}.faq-layout{grid-template-columns:1fr;gap:28px}.faq-index{position:static;display:flex;flex-wrap:wrap;gap:0 18px;padding:0;border:0;border-bottom:1px solid var(--line)}.faq-index .eyebrow{width:100%;margin-bottom:4px}.faq-index a{font-size:14px}.content-page .feature-grid{grid-template-columns:1fr}.content-page .side-panel{padding-left:0;border-left:0}.guide-art{max-width:100%}.content-page .vip-card{padding:22px}.content-page .qr-grid{gap:24px}.content-page .page-hero .text-link{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Real game sprites keep their intrinsic proportions and integer scale. */
.home-resource-links{display:flex;flex-wrap:wrap;gap:14px 32px}
.player-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.player-resource-grid h2{font-size:25px;margin-bottom:20px}
.player-resource-list{border-top:1px solid var(--line)}
.player-resource{display:grid;grid-template-columns:40px minmax(0,1fr) 24px;gap:14px;align-items:center;min-height:112px;padding:20px 10px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text)}
.player-resource>img{image-rendering:pixelated;justify-self:center;object-fit:contain}
.player-resource strong{display:block;font-size:18px;color:#ffdf8e;margin-bottom:6px}
.player-resource>span>span{display:block;font-size:14px;color:var(--muted);line-height:1.6}
.resource-arrow{font-size:24px;color:#ffdf8e}
.player-resource:hover{background:rgba(117,153,102,.15)}
.player-resource:focus-visible{outline:2px solid #ffdf8e;outline-offset:2px}
@media(max-width:640px){.player-resource-grid{grid-template-columns:1fr;gap:32px}.player-resource{padding:18px 0;gap:10px;min-height:112px}.player-resource strong{font-size:17px}}
.feature-art,.activity-icons{display:flex;align-items:center;gap:20px;min-height:96px;margin-bottom:16px}
.feature-art{border-bottom:1px solid var(--line)}
.game-icon{flex:0 0 auto;max-width:none;object-fit:contain;image-rendering:pixelated;filter:none}
.sprite-divider{width:1px;height:32px;background:var(--line)}
.activity-icons{min-height:72px;margin-bottom:12px}
.page-icon-set{display:flex;align-items:center;justify-content:flex-end;gap:22px;width:250px;right:0}
.reset-section{display:grid;grid-template-columns:1fr 2fr;gap:40px}
.reset-section .prose p:first-child{margin-top:0}
.gallery-note{font-size:13px;color:var(--muted);margin:18px 0 0}
.image-viewer img{height:auto}
.download-arrow{font-size:22px;line-height:1;margin-right:6px}
body{background-image:image-set(url('/web-assets/backgrounds/lhotka-desktop-2560x1600.webp') type('image/webp'),url('/web-assets/backgrounds/lhotka-desktop-2560x1600.png') type('image/png'))}
@media(max-width:640px){
    body{background-image:image-set(url('/web-assets/backgrounds/lhotka-mobile-1080x1920.webp') type('image/webp'),url('/web-assets/backgrounds/lhotka-mobile-1080x1920.png') type('image/png'))}
    .page-icon-set{width:auto;justify-content:flex-start;gap:18px;max-height:none}
    .reset-section{grid-template-columns:1fr;gap:12px}
    .feature-art{min-height:88px}
    .world-hero{background:rgba(9,31,40,.42)}
}
