@layer reset,base,layout,components,responsive;
@layer reset {
  * {
    box-sizing: border-box;
  }
  body,
  h1,
  h2,
  h3,
  p {
    margin: 0;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  img {
    max-width: 100%;
    display: block;
    height: auto;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button {
    color: inherit;
  }
  input,
  select,
  textarea {
    min-width: 0;
  }
  button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  dialog:not([open]) {
    display: none;
  }
  [hidden] {
    display: none !important;
  }
}
@layer base {
  :root {
    --bg: #080a10;
    --sidebar: #0e1120;
    --surface: #11151f;
    --surface2: #191d2c;
    --text: #f3f4fa;
    --muted: #9ea6b9;
    --line: #252a3a;
    --accent: #36c7f9;
    --magenta: #d741eb;
    --soft: #122b39;
    --success: #8dd8bb;
    --warning: #e7bc77;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color-scheme: dark;
    font-family: var(--sans);
    font-size: 16px;
    scroll-behavior: smooth;
  }
  :root[data-theme='light'] {
    --bg: #f7f8fc;
    --sidebar: #eef0f7;
    --surface: #fff;
    --surface2: #e5e9f2;
    --text: #131a2a;
    --muted: #5e687b;
    --line: #d3d9e6;
    --accent: #006e9e;
    --magenta: #a723bd;
    --soft: #dceef7;
    --success: #1c7352;
    --warning: #875512;
    color-scheme: light;
  }
  body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
  }
  ::selection {
    background: #9040bb;
    color: #fff;
  }
  a,
  button,
  input,
  select,
  textarea {
    outline-offset: 5px;
  }
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid var(--accent);
  }
  h1,
  h2,
  h3 {
    line-height: 1.15;
    letter-spacing: -0.025em;
  }
  p {
    line-height: 1.7;
  }
  button {
    border: 0;
    background: none;
  }
  small {
    font-size: 0.8rem;
  }
  .muted {
    color: var(--muted);
  }
  .eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 650;
    color: var(--muted);
  }
  .gradient {
    background: linear-gradient(110deg, #08bef4 5%, #4678fa 50%, #dd42ee 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .initial {
    padding: 10vw;
  }
  .skip-link {
    position: fixed;
    left: 1rem;
    top: -100px;
    z-index: 99;
    background: var(--text);
    color: var(--bg);
    padding: 0.8rem;
  }
  .skip-link:focus {
    top: 1rem;
  }
}
@layer layout {
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 248px;
    background: var(--sidebar);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding: 28px 18px 18px;
    z-index: 30;
    overflow-y: auto;
  }
  .brand {
    display: block;
    padding: 8px 14px 30px;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: 0.03em;
  }
  .brand span {
    color: var(--accent);
  }
  .brand small {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.23em;
    margin-top: 2px;
    font-weight: 500;
    color: var(--muted);
  }
  .nav-label {
    padding: 18px 15px 10px;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
  }
  .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 46px;
    padding: 11px 15px;
    color: var(--muted);
    font-size: 0.9rem;
    border-radius: 9px;
    margin: 3px 0;
    transition:
      background 0.18s,
      color 0.18s;
  }
  .nav-item:hover,
  .nav-item.active {
    background: var(--surface2);
    color: var(--text);
  }
  .nav-item.active:before {
    content: '';
    position: absolute;
    left: -9px;
    top: 15px;
    bottom: 15px;
    width: 3px;
    background: linear-gradient(var(--accent), var(--magenta));
    border-radius: 2px;
  }
  .nav-item.active svg {
    color: var(--accent);
  }
  .nav-item svg {
    width: 18px;
    height: 18px;
  }
  .sidebar-bottom {
    margin-top: auto;
    padding-top: 30px;
  }
  .sidebar-note {
    border: 1px solid var(--line);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--muted);
  }
  .sidebar-note strong {
    display: block;
    color: var(--text);
    margin-bottom: 5px;
  }
  .sidebar-note button {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--text);
    font-size: 0.85rem;
  }
  .shell {
    margin-left: 248px;
  }
  .topbar {
    height: 86px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 40px;
  }
  .crumb {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--muted);
  }
  .crumb strong {
    color: var(--text);
    font-weight: 500;
  }
  .top-actions,
  .socials {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .top-actions .divider {
    width: 1px;
    height: 24px;
    background: var(--line);
    margin: 0 8px;
  }
  .content {
    max-width: 1580px;
    margin: auto;
    padding: 0 48px;
  }
  .hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 25px;
    align-items: center;
    min-height: 465px;
    padding: 54px 0 44px;
    border-bottom: 1px solid var(--line);
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(3.15rem, 5.3vw, 5.6rem);
    letter-spacing: -0.055em;
    line-height: 1.05;
    margin: 22px 0;
  }
  .hero h1 em {
    font-weight: 400;
  }
  .hero p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 490px;
  }
  .hero .actions {
    margin-top: 26px;
  }
  .hero-art {
    position: relative;
    min-width: 0;
  }
  .hero-art img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: contain;
    mix-blend-mode: screen;
  }
  .hero-art:after {
    content: 'HARDWARE · GAMING · COMUNIDAD';
    display: block;
    text-align: center;
    color: var(--muted);
    letter-spacing: 0.18em;
    font-size: 0.62rem;
    margin-top: 12px;
  }
  [data-theme='light'] .hero-art img {
    mix-blend-mode: normal;
    border-radius: 14px;
  }
  .section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 22px;
  }
  .section-head h2 {
    font-size: 1.6rem;
    font-weight: 550;
  }
  .section-head .eyebrow {
    margin-bottom: 10px;
  }
  .browse {
    padding: 38px 0 30px;
    scroll-margin-top: 20px;
  }
  .topic-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 19px;
  }
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .catalog {
    padding: 10px 0 50px;
  }
  .page-header {
    padding: 50px 0 34px;
  }
  .page-header h1 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 400;
    margin: 12px 0 16px;
  }
  .page-header p {
    color: var(--muted);
    max-width: 650px;
  }
  .footer {
    border-top: 1px solid var(--line);
    padding: 32px 0;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 0.8rem;
  }
  .footer strong {
    color: var(--text);
  }
  .footer-links {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    max-width: 440px;
  }
  .menu-button {
    display: none;
  }
  .backdrop {
    display: none;
  }
  .demo-note {
    font-size: 0.75rem;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
  }
  .subnav {
    padding: 3px 8px 8px 44px;
  }
  .subnav a {
    display: block;
    padding: 6px 0;
    color: var(--muted);
    font-size: 0.8rem;
  }
  .subnav a:hover {
    color: var(--accent);
  }
}
@layer components {
  .icon-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    transition: background 0.2s;
  }
  .icon-button:hover {
    background: var(--surface2);
  }
  .social-name {
    display: none;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    min-height: 45px;
    background: var(--surface2);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 550;
  }
  .button.primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
  }
  .button:hover {
    filter: brightness(1.15);
  }
  .button.primary:hover {
    filter: brightness(0.9);
  }
  .button.small {
    padding: 8px 12px;
    min-height: 36px;
    font-size: 0.8rem;
  }
  .button.danger {
    color: #fc909e;
  }
  .actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
  }
  .text-link:hover {
    color: var(--accent);
  }
  .search-row {
    display: flex;
    gap: 12px;
  }
  .searchbox {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 16px;
    background: var(--surface);
    color: var(--muted);
  }
  .searchbox input {
    background: none;
    color: var(--text);
    border: 0;
    outline: 0;
    padding: 15px 0;
    width: 100%;
    font-size: 0.9rem;
  }
  .searchbox:focus-within {
    border-color: var(--accent);
  }
  .searchbox kbd {
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 0.72rem;
    white-space: nowrap;
    padding: 1px 5px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    font-size: 0.8rem;
    color: var(--muted);
  }
  .chip:hover {
    color: var(--text);
    background: var(--surface2);
  }
  .chip.active {
    color: var(--accent);
    background: var(--soft);
    border-color: var(--soft);
  }
  .card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    transition:
      transform 0.2s,
      border-color 0.2s;
  }
  .card:hover {
    transform: translateY(-4px);
    border-color: #505974;
  }
  .card-visual {
    height: 132px;
    background: linear-gradient(130deg, #112939, #0d1629);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    overflow: hidden;
  }
  .card-visual .visual-word {
    font-family: var(--serif);
    font-style: italic;
    font-size: 3.1rem;
    letter-spacing: -0.05em;
    color: #e8f5ff;
  }
  .card-visual svg {
    width: 50px;
    height: 50px;
    color: #49bcef;
    stroke-width: 1;
  }
  .card-visual.gaming {
    background: linear-gradient(130deg, #242039, #17142d);
  }
  .card-visual.gaming svg {
    color: #b590fb;
  }
  .card-visual.apps {
    background: linear-gradient(130deg, #16312e, #0c2227);
  }
  .card-visual.apps svg {
    color: #69cfb3;
  }
  .card-visual.recursos {
    background: linear-gradient(130deg, #322b1c, #191e20);
  }
  .card-visual.recursos svg {
    color: #eac280;
  }
  .card-visual.noticias {
    background: linear-gradient(130deg, #202d40, #152331);
  }
  .card-visual.seguridad {
    background: linear-gradient(130deg, #3a1c1c, #1f0f0f);
  }
  .card-visual.seguridad svg {
    color: #f2a0a0;
  }
  .card-cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  .card-body {
    padding: 22px;
    flex: 1;
  }
  .card-kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
  }
  .card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.03em;
  }
  .card p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 10px;
    line-height: 1.6;
  }
  .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding: 13px 22px;
    color: var(--muted);
    font-size: 0.72rem;
  }
  .avatar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .avatar:before {
    content: 'XT';
    font-weight: 700;
    font-size: 0.56rem;
    background: var(--surface2);
    color: var(--accent);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
  }
  .catalog-tools {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin: 3px 0 20px;
    color: var(--muted);
    font-size: 0.8rem;
  }
  .select {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 10px;
    color: var(--text);
    border-radius: 7px;
  }
  .filters {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 16px 0;
  }
  .field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 0.85rem;
  }
  .field input,
  .field textarea,
  .field select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--text);
    background: var(--bg);
  }
  .field textarea {
    min-height: 100px;
    resize: vertical;
  }
  .field input[type='checkbox'] {
    width: 18px;
    height: 18px;
  }
  .field small {
    color: var(--muted);
  }
  .notice,
  .empty {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 24px;
    border-radius: 10px;
  }
  .notice {
    font-size: 0.87rem;
    color: var(--muted);
  }
  .empty {
    text-align: center;
    grid-column: 1/-1;
    padding: 55px 20px;
  }
  .empty h3 {
    margin-bottom: 12px;
  }
  .empty p {
    color: var(--muted);
    margin-bottom: 18px;
  }
  .status {
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 3px 7px;
    font-size: 0.7rem;
    color: var(--muted);
    white-space: nowrap;
  }
  .status.reviewed {
    color: var(--success);
  }
  .status.needs_review,
  .status.outdated {
    color: var(--warning);
  }
  .toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    z-index: 100;
    background: var(--text);
    color: var(--bg);
    padding: 13px 23px;
    max-width: 90vw;
    box-shadow: 0 5px 35px #0004;
    border-radius: 9px;
    transition: 0.2s;
    pointer-events: none;
    font-size: 0.9rem;
  }
  .toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  dialog {
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    color: var(--text);
    padding: 35px;
    width: min(600px, calc(100% - 30px));
    max-height: 90dvh;
    overflow: auto;
  }
  dialog::backdrop {
    background: #0009;
    backdrop-filter: blur(4px);
  }
  .dialog-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 1.4rem;
    width: 30px;
    height: 30px;
  }
  dialog h2 {
    margin-bottom: 20px;
  }
  dialog p {
    color: var(--muted);
    margin: 12px 0;
  }
  .stack {
    display: grid;
    gap: 18px;
  }
  .community-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 20px 0 60px;
  }
  .community-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 12px;
  }
  .community-card > svg {
    width: 35px;
    height: 35px;
    margin-bottom: 25px;
    color: var(--accent);
  }
  .community-card h2 {
    margin-bottom: 15px;
  }
  .community-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 24px;
  }
  .article-layout {
    display: grid;
    grid-template-columns: minmax(0, 800px) 220px;
    gap: 55px;
    padding: 38px 0 70px;
    justify-content: center;
  }
  .article h1 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    margin: 22px 0;
  }
  .article .lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin: 20px 0;
  }
  .article-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--muted);
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .prose {
    overflow-wrap: anywhere;
  }
  .prose h2 {
    font-size: 1.55rem;
    margin: 38px 0 16px;
    line-height: 1.3;
  }
  .prose h3 {
    margin: 28px 0 12px;
    font-size: 1.2rem;
  }
  .prose p,
  .prose ul {
    margin: 16px 0;
    color: var(--muted);
    line-height: 1.85;
  }
  .prose a {
    color: var(--accent);
    text-decoration: underline;
  }
  .prose pre {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 18px;
    border-radius: 8px;
    font-size: 0.87rem;
    line-height: 1.6;
    white-space: pre-wrap;
  }
  .prose code {
    font-size: 0.9em;
    color: var(--text);
    background: var(--surface2);
    padding: 2px 5px;
    border-radius: 4px;
  }
  .prose pre code {
    background: none;
    padding: 0;
  }
  .article-aside {
    padding-top: 60px;
  }
  .article-aside .eyebrow {
    margin-bottom: 15px;
  }
  .article-aside .chip {
    margin: 0 5px 8px 0;
  }
  .article-aside .button {
    margin-top: 18px;
    width: 100%;
  }
  .offline {
    color: var(--warning);
    font-size: 0.8rem;
    margin-bottom: 16px;
  }
  .legal {
    max-width: 820px;
    padding: 50px 0 80px;
  }
  .legal h1 {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 400;
  }
  .legal h2 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
  }
  .legal p {
    color: var(--muted);
    margin: 15px 0;
  }
  .admin-login {
    max-width: 460px;
    margin: 60px auto 90px;
  }
  .admin-login h1 {
    font-family: var(--serif);
    font-size: 2.6rem;
    margin-bottom: 16px;
  }
  .admin-login p {
    color: var(--muted);
    margin-bottom: 25px;
  }
  .editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 26px;
    padding: 25px 0 65px;
  }
  .editor-main,
  .editor-side {
    display: grid;
    gap: 18px;
    align-content: start;
  }
  .editor-body {
    min-height: 440px !important;
    font-family: ui-monospace, monospace;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .editor-toolbar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .editor-preview {
    min-height: 300px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 24px;
  }
  .admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
  }
  .admin-table td,
  .admin-table th {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 15px 12px;
  }
  .admin-table th {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
  }
  .table-scroll {
    overflow: auto;
  }
  .stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
  }
  .stat {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }
  .stat strong {
    display: block;
    font-size: 2rem;
  }
  .stat span {
    color: var(--muted);
    font-size: 0.8rem;
  }
  .inline-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.87rem;
  }
  .revision {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .error-text {
    color: #ef8e9d;
  }
  .success-text {
    color: var(--success);
  }
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 28px;
    font-size: 0.8rem;
  }
  .unsaved {
    color: var(--warning);
    font-size: 0.8rem;
  }
}
@layer responsive {
  .hero-art img {
    height: auto;
  }
  .topbar .menu-button {
    display: none;
  }
  @media (min-width: 1900px) {
    .sidebar {
      width: 280px;
    }
    .shell {
      margin-left: 280px;
    }
    .hero {
      min-height: 540px;
    }
    .hero h1 {
      font-size: 6rem;
    }
    .card-visual {
      height: 175px;
    }
  }
  @media (max-width: 1200px) {
    .sidebar {
      width: 218px;
      padding-left: 12px;
      padding-right: 12px;
    }
    .shell {
      margin-left: 218px;
    }
    .content {
      padding: 0 30px;
    }
    .topbar {
      padding: 0 30px;
    }
    .hero {
      min-height: 420px;
    }
    .hero h1 {
      font-size: 3.6rem;
    }
    .card-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .article-layout {
      gap: 30px;
      grid-template-columns: minmax(0, 1fr) 180px;
    }
    .editor-layout {
      grid-template-columns: minmax(0, 1fr) 250px;
    }
    .community-grid {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 1050px) {
    .hero {
      grid-template-columns: 1fr 0.7fr;
    }
    .hero h1 {
      font-size: 3.1rem;
    }
    .hero-art img {
      aspect-ratio: 1;
      object-fit: contain;
    }
    .hero-art:after {
      display: none;
    }
    .filters {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .editor-layout {
      grid-template-columns: 1fr;
    }
    .article-layout {
      grid-template-columns: 1fr;
    }
    .article-aside {
      padding-top: 0;
    }
    .topbar {
      padding: 0 22px;
    }
    .top-actions {
      gap: 6px;
    }
    .top-actions .divider {
      margin: 0 3px;
    }
  }
  @media (max-width: 760px) {
    .sidebar {
      transform: translateX(-100%);
      width: 268px;
      transition: transform 0.2s;
    }
    .sidebar.open {
      transform: translateX(0);
    }
    .sidebar.open ~ .backdrop {
      display: block;
      position: fixed;
      inset: 0;
      background: #0008;
      z-index: 25;
    }
    .shell {
      margin-left: 0;
    }
    .menu-button {
      display: inline-flex;
    }
    .topbar {
      height: 70px;
      gap: 9px;
      padding: 0 18px;
    }
    .crumb {
      font-size: 0.75rem;
      gap: 7px;
    }
    .crumb .crumb-brand {
      display: none;
    }
    .content {
      padding: 0 22px;
    }
    .hero {
      padding: 38px 0 30px;
      gap: 15px;
      min-height: 0;
      grid-template-columns: 1fr;
    }
    .hero h1 {
      font-size: clamp(2.9rem, 9vw, 4.8rem);
      max-width: 620px;
    }
    .hero p {
      font-size: 0.95rem;
      max-width: 500px;
    }
    .hero-art {
      display: none;
    }
    .hero .eyebrow {
      font-size: 0.65rem;
      letter-spacing: 0.15em;
    }
    .hero .actions {
      margin-top: 22px;
    }
    .browse {
      padding-top: 28px;
    }
    .searchbox kbd {
      display: none;
    }
    .searchbox {
      padding: 0 12px;
    }
    .search-row .button {
      padding: 10px 12px;
    }
    .card-grid {
      gap: 15px;
    }
    .card-body {
      padding: 18px;
    }
    .card-meta {
      padding: 12px 18px;
    }
    .card h3 {
      font-size: 1.1rem;
    }
    .card-visual {
      height: 105px;
      padding: 20px;
    }
    .card-visual .visual-word {
      font-size: 2.5rem;
    }
    .card-visual svg {
      width: 35px;
      height: 35px;
    }
    .footer {
      flex-direction: column;
    }
    .footer-links {
      gap: 10px 17px;
    }
    .article-layout {
      padding-top: 25px;
    }
    .article h1 {
      font-size: 2.7rem;
    }
    .editor-layout {
      padding-top: 10px;
    }
    .stat-grid {
      gap: 9px;
    }
    .stat {
      padding: 15px;
    }
    .stat strong {
      font-size: 1.5rem;
    }
    .page-header {
      padding-top: 35px;
    }
    .top-actions .socials {
      gap: 5px;
    }
    .icon-button {
      width: 35px;
      height: 35px;
    }
    .icon-button svg {
      width: 17px;
      height: 17px;
    }
    .socials .social-steam {
      display: none;
    }
    .section-head {
      align-items: center;
    }
    .section-head h2 {
      font-size: 1.4rem;
    }
  }
  @media (max-width: 460px) {
    .content {
      padding: 0 17px;
    }
    .card-grid {
      grid-template-columns: 1fr;
    }
    .card {
      display: grid;
      grid-template-columns: 90px minmax(0, 1fr);
    }
    .card-visual {
      height: 100%;
      padding: 12px;
      grid-row: 1/3;
      flex-direction: column;
      justify-content: center;
      gap: 12px;
    }
    .card-visual .visual-word {
      font-size: 1.7rem;
    }
    .card-visual svg {
      width: 30px;
      height: 30px;
    }
    .card-cover {
      height: 100%;
      grid-row: 1/3;
    }
    .card-meta {
      border-top: 0;
      padding-top: 0;
      font-size: 0.67rem;
    }
    .card-body {
      padding: 17px 15px 13px;
    }
    .card p {
      font-size: 0.8rem;
    }
    .card-kicker {
      font-size: 0.62rem;
      margin-bottom: 7px;
    }
    .top-actions .divider {
      display: none;
    }
    .filters {
      padding: 15px;
      gap: 12px;
    }
    .hero h1 {
      font-size: 3rem;
    }
    .hero .button {
      font-size: 0.82rem;
      padding: 11px 14px;
    }
    .topic-tabs {
      gap: 6px;
    }
    .chip {
      padding: 6px 10px;
      font-size: 0.75rem;
    }
    .search-row {
      gap: 7px;
    }
    .search-row .filter-label {
      display: none;
    }
    .catalog-tools {
      align-items: start;
    }
    .stat-grid {
      grid-template-columns: 1fr;
    }
    .topbar {
      padding: 0 12px;
    }
    .socials .social-whatsapp {
      display: none;
    }
    .article h1 {
      font-size: 2.35rem;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
      scroll-behavior: auto !important;
      transition: none !important;
      animation: none !important;
    }
  }
  @media (max-width: 980px) {
    .sidebar {
      transform: translateX(-100%);
      width: 268px;
      transition: transform 0.2s;
    }
    .sidebar.open {
      transform: translateX(0);
    }
    .sidebar.open ~ .backdrop {
      display: block;
      position: fixed;
      inset: 0;
      background: #0008;
      z-index: 25;
    }
    .shell {
      margin-left: 0;
    }
    .topbar .menu-button {
      display: inline-flex;
    }
    .hero {
      grid-template-columns: 1.1fr 0.9fr;
    }
    .hero h1 {
      font-size: clamp(2.6rem, 5.2vw, 3.9rem);
    }
    .hero-art img {
      aspect-ratio: 1.7;
      object-fit: contain;
    }
  }
  @media (max-width: 760px) {
    .hero {
      grid-template-columns: 1fr;
    }
    .hero h1 {
      font-size: clamp(2.9rem, 9vw, 4.8rem);
    }
  }
  @media (max-width: 760px) {
    .crumb .crumb-brand:first-child {
      display: inline;
    }
    .crumb strong {
      display: none;
    }
    .topbar .actions {
      gap: 10px;
    }
  }
}
