.mng-frame-shell{overflow:hidden}
.mng-frame{display:block;width:100%;height:560px;border:0;background:#fffefa}
.mng-instructions{font-size:13px;line-height:1.8;color:#6d7869;white-space:normal}
.mng-instructions+div{margin-top:24px}
.prose .button{margin-top:24px}
.logo{white-space:nowrap}
.theme-toggle{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:50%;background:#fffefa;color:var(--green);transition:background .18s,border-color .18s,transform .18s}
.theme-toggle:hover{background:#e9eee2;border-color:#b9c7b2;transform:translateY(-1px)}
.theme-icon-sun{display:none}
html[data-theme=dark] .theme-icon-moon{display:none}
html[data-theme=dark] .theme-icon-sun{display:block}
@media(max-width:760px){.mng-frame{height:550px}.logo{font-size:30px}.logo-flower{font-size:38px}}
@media(max-width:540px){.theme-toggle{width:36px;height:36px}.theme-toggle .icon{width:17px;height:17px}}
@media(max-width:390px){.logo{font-size:25px}.logo-flower{font-size:31px}.header-inner{gap:6px}.main-nav{gap:7px}.theme-toggle{width:33px;height:33px}}

/* Category pages and server-side catalog pagination. */
.catalog .breadcrumbs { margin: 1.5rem 0 1rem; }
.section-heading .catalog-title { margin: 0; font-family: var(--heading); font-size: 29px; font-weight: 750; line-height: 1.16; letter-spacing: -.035em; }
.catalog-description { margin: .2rem 0 1.4rem; color: var(--muted, #53605b); }
.filters a.filter { display: inline-flex; align-items: center; text-decoration: none; }
.mng-pagination { display: flex; gap: .5rem; justify-content: center; margin: 2rem 0 0; }
.mng-pagination a { min-width: 2.6rem; justify-content: center; }
.mng-catalog--standalone { padding-bottom: 64px; }
.mng-frame--fireflies{height:560px}
.mng-frame[data-src*="/memory/play.html"]{height:620px}
.mng-frame[data-src*="/kolko-i-krzyzyk/play.html"]{height:640px}
@media(max-width:760px){.mng-frame--fireflies{height:630px}}

/* Ciemny motyw szablonu 11street. Gry zachowują własną oprawę wewnątrz ramek. */
html[data-theme=dark]{color-scheme:dark;--paper:#111915;--ink:#edf5eb;--muted:#a9b8ad;--green:#8dcaa7;--coral:#f18468;--line:#314139;--white:#19251f}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] .site-header{background:#111915e8;backdrop-filter:blur(12px)}
html[data-theme=dark] .main-nav a{color:#aebbb1}
html[data-theme=dark] .main-nav a:hover,html[data-theme=dark] .main-nav a.current{color:#b9e2c9}
html[data-theme=dark] .saved-link b,html[data-theme=dark] .count-badge{background:#24332b;border-color:#34483d;color:#c9d8ce}
html[data-theme=dark] .theme-toggle{background:#1a2821;color:#f2c66f;border-color:#3b4c43}
html[data-theme=dark] .theme-toggle:hover{background:#25372d;border-color:#58705f}
html[data-theme=dark] .hero-copy>p,html[data-theme=dark] .hero-promise,html[data-theme=dark] .card-content p,html[data-theme=dark] .card-meta,html[data-theme=dark] .about-strip p,html[data-theme=dark] .game-heading p,html[data-theme=dark] .instructions li,html[data-theme=dark] .instructions>p,html[data-theme=dark] .game-message p,html[data-theme=dark] .prose p,html[data-theme=dark] .prose li{color:#a9b8ad}
html[data-theme=dark] .secondary,html[data-theme=dark] .filter.active{background:#26372e;border-color:#43584c;color:#d8e8dc}
html[data-theme=dark] .filter{color:#b7c5ba}
html[data-theme=dark] .filter:hover{background:#213128;border-color:#587061}
html[data-theme=dark] .search,html[data-theme=dark] .game-card,html[data-theme=dark] .game-shell,html[data-theme=dark] .game-favorite{background:#17221c;border-color:#34443b}
html[data-theme=dark] .search{color:#a7b6aa}
html[data-theme=dark] .search input{color:#eef5ef}
html[data-theme=dark] .search kbd,html[data-theme=dark] .card-title>span{border-color:#3d4e44}
html[data-theme=dark] .game-card:hover{box-shadow:0 10px 24px #0005}
html[data-theme=dark] .art-label{background:#18231fe8;color:#dce8df}
html[data-theme=dark] .favorite{background:#1a2825e8;border-color:#6d8076;color:#d4dfd7}
html[data-theme=dark] .daily-card{background:#39331f;border-color:#51492c}
html[data-theme=dark] .daily-card .eyebrow,html[data-theme=dark] .daily-card p{color:#d7c994}
html[data-theme=dark] .daily-art>span{background:#2b2a21;border-color:#615b3d;box-shadow:3px 5px #17170f}
html[data-theme=dark] .daily-art>span+span{background:#435142}
html[data-theme=dark] .together-card{background:#1b2922;border-color:#32463a}
html[data-theme=dark] .together-card p{color:#a8b8ac}
html[data-theme=dark] .site-footer{background:#0e1612;border-color:#2c3b33}
html[data-theme=dark] .footer-links,html[data-theme=dark] .footer-top p,html[data-theme=dark] .footer-bottom,html[data-theme=dark] .since span{color:#96a69b}
html[data-theme=dark] .footer-bottom{border-color:#293831}
html[data-theme=dark] .empty-state{border-color:#46594e}
html[data-theme=dark] .game-toolbar{background:#1e2c24}
html[data-theme=dark] .charade-options select{background:#1b2922;border-color:#465b4e;color:#edf5eb}
html[data-theme=dark] .prose .lead{color:#b4c3b7}
html[data-theme=dark] .strategy-callout{background:#35311f;border-left-color:#c6b366}
html[data-theme=dark] .skip:focus{background:#1d2a23}
