/* Woodland game panels. Only the chosen profile and its editor tile wear them. */
body.has-pixel-theme {
  --text-0: #fff0ce;
  --text-1: #f2dcba;
  --text-2: #c9bb9d;
  --text-3: #afa58e;
}
.has-pixel-theme :is(.profile-card__id, .profile-title, .profile-meta),
.has-pixel-theme.world-widgets .pg-widget,
.has-pixel-theme.world-socials .profile-socials {
  font-family: "Pixelify Sans", "Silkscreen", monospace;
}
.has-pixel-backdrop .pg-bg__media { image-rendering: pixelated; }
.has-pixel-backdrop .pg-orbs, .has-pixel-backdrop .noise-overlay { display: none; }
.profile-card.tpl-pixel.is-framed:not(.has-card-paint):not(.is-card-clear) {
  border: 4px solid #9a6a3e;
  border-radius: 0;
  background: repeating-linear-gradient(0deg, transparent 0 35px, #35271942 35px 37px), #49392c;
  box-shadow: 0 0 0 3px #2a241e, 0 0 0 7px #cf9c60, 0 0 0 10px #403022, 0 10px 0 10px #14252680, inset 0 0 0 2px #d0a97750;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.profile-card.tpl-pixel::before, .tpl-pixel > .profile-card__sheen { display: none; }
.tpl-pixel .profile-card__layout { gap: 18px; }
.tpl-pixel .profile-card__portrait, .tpl-pixel .profile-card__main { min-width: 0; }
.tpl-pixel .avatar__disc {
  border: 3px solid #d6bb87;
  border-radius: 0;
  background: #243d38;
  box-shadow: 0 0 0 3px #2c231b, 4px 4px 0 3px #201b1666;
}
.tpl-pixel .avatar__initials { color: #efdbb7; font-family: "Silkscreen", monospace; }
.tpl-pixel .avatar__ring { display: none; }
.tpl-pixel .profile-name { color: #fff0ce; text-shadow: 3px 3px #221d19; }
:where(.world-bio) .tpl-pixel .profile-bio { font-family: "Pixelify Sans", monospace; font-size: 18px; line-height: 1.55; color: var(--bio-color, #eadabb); }
:where(.world-bio) .tpl-pixel .profile-bio:not(.has-bio-fill) {
  padding: 8px 12px; border: 1px solid #b69562; background: #352c22;
}
.tpl-pixel .profile-title { color: #c5d9a1; }
:where(.world-links) .tpl-pixel .pg-link {
  min-height: 52px;
  border-radius: 0;
  background: #365547;
  box-shadow: inset 2px 2px #9bb784, inset -2px -2px #253e34, 3px 4px #211d17;
  color: var(--link-color, #fff0ce);
  padding: 12px 16px;
  font-family: "Pixelify Sans", monospace;
  transition: background .12s, transform .12s;
}
:where(.world-links) .tpl-pixel .pg-link:not(.pg-link--no-border) { border: 2px solid #182f2a; }
:where(.world-links) .tpl-pixel .pg-link:hover { background: #476b50; transform: translateY(-2px); }
:where(.world-links) .tpl-pixel .pg-link:active { transform: translate(2px,2px); box-shadow: inset 2px 2px #253e34; }
:where(.world-links) .tpl-pixel .pg-link__label { font-size: 18px; }
:where(.world-links) .tpl-pixel .pg-link__sub { color: #c7d4b6; }
:where(.world-socials) .tpl-pixel .pg-social:not(.pg-social--bare):not(.pg-social--no-icon-bg):not(.pg-social--no-border) {
  border: 2px solid #352a20;
  border-radius: 0;
  background: #6b5137;
  color: var(--social-color, #f6dfac);
  box-shadow: inset 2px 2px #b1935e, 2px 3px #2c241d;
}
:where(.world-links) .tpl-pixel .pg-link:focus-visible, :where(.world-socials) .tpl-pixel .pg-social:focus-visible { outline: 3px solid #ffe4a0; outline-offset: 5px; }
:where(.world-widgets) .tpl-pixel .pg-widget[data-surface="glass"]:not(.pg-widget--plain):not([style*="--wg-surface"]) {
  border-radius: 0;
  border: 2px solid #292c23;
  background: #2d3c32;
  box-shadow: inset 2px 2px #8190724d, 3px 3px #2a221c;
}
.tpl-pixel .profile-meta { color: #d3c5a7; }
.tpl-pixel .pg-badge { border-radius: 2px; }
.aesthetic-card[data-aesthetic="pixel"], .look-tile[data-world="pixel"] .look-mini {
  background: linear-gradient(#15223955,#15223999), url('/assets/bg/pixel-valley.png') center / cover;
  image-rendering: pixelated;
}
.aesthetic-card[data-aesthetic="pixel"] { color: #fff0ce; border-color: #a47c48; }
.aesthetic-card[data-aesthetic="pixel"] small { color: #e2d5b8; }
[data-theme="pixel"] { --accent: #b8d88a; --accent-2: #efc789; --theme-bg: #17223b; --theme-ink: #fff0ce; }
.template-card__art--pixel { --tp-radius: 0%; --tp-frame: #cda16b; background: #253f3c; }
.template-card__art--pixel .template-card__canvas { background: #4b392c; box-shadow: 0 0 0 2px #b58b50; }
.template-card__art--pixel .tp--a { border-radius: 0; background: #d2ba8c; }
@media (max-width: 640px) {
  .profile-card.tpl-pixel.is-framed { width: min(var(--card-width,520px),calc(100% - 20px)); padding: min(var(--card-padding,30px),22px); }
  .tpl-pixel .profile-name { overflow-wrap: anywhere; font-size: clamp(20px,6vw,30px); }
  :where(.world-bio) .tpl-pixel .profile-bio { font-size: 17px; }
  :where(.world-socials) .tpl-pixel .profile-socials { display: grid; grid-template-columns: repeat(3,44px); gap: 10px; }
}
html[data-motion="low"] :where(.world-links) .tpl-pixel .pg-link {
  transition: none;
}

