/* telegram.org-inspired catalogue. System fonts, no third-party assets. */
:root{color-scheme:light;--bg:#fff;--text:#333;--muted:#686868;--link:#007cba;--accent:#0088cc;--border:#e6e6e6;--band:#f5f5f5;--input:#fff;--button:#007cba;--button-text:#fff;--note:#edf7fd}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;--bg:#181818;--text:#e6e6e6;--muted:#aaa;--link:#6ab3f3;--accent:#6ab3f3;--border:#383838;--band:#212121;--input:#212121;--button:#6ab3f3;--button-text:#181818;--note:#212d37}}
:root[data-theme="dark"]{color-scheme:dark;--bg:#181818;--text:#e6e6e6;--muted:#aaa;--link:#6ab3f3;--accent:#6ab3f3;--border:#383838;--band:#212121;--input:#212121;--button:#6ab3f3;--button-text:#181818;--note:#212d37}
*{box-sizing:border-box}html{scroll-padding-top:64px}body{margin:0;background:var(--bg);color:var(--text);font:15px/24px -apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}img{max-width:100%;height:auto}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{font-weight:600;line-height:1.3;color:var(--text)}h1{font-size:24px;margin:0 0 18px}h2{font-size:18px;margin:30px 0 14px}h3{font-size:15px;margin:22px 0 10px}p{margin:0 0 16px}button,input{font:inherit}button,summary{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.tg-skip{position:absolute;top:-60px;left:16px;z-index:100;background:var(--bg);padding:8px 16px}.tg-skip:focus{top:0}
/* A shallow header and grouped navigation replace the chat-list rail. */
.tg-topbar{border-bottom:1px solid var(--border);background:var(--bg);position:relative;z-index:40}.gx-header{height:48px;max-width:1130px;margin:auto;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:20px}.tg-navigation{display:flex;align-items:stretch;height:48px;gap:8px}.tg-nav-tab{display:flex;align-items:center;padding:0 12px;height:48px;font-weight:500;font-size:15px;border-bottom:3px solid transparent;color:var(--link);white-space:nowrap}.tg-nav-tab[aria-current],.tg-nav-group[data-active]>.tg-nav-tab{border-color:var(--accent)}summary{list-style:none}summary::-webkit-details-marker{display:none}.tg-nav-group{position:relative}.tg-nav-group[open]>.tg-nav-tab{border-color:var(--accent)}.tg-nav-panel,.gx-languages>div{position:absolute;top:48px;background:var(--bg);border:1px solid var(--border);box-shadow:0 6px 16px #00000014;padding:14px 18px;z-index:45}.tg-nav-panel{width:340px;max-height:70vh;overflow:auto}.tg-nav-panel .tg-side-links li{display:flex;justify-content:space-between;gap:14px;padding:5px 0}.tg-nav-panel .tg-side-links a{flex:1}.gx-head-links{display:flex;align-items:center;gap:10px}.gx-languages{position:relative}.gx-languages summary{display:flex;align-items:center;gap:5px;height:44px;color:var(--link);white-space:nowrap}.gx-languages>div{right:0;min-width:145px}.gx-languages a{display:block;padding:6px 0}.gx-languages a[aria-current]{font-weight:600}.gx-search{display:flex;align-items:center;height:32px;border-bottom:1px solid var(--border);width:160px}.gx-search input{width:100%;min-width:0;border:0;outline:none;background:var(--bg);color:var(--text);font-size:14px}.gx-search button,.tg-theme-toggle{display:grid;place-items:center;width:32px;height:40px;background:transparent;border:0;padding:0;color:var(--muted);flex-shrink:0}.tg-theme-toggle{margin-left:5px}.gx-menu-toggle{display:none;border:0;background:transparent;color:var(--link);padding:0;height:44px;font-weight:500}.gx-menu-toggle span{margin-right:8px}
/* Three-column editorial layout: icon, readable text, contextual links. */
.tg-layout{display:grid;grid-template-columns:120px minmax(0,740px) 200px;gap:30px;max-width:1150px;margin:0 auto;padding:48px 15px 24px;min-height:50vh}.tg-main{grid-column:2;min-width:0}.tg-page-icon{grid-column:1;grid-row:1;padding-top:10px}.tg-page-icon img{display:block;width:120px;height:120px;object-fit:cover;border-radius:22px}.gx-rail-icon{display:grid;place-items:center;background:var(--note);color:var(--link);width:112px;height:112px;border-radius:50%;font-size:48px;font-weight:500}.tg-sidebar{grid-column:3;grid-row:1;align-self:start;border-left:2px solid var(--accent);padding-left:18px;min-width:0;margin-top:6px;font-size:14px;line-height:20px}.tg-sidebar h2{font-size:15px;color:var(--link);margin:0 0 16px}.tg-sidebar section+section{margin-top:30px}.tg-side-links,.tg-recent{padding:0;margin:0;list-style:none}.tg-side-links li{margin:0 0 10px}.tg-count{font-size:13px;color:var(--muted)}.tg-recent li{margin:0 0 17px}.tg-recent time{display:block;font-size:13px;font-weight:600;margin-bottom:2px}.tg-recent a{display:block}.tg-service .tg-layout,.tg-search .tg-layout,.tg-404 .tg-layout{display:block;max-width:830px;padding-top:42px}.tg-404 .tg-layout{max-width:1000px;text-align:center;padding-top:75px}.tg-404 .tg-grid{margin-top:42px}.gx-crumb{display:flex;flex-wrap:wrap;gap:0 6px;font-size:13px;color:var(--muted);line-height:20px;margin:0 0 16px}.gx-crumb span{color:var(--muted)}
/* Unboxed, fully visible database prose and FAQ. */
.gx-prose{overflow-wrap:anywhere;margin-bottom:26px}.gx-prose>:first-child{margin-top:0}.gx-prose ul,.gx-prose ol{padding-left:20px;margin:0 0 18px}.gx-prose li{padding-left:2px;margin:4px 0}.gx-prose li::marker{color:var(--accent);font-size:.75em}.gx-prose ol li::marker{font-size:1em}.gx-prose img{display:block;margin:18px 0}.gx-prose blockquote{margin:20px 0;padding:8px 12px;border-left:2px solid var(--accent);background:var(--note)}.gx-prose table{display:block;max-width:100%;overflow:auto;border-collapse:collapse;margin:18px 0}.gx-prose th,.gx-prose td{padding:8px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}.tg-html-sitemap>ul{columns:2;column-gap:35px}.tg-html-sitemap li{break-inside:avoid}.gx-faq-section{margin:38px 0}.gx-faq-item{margin:0 0 24px}.gx-faq-item h3{margin:0 0 8px;font-size:15px;font-weight:600}.gx-faq-item p{margin:0}.tg-home-text{margin-top:45px}
/* Home follows the centered logo, small subtitle, and application tiles. */
.tg-home .tg-layout{grid-template-columns:minmax(0,1fr) 200px;max-width:1100px;gap:35px;padding-top:38px}.tg-home .tg-main{grid-column:1}.tg-home .tg-sidebar{grid-column:2}.tg-home-hero{text-align:center;margin:0 0 38px;padding:0 0 14px}.tg-home-brand{display:flex;flex-direction:column;align-items:center;gap:12px;margin:0 0 14px;color:var(--text);font-size:28px;line-height:36px;font-weight:600}.tg-home-brand img{width:128px;height:128px;object-fit:contain}.tg-home-brand:hover{text-decoration:none}.tg-home-hero h1{font-size:22px;line-height:30px;margin:0 auto 8px;max-width:650px}.tg-subtitle{font-size:17px;color:var(--muted);margin:0}.tg-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 18px;margin:32px 0}.tg-card{min-width:0;text-align:center}.gx-game{display:block;margin:0 auto 12px;width:86px}.gx-game img{display:block;object-fit:cover;width:86px;height:86px;border-radius:18px}.tg-card-title{font-size:15px;line-height:21px;margin:0;font-weight:500;overflow-wrap:anywhere}.tg-card-text{display:none}.tg-card-status{font-size:13px;line-height:18px;color:var(--muted);margin:5px 0 0}.tg-related .tg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tg-list{margin:30px 0}.tg-list .tg-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:16px;text-align:left;margin:0 0 25px}.tg-list .gx-game{width:54px;margin:0}.tg-list .gx-game img{width:54px;height:54px;border-radius:12px}.tg-list .tg-card-title{font-size:16px;margin:0 0 4px}.tg-list .tg-card-text{display:block;font-size:14px;line-height:21px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-list .tg-card-status{margin-top:4px}.tg-pagination{display:flex;flex-wrap:wrap;gap:6px;margin:30px 0}.tg-pagination a,.tg-pagination span{min-width:34px;min-height:36px;display:grid;place-items:center;padding:0 7px}.tg-pagination span{font-weight:600;border-bottom:2px solid var(--accent)}
/* Game pages keep all media and official-link attributes. */
.tg-hero{margin:0 0 26px}.tg-hero h1{font-size:26px;line-height:1.25;margin:0 0 18px}.tg-excerpt i{font-style:normal}.tg-meta{list-style:none;padding:0;margin:18px 0;color:var(--muted);font-size:14px}.tg-meta strong{color:var(--text);font-weight:600}.tg-open{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;background:var(--button);color:var(--button-text);border-radius:4px;font-weight:600}.tg-open:hover{color:var(--button-text);text-decoration:underline}.tg-status{color:var(--muted);border-left:2px solid var(--accent);padding:6px 12px;margin:18px 0;font-size:14px;line-height:22px}.tg-gallery{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;margin:18px 0 28px;padding-bottom:10px;max-width:100%;scroll-snap-type:x mandatory}.tg-gallery a{flex:0 0 31%;scroll-snap-align:start}.tg-gallery img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain;object-position:top}.tg-links{list-style:none;padding:0;margin:24px 0;display:grid;gap:4px}.tg-links a{display:inline-flex;align-items:center;gap:10px;min-height:34px}.tg-link-ico{display:inline-block;width:23px;text-align:center}.tg-chipgroups{margin:26px 0 30px}.tg-chipgroups>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;margin:8px 0}.tg-chipgroups dt{font-size:14px;color:var(--muted)}.tg-chipgroups dd{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0}.tg-chip{font-size:14px}.tg-search-form{display:flex;gap:10px;margin:24px 0 32px}.tg-search-form input{min-width:0;flex:1;border:1px solid var(--border);background:var(--input);color:var(--text);padding:8px 12px}.tg-search-form button{background:var(--button);color:var(--button-text);border:0;padding:8px 18px;border-radius:3px}
/* Grey footer with quiet columns, including the existing age notice and tracker. */
.gx-footer{background:var(--band);border-top:1px solid var(--border);padding:32px 20px 22px;margin-top:45px;font-size:14px;line-height:22px}.gx-footer .container{max-width:1000px;margin:auto}.tg-footer-top{display:grid;grid-template-columns:minmax(0,2fr) 1fr 1fr;gap:65px}.tg-footer-brand{max-width:350px}.tg-footer-brand strong{font-size:16px;font-weight:600}.tg-footer-brand p{margin:10px 0 0;color:var(--muted)}.tg-footer-column h2{font-size:14px;margin:0 0 10px}.tg-footer-links{list-style:none;padding:0;margin:0}.tg-footer-links li{margin:0 0 5px}.tg-footer-links a{color:var(--muted)}.tg-age{margin:26px 0 0;color:var(--muted);font-size:13px;line-height:21px}.tg-copy{color:var(--muted);font-size:13px;margin:10px 0 0}.gx-back-top{position:fixed;right:18px;bottom:18px;z-index:35;border:1px solid var(--border);background:var(--bg);padding:8px 14px;border-radius:3px;font-size:14px}.gx-back-top[hidden]{display:none}
@media(max-width:1100px){.tg-layout{grid-template-columns:90px minmax(0,1fr) 180px;gap:24px}.tg-page-icon img{width:90px;height:90px}.gx-rail-icon{width:86px;height:86px;font-size:38px}.tg-home .tg-layout{grid-template-columns:minmax(0,1fr) 180px;gap:26px}.tg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gx-header{gap:10px}.tg-nav-tab{padding:0 9px}.tg-navigation{gap:2px}}
@media(max-width:800px){.tg-layout{grid-template-columns:75px minmax(0,1fr);padding-top:35px;gap:24px}.tg-page-icon img{width:75px;height:75px}.gx-rail-icon{width:72px;height:72px;font-size:32px}.tg-sidebar{grid-column:2;grid-row:auto;margin-top:16px}.tg-home .tg-layout{grid-template-columns:minmax(0,1fr)}.tg-home .tg-sidebar{grid-column:1;grid-row:1}.tg-home .tg-main{grid-row:2}.tg-home .tg-recent{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}.tg-home .tg-sidebar{margin-bottom:12px}.gx-search{width:110px}.tg-nav-tab{padding:0 6px}.gx-head-links{gap:5px}.gx-header{gap:8px}.tg-footer-top{gap:24px}}
@media(max-width:640px){.gx-header{padding:0 15px;height:48px}.gx-menu-toggle{display:block}.tg-navigation{display:none;position:absolute;top:48px;left:0;right:0;height:auto;background:var(--bg);padding:8px 15px 20px;border-bottom:1px solid var(--border);max-height:calc(100dvh - 48px);overflow:auto}.gx-nav-open .tg-navigation{display:block}.tg-nav-tab{height:44px;padding:0 8px;border:0;border-left:3px solid transparent}.tg-nav-tab[aria-current],.tg-nav-group[data-active]>.tg-nav-tab,.tg-nav-group[open]>.tg-nav-tab{border-color:var(--accent)}.tg-nav-group>.tg-nav-tab:after{content:'⌄';margin-left:auto}.tg-nav-panel{position:static;width:auto;max-height:none;box-shadow:none;border:0;padding:6px 20px}.gx-head-links{gap:8px}.gx-search{width:100px}.gx-search input{font-size:13px}.tg-theme-toggle{margin-left:0}.tg-layout{display:block;padding:32px 15px 10px}.tg-page-icon{float:left;margin:0 18px 12px 0;padding-top:0}.tg-page-icon img{width:64px;height:64px;border-radius:14px}.gx-rail-icon{width:64px;height:64px;font-size:30px}.tg-category .gx-crumb{min-height:20px}.tg-category h1{min-height:30px;margin-bottom:24px}.tg-archive-description{clear:both}.tg-game .tg-hero h1{font-size:24px;min-height:30px}.tg-game .tg-excerpt{clear:both}.tg-sidebar{clear:both;margin:36px 0 16px;padding-left:17px}.tg-home .tg-layout{display:flex;flex-direction:column;padding-top:24px}.tg-home .tg-sidebar{order:-1;margin:0 16px 0}.tg-home .tg-recent{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.tg-home .tg-sidebar h2{margin-bottom:12px}.tg-home-hero{padding-top:6px;margin-bottom:28px}.tg-home-brand{font-size:26px;gap:8px}.tg-home-brand img{width:96px;height:96px}.tg-home-hero h1{font-size:20px;line-height:28px}.tg-subtitle{font-size:16px}.tg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px;margin:30px 0}.gx-game,.gx-game img{width:90px;height:90px}.tg-list .gx-game,.tg-list .gx-game img{width:48px;height:48px}.tg-list .tg-card{grid-template-columns:48px minmax(0,1fr);gap:14px}.tg-card-title{font-size:15px}.tg-related .tg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-gallery a{flex-basis:62%}.tg-chipgroups>div{grid-template-columns:75px minmax(0,1fr);gap:10px}.tg-service .tg-layout,.tg-search .tg-layout{padding:38px 15px 12px}.tg-404 .tg-layout{padding:50px 15px 12px}.tg-404 h1{font-size:22px}h1{font-size:22px}.tg-html-sitemap>ul{columns:1}.tg-footer-top{grid-template-columns:1fr 1fr;gap:28px}.tg-footer-brand{grid-column:1/-1}.gx-footer{padding:28px 15px 20px}.gx-back-top{right:10px;bottom:10px}.tg-open{max-width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Links on shaded surfaces retain AA contrast. */
.tg-age a{color:inherit;text-decoration:underline}.gx-prose blockquote a{color:#0074ad}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .gx-prose blockquote a{color:var(--link)}}
:root[data-theme="dark"] .gx-prose blockquote a{color:var(--link)}
