/* Player Easy OS - ten-foot big picture interface */
.peos-entry-button {
  display: none;
  min-width: 132px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid rgba(87, 166, 255, .42);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(29, 75, 133, .78), rgba(10, 25, 45, .94));
  color: #e8f2ff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  -webkit-app-region: no-drag;
}

body.player-easy-desktop .peos-entry-button { display: inline-flex; }
.peos-entry-button:hover { border-color: #6bb3ff; background: linear-gradient(135deg, #255f9f, #102b4b); }
.peos-entry-button span { color: #f4c85a; font-size: 16px; }

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-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; place-items: center; 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-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(98px, 14vmin, 180px);
  --orbit-radius: clamp(210px, 34vh, 460px);
  --orbit-diagonal: clamp(148px, 24.05vh, 325px);
  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 {
  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%);
  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-store { left: calc(50% - var(--orbit-radius)); }
.peos-launcher-creator { left: calc(50% - var(--orbit-diagonal)); top: calc(53% - var(--orbit-diagonal)); }
.peos-launcher-market { top: calc(53% - var(--orbit-radius)); }
.peos-launcher-cart { left: calc(50% + var(--orbit-diagonal)); top: calc(53% - var(--orbit-diagonal)); }
.peos-launcher-concept { left: calc(50% + var(--orbit-radius)); }
.peos-launcher-library { left: calc(50% + var(--orbit-diagonal)); top: calc(53% + var(--orbit-diagonal)); }
.peos-launcher-wallet { top: calc(53% + var(--orbit-radius)); }
.peos-launcher-contact { left: calc(50% - var(--orbit-diagonal)); top: calc(53% + var(--orbit-diagonal)); }
.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-shell .peos-launcher-profile.os-focus,
.peos-shell .peos-launcher-profile:focus-visible { box-shadow: none !important; transform: scale(1.04); }

@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-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-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-heading p { margin: 0; color: #8799b0; font-size: clamp(13px, 1vw, 18px); }
.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-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-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-footer > strong { color: #52657e; font-size: 9px; letter-spacing: .2em; }

.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 { display: flex; flex-direction: column; gap: 10px; }
.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-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-panel-action { margin-top: 12px; grid-template-columns: 1fr auto !important; grid-template-rows: auto !important; }
.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-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 { display: grid; gap: clamp(20px, 3vh, 34px); margin-bottom: clamp(24px, 3.5vh, 42px); }
.peos-service-back {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(92, 157, 235, .3);
  border-radius: 10px;
  background: rgba(4, 16, 33, .74);
  color: #bcd5f5;
  font-weight: 800;
  cursor: pointer;
}
.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-title p { max-width: 780px; margin: 0; color: #8da2bb; font-size: clamp(13px, 1vw, 17px); }

.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; }

.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-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; }
}

@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-footer > strong { display: 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-return-dock { left: 12px; bottom: 12px; min-width: 220px; }
}

@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; }
}
