:root {
  color-scheme: dark;
  --ink: #f5f7ff;
  --muted: #aab5db;
  --blue: #3570ff;
  --cyan: #66f5ff;
  --navy: #080e29;
  --panel: #101a3b;
  --line: rgba(178, 197, 255, .13);
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--ink); background: var(--navy); min-width: 320px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { color: #fff; background: #3971ff; }

.site-header {
  height: 76px; padding: 0 clamp(20px, 5.4vw, 88px); display: flex; align-items: center; gap: 46px;
  position: sticky; top: 0; z-index: 20; background: rgba(8, 14, 41, .93); border-bottom: 1px solid rgba(183, 202, 255, .09);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #fff; font-family: 'Nunito', 'Segoe UI', sans-serif; font-size: 21px; line-height: 1; font-weight: 1000; letter-spacing: -.9px; }
.brand-light { color: #8ddcff; }
.brand-mark { width: 28px; height: 28px; display: inline-grid; place-items: center; background: #f7fbff; transform: rotate(10deg) skew(-4deg); border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(70, 238, 255, .33); }
.brand-mark span { width: 10px; height: 10px; background: #132f9e; display: block; }
.main-nav { display: flex; gap: 31px; align-items: center; height: 100%; }
.nav-link { height: 100%; display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 2px 0 0; background: none; color: #aab5d9; font-size: 13px; font-weight: 700; cursor: pointer; position: relative; transition: color .18s ease; }
.nav-link:hover, .nav-link.is-current { color: #fff; }
.nav-link.is-current::after { content: ''; height: 2px; border-radius: 3px; position: absolute; left: 0; right: 0; bottom: 0; background: #65f5ff; box-shadow: 0 0 10px #65f5ff; }
.nav-count { background: #193270; color: #b7caff; border-radius: 8px; font-size: 10px; padding: 2px 6px; }
.header-actions { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.header-search { width: clamp(160px, 18vw, 232px); height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid rgba(190, 208, 255, .16); border-radius: 10px; background: rgba(255, 255, 255, .045); color: #a6b4db; }
.header-search svg { fill: none; stroke: currentColor; stroke-width: 1.7; width: 17px; height: 17px; flex: 0 0 auto; }
.header-search input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; color: white; font-size: 12px; }
.header-search input::placeholder { color: #8492bb; }
.header-search kbd { color: #7280a8; border: 1px solid rgba(190, 208, 255, .2); border-radius: 4px; min-width: 18px; text-align: center; font-size: 10px; line-height: 16px; }
.avatar-button { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid #70f7ff; border-radius: 12px; cursor: pointer; background: linear-gradient(145deg, #ffe179, #ff9958); box-shadow: 0 0 15px rgba(87, 239, 255, .18); color: #3c3577; font-size: 16px; font-weight: 1000; transition: transform .18s ease; }
.avatar-button:hover { transform: rotate(-6deg) scale(1.06); }

.hero { min-height: 552px; position: relative; overflow: hidden; isolation: isolate; display: flex; justify-content: center; align-items: center; padding: 46px 20px 55px; background: radial-gradient(ellipse at 50% 45%, #1687ff 0%, #0860f6 37%, #1942d1 74%, #1537af 100%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .28; background-image: linear-gradient(120deg, transparent 25%, rgba(144,246,255,.24) 25.2%, transparent 25.5%), linear-gradient(60deg, transparent 55%, rgba(154,205,255,.22) 55.2%, transparent 55.5%); }
.hero-grid { position: absolute; inset: -20% -5%; z-index: -1; opacity: .12; background-image: linear-gradient(rgba(201,237,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(201,237,255,.3) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(350px) rotateX(61deg) scale(1.4); transform-origin: 50% 90%; mask-image: linear-gradient(to bottom, transparent, black 30%, black 75%, transparent); }
.hero-content { width: min(100%, 820px); text-align: center; position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(208, 242, 255, .4); background: rgba(10, 49, 154, .28); color: #ddfaff; border-radius: 999px; padding: 8px 13px; font-size: 9px; font-weight: 800; letter-spacing: 1.6px; box-shadow: 0 5px 24px rgba(4, 29, 131, .13); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #7dffca; box-shadow: 0 0 10px #7dffca; }
.hero-logo { width: min(100%, 795px); margin: 7px auto 0; display: flex; flex-direction: column; align-items: center; }
.hero-logo-icon { width: clamp(111px, 18vw, 166px); height: auto; overflow: visible; filter: drop-shadow(0 18px 19px rgba(8, 24, 116, .42)); transform: rotate(5deg); }
.hero-logo h1 { color: #fff; margin: -1px 0 0; font-family: 'Nunito', 'Arial Black', sans-serif; font-size: clamp(4rem, 11.1vw, 7.15rem); font-weight: 1000; line-height: .91; letter-spacing: -.075em; -webkit-text-stroke: 2px #aefaff; paint-order: stroke fill; text-shadow: 0 3px 0 #227cff, 0 7px 0 #1856ee, 0 12px 0 #113fce, 0 17px 0 #0d319b, 0 20px 1px #081e69, 0 24px 23px rgba(3, 24, 89, .63); }
.hero-subtitle { margin: 25px 0 21px; color: #f4f8ff; font-size: clamp(14px, 2vw, 17px); font-weight: 600; letter-spacing: .1px; }
.hero-subtitle span { color: #d4faff; }
.hero-buttons { display: flex; justify-content: center; align-items: center; gap: 11px; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; border: 1px solid transparent; padding: 0 17px; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--white { color: #12359f; background: #fff; box-shadow: 0 7px 21px rgba(5, 30, 119, .23); }
.button--white:hover { box-shadow: 0 10px 26px rgba(4, 27, 108, .36); }
.button--glass { color: #fff; background: rgba(6, 39, 139, .19); border-color: rgba(229, 250, 255, .43); }
.button--glass:hover { background: rgba(255,255,255,.13); }
.button-plus { color: #a5fbff; font-size: 17px; margin-top: -1px; }
.button--blue { color: #fff; background: #356cff; }
.hero-footnote { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 9px; color: rgba(231, 244, 255, .78); font-size: 10px; font-weight: 600; }
.avatar-stack { display: inline-flex; padding-left: 4px; }
.avatar-stack i { width: 23px; height: 23px; margin-left: -4px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #1c5df2; background: #f5c2a6; font-style: normal; font-size: 12px; }
.avatar-stack i:nth-child(2) { background: #99eeef; }.avatar-stack i:nth-child(3) { background: #c0f090; }
.footnote-separator { color: #86f6ff; }
.hero-tile { position: absolute; width: clamp(42px, 9.5vw, 94px); aspect-ratio: 1; border: 17px solid rgba(106, 200, 255, .2); transform: rotate(13deg) skew(5deg); filter: drop-shadow(0 0 18px rgba(105, 232, 255, .16)); }
.hero-tile--one { left: 8%; top: 10%; }.hero-tile--two { right: 8%; top: 13%; transform: rotate(-14deg) skew(-5deg); }
.hero-tile--three { left: 13%; bottom: 12%; width: 53px; border-width: 12px; transform: rotate(-12deg); }.hero-tile--four { right: 14%; bottom: 10%; width: 66px; border-width: 13px; transform: rotate(16deg); }
.hero-orbit { position: absolute; width: 480px; height: 480px; border: 1px solid rgba(162, 231, 255, .16); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero-orbit--two { width: 590px; height: 590px; border-color: rgba(162, 231, 255, .09); }
.hero-scroll { position: absolute; left: 50%; bottom: 12px; width: 20px; height: 27px; border: 1px solid rgba(208, 245, 255, .5); border-radius: 99px; opacity: .75; }
.hero-scroll span { position: absolute; left: 8px; top: 5px; width: 2px; height: 5px; background: #eaffff; border-radius: 2px; animation: scroll 1.5s ease-in-out infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(7px); opacity: 0; } }

.section-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.discover { padding-top: 70px; padding-bottom: 70px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 27px; }
.eyebrow { color: #6f85c0; font-size: 9px; letter-spacing: 2px; font-weight: 800; margin: 0 0 8px; }
.section-heading h2 { color: #f6f8ff; font-family: 'Nunito', sans-serif; font-size: clamp(27px, 4vw, 38px); line-height: 1.12; letter-spacing: -1.4px; margin: 0; font-weight: 1000; }
.section-heading h2 span { color: #7d9cff; }
.heading-note { display: flex; align-items: center; gap: 9px; color: #8d9bc6; font-size: 11px; line-height: 1.5; font-weight: 600; }
.sparkle { color: #69f2f5; font-size: 23px; }
.discovery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 21px; }
.filter-list { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.filter-chip { min-height: 33px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px solid rgba(177, 196, 255, .15); border-radius: 8px; background: transparent; color: #a8b4d6; font-size: 10px; font-weight: 700; cursor: pointer; transition: .16s ease; }
.filter-chip:hover { border-color: rgba(115, 235, 255, .5); color: #fff; }
.filter-chip.is-active { background: #e3f4ff; border-color: #e3f4ff; color: #123886; box-shadow: 0 4px 15px rgba(90, 156, 255, .14); }
.favorites-chip span { color: #fb81bd; font-size: 15px; line-height: 0; }
.sort-label { display: flex; align-items: center; gap: 7px; color: #7382ac; font-size: 10px; font-weight: 600; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #88f5cd; box-shadow: 0 0 8px rgba(136, 245, 205, .55); }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.game-card { position: relative; min-width: 0; overflow: hidden; border-radius: 14px; background: #111a3a; border: 1px solid rgba(193, 208, 255, .1); box-shadow: 0 9px 22px rgba(2, 7, 26, .15); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; animation: card-in .35s both; }
.game-card:hover { transform: translateY(-5px); border-color: rgba(118, 225, 255, .43); box-shadow: 0 17px 31px rgba(2, 8, 33, .35), 0 0 23px rgba(36, 109, 255, .1); }
@keyframes card-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.game-art { height: 148px; position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.game-art::before { content: ''; position: absolute; z-index: -1; width: 165px; height: 165px; border-radius: 50%; background: rgba(255,255,255,.12); right: -52px; top: -74px; }
.game-art::after { content: ''; position: absolute; z-index: -1; width: 210px; height: 38px; border-radius: 50%; background: rgba(9, 15, 51, .16); bottom: -24px; left: 5%; transform: rotate(-8deg); }
.art-emoji { font-size: 65px; filter: drop-shadow(0 10px 7px rgba(10, 17, 56, .28)); transform: translateY(-2px); transition: transform .24s cubic-bezier(.2,.8,.2,1); }
.game-card:hover .art-emoji { transform: translateY(-6px) scale(1.1) rotate(-4deg); }
.art-sticker { position: absolute; right: 12px; bottom: 14px; font-size: 23px; filter: drop-shadow(0 3px 3px rgba(5, 8, 34, .23)); transform: rotate(8deg); }
.art-badge { position: absolute; top: 10px; left: 10px; padding: 5px 7px; border-radius: 5px; background: rgba(7, 20, 60, .28); border: 1px solid rgba(255,255,255,.37); color: white; font-size: 8px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; backdrop-filter: blur(7px); }
.art-obby { background: linear-gradient(140deg, #a052f0 0%, #ec68b8 50%, #ffb763 100%); }
.art-pets { background: linear-gradient(140deg, #38baf3 0%, #7463ed 55%, #c465ed 100%); }
.art-island { background: linear-gradient(145deg, #58ddc6 0%, #4aade8 55%, #7792ff 100%); }
.art-pizza { background: linear-gradient(145deg, #ff7c74 0%, #fa9b60 52%, #ffd45e 100%); }
.art-race { background: linear-gradient(145deg, #4859e8 0%, #bc5fd4 53%, #ff668c 100%); }
.art-camp { background: linear-gradient(145deg, #15225f 0%, #3b56b6 57%, #5d90e6 100%); }
.art-tycoon { background: linear-gradient(145deg, #6bd8a8 0%, #45aaa8 48%, #4497d0 100%); }
.art-castle { background: linear-gradient(145deg, #ffcc69 0%, #f48f86 49%, #bd71d8 100%); }
.game-info { padding: 13px 13px 12px; }
.game-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.game-title { margin: 0; color: #f7f8ff; font-size: 13px; line-height: 1.25; font-weight: 800; letter-spacing: -.15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.favorite-button { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 7px; color: #8090be; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; transition: color .16s ease, background .16s ease, transform .16s ease; }
.favorite-button:hover { color: #ff83ba; background: rgba(248, 103, 164, .1); transform: scale(1.12); }
.favorite-button.is-favorite { color: #ff7cb5; }
.game-description { min-height: 30px; margin: 5px 0 12px; color: #8997be; font-size: 10px; line-height: 1.5; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding-top: 10px; border-top: 1px solid rgba(191, 206, 252, .09); }
.player-count { display: inline-flex; align-items: center; gap: 6px; color: #a8b5d4; font-size: 9px; font-weight: 700; white-space: nowrap; }
.player-icon { width: 13px; height: 13px; display: inline-grid; place-items: center; border-radius: 50% 50% 44% 44%; color: #82f3d2; font-size: 10px; }
.play-button { min-height: 29px; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 7px; padding: 0 10px; background: #2d65f7; color: #fff; font-size: 9px; font-weight: 800; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.play-button:hover { background: #4b7cff; transform: scale(1.04); }
.play-button span { font-size: 8px; }
.empty-state { padding: 60px 20px; text-align: center; color: #98a6d0; }
.empty-state > span { font-size: 36px; }
.empty-state h3 { margin: 10px 0 6px; color: #fff; font-size: 18px; }
.empty-state p { margin: 0 0 19px; font-size: 12px; }

.builder-banner { position: relative; overflow: hidden; min-height: 284px; display: flex; justify-content: space-between; align-items: center; padding: 37px 7.4%; border-radius: 20px; background: linear-gradient(112deg, #2248cc 0%, #3667e5 57%, #597dec 100%); box-shadow: inset 0 0 0 1px rgba(220,235,255,.12), 0 19px 50px rgba(3, 7, 26, .2); }
.builder-banner::before { content: ''; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(rgba(255,255,255,.75) .7px, transparent .7px); background-size: 13px 13px; mask-image: linear-gradient(to right, black, transparent 68%); }
.builder-copy { z-index: 2; width: 49%; }
.builder-tag { display: inline-flex; gap: 7px; align-items: center; color: #c5faff; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.builder-tag span { color: #8bffef; font-size: 13px; }
.builder-copy h2 { color: #fff; font-family: 'Nunito', sans-serif; font-size: clamp(29px, 4vw, 41px); line-height: 1.05; letter-spacing: -1.5px; margin: 14px 0 9px; font-weight: 1000; }
.builder-copy h2 span { color: #91fff2; }
.builder-copy p { max-width: 320px; color: rgba(238, 244, 255, .8); font-size: 11px; line-height: 1.6; margin: 0 0 17px; }
.builder-copy .button { min-height: 37px; font-size: 10px; }
.builder-art { position: absolute; width: 50%; height: 100%; right: 1%; bottom: 0; }
.builder-sun { width: 159px; height: 159px; border-radius: 50%; background: linear-gradient(145deg, #a8fbff, #75b6ff); position: absolute; right: 23%; top: 9%; box-shadow: 0 0 55px rgba(123, 244, 255, .4); }
.builder-cloud { position: absolute; height: 14px; width: 84px; border-radius: 10px; background: rgba(232, 249, 255, .52); }
.builder-cloud::before, .builder-cloud::after { content: ''; position: absolute; bottom: 3px; width: 26px; height: 26px; border-radius: 50%; background: inherit; }
.builder-cloud::before { left: 12px; }.builder-cloud::after { left: 33px; width: 32px; height: 32px; }
.builder-cloud--one { right: 11%; top: 22%; transform: scale(.85); opacity: .68; }.builder-cloud--two { right: 58%; top: 35%; transform: scale(.62); opacity: .53; }
.builder-platform { position: absolute; height: 42px; border-radius: 9px; transform: skew(-25deg) rotate(-8deg); }
.builder-platform--back { right: 7%; bottom: 23%; width: 63%; background: linear-gradient(90deg, #8ff0e0, #78c9ff); box-shadow: 0 10px 22px rgba(12, 34, 123, .24); }
.builder-platform--front { right: -3%; bottom: 10%; width: 79%; height: 50px; background: linear-gradient(90deg, #4be1c2, #72a5ff); box-shadow: 0 11px 20px rgba(12, 34, 123, .24); }
.builder-cube { position: absolute; z-index: 2; width: 57px; height: 57px; border-radius: 8px; transform: rotate(12deg); box-shadow: 0 12px 18px rgba(17, 24, 96, .25); }
.builder-cube::before { content: ''; position: absolute; width: 100%; height: 16px; left: 0; top: -13px; border-radius: 7px 7px 0 0; clip-path: polygon(15% 0, 100% 0, 84% 100%, 0 100%); background: rgba(255,255,255,.57); }
.builder-cube i { position: absolute; inset: 15px; border-radius: 4px; background: rgba(255,255,255,.18); }
.builder-cube--pink { right: 34%; bottom: 30%; background: linear-gradient(145deg, #ffa9c3, #e151a7); width: 69px; height: 69px; }
.builder-cube--yellow { right: 10%; bottom: 30%; background: linear-gradient(145deg, #ffec95, #ffae52); width: 50px; height: 50px; transform: rotate(-11deg); }
.builder-cube--mint { right: 56%; bottom: 17%; background: linear-gradient(145deg, #9cffc9, #43cbb6); width: 43px; height: 43px; transform: rotate(8deg); }
.builder-star { position: absolute; right: 20%; top: 23%; color: #cffffc; font-size: 26px; text-shadow: 0 0 15px #8bfff3; }

.site-footer { min-height: 117px; display: flex; align-items: center; justify-content: space-between; margin-top: 53px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 17px; }.footer-brand .brand-mark { width: 24px; height: 24px; }.footer-brand .brand-mark span { width: 8px; height: 8px; }
.footer-note { color: #7280a9; font-size: 10px; }.footer-note span { color: #6df2ee; margin-left: 4px; }
.back-top { color: #9eadd4; font-size: 10px; font-weight: 700; transition: color .15s ease; }.back-top:hover { color: white; }

.app-dialog { width: min(450px, calc(100% - 30px)); max-height: min(88vh, 700px); padding: 0; overflow: auto; border: 1px solid rgba(159, 195, 255, .24); border-radius: 19px; background: #101a3a; color: #f6f7ff; box-shadow: 0 30px 100px rgba(1, 5, 22, .65), 0 0 0 1px rgba(60, 116, 255, .12); }
.app-dialog::backdrop { background: rgba(2, 7, 27, .73); backdrop-filter: blur(8px); }
.dialog-content { padding: 25px; }
.dialog-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.dialog-kicker { color: #8a9bc9; font-size: 9px; letter-spacing: 1.8px; font-weight: 800; text-transform: uppercase; }
.dialog-content h2 { color: #fff; font-family: 'Nunito', sans-serif; font-size: 24px; line-height: 1.15; letter-spacing: -.6px; margin: 7px 0 5px; font-weight: 1000; }
.dialog-close { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(187, 205, 255, .15); border-radius: 9px; background: rgba(255,255,255,.045); color: #acb8da; font-size: 18px; cursor: pointer; }
.dialog-close:hover { color: white; background: rgba(255,255,255,.11); }
.dialog-intro { color: #97a5cc; font-size: 12px; line-height: 1.6; margin: 9px 0 18px; }
.dialog-game-art { height: 154px; position: relative; display: grid; place-items: center; margin: 16px 0 13px; overflow: hidden; border-radius: 12px; font-size: 71px; }
.dialog-game-art::after { content: ''; position: absolute; width: 145px; height: 145px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.dialog-game-details { display: flex; gap: 7px; flex-wrap: wrap; margin: 13px 0 17px; }
.detail-pill { border: 1px solid rgba(182, 200, 255, .14); border-radius: 7px; padding: 6px 9px; color: #a9b6d9; font-size: 9px; font-weight: 700; }
.dialog-actions { display: flex; gap: 9px; margin-top: 17px; }
.dialog-actions .button { flex: 1; min-height: 40px; }
.button--secondary { color: #c0cbea; border-color: rgba(190, 208, 255, .19); background: rgba(255,255,255,.035); }
.button--secondary:hover { background: rgba(255,255,255,.09); }
.preview-ready { margin-top: 15px; padding: 12px; border-radius: 10px; color: #bcffe9; background: rgba(75, 211, 167, .1); border: 1px solid rgba(104, 242, 199, .18); font-size: 11px; line-height: 1.55; }
.form-label { display: block; margin: 13px 0 6px; color: #c5cee6; font-size: 10px; font-weight: 800; }
.dialog-input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid rgba(172, 193, 255, .18); border-radius: 9px; outline: 0; color: white; background: rgba(3, 8, 31, .43); font-size: 12px; }
.dialog-input:focus { border-color: #66dfff; box-shadow: 0 0 0 3px rgba(68, 184, 255, .11); }
.template-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 9px 0 17px; }
.template-option { min-height: 65px; padding: 9px 5px; border: 1px solid rgba(177, 196, 255, .15); border-radius: 9px; color: #96a6ce; text-align: center; font-size: 9px; font-weight: 700; background: rgba(255,255,255,.025); cursor: pointer; }
.template-option span { display: block; font-size: 20px; margin-bottom: 3px; }
.template-option.is-selected { color: #e9f8ff; border-color: #67e9fa; background: rgba(62, 161, 255, .12); }
.avatar-preview { width: 104px; height: 104px; display: grid; place-items: center; margin: 19px auto 8px; border: 2px solid #75efff; border-radius: 28px; font-size: 51px; background: linear-gradient(145deg, #ffeb96, #ff9b64); box-shadow: 0 12px 33px rgba(43, 105, 255, .2); transition: background .2s ease; }
.avatar-options { display: flex; justify-content: center; gap: 12px; margin: 14px 0 19px; }
.avatar-swatch { width: 31px; height: 31px; border: 2px solid transparent; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px rgba(205,221,255,.22); }
.avatar-swatch.is-selected { border-color: white; outline: 2px solid #66dfff; outline-offset: 2px; }
.avatar-emoji-row { display: flex; justify-content: center; gap: 8px; margin: 12px 0 17px; }
.avatar-emoji { width: 36px; height: 36px; border: 1px solid rgba(183, 199, 255, .15); border-radius: 9px; background: rgba(255,255,255,.04); font-size: 18px; cursor: pointer; }
.avatar-emoji.is-selected { border-color: #66eafa; background: rgba(58, 167, 255, .17); }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 15px; border: 1px solid rgba(169, 221, 255, .28); border-radius: 10px; color: #f1f8ff; background: #182755; box-shadow: 0 12px 30px rgba(0, 5, 23, .4); font-size: 11px; font-weight: 700; transition: .22s ease; white-space: nowrap; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-header { gap: 27px; padding-inline: 26px; }
  .main-nav { gap: 21px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .builder-banner { min-height: 260px; padding-left: 5%; }
  .builder-art { width: 52%; right: -3%; transform: scale(.86); transform-origin: right center; }
}
@media (max-width: 680px) {
  .site-header { height: 65px; gap: 16px; padding-inline: 18px; }
  .brand { font-size: 19px; gap: 8px; }.brand-mark { width: 25px; height: 25px; }.brand-mark span { width: 9px; height: 9px; }
  .main-nav { gap: 14px; }.nav-link { font-size: 11px; }.nav-count { display: none; }
  .header-actions { gap: 10px; }.header-search { width: 36px; padding: 0 9px; border: 0; background: transparent; }.header-search input, .header-search kbd { display: none; }
  .avatar-button { width: 34px; height: 34px; border-radius: 11px; }
  .hero { min-height: 510px; padding-bottom: 49px; }
  .hero-kicker { font-size: 8px; letter-spacing: 1.2px; }
  .hero-logo h1 { font-size: clamp(3.8rem, 14vw, 6rem); -webkit-text-stroke-width: 1.5px; }
  .hero-tile--one { left: 3%; top: 12%; }.hero-tile--two { right: 3%; top: 15%; }.hero-tile--three { left: 8%; bottom: 11%; }.hero-tile--four { right: 7%; bottom: 12%; }
  .hero-orbit { width: 360px; height: 360px; }.hero-orbit--two { width: 465px; height: 465px; }
  .section-wrap { width: calc(100% - 36px); }
  .discover { padding-top: 52px; padding-bottom: 52px; }
  .section-heading { margin-bottom: 20px; }.heading-note { font-size: 9px; }.sparkle { font-size: 19px; }
  .discovery-toolbar { display: block; }.filter-list { gap: 6px; }.filter-chip { min-height: 31px; padding-inline: 10px; font-size: 9px; }.sort-label { margin-top: 12px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .game-art { height: 128px; }.art-emoji { font-size: 57px; }.game-info { padding: 10px; }.game-title { font-size: 11px; }.game-description { font-size: 9px; min-height: 27px; margin-bottom: 9px; }.play-button { padding-inline: 8px; font-size: 8px; }.player-count { font-size: 8px; }
  .builder-banner { min-height: 402px; align-items: flex-start; padding: 27px 24px; }
  .builder-copy { width: 100%; position: relative; z-index: 3; }.builder-copy h2 { font-size: 34px; }.builder-copy p { max-width: 250px; font-size: 10px; }
  .builder-art { width: 100%; height: 235px; right: -5%; bottom: -3px; transform: scale(.79); transform-origin: 100% 100%; opacity: .92; }
  .builder-sun { width: 136px; height: 136px; right: 23%; top: 2%; }
  .site-footer { min-height: 94px; margin-top: 37px; }.footer-note { display: none; }
}
@media (max-width: 390px) {
  .site-header { padding-inline: 12px; gap: 11px; }.brand { font-size: 17px; }.main-nav { gap: 10px; }.nav-link { font-size: 10px; }.header-actions { gap: 5px; }
  .nav-link[href="#favorites"] { display: none; }
  .hero-buttons { gap: 7px; }.button { padding-inline: 12px; font-size: 10px; }.hero-footnote { font-size: 9px; }
  .section-wrap { width: calc(100% - 26px); }.game-grid { gap: 8px; }.game-art { height: 112px; }.game-info { padding: 9px; }.player-count { gap: 3px; font-size: 7px; }.play-button { min-height: 27px; padding: 0 7px; }
  .filter-chip { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
