@charset "UTF-8";

/* White surfaces, generous spacing and quiet controls keep the games in focus. */
:root {
  --paper:#fff; --white:#fff; --ink:#1d1d1f; --muted:#626267;
  --line:#e5e5e7; --accent:#0066cc; --soft:#f5f5f7;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink); background:var(--paper); font-synthesis:none;
  text-rendering:optimizeLegibility; -webkit-font-smoothing:antialiased;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0} body.modal-open{overflow:hidden}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
a{color:inherit;text-decoration:none} button{color:inherit;cursor:pointer;border:0}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0071e3;outline-offset:4px}
img{display:block;max-width:100%} p,h1,h2,h3{margin:0}
.wrap{width:min(1120px,calc(100% - 80px));margin-inline:auto}
.icon{display:inline-block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}
.skip-link{position:fixed;top:8px;left:8px;padding:12px;background:var(--ink);color:white;z-index:100;transform:translateY(-150%)}
.skip-link:focus{transform:none}

/* Navigation */
.site-header{min-height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f0f2;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:19px;font-weight:600;letter-spacing:-.4px;white-space:nowrap}
.brand-mark{display:grid;grid-template-columns:repeat(2,6px);gap:3px;padding:8px;background:var(--ink);border-radius:8px}
.brand-mark span{width:6px;height:6px;background:#fff;border-radius:1px}
.brand-mark span:nth-child(2){background:#c7c7cc}
.site-header nav{display:flex;gap:34px;font-size:14px;color:var(--muted)}
.site-header nav a{padding-block:18px}
.site-header nav a:hover,.site-header nav .nav-current{color:var(--ink)}
.nav-current{font-weight:600}
.header-link{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--accent)}
.header-link .icon{width:18px}

/* The introduction stays short so games are visible on the first screen. */
.catalog-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:34px}
.catalog-intro h1{font-size:44px;font-weight:600;letter-spacing:-1.5px;line-height:1.35}
.catalog-intro p{font-size:17px;line-height:1.8;color:var(--muted);margin-top:16px;max-width:760px}
.intro-help{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--accent);white-space:nowrap;padding-block:12px}
.intro-help .icon{width:17px;height:17px}
.intro-help:hover{text-decoration:underline;text-underline-offset:5px}
.preview-notice{display:flex;gap:10px;align-items:center;padding:12px 16px;background:#fafafa;border:1px solid #f0f0f2;border-radius:12px;font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:28px}
.preview-notice strong{font-weight:500;color:#515154}
.notice-symbol{display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:17px;height:17px;flex-shrink:0;font-size:11px;font-weight:600}

/* Catalog */
.catalog{padding-top:52px;padding-bottom:64px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}
.section-kicker{font-size:13px;color:var(--muted);letter-spacing:.2px;margin-bottom:11px}
.section-heading h2{font-size:30px;letter-spacing:-.8px;font-weight:600}
.section-note{font-size:13px;color:var(--muted);align-self:flex-end;padding-bottom:3px;line-height:1.8}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:8px}
.filter-tabs{display:flex;gap:3px;overflow:auto;scrollbar-width:none;background:var(--soft);padding:4px;border-radius:999px;max-width:100%}
.filter-tabs::-webkit-scrollbar{display:none}
.filter-tab{background:transparent;color:var(--muted);border-radius:999px;font-size:14px;padding:10px 18px;white-space:nowrap;min-height:44px}
.filter-tab:hover{color:var(--ink)}
.filter-tab.is-active{background:var(--white);color:var(--ink);box-shadow:0 1px 5px #00000014}
.filter-tab span{font:12px ui-monospace,Consolas,monospace;margin-left:6px;opacity:.7}
.search-box{display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:12px;padding:9px 15px;background:var(--soft);width:280px;flex-shrink:0;min-height:50px}
.search-box .icon{width:18px;height:18px;color:#747479}
.search-box:focus-within{border-color:var(--accent)}
.search-box input{border:0;background:transparent;color:var(--ink);outline:none;min-width:0;width:100%;font-size:16px;padding:3px 0;min-height:24px}
.search-box input:focus-visible{outline:none}
.search-box input::placeholder{color:#737378}
.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:14px 0 24px;font-size:13px;color:var(--muted)}
.sort-label{display:flex;align-items:center;gap:8px}
.sort-label select{border:0;background:transparent;font-size:13px;color:var(--ink);padding:9px 2px;min-height:36px;max-width:125px}
.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.game-card{background:var(--white);border:1px solid #ededf0;border-radius:20px;overflow:hidden;box-shadow:0 3px 22px #1d1d1f08;transition:box-shadow .2s,transform .2s}
.game-card:hover{box-shadow:0 8px 30px #1d1d1f12;transform:translateY(-2px)}
.game-gallery{position:relative;width:100%;aspect-ratio:2.1;background:var(--soft);overflow:hidden}
.gallery-viewport{display:block;width:100%;height:100%;padding:0;background:transparent;text-align:left}
.gallery-viewport:focus-visible{outline-offset:-4px}
.gallery-image{display:block;width:100%;height:100%}
.gallery-image>img{width:100%;height:100%;object-fit:contain}
.is-screenshot .gallery-image>img{object-fit:contain}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;padding:0;border-radius:50%;background:#fffffff2;color:#1d1d1f;border:1px solid #ffffff80;box-shadow:0 2px 8px #00000012}
.gallery-arrow:hover{background:#fff}
.gallery-arrow:active{background:#eaeaec}
.gallery-arrow .icon{width:20px;height:20px;stroke-width:2}
.gallery-prev{left:12px}.gallery-next{right:12px}
.gallery-prev .icon{transform:rotate(180deg)}
.gallery-count{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);background:#1d1d1fb3;color:#fff;border-radius:999px;padding:4px 10px;font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums;pointer-events:none}
.cover-fallback{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;width:100%;height:100%;background:var(--soft);color:#77777c;font-size:13px}
.cover-fallback .icon{width:65px;height:65px;stroke-width:1}
.cover-label{position:absolute;left:16px;top:16px;background:#ffffffed;color:var(--ink);padding:6px 11px;border-radius:999px;font-size:12px;font-weight:500;pointer-events:none}
.demo-label{position:absolute;bottom:12px;right:14px;font-size:11px;color:white;background:#1d1d1f99;border-radius:6px;padding:4px 7px;pointer-events:none}
.game-card-body{padding:25px 28px 18px}
.game-card-title{border:0;background:none;padding:0;text-align:left;font-size:23px;font-weight:600;line-height:1.5;letter-spacing:-.4px}
.game-card-title:hover{color:var(--accent)}
.card-description{color:var(--muted);font-size:16px;line-height:1.8;margin-top:9px;min-height:58px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-tags{display:flex;gap:8px;flex-wrap:wrap;margin-block:13px 22px;min-height:22px}
.tag{font-size:12px;color:#66666b;background:var(--soft);padding:4px 9px;border-radius:6px}
.card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:46px;padding:12px 21px;font-size:15px;font-weight:500;line-height:1.4;border-radius:999px;border:1px solid #d5d5da;background:var(--white);color:var(--accent);transition:background .15s,border-color .15s}
.button .icon{width:17px;height:17px}
.button:hover{border-color:#a9a9b0;background:#fafafa}
.button-dark{background:#0071e3;color:white;border-color:#0071e3}
.button-dark:hover{background:#0077ed;border-color:#0077ed}
.button-accent{background:var(--soft);border-color:transparent;color:var(--accent)}
.button-accent:hover{background:#ececf0;border-color:transparent}
.button:disabled{opacity:.5} .button-wide{width:100%}
.button.is-unavailable:disabled{opacity:1;background:var(--soft);color:var(--muted);border-color:transparent;cursor:default}
.card-actions .button{min-height:46px;font-size:14px;padding:11px 12px;gap:6px;min-width:0;white-space:nowrap}
.card-actions .icon{width:16px;height:16px}
.card-meta{display:flex;align-items:center;justify-content:space-between;margin-top:22px;padding-top:10px;border-top:1px solid #f0f0f2;font-size:12px;color:var(--muted);gap:8px;flex-wrap:wrap}
.meta-detail{background:none;padding:8px 0 8px 6px;font-size:13px;color:var(--accent);margin-left:auto}
.meta-detail:hover{color:var(--ink)}
.empty-state{text-align:center;padding:60px 24px;border:0;background:var(--soft);border-radius:20px}
.empty-state>.icon{width:42px;height:42px;color:#7a878b;margin-bottom:16px}
.empty-state h3{font-size:20px}
.empty-state p{color:var(--muted);font-size:14px;margin-block:12px 22px}
.noscript-note{padding:20px;border:1px solid var(--line);border-radius:6px;font-size:14px}
.catalog-loading{margin:0 0 24px;color:var(--muted);font-size:13px}
.catalog-loading a{color:var(--accent);margin-inline:4px;text-decoration:underline;text-underline-offset:3px}

/* Instructions and about */
.guide-section{padding-block:56px 42px;background:var(--white);border-top:1px solid #f0f0f2}
.guide-section .section-heading{margin-bottom:30px}
.guide-section h2{font-size:30px;font-weight:600}
.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.guide-card{background:var(--soft);border:0;border-radius:20px;padding:30px 32px}
.guide-card-top{display:flex;gap:14px;align-items:center;margin-bottom:18px}
.guide-number{font:12px ui-monospace,Consolas,monospace;color:#747479;padding-right:4px}
.platform-title{font-size:15px;display:flex;align-items:center;gap:10px;color:var(--ink)}
.platform-badge{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:11px;flex-shrink:0;box-shadow:0 1px 3px #1d1d1f06}
.platform-badge img{width:24px;height:24px}
.platform-badge-android{background:linear-gradient(145deg,#fafffc,#e9f7ef);border:1px solid #d9ece1}
.platform-badge-apple{background:linear-gradient(145deg,#fdfdff,#efedfc);border:1px solid #e1e1f1}
.guide-card h3{font-size:24px;font-weight:600;letter-spacing:-.5px}
.guide-card>p{font-size:15px;color:var(--muted);line-height:1.9;margin-block:15px 25px}
.guide-path{display:flex;align-items:center;gap:14px;font-size:13px;color:#515156;flex-wrap:wrap}
.guide-path .icon{width:16px;height:16px;color:#77777c}
.guide-footnote{font-size:12px;color:var(--muted);text-align:center;margin-top:24px;line-height:1.8}
.about-section{display:flex;align-items:center;gap:30px;padding-block:50px}
.about-section h2{font-size:25px;font-weight:600;letter-spacing:-.5px}
.about-section p:not(.section-kicker){font-size:15px;line-height:1.95;color:var(--muted);margin-top:12px}
.intro-community{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:13px;color:var(--muted)}
.group-number{font-variant-numeric:tabular-nums;letter-spacing:.4px;user-select:all;color:var(--ink);font-weight:600}
.group-copy{min-height:44px;padding:9px 13px;border-radius:999px;background:var(--white);border:1px solid var(--line);color:var(--accent);font-size:13px;line-height:1.4;white-space:nowrap;flex-shrink:0}
.group-copy:hover{background:#fafafa;border-color:#b9b9be}
.group-copy:disabled{opacity:.6}
.community-card{background:var(--soft);border-radius:14px;padding:13px 16px;max-width:360px}
.community-caption,.about-section .community-caption{font-size:12px!important;line-height:1.5!important;color:var(--muted);margin:0 0 8px!important}
.community-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.community-row .group-number{font-size:22px}
.community-status{font-size:12px;line-height:1.6;color:var(--muted)}
.community-card .community-status{display:block;margin-top:8px}
.about-section .community-card{margin-top:20px}
.clipboard-helper{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0}
.text-link{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;margin-left:auto;white-space:nowrap;color:var(--accent)}
.text-link .icon{width:18px}
.site-footer{border-top:1px solid #f0f0f2;padding-block:26px 34px;display:flex;align-items:center;gap:25px}
.footer-brand{font-size:16px;gap:9px}
.footer-brand .brand-mark{padding:6px;grid-template-columns:repeat(2,5px);gap:2px;border-radius:3px}
.footer-brand .brand-mark span{width:5px;height:5px}
.site-footer>p,.footer-links{font-size:12px;color:var(--muted)}
.footer-links{display:flex;align-items:center;gap:22px;margin-left:auto}
.footer-links button,.footer-links a{padding:8px 0;font:inherit;color:inherit;white-space:nowrap;background:none}
.footer-links button:hover,.footer-links a:hover{color:var(--accent)}

/* The notice keeps its title and acknowledgement visible on short screens. */
.site-notice{border:0;border-radius:22px;background:var(--white);color:var(--ink);padding:0;width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:0 24px 80px #00000030}
.site-notice[open]{display:flex;flex-direction:column}
.notice-header{padding:22px 28px 14px;flex-shrink:0}
.notice-eyebrow{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:8px}
.notice-header h2{font-size:24px;line-height:1.5;letter-spacing:-.6px;font-weight:600}
.notice-header h2:focus{outline:none}
.notice-community{padding:0 28px 16px;flex-shrink:0}
.notice-community .community-card{max-width:none}
.notice-content{padding:0 28px 17px;overflow:auto;overscroll-behavior:contain;min-height:0;font-size:14px;line-height:1.75;color:var(--muted)}
.notice-content:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.notice-content>p+p{margin-top:10px}
.notice-content strong{font-weight:600;color:var(--ink)}
.notice-content .notice-free{color:#075cba;font-size:16px;font-weight:600}
.notice-details{margin-top:14px;font-size:13px;line-height:1.8}
.notice-details summary{cursor:pointer;color:var(--muted);padding-block:4px}
.notice-details p{margin-top:9px}
.notice-footer{padding:16px 28px 24px;flex-shrink:0;border-top:1px solid #f0f0f2;background:var(--white)}

/* Dialog controls remain accessible while the dialog scrolls. */
.game-dialog{border:0;border-radius:22px;background:var(--white);color:var(--ink);padding:0;width:min(550px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 80px #00000030}
.game-dialog::backdrop,.site-notice::backdrop{background:#00000066;backdrop-filter:blur(4px)}
.dialog-controls{position:sticky;top:0;height:64px;z-index:5;background:var(--white);border-bottom:1px solid #f0f0f2;display:flex;align-items:center;padding:0 27px;color:var(--muted);font-size:13px}
.dialog-close{position:absolute;right:14px;top:10px;background:var(--soft);border:0;z-index:2;border-radius:50%;width:44px;height:44px;padding:10px;display:grid;place-items:center;color:#626267}
.dialog-close .icon{width:19px;height:19px}
.dialog-close:hover{background:#e9e9ed}
.dialog-inner{padding:28px 30px 30px}
.dialog-kicker{font-size:12px;letter-spacing:.2px;color:var(--muted);display:flex;align-items:center;gap:9px;margin-bottom:15px}
.dialog-inner h2{font-size:28px;line-height:1.5;letter-spacing:-.7px;font-weight:600;padding-right:12px}
.dialog-intro{font-size:16px;color:var(--muted);line-height:1.85;margin-top:14px}
.copy-status{border:0;background:#f0f7f2;border-radius:12px;padding:13px 14px;font-size:14px;display:flex;align-items:flex-start;gap:8px;margin-top:22px;line-height:1.75;color:#42624a}
.copy-status .icon{width:18px;height:18px;margin-top:3px}
.copy-status.is-pending{background:#faf6ee;color:#7b6447}
.code-label{font-size:13px;display:block;margin:20px 0 9px;color:var(--muted)}
.code-field{width:100%;resize:vertical;min-height:84px;max-height:180px;border:1px solid #e1e1e5;border-radius:12px;background:var(--soft);padding:13px 14px;line-height:1.8;color:var(--ink);font-size:16px;word-break:break-word}
.copy-button{margin-top:12px}
.apple-steps{list-style:none;padding:0;margin:23px 0 0;counter-reset:apple-step}
.apple-steps li{display:flex;align-items:flex-start;gap:13px;font-size:15px;line-height:1.85;padding:14px 0;counter-increment:apple-step;border-bottom:1px solid #efeff1}
.apple-steps li:before{content:counter(apple-step);display:grid;place-items:center;width:25px;height:26px;background:var(--soft);border-radius:50%;font:12px ui-monospace,Consolas,monospace;flex-shrink:0;margin-top:1px}
.apple-steps li:last-child{border:0}
.dialog-note{font-size:13px;color:var(--muted);line-height:1.85;margin-top:20px}
.dialog-gallery{height:230px;aspect-ratio:auto}
.detail-description{white-space:pre-line;font-size:15px;color:var(--muted);line-height:1.95;margin-block:18px 22px}
.detail-facts{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-top:11px}
.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.detail-web{margin-top:9px}
.pending-illustration{width:50px;height:50px;display:grid;place-items:center;background:var(--soft);border-radius:14px;margin-bottom:20px}
.pending-illustration .icon{width:27px;height:27px}
.toast{position:fixed;left:50%;bottom:max(30px,env(safe-area-inset-bottom));transform:translateX(-50%);max-width:calc(100% - 30px);padding:12px 22px;background:var(--ink);color:white;border-radius:14px;box-shadow:0 10px 40px #00000020;font-size:14px;line-height:1.7;z-index:10}

@media(max-width:1050px){
  .wrap{width:calc(100% - 48px)}
  .site-header nav{gap:24px}
  .catalog-intro{gap:24px}
  .catalog-intro h1{font-size:39px}
  .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .game-gallery:not(.dialog-gallery){aspect-ratio:1.9} .game-card-body{padding:23px 22px 17px}
  .card-actions .button{min-height:46px;gap:8px}
  .card-actions .icon{width:17px;height:17px}
  .guide-card{padding:26px} .guide-path{gap:10px;font-size:12px}
  .section-note{max-width:280px} .filter-tab{padding-inline:13px;font-size:13px}
  .search-box{width:235px}
}
@media(max-width:720px){
  .wrap{width:calc(100% - 36px)}
  .site-header{min-height:68px;gap:10px} .brand{font-size:18px;gap:9px}
  .site-header nav{gap:18px;font-size:13px}
  .site-header nav a:last-child,.header-link{display:none}
  .catalog-intro{display:block;margin-bottom:25px}
  .catalog-intro h1{font-size:32px;font-weight:600;letter-spacing:-.9px}
  .catalog-intro p{font-size:16px;line-height:1.8;margin-top:14px}
  .intro-help{display:none}
  .preview-notice{font-size:12px;padding:12px 13px;margin-bottom:23px;align-items:flex-start}
  .notice-symbol{margin-top:2px;width:16px;height:16px}
  .section-kicker{font-size:12px;margin-bottom:8px}
  .section-heading{margin-bottom:22px} .section-heading h2{font-size:25px}
  .section-note{font-size:12px;max-width:160px}
  .catalog-toolbar{flex-direction:column;gap:15px;align-items:stretch;padding-bottom:14px}
  .filter-tabs{gap:3px;width:100%} .filter-tab{font-size:13px;min-height:44px;padding:11px 12px;flex:1 0 auto}
  .filter-tab span{margin-left:3px;font-size:11px}
  .search-box{width:100%;padding:10px 14px} .search-box input{font-size:16px}
  .result-toolbar{font-size:12px;margin-block:10px 17px}
  .sort-label{gap:4px} .sort-label select{font-size:12px}
  .game-grid{grid-template-columns:1fr;gap:24px}
  .cover-label{font-size:11px;padding:5px 7px;left:9px;top:9px}
  .demo-label{font-size:10px;bottom:8px;right:8px}
  .gallery-count{bottom:8px}
  .gallery-prev{left:8px}.gallery-next{right:8px}
  .game-card{border-radius:18px} .game-card-body{padding:23px 24px 17px}
  .game-card-title{font-size:22px;line-height:1.5}
  .card-description{font-size:16px;line-height:1.8;min-height:0}
  .card-tags{gap:7px;margin-block:13px 20px}
  .card-actions .button{min-height:46px;gap:6px}
  .card-meta{font-size:12px;padding-top:9px;margin-top:12px;gap:3px}
  .meta-detail{padding-left:0}
  .catalog{padding-top:34px;padding-bottom:44px}
  .guide-section{padding-block:38px 30px}
  .guide-section .section-heading{align-items:flex-start}
  .guide-section .section-note{display:none}
  .guide-section h2{font-size:28px;line-height:1.5}
  .guide-grid{grid-template-columns:1fr;gap:20px}
  .guide-card{padding:27px 25px} .guide-card-top{margin-bottom:19px;gap:13px}
  .guide-card h3{font-size:22px;line-height:1.5}
  .guide-card>p{margin-block:12px 20px}
  .guide-path{gap:10px;font-size:12px}
  .guide-footnote{margin-top:19px;text-align:left}
  .about-section{gap:20px;align-items:flex-start;padding-block:38px;flex-wrap:wrap}
  .about-section h2{font-size:23px;line-height:1.5}
  .about-section p:not(.section-kicker){margin-top:10px}
  .about-section p br{display:none}
  .about-section .text-link{margin-left:0}
  .site-footer{gap:13px;padding-block:21px 26px;flex-wrap:wrap}
  .footer-links{width:100%;margin-left:0;font-size:13px;gap:24px}
  .site-notice{border-radius:20px;max-height:calc(100dvh - 24px)}
  .notice-header{padding:20px 22px 12px}
  .notice-header h2{font-size:22px}
  .notice-content{padding:0 22px 18px}
  .notice-community{padding:0 22px 15px}
  .notice-footer{padding:14px 22px 20px}
  .dialog-inner{padding:24px 23px 25px}
  .dialog-kicker{max-width:calc(100% - 35px)}
  .dialog-inner h2{font-size:24px;line-height:1.65}
  .dialog-gallery{height:200px}
  .game-dialog{border-radius:20px;max-height:calc(100dvh - 24px)}
  .detail-actions{grid-template-columns:1fr}
}
@media(max-width:480px){
  .game-grid{grid-template-columns:1fr;gap:24px}
  .game-card-body{padding:22px 23px 16px}
  .game-card-title{font-size:22px}
  .card-description{min-height:0;font-size:16px}
  .card-meta{flex-wrap:nowrap}
}
@media(max-width:359px){
  .wrap{width:calc(100% - 28px)}
  .brand{font-size:17px;gap:8px} .brand-mark{padding:7px}
  .site-header nav{gap:12px;font-size:13px}
  .catalog-intro h1{font-size:29px}
  .filter-tab{padding-inline:8px;font-size:12px}
  .guide-card{padding:20px} .guide-path{gap:8px;font-size:11px}
  .dialog-inner{padding-inline:20px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{transition:none!important;animation:none!important}
}

