:root{color-scheme:dark;--page:#211b32;--page-2:#171321;--panel:#2d2540;--panel-2:#382e4b;--text:#fff;--muted:#b8aec7;--line:#4a3d5f;--accent:#ff2f6d;--accent-2:#45d08b;--radius:14px;--content:1200px;--shadow:0 18px 48px rgba(0,0,0,.24)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--page);color:var(--text);font:15px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.menu-open{overflow:hidden}img{display:block;max-width:100%}button,input{font:inherit}a{color:inherit}.tf-shell{width:min(var(--content),calc(100% - 32px));margin-inline:auto}.tf-block{margin-block:24px}.tf-kicker{display:inline-block;color:#ff86ad;font-size:.72rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.tf-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:17px}.tf-section-head h2{margin:0;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.2}.tf-section-head>a{color:var(--muted);font-size:.85rem;text-decoration:none}.tf-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border:0;border-radius:9px;background:var(--accent);color:#fff;font-weight:850;text-decoration:none;box-shadow:0 8px 24px rgba(255,47,109,.2);transition:transform .18s,filter .18s}.tf-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.tf-button.alt{background:var(--accent-2);box-shadow:0 8px 24px rgba(69,208,139,.18)}
.tf-header{position:sticky;top:0;z-index:50;background:rgba(20,16,29,.94);border-bottom:1px solid rgba(255,255,255,.06);backdrop-filter:blur(18px)}.tf-header-inner{min-height:68px;display:flex;align-items:center;gap:24px}.tf-logo{display:flex;align-items:center;text-decoration:none}.tf-logo img{width:155px;height:34px;object-fit:contain;object-position:left center}.tf-nav{display:flex;align-items:center;gap:24px;margin-right:auto}.tf-nav a{font-size:.9rem;font-weight:800;text-decoration:none}.tf-auth{display:flex;gap:9px}.tf-auth a{min-height:38px;padding:0 15px;border-radius:8px;display:inline-flex;align-items:center;text-decoration:none;font-weight:850;font-size:.82rem;background:#403650}.tf-auth a:last-child{background:var(--accent-2);color:#10251c}.tf-burger{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);cursor:pointer}.tf-burger span,.tf-burger:before,.tf-burger:after{content:"";display:block;width:19px;height:2px;margin:4px auto;background:currentColor;transition:transform .2s,opacity .2s}.menu-open .tf-burger span{opacity:0}.menu-open .tf-burger:before{transform:translateY(6px) rotate(45deg)}.menu-open .tf-burger:after{transform:translateY(-6px) rotate(-45deg)}.header-compact .tf-header-inner{min-height:56px}.header-compact .tf-logo img{width:128px}.header-centered .tf-header-inner{justify-content:space-between}.header-centered .tf-logo{position:absolute;left:50%;transform:translateX(-50%)}.header-centered .tf-nav{margin-right:0}.header-centered .tf-auth{margin-left:auto}
.tf-hero{position:relative;isolation:isolate;min-height:330px;display:flex;align-items:center;overflow:hidden;border-radius:var(--radius);background:radial-gradient(circle at 74% 45%,#5b3ca0 0,transparent 33%),linear-gradient(110deg,#37245d,#5a244d)}.tf-hero-media{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}.tf-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(22,14,38,.96) 0%,rgba(22,14,38,.7) 48%,rgba(22,14,38,.1) 100%)}.tf-hero-copy{width:min(650px,88%);padding:clamp(32px,6vw,68px)}.tf-hero h1{margin:9px 0 15px;font-size:clamp(2.4rem,5vw,4.7rem);line-height:1.02;letter-spacing:-.045em}.tf-hero p{max-width:560px;margin:0 0 24px;color:#ddd4ea;font-size:1.05rem}.tf-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.tf-button.ghost{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);box-shadow:none}
.tf-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tf-offer{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 15px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-weight:750;text-decoration:none}.tf-offer i{color:var(--accent);font-style:normal}.tf-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line)}.tf-category{display:grid;place-items:center;gap:5px;min-height:90px;padding:12px;text-decoration:none;font-weight:800}.tf-category span{color:#ff5b91;font-size:1.4rem}.tf-category:hover{background:rgba(255,255,255,.035)}
.tf-tools{display:flex;align-items:center;gap:8px;margin-bottom:17px}.tf-filter{min-height:38px;padding:0 14px;border:1px solid transparent;border-radius:8px;background:var(--panel);color:var(--text);font-weight:800;cursor:pointer}.tf-filter.active{background:var(--accent)}.tf-search{display:flex;align-items:center;gap:8px;width:min(320px,100%);margin-left:auto;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.tf-search input{width:100%;height:40px;border:0;outline:0;background:transparent;color:var(--text)}.tf-search input::placeholder{color:var(--muted)}.tf-games{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 12px}.tf-game{min-width:0;text-decoration:none}.tf-game-cover{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:10px;background:var(--panel);box-shadow:var(--shadow)}.tf-game-cover img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.tf-game:hover img{transform:scale(1.045)}.tf-game-badge{position:absolute;left:8px;top:8px;padding:3px 7px;border-radius:5px;background:var(--accent);font-size:.62rem;font-weight:900;text-transform:uppercase}.tf-game-play{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);padding:6px 12px;border-radius:999px;background:rgba(255,47,109,.94);font-size:.72rem;font-weight:900;opacity:0;transition:opacity .2s}.tf-game:hover .tf-game-play{opacity:1}.tf-game strong{display:block;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem}.tf-game small{display:block;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tf-empty{padding:28px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);text-align:center}
.tf-promo{position:relative;isolation:isolate;min-height:175px;display:flex;align-items:center;overflow:hidden;border-radius:var(--radius);background:linear-gradient(110deg,#40255d,#5b2a73)}.tf-promo img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}.tf-promo:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(34,19,52,.95),rgba(34,19,52,.12))}.tf-promo-copy{padding:28px}.tf-promo h2{margin:0 0 8px;font-size:1.8rem}.tf-promo p{margin:0 0 15px}.tf-promo a{color:#ff95ba;font-weight:850;text-decoration:none}
.tf-article{max-width:980px;padding:clamp(24px,5vw,56px);border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}.tf-article h1,.tf-article h2,.tf-article h3{line-height:1.18;letter-spacing:-.025em}.tf-article h1{font-size:clamp(2rem,4vw,3.5rem);margin:0 0 24px}.tf-article h2{font-size:clamp(1.45rem,2.5vw,2rem);margin:45px 0 16px;padding-top:12px;border-top:1px solid var(--line)}.tf-article h3{margin:28px 0 10px}.tf-article p{margin:0 0 18px;color:var(--text)}.tf-article a{color:#ff81aa}.tf-article ul,.tf-article ol{padding-left:22px}.tf-article blockquote{margin:24px 0;padding:15px 18px;border-left:4px solid var(--accent);background:rgba(255,255,255,.035)}.tf-article .table-wrap{overflow:auto;margin:24px 0;border:1px solid var(--line);border-radius:10px}.tf-article table{width:100%;border-collapse:collapse}.tf-article th,.tf-article td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left}
.tf-footer{margin-top:48px;padding:38px 0;background:var(--page-2);border-top:1px solid var(--line)}.tf-footer-grid{display:grid;grid-template-columns:1.3fr repeat(2,1fr);gap:38px}.tf-footer img{width:145px}.tf-footer p{color:var(--muted)}.tf-footer nav{display:grid;align-content:start;gap:10px}.tf-footer nav strong{margin-bottom:3px}.tf-footer nav a{color:var(--muted);text-decoration:none}.footer-compact .tf-footer-grid{display:flex;align-items:center;justify-content:space-between}.footer-compact .tf-footer nav{display:flex;flex-wrap:wrap}.footer-minimal .tf-footer-grid{display:block;text-align:center}.footer-minimal .tf-footer img{margin:auto}.footer-minimal .tf-footer nav{display:none}
.theme-neon-night{--page:#0b0a16;--page-2:#080710;--panel:#15132a;--panel-2:#20183d;--line:#352d5e;--accent:#ff236c;--accent-2:#50e5cf;--shadow:0 20px 55px rgba(69,25,140,.24)}.theme-neon-night .tf-hero{box-shadow:0 0 0 1px #49307c,0 24px 70px rgba(91,45,180,.28)}.theme-neon-night .tf-game-cover{box-shadow:0 8px 30px rgba(64,35,130,.28)}
.theme-compact-dark{--content:1080px;--page:#181522;--panel:#24202f;--line:#393244;--radius:10px}.theme-compact-dark .tf-block{margin-block:17px}.theme-compact-dark .tf-hero{min-height:250px}.theme-compact-dark .tf-hero-copy{padding:38px}.theme-compact-dark .tf-hero h1{font-size:clamp(2rem,4vw,3.4rem)}.theme-compact-dark .tf-games{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px 10px}
.theme-editorial-light{color-scheme:light;--page:#f7f2e7;--page-2:#eee5d3;--panel:#fffaf0;--panel-2:#f3ead8;--text:#201d18;--muted:#746d61;--line:#cfc3ad;--accent:#73633a;--accent-2:#8e7e48;--radius:5px;--content:1120px;--shadow:none}.theme-editorial-light .tf-header{position:relative;background:var(--page);border-bottom:1px solid var(--line);backdrop-filter:none}.theme-editorial-light .tf-auth a{background:#e8dfcc;color:#201d18}.theme-editorial-light .tf-auth a:last-child{background:#73633a;color:#fff}.theme-editorial-light .tf-hero{min-height:290px;background:#ece2ce;border:1px solid var(--line)}.theme-editorial-light .tf-hero:after{background:linear-gradient(90deg,rgba(247,242,231,.97),rgba(247,242,231,.72) 55%,rgba(247,242,231,.22))}.theme-editorial-light .tf-hero h1,.theme-editorial-light .tf-hero p{color:#201d18}.theme-editorial-light .tf-kicker{color:#73633a}.theme-editorial-light .tf-button{background:#73633a;box-shadow:none}.theme-editorial-light .tf-button.ghost{border-color:#8d816d;background:transparent;color:#201d18}.theme-editorial-light .tf-article{margin-inline:auto}.theme-editorial-light .tf-games{grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px}.theme-editorial-light .tf-game-cover{border:1px solid var(--line)}.theme-editorial-light .tf-promo:after{background:linear-gradient(90deg,rgba(58,48,34,.92),rgba(58,48,34,.2))}.theme-editorial-light .tf-footer{color:#201d18}
@media(max-width:1050px){.tf-games{grid-template-columns:repeat(4,minmax(0,1fr))}.tf-nav{gap:14px}.tf-categories{grid-template-columns:repeat(5,minmax(120px,1fr));overflow:auto}.theme-compact-dark .tf-games{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.tf-shell{width:min(100% - 20px,var(--content))}.tf-header-inner{min-height:62px}.tf-burger{display:block;order:-1}.tf-logo img{width:130px}.tf-nav{position:fixed;left:0;right:0;top:62px;display:grid;gap:0;padding:10px 18px 20px;background:var(--page-2);border-bottom:1px solid var(--line);transform:translateY(-130%);opacity:0;transition:transform .22s,opacity .22s}.menu-open .tf-nav{transform:translateY(0);opacity:1}.tf-nav a{padding:13px 5px;border-bottom:1px solid var(--line)}.tf-auth{margin-left:auto}.tf-auth .tf-login{display:none}.header-centered .tf-logo{position:static;transform:none}.header-centered .tf-nav{margin:0}.tf-hero{min-height:390px}.tf-hero-copy{width:100%;padding:32px 23px}.tf-hero:after{background:linear-gradient(90deg,rgba(22,14,38,.9),rgba(22,14,38,.56))}.tf-offers{grid-template-columns:1fr}.tf-games,.theme-compact-dark .tf-games{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-editorial-light .tf-games{grid-template-columns:repeat(2,minmax(0,1fr))}.tf-tools{flex-wrap:wrap}.tf-search{order:2;width:100%;margin-left:0}.tf-footer-grid{grid-template-columns:1fr 1fr}.tf-footer-grid>div:first-child{grid-column:1/-1}.footer-compact .tf-footer-grid{display:grid}.tf-article{padding:25px 19px}}
@media(max-width:480px){.tf-auth a{padding:0 11px}.tf-games,.theme-compact-dark .tf-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 9px}.tf-category{min-height:76px}.tf-hero h1{font-size:2.3rem}.tf-game-play{display:none}.tf-footer-grid{grid-template-columns:1fr}.tf-footer-grid>div:first-child{grid-column:auto}}
.tf-test-page{min-height:100vh;padding:28px 0 60px;overflow-x:hidden}.tf-test-shell{display:grid;grid-template-columns:minmax(0,1fr);width:min(1120px,calc(100% - 32px));margin:auto}.tf-test-shell>*{min-width:0;max-width:100%}.tf-test-toc,.tf-test-article,.tf-test-hero,.tf-test-games,.tf-test-promo,.tf-test-footer{width:100%;margin-bottom:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}.tf-test-toc{max-width:760px;padding:20px 24px}.tf-test-toc>strong{display:block;margin-bottom:10px}.tf-test-toc ol{margin:0;padding-left:22px}.tf-test-toc li+li{margin-top:6px}.tf-test-toc li.level-3{margin-left:18px;font-size:.92rem}.tf-test-toc a{color:var(--text);text-decoration-color:var(--accent);text-underline-offset:4px}.tf-test-hero{position:relative;isolation:isolate;min-height:280px;display:flex;align-items:end;overflow:hidden}.tf-test-hero>img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}.tf-test-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(20,15,30,.92),rgba(20,15,30,.38))}.tf-test-hero>div{min-width:0;max-width:760px;padding:38px}.tf-test-hero-title{margin:8px 0 10px;font-size:clamp(2rem,5vw,4.2rem);font-weight:850;line-height:1.05;letter-spacing:-.045em;overflow-wrap:anywhere}.tf-test-hero p{margin:0;color:#ddd4ea}.tf-test-article{justify-self:center;max-width:840px;margin-left:0;margin-right:0;overflow-wrap:anywhere}.tf-test-article .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.tf-test-article table{min-width:560px}.tf-test-article pre{max-width:100%;overflow:auto}.tf-test-games{padding:24px}.tf-test-games h2{margin:0 0 16px}.tf-test-games>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tf-test-games figure{min-width:0;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--page)}.tf-test-games img{width:100%;aspect-ratio:4/3;object-fit:cover}.tf-test-games figcaption{padding:9px 11px;font-weight:750;overflow-wrap:anywhere}.tf-test-promo{position:relative;isolation:isolate;min-height:180px;display:flex;align-items:end;overflow:hidden}.tf-test-promo>img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}.tf-test-promo:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(24,18,35,.9),rgba(24,18,35,.22))}.tf-test-promo>div{min-width:0;padding:28px}.tf-test-promo h2{margin:0 0 8px}.tf-test-promo p{margin:0}.tf-test-footer{padding:24px;text-align:center}.tf-test-footer p{color:var(--muted)}.theme-editorial-light .tf-test-hero:after{background:linear-gradient(90deg,rgba(247,242,231,.95),rgba(247,242,231,.46))}.theme-editorial-light .tf-test-hero p{color:#4f493f}.theme-editorial-light .tf-test-promo{color:#fff}.theme-editorial-light .tf-test-games figure{background:#f4ecdd}@media(max-width:650px){.tf-test-page{padding-top:10px}.tf-test-shell{width:min(100% - 20px,1120px)}.tf-test-hero{min-height:330px}.tf-test-hero>div{padding:25px 20px}.tf-test-games>div{grid-template-columns:1fr 1fr}.tf-test-toc{padding:17px 19px}.tf-test-article table{min-width:520px}}
.tf-toc{width:100%;margin:24px 0;border:1px solid var(--line);border-radius:10px;background:var(--page);overflow:hidden}.tf-toc summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 19px;font-weight:850;cursor:pointer;list-style:none;user-select:none}.tf-toc summary::-webkit-details-marker{display:none}.tf-toc summary:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.tf-toc-toggle{position:relative;width:18px;height:18px;flex:0 0 18px}.tf-toc-toggle:before,.tf-toc-toggle:after{content:"";position:absolute;left:3px;right:3px;top:8px;height:2px;border-radius:2px;background:currentColor}.tf-toc-toggle:after{transform:rotate(90deg);transition:transform .18s}.tf-toc[open] .tf-toc-toggle:after{transform:rotate(0)}.tf-toc nav{padding:0 19px 18px;border-top:1px solid var(--line)}.tf-toc ol{margin:15px 0 0;padding-left:22px}.tf-toc li+li{margin-top:6px}.tf-toc li.level-3{margin-left:18px;font-size:.92rem}.tf-toc a{color:var(--text);text-decoration-color:var(--accent);text-underline-offset:4px}.tf-article h2,.tf-article h3{scroll-margin-top:90px}@media(max-width:650px){.tf-toc{margin:19px 0}.tf-toc summary{padding:14px 15px}.tf-toc nav{padding:0 15px 15px}}
.tf-test-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;margin-bottom:24px;padding:14px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}.tf-test-nav>strong{flex:0 0 auto}.tf-test-nav>div{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.tf-test-nav a{display:inline-flex;align-items:center;min-height:36px;padding:0 13px;border:1px solid var(--line);border-radius:8px;background:var(--page);color:var(--text);font-size:.86rem;font-weight:750;text-decoration:none}.tf-test-nav a:hover{border-color:var(--accent)}.tf-test-nav a.active{border-color:var(--accent);background:var(--accent);color:#fff}@media(max-width:650px){.tf-test-nav{align-items:stretch;flex-direction:column;padding:14px}.tf-test-nav>div{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.tf-test-nav a{flex:0 0 auto}}
