.wallpapers-page { padding-block: 25px 62px; }
.wall-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(214px, 25vw, 330px);
  overflow: hidden;
  border: 1px solid #5d435a;
  border-radius: 14px;
  background: #241625;
}
.wall-hero img, .wall-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.wall-hero img { z-index: -2; object-fit: cover; object-position: center 64%; }
.wall-hero::after {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, #130e1a 0%, #181220e8 32%, #18122042 72%, #18122020);
}
.wall-hero > div { padding: 24px clamp(18px, 4.5vw, 60px); }
.wall-crumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: #e0d7e6;
  font-size: .87rem;
  font-weight: 700;
}
.wall-crumb:hover { color: var(--lime); }
.wall-crumb svg { width: 17px; height: 17px; }
.wall-hero h1 {
  margin: 1px 0 10px;
  font: 900 clamp(3.15rem, 7vw, 6.4rem)/.86 var(--display);
  letter-spacing: -.015em;
}
.wall-hero em { color: var(--lime); font-style: normal; }
.wall-hero p { color: #ece3ee; }
.wall-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 15px;
  margin: 20px 0 12px;
  color: var(--muted);
  font-size: .85rem;
}
.wall-filters { display: flex; align-items: center; gap: 6px; }
.wall-filters > span { margin-right: 3px; }
.wall-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.wall-filters button[aria-pressed="true"], .wall-filters button:hover {
  border-color: #75894a;
  background: #242a1b;
  color: var(--lime);
}
.wall-filters svg { flex: none; width: 17px; height: 17px; }
.wall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.wall-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.wall-card:target { border-color: var(--lime); }
.wall-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: #231a2e;
}
.wall-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wall-thumb[data-wall-preview="celular"] { background: radial-gradient(ellipse at center, #554065, #20192a 68%); }
.wall-thumb[data-wall-preview="celular"] img {
  width: auto;
  height: calc(100% - 18px);
  max-height: 100%;
  object-fit: contain;
  border: 2px solid #bbaac1;
  border-radius: 9px;
  box-shadow: 0 6px 18px #0d0918af;
}
.wall-thumb > span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e8ddeb77;
  border-radius: 7px;
  background: #16101be8;
  color: var(--ink);
}
.wall-thumb:hover > span { border-color: var(--lime); color: var(--lime); }
.wall-thumb:focus-visible { z-index: 1; outline-offset: 2px; }
.wall-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 13px;
  padding: 13px;
}
.wall-copy h2 { font: 800 clamp(1.42rem, 2.4vw, 1.85rem)/1 var(--display); }
.wall-copy p { margin-top: 5px; color: var(--muted); font-size: .79rem; }
.wall-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.wall-download {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  min-height: 50px;
  border: 1px solid #3e5031;
  border-radius: 7px;
  background: #d0ff4a0a;
  color: var(--lime);
}
.wall-download > svg { width: 17px; height: 17px; }
.wall-download strong, .wall-download small { display: block; }
.wall-download strong { font-size: .81rem; }
.wall-download small { color: var(--muted); font-size: .72rem; }
.wall-download:hover { border-color: var(--lime); background: #d0ff4a1e; }

@media (max-width: 1040px) {
  .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .wallpapers-page { padding-block: 16px 37px; }
  .wall-hero { min-height: 192px; }
  .wall-hero img { object-position: 65% 62%; }
  .wall-hero::after { background: linear-gradient(90deg, #18111ced, #18112064); }
  .wall-hero p { font-size: .94rem; }
  .wall-grid { grid-template-columns: 1fr; gap: 12px; }
}
