/* Player Easy OS - ten-foot big picture interface */

body[data-route="os"] {
  overflow: hidden;
  background: #020711;
}

body[data-route="os"]::before,
body[data-route="os"] .desktop-titlebar,
body[data-route="os"] #sidebar,
body[data-route="os"] #mobile-bar,
body[data-route="os"] #sidebar-overlay,
body[data-route="os"] .content-toolbar,
body[data-route="os"] .friends-dock-toggle,
body[data-route="os"] .friends-dock-panel { display: none !important; }

body.player-easy-desktop.player-easy-integrated-titlebar[data-route="os"] #app,
body[data-route="os"] #app {
  width: 100vw;
  height: 100vh;
  margin: 0 !important;
}

body.player-easy-desktop.player-easy-integrated-titlebar[data-route="os"] #content,
body[data-route="os"] #content {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #020711;
  scrollbar-width: none;
}

body[data-route="os"] #content::-webkit-scrollbar { display: none; }
body[data-route="os"] #content-inner {
  width: 100%;
  max-width: none;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

.peos-window-drag-strip { display: none; }
body.player-easy-desktop.player-easy-os-windowed[data-route="os"] .peos-window-drag-strip {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  right: 142px;
  height: 38px;
  display: block;
  -webkit-app-region: drag;
  user-select: none;
}

.peos-shell {
  --peos-safe-x: clamp(32px, 4.2vw, 92px);
  --peos-safe-y: clamp(22px, 3vh, 52px);
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  color: #edf4ff;
  background: #020711;
}

.peos-background {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(1, 7, 17, .28), #020711 82%),
    radial-gradient(circle at 74% 16%, rgba(24, 112, 255, .22), transparent 32%),
    url('../assets/contact-platform-bg-v2.webp');
  background-position: center, center, 58% center;
  background-size: cover;
  filter: saturate(.92) contrast(1.06);
}

.peos-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 7, 16, .95), rgba(1, 7, 16, .34) 54%, rgba(1, 7, 16, .58)),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(61, 142, 255, .025) 120px);
}

.peos-launcher-header { display: none; }
.peos-shell.peos-launcher-home { height: 100vh; min-height: 620px; }
.peos-shell.peos-launcher-home .peos-background {
  background-image: url('../assets/nav-icons/big-picture-orbit-bg.png');
  background-position: center;
  background-size: cover;
  filter: none;
}
.peos-shell.peos-launcher-home .peos-background::after { background: rgba(0, 4, 12, .08); }
.peos-shell.peos-launcher-home .peos-footer { display: none; }
.peos-shell.peos-launcher-home .peos-main { min-height: 100vh; padding: 0; }
.peos-shell.peos-launcher-home .peos-launcher-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(28px, 4.4vh, 58px) clamp(34px, 4.5vw, 88px) 0;
  pointer-events: none;
}
.peos-launcher-brand { display: flex; align-items: center; gap: 14px; }
.peos-launcher-brand > img { width: clamp(50px, 4.7vw, 82px); height: clamp(50px, 4.7vw, 82px); object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); }
.peos-launcher-brand > div { display: flex; flex-direction: column; }
.peos-launcher-brand strong { color: #f8fafc; font-size: clamp(22px, 2vw, 34px); font-weight: 600; letter-spacing: .025em; }
.peos-launcher-brand span { margin-top: 5px; color: #a6a8aa; font-size: clamp(10px, .88vw, 15px); letter-spacing: .42em; }
.peos-launcher-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7f9fc;
  pointer-events: auto;
  cursor: pointer;
}
.peos-launcher-avatar { width: clamp(52px, 5vw, 78px); height: clamp(52px, 5vw, 78px); display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 2px solid #e6bd55; border-radius: 50%; background: #0e1a2c; color: #f2c55b; font-size: clamp(22px, 2vw, 34px); font-weight: 900; box-shadow: 0 0 25px rgba(44, 126, 238, .24); }
.peos-launcher-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.peos-launcher-user { display: flex; flex-direction: column; align-items: flex-start; }
.peos-launcher-user strong { max-width: 180px; overflow: hidden; font-size: clamp(18px, 1.65vw, 28px); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.peos-launcher-user small { margin-top: 7px; padding: 2px 7px; border: 1px solid rgba(233, 205, 133, .65); border-radius: 4px; color: #f5f2e9; font-size: clamp(11px, .92vw, 15px); font-weight: 800; }
.peos-launcher-coins { display: flex; align-items: center; gap: 7px; margin-left: 5px; color: #e8d2a0; }
.peos-launcher-coins img { width: clamp(25px, 2.1vw, 35px); height: clamp(25px, 2.1vw, 35px); object-fit: contain; }
.peos-launcher-coins b { font-size: clamp(17px, 1.55vw, 26px); font-weight: 500; font-variant-numeric: tabular-nums; }

.peos-launcher-stage {
  --launcher-icon: clamp(92px, 12.5vmin, 160px);
  --orbit-radius: clamp(200px, 31vh, 390px);
  position: absolute;
  left: 50%;
  width: min(1080px, 92vw);
  height: min(880px, 88vh);
  min-height: 560px;
  top: 51%;
  transform: translate(-50%, -50%);
}
.peos-launcher-orbit {
  position: absolute;
  inset: 0;
  z-index: 6;
  transform-origin: 50% 53%;
  animation: peos-orbit-clockwise 48s linear infinite;
}
.peos-launcher-orbit .peos-launcher-item {
  animation: peos-orbit-counterclockwise 48s linear infinite;
  transform-origin: center;
  scale: var(--peos-launcher-focus-scale, 1);
  transition: scale .16s ease;
  will-change: rotate, scale;
}
.peos-launcher-orbit:has(.peos-launcher-item:hover),
.peos-launcher-orbit:has(.peos-launcher-item.os-focus),
.peos-launcher-orbit:has(.peos-launcher-item:focus-visible) { animation-play-state: paused; }
.peos-launcher-orbit:has(.peos-launcher-item:hover) .peos-launcher-item,
.peos-launcher-orbit:has(.peos-launcher-item.os-focus) .peos-launcher-item,
.peos-launcher-orbit:has(.peos-launcher-item:focus-visible) .peos-launcher-item { animation-play-state: paused; }
.peos-launcher-center { position: absolute; z-index: 4; left: 50%; top: 53%; width: clamp(190px, 25vmin, 320px); aspect-ratio: 1; transform: translate(-50%, -50%); filter: drop-shadow(0 0 30px rgba(38, 124, 255, .62)) drop-shadow(0 22px 30px rgba(0, 0, 0, .55)); }
.peos-launcher-center img { width: 100%; height: 100%; object-fit: contain; clip-path: circle(50%); mix-blend-mode: screen; animation: peos-center-breathe 4.8s ease-in-out infinite; }
.peos-coin-3d-canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.peos-launcher-center.peos-coin-3d-ready { animation: peos-center-breathe 4.8s ease-in-out infinite; }
.peos-launcher-center.peos-coin-3d-ready .peos-coin-3d-canvas { animation: peos-coin-glow 5s ease-in-out infinite; }
@keyframes peos-coin-glow { 0%, 100% { filter: saturate(1) brightness(.98); } 50% { filter: saturate(1.14) brightness(1.08); } }
.peos-orbit-slot {
  --orbit-angle: 0deg;
  --orbit-counter-angle: 0deg;
  position: absolute;
  z-index: 6;
  width: var(--launcher-icon);
  height: calc(var(--launcher-icon) + clamp(35px, 4.7vmin, 62px));
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(calc(0px - var(--orbit-radius))) rotate(var(--orbit-counter-angle));
  transform-origin: center;
  will-change: transform;
}
.peos-orbit-slot:has(.peos-launcher-item:hover),
.peos-orbit-slot:has(.peos-launcher-item.os-focus),
.peos-orbit-slot:has(.peos-launcher-item:focus-visible) { z-index: 14; }
.peos-launcher-item {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(7px, 1.1vh, 13px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #f5dfaa;
  text-align: center;
  cursor: pointer;
}
.peos-launcher-item img { width: 100%; aspect-ratio: 1; display: block; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); animation: peos-icon-float 5.2s ease-in-out infinite; }
.peos-launcher-item strong { color: #f5dfaa; font-size: clamp(16px, 2.3vmin, 28px); font-weight: 700; line-height: 1.1; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); white-space: nowrap; }
.peos-launcher-market { --orbit-angle: 0deg; --orbit-counter-angle: 0deg; }
.peos-launcher-cart { --orbit-angle: 45deg; --orbit-counter-angle: -45deg; }
.peos-launcher-concept { --orbit-angle: 90deg; --orbit-counter-angle: -90deg; }
.peos-launcher-library { --orbit-angle: 135deg; --orbit-counter-angle: -135deg; }
.peos-launcher-wallet { --orbit-angle: 180deg; --orbit-counter-angle: -180deg; }
.peos-launcher-contact { --orbit-angle: 225deg; --orbit-counter-angle: -225deg; }
.peos-launcher-store { --orbit-angle: 270deg; --orbit-counter-angle: -270deg; }
.peos-launcher-creator { --orbit-angle: 315deg; --orbit-counter-angle: -315deg; }
.peos-orbit-slot:nth-of-type(3) .peos-launcher-item img { animation-delay: -.6s; }
.peos-orbit-slot:nth-of-type(4) .peos-launcher-item img { animation-delay: -1.2s; }
.peos-orbit-slot:nth-of-type(5) .peos-launcher-item img { animation-delay: -1.8s; }
.peos-orbit-slot:nth-of-type(6) .peos-launcher-item img { animation-delay: -2.4s; }
.peos-orbit-slot:nth-of-type(7) .peos-launcher-item img { animation-delay: -3s; }
.peos-orbit-slot:nth-of-type(8) .peos-launcher-item img { animation-delay: -3.6s; }
.peos-shell .peos-launcher-item:hover,
.peos-shell .peos-launcher-item.os-focus,
.peos-shell .peos-launcher-item:focus-visible { position: relative; z-index: 14; border-color: transparent !important; box-shadow: none !important; --peos-launcher-focus-scale: 1.1; }
.peos-shell .peos-launcher-item:hover img,
.peos-shell .peos-launcher-item.os-focus img,
.peos-shell .peos-launcher-item:focus-visible img { filter: brightness(1.14) saturate(1.08) drop-shadow(0 0 23px rgba(53, 144, 255, .95)); }
.peos-home-friends-shortcut {
  position: fixed;
  z-index: 32;
  right: clamp(22px, 3.2vw, 62px);
  bottom: clamp(22px, 3.4vh, 44px);
  width: clamp(68px, 5.2vw, 88px);
  height: clamp(68px, 5.2vw, 88px);
  display: block;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: transform .16s ease;
}
.peos-home-friends-shortcut > img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 7px 16px rgba(0, 0, 0, .5)); transition: filter .16s ease; }
.peos-home-friends-shortcut:hover,
.peos-home-friends-shortcut.os-focus,
.peos-home-friends-shortcut:focus-visible { outline: none; border: 0; background: transparent; box-shadow: none; transform: translateY(-3px) scale(1.08); }
.peos-home-friends-shortcut:hover > img,
.peos-home-friends-shortcut.os-focus > img,
.peos-home-friends-shortcut:focus-visible > img { filter: brightness(1.12) saturate(1.08) drop-shadow(0 0 18px rgba(57, 144, 255, .78)) drop-shadow(0 9px 18px rgba(0, 0, 0, .52)); }
.peos-shell .peos-home-friends-shortcut.os-focus,
.peos-shell .peos-home-friends-shortcut:focus-visible {
  position: fixed !important;
  z-index: 32;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body:has(#voice-overlay.active) .peos-home-friends-shortcut { display: none; }

@media (max-width: 980px) {
  .peos-home-friends-shortcut {
    right: 16px;
    bottom: 16px;
    width: 62px;
    height: 62px;
  }
}

@keyframes peos-icon-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes peos-center-breathe { 0%, 100% { transform: scale(1.18); } 50% { transform: scale(1.21); } }
/* Positive rotation advances the surrounding destinations clockwise. The
   inner button uses the inverse angle so icons and labels stay upright. */
@keyframes peos-orbit-clockwise { to { transform: rotate(360deg); } }
@keyframes peos-orbit-counterclockwise { to { rotate: -360deg; } }

.peos-topbar {
  position: relative;
  z-index: 20;
  min-height: clamp(76px, 9vh, 112px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 3vw, 64px);
  padding: 0 var(--peos-safe-x);
  border-bottom: 1px solid rgba(120, 169, 229, .15);
  background: linear-gradient(180deg, rgba(2, 9, 21, .92), rgba(2, 9, 21, .38));
  backdrop-filter: blur(20px);
}

.peos-brand { display: flex; align-items: center; gap: 13px; }
.peos-brand img { width: clamp(42px, 3.4vw, 64px); height: clamp(42px, 3.4vw, 64px); object-fit: contain; filter: drop-shadow(0 0 18px rgba(243, 190, 69, .28)); }
.peos-brand div { display: flex; align-items: baseline; gap: 8px; }
.peos-brand strong { color: #fff; font-size: clamp(16px, 1.4vw, 24px); letter-spacing: .08em; }
.peos-brand span { color: #f4bf45; font-size: clamp(13px, 1vw, 18px); font-weight: 900; letter-spacing: .18em; }

.peos-top-nav { height: 100%; display: flex; align-items: stretch; gap: clamp(8px, 1.4vw, 24px); }
.peos-top-nav button {
  position: relative;
  min-width: 92px;
  padding: 0 clamp(15px, 1.6vw, 30px);
  border: 0;
  background: transparent;
  color: #8494aa;
  font-size: clamp(14px, 1.1vw, 19px);
  font-weight: 800;
  cursor: pointer;
}
.peos-top-nav button.active { color: #fff; }
.peos-top-nav button.active::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: 0; height: 3px; background: linear-gradient(90deg, #278cff, #64cfff); box-shadow: 0 0 18px #278cff; }

.peos-system { display: flex; align-items: center; gap: clamp(10px, 1.25vw, 22px); }
.peos-controller-state { color: #7f91a9; font-size: clamp(11px, .84vw, 15px); white-space: nowrap; }
.peos-system time { color: #dce8f8; font-size: clamp(14px, 1.2vw, 21px); font-weight: 800; font-variant-numeric: tabular-nums; }
.peos-user,
.peos-exit {
  min-height: 44px;
  border: 1px solid rgba(103, 151, 212, .25);
  background: rgba(9, 22, 40, .72);
  color: #e8f1ff;
  cursor: pointer;
}
.peos-user { display: flex; align-items: center; gap: 10px; padding: 5px 13px 5px 5px; border-radius: 999px; }
.peos-user > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #326bb1, #10284d); color: #f7cc61; font-weight: 900; }
.peos-user strong { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.peos-exit { width: 46px; padding: 0; border-radius: 12px; font-size: 20px; }

.peos-main { position: relative; z-index: 2; padding: var(--peos-safe-y) var(--peos-safe-x) calc(var(--peos-safe-y) + 60px); }
.peos-hero {
  position: relative;
  min-height: clamp(360px, 51vh, 610px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(92, 149, 220, .22);
  border-radius: clamp(18px, 1.6vw, 30px);
  background: #06101f;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.peos-hero-art,
.peos-hero-symbol { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peos-hero-art { object-position: center 38%; transform: scale(1.015); }
.peos-hero-symbol { display: grid; place-items: center; color: #fff; font-size: clamp(90px, 16vw, 290px); }
.peos-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 8, 18, .98) 0%, rgba(2, 8, 18, .86) 33%, rgba(2, 8, 18, .24) 68%, rgba(2, 8, 18, .5) 100%), linear-gradient(0deg, rgba(2, 7, 15, .9), transparent 64%); }
.peos-hero-copy { position: relative; z-index: 2; width: min(55%, 780px); padding: clamp(32px, 4vw, 72px); }
.peos-kicker { color: #6cb7ff; font-size: clamp(10px, .8vw, 14px); font-weight: 900; letter-spacing: .22em; }
.peos-hero-copy h1 { margin: 12px 0 12px; color: #fff; font-size: clamp(40px, 4.5vw, 84px); line-height: .98; letter-spacing: -.035em; text-shadow: 0 8px 30px rgba(0, 0, 0, .55); }
.peos-hero-copy > p { max-width: 650px; margin: 0; color: #aab9cc; font-size: clamp(14px, 1.15vw, 20px); line-height: 1.65; }
.peos-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.peos-hero-meta span { padding: 6px 10px; border: 1px solid rgba(111, 157, 216, .22); border-radius: 6px; background: rgba(9, 21, 38, .75); color: #afbed1; font-size: clamp(10px, .74vw, 13px); }
.peos-hero-actions { display: flex; gap: 12px; margin-top: clamp(22px, 2.3vh, 34px); }
.peos-primary,
.peos-secondary {
  min-height: clamp(50px, 5.4vh, 68px);
  padding: 0 clamp(24px, 2vw, 40px);
  border-radius: 10px;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 900;
  cursor: pointer;
}
.peos-primary { border: 1px solid #ffe18c; background: linear-gradient(135deg, #f0c556, #bd7d17); color: #09101a; box-shadow: 0 12px 28px rgba(213, 153, 34, .25); }
.peos-primary span { margin-right: 8px; }
.peos-secondary { border: 1px solid rgba(100, 158, 229, .38); background: rgba(8, 24, 45, .82); color: #e8f2ff; }
.peos-primary.is-loading { opacity: .75; }
.peos-primary:disabled { border-color: #35475d; background: #172538; color: #708299; box-shadow: none; cursor: default; }
.peos-hero-index { position: absolute; z-index: 2; right: clamp(24px, 3vw, 54px); bottom: clamp(24px, 3vw, 52px); display: flex; flex-direction: column; align-items: flex-end; color: rgba(224, 237, 255, .6); }
.peos-hero-index span { font-size: 10px; letter-spacing: .25em; }
.peos-hero-index b { color: rgba(255, 255, 255, .85); font-size: clamp(34px, 4vw, 68px); font-weight: 300; line-height: 1; }
.peos-hero-empty { align-items: center; background: radial-gradient(circle at 74% 45%, rgba(37, 116, 230, .36), transparent 30%), linear-gradient(135deg, #06101e, #020711); }
.peos-empty-orbit { position: absolute; right: 10%; width: clamp(220px, 30vw, 520px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(71, 150, 255, .22); border-radius: 50%; box-shadow: 0 0 100px rgba(35, 119, 244, .16), inset 0 0 80px rgba(35, 119, 244, .1); }
.peos-empty-orbit img { width: 55%; height: 55%; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); }

.peos-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 24px); margin-top: clamp(18px, 2.2vh, 30px); }
.peos-quick-tile {
  min-height: clamp(92px, 11vh, 136px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 1.5vw, 26px);
  border: 1px solid rgba(91, 140, 200, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(12, 28, 50, .9), rgba(5, 15, 29, .88));
  color: #eaf3ff;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(15px);
}
.peos-quick-icon { width: clamp(42px, 3.4vw, 62px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(105, 165, 239, .32); border-radius: 14px; background: rgba(24, 83, 151, .25); color: #75bdff; font-size: clamp(21px, 1.8vw, 32px); }
.peos-quick-tile strong { display: block; font-size: clamp(14px, 1.05vw, 19px); }
.peos-quick-tile small { display: block; margin-top: 5px; color: #7f91a8; font-size: clamp(10px, .72vw, 13px); }
.peos-quick-tile > i { color: #5e7390; font-size: 22px; font-style: normal; }
.peos-quick-tile.library .peos-quick-icon { color: #f0c14e; border-color: rgba(238, 190, 73, .34); background: rgba(184, 125, 23, .2); }
.peos-quick-tile.downloads .peos-quick-icon { color: #6ee2b2; border-color: rgba(73, 218, 160, .28); background: rgba(29, 128, 91, .2); }

.peos-games { margin-top: clamp(34px, 5vh, 72px); scroll-margin-top: 24px; }
.peos-section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.peos-section-heading span { color: #5b96dc; font-size: clamp(9px, .7vw, 12px); font-weight: 900; letter-spacing: .2em; }
.peos-section-heading h2 { margin: 4px 0 0; color: #f7faff; font-size: clamp(24px, 2.2vw, 40px); }
.peos-section-heading > small { color: #75869d; font-size: clamp(11px, .8vw, 14px); }
.peos-game-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 18vw, 330px); gap: clamp(14px, 1.3vw, 24px); overflow-x: auto; overflow-y: visible; padding: 8px 8px 30px; margin: -8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.peos-game-row::-webkit-scrollbar { display: none; }
.peos-game-card { position: relative; min-height: clamp(300px, 37vh, 460px); display: flex; flex-direction: column; overflow: hidden; padding: 0; border: 1px solid rgba(89, 139, 199, .22); border-radius: 16px; background: rgba(6, 16, 30, .94); color: #eff6ff; text-align: left; cursor: pointer; scroll-snap-align: start; }
.peos-game-art { position: relative; height: 70%; min-height: 220px; display: block; overflow: hidden; background: #0a1728; }
.peos-game-art img,
.peos-card-symbol { width: 100%; height: 100%; display: grid; place-items: center; object-fit: cover; font-size: 70px; transition: transform .28s ease; }
.peos-game-art::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #06101e); }
.peos-game-art > i { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 7px; border-radius: 5px; background: rgba(3, 10, 20, .75); color: #a8bdd8; font-size: 10px; font-style: normal; }
.peos-game-copy { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; padding: 16px; }
.peos-game-copy strong { overflow: hidden; color: #f4f8ff; font-size: clamp(15px, 1vw, 19px); text-overflow: ellipsis; white-space: nowrap; }
.peos-game-copy small { margin-top: 4px; color: #708199; font-size: clamp(10px, .7vw, 12px); }
.peos-game-state { margin-top: auto; color: #8596ad; font-size: 11px; font-style: normal; }
.peos-game-state.installed { color: #68d8a7; }
.peos-card-play { position: absolute; z-index: 4; right: 15px; bottom: 15px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(111, 172, 244, .4); border-radius: 50%; background: rgba(27, 87, 157, .38); color: #fff; opacity: 0; transform: translateY(8px); transition: .22s ease; }
.peos-game-card:hover .peos-game-art img,
.peos-game-card.os-focus .peos-game-art img { transform: scale(1.045); }
.peos-game-card:hover .peos-card-play,
.peos-game-card.os-focus .peos-card-play { opacity: 1; transform: translateY(0); }
.peos-card-menu-hint {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 61px;
  max-width: calc(100% - 28px);
  padding: 5px 8px;
  border: 1px solid rgba(111, 165, 230, .26);
  border-radius: 6px;
  background: rgba(3, 12, 24, .78);
  color: #8ea3bd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(8px);
}
.peos-game-card:hover .peos-card-menu-hint,
.peos-game-card:focus-visible .peos-card-menu-hint,
.peos-game-card.os-focus .peos-card-menu-hint { opacity: 1; transform: translateY(0); }

/* Controller-aware context menu used by the big-picture library. */
.peos-game-context-menu {
  position: fixed;
  z-index: 1500;
  width: clamp(310px, 24vw, 390px);
  max-height: calc(100vh - 80px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(100, 166, 244, .46);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(34, 110, 204, .2), transparent 42%),
    linear-gradient(165deg, rgba(12, 29, 52, .985), rgba(3, 10, 21, .995));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .025) inset, 0 0 38px rgba(29, 119, 230, .13);
  color: #eaf3ff;
  scrollbar-width: thin;
  scrollbar-color: rgba(88, 153, 226, .42) transparent;
  backdrop-filter: blur(24px) saturate(1.12);
  animation: peos-context-in .16s ease-out both;
}
@keyframes peos-context-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.peos-game-context-menu > header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  padding: 9px 8px 14px;
  border-bottom: 1px solid rgba(106, 156, 216, .17);
}
.peos-game-context-menu > header > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 189, 78, .42);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(113, 77, 18, .4), rgba(14, 38, 70, .78));
  color: #f2c65c;
  font-size: 24px;
  box-shadow: inset 0 1px rgba(255, 238, 182, .13), 0 9px 25px rgba(0, 0, 0, .24);
}
.peos-game-context-menu > header > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.peos-game-context-menu > header strong { overflow: hidden; color: #fff; font-size: clamp(15px, 1vw, 18px); text-overflow: ellipsis; white-space: nowrap; }
.peos-game-context-menu > header small { color: #7d91aa; font-size: 10px; }
.peos-game-context-menu [data-os-context-close] {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(105, 151, 208, .22);
  border-radius: 10px;
  background: rgba(5, 17, 32, .72);
  color: #8ca0b9;
  font-size: 22px;
  cursor: pointer;
}
.peos-game-context-menu [data-os-context-close]:hover { border-color: rgba(239, 190, 75, .5); color: #f2cc70; }
.peos-game-context-actions { display: grid; gap: 4px; padding: 8px 0 3px; }
.peos-game-context-actions > button {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #dce8f7;
  text-align: left;
  cursor: pointer;
}
.peos-game-context-actions > button:hover,
.peos-game-context-actions > button:focus-visible,
.peos-game-context-actions > button.os-focus {
  border-color: rgba(93, 168, 255, .38) !important;
  background: linear-gradient(90deg, rgba(38, 111, 199, .34), rgba(224, 179, 68, .1));
  color: #fff;
  transform: translateX(3px) !important;
}
.peos-game-context-actions > button > span { color: #f0c45b; font-size: 19px; text-align: center; }
.peos-game-context-actions > button > b { overflow: hidden; font-size: 13px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.peos-game-context-actions > button > i { color: #69829f; font-size: 22px; font-style: normal; }
.peos-game-context-actions > button > small { color: #60738b; font-size: 9px; }
.peos-game-context-actions > button.danger:not(:disabled) > span { color: #ff9c9f; }
.peos-game-context-actions > button:disabled { color: #54657a; cursor: not-allowed; opacity: .64; }
.peos-game-context-actions > button:disabled > span { color: #566a82; }
.peos-game-context-separator { display: block; height: 1px; margin: 5px 10px; background: linear-gradient(90deg, transparent, rgba(105, 151, 208, .24), transparent); }
.peos-game-context-menu > footer { display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 10px 7px 3px; border-top: 1px solid rgba(105, 151, 208, .13); color: #687d97; font-size: 9px; }
.peos-game-context-menu > footer kbd { min-width: 21px; height: 21px; display: inline-grid; place-items: center; padding: 0 5px; border: 1px solid rgba(117, 164, 219, .3); border-radius: 5px; background: #101f32; color: #dce9f8; font-family: inherit; font-size: 9px; font-weight: 800; line-height: 1; box-shadow: inset 0 -2px rgba(0, 0, 0, .25); }
.peos-empty-library { min-height: 150px; display: grid; place-items: center; border: 1px dashed rgba(91, 141, 203, .28); border-radius: 16px; color: #72849b; }

.peos-view { min-height: calc(100vh - 180px); padding-bottom: 40px; }
.peos-view-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(26px, 4vh, 54px); }
.peos-view-heading > div:first-child > span { color: #63adff; font-size: clamp(10px, .78vw, 14px); font-weight: 900; letter-spacing: .22em; }
.peos-view-heading h1 { margin: 6px 0 8px; color: #fff; font-size: clamp(42px, 4.4vw, 82px); line-height: 1; letter-spacing: -.035em; }
.peos-view-stats { display: flex; gap: 12px; }
.peos-view-stats > div { min-width: 132px; padding: 18px 24px; border: 1px solid rgba(90, 149, 220, .24); border-radius: 14px; background: rgba(8, 22, 40, .74); text-align: center; backdrop-filter: blur(14px); }
.peos-view-stats strong { display: block; color: #f2c75c; font-size: clamp(24px, 2vw, 38px); }
.peos-view-stats small { display: block; margin-top: 2px; color: #7f91a8; }
.peos-library-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 1.5vw, 28px); }
.peos-library-grid .peos-game-card { width: 100%; min-height: clamp(320px, 46vh, 520px); }
.peos-view-empty { min-height: 56vh; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed rgba(91, 146, 213, .24); border-radius: 24px; background: rgba(3, 12, 25, .56); text-align: center; }
.peos-view-empty img { width: clamp(100px, 12vw, 190px); filter: drop-shadow(0 18px 35px rgba(0, 0, 0, .55)); }
.peos-view-empty h2 { margin: 20px 0 6px; color: #f4f8ff; font-size: clamp(24px, 2vw, 38px); }
.peos-view-empty p { margin: 0 0 24px; color: #7e91aa; }

.peos-cart-chip { min-width: 150px; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 13px 18px; border: 1px solid rgba(238, 190, 73, .42); border-radius: 14px; background: rgba(73, 51, 13, .34); color: #f4cc65; cursor: pointer; }
.peos-cart-chip > span { grid-row: 1 / 3; font-size: 30px; }
.peos-cart-chip strong { align-self: end; color: #fff; font-size: 18px; text-align: left; }
.peos-cart-chip small { align-self: start; color: #a99262; text-align: left; }
.peos-store-feature { min-height: clamp(210px, 28vh, 330px); display: flex; align-items: center; justify-content: space-between; overflow: hidden; margin-bottom: clamp(24px, 3vh, 42px); padding: clamp(30px, 4vw, 70px); border: 1px solid rgba(86, 153, 232, .24); border-radius: 24px; background: radial-gradient(circle at 78% 48%, rgba(28, 107, 220, .4), transparent 30%), linear-gradient(135deg, rgba(7, 22, 42, .95), rgba(2, 8, 18, .82)); box-shadow: 0 26px 70px rgba(0, 0, 0, .32); }
.peos-store-feature > div { position: relative; z-index: 2; max-width: 720px; }
.peos-store-feature span { color: #f0bd46; font-size: clamp(10px, .78vw, 14px); font-weight: 900; letter-spacing: .22em; }
.peos-store-feature h2 { margin: 8px 0; color: #fff; font-size: clamp(30px, 3.2vw, 58px); line-height: 1.04; }
.peos-store-feature p { margin: 0; color: #8fa2bb; font-size: clamp(13px, .95vw, 17px); }
.peos-store-feature img { width: clamp(160px, 19vw, 330px); margin-right: 8%; filter: drop-shadow(0 26px 42px rgba(0, 0, 0, .56)); }
.peos-store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.5vw, 28px); }
.peos-store-card { min-width: 0; overflow: hidden; padding: 0; border: 1px solid rgba(89, 142, 205, .22); border-radius: 17px; background: linear-gradient(155deg, rgba(11, 29, 51, .96), rgba(4, 13, 25, .96)); color: #edf5ff; text-align: left; cursor: pointer; }
.peos-store-art { position: relative; height: clamp(210px, 29vh, 360px); display: block; overflow: hidden; background: #081526; }
.peos-store-art img,
.peos-store-art .peos-card-symbol { width: 100%; height: 100%; display: grid; place-items: center; object-fit: cover; font-size: clamp(58px, 7vw, 120px); transition: transform .28s ease; }
.peos-store-art::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(5, 14, 27, .94)); }
.peos-store-art > i { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 8px; border-radius: 5px; background: rgba(2, 8, 17, .74); color: #9cb0ca; font-size: 10px; font-style: normal; }
.peos-store-copy { display: flex; flex-direction: column; padding: 17px 18px 19px; }
.peos-store-copy > small { color: #5ea9f6; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.peos-store-copy > strong { overflow: hidden; margin: 5px 0 14px; color: #fff; font-size: clamp(17px, 1.25vw, 23px); text-overflow: ellipsis; white-space: nowrap; }
.peos-store-copy > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.peos-store-copy b { color: #f2c357; font-size: clamp(15px, 1.05vw, 20px); }
.peos-store-copy em { color: #8092aa; font-size: 11px; font-style: normal; }
.peos-store-card:hover .peos-store-art img,
.peos-store-card.os-focus .peos-store-art img { transform: scale(1.05); }

.peos-detail { min-height: calc(100vh - 190px); }
.peos-detail-back { min-height: 46px; margin-bottom: 18px; padding: 0 18px; border: 1px solid rgba(94, 151, 219, .28); border-radius: 10px; background: rgba(8, 22, 41, .78); color: #aabbd1; font-weight: 800; cursor: pointer; }
.peos-detail-stage { position: relative; min-height: clamp(560px, 76vh, 900px); display: flex; align-items: flex-end; overflow: hidden; border: 1px solid rgba(94, 151, 220, .24); border-radius: 26px; background: #06101e; box-shadow: 0 35px 90px rgba(0, 0, 0, .42); }
.peos-detail-art,
.peos-detail-symbol { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; object-fit: cover; font-size: clamp(130px, 22vw, 420px); }
.peos-detail-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 8, 17, .98) 0%, rgba(2, 8, 17, .88) 36%, rgba(2, 8, 17, .18) 72%, rgba(2, 8, 17, .45)), linear-gradient(0deg, rgba(2, 7, 15, .86), transparent 55%); }
.peos-detail-copy { position: relative; z-index: 2; width: min(58%, 850px); padding: clamp(38px, 5vw, 92px); }
.peos-detail-copy > span { color: #65b4ff; font-size: 11px; font-weight: 900; letter-spacing: .22em; }
.peos-detail-copy h1 { margin: 9px 0 14px; color: #fff; font-size: clamp(50px, 5.4vw, 104px); line-height: .96; letter-spacing: -.045em; }
.peos-detail-copy > p { max-width: 720px; margin: 0; color: #a5b5ca; font-size: clamp(14px, 1.05vw, 19px); line-height: 1.7; }
.peos-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.peos-detail-tags span { padding: 6px 10px; border: 1px solid rgba(103, 161, 229, .24); border-radius: 6px; background: rgba(9, 24, 43, .72); color: #9db0c8; font-size: 11px; }
.peos-detail-price { display: flex; align-items: baseline; gap: 16px; margin-top: 24px; }
.peos-detail-price strong { color: #f1c456; font-size: clamp(30px, 3vw, 52px); }
.peos-detail-price small { color: #73869f; }
.peos-detail-review {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding: 11px 14px;
  border: 1px solid rgba(92, 153, 224, .25);
  border-radius: 11px;
  background: rgba(4, 18, 35, .72);
  backdrop-filter: blur(12px);
}
.peos-detail-review > strong { color: #77c6ff; font-size: clamp(20px, 1.7vw, 30px); font-variant-numeric: tabular-nums; }
.peos-detail-review > span { display: flex; flex-direction: column; color: #dbe9f8; font-size: 12px; font-weight: 850; }
.peos-detail-review small { margin-top: 3px; color: #788ca5; font-size: 9px; font-weight: 600; }
.peos-detail-review.positive { border-color: rgba(74, 213, 157, .28); background: rgba(18, 91, 67, .19); }
.peos-detail-review.positive > strong { color: #71e0b1; }
.peos-detail-review.mixed > strong { color: #f0c25a; }
.peos-detail-review.negative > strong { color: #ff9b9f; }
.peos-detail-review.neutral { opacity: .88; }

.peos-detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .7fr);
  gap: clamp(18px, 2vw, 34px);
  margin-top: clamp(24px, 3vh, 42px);
}
.peos-detail-about,
.peos-detail-facts {
  min-width: 0;
  padding: clamp(26px, 3vw, 48px);
  border: 1px solid rgba(89, 148, 218, .24);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(8, 24, 46, .91), rgba(3, 13, 27, .94));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .025);
}
.peos-detail-about > small,
.peos-detail-facts > small,
.peos-store-community > header small { color: #5da9f7; font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.peos-detail-about h2,
.peos-detail-facts h2,
.peos-store-community > header h2 { margin: 7px 0 13px; color: #f6f9ff; font-size: clamp(24px, 2.2vw, 38px); }
.peos-detail-about > p { max-width: 1000px; margin: 0; color: #98aabe; font-size: clamp(13px, .92vw, 17px); line-height: 1.85; }
.peos-detail-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 25px; }
.peos-detail-highlights article { min-height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 17px 18px; border: 1px solid rgba(91, 147, 214, .2); border-radius: 12px; background: rgba(4, 16, 32, .56); }
.peos-detail-highlights small { color: #667f9c; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.peos-detail-highlights strong { margin: 5px 0; overflow: hidden; color: #e8c56c; font-size: clamp(15px, 1.15vw, 20px); text-overflow: ellipsis; white-space: nowrap; }
.peos-detail-highlights span { color: #687d96; font-size: 9px; }
.peos-detail-facts dl { display: grid; gap: 0; margin: 4px 0 22px; }
.peos-detail-facts dl > div { min-height: 48px; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 14px; border-bottom: 1px solid rgba(104, 151, 208, .14); }
.peos-detail-facts dt { color: #6f849e; font-size: 10px; }
.peos-detail-facts dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #e4edf8; font-size: 12px; font-weight: 750; text-align: right; }
.peos-detail-stock > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #a7b8cb; font-size: 10px; }
.peos-detail-stock em { color: #edc15a; font-style: normal; font-variant-numeric: tabular-nums; }
.peos-detail-stock > i { height: 7px; display: block; overflow: hidden; margin-top: 9px; border-radius: 999px; background: rgba(91, 134, 186, .18); }
.peos-detail-stock > i > b { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #347ed6, #69c1ff 62%, #f0c358); box-shadow: 0 0 16px rgba(74, 166, 255, .45); }

.peos-store-community {
  overflow: hidden;
  margin-top: clamp(24px, 3vh, 42px);
  padding: clamp(24px, 2.7vw, 44px);
  border: 1px solid rgba(88, 148, 219, .25);
  border-radius: 21px;
  background: linear-gradient(155deg, rgba(7, 23, 44, .94), rgba(3, 12, 25, .97));
  box-shadow: 0 28px 75px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .025);
}
.peos-store-community > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.peos-store-community > header h2 { margin-bottom: 7px; }
.peos-store-community > header p { margin: 0; color: #788ca5; font-size: 12px; }
.peos-community-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(91, 149, 218, .2);
  border-radius: 14px;
  background: rgba(3, 13, 27, .62);
}
.peos-community-tabs button {
  min-height: 53px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #8296af;
  font-size: clamp(12px, .9vw, 15px);
  font-weight: 850;
  cursor: pointer;
}
.peos-community-tabs button:hover { color: #e8f2ff; background: rgba(35, 92, 157, .2); }
.peos-community-tabs button.active { border-color: rgba(231, 186, 77, .42); background: linear-gradient(135deg, rgba(155, 103, 19, .3), rgba(32, 87, 153, .24)); color: #f4d47e; }
.peos-community-tabs button.active::after { display: none; }
.peos-community-content {
  min-height: 330px;
  margin-top: 14px;
  padding: clamp(18px, 2vw, 32px);
  border: 1px solid rgba(91, 145, 210, .16);
  border-radius: 15px;
  background: rgba(2, 10, 21, .52);
}
.peos-community-content .community-loading,
.peos-community-content .community-empty { min-height: 245px; display: grid; place-items: center; padding: 42px 18px; color: #7187a1; font-size: 13px; }
.peos-community-content .community-toolbar { margin-bottom: 18px; }
.peos-community-content .community-toolbar h3 { color: #f1f6fe; font-size: clamp(19px, 1.5vw, 26px); }
.peos-community-content .community-toolbar p { color: #778ba4; font-size: 11px; }
.peos-community-content .community-toolbar .btn-primary,
.peos-community-content .community-toolbar .btn-secondary { min-height: 48px; padding-inline: 20px; border-radius: 9px; }
.peos-community-content .mod-item { min-height: 88px; gap: 18px; margin-top: 9px; padding: 16px; border: 1px solid rgba(91, 148, 216, .18); border-radius: 12px; background: rgba(7, 24, 45, .62); }
.peos-community-content .mod-icon { width: 56px; height: 56px; flex-basis: 56px; border-radius: 9px; background: linear-gradient(145deg, #1d3d5d, #0f2439); color: #8dcdff; }
.peos-community-content .mod-title { color: #eff6ff; font-size: 15px; }
.peos-community-content .mod-main p { color: #8fa1b6; font-size: 12px; }
.peos-community-content .mod-meta { color: #647a94; font-size: 10px; }
.peos-community-content .mod-item > a { min-height: 42px; display: inline-flex; align-items: center; }
.peos-community-content .game-figurine-offer { min-height: 390px; border-color: rgba(91, 151, 224, .32); background: linear-gradient(135deg, rgba(5, 20, 40, .95), rgba(9, 31, 59, .76)); }
.peos-community-content .game-figurine-visual { min-height: 390px; }
.peos-community-content .game-figurine-copy h3 { color: #f4f8ff; }
.peos-community-content .game-figurine-copy > p { color: #93a7bc; }
.peos-community-content .game-figurine-meta > span { min-height: 66px; justify-content: center; }
.peos-community-content .comment-summary { margin: 0 0 18px; padding: 0 0 20px; border-color: rgba(101, 151, 210, .17); }
.peos-community-content .review-summary-score strong { color: #76c2ff; font-size: clamp(34px, 3vw, 52px); }
.peos-community-content .comment-editor { padding: 19px; border: 1px solid rgba(91, 149, 218, .19); border-radius: 12px; background: rgba(7, 24, 45, .58); }
.peos-community-content .comment-editor h3 { color: #edf5ff; font-size: 17px; }
.peos-community-content .comment-editor textarea,
.peos-community-content .comment-editor input,
.peos-community-content .comment-editor select { border: 1px solid rgba(101, 153, 216, .28); border-radius: 9px; background: rgba(2, 11, 23, .82); color: #e7f0fb; }
.peos-community-content .comment-editor textarea { min-height: 130px; padding: 14px; }
.peos-community-content .rating-picker button { min-width: 42px; min-height: 42px; font-size: 29px; }
.peos-community-content .comment-item { min-height: 78px; padding: 18px 6px; border-color: rgba(102, 151, 209, .15); }
.peos-community-content .comment-avatar { width: 44px; height: 44px; flex-basis: 44px; background: #10243b; }
.peos-community-content .comment-head strong { color: #edf5ff; font-size: 14px; }
.peos-community-content .comment-main p { color: #a2b2c5; font-size: 13px; }

.peos-market-sell { min-height: 54px; padding: 0 24px; border: 1px solid rgba(239, 189, 69, .5); border-radius: 12px; background: linear-gradient(135deg, rgba(180, 121, 22, .38), rgba(62, 42, 12, .54)); color: #f4cb66; font-size: 15px; font-weight: 900; cursor: pointer; }
.peos-market-overview { display: grid; grid-template-columns: minmax(310px, .72fr) minmax(0, 1.6fr); gap: clamp(18px, 1.8vw, 34px); }
.peos-market-stats { display: grid; gap: 12px; }
.peos-market-stats > div { display: flex; flex-direction: column; justify-content: center; min-height: 112px; padding: 18px 24px; border: 1px solid rgba(88, 145, 214, .24); border-radius: 15px; background: linear-gradient(135deg, rgba(11, 29, 52, .88), rgba(4, 13, 25, .9)); backdrop-filter: blur(14px); }
.peos-market-stats small { color: #7c91ab; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.peos-market-stats strong { margin: 3px 0; color: #f1c354; font-size: clamp(24px, 2vw, 38px); }
.peos-market-stats span { color: #566a83; font-size: 10px; }
.peos-market-chart { min-height: 360px; overflow: hidden; padding: 24px 26px 0; border: 1px solid rgba(79, 151, 229, .28); border-radius: 18px; background: linear-gradient(150deg, rgba(6, 20, 40, .96), rgba(3, 11, 22, .94)); }
.peos-market-chart header { display: flex; align-items: center; justify-content: space-between; }
.peos-market-chart header small { display: block; color: #508fd3; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.peos-market-chart header strong { display: block; margin-top: 3px; color: #f2f7ff; font-size: 22px; }
.peos-market-chart header > span { color: #67d9a4; font-size: 11px; }
.peos-market-chart svg { width: 100%; height: 270px; margin-top: 8px; overflow: visible; }
.peos-market-chart .grid { fill: none; stroke: rgba(104, 153, 211, .12); stroke-width: 1; }
.peos-market-chart .area { fill: url(#peos-chart-fill); }
.peos-market-chart .line { fill: none; stroke: #43a8ff; stroke-width: 4; filter: drop-shadow(0 0 7px rgba(45, 157, 255, .6)); }
.peos-market-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: clamp(34px, 5vh, 66px) 0 18px; }
.peos-market-heading span { color: #5d9fe8; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.peos-market-heading h2 { margin: 5px 0 0; color: #fff; font-size: clamp(28px, 2.2vw, 42px); }
.peos-market-heading small { color: #73869f; }
.peos-market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.5vw, 28px); }
.peos-market-empty { grid-column: 1 / -1; min-height: 180px; display: grid; place-items: center; border: 1px dashed rgba(85, 145, 216, .27); border-radius: 16px; color: #73869f; }
.peos-market-card { overflow: hidden; border: 1px solid rgba(87, 142, 207, .23); border-radius: 17px; background: linear-gradient(155deg, rgba(10, 27, 48, .96), rgba(4, 13, 24, .96)); }
.peos-market-art { position: relative; height: clamp(170px, 23vh, 290px); display: block; overflow: hidden; background: #081525; }
.peos-market-art img,
.peos-market-art .peos-card-symbol { width: 100%; height: 100%; display: grid; place-items: center; object-fit: cover; font-size: 72px; }
.peos-market-art::after { content: ''; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, rgba(5, 14, 26, .95)); }
.peos-market-art > span:last-child { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 8px; border-radius: 6px; background: rgba(3, 11, 21, .78); color: #96abc5; font-size: 10px; }
.peos-market-copy { padding: 17px; }
.peos-market-copy > small { color: #5ca8f4; font-size: 10px; }
.peos-market-copy h3 { overflow: hidden; margin: 4px 0 15px; color: #fff; font-size: clamp(18px, 1.25vw, 24px); text-overflow: ellipsis; white-space: nowrap; }
.peos-market-copy > div { display: flex; align-items: center; justify-content: space-between; min-height: 28px; color: #71849d; font-size: 11px; }
.peos-market-copy > div strong { color: #aebdd1; font-size: 11px; }
.peos-market-copy > div b { color: #f2c45a; font-size: 18px; }
.peos-market-copy > button { width: 100%; min-height: 46px; margin-top: 14px; border: 1px solid #e5b445; border-radius: 9px; background: linear-gradient(135deg, #edc35b, #b97a18); color: #08101b; font-weight: 900; cursor: pointer; }
.peos-market-copy > button:disabled { border-color: #33465d; background: #172538; color: #6f8198; cursor: default; }
.peos-market-order { display: flex; flex-direction: column; gap: 7px; margin: 18px 0; padding: 18px; border: 1px solid rgba(92, 151, 222, .22); border-radius: 13px; background: rgba(8, 23, 42, .72); }
.peos-market-order > span { color: #8ea1b9; }
.peos-market-order > strong { color: #f2c45b; font-size: 30px; }
.peos-market-order > small { color: #74869e; }
.peos-store-order-error { margin: 0 0 10px; color: #ff9ca4; font-size: 12px; line-height: 1.55; }
.peos-store-confirm:disabled { opacity: .48; cursor: not-allowed; }

.peos-footer { position: fixed; z-index: 18; left: 0; right: 0; bottom: 0; min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--peos-safe-x); border-top: 1px solid rgba(104, 153, 213, .14); background: rgba(2, 8, 18, .88); backdrop-filter: blur(18px); }
.peos-footer > div { display: flex; align-items: center; gap: 8px; color: #8596ac; font-size: 11px; }
.peos-footer kbd { min-width: 24px; height: 24px; display: grid; place-items: center; margin-left: 8px; border: 1px solid #50647c; border-radius: 50%; background: #132137; color: #f1c755; font-family: inherit; font-weight: 900; box-shadow: none; }

.peos-panel-backdrop { position: fixed; z-index: 80; inset: 0; visibility: hidden; background: rgba(0, 4, 11, .5); opacity: 0; backdrop-filter: blur(8px); transition: .2s ease; }
.peos-panel-backdrop.active { visibility: visible; opacity: 1; }
.peos-quick-panel { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); display: flex; flex-direction: column; padding: clamp(24px, 3vh, 42px); border-left: 1px solid rgba(108, 166, 237, .28); background: linear-gradient(180deg, rgba(10, 25, 46, .98), rgba(3, 11, 23, .99)); box-shadow: -30px 0 80px rgba(0, 0, 0, .45); transform: translateX(105%); transition: transform .24s ease; }
.peos-quick-panel.active { transform: translateX(0); }
.peos-quick-panel > header { display: flex; align-items: flex-start; justify-content: space-between; }
.peos-quick-panel > header span { color: #5d9ce7; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.peos-quick-panel h2 { margin: 4px 0 0; color: #fff; font-size: 28px; }
.peos-quick-panel > header button { width: 42px; height: 42px; border: 1px solid #3d5572; border-radius: 10px; background: #101f33; color: #dceaff; font-size: 26px; cursor: pointer; }
.peos-panel-account { display: grid; grid-template-columns: auto 1fr 1fr; gap: 15px; align-items: center; margin: 28px 0; padding: 18px; border: 1px solid rgba(104, 158, 224, .2); border-radius: 14px; background: rgba(13, 32, 56, .58); }
.peos-panel-avatar { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid #dba83c; border-radius: 50%; color: #edc45e; font-family: Georgia, serif; font-size: 22px; }
.peos-panel-account small { display: block; color: #71839b; font-size: 10px; }
.peos-panel-account strong { display: block; margin-top: 4px; color: #eef5ff; font-size: 15px; }
.peos-panel-content { min-height: 0; display: flex; flex: 1; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #315d8c transparent; }
.peos-panel-content > button { min-height: 70px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border: 1px solid rgba(91, 139, 197, .18); border-radius: 12px; background: rgba(12, 27, 47, .62); color: #eaf3ff; text-align: left; cursor: pointer; }
.peos-panel-content > button > span:first-child { grid-row: 1 / 3; font-size: 24px; color: #67b4ff; }
.peos-panel-content > button strong { align-self: end; font-size: 14px; }
.peos-panel-content > button small { align-self: start; color: #71839a; font-size: 10px; }
.peos-quick-panel > footer { margin-top: auto; }
.peos-quick-panel-sound .peos-panel-account { display: none; }
.peos-quick-panel-sound .peos-panel-content { margin-top: 24px; }
.peos-panel-exit { width: 100%; min-height: 52px; border: 1px solid rgba(238, 97, 97, .4); border-radius: 10px; background: rgba(117, 35, 43, .22); color: #ffb7bb; font-weight: 800; cursor: pointer; }
.peos-panel-subhead { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.peos-panel-subhead button { width: 42px; height: 42px; border: 1px solid #3d5572; border-radius: 10px; background: #101f33; color: #dceaff; cursor: pointer; }
.peos-panel-subhead small { display: block; color: #5d9ce7; font-size: 9px; letter-spacing: .16em; }
.peos-panel-subhead strong { display: block; color: #edf5ff; font-size: 18px; }
.peos-download-row,
.peos-setting-row { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid rgba(113, 155, 205, .12); }
.peos-download-row > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(45, 173, 121, .17); color: #65d9a4; }
.peos-download-row div { display: flex; flex-direction: column; }
.peos-download-row small { color: #71849b; font-size: 10px; }
.peos-setting-row { justify-content: space-between; color: #8fa0b5; font-size: 12px; }
.peos-setting-row strong { color: #eaf3ff; font-size: 12px; }
.peos-display-setting { align-items: flex-start; flex-direction: column; }
.peos-display-options { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.peos-display-options button { min-height: 42px; padding: 8px 12px; border: 1px solid rgba(91, 139, 197, .28); border-radius: 9px; background: rgba(8, 20, 37, .72); color: #a9bad0; font: inherit; font-weight: 800; cursor: pointer; }
.peos-display-options button.active { border-color: #e2b84f; background: linear-gradient(135deg, rgba(226, 184, 79, .22), rgba(70, 123, 199, .18)); color: #ffe49a; box-shadow: inset 0 0 0 1px rgba(255, 220, 123, .12); }
.peos-display-options button:disabled { cursor: wait; opacity: .65; }
.peos-display-hint { display: block; margin: -2px 12px 4px; color: #71849b; font-size: 10px; line-height: 1.5; }
.peos-panel-action { margin-top: 12px; grid-template-columns: 1fr auto !important; grid-template-rows: auto !important; }
.peos-sound-hero { min-height: 86px; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px; border: 1px solid rgba(92, 151, 221, .22); border-radius: 14px; background: linear-gradient(135deg, rgba(24, 58, 98, .7), rgba(7, 20, 37, .76)); }
.peos-sound-hero > span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(238, 193, 84, .54); border-radius: 50%; background: radial-gradient(circle, rgba(238, 193, 84, .22), rgba(34, 78, 126, .14)); color: #f2c75d; font-size: 27px; box-shadow: 0 0 24px rgba(64, 145, 239, .14); }
.peos-sound-hero strong, .peos-sound-hero small { display: block; }
.peos-sound-hero strong { color: #f3f7fc; font-size: 14px; }
.peos-sound-hero small { margin-top: 5px; color: #748aa3; font-size: 10px; line-height: 1.45; }
.peos-sound-volume { margin-top: 3px; padding: 15px 13px 12px; border-bottom: 1px solid rgba(113, 155, 205, .12); }
.peos-sound-volume label, .peos-sound-volume > div { display: flex; align-items: center; justify-content: space-between; }
.peos-sound-volume label { margin-bottom: 12px; color: #9aacc1; font-size: 12px; }
.peos-sound-volume output { color: #ffe197; font-size: 13px; font-weight: 900; }
.peos-sound-volume input[type="range"] { width: 100%; height: 20px; margin: 0; accent-color: #e8ba4f; cursor: pointer; }
.peos-sound-volume input[type="range"]:disabled { cursor: not-allowed; opacity: .34; }
.peos-sound-volume input[type="range"].os-focus, .peos-sound-volume input[type="range"]:focus-visible { outline: 3px solid #70bdff; outline-offset: 5px; border-radius: 8px; }
.peos-sound-volume > div { margin-top: 5px; color: #566c85; font-size: 9px; }
.peos-panel-content > .peos-sound-toggle { min-height: 56px; grid-template-columns: 1fr auto; grid-template-rows: auto; margin-top: 2px; }
.peos-sound-toggle > span { grid-row: auto !important; color: #a9bad0 !important; font-size: 12px !important; }
.peos-sound-toggle > strong { min-width: 52px; padding: 6px 9px; border: 1px solid #425b78; border-radius: 999px; color: #8ca0b8; text-align: center; }
.peos-sound-toggle.active > strong { border-color: rgba(89, 211, 161, .52); background: rgba(46, 148, 109, .16); color: #6fe1b4; }
.peos-panel-content > .peos-sound-preview { min-height: 54px; }
.peos-sound-preview:disabled { cursor: not-allowed; opacity: .4; }
.peos-sound-note { display: block; padding: 3px 10px 0; color: #5f748c; font-size: 9px; line-height: 1.55; }
.peos-panel-empty { padding: 36px 10px; color: #71849c; text-align: center; }

.peos-shell [data-os-focusable] { outline: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.peos-shell [data-os-focusable].os-focus,
.peos-shell [data-os-focusable]:focus-visible {
  position: relative;
  z-index: 12;
  border-color: #7bc3ff !important;
  box-shadow: 0 0 0 3px rgba(51, 147, 255, .45), 0 0 32px rgba(39, 135, 255, .28) !important;
  transform: scale(1.025);
}
.peos-shell .peos-launcher-profile.os-focus,
.peos-shell .peos-launcher-profile:focus,
.peos-shell .peos-launcher-profile:focus-visible {
  outline: 0 !important;
  border: 0 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: scale(1.04);
}
.peos-top-nav [data-os-focusable].os-focus { transform: none; background: rgba(35, 105, 185, .18); box-shadow: inset 0 -3px #61b7ff !important; }
.peos-quick-panel [data-os-focusable].os-focus { transform: translateX(-5px); }

/* Big-picture service hubs keep secondary destinations inside the OS shell. */
.peos-service-view { min-height: calc(100vh - clamp(124px, 15vh, 184px)); padding-bottom: clamp(70px, 9vh, 110px); }
.peos-service-heading { margin-bottom: clamp(24px, 3.5vh, 42px); }
.peos-service-title { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.peos-service-title > img { width: clamp(76px, 7.2vw, 118px); height: clamp(76px, 7.2vw, 118px); object-fit: cover; border-radius: 50%; filter: drop-shadow(0 0 24px rgba(41, 128, 255, .35)); }
.peos-service-title small { color: #e9bd4d; font-size: clamp(10px, .8vw, 13px); font-weight: 900; letter-spacing: .2em; }
.peos-service-title h1 { margin: 7px 0 5px; color: #fff; font-size: clamp(28px, 3vw, 52px); line-height: 1; }

.peos-service-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 24px); margin-bottom: clamp(22px, 3vh, 34px); }
.peos-service-metrics article { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 2vw, 34px); border: 1px solid rgba(102, 155, 221, .2); border-radius: 18px; background: rgba(5, 18, 38, .72); backdrop-filter: blur(18px); box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 20px 45px rgba(0, 0, 0, .16); }
.peos-service-metrics article.gold { border-color: rgba(221, 174, 68, .32); }
.peos-service-metrics article.blue { border-color: rgba(66, 143, 240, .35); }
.peos-service-metrics article.green { border-color: rgba(56, 203, 151, .3); }
.peos-service-metrics span { color: #8fa4bd; font-size: 12px; font-weight: 800; }
.peos-service-metrics strong { margin: 8px 0 7px; color: #f3c85c; font-size: clamp(24px, 2.2vw, 38px); font-variant-numeric: tabular-nums; }
.peos-service-metrics article.blue strong { color: #68a8ff; }
.peos-service-metrics article.green strong { color: #63dbaa; }
.peos-service-metrics strong i { font-size: .48em; font-style: normal; }
.peos-service-metrics small { color: #60758f; font-size: 11px; }

.peos-service-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.peos-service-action { min-height: clamp(160px, 19vh, 230px); display: grid; grid-template-columns: clamp(76px, 8vw, 126px) 1fr auto; align-items: center; gap: clamp(18px, 2vw, 34px); padding: clamp(24px, 2.8vw, 44px); border: 1px solid rgba(91, 148, 217, .24); border-radius: 20px; background: rgba(5, 18, 37, .72); color: #eef5ff; text-align: left; cursor: pointer; backdrop-filter: blur(18px); }
.peos-service-action.primary { border-color: rgba(225, 177, 63, .4); background: linear-gradient(135deg, rgba(76, 54, 15, .44), rgba(5, 18, 37, .78)); }
.peos-service-action > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.peos-service-action > span { display: flex; flex-direction: column; }
.peos-service-action small { color: #5e9fed; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.peos-service-action strong { margin: 8px 0; color: #fff; font-size: clamp(19px, 1.6vw, 28px); }
.peos-service-action em { color: #7f93aa; font-size: 12px; font-style: normal; line-height: 1.55; }
.peos-service-action > b { color: #e8ba4a; font-size: 28px; }

.peos-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 28%); gap: clamp(20px, 2vw, 34px); align-items: start; }
.peos-cart-list { display: grid; gap: 12px; }
.peos-cart-row { min-height: 104px; display: grid; grid-template-columns: 118px minmax(150px, 1fr) auto auto auto auto; align-items: center; gap: 18px; padding: 12px 18px 12px 12px; border: 1px solid rgba(95, 148, 214, .2); border-radius: 14px; background: rgba(5, 17, 34, .78); }
.peos-cart-row > img,
.peos-cart-row > span:first-child { width: 118px; height: 78px; display: grid; place-items: center; object-fit: cover; border-radius: 9px; background: #12213a; color: #f1c45a; font-size: 30px; }
.peos-cart-row > div:nth-of-type(1) { display: flex; flex-direction: column; gap: 6px; }
.peos-cart-row > div:nth-of-type(1) strong { color: #f7f9fc; font-size: 16px; }
.peos-cart-row > div:nth-of-type(1) small { color: #6f849d; font-size: 11px; }
.peos-cart-row > b,
.peos-cart-row > strong { color: #ecc25d; font-size: 15px; }
.peos-cart-step { display: flex; align-items: center; gap: 10px; }
.peos-cart-step button,
.peos-cart-remove { min-width: 36px; min-height: 36px; border: 1px solid rgba(86, 141, 207, .28); border-radius: 8px; background: #0a1a30; color: #c7d9ee; cursor: pointer; }
.peos-cart-remove { padding-inline: 12px; color: #ed9aa1; }
.peos-order-summary { padding: clamp(24px, 2vw, 34px); border: 1px solid rgba(220, 174, 69, .34); border-radius: 18px; background: rgba(5, 17, 34, .88); backdrop-filter: blur(18px); }
.peos-order-summary > small { color: #d9aa3d; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.peos-order-summary h2 { margin: 6px 0 22px; font-size: 25px; }
.peos-order-summary > div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(110, 154, 209, .14); color: #8498b0; font-size: 12px; }
.peos-order-summary > div strong { color: #ecf3fc; }
.peos-order-summary > div.total { margin-top: 8px; border: 0; color: #dce8f8; font-size: 14px; }
.peos-order-summary > div.total strong { color: #f2c45b; font-size: 24px; }
.peos-order-summary .peos-primary { width: 100%; margin-top: 16px; }
.peos-order-summary > p { color: #60758d; font-size: 10px; line-height: 1.6; }
.peos-service-empty { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px solid rgba(91, 148, 217, .18); border-radius: 18px; background: rgba(5, 17, 34, .72); text-align: center; }
.peos-service-empty > img { width: 110px; border-radius: 50%; opacity: .86; }
.peos-service-empty h2 { margin: 8px 0 0; }
.peos-service-empty p { margin: 0 0 14px; color: #71869e; }

.peos-concept-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.peos-concept-flow article { position: relative; min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; border: 1px solid rgba(96, 151, 220, .22); border-radius: 18px; background: rgba(5, 17, 35, .74); text-align: center; }
.peos-concept-flow article > span { position: absolute; top: 16px; left: 18px; color: #e4b849; font-size: 11px; font-weight: 900; }
.peos-concept-flow article > img { width: clamp(64px, 5.8vw, 92px); border-radius: 50%; }
.peos-concept-flow article strong { display: block; color: #fff; font-size: 18px; }
.peos-concept-flow article small { display: block; margin-top: 7px; color: #7489a2; line-height: 1.5; }
.peos-concept-flow article > b { position: absolute; right: -12px; color: #d7aa42; font-size: 20px; }
.peos-concept-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 18px; padding: clamp(24px, 2.4vw, 38px); border: 1px solid rgba(224, 177, 66, .34); border-radius: 18px; background: linear-gradient(110deg, rgba(78, 53, 13, .4), rgba(5, 18, 37, .8)); }
.peos-concept-cta small { color: #e8b841; font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.peos-concept-cta h2 { margin: 6px 0; font-size: clamp(20px, 1.8vw, 30px); }
.peos-concept-cta p { margin: 0; color: #7e92aa; font-size: 12px; }
.peos-concept-cta .peos-primary { flex: 0 0 auto; }

.peos-contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 16px; }
.peos-contact-grid article { min-height: 142px; display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 22px; padding: 22px; border: 1px solid rgba(91, 147, 215, .22); border-radius: 16px; background: rgba(5, 18, 36, .75); }
.peos-contact-grid article > img { width: 86px; height: 86px; object-fit: cover; border-radius: 50%; }
.peos-contact-grid article strong { color: #fff; font-size: 19px; }
.peos-contact-grid article p { margin: 7px 0; color: #879bb1; font-size: 12px; }
.peos-contact-grid article small { color: #e3b650; font-size: 11px; }
.peos-contact-grid aside { grid-column: 2; grid-row: 1 / 4; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3vw, 48px); border: 1px solid rgba(221, 175, 69, .36); border-radius: 18px; background: rgba(5, 18, 36, .82); }
.peos-contact-grid aside > small { color: #e3b54a; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.peos-contact-grid aside > strong { margin: 10px 0; color: #fff; font-size: clamp(28px, 2.5vw, 42px); }
.peos-contact-grid aside > p { margin: 0 0 22px; color: #7d92aa; font-size: 13px; line-height: 1.8; }

/* Controller-first friends, chat, voice and party surface. */
.peos-friends-view .peos-service-heading {
  margin-bottom: clamp(16px, 2vh, 24px);
}
.peos-friends-view .peos-service-title > img { width: clamp(68px, 5.4vw, 92px); height: clamp(68px, 5.4vw, 92px); }
.peos-friends-view .peos-service-title h1 { font-size: clamp(27px, 2.35vw, 42px); }
.peos-friends-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, .55fr)) minmax(230px, 1.35fr);
  gap: 12px;
  margin-bottom: 14px;
}
.peos-friends-summary > article,
.peos-friends-summary > button {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid rgba(92, 151, 222, .22);
  border-radius: 13px;
  background: rgba(5, 18, 37, .78);
  color: #eaf3ff;
  text-align: left;
}
.peos-friends-summary article span { color: #788ca5; font-size: 11px; font-weight: 800; }
.peos-friends-summary article strong { margin-top: 4px; color: #efc45d; font-size: clamp(22px, 1.75vw, 31px); font-variant-numeric: tabular-nums; }
.peos-friends-summary > button {
  position: relative;
  padding-left: 66px;
  border-color: rgba(72, 148, 241, .34);
  background: linear-gradient(135deg, rgba(20, 64, 113, .7), rgba(5, 18, 37, .82));
  cursor: pointer;
}
.peos-friends-summary > button > span { position: absolute; left: 20px; color: #6cbdff; font-size: 30px; }
.peos-friends-summary > button > strong { font-size: 14px; }
.peos-friends-summary > button > small { margin-top: 3px; color: #758aa3; font-size: 10px; }
.peos-friends-body {
  height: clamp(500px, 57vh, 720px);
  min-height: 500px;
  padding: clamp(13px, 1.25vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(93, 151, 222, .28);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(7, 21, 41, .94), rgba(2, 10, 22, .96));
  box-shadow: 0 28px 74px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(20px);
}
.peos-friends-body > .friend-search { height: 56px; margin: 0 0 14px; }
.peos-friends-body > .friend-search > input {
  width: 100%;
  height: 56px;
  padding: 0 20px 0 48px;
  border: 1px solid rgba(89, 145, 214, .3);
  border-radius: 12px;
  background: rgba(2, 10, 22, .88);
  color: #eef6ff;
  font: inherit;
  font-size: clamp(13px, .95vw, 16px);
}
.peos-friends-body > .friend-search::before {
  content: '⌕';
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 13px;
  color: #64adfb;
  font-size: 25px;
  pointer-events: none;
}
.peos-friends-body .friend-search-results {
  top: calc(100% + 7px);
  max-height: 310px;
  overflow-y: auto;
  border-color: rgba(226, 181, 73, .54);
  border-radius: 12px;
  background: rgba(5, 17, 34, .985);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .55);
}
.peos-friends-body .search-result-item { min-height: 58px; padding: 10px 14px; color: #dfeaf7; font-size: 13px; }
.peos-friends-body .search-result-avatar { width: 38px; height: 38px; flex-basis: 38px; }
.peos-friends-body .friends-dock-layout {
  height: calc(100% - 70px);
  grid-template-columns: minmax(260px, 30%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(79, 132, 195, .25);
  border-radius: 14px;
  background: rgba(2, 10, 21, .76);
}
.peos-friends-body .friends-list-panel {
  padding: 10px;
  overflow-y: auto;
  border-right-color: rgba(82, 137, 201, .23);
  background: rgba(5, 15, 29, .9);
  scrollbar-width: thin;
  scrollbar-color: #315d8c transparent;
}
.peos-friends-body .friends-list-panel h5 { margin: 3px 0; padding: 9px 9px 6px; color: #7692b1; font-size: 10px; letter-spacing: .13em; }
.peos-friends-body .friend-list-item {
  min-height: 62px;
  gap: 12px;
  margin-bottom: 4px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 9px;
  color: #e1ebf7;
}
.peos-friends-body .friend-list-item:hover { border-color: rgba(81, 144, 213, .28); background: rgba(25, 54, 87, .56); }
.peos-friends-body .friend-list-item.selected { border-color: rgba(72, 151, 244, .38); border-left-color: #efc254; background: linear-gradient(90deg, rgba(37, 81, 133, .72), rgba(14, 36, 65, .72)); }
.peos-friends-body .fl-avatar,
.peos-friends-body .request-avatar { width: 44px; height: 44px; flex-basis: 44px; font-size: 21px; }
.peos-friends-body .friend-list-copy strong,
.peos-friends-body .fl-name { color: #f1f6fc; font-size: clamp(13px, .92vw, 16px); }
.peos-friends-body .friend-list-copy small { margin-top: 3px; color: #7890aa; font-size: 10px; }
.peos-friends-body .friend-icon-btn { width: 38px; height: 38px; flex-basis: 38px; border-radius: 8px; font-size: 16px; }
.peos-friends-body .friends-detail-panel { background: linear-gradient(180deg, rgba(8, 24, 44, .76), rgba(2, 10, 21, .86)); }
.peos-friends-body .friends-dock-layout .friend-profile-header {
  min-height: 96px;
  gap: 17px;
  padding: 14px clamp(16px, 1.5vw, 25px);
  border-bottom-color: rgba(81, 139, 207, .25);
  background: rgba(13, 34, 59, .78);
}
.peos-friends-body .fp-avatar { width: 62px; height: 62px; font-size: 30px; box-shadow: 0 0 0 2px rgba(232, 186, 76, .4); }
.peos-friends-body .fp-info h3 { margin: 0; color: #fff; font-size: clamp(18px, 1.35vw, 24px); }
.peos-friends-body .fp-info p { margin: 4px 0 9px; font-size: 11px; }
.peos-friends-body .fp-actions { flex-wrap: wrap; }
.peos-friends-body .friend-action-btn { min-width: 108px; height: 42px; border-radius: 8px; font-size: 12px; }
.peos-friends-body .voice-call-strip { min-height: 52px; padding: 8px 16px; }
.peos-friends-body .friend-realtime-status { min-height: 31px; margin: 10px 15px 0; padding: 6px 11px; white-space: normal; }
.peos-friends-body .chat-panel { background: transparent; }
.peos-friends-body .chat-title { padding: 10px 16px; border-bottom-color: rgba(74, 127, 190, .2); color: #8fa7c1; font-size: 11px; }
.peos-friends-body .friends-dock-layout .chat-messages { padding: clamp(14px, 1.35vw, 22px); }
.peos-friends-body .chat-msg { max-width: 72%; margin-bottom: 12px; padding: 11px 14px; border-radius: 10px 10px 10px 3px; background: #142a43; color: #edf5ff; font-size: clamp(12px, .85vw, 14px); line-height: 1.5; }
.peos-friends-body .chat-msg.mine { border-radius: 10px 10px 3px 10px; background: linear-gradient(135deg, #2767a1, #194a79); }
.peos-friends-body .chat-composer-tools { padding: 7px 13px; }
.peos-friends-body .chat-composer-tools button { min-width: 86px; min-height: 36px; border-radius: 7px; }
.peos-friends-body .chat-input-row { gap: 10px; padding: 12px 14px; border-top-color: rgba(74, 127, 190, .22); }
.peos-friends-body .chat-input-row input { height: 48px; padding-inline: 16px; border-radius: 10px; background: rgba(3, 12, 25, .9); color: #f0f7ff; font: inherit; font-size: 13px; }
.peos-friends-body .chat-input-row button { min-width: 94px; min-height: 48px; border-radius: 10px; font-weight: 900; }
.peos-friends-body .chat-invite-card { width: 100%; max-width: none; margin: 0; border-radius: 9px; }
.peos-friends-body .friends-dock-empty { color: #7f94ae; font-size: 14px; }
.peos-friends-loading { height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: #f0f5fc; text-align: center; }
.peos-friends-loading > span { width: 44px; height: 44px; margin-bottom: 10px; border: 3px solid rgba(92, 154, 229, .2); border-top-color: #e9bc4d; border-radius: 50%; animation: peos-friends-spin .9s linear infinite; }
.peos-friends-loading > strong { font-size: 18px; }
.peos-friends-loading > small { color: #7188a2; }
.peos-friends-loading > button { margin-top: 14px; }
.peos-friends-loading.error strong { color: #ef9ca3; }
.peos-friends-hint { margin: 13px 4px 0; color: #61758e; font-size: 10px; text-align: right; }
.peos-friends-hint kbd { display: inline-grid; min-width: 20px; height: 20px; place-items: center; border: 1px solid #48617e; border-radius: 50%; background: #10213a; color: #f0c65b; font-family: inherit; font-size: 10px; font-weight: 800; }
@keyframes peos-friends-spin { to { transform: rotate(360deg); } }

body[data-route="os"] #voice-overlay.active {
  z-index: 1300;
  right: clamp(18px, 3vw, 50px);
  bottom: clamp(66px, 8vh, 96px);
  width: min(420px, calc(100vw - 36px));
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(15, 35, 60, .99), rgba(3, 11, 24, .99));
}
body[data-route="os"] #voice-overlay .voice-header { min-height: 48px; padding-inline: 18px; }
body[data-route="os"] #voice-overlay .voice-person { padding: 20px; }
body[data-route="os"] #voice-overlay .voice-controls { padding: 14px; }
body[data-route="os"] #voice-overlay button[data-os-focusable].os-focus,
body[data-route="os"] #voice-overlay button[data-os-focusable]:focus-visible { outline: 3px solid #70bdff; outline-offset: 3px; }

.peos-return-dock { position: fixed; z-index: 9999; left: 22px; bottom: 22px; min-width: 252px; min-height: 64px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 8px 14px 8px 9px; border: 1px solid rgba(231, 184, 73, .58); border-radius: 14px; background: rgba(4, 14, 29, .94); color: #eef5ff; box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 26px rgba(40, 125, 239, .15); backdrop-filter: blur(18px); cursor: pointer; }
.peos-return-dock img { width: 44px; height: 44px; object-fit: contain; }
.peos-return-dock span { display: flex; flex-direction: column; align-items: flex-start; }
.peos-return-dock small { color: #e5b84f; font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.peos-return-dock strong { margin-top: 3px; color: #f4f7fb; font-size: 13px; }
.peos-return-dock > b { color: #e8b94b; font-size: 22px; }

/* The orbit selector is circular artwork; focus uses a circular glow, never a blue rectangle. */
.peos-shell .peos-launcher-item,
.peos-shell .peos-launcher-item:hover,
.peos-shell .peos-launcher-item:focus,
.peos-shell .peos-launcher-item:focus-visible,
.peos-shell .peos-launcher-item.os-focus {
  position: relative !important;
  outline: 0 !important;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.peos-shell .peos-launcher-item:focus,
.peos-shell .peos-launcher-item:focus-visible,
.peos-shell .peos-launcher-item.os-focus { --peos-launcher-focus-scale: 1.1; }

@media (max-width: 1280px) {
  .peos-shell { --peos-safe-x: clamp(24px, 3vw, 40px); }
  .peos-controller-state,
  .peos-user strong { display: none; }
  .peos-topbar { gap: 18px; }
  .peos-top-nav button { min-width: 76px; padding-inline: 12px; }
  .peos-hero-copy { width: 66%; }
  .peos-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .peos-library-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .peos-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .peos-market-overview { grid-template-columns: 1fr; }
  .peos-market-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .peos-market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .peos-detail-copy { width: 72%; }
  .peos-detail-overview { grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); }
  .peos-detail-about,
  .peos-detail-facts { padding: 28px; }
  .peos-store-community { padding: 28px; }
  .peos-community-content { padding: 20px; }
  .peos-game-context-menu { width: clamp(300px, 30vw, 360px); }
  .peos-cart-row { grid-template-columns: 96px minmax(130px, 1fr) auto auto; }
  .peos-cart-row > img,
  .peos-cart-row > span:first-child { width: 96px; }
  .peos-cart-row > b { display: none; }
  .peos-cart-row > strong { display: none; }
  .peos-friends-summary { grid-template-columns: repeat(3, minmax(100px, .55fr)) minmax(210px, 1.2fr); }
  .peos-friends-body .friends-dock-layout { grid-template-columns: minmax(235px, 31%) minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .peos-shell.peos-launcher-home { min-height: 620px; }
  .peos-shell.peos-launcher-home .peos-launcher-header { padding: 22px 26px 0; }
  .peos-launcher-brand > img { width: 50px; height: 50px; }
  .peos-launcher-brand strong { font-size: 20px; }
  .peos-launcher-brand span,
  .peos-launcher-user { display: none; }
  .peos-launcher-profile { gap: 7px; }
  .peos-launcher-avatar { width: 48px; height: 48px; font-size: 20px; }
  .peos-launcher-coins img { width: 24px; height: 24px; }
  .peos-launcher-coins b { font-size: 15px; }
  .peos-launcher-stage { --launcher-icon: 88px; --orbit-radius: clamp(180px, 28vw, 235px); width: 96vw; height: 560px; min-height: 560px; top: 52%; }
  .peos-launcher-center { top: 53%; width: 165px; }
  .peos-launcher-item strong { font-size: 14px; }
  .peos-topbar { grid-template-columns: auto 1fr; }
  .peos-top-nav { display: none; }
  .peos-system { justify-self: end; }
  .peos-system time { display: none; }
  .peos-hero { min-height: 500px; }
  .peos-hero-copy { width: 100%; padding: 26px; }
  .peos-hero-shade { background: linear-gradient(0deg, rgba(2, 8, 18, .98), rgba(2, 8, 18, .35)); }
  .peos-hero-index { display: none; }
  .peos-quick-grid { grid-template-columns: 1fr; }
  .peos-view-heading { align-items: flex-start; flex-direction: column; }
  .peos-library-grid,
  .peos-store-grid { grid-template-columns: 1fr; }
  .peos-market-stats,
  .peos-market-grid { grid-template-columns: 1fr; }
  .peos-store-feature img { width: 120px; margin-right: 0; opacity: .72; }
  .peos-detail-copy { width: 100%; padding: 28px; }
  .peos-detail-shade { background: linear-gradient(0deg, rgba(2, 8, 17, .99), rgba(2, 8, 17, .35)); }
  .peos-detail-review { width: 100%; align-items: flex-start; }
  .peos-detail-overview { grid-template-columns: 1fr; }
  .peos-detail-highlights { grid-template-columns: 1fr; }
  .peos-detail-about,
  .peos-detail-facts,
  .peos-store-community { padding: 20px; border-radius: 15px; }
  .peos-community-tabs { display: flex; overflow-x: auto; padding: 7px; scrollbar-width: none; }
  .peos-community-tabs::-webkit-scrollbar { display: none; }
  .peos-community-tabs button { min-width: 158px; flex: 1 0 158px; }
  .peos-community-content { min-height: 270px; padding: 14px; }
  .peos-community-content .community-toolbar { align-items: flex-start; flex-direction: column; }
  .peos-community-content .mod-item { align-items: flex-start; }
  .peos-community-content .game-figurine-visual { min-height: 260px; }
  .peos-game-context-menu { width: min(360px, calc(100vw - 28px)); max-height: calc(100vh - 38px); border-radius: 14px; }
  .peos-card-menu-hint { opacity: .78; transform: none; }
  .peos-service-title > img { width: 66px; height: 66px; }
  .peos-service-metrics,
  .peos-service-actions,
  .peos-concept-flow,
  .peos-contact-grid,
  .peos-cart-layout { grid-template-columns: 1fr; }
  .peos-cart-row { grid-template-columns: 78px 1fr auto; gap: 12px; }
  .peos-cart-row > img,
  .peos-cart-row > span:first-child { width: 78px; height: 64px; }
  .peos-cart-step { display: none; }
  .peos-cart-remove { grid-column: 3; }
  .peos-concept-flow article > b { display: none; }
  .peos-concept-cta { align-items: flex-start; flex-direction: column; }
  .peos-contact-grid aside { grid-column: 1; grid-row: auto; }
  .peos-friends-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .peos-friends-summary > button { grid-column: 1 / -1; }
  .peos-friends-body { min-height: 610px; height: 68vh; padding: 9px; }
  .peos-friends-body .friends-dock-layout { grid-template-columns: minmax(155px, 34%) minmax(0, 1fr); }
  .peos-friends-body .friend-list-item { min-height: 54px; gap: 7px; padding-inline: 6px; }
  .peos-friends-body .fl-avatar,
  .peos-friends-body .request-avatar { width: 36px; height: 36px; flex-basis: 36px; }
  .peos-friends-body .friend-profile-header { align-items: flex-start; }
  .peos-friends-body .fp-avatar { display: none; }
  .peos-friends-body .friend-action-btn { min-width: 90px; padding-inline: 9px; }
  .peos-friends-body .chat-msg { max-width: 90%; }
  .peos-friends-hint { text-align: left; }
  .peos-return-dock { left: 12px; bottom: 12px; min-width: 220px; }
}

@media (max-height: 760px) and (min-width: 821px) {
  .peos-game-context-menu { max-height: calc(100vh - 34px); }
  .peos-game-context-actions > button { min-height: 45px; }
  .peos-game-context-menu > header { grid-template-columns: 42px minmax(0, 1fr) 34px; padding-bottom: 10px; }
  .peos-game-context-menu > header > span { width: 42px; height: 42px; font-size: 20px; }
  .peos-detail-overview { margin-top: 20px; }
  .peos-store-community { margin-top: 20px; }
  .peos-friends-view .peos-service-heading { margin-bottom: 10px; }
  .peos-friends-view .peos-service-title > img { width: 58px; height: 58px; }
  .peos-friends-summary { margin-bottom: 10px; }
  .peos-friends-summary > article,
  .peos-friends-summary > button { min-height: 58px; padding-block: 8px; }
  .peos-friends-body { height: clamp(410px, 55vh, 460px); min-height: 410px; }
  .peos-friends-body .friends-dock-layout .friend-profile-header {
    min-height: 68px;
    gap: 10px;
    padding: 7px 12px;
  }
  .peos-friends-body .fp-avatar { width: 48px; height: 48px; flex-basis: 48px; font-size: 23px; }
  .peos-friends-body .fp-info {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
  }
  .peos-friends-body .fp-info h3 { grid-column: 1; grid-row: 1; font-size: 18px; }
  .peos-friends-body .fp-info p { grid-column: 1; grid-row: 2; margin: 2px 0 0; }
  .peos-friends-body .fp-actions { grid-column: 2; grid-row: 1 / 3; flex-wrap: nowrap; }
  .peos-friends-body .friend-action-btn { min-width: 92px; height: 36px; }
  .peos-friends-body .friend-realtime-status { min-height: 27px; margin: 5px 10px 0; padding: 4px 9px; font-size: 10px; }
  .peos-friends-body .chat-title { padding: 5px 12px; }
  .peos-friends-body .friends-dock-layout .chat-messages { min-height: 0; padding: 8px 12px; }
  .peos-friends-body .chat-composer-tools { min-height: 32px; padding: 3px 10px 0; }
  .peos-friends-body .chat-composer-tools button { min-height: 28px; }
  .peos-friends-body .chat-input-row { padding: 7px 10px; }
  .peos-friends-body .chat-input-row input { height: 38px; }
  .peos-friends-body .chat-input-row button { min-height: 38px; }
  .peos-friends-hint { display: none; }
}

@media (min-width: 2200px) {
  .peos-shell { --peos-safe-x: 5vw; }
  .peos-game-row { grid-auto-columns: minmax(340px, 18vw); }
}

@media (prefers-reduced-motion: reduce) {
  .peos-shell *,
  .peos-shell *::before,
  .peos-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
