:root { --brand-300: #6db6ff; --brand-400: #409fff; --brand-500: #0080ff; --brand-600: #0067d6; --brand-700: #0052ad; --brand-rgb: 6, 147, 227; --success-400: #2bd672; --success-500: #16b84e; --danger-400: #ff7088; --danger-500: #ff4365; --warning-400: #ffc24b; --warning-500: #f5a623; --font-sans: "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --font-mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; --fs-meta: 14px; --fs-body: 16px; --fs-title: 20px; --fs-h2: 19px; --fs-h3: 18px; --fs-display: clamp(1.6rem, 1.2rem + 1.8vw, 2rem); --fs-xs: 12px; --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --lh-tight: 1.25; --lh-snug: 1.4; --lh-body: 1.6; --tracking: 0.01em; --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 22px; --radius-pill: 999px; --ease: cubic-bezier(0.4, 0, 0.2, 1); --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-fast: 0.18s; --dur: 0.3s; --dur-slow: 0.5s; --blur-sm: 8px; --blur-md: 12px; --blur-lg: 16px; --sidebar-w: 240px; --container-max: 1320px; --header-h: 84px; --z-sticky: 100; --z-drawer: 200; --z-dropdown:300; --z-modal: 400; --z-toast: 500; } :root, [data-theme="dark"] { color-scheme: dark; --bg: #0d111c; --bg-elev: #121828; --bg-pattern: radial-gradient(1200px 600px at 100% -10%, rgba(6,147,227,0.10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(64,159,255,0.06), transparent 55%); --surface-1: #151b2b; --surface-2: #1b2236; --surface-3: #232c44; --surface-sunken:#0a0e17; --glass-bg: rgba(21, 27, 43, 0.62); --glass-bg-strong: rgba(21, 27, 43, 0.82); --glass-border: rgba(255, 255, 255, 0.10); --glass-sheen: linear-gradient(157deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)); --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.16); --text-strong: #f3f6ff; --text: #c4ccdc; --text-muted: #8893a8; --text-faint: #5b6478; --accent: var(--brand-500); --accent-hover: var(--brand-400); --accent-contrast:#ffffff; --accent-soft: rgba(6, 147, 227, 0.14); --shadow-card: 0 2px 6px rgba(0,0,0,0.30); --shadow-float: 0 10px 30px rgba(var(--brand-rgb),0.18), 0 6px 16px rgba(0,0,0,0.45); --shadow-brand: 0 10px 25px rgba(var(--brand-rgb),0.28); --shadow-pop: 0 16px 48px rgba(0,0,0,0.55); --ring: 0 0 0 3px rgba(64,159,255,0.45); } [data-theme="light"] { color-scheme: light; --bg: #eef1f7; --bg-elev: #f6f8fc; --bg-pattern: radial-gradient(1200px 600px at 100% -10%, rgba(6,147,227,0.10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(64,159,255,0.08), transparent 55%); --surface-1: #fbfcfe; --surface-2: #ffffff; --surface-3: #ffffff; --surface-sunken:#e6eaf2; --glass-bg: rgba(255, 255, 255, 0.60); --glass-bg-strong: rgba(255, 255, 255, 0.82); --glass-border: rgba(255, 255, 255, 0.70); --glass-sheen: linear-gradient(157deg, rgba(255,255,255,0.65), rgba(255,255,255,0.15)); --border: rgba(15, 23, 42, 0.09); --border-strong: rgba(15, 23, 42, 0.16); --text-strong: #0d1322; --text: #41495b; --text-muted: #66718a; --text-faint: #97a0b4; --accent: var(--brand-600); --accent-hover: var(--brand-500); --accent-contrast:#ffffff; --accent-soft: rgba(6, 147, 227, 0.10); --shadow-card: 0 2px 8px rgba(15,23,42,0.06); --shadow-float: 0 12px 28px rgba(var(--brand-rgb),0.12), 0 6px 14px rgba(15,23,42,0.08); --shadow-brand: 0 10px 25px rgba(var(--brand-rgb),0.18); --shadow-pop: 0 18px 48px rgba(15,23,42,0.18); --ring: 0 0 0 3px rgba(0,128,255,0.30); } *, *::before, *::after { box-sizing: border-box; } * { margin: 0; } html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--border-strong) transparent; } body { min-height: 100vh; font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--tracking); color: var(--text); background-color: var(--bg); background-image: var(--bg-pattern); background-attachment: fixed; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); } img, picture, svg, video, canvas { display: initial; max-width: 100%; height: auto; } img { background-color: var(--surface-2); } input, button, textarea, select { font: inherit; color: inherit; } button { cursor: pointer; background: none; border: 0; } h1, h2, h3, h4, h5, h6 { color: var(--text-strong); font-weight: var(--fw-bold); line-height: var(--lh-tight); letter-spacing: 0.01em; text-wrap: balance; } h1 { font-size: var(--fs-display); } h2 { font-size: var(--fs-title); } h3 { font-size: var(--fs-h2); } h4 { font-size: var(--fs-h3); } h5, h6 { font-size: var(--fs-body); } p { text-wrap: pretty; } a { color: var(--accent-hover); text-decoration: none; transition: color var(--dur-fast) var(--ease); } a:hover { color: var(--accent-hover); } strong, b { font-weight: var(--fw-semibold); color: var(--text-strong); } small { font-size: var(--fs-xs); } ul, ol { padding-left: 1.25em; } li { margin-bottom: var(--space-1); } code, pre, kbd { font-family: var(--font-mono); font-size: 0.9em; } ::selection { background: var(--accent-soft); color: var(--text-strong); } :focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); } .skip-link { position: fixed; left: var(--space-3); top: -100px; z-index: var(--z-toast); padding: var(--space-2) var(--space-4); background: var(--accent); color: var(--accent-contrast); border-radius: var(--radius-sm); font-size: var(--fs-meta); font-weight: var(--fw-semibold); transition: top var(--dur) var(--ease); } .skip-link:focus { top: var(--space-3); color: var(--accent-contrast); } ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-pill); border: 2px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-thumb:hover { background: var(--text-faint); } .stack { display: flex; flex-direction: column; gap: var(--space-5); } .screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; } } .app { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); align-items: start; min-height: 100vh; } .app__sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-8) var(--space-4) var(--space-6); border-right: 1px solid var(--border); background: var(--glass-bg); -webkit-backdrop-filter: blur(var(--blur-md)); backdrop-filter: blur(var(--blur-md)); z-index: var(--z-sticky); } .app__main { min-width: 0; } .container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: clamp(var(--space-4), 3vw, var(--space-10)); } .app__content { padding-block: var(--space-6) var(--space-16); } .topbar { position: sticky; top: 0; z-index: var(--z-sticky); display: flex; align-items: center; gap: var(--space-4); padding-block: var(--space-4); margin-bottom: var(--space-4); background: var(--glass-bg); -webkit-backdrop-filter: blur(var(--blur-lg)); backdrop-filter: blur(var(--blur-lg)); justify-content: space-between; } .topbar__search { flex: 1; } .brand { display: inline-flex; align-items: center; gap: var(--space-3); font-size: var(--fs-title); font-weight: var(--fw-bold); color: var(--text-strong); letter-spacing: -0.01em; } .brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); color: #fff; box-shadow: var(--shadow-brand); font-weight: var(--fw-bold); flex: none; } } .brand__logo { width: 100%; height: auto; display: block; } .brand__text { display: flex; flex-direction: column; line-height: 1.15; } .brand__name { font-size: var(--fs-title); font-weight: var(--fw-bold); } .brand__tagline { font-size: 11px; font-weight: var(--fw-medium); color: var(--text-muted); letter-spacing: 0.03em; text-transform: lowercase; } .topbar__account { display: none; font-size: var(--fs-meta); font-weight: var(--fw-semibold); color: var(--text-strong); white-space: nowrap; } .topbar__register { flex: none; white-space: nowrap; } .sidebar__auth { display: none; } @media (max-width: 1024px) { .topbar__register, .topbar__account { display: none; } .sidebar__auth { display: block; margin-top: var(--space-5); } } .sidebar__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-8); } .sidebar__nav .menu { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); } .menu__item, .sidebar__nav .menu a { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-3); border-radius: var(--radius-md); color: var(--text); font-size: var(--fs-meta); font-weight: var(--fw-medium); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); } .menu__item:hover, .sidebar__nav .menu a:hover, .sidebar__nav .menu .current-menu-item > a { background: var(--surface-2); color: var(--text-strong); transform: translateX(2px); } .sidebar__footer { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--border); } .sidebar__footer .footer__menu { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); } .sidebar__footer a { color: var(--text-muted); font-size: var(--fs-xs); } .sidebar__footer a:hover { color: var(--text); } .footer__copy { margin-top: var(--space-4); color: var(--text-faint); font-size: var(--fs-xs); } @media (max-width: 1024px) { .app { display: block; } .app__sidebar { position: fixed; inset: 0 auto 0 0; width: min(86vw, 320px); transform: translateX(-100%); transition: transform var(--dur) var(--ease-out); z-index: var(--z-drawer); } .app__sidebar[data-open="true"] { transform: translateX(0); box-shadow: var(--shadow-pop); } } .glass { position: relative; background: var(--glass-bg); -webkit-backdrop-filter: blur(var(--blur-md)); backdrop-filter: blur(var(--blur-md)); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 10px; } .glass::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--glass-sheen); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; } .card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); } .btn { --btn-bg: var(--surface-2); --btn-fg: var(--text-strong); display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-5); font-size: var(--fs-meta); font-weight: var(--fw-semibold); line-height: 1; color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--border-strong); border-radius: var(--radius-md); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); } .btn:hover { transform: translateY(-2px); } .btn:active { transform: translateY(0); } .btn--primary { --btn-bg: linear-gradient(135deg, var(--brand-400), var(--brand-600)); --btn-fg: var(--accent-contrast); border: none; box-shadow: var(--shadow-brand); } .btn--primary:hover { box-shadow: 0 14px 32px rgba(var(--brand-rgb), 0.4); color: var(--accent-contrast); } .btn--success { --btn-bg: linear-gradient(135deg, var(--success-400), var(--success-500)); --btn-fg: #ffffff; border: none; box-shadow: 0 10px 25px rgba(22, 184, 78, 0.28); } .btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--border); } .btn--ghost:hover { --btn-fg: var(--text-strong); background: var(--surface-2); } .btn--lg { padding: var(--space-4) var(--space-6); font-size: var(--fs-body); border-radius: var(--radius-lg); } .btn--block { width: 100%; } .topbar-search-form { position: relative; display: block; } .search__input { width: 100%; height: 50px; padding: 0 48px 0 var(--space-5); color: var(--text-strong); font-size: var(--fs-meta); background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease); } .search__input::placeholder { color: var(--text-muted); } .search__input:hover { border-color: var(--border-strong); } .search__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); } .search__btn { position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; color: var(--text-muted); border-radius: var(--radius-sm); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); } .search__btn:hover { color: var(--text-strong); background: var(--surface-2); } .theme-toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; color: var(--text); background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); } .theme-toggle:hover { transform: translateY(-2px); color: var(--text-strong); border-color: var(--border-strong); box-shadow: var(--shadow-float); } .theme-toggle svg { width: 22px; height: 22px; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); } .theme-toggle .icon-sun, .theme-toggle .icon-moon { grid-area: 1 / 1; } [data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(0.5); } [data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: none; } [data-theme="light"] .theme-toggle .icon-sun { opacity: 1; transform: none; } [data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.5); } .drawer-toggle { display: none; } @media (max-width: 1024px) { .drawer-toggle { display: grid; place-items: center; width: 44px; height: 44px; color: var(--text); background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); } } .search--live { position: relative; } .live-search-dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: var(--z-dropdown); padding: var(--space-2); max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; animation: m4-fade-in 0.18s var(--ease) both; } .live-search-dropdown__item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); color: var(--text); } .live-search-dropdown__item:hover, .live-search-dropdown__item.is-active { background: var(--surface-2); color: var(--text-strong); } .live-search-dropdown__item img, .live-search-dropdown__noimg { width: 40px; height: 40px; flex: none; border-radius: var(--radius-sm); object-fit: cover; background: var(--surface-2); } .live-search-dropdown__title { flex: 1; font-size: var(--fs-meta); } .live-search-dropdown__ver { font-size: var(--fs-xs); color: var(--text-muted); } .live-search-dropdown[hidden] { display: none ; } .mods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); } .mods-grid.is-loading { pointer-events: none; } .mods-grid__empty { grid-column: 1 / -1; padding: var(--space-10); text-align: center; color: var(--text-muted); } .mod-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); } .mod-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-float); border-color: var(--border-strong); } .mod-card__link { display: flex; flex-direction: column; color: inherit; } .mod-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); height: 180px; overflow: hidden; } .mod-card__media img { width: 100%; height: 100%; object-fit: cover; } .mod-card__size { position: absolute; top: 8px; right: 8px; padding: 2px 6px; font-size: var(--fs-xs); border-radius: var(--radius-sm); background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(var(--blur-sm)); backdrop-filter: blur(var(--blur-sm)); color: var(--text); } .mod-card__badge { display: none; position: absolute; top: 8px; left: 8px; padding: 2px 8px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); border-radius: var(--radius-pill); background: var(--success-500); color: #06210f; } .mod-card__body { padding: var(--space-4); } .mod-card__title { font-size: var(--fs-h3); margin-bottom: var(--space-2); } .mod-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--fs-meta); color: var(--text-muted); justify-content: space-between; } .mod-card__game { padding: 2px 8px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-hover); } .mod-card__rating { color: var(--warning-500); } .mods-filters { display: flex; flex-wrap: wrap; gap: var(--space-6); padding: var(--space-5); margin-bottom: var(--space-6); } .mods-filters__group { display: flex; flex-direction: row; gap: 20px; border: 0; padding: 0; margin: 0; min-inline-size: 0; align-items: center; } .mods-filters__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); } .mods-filters__sort { height: 42px; padding: 0 var(--space-4); color: var(--text-strong); background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4ccdc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: calc(100% - 10px) center; background-size: 16px; padding-right: 30px; } .mods-filters__sort::-ms-expand { display: none; } .mods-filters__checks { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); } .mods-filters__check { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-meta); cursor: pointer; } .mods-filters__group--tags { align-items: center; flex-basis: 100%; } .mods-filters__group--tags .mods-filters__label { white-space: nowrap; } .m4-modal[hidden], .m4-modal__wall[hidden], .m4-modal__status[hidden], .m4-modal__action[hidden], .search-results[hidden] { display: none !important; } .m4-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--space-4); opacity: 0; transition: opacity 0.28s var(--ease); } .m4-modal.is-open { opacity: 1; } .m4-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 8, 15, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } .m4-modal__dialog { position: relative; width: min(820px, 100%); padding: var(--space-8); text-align: center; transform: scale(0.94) translateY(12px); opacity: 0.5; transition: transform 0.32s var(--ease-out), opacity 0.32s var(--ease-out); } .m4-modal.is-open .m4-modal__dialog { transform: none; opacity: 1; } .m4-modal__close { position: absolute; top: var(--space-3); right: var(--space-3); display: grid; place-items: center; width: 36px; height: 36px; color: var(--text-muted); border-radius: var(--radius-sm); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); } .m4-modal__close:hover { color: var(--text-strong); background: var(--surface-2); } .m4-modal__title { font-size: var(--fs-title); margin-bottom: var(--space-4); } .m4-modal__ad { min-height: 90px; margin-bottom: var(--space-5); display: grid; place-items: center; border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--text-faint); overflow: hidden; } .m4-timer { position: relative; width: 120px; height: 120px; margin: var(--space-2) auto var(--space-4); } .m4-timer__ring { width: 120px; height: 120px; transform: rotate(-90deg); } .m4-timer__track { fill: none; stroke: var(--border); stroke-width: 8; } .m4-timer__progress { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 0.2s linear; } .m4-timer__count { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: var(--fw-bold); color: var(--text-strong); } .m4-timer__hint { color: var(--text-muted); font-size: var(--fs-meta); } .m4-modal__status { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-weight: var(--fw-medium); } .m4-modal__status.is-info { background: var(--accent-soft); color: var(--accent-hover); } .m4-modal__status.is-error { background: rgba(255, 67, 101, 0.12); color: var(--danger-400); border: 1px solid var(--danger-500); } .m4-modal__action { margin-top: var(--space-5); } .m4-modal__wall { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--space-4); padding: var(--space-8); text-align: center; border-radius: inherit; background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(var(--blur-lg)); backdrop-filter: blur(var(--blur-lg)); } .m4-modal__wall p { color: var(--text-strong); font-weight: var(--fw-semibold); } @keyframes m4-fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } } @media (prefers-reduced-motion: reduce) { .m4-modal, .m4-modal__dialog, .mods-grid, .m4-timer__progress, .search-results { transition: none !important; animation: none !important; } .m4-modal__dialog { transform: none; } } .archive-head { padding: var(--space-6) 0 var(--space-5); } .archive-head__title { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; } .archive-head__count { font-size: var(--fs-title); color: var(--text-muted); font-weight: var(--fw-medium); } .archive-head__desc { margin-top: var(--space-2); color: var(--text-muted); max-width: 70ch; } .archive-head--branded { position: relative; isolation: isolate; overflow: hidden; margin-bottom: var(--space-5); padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-lg); } .archive-head__bg { position: absolute; inset: -25%; z-index: -2; background-size: cover; background-position: center; filter: blur(52px) saturate(1.4); transform: scale(1.25); opacity: 0.4; } .archive-head--branded::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 20%, transparent), var(--bg)); } .archive-head__inner { display: flex; align-items: center; gap: var(--space-4); } .archive-head__icon { flex: 0 0 auto; align-self: center; width: 88px; height: 88px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--glass-border); border-radius: var(--radius-md); box-shadow: var(--shadow-float); background: var(--surface-2); } .archive-head__text { min-width: 0; } .archive-head--branded .archive-head__desc { color: var(--text); } @media (max-width: 600px) { .archive-head--branded { padding: var(--space-5); } .archive-head__inner { flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); } .archive-head__icon { width: 96px; height: 96px; } .archive-head__title {display: block;} } .home-section { margin-bottom: var(--space-10); } .home-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); } .home-section__title { font-size: var(--fs-title); } .home-section__all { font-size: var(--fs-meta); font-weight: var(--fw-semibold); color: var(--accent-hover); } .home-section__all:hover { color: var(--accent); } .mods-pagination { display: flex; justify-content: center; margin-top: var(--space-8); } .mods-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 var(--space-3); margin: 0 4px; border-radius: var(--radius-md); background: var(--surface-1); border: 1px solid var(--border); color: var(--text); font-size: var(--fs-meta); font-weight: var(--fw-medium); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); } .mods-pagination .page-numbers:hover { border-color: var(--border-strong); color: var(--text-strong); transform: translateY(-2px); } .mods-pagination .page-numbers.current { background: var(--accent); border-color: transparent; color: var(--accent-contrast); box-shadow: var(--shadow-brand); } .mods-pagination .page-numbers.dots { background: transparent; border: 0; } .sidebar__nav .menu a { justify-content: space-between; } .menu__count { font-size: var(--fs-xs); color: var(--text-faint); } .cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-5); } .cat-card { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-6); text-align: center; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); color: var(--text); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); } .cat-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-float); border-color: var(--border-strong); } .cat-card__icon { display: grid; place-items: center; width: 72px; height: 72px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); color: #fff; font-size: 28px; font-weight: var(--fw-bold); } .cat-card__icon img { width: 100%; height: 100%; object-fit: cover; } .cat-card__name { font-weight: var(--fw-semibold); color: var(--text-strong); } .cat-card__count { font-size: var(--fs-xs); color: var(--text-muted); } .m4-modal__ad { min-height: 100px; } .m4-sponsor-note { margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--text-muted); text-align: center; line-height: var(--lh-snug); } .m4-sponsor-note strong { color: var(--text); } .home-hero { position: relative; overflow: hidden; text-align: center; padding: clamp(var(--space-8), 6vw, var(--space-16)) clamp(var(--space-5), 5vw, var(--space-12)); margin-bottom: var(--space-10); } .home-hero__glow { position: absolute; inset: -45% -10% auto; height: 420px; background: radial-gradient(closest-side, rgba(var(--brand-rgb), 0.35), transparent); filter: blur(40px); pointer-events: none; } .home-hero__content { position: relative; max-width: 760px; margin-inline: auto; } .home-hero__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); line-height: 1.1; } .home-hero__accent { display: block; margin-top: var(--space-2); font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--accent-hover); letter-spacing: 0.04em; text-transform: lowercase; } .home-hero__sub { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--fs-body); } .home-hero__search { display:none; position: relative; max-width: 520px; margin: var(--space-6) auto 0; } .home-hero__search input { flex: 1; height: 56px; padding: 0 60px 0 var(--space-6); border-radius: var(--radius-pill); border: 1px solid var(--glass-border); background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(var(--blur-md)); backdrop-filter: blur(var(--blur-md)); color: var(--text-strong); font-size: var(--fs-body); } .home-hero__search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); } .home-hero__search button { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-pill); background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); color: #fff; box-shadow: var(--shadow-brand); } .home-hero__stats { display: flex; justify-content: center; gap: var(--space-8); margin-top: var(--space-6); color: var(--text-muted); font-size: var(--fs-meta); } .home-hero__stats strong { display: block; color: var(--text-strong); font-size: var(--fs-title); } .error404 { position: relative; overflow: hidden; text-align: center; padding: clamp(var(--space-10), 7vw, var(--space-16)) clamp(var(--space-5), 5vw, var(--space-12)); margin-bottom: var(--space-10); } .error404__glow { position: absolute; inset: -45% -10% auto; height: 420px; background: radial-gradient(closest-side, rgba(var(--brand-rgb), 0.30), transparent); filter: blur(40px); pointer-events: none; } .error404__content { position: relative; max-width: 560px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); } .error404__code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: var(--fw-bold); line-height: 1; background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); -webkit-background-clip: text; background-clip: text; color: transparent; } .error404__title { font-size: var(--fs-display); } .error404__sub { color: var(--text-muted); } .error404 .home-hero__search { width: 100%; max-width: 480px; margin: var(--space-2) auto; }