/* Responsive bilingual experience: shared theme tokens, motion and artwork. */
:root{--header-bg:#131820;--field-bg:#202733;--surface-hover:#263a35;--shadow:0 12px 35px #00000012}
:root[data-theme=light]{color-scheme:light;--bg:#f4f6f5;--panel:#fff;--panel-light:#edf2f0;--text:#182b26;--muted:#52645d;--line:#d6e2dc;--accent:#197151;--header-bg:#ffffff;--field-bg:#f0f5f2;--surface-hover:#ddf3e8}
body{transition:background-color .25s ease,color .25s ease}a:hover{color:var(--text)}#header,.menu[class],#footer{background:var(--header-bg)}.header{gap:24px}.header-search input{background:var(--field-bg);border-color:var(--line);color:var(--text)}.header-search input::placeholder{color:var(--muted);opacity:1}.header-search{max-width:520px}.brand-symbol{background:#9df3cf}.brand-dot{color:var(--accent)}.header-tools{display:flex;align-items:center;gap:16px;flex-shrink:0}.account-link{font-size:12px!important}.account-link span{margin-left:5px}.language-switch{display:flex;gap:3px;padding:4px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.language-switch a:link,.language-switch a:visited{display:grid;place-items:center;min-width:35px;min-height:34px;border-radius:6px;font-size:11px;color:var(--muted)}.language-switch a[aria-current=true]{background:var(--surface-hover);color:var(--accent)}.theme-toggle{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);padding:0;font-size:23px}.theme-toggle:hover{border-color:var(--accent);background:var(--surface-hover)}.menu li.sel a:link,.menu li.sel a:visited{background:var(--surface-hover);color:var(--accent)}.menu a:hover{color:var(--text)!important;background:var(--panel-light)!important}.menu ul{scrollbar-color:var(--line) transparent}
input,textarea,select{background:var(--field-bg);border-color:var(--line);color:var(--text)}input.submit,input[type=submit],button.button{background:#9df3cf;color:#142b23}#right .katrgoriee ul li a,.category-chips a:link,.category-chips a:visited{color:var(--text)}#left .fbox{background:var(--surface-hover)}.category-chips a:link,.category-chips a:visited{background:var(--panel)}.primary-link:link,.primary-link:visited{background:#9df3cf;color:#142b23}.primary-link:hover{background:#bcffde;color:#142b23}table.list p{color:var(--muted)}#footer .footer a:hover{color:var(--accent)}.home-page #left{position:relative}.hero{isolation:isolate;min-height:430px;background:radial-gradient(ellipse at 85% 40%,#3c604f 0,transparent 55%),#203832;box-shadow:var(--shadow)}.hero-copy{width:57%}.hero-art{width:49%;right:-8px;top:0;height:100%;opacity:1;overflow:visible;background:none;pointer-events:none;display:flex;align-items:center;justify-content:center}.hero-illustration{width:112%;max-width:none;height:auto;position:relative;z-index:1;animation:island-float 7s ease-in-out infinite;filter:drop-shadow(0 20px 16px #071e2633)}.hero-glow{position:absolute;inset:15% 0;border-radius:50%;background:radial-gradient(ellipse,#9df3cf25,transparent 70%)}.hero .eyebrow{color:#bbdbce}.hero .eyebrow span{background:#9df3cf}#left .hero h1{color:#f6fff9}.hero h1 em{color:#9df3cf}.hero-description{color:#d2e5dc}.hero-note{color:#c1d9ce;max-width:360px}.hero .primary-link{position:relative;z-index:2}.hero-copy{animation:hero-enter .65s ease-out both}.hero-note span{display:inline}.game-grid{gap:16px}.game-card:link,.game-card:visited{box-shadow:0 4px 16px #00000005;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.game-card:hover{transform:translateY(-5px);box-shadow:0 12px 24px #00000018;border-color:var(--accent)}.game-cover img{transition:transform .4s ease}.game-card:hover .game-cover img{transform:scale(1.045)}.play-mark{transition:transform .2s,background .2s}.game-card:hover .play-mark{transform:scale(1.12);background:#197151}.game-copy h3{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.5em;line-height:1.25}.game-copy p{gap:6px}.missing-cover:before{content:'▶';position:absolute;inset:0;display:grid;place-items:center;font-size:38px;color:#9df3cf}.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}.reveal.is-visible{opacity:1;transform:none}.section-heading h2{line-height:1.3}.section-heading>a{flex-shrink:0}.community-banner{box-shadow:var(--shadow)}#left .box,#right .box{box-shadow:0 3px 18px #00000003}#right .box{overflow:hidden}
.zawartosc ruffle-embed,.zawartosc ruffle-object,.zawartosc ruffle-player{display:block;width:min(590px,100%)!important;max-width:100%;height:auto!important;aspect-ratio:590/450;margin-inline:auto}
@keyframes island-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-12px) rotate(1deg)}}
@keyframes hero-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(min-width:1440px){.hero-art{width:48%;right:0}.hero{min-height:450px}.hero-illustration{width:105%}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.header{gap:18px}.header-tools{gap:10px}.header-search{min-width:180px}.account-link{max-width:78px;white-space:normal}.hero{min-height:405px;padding:30px}.hero-copy{width:65%}.hero-art{right:-25px;width:48%}.hero-illustration{width:120%}.hero-description{max-width:290px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:601px) and (max-width:850px){.header{flex-wrap:wrap;padding:18px 0;gap:14px}.header-tools{margin-left:auto}.header-search{order:3;min-width:100%;max-width:none}.account-link{max-width:none;white-space:nowrap}.hero{padding:34px;min-height:420px}.hero-copy{width:58%}.hero-art{width:47%;right:0}.hero-illustration{width:114%}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-chips a:link,.category-chips a:visited{flex:1 1 auto}#right{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.header,.menu ul,#content{width:calc(100% - 32px)}.header{gap:12px;padding:15px 0}.brand{font-size:23px!important;gap:8px}.brand-symbol{width:34px;height:34px}.header-tools{gap:7px;margin-left:auto}.account-link{display:none}.language-switch{padding:3px;gap:1px;border-radius:9px}.language-switch a:link,.language-switch a:visited{min-width:30px;min-height:32px}.theme-toggle{width:39px;height:40px;font-size:21px}.header-search{min-width:100%;order:3}.header-search input{padding:12px 48px 12px 14px;font-size:13px}.menu a:link,.menu a:visited,.menu li.sel a:link,.menu li.sel a:visited{font-size:12px;padding:11px 13px}.menu ul{padding:6px 0;gap:1px}.hero{display:block;min-height:0;padding:25px 23px 0;border-radius:18px;background:radial-gradient(ellipse at 60% 80%,#3c604f,transparent 60%),#203832}.hero-copy{width:100%;animation:none}.hero .eyebrow{font-size:8px;letter-spacing:1.2px}#left .hero h1{font-size:48px;letter-spacing:-2px;margin:18px 0}.hero-description{max-width:100%;font-size:13px;margin:16px 0 20px}.hero-note{max-width:none;font-size:10px;margin-top:16px}.hero-art{position:relative;width:100%;right:auto;top:auto;height:225px;opacity:1;overflow:hidden;align-items:flex-start;margin-top:0}.hero-illustration{width:270px;max-width:100%;margin-top:-12px}.hero-glow{inset:0}.category-chips{gap:7px;margin:15px 0 26px}.category-chips a:link,.category-chips a:visited{font-size:11px;flex:1 1 28%;text-align:center;padding:10px 7px}.category-chips a:last-child{flex:1 1 50%}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.section-heading{align-items:center;gap:10px}.section-heading h2{font-size:21px}.section-heading .eyebrow{letter-spacing:.7px;font-size:8px}.section-heading>a{font-size:10px;max-width:95px;text-align:right;white-space:normal}.game-copy{padding:11px}.game-copy h3{font-size:12px}.game-copy p{font-size:10px}.community-banner{padding:23px}.community-banner h2{font-size:23px}.community-banner .primary-link{width:100%;justify-content:center}#right{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}#right .box{margin:0}#right form table{display:table}.zawartosc table{table-layout:fixed;overflow-wrap:anywhere}.zawartosc table td{max-width:100%;word-break:normal}.zawartosc iframe,.zawartosc embed,.zawartosc object{max-width:100%;height:auto;aspect-ratio:590/450}.zakladka ul{gap:5px}.zakladka ul li{flex:1 1 40%;text-align:center}.zakladka a:link,.zakladka a:visited{font-size:12px;padding:10px 7px}.menu-oceny-gry{margin-left:0;width:auto}.hero-art img{pointer-events:none}}
@media(max-width:359px){.hero{padding-left:19px;padding-right:19px}#left .hero h1{font-size:43px}.game-grid{gap:8px}.game-copy{padding:9px}.game-copy h3{font-size:11px}.header-tools{gap:4px}.brand{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1;transform:none}.game-card:hover,.game-card:hover img{transform:none}}
