/*
Theme Name: PlayHive
Theme URI: https://digiwebkit.com/
Author: Sudip Talk
Author URI: https://www.youtube.com/@SudipWebDev
Description: PlayHive is a fast, modern HTML5 games portal theme for WordPress. It adds a Games post type with its own admin menu, categories (with custom icons) and tags, and supports three embed modes per game: URL, iframe code or custom HTML. Visitors get a dark, responsive layout with a category sidebar, play counter, star ratings, likes, social sharing, similar and popular game sections, Load More, a fullscreen player, a built-in blog, and mobile-friendly menus with dropdown submenus. A Games settings page controls brand colors, ads, footer text, social links and more, and one-click export/import moves all games and settings to another site.
Version: 1.1.0
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: playhive
Tags: entertainment, blog, grid-layout, custom-menu, custom-logo, featured-images, left-sidebar, right-sidebar, theme-options, threaded-comments, translation-ready
*/
:root{--bg:#151436;--side:#1d1a57;--card:#25215a;--card2:#211d5c;--pri:#7c4dff;--pri2:#9170ff;--pri-rgb:124,77,255;--pri2-rgb:145,112,255;--pri-d:#3b2f9e;--txt:#fff;--mut:#a9a6d8;--bd:rgba(255,255,255,.09);--star:#f5a524;--side-w:300px;--t1:#e7e5ff;--t2:#e3e1ff;--t3:#d9d7ff;--t4:#dedcff;--t5:#dcdaff;--t6:#d9ccff;--t7:#322d82;--t8:#3b3796;--t9:#4b4784;--t10:#8784c4;--t11:#7e7bb5;--t12:#a995ff;--t13:#8f9bff;--ov-rgb:10,9,32}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--txt);font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;transition:color .2s,background .2s,opacity .2s}
img{max-width:100%;height:auto;display:block}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.25}
button,input,textarea,select{font-family:inherit;font-size:inherit}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.alignleft{float:left;margin:0 1em 1em 0}.alignright{float:right;margin:0 0 1em 1em}.aligncenter{margin:0 auto 1em}
.wp-caption,.gallery-caption,.sticky,.bypostauthor{max-width:100%}

/* Layout */
.tg-app{display:flex;min-height:100vh}
.tg-sidebar{width:var(--side-w);flex:0 0 var(--side-w);background:var(--side);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:60}
.tg-brand{padding:25px 30px 35px;display:flex;align-items:center;gap:12px;font-size:25px;font-weight:600}
.tg-brand img{max-height:56px;width:auto}
.tg-brand svg{width:34px;height:34px;flex:none}
.tg-logo-ico{width:30px;height:30px;flex:none;vertical-align:middle;margin-right:8px}
.tg-brand .tg-logo-ico{margin-right:0}
.tg-cats{flex:1;overflow-y:auto;padding:0 0 30px;scrollbar-width:thin;scrollbar-color:var(--t8) transparent}
.tg-cats a{display:flex;align-items:center;gap:16px;padding:12px 50px;color:var(--t3);font-size:16px}
.tg-cats a:hover,.tg-cats .current>a{color:#fff;background:rgba(var(--pri-rgb),.15)}
.tg-cat-ico{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.07);display:grid;place-items:center;font-size:20px;flex:none;overflow:hidden}
.tg-cat-ico img{width:24px;height:24px;object-fit:contain}
.tg-main{flex:1;min-width:0;display:flex;flex-direction:column}
.tg-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 40px 0;width:100%}
.tg-burger{display:none;background:var(--card);border:0;color:#fff;width:46px;height:46px;border-radius:12px;cursor:pointer;font-size:22px}
.tg-search{position:relative;flex:0 1 360px}
.tg-search input{width:100%;height:52px;border:0;border-radius:30px;background:var(--side);color:#fff;padding:0 20px 0 56px;outline:0}
.tg-search input::placeholder{color:var(--t10)}
.tg-search input:focus{box-shadow:0 0 0 2px var(--pri)}
.tg-search svg{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:22px;height:22px;color:#fff}
.tg-nav ul{display:flex;gap:12px;align-items:center}
.tg-nav a{font-weight:500;font-size:15px}
.tg-nav a:hover{color:var(--pri2)}
.tg-nav a{padding:8px 18px;border-radius:999px;transition:background .2s,color .2s}
.tg-nav .current-menu-item>a,.tg-nav .current_page_item>a,.tg-nav .current-menu-ancestor>a,.tg-nav .current-page-ancestor>a{background:var(--pri);color:#fff;box-shadow:0 4px 14px rgba(var(--pri-rgb),.45)}
.tg-content{flex:1;padding:50px 0 15px}
.tg-wrap{max-width:1400px;margin:0 auto;padding:0 40px}
.tg-overlay{display:none}
.tg-mnav{display:none}
.tg-mlogo,.tg-search-toggle,.tg-search-close{display:none}
.tg-search-pop{display:contents}

/* Titles */
.tg-sec-title{display:flex;align-items:center;gap:20px;margin:0 0 28px}
.tg-sec-title h2{margin:0;font-size:28px;font-weight:600}
.tg-sec-ico{width:40px;height:40px;border-radius:50%;background:var(--card);display:grid;place-items:center;font-size:19px}
.tg-section{margin-bottom:50px}
.tg-page-title{font-size:30px;margin-bottom:28px}

/* Grids & cards */
.tg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px}
.tg-grid-4{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.tg-grid-2{grid-template-columns:repeat(auto-fill,minmax(max(340px,calc(50% - 12px)),1fr))}
.tg-grid.tg-grid-blog{grid-template-columns:repeat(4,1fr)}
.tg-grid-s{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.tg-card{background:var(--card);border-radius:20px;padding:10px 10px 14px;min-width:0;transition:transform .2s}
.tg-card-thumb{display:block;position:relative;aspect-ratio:4/3;border-radius:14px;overflow:visible;margin-bottom:28px}
.tg-thumb-img{display:block;width:100%;height:100%;overflow:hidden;border-radius:inherit}
.tg-card-thumb .tg-thumb-img{position:absolute;inset:0;border-radius:14px}
.tg-card-thumb img,.tg-noimg{width:100%;height:100%;object-fit:cover;border-radius:14px;transition:transform .35s}
.tg-card:hover .tg-card-thumb img,.tg-card:hover .tg-noimg{transform:scale(1.06)}
.tg-noimg{display:grid;place-items:center;background:linear-gradient(135deg,var(--pri-d),var(--pri));font-size:42px}
.tg-play{position:absolute;left:50%;bottom:-24px;transform:translateX(-50%);width:48px;height:48px;border-radius:50%;background:var(--pri);display:grid;place-items:center;color:#fff;transition:transform .2s,background .2s}
.tg-play svg{width:20px;height:20px;margin-left:2px}
.tg-card h3{font-size:18px;font-weight:600;margin:0 0 2px;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-rate{padding:0 4px;color:var(--mut);font-size:14px;display:flex;align-items:center;gap:8px}
.tg-rate i{color:var(--star);font-style:normal}
.tg-popular{padding:20px}
.tg-popular .tg-card-thumb{margin-bottom:14px}
.tg-popular h3{font-size:20px;margin-top:4px}
.tg-popular .tg-rate{margin-bottom:16px}
.tg-btn,.tg-popular .tg-btn,.comment-form .submit{display:inline-block;background:var(--pri);color:#fff;border:0;border-radius:30px;padding:12px 30px;font-weight:500;cursor:pointer;text-align:center}
.tg-btn:hover,.comment-form .submit:hover{background:var(--pri2)}
.tg-popular .tg-btn{display:block}
.tg-btn[disabled]{opacity:.6;cursor:wait}
.tg-center{text-align:center;margin-top:36px}
.tg-row{display:flex;align-items:center;gap:20px;background:var(--card);border-radius:20px;padding:15px;min-width:0}
.tg-row-thumb{width:80px;height:80px;flex:none;border-radius:14px;overflow:hidden;background:#fff}
.tg-row-thumb img{width:100%;height:100%;object-fit:cover}
.tg-row-body{flex:1;min-width:0}
.tg-row h3{font-size:18px;font-weight:600;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-row .tg-rate{padding:0}
.tg-row .tg-play{position:static;transform:none;flex:none;margin-right:10px}
.tg-row:hover .tg-play{transform:scale(1.1)}
.tg-card-post{grid-column:span 2}
.tg-card-post .tg-card-thumb{margin-bottom:14px;aspect-ratio:3/2}
.tg-card-post h3{font-size:15px;font-weight:600;margin:0 0 2px;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-card-post p{margin:6px 4px 0;color:var(--mut);font-size:14px}
.tg-empty{background:var(--card);border-radius:20px;padding:40px;text-align:center;color:var(--mut)}

/* Single game */
.tg-single{display:grid;grid-template-columns:minmax(0,1fr) 312px;gap:24px;align-items:start}
.tg-player{position:relative;height:var(--h,600px);background:#000;overflow:hidden}
.tg-player iframe{width:100%!important;height:100%!important;border:0;display:block}
.tg-player.tg-pseudo-fs{position:fixed;inset:0;height:100%!important;z-index:99999;border-radius:0}
.tg-player-empty{height:100%;display:grid;place-items:center;color:var(--mut);text-align:center;padding:20px}
.tg-game-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-top:18px;flex-wrap:wrap}
.tg-game-title{font-size:28px;font-weight:600;margin:0 0 8px}
.tg-plays{margin:0 0 8px;color:var(--t5);font-size:15px}
.tg-game-btns{display:flex;gap:14px;flex-wrap:wrap}
.tg-pill{display:inline-flex;align-items:center;gap:12px;background:var(--card);color:#fff;border:0;border-radius:30px;padding:14px 24px;cursor:pointer;font-weight:500}
.tg-pill:hover{background:var(--t7)}
.tg-pill svg{width:22px;height:22px}
.tg-rating{display:flex;align-items:center;gap:6px;margin-bottom:18px}
.tg-stars{display:inline-flex}
.tg-star{background:none;border:0;padding:0 2px;font-size:20px;line-height:1;color:var(--t9);cursor:pointer}
.tg-star.on{color:var(--star)}
.tg-rate-txt{color:var(--t13);margin-left:4px}
.tg-actions{display:flex;gap:10px;align-items:center;margin-bottom:34px}
.tg-act{width:40px;height:40px;border-radius:50%;border:0;background:var(--card);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;gap:6px;padding:0}
.tg-act{position:relative}
.tg-act svg{width:18px;height:18px;fill:currentColor}
.tg-act b{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#fff;color:var(--pri);font-size:11px;font-weight:600;line-height:18px;text-align:center}
.tg-act b:empty{display:none}
.tg-act.active{background:var(--pri)}
.tg-act.fb{background:#3b5998}.tg-act.tw{background:#1da1f2}
.tg-act.wa{background:#25d366}.tg-act.tg-share{background:var(--pri)}
.tg-act .tg-copied{display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:5px 10px;border-radius:8px;background:#fff;color:var(--bg);font-size:12px;font-weight:600;white-space:nowrap}
.tg-act.copied .tg-copied{display:block}
.tg-box{background:var(--card);border-radius:20px;padding:22px 20px;margin-bottom:24px}
.tg-box h3{font-size:22px;font-weight:600;margin:0 0 18px}
.tg-mini-list li{margin-bottom:16px}
.tg-mini-list li:last-child{margin-bottom:0}
.tg-mini{display:flex;align-items:center;gap:15px}
.tg-mini-img{width:50px;height:50px;border-radius:50%;overflow:hidden;flex:none;background:var(--pri)}
.tg-mini-img img{width:100%;height:100%;object-fit:cover}
.tg-mini h4{margin:0;font-size:17px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-mini span{color:var(--mut);font-size:14px}
.tg-mini>div{min-width:0}
.tg-mini:hover h4{color:var(--pri2)}
.tg-h{font-size:20px;font-weight:600;margin:28px 0 12px}
.tg-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}
.tg-chip{background:var(--card);border-radius:10px;padding:8px 16px;font-size:15px;display:inline-flex;align-items:center;gap:8px}
.tg-chip:hover{background:var(--t7)}
.tg-chip .tg-cat-ico{width:20px;height:20px;font-size:13px;background:none}
/* Description / instructions cards */
.tg-info{background:var(--card);border-radius:20px;padding:28px 32px;margin-bottom:24px}
.tg-info-title{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:600;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid var(--bd)}
.tg-info-ico{width:38px;height:38px;border-radius:12px;background:rgba(var(--pri-rgb),.2);display:grid;place-items:center;font-size:19px;flex:none}
.tg-info-meta{background:none;padding:0 0 14px}
.tg-meta-row{display:flex;gap:18px;align-items:flex-start;margin-bottom:16px}
.tg-meta-label{font-size:16px;font-weight:600;margin:6px 0 0;min-width:96px;color:#fff}
.tg-info-meta .tg-chips{margin:0}
.tg-info-meta .tg-chip:hover{background:var(--pri)}

/* Content typography (overrides pasted inline colors / fonts / sizes) */
.tg-entry{font-size:15px;line-height:1.85;color:var(--t4);overflow-wrap:anywhere}
.tg-entry>*:first-child{margin-top:0!important}
.tg-entry>*:last-child{margin-bottom:0!important}
.tg-entry :where(p,span,div,li,td,th,strong,b,em,i,u,font,section,article,figcaption,small,label){color:inherit!important;font-family:inherit!important;background:transparent!important}
.tg-entry :where(p,li,span,div,font,td,th){font-size:inherit!important;line-height:inherit!important}
.tg-entry p{margin:0 0 1.1em}
.tg-entry :where(h1,h2,h3,h4,h5,h6){color:#fff!important;font-family:inherit!important;font-weight:600!important;line-height:1.35!important;margin:1.6em 0 .6em;background:transparent!important}
.tg-entry h1{font-size:24px!important}.tg-entry h2{font-size:21px!important}.tg-entry h3{font-size:18px!important}.tg-entry :where(h4,h5,h6){font-size:16px!important}
.tg-entry h2,.tg-entry h3{padding-left:14px;border-left:4px solid var(--pri)}
.tg-entry :where(strong,b){color:#fff!important;font-weight:600}
.tg-entry a,.tg-entry a *{color:var(--t12)!important;text-decoration:underline;text-underline-offset:3px}
.tg-entry a:hover,.tg-entry a:hover *{color:#fff!important}
.tg-entry ul,.tg-entry ol{margin:0 0 1.2em;padding:0;list-style:none;counter-reset:tgli}
.tg-entry li{position:relative;padding-left:34px;margin-bottom:.65em}
.tg-entry ul>li::before{content:"";position:absolute;left:10px;top:.78em;width:8px;height:8px;border-radius:50%;background:var(--pri2)}
.tg-entry ol>li{counter-increment:tgli}
.tg-entry ol>li::before{content:counter(tgli);position:absolute;left:0;top:.28em;width:24px;height:24px;border-radius:50%;background:rgba(var(--pri-rgb),.28);color:#fff;font-size:12px;font-weight:600;line-height:24px;text-align:center}
.tg-entry blockquote{margin:0 0 1.2em;padding:14px 20px;border-left:4px solid var(--pri);background:rgba(255,255,255,.05)!important;border-radius:0 12px 12px 0}
.tg-entry img{border-radius:12px;margin:1em 0;height:auto}
.tg-entry hr{border:0;border-top:1px solid var(--bd);margin:1.6em 0}
.tg-entry table{width:100%;border-collapse:collapse;margin:0 0 1.2em;font-size:14px;display:block;overflow-x:auto}
.tg-entry :where(th,td){border:1px solid var(--bd);padding:10px 14px;text-align:left}
.tg-entry th{background:rgba(var(--pri-rgb),.2)!important;color:#fff!important}
.tg-entry :where(code,pre,kbd){background:rgba(0,0,0,.28)!important;border-radius:6px;padding:2px 6px;font-size:13px}
.tg-entry pre{padding:14px;overflow-x:auto}
.tg-ad{text-align:center;margin:24px 0;color:var(--mut);font-size:14px;overflow:hidden}
.tg-ad::before{content:"Advertisement";display:block;margin-bottom:8px}

/* Comments */
.tg-comments{background:var(--card2);border:1px solid var(--bd);border-radius:20px;padding:30px;margin:44px 0 52px}
.tg-comments .tg-h{margin-top:0;display:flex;align-items:center;gap:10px}
.tg-cm-count{background:var(--pri);color:#fff;font-size:13px;font-weight:600;line-height:1;padding:6px 10px;border-radius:20px}
.tg-no-comments{text-align:center;padding:26px 0 34px;font-size:20px;font-weight:600}
.tg-no-comments svg{width:46px;height:46px;color:var(--pri2);margin:0 auto 8px;display:block}
.tg-no-comments small{display:block;font-size:14px;font-weight:400;color:var(--mut);margin-top:2px}
.tg-comment-list{list-style:none;margin:0 0 34px;padding:0}
.tg-comment-list .tg-cm{margin-bottom:14px}
.tg-comment-list .children{list-style:none;margin:14px 0 0 28px;padding:0 0 0 18px;border-left:2px solid rgba(var(--pri-rgb),.35)}
.tg-cm-card{display:flex;gap:14px;background:var(--card);border:1px solid var(--bd);border-radius:16px;padding:18px;transition:border-color .2s}
.tg-cm-card:hover{border-color:rgba(var(--pri2-rgb),.45)}
.tg-cm-avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.12)}
.tg-cm-main{flex:1;min-width:0}
.tg-cm-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:6px}
.tg-cm-author{font-weight:600;font-size:15px;color:#fff}
.tg-cm-author a{color:inherit}
.tg-cm-badge{background:rgba(var(--pri-rgb),.3);color:var(--t6);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;padding:2px 8px;border-radius:20px}
.tg-cm-date{font-size:12.5px;color:var(--mut)}
.tg-cm-date:hover{color:#fff}
.tg-cm-wait{font-size:13px;color:var(--star);margin:0 0 6px}
.tg-cm-text{color:var(--t1);font-size:14.5px;overflow-wrap:anywhere}
.tg-cm-text p{margin:0 0 8px}
.tg-cm-text p:last-child{margin-bottom:0}
.tg-cm-foot{display:flex;gap:10px;margin-top:12px;font-size:13px}
.tg-cm-foot a{background:rgba(255,255,255,.07);color:var(--t1);padding:4px 14px;border-radius:20px;font-weight:500}
.tg-cm-foot a:hover{background:var(--pri);color:#fff}
.comment-respond{border-top:1px solid var(--bd);padding-top:26px}
.comment-reply-title{font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:10px}
.comment-reply-title small a{font-size:13px;font-weight:500;color:var(--pri2)}
.comment-form p{margin:0 0 16px}
.comment-form .logged-in-as{font-size:13.5px;color:var(--mut);background:rgba(255,255,255,.05);border-radius:12px;padding:10px 14px}
.comment-form .logged-in-as a{color:var(--pri2);font-weight:500}
.comment-form .logged-in-as a:hover{color:#fff}
.comment-form label{display:block;margin-bottom:6px;color:var(--mut);font-size:13.5px;font-weight:500}
.comment-form .required{color:var(--pri2)}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;background:var(--bg);border:1px solid var(--bd);color:#fff;border-radius:14px;padding:14px 18px;outline:0;transition:border-color .2s,box-shadow .2s}
.comment-form textarea{min-height:140px;resize:vertical}
.comment-form ::placeholder{color:var(--t11)}
.comment-form input:focus,.comment-form textarea:focus{border-color:var(--pri);box-shadow:0 0 0 3px rgba(var(--pri-rgb),.25)}
.comment-form-cookies-consent{display:flex;align-items:center;gap:8px}
.comment-form-cookies-consent label{display:inline;margin:0}
.comment-form .form-submit{margin:0}
.comment-form .submit{display:inline-flex;align-items:center;gap:8px;border:0;font-weight:600;font-size:15px;padding:13px 30px;box-shadow:0 6px 18px rgba(var(--pri-rgb),.35)}
.comment-form .submit:hover{transform:translateY(-1px)}
@media(max-width:600px){.tg-comments{padding:20px 16px}.tg-cm-card{padding:14px;gap:10px}.tg-cm-avatar img{width:40px;height:40px}.tg-comment-list .children{margin-left:10px;padding-left:10px}}

/* Pages / posts */
.tg-with-side{display:grid;grid-template-columns:minmax(0,1fr) 312px;gap:24px;align-items:start}
.tg-article{background:var(--card2);border-radius:20px;padding:34px;margin-bottom:24px}
.tg-article h1{font-size:30px}
.tg-meta{color:var(--mut);font-size:14px;margin-bottom:18px}
.tg-narrow{max-width:1000px;margin:auto}
.tg-article .tg-entry{font-size:16px}

.tg-post-nav{display:flex;justify-content:space-between;gap:20px;margin-top:24px;color:var(--pri2)}
.tg-pagination{display:flex;justify-content:center;gap:8px;margin-top:40px;flex-wrap:wrap}
.tg-pagination .page-numbers{min-width:42px;height:42px;padding:0 12px;border-radius:12px;background:var(--card);display:grid;place-items:center}
.tg-pagination .current,.tg-pagination a:hover{background:var(--pri)}
.tg-404{text-align:center;padding:80px 20px}
.tg-404 h1{font-size:90px;margin:0;color:var(--pri2)}
.tg-aside .widget{background:var(--card);border-radius:20px;padding:22px 20px;margin-bottom:24px}
.tg-aside .widget-title{font-size:20px}
.tg-aside .widget li{margin-bottom:8px}

/* Footer */
.tg-footer{border-top:1px solid var(--bd)}
.tg-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:40px;align-items:start;padding:60px 0}
.tg-footer p{margin:0;font-size:14px;color:var(--t2)}
.tg-foot-title{display:inline-block;font-size:22px;font-weight:700;color:#fff;margin-bottom:12px}
.tg-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.tg-social a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--card2);color:#fff;transition:background .2s}
.tg-social a:hover{background:var(--pri)}
.tg-foot-c{text-align:center}
.tg-dmca{display:inline-flex;font-size:10px;font-weight:700;border-radius:2px;overflow:hidden;margin-bottom:22px}
.tg-dmca b{background:#2a83c8;color:#fff;padding:3px 6px}.tg-dmca span{background:#222;color:#fff;padding:3px 6px}
.tg-foot-c .t{font-size:16px;font-weight:600;color:#fff;line-height:1.3;margin:0 0 22px}
.tg-foot-links{list-style:none;margin:0;padding:0}
.tg-foot-links li{margin-bottom:10px}
.tg-foot-links a{color:var(--t2);font-size:15px;background:none;padding:0}
.tg-foot-links a:hover{color:#fff;text-decoration:underline}
.tg-foot-bottom{border-top:1px solid var(--bd);padding:15px 0;display:flex;justify-content:space-between;gap:20px;font-size:15px}
.tg-foot-bottom span:first-child{flex:1;text-align:center}

/* Responsive */
@media(max-width:1400px){.tg-single,.tg-with-side{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:1100px){.tg-single,.tg-with-side{grid-template-columns:1fr}.tg-nav{display:none}.tg-footer-grid{grid-template-columns:1fr}.tg-mnav{display:block;flex:none;padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid var(--bd)}.tg-mnav a{display:block;padding:12px 50px;color:var(--t3);font-size:16px;font-weight:500}.tg-mnav a:hover,.tg-mnav .current-menu-item>a{color:#fff;background:rgba(var(--pri-rgb),.15)}}
@media(max-width:1000px){
 .tg-sidebar{position:fixed;left:0;top:0;transform:translateX(-100%);transition:transform .25s}
 .tg-side-open .tg-sidebar{transform:none}
 .tg-side-open .tg-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:55}
 .tg-burger{display:block}
 .tg-topbar{display:grid;grid-template-columns:46px 1fr 46px;align-items:center;gap:10px;padding:16px 20px}
 .tg-mlogo{display:flex;justify-content:center;align-items:center;min-width:0;font-size:20px;font-weight:600;text-align:center}
 .tg-mlogo a{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .tg-mlogo img{max-height:40px;width:auto}
 .tg-search-toggle{display:grid;place-items:center;justify-self:end;width:46px;height:46px;border:0;border-radius:12px;background:var(--card);color:#fff;cursor:pointer}
 .tg-search-pop{display:none;position:fixed;inset:0;z-index:100;padding:84px 20px 20px;background:rgba(var(--ov-rgb),.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
 .tg-search-open .tg-search-pop{display:block}
 .tg-search-open{overflow:hidden}
 .tg-search-pop .tg-search{max-width:640px;margin:0 auto;flex:none}
 .tg-search-pop .tg-search input{height:56px;font-size:16px;box-shadow:0 0 0 2px var(--pri)}
 .tg-search-close{display:grid;place-items:center;position:absolute;top:18px;right:20px;width:46px;height:46px;border:0;border-radius:50%;background:var(--card);color:#fff;font-size:28px;line-height:1;cursor:pointer}
 .tg-wrap{padding:0 20px}.tg-content{padding-top:30px}
}
@media(max-width:700px){
 .tg-info{padding:22px 20px}.tg-meta-row{flex-direction:column;gap:6px}.tg-meta-label{margin:0}
 .tg-grid,.tg-grid-4{grid-template-columns:repeat(2,1fr);gap:14px}.tg-grid.tg-grid-blog{grid-template-columns:repeat(2,1fr)}.tg-grid-2{grid-template-columns:1fr}
 .tg-player{height:var(--hm,420px)}
 .tg-card h3{font-size:15px}.tg-sec-title h2{font-size:22px}.tg-game-title{font-size:22px}
 .tg-card-post{grid-column:auto}
 .tg-foot-bottom{flex-direction:column;text-align:center}
 .tg-pill{padding:10px 15px}
 .tg-game-btns{flex-wrap:nowrap}
 .tg-rating{margin:20px 0}
 .tg-chip{padding:5px 10px;font-size:14px}
 .tg-info-meta{padding:20px 0}
}

@media(max-width:900px){.tg-grid.tg-grid-blog{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.tg-grid.tg-grid-blog{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.tg-grid.tg-grid-blog{grid-template-columns:1fr}}
.tg-grid-blog .tg-card-post{grid-column:auto}

/* Header submenus (desktop dropdown) */
.tg-nav li{position:relative}
.tg-nav .menu-item-has-children>a{display:inline-flex;align-items:center;gap:8px}
.tg-nav .menu-item-has-children>a::after,.tg-mnav .menu-item-has-children>a::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s;flex:none}
.tg-nav .menu-item-has-children:hover>a::after,.tg-nav .menu-item-has-children:focus-within>a::after{transform:rotate(225deg) translate(-2px,-1px)}
.tg-nav .sub-menu{display:block;position:absolute;top:100%;right:0;left:auto;min-width:210px;margin:0;padding:8px;list-style:none;background:var(--card);border:1px solid var(--bd);border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.45);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s;z-index:60}
.tg-nav li:hover>.sub-menu,.tg-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.tg-nav .menu-item-has-children::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.tg-nav .sub-menu li{display:block}
.tg-nav .sub-menu a{display:flex;padding:10px 14px;border-radius:10px;white-space:nowrap;font-size:14px}
.tg-nav .sub-menu a:hover{background:rgba(var(--pri-rgb),.18);color:#fff}
.tg-nav .sub-menu .sub-menu{top:0;right:100%;left:auto;margin:0 8px 0 0}
.tg-nav .sub-menu .menu-item-has-children>a::after{margin-left:auto;transform:rotate(135deg)}
/* Mobile submenus (accordion) */
.tg-mnav .menu-item-has-children{position:relative}
.tg-mnav .menu-item-has-children>a{display:flex;align-items:center;justify-content:space-between;padding-right:56px}
.tg-mnav .sub-menu{display:none;margin:0;padding:0;list-style:none;background:rgba(0,0,0,.14)}
.tg-mnav .menu-item.tg-open>.sub-menu{display:block}
.tg-mnav .sub-menu a{padding:10px 50px 10px 70px;font-size:15px}
.tg-mnav .sub-menu .sub-menu a{padding-left:90px}
.tg-mnav .menu-item-has-children>a::after{display:none}
.tg-sub-toggle{position:absolute;right:10px;top:0;width:44px;height:46px;background:none;border:0;color:var(--t3);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.tg-sub-toggle::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.tg-mnav .tg-open>.tg-sub-toggle::before{transform:rotate(225deg) translate(-2px,-1px)}

.tg-main{overflow-x:clip}

/* Fit fixes for narrower screens */
.tg-rate{white-space:nowrap;min-width:0}
.tg-nav a{white-space:nowrap}
.tg-nav{flex:none}
@media(max-width:1300px){.tg-topbar{padding-left:28px;padding-right:28px;gap:14px}.tg-nav ul{gap:4px}.tg-nav a{padding:8px 12px;font-size:14px}.tg-search{flex-basis:300px}}
