*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.6;color:#1a1a2e;background:#f5f7fb}
a{color:#2563eb;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

.site-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;gap:16px;padding:12px 16px;flex-wrap:wrap}
.logo{font-size:1.25rem;font-weight:700;color:#1a1a2e;text-decoration:none;white-space:nowrap}
.main-nav{display:flex;gap:12px;flex-wrap:wrap}
.main-nav a{color:#4b5563;font-size:.9rem;text-decoration:none;padding:4px 0}
.main-nav a:hover{color:#2563eb}
.search-form{display:flex;margin-left:auto;gap:6px}
.search-form input{padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;min-width:140px;font-size:.9rem}
.search-form button{padding:8px 14px;background:#2563eb;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.9rem}
.search-form button:hover{background:#1d4ed8}

.site-main{min-height:60vh;padding:12px 0 24px}
.site-footer{background:#1a1a2e;color:#9ca3af;padding:24px 0;margin-top:40px;text-align:center;font-size:.875rem}
.footer-links{margin-top:8px}
.footer-links a{color:#d1d5db}

.ad-slot{margin:12px auto;text-align:center;max-width:1200px;padding:0 16px}
.ad-slot--header{max-width:468px;margin-bottom:4px}
.ad-slot__inner{display:flex;align-items:center;justify-content:center;min-height:var(--ad-min-height,90px);overflow:hidden}
.ad-slot__inner iframe,.ad-slot__inner ins,.ad-slot__inner div[id^="container-"]{max-width:100%}
.ad-slot__device--desktop{display:block}
.ad-slot__device--mobile{display:none}
@media(max-width:768px){
.ad-slot__device--desktop{display:none}
.ad-slot__device--mobile{display:block}
.ad-slot--desktop-only{display:none}
}
@media(min-width:769px){
.ad-slot--mobile-only{display:none}
}
.ad-slot--sidebar .ad-slot__inner{min-height:250px}
.ad-slot--placeholder .ad-placeholder{min-height:var(--ad-min-height,90px)}
.ad-placeholder{background:#f3f4f6;border:1px dashed #d1d5db;border-radius:8px;padding:16px;color:#9ca3af;font-size:.8rem;min-height:var(--ad-min-height,90px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.ad-placeholder small{font-size:.7rem;color:#c4c4c4}
.ad-slot--sidebar .ad-placeholder{min-height:250px}
.ad-slot--top .ad-placeholder,.ad-slot--bottom .ad-placeholder,.ad-slot--pre_game .ad-placeholder,.ad-slot--post_game .ad-placeholder{min-height:var(--ad-min-height,90px)}
@media(max-width:768px){
.ad-slot__inner{min-height:var(--ad-mobile-height,var(--ad-min-height,50px))}
.ad-slot--placeholder .ad-placeholder{min-height:var(--ad-mobile-height,var(--ad-min-height,50px))}
}

.hero{text-align:center;padding:12px 0 24px}
.hero h1{font-size:2rem;margin:0 0 8px;color:#111827}
.hero-sub{color:#6b7280;margin:0;font-size:1.05rem}
.section{margin-bottom:40px}
.section-title{font-size:1.35rem;margin:0 0 16px;color:#111827;border-left:4px solid #2563eb;padding-left:12px}
.section-desc{color:#6b7280;margin:-8px 0 20px}

.game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.game-card{display:block;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.08);transition:transform .15s,box-shadow .15s;text-decoration:none;color:inherit}
.game-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12);text-decoration:none}
.game-card__thumb{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
.game-card__thumb img{width:100%;height:100%;object-fit:cover}
.game-card__body{padding:12px}
.game-card__title{margin:0 0 4px;font-size:.95rem;color:#111827}
.game-card__meta{margin:0;font-size:.8rem;color:#9ca3af}

.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.category-card{display:block;background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,.08);text-decoration:none;color:inherit;transition:box-shadow .15s}
.category-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.1);text-decoration:none}
.category-card h3{margin:0 0 8px;color:#111827}
.category-card p{margin:0;font-size:.875rem;color:#6b7280}

.breadcrumb{margin-bottom:16px;font-size:.875rem;color:#6b7280}
.breadcrumb ol{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:4px}
.breadcrumb li:not(:last-child)::after{content:"›";margin-left:4px;color:#9ca3af}

.game-layout{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start}
.game-header h1{margin:0 0 8px;font-size:1.75rem;color:#111827}
.game-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.tag{background:#eff6ff;color:#2563eb;padding:2px 10px;border-radius:999px;font-size:.75rem}
.game-frame-wrap{background:#faf8ef;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);margin:16px 0;touch-action:none;-ms-touch-action:none}
.game-frame{width:100%;height:560px;border:none;display:block;touch-action:none;-ms-touch-action:none}
html.is-playing-game{overscroll-behavior:none}
@media(max-width:768px){
html.is-playing-game,html.is-playing-game body{overflow:hidden}
.game-frame{height:min(70vh,480px)}
}
.game-hint{text-align:center;color:#6b7280;font-size:.875rem;margin:8px 0 16px}

.share-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 16px;position:relative}
.share-bar__label{font-size:.875rem;color:#6b7280;flex-shrink:0}
.share-bar__list{display:flex;flex-wrap:wrap;gap:8px}
.share-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;font-size:.8rem;line-height:1.2;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.share-btn:hover{text-decoration:none;border-color:#cbd5e1;background:#f8fafc}
.share-btn__icon{width:14px;height:14px;border-radius:3px;background:currentColor;flex-shrink:0;opacity:.85;mask:no-repeat center/contain;-webkit-mask:no-repeat center/contain}
.share-btn--weibo{color:#e6162d}
.share-btn--weibo .share-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10.1 17.8c-3.4.5-6.3-1.2-6.5-3.8-.3-2.5 2.4-5 5.8-5.5 3.4-.5 6.3 1.2 6.5 3.8.3 2.5-2.4 5-5.8 5.5zm-.6-7.6c-2.4.4-4.2 2.1-4 3.8.2 1.7 2.3 2.8 4.7 2.5 2.4-.4 4.2-2.1 4-3.8-.2-1.7-2.3-2.8-4.7-2.5zm9.3-1.2c-.2-.6-.8-.9-1.3-.7-.5.2-.8.8-.6 1.3.3.8.1 1.5-.4 1.9-.5.4-1.2.4-1.9.1-.6-.3-1.2-.1-1.4.4-.2.5.1 1.1.6 1.4 1.5.8 3.3.7 4.6-.3 1.3-1.1 1.6-2.8 1.4-4.1zm1.6-3.5C18.5 3.3 15 2.8 12.5 4c-.5.2-.7.8-.5 1.3.2.5.8.7 1.3.5 1.7-.8 4.1-.4 5.2 1.7.2.4.7.6 1.1.4.5-.2.6-.7.4-1.1-.7-1.4-1.6-2.5-2.9-3.3zM8.9 14.2c-.9.2-1.7-.3-1.8-1.1-.1-.8.6-1.6 1.5-1.8.9-.2 1.7.3 1.8 1.1.1.8-.6 1.6-1.5 1.8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10.1 17.8c-3.4.5-6.3-1.2-6.5-3.8-.3-2.5 2.4-5 5.8-5.5 3.4-.5 6.3 1.2 6.5 3.8.3 2.5-2.4 5-5.8 5.5zm-.6-7.6c-2.4.4-4.2 2.1-4 3.8.2 1.7 2.3 2.8 4.7 2.5 2.4-.4 4.2-2.1 4-3.8-.2-1.7-2.3-2.8-4.7-2.5zm9.3-1.2c-.2-.6-.8-.9-1.3-.7-.5.2-.8.8-.6 1.3.3.8.1 1.5-.4 1.9-.5.4-1.2.4-1.9.1-.6-.3-1.2-.1-1.4.4-.2.5.1 1.1.6 1.4 1.5.8 3.3.7 4.6-.3 1.3-1.1 1.6-2.8 1.4-4.1zm1.6-3.5C18.5 3.3 15 2.8 12.5 4c-.5.2-.7.8-.5 1.3.2.5.8.7 1.3.5 1.7-.8 4.1-.4 5.2 1.7.2.4.7.6 1.1.4.5-.2.6-.7.4-1.1-.7-1.4-1.6-2.5-2.9-3.3zM8.9 14.2c-.9.2-1.7-.3-1.8-1.1-.1-.8.6-1.6 1.5-1.8.9-.2 1.7.3 1.8 1.1.1.8-.6 1.6-1.5 1.8z'/%3E%3C/svg%3E")}
.share-btn--qq{color:#12b7f5}
.share-btn--qq .share-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2c-2.2 1.6-3.5 4-3.5 6.7V10c-2.2.6-3.8 2.2-3.8 4.2 0 .7.3 1.4.7 2-.5 1.5-1.4 3.3-1.1 4.2.4 1.1 2.4.4 3.8-.6.9.3 1.9.5 2.9.5s2-.2 2.9-.5c1.4 1 3.4 1.7 3.8.6.3-.9-.6-2.7-1.1-4.2.4-.6.7-1.3.7-2 0-2-1.6-3.6-3.8-4.2V8.7C15.5 6 14.2 3.6 12 2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2c-2.2 1.6-3.5 4-3.5 6.7V10c-2.2.6-3.8 2.2-3.8 4.2 0 .7.3 1.4.7 2-.5 1.5-1.4 3.3-1.1 4.2.4 1.1 2.4.4 3.8-.6.9.3 1.9.5 2.9.5s2-.2 2.9-.5c1.4 1 3.4 1.7 3.8.6.3-.9-.6-2.7-1.1-4.2.4-.6.7-1.3.7-2 0-2-1.6-3.6-3.8-4.2V8.7C15.5 6 14.2 3.6 12 2z'/%3E%3C/svg%3E")}
.share-btn--wechat{color:#07c160}
.share-btn--wechat .share-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 4C5.9 4 3 6.5 3 9.6c0 1.8 1 3.4 2.6 4.4L5 16.5l2.4-1.2c.7.2 1.4.3 2.1.3.2 0 .5 0 .7-.1-.2-.5-.3-1-.3-1.6 0-2.9 2.8-5.3 6.2-5.3.2 0 .5 0 .7.1C16.2 5.8 13.1 4 9.5 4zm-2.3 3.2c.5 0 .9.4.9.9s-.4.9-.9.9-.9-.4-.9-.9.4-.9.9-.9zm4.2 0c.5 0 .9.4.9.9s-.4.9-.9.9-.9-.4-.9-.9.4-.9.9-.9zM16.2 9c-2.9 0-5.2 1.9-5.2 4.3s2.3 4.3 5.2 4.3c.5 0 1-.1 1.5-.2l1.8.9-.5-1.6c1.2-.8 2-2 2-3.4C21.1 10.9 18.8 9 16.2 9zm-1.8 2.5c.4 0 .7.3.7.7s-.3.7-.7.7-.7-.3-.7-.7.3-.7.7-.7zm3.5 0c.4 0 .7.3.7.7s-.3.7-.7.7-.7-.3-.7-.7.3-.7.7-.7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.5 4C5.9 4 3 6.5 3 9.6c0 1.8 1 3.4 2.6 4.4L5 16.5l2.4-1.2c.7.2 1.4.3 2.1.3.2 0 .5 0 .7-.1-.2-.5-.3-1-.3-1.6 0-2.9 2.8-5.3 6.2-5.3.2 0 .5 0 .7.1C16.2 5.8 13.1 4 9.5 4zm-2.3 3.2c.5 0 .9.4.9.9s-.4.9-.9.9-.9-.4-.9-.9.4-.9.9-.9zm4.2 0c.5 0 .9.4.9.9s-.4.9-.9.9-.9-.4-.9-.9.4-.9.9-.9zM16.2 9c-2.9 0-5.2 1.9-5.2 4.3s2.3 4.3 5.2 4.3c.5 0 1-.1 1.5-.2l1.8.9-.5-1.6c1.2-.8 2-2 2-3.4C21.1 10.9 18.8 9 16.2 9zm-1.8 2.5c.4 0 .7.3.7.7s-.3.7-.7.7-.7-.3-.7-.7.3-.7.7-.7zm3.5 0c.4 0 .7.3.7.7s-.3.7-.7.7-.7-.3-.7-.7.3-.7.7-.7z'/%3E%3C/svg%3E")}
.share-btn--facebook{color:#1877f2}
.share-btn--facebook .share-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 9h3V6h-3c-1.7 0-3 1.3-3 3v2H8v3h3v7h3v-7h3l1-3h-4V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 9h3V6h-3c-1.7 0-3 1.3-3 3v2H8v3h3v7h3v-7h3l1-3h-4V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E")}
.share-btn--twitter{color:#111827}
.share-btn--twitter .share-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.2 2H21l-6.5 7.4L22 22h-6.2l-4.9-6.4L5.3 22H2.5l7-8L2 2h6.3l4.4 5.8L18.2 2zm-1.1 18h1.7L7 3.9H5.2L17.1 20z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.2 2H21l-6.5 7.4L22 22h-6.2l-4.9-6.4L5.3 22H2.5l7-8L2 2h6.3l4.4 5.8L18.2 2zm-1.1 18h1.7L7 3.9H5.2L17.1 20z'/%3E%3C/svg%3E")}
.share-btn--telegram{color:#229ed9}
.share-btn--telegram .share-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.5 3.5 2.8 10.7c-1.3.5-1.3 1.2-.2 1.5l4.8 1.5 1.8 5.6c.2.6.4.8 1 .8.5 0 .7-.2 1-.5l2.7-2.6 5.6 4.1c1 .6 1.7.3 2-.9L23 5c.3-1.3-.5-1.9-1.5-1.5zM9.7 14.1l-.3 3.7-1.3-4.4L18.5 6.5 9.7 14.1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.5 3.5 2.8 10.7c-1.3.5-1.3 1.2-.2 1.5l4.8 1.5 1.8 5.6c.2.6.4.8 1 .8.5 0 .7-.2 1-.5l2.7-2.6 5.6 4.1c1 .6 1.7.3 2-.9L23 5c.3-1.3-.5-1.9-1.5-1.5zM9.7 14.1l-.3 3.7-1.3-4.4L18.5 6.5 9.7 14.1z'/%3E%3C/svg%3E")}
.share-btn--copy,.share-btn--native{color:#4b5563}
.share-btn--copy .share-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/%3E%3C/svg%3E")}
.share-btn--native .share-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18 16.1c-.8 0-1.4.3-2 .8l-7.1-4.1c.1-.3.1-.5.1-.8s0-.5-.1-.8L15.9 7c.6.5 1.3.8 2.1.8 1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3c0 .3 0 .5.1.8L8 10.9C7.4 10.4 6.7 10.1 6 10.1c-1.7 0-3 1.3-3 3s1.3 3 3 3c.7 0 1.4-.3 2-.8l7.1 4.1c-.1.2-.1.5-.1.7 0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-3-3-3z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18 16.1c-.8 0-1.4.3-2 .8l-7.1-4.1c.1-.3.1-.5.1-.8s0-.5-.1-.8L15.9 7c.6.5 1.3.8 2.1.8 1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3c0 .3 0 .5.1.8L8 10.9C7.4 10.4 6.7 10.1 6 10.1c-1.7 0-3 1.3-3 3s1.3 3 3 3c.7 0 1.4-.3 2-.8l7.1 4.1c-.1.2-.1.5-.1.7 0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-3-3-3z'/%3E%3C/svg%3E")}
.share-toast{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);background:#111827;color:#fff;font-size:.8rem;padding:8px 12px;border-radius:8px;white-space:nowrap;z-index:20;pointer-events:none}
.share-toast[hidden]{display:none}

.score-board{margin:0 0 16px}
.score-board__best{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 14px;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #dbeafe;border-radius:10px;margin-bottom:14px}
.score-board__best-label{font-size:.875rem;color:#64748b}
.score-board__best-value{font-size:1.25rem;color:#1d4ed8;font-weight:700}
.score-board__title{margin:0 0 10px;font-size:1.05rem;color:#111827}
.score-board__empty{margin:0;color:#9ca3af;font-size:.875rem}
.score-board__empty[hidden]{display:none}
.score-board__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:320px;overflow:auto}
.score-board__item{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:8px 10px;background:#f8fafc;border-radius:8px;font-size:.875rem}
.score-board__rank{color:#94a3b8;font-variant-numeric:tabular-nums}
.score-board__value{color:#111827;font-weight:600}
.score-board__time{color:#94a3b8;font-size:.75rem;white-space:nowrap}
.score-board__item--win .score-board__value{color:#15803d}
.score-board__item--lose .score-board__value{color:#b91c1c}
.score-board__item--draw .score-board__value{color:#a16207}

.content-block{background:#fff;border-radius:12px;padding:20px 24px;margin-bottom:16px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.content-block h2{margin:0 0 12px;font-size:1.15rem;color:#111827}
.content-block p{margin:0 0 12px;color:#374151}
.how-to-play{margin:0;padding-left:20px;color:#374151}
.how-to-play li{margin-bottom:8px}

.faq-item{border-top:1px solid #f3f4f6;padding:12px 0}
.faq-item summary{cursor:pointer;font-weight:600;color:#111827}
.faq-item p{margin:8px 0 0;color:#4b5563;font-size:.925rem}
.license-meta{list-style:none;padding:0;margin:0}
.license-meta li{margin-bottom:6px;font-size:.875rem;color:#4b5563}

.game-sidebar .sidebar-block{background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 3px rgba(0,0,0,.06);margin-bottom:16px}
.game-sidebar h3{margin:0 0 12px;font-size:1rem}
.sidebar-games{display:flex;flex-direction:column;gap:12px}

.search-form--page{margin:16px 0 24px;max-width:480px}
.search-result-count{color:#6b7280;font-size:.9rem}
.empty-state{color:#6b7280;padding:32px 0;text-align:center}

@media(max-width:768px){
    .header-inner{flex-direction:column;align-items:stretch}
    .search-form{margin-left:0;width:100%}
    .search-form input{flex:1;min-width:0}
    .main-nav{justify-content:center}
    .game-layout{grid-template-columns:1fr}
    .game-frame{height:480px}
    .hero h1{font-size:1.5rem}
}

@media(max-width:480px){
    .game-frame{height:420px}
    .game-grid{grid-template-columns:repeat(2,1fr);gap:10px}
}
