:root{
  --bg:#f7fbff;
  --surface:#ffffff;
  --surface-soft:#eef8ff;
  --primary:#64b9ff;
  --primary-strong:#2f9cf4;
  --primary-dark:#187ac8;
  --text:#17324d;
  --muted:#6f879d;
  --line:#dbeaf6;
  --shadow:0 16px 45px rgba(71,135,184,.12);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(1160px,calc(100% - 32px));margin:0 auto}
.site-header,.admin-header{position:sticky;top:0;z-index:20;background:rgba(247,251,255,.96);border-bottom:1px solid var(--line);backdrop-filter:saturate(150%) blur(10px)}
.nav-wrap{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.02em}
.brand.center{justify-content:center;width:100%}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#dff2ff;color:var(--primary-dark);border:1px solid #c7e7ff;font-weight:900}
nav{display:flex;gap:22px;color:#49677f;font-weight:700;font-size:14px}
nav a:hover{color:var(--primary-dark)}
.hero-section{padding:34px 0 20px}
.hero-card{min-height:430px;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;border:1px solid #cfeaff;border-radius:32px;background:linear-gradient(135deg,#edf8ff 0%,#dff3ff 100%);box-shadow:var(--shadow)}
.hero-copy{padding:62px 58px;align-self:center}
.eyebrow{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.14em;color:var(--primary-dark);text-transform:uppercase;margin-bottom:14px}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(34px,5vw,64px);line-height:1.02;letter-spacing:-.04em;margin-bottom:18px}
h2{font-size:clamp(26px,3vw,40px);line-height:1.1;letter-spacing:-.025em;margin-bottom:12px}
h3{font-size:18px;line-height:1.3}
.hero-copy p{font-size:17px;color:#58758d;max-width:670px;margin-bottom:28px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{border:0;border-radius:14px;padding:12px 18px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;transition:.2s ease}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:var(--primary-strong);color:white;box-shadow:0 8px 20px rgba(47,156,244,.22)}
.btn.primary:hover{background:#268fe3}
.btn.ghost{background:white;border:1px solid var(--line);color:var(--text)}
.btn.dark{background:#17324d;color:#fff}
.btn.full{width:100%}
.btn.large{padding:15px 20px}
.btn.small{padding:9px 12px;border-radius:11px;font-size:13px}
.hero-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.hero-badges span{background:rgba(255,255,255,.72);border:1px solid #cde9fb;padding:8px 10px;border-radius:999px;font-size:12px;font-weight:800;color:#557088}
.hero-visual{position:relative;min-height:430px;overflow:hidden}
.visual-orb{position:absolute;border-radius:50%;background:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.8)}
.orb-a{width:260px;height:260px;right:48px;top:55px}.orb-b{width:150px;height:150px;left:32px;bottom:42px}
.visual-chip{position:absolute;right:100px;top:105px;width:160px;height:160px;border-radius:42px;display:grid;place-items:center;background:#fff;color:var(--primary-strong);font-size:36px;font-weight:1000;letter-spacing:-.04em;box-shadow:0 22px 55px rgba(57,141,202,.18);transform:rotate(-6deg)}
.visual-card{position:absolute;background:rgba(255,255,255,.9);border:1px solid #d9efff;box-shadow:0 14px 35px rgba(57,141,202,.15);font-weight:900;color:#397cae}
.visual-card.small{left:35px;top:95px;padding:18px 24px;border-radius:18px;transform:rotate(7deg)}
.visual-card.large{right:44px;bottom:55px;padding:24px 34px;border-radius:22px;transform:rotate(4deg);font-size:22px}
.section{padding:62px 0}.top-tight{padding-top:28px}.soft-section{background:#eef8ff;border-top:1px solid #dbeefa;border-bottom:1px solid #dbeefa}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px}
.section-head h2{margin-bottom:0}
.text-link{font-weight:800;color:var(--primary-dark);font-size:14px}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.category-card,.product-card,.panel,.stat-card,.empty-state,.import-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 28px rgba(61,126,173,.06)}
.category-card{padding:22px;transition:.2s ease}.category-card:hover{transform:translateY(-3px);border-color:#bfe3fc;box-shadow:var(--shadow)}
.cat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#e7f6ff;color:#228bdc;font-weight:1000;margin-bottom:18px}
.category-card h3{margin-bottom:7px}.category-card p{color:var(--muted);font-size:14px;margin-bottom:0}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.catalog-grid{grid-template-columns:repeat(4,1fr)}
.product-card{padding:20px;display:flex;flex-direction:column;min-height:220px}
.product-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.product-tag{display:inline-flex;align-items:center;padding:6px 8px;border-radius:999px;background:#eaf6ff;color:#268bd4;font-size:10px;font-weight:1000;letter-spacing:.08em}
.eta{font-size:11px;color:var(--muted);font-weight:800}
.product-card h3{margin-bottom:8px}.muted{color:var(--muted)}.product-card .muted{font-size:13px;flex:1}
.price{font-weight:1000;color:#15344e;font-size:22px;margin:10px 0 16px}.price.xl{font-size:36px}
.info-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.info-strip div{background:#fff;border:1px solid var(--line);padding:18px;border-radius:18px;display:flex;align-items:center;gap:12px}.info-strip strong{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eaf6ff;color:var(--primary-dark)}.info-strip span{font-weight:800;font-size:14px}
.page-hero{padding:52px 0 40px;background:#eaf6ff;border-bottom:1px solid #d7ecfb}.page-hero.compact h1{font-size:clamp(34px,5vw,54px);margin-bottom:8px}.page-hero p{color:#5f7e96;margin-bottom:0}
.filter-bar{display:grid;grid-template-columns:1fr 210px auto;gap:10px;margin-bottom:22px}
input,select,textarea{width:100%;border:1px solid #cfe2f0;background:#fff;border-radius:13px;padding:12px 13px;color:var(--text);outline:none;transition:.15s ease}input:focus,select:focus,textarea:focus{border-color:#68b9f5;box-shadow:0 0 0 4px rgba(100,185,255,.12)}
.checkout-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px;align-items:start}.panel{padding:24px}.summary-card h2{margin-top:14px}.form-panel h2{font-size:26px}.stack-form{display:grid;gap:14px}.stack-form label{display:grid;gap:7px;font-weight:800;font-size:13px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.optional{font-weight:600;color:var(--muted)}
.notice{margin-top:18px;padding:15px 16px;border-radius:16px;background:#f1f9ff;border:1px solid #d7ecfb}.notice strong{display:block;margin-bottom:4px}.notice p{margin:0;color:#607f98;font-size:13px}.notice.warning{background:#fff9e8;border-color:#f6e3a8}.notice.warning p{color:#7c6a39}
.alert{padding:12px 14px;border-radius:13px;font-size:13px;font-weight:800;margin-bottom:14px}.alert.error{background:#fff1f1;border:1px solid #ffd6d6;color:#a94a4a}.alert.success{background:#effbf4;border:1px solid #c8efd7;color:#2c7b4b}
.narrow{max-width:720px}.empty-state{text-align:center;padding:48px 24px}.empty-state h1{font-size:70px;color:#9ccff2;margin-bottom:0}
.receipt{padding:28px}.receipt-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line)}.receipt-head h2{margin:4px 0 0;font-size:26px}.receipt-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:24px 0}.receipt-grid div{display:grid;gap:4px}.receipt-grid span{font-size:12px;color:var(--muted);font-weight:700}.receipt-grid strong{font-size:15px}
.status-pill{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap;background:#eaf6ff;color:#247fc1}.status-pill.success{background:#eaf9ef;color:#2b8a50}.status-pill.failed,.status-pill.refund{background:#fff0f0;color:#b14949}.status-pill.processing{background:#fff8e7;color:#9a711b}.status-pill.delayed{background:#f4efff;color:#7450b9}
.site-footer{padding:34px 0;border-top:1px solid var(--line);background:#fff}.footer-grid{display:grid;grid-template-columns:1fr auto;gap:24px}.site-footer p{max-width:560px;color:var(--muted);font-size:13px;margin:8px 0 0}.footer-links{display:flex;gap:18px;align-items:center;font-size:13px;font-weight:800;color:#607a90}
.admin-body{background:#f5faff}.admin-main{padding:34px 0 60px}.admin-actions{display:flex;align-items:center;gap:8px}.admin-actions form{margin:0}.admin-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.admin-title h1{font-size:38px;margin-bottom:4px}.admin-title p{color:var(--muted);margin-bottom:0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card{padding:20px}.stat-card span{display:block;font-size:12px;color:var(--muted);font-weight:800;margin-bottom:8px}.stat-card strong{font-size:30px}
.admin-table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px rgba(61,126,173,.06)}.admin-table{width:100%;border-collapse:collapse;min-width:980px}.admin-table th,.admin-table td{text-align:left;padding:14px;border-bottom:1px solid #e8f1f7;vertical-align:top;font-size:13px}.admin-table th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#70879b;background:#f8fcff}.admin-table td small{display:block;color:var(--muted);margin-top:4px}.status-form{display:flex;gap:7px;align-items:center}.status-form select{min-width:170px;padding:8px 9px}.table-input{min-width:135px;padding:8px 9px}.products-table{min-width:1050px}
.admin-login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.admin-login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow);display:grid;gap:14px}.admin-login-card h1{text-align:center;font-size:30px;margin:8px 0 0}.admin-login-card p{text-align:center;color:var(--muted);font-size:13px;margin:-6px 0 6px}.admin-login-card label{display:grid;gap:7px;font-size:13px;font-weight:800}.center-link{text-align:center;display:block;margin-top:4px}
.import-panel{padding:0;margin-bottom:18px;overflow:hidden}.import-panel summary{padding:17px 20px;font-weight:900;cursor:pointer}.import-form{padding:0 20px 20px}
@media (max-width:980px){.hero-card{grid-template-columns:1fr}.hero-visual{display:none}.hero-copy{padding:44px 34px}.category-grid{grid-template-columns:repeat(2,1fr)}.product-grid,.catalog-grid{grid-template-columns:repeat(2,1fr)}.checkout-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:680px){.container{width:min(100% - 22px,1160px)}.nav-wrap{min-height:64px}.brand-mark{width:31px;height:31px}nav{gap:12px;font-size:12px}nav a:nth-child(2){display:none}.hero-section{padding-top:14px}.hero-card{border-radius:24px}.hero-copy{padding:34px 22px}.hero-copy p{font-size:15px}.hero-actions .btn{flex:1}.section{padding:42px 0}.category-grid,.product-grid,.catalog-grid{grid-template-columns:1fr 1fr;gap:10px}.category-card,.product-card{padding:15px;border-radius:18px}.category-card h3,.product-card h3{font-size:15px}.cat-icon{width:38px;height:38px;margin-bottom:12px}.price{font-size:18px}.product-card .btn{font-size:12px;padding:10px 9px}.info-strip{grid-template-columns:1fr 1fr}.filter-bar{grid-template-columns:1fr}.filter-bar .btn{width:100%}.two-col{grid-template-columns:1fr}.receipt-grid{grid-template-columns:1fr}.receipt-head{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr}.footer-links{flex-wrap:wrap}.stats-grid{grid-template-columns:1fr 1fr}.admin-actions .ghost{display:none}.page-hero{padding:38px 0 28px}}
@media (max-width:420px){.category-grid,.product-grid,.catalog-grid{grid-template-columns:1fr}.info-strip{grid-template-columns:1fr}.hero-actions{flex-direction:column}.stats-grid{grid-template-columns:1fr}}

/* HAYGAME V2 - product-first homepage */
.section-desc{margin:8px 0 0;color:var(--muted);font-size:14px;max-width:680px}
.hero-simple{grid-template-columns:1.1fr .9fr;min-height:400px;background:#eaf7ff}
.hero-logo-wrap{display:grid;place-items:center;padding:42px}
.hero-logo-card{width:min(360px,100%);background:#fff;border:1px solid #cfe7f7;border-radius:28px;padding:34px;box-shadow:0 18px 45px rgba(61,126,173,.10);text-align:center}
.hero-logo-card img{width:100%;height:92px;object-fit:contain;display:block;margin:0 auto 24px}
.hero-logo-card strong{display:block;font-size:18px;letter-spacing:.03em}
.hero-logo-card span{display:block;margin-top:5px;color:var(--muted);font-size:12px;font-weight:700}
.product-section-head{align-items:flex-end}
.family-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.family-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 8px 28px rgba(61,126,173,.06);transition:.2s ease}
.family-card:hover{transform:translateY(-3px);border-color:#b8ddf5;box-shadow:var(--shadow)}
.family-logo-box{height:150px;display:grid;place-items:center;padding:28px;background:#edf8ff;border-bottom:1px solid var(--line)}
.family-logo-box img{width:82%;height:82px;object-fit:contain}
.family-body{padding:20px}
.family-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.family-count{font-size:11px;color:var(--muted);font-weight:800}
.family-card h3{font-size:20px;margin-bottom:7px}
.family-card p{font-size:13px;color:var(--muted);min-height:40px;margin-bottom:18px}
.family-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-top:15px;border-top:1px solid #e7f1f8}
.family-bottom div{display:grid;gap:2px}.family-bottom small{font-size:11px;color:var(--muted);font-weight:700}.family-bottom strong{font-size:20px}
.family-arrow{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eaf6ff;color:var(--primary-dark);font-size:28px;line-height:1}
.home-item-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.starlight-home-grid{grid-template-columns:repeat(4,1fr)}
.home-product-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 28px rgba(61,126,173,.06);display:flex;flex-direction:column}
.home-product-logo{height:118px;padding:22px;background:#edf8ff;border-bottom:1px solid var(--line);display:grid;place-items:center;position:relative}
.home-product-logo img{width:82%;height:64px;object-fit:contain}
.home-product-logo.starlight-logo{background:#f1f8ff}
.logo-mini-badge{position:absolute;right:10px;bottom:10px;padding:5px 7px;border-radius:999px;background:#fff;border:1px solid #d4eafa;color:#2c87c8;font-size:9px;font-weight:1000;letter-spacing:.06em}
.home-product-content{padding:18px;display:flex;flex-direction:column;flex:1}
.home-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px}
.home-product-card h3{font-size:17px;margin-bottom:4px;min-height:44px}
.home-product-card .price{margin-top:auto}
.compact-product-card h3{min-height:auto}
.steps-section{padding-top:42px;padding-bottom:42px}
.catalog-hero-inner{display:flex;align-items:center;gap:24px}
.catalog-logo-box{width:170px;height:105px;display:grid;place-items:center;padding:18px;border-radius:20px;background:#fff;border:1px solid #d7eaf7;flex:0 0 auto}
.catalog-logo-box img{width:100%;height:65px;object-fit:contain}
.category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 20px}
.category-tabs a{padding:8px 12px;border:1px solid var(--line);background:#fff;border-radius:999px;font-size:12px;font-weight:850;color:#58758d}
.category-tabs a.active{background:#dff2ff;border-color:#bfe3fa;color:var(--primary-dark)}
.separated-catalog{gap:16px}
.catalog-product-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 28px rgba(61,126,173,.06);display:flex;flex-direction:column}
.catalog-product-logo{height:104px;background:#eef8ff;padding:20px;display:grid;place-items:center;position:relative;border-bottom:1px solid var(--line)}
.catalog-product-logo img{width:80%;height:56px;object-fit:contain}
.catalog-product-logo.is-starlight span{position:absolute;right:9px;bottom:8px;background:#fff;border:1px solid #d4eafa;border-radius:999px;padding:4px 6px;font-size:8px;font-weight:1000;color:#2589ce;letter-spacing:.06em}
.catalog-product-body{padding:17px;display:flex;flex-direction:column;flex:1}
.catalog-product-body h3{font-size:16px;margin-bottom:7px}.catalog-product-body .muted{font-size:12px;flex:1}.catalog-product-body .price{font-size:20px}

@media (max-width:980px){
  .hero-simple{grid-template-columns:1fr}.hero-logo-wrap{display:none}
  .family-grid{grid-template-columns:repeat(2,1fr)}
  .starlight-home-grid{grid-template-columns:repeat(2,1fr)}
  .home-item-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .hero-simple .hero-copy{padding:34px 22px}
  .family-grid{grid-template-columns:1fr 1fr;gap:10px}
  .family-logo-box{height:100px;padding:18px}.family-logo-box img{height:54px;width:90%}
  .family-body{padding:15px}.family-card h3{font-size:16px}.family-card p{font-size:12px;min-height:52px}.family-bottom strong{font-size:17px}
  .home-item-grid,.starlight-home-grid{grid-template-columns:1fr 1fr;gap:10px}
  .home-product-logo{height:88px;padding:14px}.home-product-logo img{height:45px;width:90%}
  .home-product-content{padding:14px}.home-product-card h3{font-size:14px;min-height:38px}.home-product-card .price{font-size:17px}
  .catalog-hero-inner{gap:14px}.catalog-logo-box{width:100px;height:72px;padding:12px}.catalog-logo-box img{height:42px}
  .catalog-hero .eyebrow{margin-bottom:7px}.catalog-hero h1{font-size:28px}.catalog-hero p{font-size:13px}
  .catalog-product-logo{height:82px;padding:13px}.catalog-product-logo img{height:42px;width:90%}.catalog-product-body{padding:14px}.catalog-product-body h3{font-size:14px}.catalog-product-body .price{font-size:17px}
}
@media (max-width:420px){
  .family-grid{grid-template-columns:1fr 1fr}
  .home-item-grid,.starlight-home-grid{grid-template-columns:1fr 1fr}
  .family-body{padding:13px}.family-card p{display:none}.family-bottom{margin-top:12px}.family-arrow{width:32px;height:32px}
  .home-product-content{padding:12px}.home-product-card .btn{font-size:11px;padding:9px 7px}
}

/* HAYGAME V3 — compact product cards, cache-safe stylesheet */
.v3-hero{min-height:auto;display:block;background:#eaf7ff}
.v3-hero .hero-copy{padding:46px 42px}
.v3-hero h1{max-width:760px;font-size:clamp(34px,5vw,56px)}
.v3-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.v3-product-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 28px rgba(61,126,173,.06);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.v3-product-thumb{height:112px;background:#eef8ff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;padding:22px;overflow:hidden}
.v3-product-thumb img{display:block!important;width:auto!important;max-width:170px!important;height:56px!important;max-height:56px!important;object-fit:contain!important;margin:0!important}
.v3-product-body{padding:18px;display:flex;flex-direction:column;flex:1;min-width:0}
.v3-product-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.v3-product-meta .product-tag{max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v3-product-body h3{font-size:18px;line-height:1.28;margin:0 0 8px;overflow-wrap:anywhere}
.v3-product-body p{font-size:13px;color:var(--muted);margin:0 0 14px;min-height:40px}
.v3-price-label{font-size:11px;color:var(--muted);font-weight:800;margin-top:auto}
.v3-price{font-size:22px;font-weight:1000;line-height:1.2;margin:3px 0 16px;color:#15344e}
.v3-starlight .v3-product-thumb{background:#f0f8ff}
.v3-section-note{font-size:13px;color:var(--muted);margin:6px 0 0}
.v3-steps{margin-top:4px}

/* Catalog cards: keep the MLBB artwork thumbnail-size only. */
.catalog-product-logo{height:84px!important;padding:14px!important;overflow:hidden!important}
.catalog-product-logo img{display:block!important;width:auto!important;max-width:150px!important;height:46px!important;max-height:46px!important;object-fit:contain!important;margin:0 auto!important}
.catalog-logo-box{overflow:hidden!important}
.catalog-logo-box img{display:block!important;width:auto!important;max-width:140px!important;height:48px!important;object-fit:contain!important;margin:auto!important}

@media (max-width:980px){
  .v3-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .v3-hero .hero-copy{padding:30px 22px}
  .v3-hero h1{font-size:34px;line-height:1.04}
  .v3-hero .hero-copy p{font-size:14px;margin-bottom:20px}
  .v3-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .v3-product-card{border-radius:18px}
  .v3-product-thumb{height:72px;padding:12px}
  .v3-product-thumb img{max-width:112px!important;height:36px!important;max-height:36px!important}
  .v3-product-body{padding:13px}
  .v3-product-body h3{font-size:14px;min-height:36px}
  .v3-product-body p{display:none}
  .v3-product-meta{margin-bottom:9px}
  .v3-product-meta .eta{font-size:9px}
  .v3-product-meta .product-tag{font-size:8px;padding:5px 6px}
  .v3-price-label{font-size:9px}
  .v3-price{font-size:17px;margin:2px 0 12px}
  .v3-product-body .btn{font-size:11px;padding:9px 7px;border-radius:11px}
  .catalog-product-logo{height:68px!important;padding:10px!important}
  .catalog-product-logo img{max-width:110px!important;height:34px!important;max-height:34px!important}
}
@media (max-width:360px){
  .v3-product-grid{grid-template-columns:1fr}
  .v3-product-body h3{min-height:auto}
}

/* HAYGAME V4 — remove repeated MLBB artwork and tighten cards */
.no-logo-card{overflow:hidden}
.no-logo-card .v3-product-body{padding:20px}
.no-logo-card .catalog-product-body{padding:18px}
.no-logo-hero{display:block}
.no-logo-hero>div{max-width:760px}
.v3-product-grid{align-items:stretch}
.v3-product-card{min-height:250px}
.v3-product-body h3{min-height:46px}
.v3-product-body p{min-height:40px}
.catalog-product-card{min-height:235px}
.catalog-product-body h3{min-height:42px}
.catalog-product-body .price{margin-top:auto}

@media (max-width:680px){
  .container{width:min(100% - 24px,1160px)}
  .nav-wrap{min-height:66px;gap:10px}
  .brand{gap:8px;font-size:15px}
  .brand-mark{width:30px;height:30px;border-radius:10px}
  nav{gap:11px;font-size:11px;white-space:nowrap}
  .v3-product-grid{gap:10px}
  .v3-product-card{min-height:215px}
  .no-logo-card .v3-product-body{padding:14px}
  .v3-product-body h3{min-height:38px;margin-bottom:8px}
  .v3-product-body p{display:none;min-height:0}
  .v3-price{margin-top:auto}
  .catalog-product-card{min-height:205px}
  .no-logo-card .catalog-product-body{padding:14px}
  .catalog-product-body h3{min-height:38px}
}

@media (max-width:390px){
  nav{gap:8px;font-size:10px}
  .brand{font-size:14px}
}

/* =========================================================
   HAYGAME V5 — premium compact mobile-first refresh
   CSS only, no generated artwork.
   ========================================================= */
:root{
  --v5-bg:#f7fbff;
  --v5-soft:#edf8ff;
  --v5-soft-2:#e6f5ff;
  --v5-blue:#12a8ee;
  --v5-blue-dark:#0b82c5;
  --v5-navy:#123552;
  --v5-muted:#72899b;
  --v5-line:#d9e9f4;
  --v5-card:#ffffff;
  --v5-shadow:0 14px 36px rgba(58,124,170,.09);
}
body{background:var(--v5-bg)}
.v5-header{background:rgba(248,252,255,.97);box-shadow:0 1px 0 rgba(32,99,143,.03);backdrop-filter:blur(12px)}
.v5-nav{min-height:68px}
.v5-brand{font-size:16px;color:var(--v5-navy)}
.v5-brand-mark{width:32px;height:32px;border-radius:11px;background:#e6f6ff;border-color:#c8e9fb;font-size:14px}
.v5-menu{gap:20px;font-size:13px}
.v5-menu a{position:relative}
.v5-menu a:hover{color:var(--v5-blue-dark)}

.v5-hero-wrap{padding:26px 0 22px}
.v5-hero-card{border:1px solid #cfeafa;border-radius:28px;background:linear-gradient(145deg,#edf9ff 0%,#e3f5ff 100%);box-shadow:0 18px 48px rgba(80,151,196,.09);overflow:hidden;position:relative}
.v5-hero-card:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-105px;top:-115px;border:40px solid rgba(255,255,255,.28);pointer-events:none}
.v5-hero-copy{position:relative;z-index:1;padding:46px 42px;max-width:850px}
.v5-kicker{display:block;color:#078ecf;font-size:11px;font-weight:950;letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px}
.v5-hero-copy h1{font-size:clamp(32px,5vw,54px);line-height:1.04;max-width:780px;margin:0 0 14px;color:#123653}
.v5-hero-copy p{font-size:15px;color:#668397;max-width:710px;margin:0 0 22px}
.v5-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.v5-hero-actions .btn{min-width:150px}
.v5-trust-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.v5-trust-row span{padding:7px 10px;border:1px solid #cae8f8;background:rgba(255,255,255,.72);border-radius:999px;color:#56768d;font-size:10px;font-weight:850}

.v5-section{padding:42px 0}
.v5-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}
.v5-section-head h2,.v5-flow-head h2{font-size:30px;line-height:1.08;margin:0 0 7px;color:#143650}
.v5-section-head p{margin:0;color:var(--v5-muted);font-size:13px}
.v5-family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.v5-family-card{background:#fff;border:1px solid var(--v5-line);border-radius:20px;padding:18px;box-shadow:var(--v5-shadow);display:flex;flex-direction:column;min-width:0;transition:transform .18s ease,border-color .18s ease}
.v5-family-card:hover{transform:translateY(-2px);border-color:#b8dff5}
.v5-card-head,.v5-starlight-top,.v5-catalog-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.v5-code{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e7f7ff;color:#078dcc;font-weight:1000;font-size:11px;letter-spacing:.04em}
.v5-count,.v5-eta{font-size:10px;color:#7b91a2;font-weight:850;white-space:nowrap}
.v5-family-copy{padding:15px 0 12px}
.v5-badge{display:inline-flex;width:max-content;padding:5px 8px;border-radius:999px;background:#eaf7ff;color:#078dcc;font-size:9px;font-weight:950;letter-spacing:.08em;line-height:1}
.v5-family-copy h3{font-size:19px;line-height:1.2;margin:9px 0 6px;color:#163850}
.v5-family-copy p{font-size:12px;color:#7b91a2;margin:0;min-height:36px}
.v5-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;border-top:1px solid #e9f2f8;padding-top:13px;margin-top:auto}
.v5-price-row div{display:grid;gap:1px}
.v5-price-row small,.v5-starlight-price small{font-size:10px;color:#8195a4;font-weight:750}
.v5-price-row strong,.v5-starlight-price strong{font-size:21px;color:#153951;line-height:1.15}
.v5-arrow{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e8f7ff;color:#088ccc;font-size:24px;font-weight:500}
.v5-card-button{margin-top:12px;padding:10px 13px;border-radius:12px;font-size:12px}

.v5-starlight-section{padding-top:18px;background:linear-gradient(180deg,transparent 0,#f0f9ff 36%,#f0f9ff 100%);border-bottom:1px solid #dfeef7}
.v5-starlight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v5-starlight-card{background:#fff;border:1px solid var(--v5-line);border-radius:19px;padding:16px;box-shadow:0 10px 28px rgba(58,124,170,.07);display:flex;flex-direction:column;min-width:0}
.v5-status{display:inline-flex;width:max-content;margin-top:13px;font-size:9px;font-weight:900;letter-spacing:.08em;color:#688398}
.v5-starlight-card h3{font-size:17px;line-height:1.22;margin:5px 0 18px;color:#163850;min-height:42px}
.v5-starlight-price{display:grid;gap:1px;margin-top:auto}
.v5-starlight-price strong{font-size:22px}

.v5-flow-section{padding:36px 0 44px;background:#eaf7ff;border-top:1px solid #d9eef9}
.v5-flow-head{margin-bottom:16px}
.v5-flow-head h2{font-size:26px}
.v5-flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v5-flow-grid div{background:#fff;border:1px solid var(--v5-line);border-radius:16px;padding:15px;display:flex;align-items:center;gap:11px;box-shadow:0 6px 18px rgba(58,124,170,.04)}
.v5-flow-grid strong{font-size:11px;color:#0792d4;background:#e7f7ff;border-radius:9px;padding:7px 8px}
.v5-flow-grid span{font-size:12px;font-weight:850;color:#23445c}

.v5-catalog-hero{padding:34px 0 26px;background:#edf8ff;border-bottom:1px solid #d9edf8}
.v5-back{display:inline-block;font-size:11px;font-weight:800;color:#598099;margin-bottom:18px}
.v5-catalog-hero h1{font-size:clamp(30px,5vw,46px);line-height:1.05;margin:0 0 8px;color:#143650}
.v5-catalog-hero p{margin:0;color:#71899b;font-size:13px}
.v5-catalog-section{padding:24px 0 54px}
.v5-filter{display:grid;grid-template-columns:1fr 170px auto;gap:9px;margin-bottom:14px}
.v5-filter input,.v5-filter select{padding:11px 12px;border-radius:12px;font-size:12px}
.v5-filter .btn{padding:10px 16px;border-radius:12px;font-size:12px}
.v5-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px;margin-bottom:18px;scrollbar-width:none}
.v5-tabs::-webkit-scrollbar{display:none}
.v5-tabs a{flex:0 0 auto;padding:7px 11px;border-radius:999px;border:1px solid var(--v5-line);background:#fff;color:#647f92;font-size:10px;font-weight:900}
.v5-tabs a.active{background:#dff3ff;border-color:#bee5fa;color:#078bcb}
.v5-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v5-catalog-card{background:#fff;border:1px solid var(--v5-line);border-radius:18px;padding:15px;box-shadow:0 8px 24px rgba(58,124,170,.06);display:flex;flex-direction:column;min-width:0}
.v5-catalog-card h3{font-size:15px;line-height:1.25;margin:11px 0 14px;color:#163850;overflow-wrap:anywhere;min-height:38px}
.v5-catalog-price{font-size:20px;font-weight:1000;color:#153951;margin-top:auto;margin-bottom:12px}
.v5-catalog-card .btn{font-size:11px;padding:9px;border-radius:11px}

/* footer refresh without changing footer markup */
.site-footer{background:#fff;border-top:1px solid #e1edf5;padding:38px 0}
.footer-grid{align-items:flex-start}
.footer-grid strong{font-size:18px;color:#153951}
.footer-grid p{font-size:12px;color:#7a91a2;max-width:520px;margin-top:7px}
.footer-links{gap:18px}
.footer-links a{font-size:12px;color:#5d788c;font-weight:800}

@media(max-width:980px){
  .v5-starlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v5-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .container{width:min(100% - 24px,1160px)}
  .v5-nav{min-height:64px}
  .v5-brand{font-size:15px}.v5-brand-mark{width:30px;height:30px}
  .v5-menu{gap:10px;font-size:10px}
  .v5-hero-wrap{padding:18px 0 12px}
  .v5-hero-card{border-radius:22px}
  .v5-hero-copy{padding:28px 20px}
  .v5-hero-copy h1{font-size:32px;line-height:1.03;margin-bottom:12px}
  .v5-hero-copy p{font-size:13px;line-height:1.55;margin-bottom:18px}
  .v5-hero-actions{display:grid;grid-template-columns:1fr 1fr}
  .v5-hero-actions .btn{min-width:0;font-size:12px;padding:11px 9px}
  .v5-trust-row{margin-top:14px}.v5-trust-row span{font-size:8px;padding:6px 8px}
  .v5-section{padding:32px 0}
  .v5-section-head{margin-bottom:14px}
  .v5-section-head h2{font-size:25px}.v5-section-head p{font-size:11px}
  .v5-family-grid{grid-template-columns:1fr;gap:10px}
  .v5-family-card{padding:14px;border-radius:17px;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"head head" "copy copy" "price price" "button button"}
  .v5-card-head{grid-area:head}.v5-family-copy{grid-area:copy;padding:11px 0 10px}.v5-price-row{grid-area:price}.v5-card-button{grid-area:button}
  .v5-family-copy h3{font-size:17px;margin-top:7px}.v5-family-copy p{min-height:auto;font-size:11px}
  .v5-price-row strong{font-size:20px}.v5-arrow{width:31px;height:31px}
  .v5-starlight-section{padding-top:12px}
  .v5-starlight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .v5-starlight-card{padding:13px;border-radius:16px}
  .v5-starlight-card h3{font-size:14px;min-height:34px;margin:5px 0 13px}
  .v5-starlight-price strong{font-size:19px}
  .v5-starlight-card .v5-card-button{font-size:10px;padding:9px 6px}
  .v5-flow-section{padding:28px 0 34px}.v5-flow-head h2{font-size:23px}
  .v5-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .v5-flow-grid div{padding:12px;border-radius:14px}.v5-flow-grid span{font-size:11px}
  .v5-catalog-hero{padding:26px 0 21px}.v5-back{margin-bottom:14px}
  .v5-catalog-hero h1{font-size:31px}
  .v5-filter{grid-template-columns:1fr 105px;gap:7px}.v5-filter .btn{grid-column:1/-1}
  .v5-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .v5-catalog-card{padding:12px;border-radius:16px}
  .v5-catalog-card h3{font-size:13px;min-height:34px;margin:9px 0 11px}
  .v5-catalog-price{font-size:18px;margin-bottom:10px}
  .v5-catalog-card .btn{font-size:10px;padding:8px 6px}
  .site-footer{padding:30px 0}.footer-grid{gap:18px}.footer-links{gap:12px;flex-wrap:wrap}
}
@media(max-width:380px){
  .v5-menu{gap:8px;font-size:9px}
  .v5-brand{font-size:14px}
  .v5-starlight-grid{grid-template-columns:1fr 1fr}
  .v5-starlight-card{padding:11px}
  .v5-starlight-card h3{font-size:13px}
  .v5-starlight-price strong{font-size:17px}
}

/* =========================================================
   HAYGAME V6 — user-supplied static banner, displayed 16:9.
   Image is not generated or altered; CSS crops display only.
   ========================================================= */
.v6-banner-wrap{padding:22px 0 10px}
.v6-banner{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:26px;border:1px solid #cfe7f6;background:#eaf7ff;box-shadow:0 18px 48px rgba(65,132,178,.12)}
.v6-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;margin:0}
.v6-banner-info{display:flex;gap:8px;flex-wrap:wrap;padding:12px 2px 0}
.v6-banner-info span{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;border:1px solid #d2e9f7;background:#fff;color:#617f93;font-size:10px;font-weight:850;box-shadow:0 4px 14px rgba(58,124,170,.04)}
@media(max-width:700px){
  .v6-banner-wrap{padding:14px 0 4px}
  .v6-banner{border-radius:18px;box-shadow:0 10px 30px rgba(65,132,178,.09)}
  .v6-banner-info{padding-top:9px;gap:6px}
  .v6-banner-info span{font-size:8px;padding:6px 8px}
}
