/*
Theme Name: UltraCity Jade Prosperity
Theme URI: https://themes.example.com/yef
Author: UltraCity Studio
Author URI: https://themes.example.com/yef
Description: Jade Prosperity archetype WordPress theme — overlay-hero, masonry grid, compact cards
Version: 2.0.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
Text Domain: yeft
*/

/* archetype:JADE layout:overlay-hero grid:masonry sidebar:left card:compact header:minimal footer:2col */

:root{
  --yef-base:#022c22;--yef-base-2:#04382b;--yef-base-3:#064e3b;
  --yef-acc:#eab308;--yef-acc-2:#34d399;--yef-text:#e8f5ee;
  --yef-muted:#86b8a4;--yef-line:rgba(234,179,8,.26);
  --yef-font-display:'Marcellus', serif;--yef-font-body:'Karla', sans-serif;
}


/* ================================================================
   UltraCity Jade Prosperity — Jade Prosperity design system (archetype: JADE)
   structure: hero=overlay-hero grid=masonry sidebar=left
   card=compact header=minimal footer=2col
   ================================================================ */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Karla', sans-serif;font-size:16px;line-height:1.65;color:#e8f5ee;-webkit-font-smoothing:antialiased;position:relative;z-index:1}
img{max-width:100%;height:auto}
a{color:#eab308;text-decoration:none;transition:color .2s ease}
a:hover{color:#34d399}
h1,h2,h3,h4{margin:0 0 .6em}
p{margin:0 0 1em}
.yef-wrap{max-width:1240px;margin:0 auto;padding:0 20px}
.yef-skip{position:absolute;left:-9999px;top:0;background:#eab308;color:#052e22;padding:8px 16px;z-index:999}
.yef-skip:focus{left:8px}

/* ---------- header ---------- */
.yef-topbar{position:sticky;top:0;z-index:100;background:#04382b;border-bottom:1px solid rgba(234,179,8,.26);backdrop-filter:blur(6px)}
.yef-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 20px;max-width:1240px;margin:0 auto;flex-wrap:wrap}
.yef-brand{display:flex;align-items:center;gap:12px}
.yef-brand img{height:44px;width:auto}
.yef-brand-name{font-family:'Marcellus', serif;font-size:26px;color:#eab308;letter-spacing:.04em}
.yef-cta-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.yef-btn{display:inline-block;text-align:center;cursor:pointer}
.yef-menu-toggle,.yef-search-toggle{display:none}
.yef-mobile-search{display:none}
.yef-mainnav{background:#064e3b;border-bottom:1px solid rgba(234,179,8,.26)}
.yef-nav-inner{max-width:1240px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.yef-menu{list-style:none;display:flex;flex-wrap:wrap;margin:0;padding:0}
.yef-menu li{position:relative}
.yef-menu li a{display:block;padding:12px 16px;font-size:15px;font-weight:600;color:#e8f5ee;transition:color .2s ease,border-color .2s ease,background .2s ease;border-bottom:2px solid transparent}
.yef-menu li a:hover,.yef-menu li.current-menu-item > a,.yef-menu li.current-cat > a{color:#eab308;border-bottom-color:#eab308}
.yef-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:210px;background:#064e3b;border:1px solid rgba(234,179,8,.26);z-index:120;flex-direction:column;padding:4px 0}
.yef-menu li:hover > .sub-menu{display:flex}
.yef-menu .sub-menu li a{padding:9px 16px;font-size:14px;border-bottom:none}
.yef-nav-search{padding:8px 0}
.yef-searchform{display:flex;align-items:stretch}
.yef-searchform input[type="text"],.yef-searchform input[type="search"]{background:#022c22;border:1px solid rgba(234,179,8,.26);border-right:none;color:#e8f5ee;padding:9px 14px;font-size:14px;font-family:'Karla', sans-serif;flex:1;min-width:0;border-radius:16px 0 0 16px}
.yef-searchform input:focus{outline:none;border-color:#eab308}
.yef-searchform button{background:#eab308;color:#052e22;border:none;padding:9px 18px;border-radius:0 16px 16px 0;cursor:pointer;font-weight:700;font-family:'Karla', sans-serif;letter-spacing:.04em;transition:filter .2s ease}
.yef-searchform button:hover{filter:brightness(1.12)}
.yef-nav-search .yef-searchform input[type="text"],.yef-nav-search .yef-searchform input[type="search"]{width:180px;flex:none}
.yef-hdr-centered .yef-topbar-inner{flex-direction:column;gap:10px;padding:18px 20px 12px}
.yef-hdr-centered .yef-mainnav .yef-nav-inner{justify-content:center;flex-wrap:wrap}
.yef-hdr-centered .yef-nav-search{display:none}
.yef-hdr-minimal .yef-topbar-inner{padding:8px 20px}
.yef-hdr-minimal .yef-brand img{height:36px}
.yef-hdr-minimal .yef-mainnav{background:transparent;border-bottom:none}
.yef-hdr-minimal .yef-nav-inner{max-width:none;padding:0 12px}

/* ---------- category strip ---------- */
.yef-catbar{background:#022c22;border-bottom:1px solid rgba(234,179,8,.26);overflow-x:auto}
.yef-catbar-inner{max-width:1240px;margin:0 auto;padding:10px 20px;display:flex;gap:10px;white-space:nowrap}
.yef-catchip{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border-radius:999px;border:1px solid rgba(234,179,8,.26);background:#04382b;color:#e8f5ee;font-size:13px;font-weight:700;letter-spacing:.04em;transition:all .2s ease}
.yef-catchip:hover{border-color:#eab308;color:#eab308;transform:translateY(-1px)}
.yef-catchip img{width:18px;height:18px}

/* ---------- hero mechanics ---------- */
.yef-hero{position:relative;min-height:420px;display:flex;align-items:center;background-size:cover;background-position:center;overflow:hidden}
.yef-hero-inner{position:relative;z-index:2;max-width:1240px;margin:0 auto;padding:64px 20px;width:100%}
.yef-hero-kicker{display:inline-block;margin-bottom:18px;text-transform:uppercase}
.yef-hero-title{margin-bottom:14px}
.yef-hero-sub{max-width:560px;color:#86b8a4;font-size:17px;margin-bottom:28px}
.yef-hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.yef-hero-media{position:relative;z-index:2;display:none}
.yef-hero-media img{width:100%;height:100%;object-fit:cover}
.yef-hero-split .yef-hero-inner{display:grid;grid-template-columns:1.08fr .92fr;gap:40px;align-items:center}
.yef-hero-split .yef-hero-media{display:block;min-height:300px;overflow:hidden;border-radius:22px}
.yef-hero-boxed .yef-hero-copy{max-width:780px;margin:0 auto;background:rgba(0,0,0,.34);border:1px solid rgba(234,179,8,.26);padding:44px 40px;backdrop-filter:blur(6px);border-radius:22px}
.yef-hero-overlay{min-height:540px;background-image:url('assets/images/banner-hero.png')}
.yef-hero-overlay::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.6) 68%,rgba(0,0,0,.82));z-index:1}
.yef-hero-overlay .yef-hero-inner{display:flex;flex-direction:column;justify-content:flex-end;padding-top:120px;padding-bottom:64px}
@media (max-width:900px){.yef-hero-split .yef-hero-inner{grid-template-columns:1fr}.yef-hero-split .yef-hero-media{display:none}}

/* ---------- sections ---------- */
.yef-section{padding:48px 0 8px}
.yef-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.yef-section-title{margin:0}
.yef-section-link{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#86b8a4;white-space:nowrap}
.yef-section-link:hover{color:#eab308}

/* ---------- grids ---------- */
.yef-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.yef-grid.yef-grid-2{grid-template-columns:repeat(2,1fr)}
.yef-grid.yef-grid-4{grid-template-columns:repeat(4,1fr)}
.yef-grid.yef-masonry{display:block;column-count:3;column-gap:24px}
.yef-grid.yef-masonry .yef-card{display:block;break-inside:avoid;margin-bottom:24px}

/* ---------- card mechanics ---------- */
.yef-card{position:relative;display:flex;flex-direction:column;overflow:hidden;margin-bottom:24px}
.yef-grid .yef-card{margin-bottom:0}
.yef-card-thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#064e3b}
.yef-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.yef-card:hover .yef-card-thumb img{transform:scale(1.06)}
.yef-card-cat{position:absolute;left:10px;top:10px;color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:3px 10px;z-index:2}
.yef-card-body{padding:18px;display:flex;flex-direction:column;flex:1}
.yef-card-title{line-height:1.35;margin-bottom:8px}
.yef-card-title a{color:#e8f5ee}
.yef-card-title a:hover{color:#eab308}
.yef-card-excerpt{color:#86b8a4;font-size:14px;flex:1;margin-bottom:14px}
.yef-card-meta{font-size:12px;color:#86b8a4;border-top:1px solid rgba(234,179,8,.26);padding-top:12px;display:flex;justify-content:space-between;gap:8px}
.yef-card-h{display:grid;grid-template-columns:300px 1fr;gap:22px}
.yef-card-h .yef-card-thumb{aspect-ratio:auto;height:100%;min-height:190px}
.yef-card-h .yef-card-body{padding:22px 22px 22px 0}
.yef-card-ov{min-height:320px}
.yef-card-ov .yef-card-thumb{position:absolute;inset:0;aspect-ratio:auto;height:auto}
.yef-card-ov .yef-card-body{position:relative;z-index:2;margin-top:auto;padding:58% 18px 18px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.82) 46%)}
.yef-card-ov .yef-card-title a{color:#fff}
.yef-card-ov .yef-card-excerpt{display:none}
.yef-card-ov .yef-card-meta{border-top-color:rgba(255,255,255,.2);color:rgba(255,255,255,.7)}
.yef-card-cp{flex-direction:row;align-items:center;gap:16px;padding:12px}
.yef-card-cp .yef-card-thumb{width:132px;aspect-ratio:16/10;flex:none;border-radius:inherit}
.yef-card-cp .yef-card-body{padding:6px 8px 6px 0}
.yef-card-cp .yef-card-excerpt{display:none}
.yef-card-cp .yef-card-title{font-size:15.5px;margin-bottom:4px}
.yef-card-cp .yef-card-meta{border-top:none;padding-top:0}

/* ---------- layout + sidebar ---------- */
.yef-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px;padding:44px 0;align-items:start}
.yef-layout.yef-layout-left{grid-template-columns:320px minmax(0,1fr)}
.yef-layout.yef-layout-none{grid-template-columns:minmax(0,1fr);max-width:920px;margin:0 auto}
.yef-sidebar{position:sticky;top:84px}
.yef-widget{background:#04382b;border:1px solid rgba(234,179,8,.26);border-radius:22px;padding:20px;margin-bottom:24px}
.yef-widget-title{font-size:21px;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #eab308}
.yef-widget ul{list-style:none;margin:0;padding:0}
.yef-widget li{border-bottom:1px dashed rgba(234,179,8,.26)}
.yef-widget li:last-child{border-bottom:none}
.yef-widget li a{display:flex;justify-content:space-between;gap:10px;padding:9px 2px;color:#e8f5ee;font-size:14px}
.yef-widget li a:hover{color:#eab308;padding-left:6px}

/* ---------- single article ---------- */
.yef-breadcrumb{padding:18px 0;font-size:13px;color:#86b8a4}
.yef-breadcrumb a{color:#86b8a4}
.yef-breadcrumb a:hover{color:#eab308}
.yef-breadcrumb .yef-sep{margin:0 8px;color:#eab308}
.yef-article{background:#04382b;border:1px solid rgba(234,179,8,.26);border-radius:22px;padding:36px;margin-bottom:36px}
.yef-article-title{font-size:32px;line-height:1.25;margin-bottom:10px}
.yef-article-meta{font-size:13px;color:#86b8a4;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid rgba(234,179,8,.26)}
.yef-content{font-size:16.5px}
.yef-content p{margin:0 0 1.2em}
.yef-content h2,.yef-content h3,.yef-content h4{margin-top:1.6em;color:#eab308}
.yef-content a{text-decoration:underline;text-underline-offset:3px}
.yef-content blockquote{border-left:4px solid #eab308;background:rgba(128,128,128,.08);margin:1.4em 0;padding:16px 22px;border-radius:0 16px 16px 0;font-style:italic}
.yef-content img{border-radius:16px}
.yef-content ul,.yef-content ol{padding-left:1.4em;margin:0 0 1.2em}
.yef-content table{width:100%;border-collapse:collapse;margin:1.4em 0}
.yef-content th,.yef-content td{border:1px solid rgba(234,179,8,.26);padding:10px 14px;text-align:left}
.yef-content th{background:#064e3b;color:#eab308}
.yef-cta-band{margin:30px 0;padding:26px;border-radius:22px;background:linear-gradient(135deg,#064e3b,#04382b);border:1px solid rgba(234,179,8,.26);display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.yef-cta-band strong{font-family:'Marcellus', serif;font-size:23px;color:#eab308}

/* ---------- pagination & page heads ---------- */
.yef-pagination{margin:36px 0;text-align:center}
.yef-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.yef-pagination .page-numbers{display:inline-block;min-width:42px;padding:9px 14px;background:#04382b;border:1px solid rgba(234,179,8,.26);border-radius:16px;color:#e8f5ee;font-weight:700}
.yef-pagination .page-numbers:hover{border-color:#eab308;color:#eab308}
.yef-pagination .page-numbers.current{background:#eab308;color:#052e22;border-color:transparent}
.yef-pagehead{padding:44px 0 30px;border-bottom:1px solid rgba(234,179,8,.26)}
.yef-pagehead h1{font-size:clamp(32px,5vw,54px);margin:0}
.yef-pagehead .yef-pagehead-sub{color:#86b8a4;margin-top:6px}
.yef-404{text-align:center;padding:90px 20px}
.yef-404-code{font-size:clamp(90px,16vw,180px);line-height:1;margin-bottom:10px}

/* ---------- footer ---------- */
.yef-footer{margin-top:60px;background:#04382b;border-top:1px solid rgba(234,179,8,.26);padding:50px 0 20px}
.yef-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px;margin-bottom:36px}
.yef-footer-grid.yef-foot-2{grid-template-columns:1.2fr 1fr}
.yef-footer-grid.yef-foot-3{grid-template-columns:1.2fr 1fr 1fr}
.yef-footer-title{font-size:20px;margin-bottom:16px;color:#eab308}
.yef-footer p,.yef-footer li{color:#86b8a4;font-size:14px}
.yef-footer ul{list-style:none;margin:0;padding:0}
.yef-footer ul li{padding:5px 0;border-bottom:1px dashed rgba(234,179,8,.26)}
.yef-footer ul a{color:#86b8a4}
.yef-footer ul a:hover{color:#eab308;padding-left:4px}
.yef-footer-brand img{height:48px;margin-bottom:12px}
.yef-footer-cta{background:#064e3b;border:1px solid rgba(234,179,8,.26);border-radius:22px;padding:22px;text-align:center}
.yef-footer-cta strong{display:block;font-family:'Marcellus', serif;font-size:24px;color:#fff;margin-bottom:12px}
.yef-legal{border-top:1px solid rgba(234,179,8,.26);padding-top:22px}

/* ---------- front page modules ---------- */
.yef-game-section{padding:48px 0 6px}
.yef-game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.yef-game-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:28px 18px 22px;border-radius:22px;overflow:hidden;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;color:#e8f5ee}
.yef-game-icon{width:76px;height:76px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.yef-game-icon img{width:50px;height:50px;object-fit:contain;transition:transform .25s ease}
.yef-game-card:hover .yef-game-icon img{transform:scale(1.12)}
.yef-game-name{font-family:'Marcellus', serif;font-size:19px;color:#fff}
.yef-game-desc{font-size:13px;color:#86b8a4;line-height:1.5}
.yef-game-go{margin-top:4px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#eab308;opacity:0;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease}
.yef-game-card:hover .yef-game-go{opacity:1;transform:translateY(0)}
.yef-promo-banner{padding:34px 0 10px}
.yef-promo-banner a{display:block;position:relative;border-radius:22px;overflow:hidden;border:1px solid rgba(234,179,8,.26);transition:transform .25s ease,box-shadow .25s ease}
.yef-promo-banner a:hover{transform:translateY(-3px)}
.yef-promo-banner img{display:block;width:100%;height:auto}
.yef-featured-layout{display:grid;grid-template-columns:2fr 1fr;gap:22px}
.yef-featured-side{display:flex;flex-direction:column;gap:22px}
.yef-featured-big,.yef-featured-small{position:relative;border-radius:16px;overflow:hidden;border:1px solid rgba(234,179,8,.26);transition:border-color .25s ease,box-shadow .25s ease}
.yef-featured-big{height:100%;min-height:480px}
.yef-featured-small{flex:1;min-height:228px}
.yef-featured-media{position:absolute;inset:0;display:block}
.yef-featured-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.yef-featured-big:hover .yef-featured-media img,.yef-featured-small:hover .yef-featured-media img{transform:scale(1.05)}
.yef-featured-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:24px;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.72) 62%,rgba(0,0,0,.9) 100%)}
.yef-featured-cat{position:static;align-self:flex-start}
.yef-featured-title{font-weight:700;font-size:22px;line-height:1.3;color:#fff;margin:0}
.yef-featured-big .yef-featured-title{font-size:30px}
.yef-featured-excerpt{color:rgba(255,255,255,.75);font-size:14.5px;max-width:620px}
.yef-featured-meta{border-top:1px solid rgba(255,255,255,.16);padding-top:10px;color:rgba(255,255,255,.65)}
.yef-post-list{display:flex;flex-direction:column}
.yef-post-list-item{display:grid;grid-template-columns:148px 1fr;gap:18px;align-items:center;padding:16px 12px;border-bottom:1px solid rgba(234,179,8,.26);border-radius:16px;transition:background .2s ease,transform .2s ease}
.yef-post-list-item:hover{background:rgba(128,128,128,.07);transform:translateX(4px)}
.yef-post-list-thumb{display:block;aspect-ratio:16/10;border-radius:16px;overflow:hidden;background:#064e3b}
.yef-post-list-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.yef-post-list-item:hover .yef-post-list-thumb img{transform:scale(1.07)}
.yef-post-list-cat{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#eab308;margin-bottom:4px}
.yef-post-list-title{font-weight:700;font-size:16.5px;line-height:1.4;margin:0 0 4px}
.yef-post-list-title a{color:#e8f5ee}
.yef-post-list-title a:hover{color:#eab308}
.yef-post-list-meta{font-size:12.5px;color:#86b8a4}
.yef-faq-wrap{max-width:860px}
.yef-faq-item{background:#04382b;border:1px solid rgba(234,179,8,.26);border-radius:16px;margin-bottom:12px;overflow:hidden;transition:border-color .2s ease}
.yef-faq-item[open]{border-color:#eab308}
.yef-faq-item summary{list-style:none;cursor:pointer;padding:17px 52px 17px 22px;font-weight:700;font-size:16px;color:#e8f5ee;position:relative;transition:color .2s ease}
.yef-faq-item summary::-webkit-details-marker{display:none}
.yef-faq-item summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:26px;color:#eab308;transition:transform .25s ease}
.yef-faq-item[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.yef-faq-item summary:hover{color:#eab308}
.yef-faq-item p{margin:0;padding:0 22px 18px;color:#86b8a4;font-size:14.5px}

/* ---------- entrance animation ---------- */
@keyframes yef-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.yef-hero-inner > *{animation:yef-rise .7s ease both}
.yef-hero-inner > *:nth-child(2){animation-delay:.1s}
.yef-hero-inner > *:nth-child(3){animation-delay:.2s}
.yef-hero-inner > *:nth-child(4){animation-delay:.3s}
.yef-hero-inner > *:nth-child(5){animation-delay:.4s}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important}}

/* ---------- responsive ---------- */
@media (max-width:1024px){
.yef-grid{grid-template-columns:repeat(2,1fr)}
.yef-grid.yef-masonry{column-count:2}
.yef-grid.yef-grid-4{grid-template-columns:repeat(2,1fr)}
.yef-layout{grid-template-columns:1fr}
.yef-sidebar{position:static}
.yef-footer-grid,.yef-footer-grid.yef-foot-3,.yef-footer-grid.yef-foot-2{grid-template-columns:repeat(2,1fr)}
.yef-game-grid{grid-template-columns:repeat(2,1fr)}
.yef-featured-layout{grid-template-columns:1fr}
.yef-featured-big{min-height:380px}
.yef-featured-small{min-height:200px}
}
@media (max-width:680px){
.yef-grid,.yef-grid.yef-grid-2,.yef-grid.yef-grid-4{grid-template-columns:1fr}
.yef-grid.yef-masonry{column-count:1}
.yef-card-h{grid-template-columns:1fr}
.yef-card-h .yef-card-thumb{min-height:200px}
.yef-card-h .yef-card-body{padding:20px}
.yef-topbar-inner{gap:8px;padding:10px 14px}
.yef-menu-toggle{order:1;display:flex;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;cursor:pointer;padding:10px 8px}
.yef-menu-toggle span{display:block;width:24px;height:2px;background:#eab308;border-radius:2px;transition:transform .25s ease,opacity .25s ease}
.yef-menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.yef-menu-toggle.active span:nth-child(2){opacity:0}
.yef-menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.yef-brand{order:2;margin:0 auto;gap:8px}
.yef-brand img{height:34px}
.yef-search-toggle{order:3;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:8px}
.yef-search-toggle svg{width:22px;height:22px;stroke:#eab308}
.yef-cta-group{order:4;flex-basis:100%;justify-content:center;gap:8px;padding-top:2px}
.yef-btn{font-size:13px;padding:8px 14px}
.yef-mobile-search.open{display:block;padding:12px 14px 14px;border-top:1px solid rgba(234,179,8,.26);background:#022c22}
.yef-mobile-search .yef-searchform input{width:auto;flex:1}
.yef-mainnav{display:none}
.yef-mainnav.open{display:block}
.yef-mainnav .yef-nav-inner{flex-direction:column;align-items:stretch;padding:4px 0 10px;gap:0}
.yef-mainnav .yef-menu{flex-direction:column;width:100%}
.yef-mainnav .yef-menu li a{padding:12px 20px;border-bottom:1px solid rgba(234,179,8,.26)}
.yef-mainnav .yef-menu .sub-menu,.yef-mainnav .yef-menu li:hover > .sub-menu{position:static;display:none}
.yef-mainnav .yef-menu li:hover > .sub-menu{display:block}
.yef-mainnav .yef-menu .sub-menu{min-width:0;background:#022c22;border:none;border-left:3px solid #eab308;margin-left:18px;padding:2px 0}
.yef-mainnav .yef-nav-search{display:none}
.yef-article{padding:22px}
.yef-footer-grid,.yef-footer-grid.yef-foot-3,.yef-footer-grid.yef-foot-2{grid-template-columns:1fr}
.yef-hero{min-height:340px}
.yef-post-list-item{grid-template-columns:104px 1fr;gap:12px}
.yef-post-list-title{font-size:15px}
}

/* ============ archetype skin ============ */

.yef-body{background:
  radial-gradient(920px 520px at 50% -10%, rgba(52,211,153,.16), transparent 62%),
  radial-gradient(640px 420px at 96% 68%, rgba(234,179,8,.07), transparent 60%),
  linear-gradient(180deg,#022c22,#021f19);}

.yef-body h1,.yef-body h2,.yef-body h3,.yef-body h4{
  font-family:'Marcellus', serif;font-weight:400;color:#fff;letter-spacing:.03em;line-height:1.18;}
.yef-hero-title em,.yef-section-title em{font-style:normal;color:#eab308;}

.yef-btn{border-radius:14px;font-family:'Karla', sans-serif;font-weight:700;font-size:14.5px;
  letter-spacing:.04em;padding:12px 26px;border:1px solid;transition:all .25s ease;}
.yef-btn-a{background:linear-gradient(140deg,#facc15,#ca8a04);color:#1f1a02;border-color:#fde68a;
  box-shadow:0 10px 28px rgba(234,179,8,.35);}
.yef-btn-a:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(234,179,8,.5);color:#1f1a02;}
.yef-btn-b{background:rgba(4,56,43,.7);color:#34d399;border-color:rgba(52,211,153,.5);}
.yef-btn-b:hover{background:rgba(6,78,59,.9);color:#fff;}
.yef-btn-ghost{background:transparent;color:#eab308;border-color:#eab308;}
.yef-btn-ghost:hover{background:rgba(234,179,8,.1);}

.yef-hero{border-bottom:1px solid rgba(234,179,8,.4);}
.yef-hero::before{content:"";position:absolute;inset:0;
  background:radial-gradient(600px 330px at 50% 112%, rgba(234,179,8,.2), transparent 64%);}
.yef-hero-inner{text-align:center;max-width:900px;}
.yef-hero-kicker{border:1px solid #eab308;border-radius:999px;color:#eab308;
  background:rgba(234,179,8,.08);letter-spacing:.26em;font-size:11.5px;padding:8px 22px;font-weight:700;}
.yef-hero-kicker::before{content:"✦ ";}.yef-hero-kicker::after{content:" ✦";}
.yef-hero-title{font-size:clamp(42px,6.2vw,80px);}
.yef-jade-coin{width:64px;height:64px;margin:0 auto 22px;border-radius:50%;
  background:radial-gradient(circle at 34% 30%,#6ee7b7,#059669 68%);
  border:3px solid #eab308;box-shadow:0 0 34px rgba(52,211,153,.5),inset 0 0 12px rgba(255,255,255,.25);
  display:flex;align-items:center;justify-content:center;font-family:'Marcellus', serif;color:#eafff5;font-size:26px;}

.yef-card{background:linear-gradient(160deg,rgba(6,78,59,.55),rgba(2,44,34,.85));
  border:1px solid rgba(52,211,153,.22);border-radius:18px;backdrop-filter:blur(8px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;}
.yef-card:hover{transform:translateY(-6px);border-color:rgba(234,179,8,.55);
  box-shadow:0 22px 50px rgba(0,18,12,.6),0 0 26px rgba(234,179,8,.12);}
.yef-card-thumb{border-radius:14px;margin:8px;}
.yef-card-title{font-family:'Marcellus', serif;font-size:19.5px;}
.yef-card-cat{background:linear-gradient(135deg,#065f46,#047857);border:1px solid rgba(52,211,153,.5);
  color:#a7f3d0;border-radius:999px;}
.yef-widget,.yef-article{background:rgba(4,56,43,.66);border:1px solid rgba(52,211,153,.2);
  border-radius:18px;backdrop-filter:blur(8px);}

.yef-section-head{border-left:none;flex-direction:column;text-align:center;}
.yef-section-title{font-size:34px;}
.yef-section-title::after{content:"";display:block;width:90px;height:3px;margin:12px auto 0;border-radius:2px;
  background:linear-gradient(90deg,transparent,#eab308,transparent);}

.yef-footer{background:#021b15;border-top:1px solid rgba(234,179,8,.4);}
.yef-footer-title{color:#eab308;font-family:'Marcellus', serif;font-size:21px;}

.yef-game-card{border-radius:20px;background:linear-gradient(165deg,rgba(52,211,153,.1),rgba(2,44,34,.6));
  border:1px solid rgba(52,211,153,.24);backdrop-filter:blur(8px);}
.yef-game-card:hover{transform:translateY(-6px);border-color:#eab308;box-shadow:0 20px 46px rgba(0,18,12,.6),0 0 28px rgba(234,179,8,.16);}
.yef-game-icon{background:rgba(6,78,59,.6);border:2px solid rgba(52,211,153,.45);}
.yef-game-name{font-family:'Marcellus', serif;}
.yef-featured-big,.yef-featured-small{border-radius:20px;border:1px solid rgba(52,211,153,.26);}
.yef-featured-big:hover,.yef-featured-small:hover{border-color:#eab308;}
.yef-faq-item{border-radius:16px;border:1px solid rgba(52,211,153,.2);background:rgba(4,56,43,.6);}
.yef-faq-item[open]{border-color:#eab308;}
.yef-404-code{font-family:'Marcellus', serif;background:none;color:#eab308;-webkit-text-fill-color:#eab308;}
/* ============ structural variants ============ */
.yef-masonry .yef-card-thumb{aspect-ratio:auto}
