/* ===== TRIVEX — chrome on black ===== */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #000;
  --panel: #0c0d10;
  --panel-2: #14161a;
  --panel-3: #1d2025;
  --line: rgba(205, 212, 224, .14);
  --line-hi: rgba(240, 244, 250, .5);
  --text: #e9ecf1;
  --muted: #8f96a3;
  --chrome: #cfd5df;
  --chrome-hi: #fafbfd;
  --chrome-lo: #5d6470;
  --glow: rgba(214, 224, 240, .28);
  --font-display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1100px 600px at 82% -8%, rgba(150, 160, 180, .13), transparent 60%),
    radial-gradient(900px 700px at -10% 40%, rgba(110, 118, 135, .09), transparent 60%);
  background-attachment: fixed;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--chrome-hi); color: #000; padding: .6rem 1rem; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--chrome-hi); outline-offset: 3px; border-radius: 6px; }

/* ----- loader ----- */
.loader { position: fixed; inset: 0; z-index: 90; background: #000; display: grid; place-content: center; justify-items: center; gap: 2rem; transition: opacity .6s var(--ease), visibility .6s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { position: relative; width: 150px; height: 150px; }
.loader-mark img { width: 100%; height: 100%;  animation: breathe 2.4s ease-in-out infinite; }
.loader-ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid transparent;
  background: conic-gradient(from var(--angle), transparent 0 60%, var(--chrome-hi) 100%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; animation: turn 1.8s linear infinite; }
.loader-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--chrome-hi), transparent); animation: slide 1.3s var(--ease) infinite; }
@keyframes turn { to { --angle: 360deg; } }
@keyframes slide { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
@keyframes breathe { 50% { opacity: .82; transform: scale(.97); } }

/* ----- header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h); padding: 0 clamp(1rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: auto 1fr minmax(180px, 320px) auto; align-items: center; gap: 1.5rem;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: block; height: 64px; width: 86px; position: relative; }
.brand img { position: absolute; left: -8px; top: -14px; width: 94px; height: 94px; transition: filter .4s; }
.brand:hover img { filter: drop-shadow(0 0 14px var(--glow)); }
.nav { display: flex; gap: .4rem; }
.nav a { padding: .5rem .9rem; border-radius: 999px; color: var(--muted); font-weight: 500; transition: color .25s, background .25s; }
.nav a:hover { color: var(--chrome-hi); }
.nav a[aria-current="page"] { color: var(--chrome-hi); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.search { display: flex; align-items: center; gap: .6rem; padding: 0 1rem; height: 42px; border-radius: 999px; color: var(--muted);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.search:focus-within { border-color: var(--line-hi); box-shadow: 0 0 0 4px rgba(220, 228, 240, .07), 0 0 24px var(--glow); color: var(--chrome-hi); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: invert(.8); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--chrome-hi); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .55rem 1.3rem; border-radius: 999px;
  font-weight: 600; letter-spacing: .01em; border: 1px solid transparent; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .3s, border-color .3s, background .3s; }
.btn:active { transform: scale(.97); }
.btn-primary { color: #050506; background: linear-gradient(180deg, #ffffff 0%, #d4d9e2 45%, #9aa1ad 52%, #e6e9ef 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 8px 28px rgba(190, 200, 220, .16); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset, 0 10px 36px rgba(210, 220, 240, .3); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-hi); background: rgba(255, 255, 255, .08); box-shadow: 0 0 22px var(--glow); }
.btn-sm { min-height: 38px; padding: .4rem 1rem; font-size: .92rem; }

/* ----- glass surface with silver edge ----- */
.glass {
  border: 1px solid transparent; border-radius: var(--radius); position: relative;
  background:
    linear-gradient(160deg, rgba(30, 33, 39, .78), rgba(10, 11, 14, .86)) padding-box,
    linear-gradient(140deg, rgba(255,255,255,.42), rgba(255,255,255,.05) 38%, rgba(255,255,255,.04) 62%, rgba(255,255,255,.28)) border-box;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(235, 240, 250, .13), transparent 55%); }
.glass:hover::before { opacity: 1; }

/* ----- layout ----- */
main { min-height: 70vh; outline: 0; }
.page { width: min(1240px, 100% - 2 * clamp(1rem, 3vw, 2.5rem)); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.page-head { display: grid; gap: .8rem; margin-bottom: 2.2rem; max-width: 62ch; }
.page-head h1 { font: 400 clamp(1.8rem, 4.6vw, 3.1rem)/1.1 var(--font-display); letter-spacing: .02em; }
.chrome-text, .page-head h1, .hero h1 {
  background: linear-gradient(180deg, #fff 0%, #dfe3ea 34%, #7a808c 50%, #eef1f5 62%, #9097a3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

/* ----- hero ----- */
.hero { width: min(1320px, 100% - 2 * clamp(1rem, 3vw, 2.5rem)); margin: 0 auto; min-height: calc(100dvh - var(--header-h)); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding: 2rem 0 3rem; }
.hero-copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero h1 { font: 400 clamp(2.5rem, 6.6vw, 5.6rem)/1.02 var(--font-display); letter-spacing: .01em; filter: drop-shadow(0 0 30px rgba(200, 210, 230, .18));
  background-image: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%), linear-gradient(180deg, #fff 0%, #dfe3ea 34%, #7a808c 50%, #eef1f5 62%, #9097a3 100%);
  background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; background-position: 160% 0, 0 0; animation: sweep 5.5s 1.4s var(--ease) infinite; }
@keyframes sweep { 0% { background-position: 160% 0, 0 0; } 45%, 100% { background-position: -60% 0, 0 0; } }
.hero h1 span { display: block; }
.hero p { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.25rem); max-width: 34ch; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.stage { position: relative; height: clamp(340px, 46vw, 560px); perspective: 1300px; display: grid; place-items: center; touch-action: pan-y; }
.stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); background: radial-gradient(closest-side, rgba(210, 218, 232, .1), transparent 72%); }
.stage::after { content: ""; position: absolute; bottom: 7%; width: 62%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 228, 242, .35), transparent 75%); filter: blur(10px); }
.tilt { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, -8deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.ring { position: absolute; transform-style: preserve-3d; animation: spin 46s linear infinite; --r: clamp(150px, 21vw, 300px); }
.stage:hover .ring, .stage:focus-within .ring { animation-play-state: paused; }
@keyframes spin { to { transform: rotateY(360deg); } }
.ring-item { position: absolute; left: calc(var(--w) / -2); top: calc(var(--w) / -2); width: var(--w); --w: clamp(104px, 15vw, 190px);
  transform: rotateY(var(--a)) translateZ(var(--r)); border: 0; padding: 0; background: none; backface-visibility: visible; }
.ring-item .face { display: block; aspect-ratio: 1; border-radius: 22px; padding: 10px; transition: transform .35s var(--ease), box-shadow .35s;
  background: linear-gradient(160deg, rgba(34, 37, 44, .9), rgba(8, 9, 11, .92)) padding-box, linear-gradient(140deg, rgba(255,255,255,.55), rgba(255,255,255,.06) 40%, rgba(255,255,255,.3)) border-box; border: 1px solid transparent; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.ring-item:hover .face { transform: scale(1.08); box-shadow: 0 0 40px var(--glow), 0 20px 50px rgba(0,0,0,.6); }
.ring-item img { width: 100%; height: 100%; object-fit: contain; }
.stage-empty { position: absolute; display: grid; place-items: center; }
.stage-empty img { width: clamp(140px, 22vw, 260px);  animation: breathe 3s ease-in-out infinite; }

/* ----- product grid ----- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head h2 { font: 400 clamp(1.3rem, 3vw, 2rem)/1.15 var(--font-display); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 1.1rem; }
.card { display: flex; flex-direction: column; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; animation: rise .6s var(--ease) both; animation-delay: calc(min(var(--i, 0), 14) * 45ms); }
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0, 0, 0, .7), 0 0 36px rgba(200, 210, 230, .1); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.card-media { display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 1; background: radial-gradient(closest-side at 50% 55%, rgba(210, 218, 232, .13), transparent 80%), var(--panel); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.07) rotate(-1.5deg); }
.card-media .ph { width: 100%; height: 100%; display: grid; place-items: center; }
.card-media .ph img { width: 45%; padding: 0; opacity: .5;  }
.card-body { display: grid; gap: .35rem; padding: 1rem 1.1rem 1.15rem; flex: 1; align-content: start; }
.cat { color: var(--muted); font-size: .82rem; }
.card h3 { font: 600 1.02rem/1.3 var(--font-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card h3 a:hover { color: var(--chrome-hi); text-decoration: underline; text-underline-offset: 3px; }
.price { font: 400 1.05rem var(--font-display); color: var(--chrome-hi); margin: .2rem 0 .6rem; }
.price small { font: 500 .75rem var(--font-body); color: var(--muted); margin-right: .35rem; }
.card-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; margin-top: auto; }

/* skeleton */
.skel .card-media, .skel i { background: linear-gradient(100deg, #101216 30%, #1c1f25 50%, #101216 70%); background-size: 250% 100%; animation: shimmer 1.4s linear infinite; }
.skel i { display: block; height: 14px; border-radius: 7px; }
.skel .card-body { gap: .7rem; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* toolbar */
.toolbar { display: grid; gap: 1rem; padding: 1rem 1.1rem; margin-bottom: 1.6rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { padding: .38rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-size: .9rem; transition: all .25s; }
.chip:hover { color: var(--chrome-hi); border-color: var(--line-hi); }
.chip[aria-pressed="true"] { color: #050506; background: linear-gradient(180deg, #fff, #b9bfca); border-color: transparent; font-weight: 600; }
.controls { display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; }
.field { display: grid; gap: .3rem; font-size: .82rem; color: var(--muted); }
.field select, .field input { height: 40px; padding: 0 .8rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel-2); color: var(--text); min-width: 0; }
.field input { width: 112px; }
.field select:focus, .field input:focus { outline: 0; border-color: var(--line-hi); box-shadow: 0 0 0 3px rgba(220, 228, 240, .08); }
.result-count { margin-left: auto; color: var(--muted); font-size: .92rem; align-self: center; }
.state { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 4rem 1rem; color: var(--muted); }
.state h3 { font: 400 1.2rem var(--font-display); color: var(--text); }

/* ----- groups ----- */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.group { display: grid; grid-template-columns: 112px 1fr; gap: 1.4rem; padding: 1.6rem; align-items: start; transition: transform .4s var(--ease), box-shadow .4s; }
.group:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 36px rgba(200,210,230,.1); }
.group.is-featured { grid-column: 1 / -1; grid-template-columns: 200px 1fr; padding: 2rem; }
.group-icon { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.group-icon img { width: 100%; height: 100%; object-fit: cover; }
.group-icon .ph { display: grid; place-items: center; height: 100%; }
.group-icon .ph img { width: 70%; height: auto;  opacity: .6; }
.group-body { display: grid; gap: .7rem; min-width: 0; align-content: start; }
.group h3 { font: 400 1.25rem/1.2 var(--font-display); }
.group.is-featured h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.members { color: var(--muted); font-size: .9rem; }
.group p { color: #b4bac6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; max-width: 70ch; white-space: pre-line; }
.group .btn { justify-self: start; margin-top: .4rem; }

/* ----- team ----- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.member { overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.member:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 36px rgba(200,210,230,.1); }
.portrait { aspect-ratio: 1; display: grid; place-items: end center; background: radial-gradient(closest-side at 50% 60%, rgba(210,218,232,.2), transparent 80%); overflow: hidden; }
.portrait img { width: 86%; height: 100%; object-fit: contain; object-position: bottom; transition: transform .6s var(--ease); filter: drop-shadow(0 12px 22px rgba(0,0,0,.6)); }
.member:hover .portrait img { transform: scale(1.05); }
.member-body { padding: 1.2rem 1.4rem 1.5rem; display: grid; gap: .6rem; justify-items: start; border-top: 1px solid var(--line); }
.member h3 { font: 400 1.15rem/1.2 var(--font-display); overflow-wrap: anywhere; }
.role { padding: .25rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--chrome-hi); border: 1px solid var(--line-hi); background: rgba(255,255,255,.05); }
.member .btn { margin-top: .5rem; }

/* ----- modal ----- */
.modal { padding: 0; border: 0; background: none; color: inherit; width: min(920px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); overflow: visible; margin: auto; }
.modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); }
.modal[open] { animation: pop .35s var(--ease); }
.modal[open]::backdrop { animation: fade .35s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.modal-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; max-height: calc(100dvh - 1.5rem); }
.modal-media { background: radial-gradient(closest-side at 50% 55%, rgba(210,218,232,.16), transparent 80%), var(--panel); display: grid; place-items: center; aspect-ratio: 1; }
.modal-media img { width: 88%; height: 88%; object-fit: contain; }
.modal-info { padding: 2rem; display: grid; gap: .9rem; align-content: center; overflow-y: auto; }
.modal-info h2 { font: 400 clamp(1.2rem, 2.6vw, 1.7rem)/1.2 var(--font-display); overflow-wrap: anywhere; }
.modal-info .desc { color: #b4bac6; max-height: 9rem; overflow-y: auto; white-space: pre-line; }
.modal-meta { display: flex; gap: 1.2rem; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.modal-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .4rem; }
.modal-close { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0,0,0,.6); font-size: 1.3rem; line-height: 1; }
.modal-close:hover { border-color: var(--line-hi); box-shadow: 0 0 20px var(--glow); }

/* ----- footer ----- */
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 3rem clamp(1rem, 3vw, 2.5rem) 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; background: linear-gradient(180deg, transparent, rgba(255,255,255,.02)); }
.foot-brand img { width: 120px; height: 120px;  margin-left: -10px; }
.foot-brand p { color: var(--muted); margin-top: .3rem; }
.foot-col { display: grid; gap: .5rem; align-content: start; }
.foot-col h2 { font: 400 .95rem var(--font-display); color: var(--chrome); margin-bottom: .4rem; }
.foot-col a { color: var(--muted); width: fit-content; transition: color .2s; }
.foot-col a:hover { color: var(--chrome-hi); }
.legal { grid-column: 1 / -1; color: var(--chrome-lo); font-size: .85rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ----- page transition ----- */
::view-transition-old(root) { animation: .22s ease both vt-out; }
::view-transition-new(root) { animation: .38s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ----- responsive ----- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 1rem; }
  .stage { order: 2; }
  .team { grid-template-columns: 1fr; max-width: 460px; }
  .modal-card { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  :root { --header-h: 118px; }
  .site-header { grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand . roblox burger" "search search search search"; row-gap: .4rem; padding-bottom: .6rem; align-content: center; }
  .brand { grid-area: brand; } .search { grid-area: search; } .btn-roblox { grid-area: roblox; } .burger { grid-area: burger; display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: .2rem; padding: 1rem; background: rgba(0,0,0,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .brand { height: 54px; width: 74px; }
  .brand img { width: 80px; height: 80px; top: -12px; }
  .groups { grid-template-columns: 1fr; }
  .group.is-featured { grid-template-columns: 130px 1fr; padding: 1.6rem; }
  .site-footer { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .group, .group.is-featured { grid-template-columns: 1fr; }
  .group-icon { width: 96px; }
  .group.is-featured .group-icon { width: 120px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .card-actions { grid-template-columns: 1fr; }
  .card-body { padding: .8rem .85rem 1rem; }
  .result-count { margin-left: 0; width: 100%; }
  .btn-roblox { padding-inline: 1rem; }
  .modal-info { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ring { animation: none; }
}

.fallback-img {  opacity: .45; object-fit: contain !important; padding: 18% !important; }
