/* ==========================================================================
   Yambuzz Gaming Social & Backlog Platform — Complete Style
   Aesthetic: Cyberpunk Dark / Arcade Slate with Neon Purple & Lime accents
   ========================================================================== */

:root {
  --ygs-bg: #0d111d;
  --ygs-card: #141a2b;
  --ygs-card-alt: #1a2238;
  --ygs-border: rgba(102, 89, 239, 0.22);
  --ygs-border-hover: rgba(200, 255, 46, 0.45);
  --ygs-primary: #6659ef;
  --ygs-primary-hover: #7b70ff;
  --ygs-accent: #c8ff2e;
  --ygs-accent-dark: #07100a;
  --ygs-text: #f0f4fc;
  --ygs-muted: #96a5c2;
  --ygs-radius: 16px;
  --ygs-radius-sm: 10px;
}

/* Container */
.ygs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 5rem;
  color: var(--ygs-text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Subnavigation Bar (Sleek Floating Cyber Glass Dock)
   -------------------------------------------------------------------------- */
.ygs-subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 20px;
  background: rgba(18, 22, 38, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ygs-subnav-scroll {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.15rem 0;
}
.ygs-subnav-scroll::-webkit-scrollbar { display: none; }
.ygs-subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.ygs-subnav-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1.5px);
}
.ygs-subnav-pill.is-active {
  background: linear-gradient(135deg, var(--yg-accent, #6659ef), var(--yg-accent-bright, #8b5cf6));
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 18px var(--yg-accent-glow, rgba(102, 89, 239, 0.45)), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.ygs-pill-icon { font-size: 1.05rem; line-height: 1; }

/* --------------------------------------------------------------------------
   Feed Layout (2-Column)
   -------------------------------------------------------------------------- */
.ygs-feed-layout {
  display: grid;
  grid-template-columns: 1fr minmax(290px, 340px);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 920px) {
  .ygs-feed-layout {
    grid-template-columns: 1fr;
  }
}
.ygs-feed-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.ygs-feed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 1rem;
}

/* Feed category tabs (Segmented Cyber Pill Track) */
.ygs-feed-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem;
  background: rgba(18, 24, 43, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.ygs-feed-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ygs-feed-tabs a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
.ygs-feed-tabs a.is-active {
  background: linear-gradient(135deg, var(--yg-accent, #6659ef), var(--yg-accent-bright, #8b5cf6));
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 16px var(--yg-accent-glow, rgba(102, 89, 239, 0.45)), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   Feed Composer Card
   -------------------------------------------------------------------------- */
.ygs-composer-card {
  padding: 1.25rem;
  border-radius: var(--ygs-radius);
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.ygs-composer-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}
.ygs-composer-header strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}
.ygs-composer-header small {
  color: var(--ygs-muted);
  font-size: .84rem;
}
.ygs-type-scroll {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  margin-bottom: .6rem;
}
.ygs-type-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}
.ygs-type-pill input { display: none; }
.ygs-type-pill span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .7rem;
  border-radius: 8px;
  background: var(--ygs-card-alt);
  border: 1px solid var(--ygs-border);
  color: var(--ygs-muted);
  font-size: .82rem;
  font-weight: 600;
  transition: all .15s ease;
}
.ygs-type-pill input:checked + span {
  background: var(--ygs-primary);
  border-color: var(--ygs-primary);
  color: #fff;
}
.ygs-composer-textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: var(--ygs-bg);
  border: 1px solid var(--ygs-border);
  color: var(--ygs-text);
  font-family: inherit;
  font-size: .95rem;
  resize: vertical;
  min-height: 85px;
  box-sizing: border-box;
}
.ygs-composer-textarea:focus {
  outline: none;
  border-color: var(--ygs-primary);
  box-shadow: 0 0 0 3px rgba(102, 89, 239, 0.25);
}
.ygs-composer-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}
.ygs-composer-attach {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
}
.ygs-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--ygs-card-alt);
  border: 1px solid var(--ygs-border);
  border-radius: 8px;
  padding: 0 .5rem;
}
.ygs-select-wrap select {
  background: transparent;
  border: 0;
  color: var(--ygs-text);
  font-family: inherit;
  font-size: .85rem;
  padding: .45rem 0;
  outline: none;
  cursor: pointer;
}
.ygs-spoiler-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--ygs-muted);
  cursor: pointer;
  user-select: none;
}
.ygs-spoiler-toggle input { cursor: pointer; }
.ygs-composer-gate {
  padding: 1.25rem;
  text-align: center;
  background: var(--ygs-card-alt);
  border-radius: 12px;
  color: var(--ygs-muted);
}
.ygs-composer-gate-actions {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: .75rem;
}

/* --------------------------------------------------------------------------
   Post Card
   -------------------------------------------------------------------------- */
.ygs-post-card {
  padding: 1.25rem;
  border-radius: var(--ygs-radius);
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: border-color .2s ease;
}
.ygs-post-card:hover {
  border-color: rgba(102, 89, 239, 0.4);
}
.ygs-post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  flex-wrap: wrap;
}
.ygs-post-author {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
}
.ygs-author-meta strong {
  display: block;
  font-size: .98rem;
  color: #fff;
}
.ygs-author-meta small {
  color: var(--ygs-muted);
  font-size: .82rem;
}
.ygs-post-badges {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.ygs-type-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .55rem;
  border-radius: 6px;
  background: rgba(102, 89, 239, 0.16);
  border: 1px solid rgba(102, 89, 239, 0.35);
  font-size: .78rem;
  font-weight: 700;
  color: #ad9aff;
}
.ygs-game-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .6rem;
  border-radius: 6px;
  background: rgba(200, 255, 46, 0.12);
  border: 1px solid rgba(200, 255, 46, 0.3);
  font-size: .8rem;
  font-weight: 700;
  color: var(--ygs-accent);
  text-decoration: none;
  transition: transform .15s ease;
}
.ygs-game-tag:hover { transform: translateY(-1px); }
.ygs-guild-tag {
  color: #c8ff2e;
  font-weight: 700;
  text-decoration: none;
}
.ygs-post-content {
  font-size: .96rem;
  line-height: 1.65;
  color: #e2e8f4;
  word-break: break-word;
}
.ygs-mention {
  color: var(--ygs-accent);
  font-weight: 700;
  text-decoration: none;
}
.ygs-mention:hover { text-decoration: underline; }

/* Spoiler Blur Overlay */
.ygs-spoiler {
  position: relative;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
}
.ygs-spoiler-blur {
  filter: blur(9px);
  opacity: .35;
  transition: all .2s ease;
  display: block;
}
.ygs-spoiler-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(13, 17, 29, 0.85);
  color: #ffc107;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 10px;
  border: 1px dashed rgba(255, 193, 7, 0.4);
}
.ygs-spoiler.is-revealed .ygs-spoiler-blur {
  filter: none;
  opacity: 1;
}
.ygs-spoiler.is-revealed .ygs-spoiler-badge {
  display: none;
}

/* Quote Share Card */
.ygs-shared-quote {
  margin-top: .75rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: var(--ygs-bg);
  border-left: 3px solid var(--ygs-primary);
  font-size: .92rem;
}
.ygs-shared-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
}
.ygs-shared-header a {
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Reactions & Summary Bar
   -------------------------------------------------------------------------- */
.ygs-post-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: .85rem;
  color: var(--ygs-muted);
}
.ygs-react-summary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
}
.ygs-react-badges {
  display: inline-flex;
  align-items: center;
}
.ygs-react-pip {
  font-size: 1rem;
  margin-right: -4px;
}
.ygs-react-count b { color: #fff; }
.ygs-comments-summary a {
  color: var(--ygs-muted);
  text-decoration: none;
}
.ygs-comments-summary a:hover { color: #fff; }

/* Action Buttons Bar (Sleek Cyber Glass Micro-Pills) */
.ygs-post-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ygs-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ygs-action-btn:hover {
  background: rgba(102, 89, 239, 0.16);
  border-color: rgba(102, 89, 239, 0.4);
  color: #fff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(102, 89, 239, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ygs-main-react-btn.is-reacted {
  background: rgba(200, 255, 46, 0.14) !important;
  border-color: #c8ff2e !important;
  color: #c8ff2e !important;
  box-shadow: 0 0 14px rgba(200, 255, 46, 0.3) !important;
}
.ygs-save-btn.is-saved {
  background: rgba(255, 183, 3, 0.16) !important;
  border-color: #ffb703 !important;
  color: #ffb703 !important;
  box-shadow: 0 0 14px rgba(255, 183, 3, 0.3) !important;
}

/* Hover / Focus Reaction Palette Flyout */
.ygs-react-dropdown {
  flex: 1;
  position: relative;
}
.ygs-react-dropdown .ygs-main-react-btn {
  width: 100%;
}
.ygs-reaction-palette {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  display: none;
  align-items: center;
  gap: .35rem;
  padding: .45rem .65rem;
  border-radius: 30px;
  background: #192136;
  border: 1px solid var(--ygs-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 50;
  animation: ygsFadeUp .15s ease;
}
@keyframes ygsFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.ygs-react-dropdown:hover .ygs-reaction-palette,
.ygs-react-dropdown:focus-within .ygs-reaction-palette {
  display: inline-flex;
}
.ygs-palette-btn {
  background: transparent;
  border: 0;
  padding: .35rem;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: transform .15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}
.ygs-palette-btn:hover {
  transform: scale(1.4) translateY(-3px);
}
.ygs-palette-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: .2rem .5rem;
  border-radius: 6px;
  font-size: .72rem;
  white-space: nowrap;
  pointer-events: none;
}
.ygs-palette-btn:hover .ygs-palette-tooltip { display: block; }

/* --------------------------------------------------------------------------
   Comments Section
   -------------------------------------------------------------------------- */
.ygs-comments-section {
  display: none;
  flex-direction: column;
  gap: .75rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ygs-comments-section.is-open { display: flex; }
.ygs-comment-composer {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ygs-comment-input {
  flex: 1;
  padding: .55rem .85rem;
  border-radius: 20px;
  background: var(--ygs-bg);
  border: 1px solid var(--ygs-border);
  color: #fff;
  font-family: inherit;
  font-size: .88rem;
  box-sizing: border-box;
}
.ygs-comment-input:focus {
  outline: none;
  border-color: var(--ygs-primary);
}
.ygs-comments-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.ygs-comment-bubble {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}
.ygs-bubble-content {
  background: var(--ygs-card-alt);
  border-radius: 14px;
  padding: .55rem .85rem;
  max-width: calc(100% - 40px);
}
.ygs-bubble-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .25rem;
}
.ygs-bubble-header strong {
  font-size: .85rem;
  color: #fff;
}
.ygs-bubble-header time {
  font-size: .75rem;
  color: var(--ygs-muted);
}
.ygs-bubble-text {
  font-size: .88rem;
  line-height: 1.45;
  color: #d6e0f2;
}

/* --------------------------------------------------------------------------
   Sidebar Components
   -------------------------------------------------------------------------- */
.ygs-sidecard {
  padding: 1.25rem;
  border-radius: var(--ygs-radius);
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.ygs-sidecard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .85rem;
}
.ygs-sidecard-head h4 {
  margin: 0;
  font-size: .98rem;
  color: #fff;
}
.ygs-btn-link-action {
  background: transparent;
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ygs-btn-link-action:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

.ygs-presence-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ygs-presence-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}
.ygs-presence-form input,
.ygs-presence-form select {
  background: rgba(16, 19, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  color: #fff;
  font-size: 0.9rem;
}
.ygs-presence-form input:focus,
.ygs-presence-form select:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.ygs-sidecard-head a {
  color: var(--ygs-accent);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.ygs-profile-card .ygs-sidecard-hero {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}
.ygs-profile-card h3 {
  margin: 0 0 .2rem;
  font-size: 1.1rem;
  color: #fff;
}
.ygs-kicker {
  margin: 0;
  font-size: .8rem;
  color: var(--ygs-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ygs-sidecard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .35rem;
  text-align: center;
  padding: .75rem .4rem;
  border-radius: 10px;
  background: var(--ygs-bg);
  margin-bottom: .85rem;
}
.ygs-sidecard-stats strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}
.ygs-sidecard-stats small {
  font-size: .7rem;
  color: var(--ygs-muted);
  text-transform: uppercase;
}
.ygs-sidecard-actions {
  display: flex;
  gap: .5rem;
}
.ygs-sidelist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ygs-sidelist li a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .6rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.ygs-sidelist li a:hover {
  background: rgba(255, 255, 255, 0.05);
}
.ygs-sidecard-hue {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.ygs-sidelist strong {
  display: block;
  font-size: .88rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 175px;
}
.ygs-sidelist small {
  font-size: .78rem;
  color: var(--ygs-muted);
}
.ygs-meta-pill {
  margin-left: auto;
  padding: .2rem .45rem;
  border-radius: 6px;
  background: rgba(200, 255, 46, 0.15);
  color: var(--ygs-accent);
  font-size: .76rem;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Game Catalog Grid & Filters
   -------------------------------------------------------------------------- */
.ygs-catalog-head {
  margin-bottom: 1.25rem;
}
.ygs-catalog-head h2 {
  margin: 0 0 .35rem;
  font-size: 1.6rem;
  color: #fff;
}
.ygs-catalog-head p {
  margin: 0;
  color: var(--ygs-muted);
  font-size: .95rem;
}
.ygs-catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.5rem;
  padding: .75rem;
  border-radius: 14px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
}
.ygs-filter-search {
  flex: 1;
  min-width: 220px;
  padding: .55rem .85rem;
  border-radius: 8px;
  background: var(--ygs-bg);
  border: 1px solid var(--ygs-border);
  color: #fff;
  font-family: inherit;
  font-size: .88rem;
}
.ygs-catalog-filters select {
  padding: .55rem .85rem;
  border-radius: 8px;
  background: var(--ygs-bg);
  border: 1px solid var(--ygs-border);
  color: #fff;
  font-family: inherit;
  font-size: .88rem;
  cursor: pointer;
}
.ygs-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.ygs-game-grid.mini {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.ygs-game-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--ygs-radius);
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.ygs-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--ygs-border-hover);
}
.ygs-game-cover {
  height: 155px;
  display: grid;
  place-items: center;
  position: relative;
  text-decoration: none;
  font-size: 2.5rem;
}
.ygs-cover-symbol {
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
}
.ygs-cover-metascore {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: .2rem .45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--ygs-accent);
  color: var(--ygs-accent);
  font-size: .78rem;
  font-weight: 800;
}
.ygs-cover-year {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: .15rem .45rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}
.ygs-game-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.ygs-game-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}
.ygs-game-title a {
  color: #fff;
  text-decoration: none;
}
.ygs-game-title a:hover {
  color: var(--ygs-accent);
}
.ygs-game-dev {
  margin: 0;
  color: var(--ygs-muted);
  font-size: .8rem;
}
.ygs-game-meta-row {
  margin-top: auto;
  padding-top: .6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--ygs-muted);
}

/* --------------------------------------------------------------------------
   Game Sheet (Detailed View)
   -------------------------------------------------------------------------- */
.ygs-gamesheet {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ygs-sheet-hero {
  padding: 2rem;
  border-radius: var(--ygs-radius);
  border: 1px solid var(--ygs-border);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 700px) {
  .ygs-sheet-hero {
    grid-template-columns: 1fr;
  }
}
.ygs-sheet-poster {
  height: 220px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
  font-size: 3.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.ygs-poster-metascore {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: .3rem .6rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.85);
  border: 1.5px solid var(--ygs-accent);
  color: var(--ygs-accent);
  font-weight: 850;
  font-size: .95rem;
}
.ygs-sheet-toprow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.ygs-sheet-toprow h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: #fff;
}
.ygs-sheet-subtitle {
  margin: .35rem 0 .75rem;
  color: var(--ygs-muted);
  font-size: .92rem;
}
.ygs-sheet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}
.ygs-genre-tag {
  padding: .25rem .65rem;
  border-radius: 6px;
  background: rgba(102, 89, 239, 0.2);
  border: 1px solid var(--ygs-primary);
  color: #c4b9ff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.ygs-platform-pill, .ygs-duration-pill {
  padding: .25rem .65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ygs-muted);
  font-size: .8rem;
  font-weight: 600;
}
.ygs-sheet-synopsis {
  color: #d8e2f2;
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}

/* Tracking Widget */
.ygs-tracker-widget {
  padding: 1.5rem;
  border-radius: var(--ygs-radius);
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
}
.ygs-tracker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.ygs-tracker-title {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.ygs-tracker-title strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
}
.ygs-tracker-title small {
  color: var(--ygs-muted);
  font-size: .85rem;
}
.ygs-tracker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.ygs-tracker-grid label, .ygs-manage-grid label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .85rem;
  color: var(--ygs-muted);
}
.ygs-tracker-grid select,
.ygs-tracker-grid input,
.ygs-manage-grid input,
.ygs-manage-grid select,
.ygs-manage-grid textarea {
  padding: .65rem .85rem;
  border-radius: 8px;
  background: var(--ygs-bg);
  border: 1px solid var(--ygs-border);
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
}
.ygs-tracker-foot {
  display: flex;
  gap: .75rem;
}
.ygs-tracker-notes {
  flex: 1;
  padding: .65rem .85rem;
  border-radius: 8px;
  background: var(--ygs-bg);
  border: 1px solid var(--ygs-border);
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
}

/* --------------------------------------------------------------------------
   Characters & Heroes Cards
   -------------------------------------------------------------------------- */
.ygs-character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.ygs-char-card {
  padding: 1rem;
  border-radius: 12px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  display: flex;
  gap: .85rem;
  position: relative;
}
.ygs-char-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.ygs-char-meta strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}
.ygs-char-role {
  display: inline-block;
  padding: .15rem .45rem;
  border-radius: 4px;
  background: rgba(102, 89, 239, 0.2);
  color: #c4b9ff;
  font-size: .74rem;
  font-weight: 700;
  margin: .2rem 0 .4rem;
}
.ygs-char-meta p {
  margin: 0;
  color: var(--ygs-muted);
  font-size: .84rem;
  line-height: 1.4;
}
.ygs-char-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .15s ease;
}
.ygs-char-fav-btn:hover { transform: scale(1.25); }

/* --------------------------------------------------------------------------
   Reviews & Discussions
   -------------------------------------------------------------------------- */
.ygs-sheet-section {
  padding: 1.5rem;
  border-radius: var(--ygs-radius);
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
}
.ygs-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.ygs-section-header h2 {
  margin: 0;
  font-size: 1.35rem;
  color: #fff;
}
.ygs-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ygs-review-card {
  padding: 1rem;
  border-radius: 12px;
  background: var(--ygs-bg);
  border: 1px solid var(--ygs-border);
}
.ygs-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}
.ygs-score-pill {
  padding: .2rem .5rem;
  border-radius: 6px;
  background: var(--ygs-accent);
  color: var(--ygs-accent-dark);
  font-weight: 800;
  font-size: .82rem;
  margin: 0 .4rem;
}
.ygs-review-card h4 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #fff;
}
.ygs-review-body {
  font-size: .92rem;
  line-height: 1.6;
  color: #d6e0f2;
  margin-bottom: .6rem;
}
.ygs-btn-vote {
  background: var(--ygs-card-alt);
  border: 1px solid var(--ygs-border);
  color: var(--ygs-muted);
  border-radius: 6px;
  padding: .3rem .6rem;
  font-size: .82rem;
  cursor: pointer;
  transition: all .15s ease;
}
.ygs-btn-vote:hover {
  color: #fff;
  border-color: var(--ygs-accent);
}
.ygs-write-review-card {
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--ygs-card-alt);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.ygs-write-review-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}
.ygs-review-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .85rem;
}
.ygs-review-title-input, .ygs-review-textarea {
  width: 100%;
  padding: .65rem .85rem;
  border-radius: 8px;
  background: var(--ygs-bg);
  border: 1px solid var(--ygs-border);
  color: #fff;
  font-family: inherit;
  box-sizing: border-box;
}
.ygs-review-form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Backlog & Library Table
   -------------------------------------------------------------------------- */
.ygs-library-hero {
  padding: 2rem;
  border-radius: var(--ygs-radius);
  background: linear-gradient(135deg, #161c30 0%, #101424 100%);
  border: 1px solid var(--ygs-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.ygs-library-hero h2 { margin: 0 0 .35rem; font-size: 1.8rem; color: #fff; }
.ygs-library-hero p { margin: 0; color: var(--ygs-muted); font-size: .95rem; }
.ygs-library-kpis {
  display: flex;
  gap: 1rem;
}
.ygs-kpi {
  padding: .85rem 1.25rem;
  border-radius: 12px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  text-align: center;
}
.ygs-kpi strong { display: block; font-size: 1.4rem; color: var(--ygs-accent); }
.ygs-kpi span { font-size: .75rem; color: var(--ygs-muted); text-transform: uppercase; }

.ygs-lib-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  padding-bottom: .3rem;
}
.ygs-lib-tabs a {
  padding: .5rem .95rem;
  border-radius: 10px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  color: var(--ygs-muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
.ygs-lib-tabs a.is-active {
  background: var(--ygs-primary);
  color: #fff;
  border-color: var(--ygs-primary);
}

.ygs-lib-table-wrap {
  border-radius: var(--ygs-radius);
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  overflow-x: auto;
}
.ygs-lib-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  text-align: left;
}
.ygs-lib-table th {
  padding: .9rem 1rem;
  background: var(--ygs-card-alt);
  color: var(--ygs-muted);
  font-size: .8rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ygs-border);
}
.ygs-lib-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ygs-td-game a {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
}
.ygs-td-game strong { color: #fff; }
.ygs-td-game small { display: block; color: var(--ygs-muted); font-size: .78rem; }
.ygs-mini-hue {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}
.ygs-score-badge {
  padding: .2rem .5rem;
  border-radius: 6px;
  background: rgba(200, 255, 46, 0.15);
  color: var(--ygs-accent);
  font-weight: 800;
  font-size: .84rem;
}
.ygs-status-badge {
  padding: .25rem .6rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  background: var(--ygs-card-alt);
}
.ygs-status-playing { color: #5eead4; background: rgba(94, 234, 212, 0.12); }
.ygs-status-completed { color: var(--ygs-accent); background: rgba(200, 255, 46, 0.12); }
.ygs-status-mastered { color: #f472b6; background: rgba(244, 114, 182, 0.12); }

/* --------------------------------------------------------------------------
   Top Rankings View
   -------------------------------------------------------------------------- */
.ygs-top-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ygs-top-head h2 { margin: 0 0 .3rem; font-size: 1.6rem; color: #fff; }
.ygs-top-head p { margin: 0; color: var(--ygs-muted); font-size: .92rem; }
.ygs-top-filters { display: flex; gap: .5rem; }
.ygs-rank-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.ygs-rank-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  transition: transform .15s ease, border-color .15s ease;
}
.ygs-rank-card:hover {
  transform: translateX(4px);
  border-color: var(--ygs-border-hover);
}
.ygs-rank-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ygs-muted);
  min-width: 42px;
  text-align: center;
}
.ygs-rank-poster {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  text-decoration: none;
}
.ygs-rank-info { flex: 1; }
.ygs-rank-info h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.ygs-rank-info h3 a { color: #fff; text-decoration: none; }
.ygs-rank-info p { margin: 0 0 .4rem; color: var(--ygs-muted); font-size: .84rem; }
.ygs-rank-badges {
  display: flex;
  gap: .65rem;
  font-size: .78rem;
  color: var(--ygs-muted);
}
.ygs-metascore-pill {
  padding: .15rem .45rem;
  border-radius: 4px;
  background: rgba(200, 255, 46, 0.15);
  color: var(--ygs-accent);
  font-weight: 800;
}
.ygs-rank-scorebox {
  text-align: right;
  flex-shrink: 0;
}
.ygs-rank-score {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ygs-accent);
}
.ygs-rank-scorebox small {
  font-size: .72rem;
  color: var(--ygs-muted);
}

/* --------------------------------------------------------------------------
   Taste Compatibility (Pearson Match)
   -------------------------------------------------------------------------- */
.ygs-gauge-card {
  padding: 2rem;
  border-radius: var(--ygs-radius);
  background: linear-gradient(135deg, #151b2e 0%, #0d1222 100%);
  border: 1px solid var(--ygs-border);
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ygs-gauge-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 30px rgba(200, 255, 46, 0.2);
}
.ygs-gauge-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #0d1222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ygs-gauge-inner strong {
  font-size: 1.5rem;
  color: var(--ygs-accent);
}
.ygs-gauge-inner small {
  font-size: .65rem;
  color: var(--ygs-muted);
  text-transform: uppercase;
}
.ygs-gauge-meta h3 { margin: 0 0 .4rem; font-size: 1.4rem; color: #fff; }
.ygs-gauge-meta p { margin: 0 0 .75rem; color: #d5e0f5; font-size: .95rem; }
.ygs-gauge-stats {
  display: flex;
  gap: 1.5rem;
}
.ygs-gauge-stats strong { display: block; font-size: 1.25rem; color: #fff; }
.ygs-gauge-stats small { font-size: .75rem; color: var(--ygs-muted); text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Guilds View
   -------------------------------------------------------------------------- */
.ygs-guilds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.ygs-guild-card {
  border-radius: var(--ygs-radius);
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ygs-guild-card-head {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.ygs-guild-emblem {
  padding: .5rem .75rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--ygs-accent);
  font-weight: 900;
  font-size: 1rem;
}
.ygs-guild-card-head h3 { margin: 0; font-size: 1.1rem; }
.ygs-guild-card-head h3 a { color: #fff; text-decoration: none; }
.ygs-guild-card-head small { color: var(--ygs-muted); font-size: .8rem; }
.ygs-guild-desc {
  padding: 1rem 1.25rem;
  margin: 0;
  color: #cfdcf0;
  font-size: .88rem;
  line-height: 1.5;
  flex: 1;
}
.ygs-guild-foot {
  padding: .75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   General UI Buttons & Badges
   -------------------------------------------------------------------------- */
.ygs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-weight: 750;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.ygs-btn:active {
  transform: translateY(1px) scale(0.98);
}
.ygs-btn-primary {
  background: linear-gradient(135deg, var(--yg-accent, #6659ef), var(--yg-accent-bright, #8b5cf6));
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff !important;
  box-shadow: 0 4px 18px var(--yg-accent-glow, rgba(102, 89, 239, 0.4)), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.ygs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--yg-accent-glow, rgba(102, 89, 239, 0.6)), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.08);
}
.ygs-btn-accent {
  background: linear-gradient(135deg, #c8ff2e, #a3e635);
  border-color: rgba(255, 255, 255, 0.4);
  color: #07100a !important;
  font-weight: 850;
  box-shadow: 0 4px 18px rgba(200, 255, 46, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.ygs-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(200, 255, 46, 0.65);
  filter: brightness(1.06);
}
.ygs-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e2e8f0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ygs-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.ygs-btn.mini {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 9px;
}
.ygs-btn-fav.is-fav {
  background: rgba(255, 75, 110, 0.2);
  border: 1px solid #ff4b6e;
  color: #ff4b6e;
}

.ygs-avatar-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6659ef, #c8ff2e);
  color: #0c1122;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ygs-avatar-badge.mini {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: .8rem;
}
.ygs-avatar-badge.large {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 1.5rem;
}

/* Modal */
.ygs-modal,
.ygs-native-modal {
  border: 0;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  max-width: 520px;
  width: calc(100% - 32px);
}
.ygs-modal::backdrop,
.ygs-native-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.ygs-modal-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ygs-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ygs-modal-head h3 { margin: 0; }
.ygs-modal-head button {
  background: transparent;
  border: 0;
  color: var(--ygs-muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.ygs-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  margin-top: .5rem;
}

/* =========================================================
   PLATFORM BADGES & RIG SPECIFICATIONS
   ========================================================= */
.ygs-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .65rem;
  border-radius: 999px;
  background: rgba(102, 89, 239, 0.16);
  border: 1px solid rgba(102, 89, 239, 0.35);
  color: #c4b5fd;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* =========================================================
   GAMER DEDICATED PROFILE VIEW (social.php?page=profile)
   ========================================================= */
.ygs-profile-view {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ygs-profile-header {
  border-radius: 20px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.ygs-profile-cover {
  height: 160px;
  background: linear-gradient(135deg, rgba(102,89,239,0.3) 0%, rgba(200,255,46,0.15) 100%), #15182e;
  position: relative;
}
.ygs-profile-avatar-wrap {
  position: absolute;
  left: 2rem;
  bottom: -40px;
  display: inline-block;
}
.ygs-avatar-badge.profile-hero-avatar {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  border: 3.5px solid #101322;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  background: linear-gradient(135deg, #6659ef, #8b5cf6);
}
.ygs-profile-level-badge {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: linear-gradient(135deg, #c8ff2e, #10b981);
  color: #0b0e14;
  font-size: .75rem;
  font-weight: 900;
  padding: .2rem .5rem;
  border-radius: 8px;
  border: 2px solid #101322;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.ygs-profile-info-bar {
  padding: 1.25rem 2rem;
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
}
.ygs-profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.ygs-profile-name-row h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}
.ygs-profile-bio {
  color: var(--ygs-muted);
  font-size: .95rem;
  margin: .5rem 0 0;
}
.ygs-profile-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

/* Stats Ribbon */
.ygs-profile-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .75rem;
  padding: 1.25rem 2rem;
  background: rgba(16, 19, 34, 0.6);
  border-top: 1px solid var(--ygs-border);
  border-bottom: 1px solid var(--ygs-border);
}
.ygs-ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all .2s ease;
}
.ygs-ribbon-item:hover {
  background: rgba(102, 89, 239, 0.08);
  border-color: rgba(102, 89, 239, 0.3);
  transform: translateY(-2px);
}
.ygs-ribbon-num {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
}
.ygs-ribbon-label {
  font-size: .75rem;
  color: var(--ygs-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .2rem;
}

/* Profile Tabs */
.ygs-profile-tabs {
  display: flex;
  gap: .5rem;
  padding: .85rem 2rem;
  overflow-x: auto;
  white-space: nowrap;
}
.ygs-profile-tabs a {
  padding: .5rem 1rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ygs-muted);
  text-decoration: none;
  transition: all .15s ease;
}
.ygs-profile-tabs a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.ygs-profile-tabs a.is-active {
  color: #fff;
  background: var(--ygs-primary);
  box-shadow: 0 4px 14px rgba(102, 89, 239, 0.35);
}

/* Profile Backlog Grid */
.ygs-profile-backlog-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ygs-backlog-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.ygs-backlog-summary-bar h3 { margin: 0; font-size: 1.35rem; }
.ygs-backlog-summary-bar p { margin: .25rem 0 0; color: var(--ygs-muted); font-size: .9rem; }

.ygs-profile-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.ygs-profile-game-card {
  border-radius: 14px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
}
.ygs-profile-game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 89, 239, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.ygs-profile-game-card.is-mastered {
  border-color: rgba(200, 255, 46, 0.4);
  box-shadow: 0 0 15px rgba(200, 255, 46, 0.1);
}
.ygs-game-card-top {
  height: 50px;
  background: linear-gradient(135deg, hsl(var(--hue, 260), 65%, 25%), hsl(var(--hue, 260), 65%, 15%));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 .75rem;
}
.ygs-mastered-badge {
  font-size: .75rem;
  font-weight: 800;
  color: var(--ygs-lime);
  background: rgba(0,0,0,0.5);
  padding: .2rem .45rem;
  border-radius: 6px;
  border: 1px solid var(--ygs-lime);
}
.ygs-game-card-body {
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: .5rem;
}
.ygs-game-card-body h4 { margin: 0; font-size: 1rem; }
.ygs-game-card-body h4 a { color: #fff; text-decoration: none; }
.ygs-game-card-body h4 a:hover { color: var(--ygs-lime); }
.ygs-game-card-meta {
  color: var(--ygs-muted);
  font-size: .85rem;
  margin: 0;
}
.ygs-game-card-actions {
  display: flex;
  gap: .5rem;
  margin-top: auto;
  padding-top: .5rem;
}

/* Hall of Fame & Favorites */
.ygs-fav-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.ygs-fav-game-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border-radius: 14px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  position: relative;
}
.ygs-fav-rank-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  background: var(--ygs-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
  padding: .15rem .45rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.ygs-fav-cover {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: hsl(var(--hue, 260), 60%, 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ygs-fav-info h4 { margin: 0; font-size: .95rem; }
.ygs-fav-info h4 a { color: #fff; text-decoration: none; }
.ygs-fav-info h4 a:hover { color: var(--ygs-lime); }
.ygs-fav-info small { color: var(--ygs-muted); }
.ygs-fav-stats {
  display: flex;
  gap: .65rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ygs-lime);
  margin-top: .25rem;
}

.ygs-fav-heroes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .85rem;
}
.ygs-hero-badge-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border-radius: 12px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
}
.ygs-hero-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
}
.ygs-hero-meta {
  display: flex;
  flex-direction: column;
}
.ygs-hero-meta strong { font-size: .9rem; color: #fff; }
.ygs-hero-meta small { color: var(--ygs-muted); font-size: .75rem; }
.ygs-hero-role { font-size: .7rem; color: var(--ygs-lime); font-weight: 700; }

/* Battlestation Rig View */
.ygs-profile-rig-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ygs-rig-header h3 { margin: 0; font-size: 1.35rem; }
.ygs-rig-header p { margin: .25rem 0 0; color: var(--ygs-muted); font-size: .9rem; }
.ygs-rig-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.ygs-rig-stat-card {
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all .2s ease;
}
.ygs-rig-stat-card:hover {
  border-color: rgba(102, 89, 239, 0.4);
  transform: translateY(-2px);
}
.ygs-rig-icon {
  font-size: 2rem;
  line-height: 1;
}
.ygs-rig-stat-card small {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ygs-muted);
}
.ygs-rig-stat-card strong {
  font-size: 1.05rem;
  color: #fff;
  display: block;
  margin-top: .15rem;
}

.ygs-networks-card {
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
}
.ygs-networks-card h4 { margin: 0 0 1rem; font-size: 1.05rem; }
.ygs-networks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.ygs-network-item {
  padding: .75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ygs-network-item .ygs-net-icon { display: block; font-size: .8rem; color: var(--ygs-muted); }
.ygs-network-item strong { display: block; margin-top: .2rem; color: #fff; font-size: .95rem; }

.ygs-rig-edit-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--ygs-card);
  border: 1px solid var(--ygs-border);
}
.ygs-rig-edit-card h4 { margin: 0 0 1.25rem; font-size: 1.15rem; }
.ygs-rig-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ygs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 680px) {
  .ygs-form-row { grid-template-columns: 1fr; }
}
.ygs-rig-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ygs-rig-form label span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ygs-muted);
}
.ygs-rig-form input,
.ygs-rig-form select {
  padding: .65rem .85rem;
  border-radius: 10px;
  background: #14172a;
  border: 1px solid var(--ygs-border);
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
}
.ygs-rig-form input:focus,
.ygs-rig-form select:focus {
  outline: none;
  border-color: var(--ygs-primary);
  box-shadow: 0 0 10px rgba(102, 89, 239, 0.3);
}

/* =========================================================
   EMBEDDED PROFILE SECTION FOR player.php
   ========================================================= */
.ygs-profile-embed-card {
  background: linear-gradient(135deg, rgba(22, 26, 48, 0.95), rgba(16, 19, 34, 0.98)) !important;
  border: 1px solid rgba(102, 89, 239, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
  border-radius: 20px !important;
  padding: 1.75rem !important;
  margin-top: 1.5rem !important;
  color: #fff;
}
.ygs-embed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.ygs-embed-kicker {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ygs-lime, #c8ff2e);
  margin-bottom: .35rem;
}
.ygs-embed-header h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.ygs-embed-header p {
  margin: .4rem 0 0;
  color: #94a3b8;
  font-size: .95rem;
}
.ygs-embed-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.ygs-embed-status-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .75rem;
  margin-top: 1.25rem;
}
.ygs-embed-pill {
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.ygs-embed-pill span {
  font-size: .75rem;
  color: #94a3b8;
  font-weight: 600;
}
.ygs-embed-pill strong {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}
.ygs-embed-pill.status-mastered strong {
  color: var(--ygs-lime, #c8ff2e);
}

.ygs-embed-subheading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}
.ygs-embed-subheading h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.ygs-embed-subheading a {
  color: #a78bfa;
  font-size: .85rem;
  text-decoration: none;
  font-weight: 600;
}
.ygs-embed-subheading a:hover {
  text-decoration: underline;
}

.ygs-embed-favs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
}
.ygs-embed-fav-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  color: #fff;
  transition: all .2s ease;
}
.ygs-embed-fav-card:hover {
  background: rgba(102, 89, 239, 0.12);
  border-color: rgba(102, 89, 239, 0.4);
  transform: translateY(-2px);
}
.ygs-embed-fav-info {
  display: flex;
  flex-direction: column;
}
.ygs-embed-fav-info strong {
  font-size: .9rem;
  line-height: 1.2;
}
.ygs-embed-fav-info small {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: .2rem;
}

.ygs-embed-heroes-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.ygs-embed-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: .85rem;
  font-weight: 600;
  color: #e2e8f0;
}
.ygs-hero-avatar-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
}

/* ============================================================
   PREMIUM GAMING ENHANCEMENTS: Search, Video, Presence & Trophies
   ============================================================ */

/* Video Auto-Embedding Container (16:9 ratio) */
.ygs-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 0.85rem 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.ygs-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Subnav Global Search Input */
.ygs-subnav-search {
  margin-left: auto;
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ygs-subnav-search input {
  width: 230px;
  padding: 0.52rem 1rem 0.52rem 2.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 10px center/15px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ygs-subnav-search input::placeholder {
  color: #64748b;
}
.ygs-subnav-search input:focus {
  outline: none;
  width: 270px;
  background-color: rgba(13, 17, 32, 0.95);
  border-color: var(--yg-accent, #6659ef);
  box-shadow: 0 0 0 3px var(--yg-accent-soft, rgba(102, 89, 239, 0.2)), 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 820px) {
  .ygs-subnav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .ygs-subnav-search {
    margin-left: 0;
    width: 100%;
  }
  .ygs-subnav-search input,
  .ygs-subnav-search input:focus {
    width: 100%;
  }
}

/* Animated Radar Live Pulse Dot */
.ygs-live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: ygs-pulse 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
  vertical-align: middle;
}
@keyframes ygs-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Rich Presence Sidebar Card */
.ygs-presence-sidecard {
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.9), rgba(16, 19, 34, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.ygs-presence-sidecard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #10b981, #06b6d4, #6659ef);
}
.ygs-presence-sidehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.ygs-presence-sidehead h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Live In-Game Sidebar List & Contrast Fix */
.ygs-presence-sidelist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
}
.ygs-presence-sidelist li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ygs-presence-sidelist li a {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.55rem 0.75rem !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  text-decoration: none !important;
  color: #f1f5f9 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ygs-presence-sidelist li a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  transform: translateX(3px) !important;
}
.ygs-presence-info {
  flex: 1;
  min-width: 0;
}
.ygs-presence-info strong {
  display: block !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ygs-presence-game {
  display: block !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #10e891 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ygs-presence-sub {
  display: block !important;
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.ygs-presence-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #10e891 !important;
  box-shadow: 0 0 10px #10e891 !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

/* User's Own Active Session Banner */
.ygs-my-live-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 19, 34, 0.8));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.85rem;
}
.ygs-my-live-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

/* Profile Now-Playing Banners */
.ygs-profile-now-playing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}
.ygs-embed-now-playing {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

/* Gamer Trophies Showcase Grid */
.ygs-trophies-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}
.ygs-trophy-card {
  position: relative;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ygs-trophy-card:hover {
  transform: translateY(-3px);
}
.ygs-trophy-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ygs-trophy-info {
  flex: 1;
  min-width: 0;
}
.ygs-trophy-info h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #fff;
}
.ygs-trophy-info p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.ygs-trophy-tier-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* Trophy Tiers */
.tier-bronze {
  border-color: rgba(205, 127, 50, 0.4) !important;
  color: #d97706;
}
.ygs-trophy-card.tier-bronze .ygs-trophy-icon-wrap {
  background: radial-gradient(circle, rgba(205, 127, 50, 0.25), transparent);
  border: 1px solid rgba(205, 127, 50, 0.4);
}
.ygs-trophy-card.tier-bronze .ygs-trophy-tier-tag {
  background: rgba(205, 127, 50, 0.15);
  color: #f59e0b;
}

.tier-silver {
  border-color: rgba(203, 213, 225, 0.35) !important;
  color: #e2e8f0;
}
.ygs-trophy-card.tier-silver .ygs-trophy-icon-wrap {
  background: radial-gradient(circle, rgba(203, 213, 225, 0.2), transparent);
  border: 1px solid rgba(203, 213, 225, 0.35);
}
.ygs-trophy-card.tier-silver .ygs-trophy-tier-tag {
  background: rgba(203, 213, 225, 0.15);
  color: #f1f5f9;
}

.tier-gold {
  border-color: rgba(234, 179, 8, 0.45) !important;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.1);
  color: #facc15;
}
.ygs-trophy-card.tier-gold .ygs-trophy-icon-wrap {
  background: radial-gradient(circle, rgba(234, 179, 8, 0.25), transparent);
  border: 1px solid rgba(234, 179, 8, 0.5);
}
.ygs-trophy-card.tier-gold .ygs-trophy-tier-tag {
  background: rgba(234, 179, 8, 0.2);
  color: #fde047;
}

.tier-platinum {
  border-color: rgba(34, 211, 238, 0.5) !important;
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.15);
  color: #38bdf8;
}
.ygs-trophy-card.tier-platinum .ygs-trophy-icon-wrap {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent);
  border: 1px solid rgba(34, 211, 238, 0.6);
}
.ygs-trophy-card.tier-platinum .ygs-trophy-tier-tag {
  background: rgba(34, 211, 238, 0.2);
  color: #7dd3fc;
}

.tier-mythic {
  border: 1px solid transparent !important;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.1)) padding-box,
              linear-gradient(135deg, #ec4899, #8b5cf6, #06b6d4, #c8ff2e) border-box !important;
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.25);
  color: #f472b6;
}
.ygs-trophy-card.tier-mythic .ygs-trophy-icon-wrap {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}
.ygs-trophy-card.tier-mythic .ygs-trophy-tier-tag {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  color: #fff;
}

.ygs-trophy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

/* 5-Pillar Scorecard Grid & Inputs */
.ygs-review-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  margin: 0.85rem 0;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.ygs-pillar-chip {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.75rem;
}
.ygs-pillar-label {
  color: #94a3b8;
  font-weight: 600;
}
.ygs-pillar-score {
  color: #facc15;
  font-weight: 800;
  font-size: 0.95rem;
}
.ygs-pillars-input-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.ygs-pillars-input-box label {
  font-size: 0.75rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ygs-pillars-input-box select {
  background: #0f1322;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 6px;
  padding: 0.35rem;
  font-weight: 700;
}

/* Universal Gaming Search View */
.ygs-search-view {
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.ygs-search-hero-box {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(102, 89, 239, 0.2), transparent 70%);
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.ygs-search-hero-box h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ygs-search-hero-box p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 1.5rem;
}
.ygs-search-big-form {
  max-width: 680px;
  margin: 0 auto;
}
.ygs-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 19, 34, 0.95);
  border: 2px solid rgba(102, 89, 239, 0.4);
  border-radius: 999px;
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(102, 89, 239, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ygs-search-input-wrap:focus-within {
  border-color: #6659ef;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(102, 89, 239, 0.45);
}
.ygs-search-icon {
  font-size: 1.15rem;
}
.ygs-search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  padding: 0.4rem 0;
}
.ygs-search-input-wrap input:focus {
  outline: none;
}
.ygs-search-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.ygs-search-filter-pills a {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}
.ygs-search-filter-pills a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.ygs-search-filter-pills a.is-active {
  background: linear-gradient(135deg, #6659ef, #8b5cf6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(102, 89, 239, 0.4);
}
.ygs-search-section {
  margin-bottom: 2.5rem;
}
.ygs-search-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ygs-search-sec-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f1f5f9;
}
.ygs-search-sec-head a {
  font-size: 0.85rem;
  font-weight: 700;
  color: #a78bfa;
  text-decoration: none;
}
.ygs-badge-count {
  font-size: 0.75rem;
  background: rgba(102, 89, 239, 0.25);
  color: #a78bfa;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-weight: 800;
}

/* ============================================================
   PLAYTIME HEATMAP (GitHub / Steam / Backloggd Style Matrix)
   ============================================================ */
.ygs-heatmap-card {
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.8), rgba(16, 19, 34, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.ygs-heatmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.ygs-heatmap-head h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: #f1f5f9;
}
.ygs-heatmap-head small {
  color: #94a3b8;
  font-size: 0.75rem;
}
.ygs-heatmap-metrics {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.ygs-heat-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.ygs-heat-pill.streak {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.ygs-heat-pill.record {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fde68a;
}
.ygs-heatmap-matrix-wrap {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.ygs-heatmap-matrix {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 12px);
  gap: 3.5px;
  width: max-content;
}
.ygs-heat-cell {
  width: 12px;
  height: 12px;
  border-radius: 2.5px;
  transition: transform 0.1s ease, outline 0.1s ease;
  cursor: pointer;
}
.ygs-heat-cell:hover {
  transform: scale(1.3);
  outline: 1px solid #fff;
  z-index: 2;
}
.ygs-heat-cell.lvl-0 { background: rgba(255, 255, 255, 0.04); }
.ygs-heat-cell.lvl-1 { background: rgba(16, 185, 129, 0.3); }
.ygs-heat-cell.lvl-2 { background: rgba(16, 185, 129, 0.65); }
.ygs-heat-cell.lvl-3 { background: #10b981; }
.ygs-heat-cell.lvl-4 { background: #c8ff2e; box-shadow: 0 0 6px rgba(200, 255, 46, 0.6); }

.ygs-heatmap-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.ygs-heat-legend-label {
  font-size: 0.7rem;
  color: #64748b;
}
.ygs-heat-legend-cells {
  display: flex;
  gap: 3px;
}
.ygs-heat-legend-cells .ygs-heat-cell {
  cursor: default;
}

/* ============================================================
   CURATED USER GAME LISTS & COLLECTIONS
   ============================================================ */
.ygs-lists-view {
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.ygs-lists-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ygs-lists-hero h2 {
  font-size: 1.85rem;
  font-weight: 900;
  margin: 0 0 0.35rem;
  color: #fff;
}
.ygs-lists-hero p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.95rem;
}
.ygs-lists-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}
.ygs-lists-nav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.15s ease;
}
.ygs-lists-nav a.is-active,
.ygs-lists-nav a:hover {
  background: rgba(102, 89, 239, 0.2);
  color: #fff;
}
.ygs-lists-nav a.is-active {
  background: #6659ef;
}
.ygs-lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.ygs-list-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ygs-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(102, 89, 239, 0.4);
}
.ygs-list-cover-banner {
  position: relative;
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
  text-decoration: none;
}
.ygs-list-card-covers-row {
  display: flex;
  gap: 6px;
}
.ygs-list-mini-thumb {
  width: 48px;
  height: 64px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, hsl(var(--hue, 220), 70%, 45%), #0c1122);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.ygs-list-type-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ygs-list-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ygs-list-card-body h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.45rem;
}
.ygs-list-card-body h4 a {
  color: #fff;
  text-decoration: none;
}
.ygs-list-card-body h4 a:hover {
  color: #a78bfa;
}
.ygs-list-card-body p {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0 0 0.85rem;
  flex: 1;
}
.ygs-list-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}
.ygs-list-author a {
  color: #cbd5e1;
  text-decoration: none;
}
.ygs-list-card-stats {
  display: flex;
  gap: 0.65rem;
  color: #94a3b8;
}

/* Single List Detail */
.ygs-single-list-view {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.ygs-single-list-head {
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.ygs-single-list-head h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0.4rem 0 0.5rem;
  color: #fff;
}
.ygs-single-list-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.ygs-single-list-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: #94a3b8;
}
.ygs-single-list-actions {
  display: flex;
  gap: 0.65rem;
}
.ygs-list-items-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ygs-ranked-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  position: relative;
}
.ygs-rank-num {
  font-size: 1.65rem;
  font-weight: 900;
  color: #a78bfa;
  min-width: 45px;
  line-height: 1;
}
.ygs-ranked-cover {
  width: 75px;
  height: 100px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  flex-shrink: 0;
  text-decoration: none;
}
.ygs-ranked-body {
  flex: 1;
  min-width: 0;
}
.ygs-ranked-title-row {
  margin-bottom: 0.5rem;
}
.ygs-ranked-title-row h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
}
.ygs-ranked-title-row h3 a {
  color: #fff;
  text-decoration: none;
}
.ygs-ranked-dev {
  font-size: 0.8rem;
  color: #94a3b8;
}
.ygs-ranked-notes {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #6659ef;
  padding: 0.6rem 0.85rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 0.85rem;
  position: relative;
}
.ygs-notes-quote {
  font-size: 1.4rem;
  line-height: 1;
  color: #a78bfa;
  font-family: serif;
}
.ygs-ranked-notes p {
  margin: 0;
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.45;
  font-style: italic;
}
.ygs-ranked-actions {
  display: flex;
  gap: 0.5rem;
}

/* ============================================================
   LFG (LOOKING FOR GROUP) MATCHMAKING BEACON
   ============================================================ */
.ygs-lfg-view {
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.ygs-lfg-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ygs-lfg-hero-text h2 {
  font-size: 1.85rem;
  font-weight: 900;
  margin: 0 0 0.35rem;
  color: #fff;
  display: flex;
  align-items: center;
}
.ygs-lfg-hero-text p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.95rem;
}
.ygs-lfg-filters {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ygs-lfg-filters select {
  background: rgba(16, 19, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  color: #fff;
  font-size: 0.85rem;
}
.ygs-lfg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.25rem;
}
.ygs-beacon-card {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.85), rgba(16, 19, 34, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ygs-beacon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.4);
}
.ygs-beacon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.ygs-beacon-game-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
}
.ygs-beacon-game-badge h4 {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0;
}
.ygs-beacon-game-badge h4 a {
  color: #fff;
  text-decoration: none;
}
.ygs-beacon-activity {
  font-size: 0.7rem;
  color: #94a3b8;
  display: block;
}
.ygs-beacon-status-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.ygs-beacon-status-pill.is-open {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}
.ygs-beacon-status-pill.is-full {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.ygs-beacon-body {
  flex: 1;
  margin-bottom: 1rem;
}
.ygs-beacon-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
}
.ygs-beacon-notes {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}
.ygs-beacon-tags-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.ygs-beacon-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ygs-beacon-host {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ygs-beacon-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #6659ef;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}
.ygs-beacon-host small {
  font-size: 0.65rem;
  color: #64748b;
  display: block;
}
.ygs-beacon-host strong {
  font-size: 0.82rem;
  color: #f1f5f9;
}
.ygs-beacon-action-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.ygs-spots-bar-wrap {
  text-align: right;
}
.ygs-spots-label {
  font-size: 0.72rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.2rem;
}
.ygs-spots-meter {
  width: 60px;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.ygs-spots-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #c8ff2e);
  border-radius: 999px;
}

/* ============================================================
   HOW LONG TO BEAT & SYSTEM REQUIREMENTS BENCHMARK
   ============================================================ */
.ygs-hltb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.ygs-hltb-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
}
.ygs-hltb-label {
  font-size: 0.82rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.25rem;
}
.ygs-hltb-hours {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}
.ygs-hltb-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.ygs-hltb-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6659ef, #c8ff2e);
  border-radius: 999px;
}
.ygs-hltb-card small {
  font-size: 0.72rem;
  color: #64748b;
}

/* System Specs & Benchmark */
.ygs-rig-verdict-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}
.ygs-bench-verdict-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}
.ygs-bench-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #10b981;
  color: #0c1122;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ygs-bench-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #10b981;
  margin: 0 0 0.2rem;
}
.ygs-bench-info p {
  font-size: 0.82rem;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.35;
}
.ygs-bench-hint-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0.75rem 0 1.25rem;
}
.ygs-bench-hint-card a {
  color: #a78bfa;
  font-weight: 700;
}
.ygs-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.ygs-spec-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
}
.ygs-spec-card.is-recommended {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.04), rgba(255, 255, 255, 0.02));
}
.ygs-spec-head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ygs-spec-head h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: #fff;
}
.ygs-spec-head small {
  font-size: 0.75rem;
  color: #94a3b8;
}
.ygs-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.82rem;
}
.ygs-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.ygs-spec-list span {
  color: #64748b;
}
.ygs-spec-list strong {
  color: #e2e8f0;
  text-align: right;
}

/* Soundtrack OST Card */
.ygs-ost-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 19, 34, 0.8));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 1.15rem;
  margin-top: 0.85rem;
}
.ygs-ost-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ygs-ost-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #fff;
}
.ygs-ost-info p {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.35;
}

/* ============================================================
   FRANCHISE & UNIVERSE COMPANION SHELF
   ============================================================ */
.ygs-franchise-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.ygs-franchise-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ygs-franchise-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 89, 239, 0.4);
}
.ygs-franchise-thumb {
  width: 44px;
  height: 58px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ygs-franchise-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ygs-franchise-info strong {
  font-size: 0.92rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ygs-franchise-info small {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

/* ============================================================
   STEAM & CONSOLE LIBRARY IMPORTER
   ============================================================ */
.ygs-import-view {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.ygs-import-hero h2 {
  font-size: 1.85rem;
  font-weight: 900;
  margin: 0 0 0.35rem;
  color: #fff;
}
.ygs-import-hero p {
  color: #94a3b8;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
.ygs-import-connect-box {
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.9), rgba(16, 19, 34, 0.95));
  border: 1px solid rgba(102, 89, 239, 0.35);
  border-radius: 16px;
  padding: 1.35rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.ygs-import-connect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}
.ygs-import-platform-pills {
  display: flex;
  gap: 0.5rem;
}
.ygs-plat-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}
.ygs-plat-btn.is-active {
  background: #6659ef;
  color: #fff;
  border-color: transparent;
}
.ygs-import-status-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
}
.ygs-import-field-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}
.ygs-import-field {
  flex: 1;
}
.ygs-import-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  display: block;
  margin-bottom: 0.35rem;
}
.ygs-import-field input {
  width: 100%;
  background: rgba(16, 19, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  color: #fff;
  font-size: 0.9rem;
}
.ygs-import-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ygs-import-list-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: #fff;
}
.ygs-import-list-header small {
  color: #94a3b8;
}
.ygs-import-bulk-actions {
  display: flex;
  gap: 0.5rem;
}
.ygs-import-items-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.ygs-import-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: background 0.15s ease;
}
.ygs-import-item-row.is-existing {
  opacity: 0.75;
}
.ygs-import-check-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.ygs-import-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #6659ef;
  cursor: pointer;
}
.ygs-import-thumb {
  width: 40px;
  height: 52px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.ygs-import-item-info {
  flex: 1;
  min-width: 0;
}
.ygs-import-item-info strong a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}
.ygs-import-item-info small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}
.ygs-import-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.ygs-import-controls label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.7rem;
  color: #94a3b8;
}
.ygs-import-controls select,
.ygs-import-controls input {
  background: #0f1322;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  color: #fff;
  font-size: 0.8rem;
}
.ygs-import-foot {
  text-align: center;
  padding-top: 1rem;
}
.ygs-import-foot button {
  width: 100%;
  max-width: 420px;
}

/* ============================================================
   GAMER REWIND 2026 (Spotify Wrapped / Steam Replay Style)
   ============================================================ */
.ygs-wrapped-view {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.ygs-wrapped-hero-box {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 255, 46, 0.15), rgba(102, 89, 239, 0.2), transparent 70%);
  border-radius: 20px;
  margin-bottom: 2rem;
}
.ygs-wrapped-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4, #c8ff2e);
  color: #0c1122;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 15px rgba(200, 255, 46, 0.3);
}
.ygs-wrapped-hero-box h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.ygs-wrapped-hero-box p {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.ygs-wrapped-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ygs-wrapped-stat-banner {
  background: linear-gradient(135deg, rgba(102, 89, 239, 0.25), rgba(16, 19, 34, 0.95));
  border: 1px solid rgba(102, 89, 239, 0.4);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.ygs-wrapped-giant-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #c8ff2e, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.ygs-wrapped-giant-label {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.25rem;
  display: block;
}
.ygs-wrapped-side-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ygs-wrapped-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #e2e8f0;
}
.ygs-wrapped-highlight-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ygs-wrapped-game-cover-big {
  width: 100px;
  height: 135px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.ygs-wrapped-highlight-info {
  flex: 1;
}
.ygs-hlt-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #c8ff2e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.35rem;
}
.ygs-wrapped-highlight-info h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 0 0.25rem;
}
.ygs-wrapped-highlight-info h3 a {
  color: #fff;
  text-decoration: none;
}
.ygs-wrapped-highlight-info p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 0 0 0.85rem;
}
.ygs-wrapped-game-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #cbd5e1;
}
.ygs-wrapped-archetype-card {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-radius: 20px;
  padding: 1.75rem;
  text-align: center;
}
.ygs-archetype-tag {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #f472b6;
  margin-bottom: 0.5rem;
}
.ygs-wrapped-archetype-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
  color: #fff;
}
.ygs-wrapped-archetype-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  max-width: 580px;
  margin: 0 auto 1.25rem;
  line-height: 1.45;
}
.ygs-archetype-badges {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.ygs-wrapped-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   GAMEPLAY SESSION DIARY
   ============================================================ */
.ygs-diary-view {
  max-width: 880px;
  margin: 0 auto;
  padding-bottom: 3rem;
}
.ygs-diary-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ygs-diary-hero h2 {
  font-size: 1.85rem;
  font-weight: 900;
  margin: 0 0 0.35rem;
  color: #fff;
}
.ygs-diary-hero p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.95rem;
}
.ygs-diary-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ygs-diary-entry-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.15rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ygs-diary-entry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 89, 239, 0.4);
}
.ygs-diary-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
  padding-right: 0.85rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.ygs-diary-day {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.ygs-diary-month {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.ygs-diary-thumb {
  width: 48px;
  height: 64px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  text-decoration: none;
}
.ygs-diary-body {
  flex: 1;
  min-width: 0;
}
.ygs-diary-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.ygs-diary-title-row h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}
.ygs-diary-title-row h4 a {
  color: #fff;
  text-decoration: none;
}
.ygs-diary-tags {
  display: flex;
  gap: 0.5rem;
}
.ygs-diary-notes {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border-left: 2px solid #10b981;
}

/* ==========================================================================
   TOP STUDIO & SITE NAVIGATION OVERHAUL (Cyberpunk Dark Mode)
   Eliminates stark white pill backgrounds, delivers high-end gamer aesthetics
   ========================================================================== */

/* Navbar Container */
:is(html.yg-dark, body.yg-dark) #ygSiteNav,
:is(html.yg-dark, body.yg-dark) header.nav {
  background: rgba(13, 17, 32, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

/* Top Navigation Links (.links a): Frosted Cyber Glass Pills */
:is(html.yg-dark, body.yg-dark) #ygSiteNav .links a,
:is(html.yg-dark, body.yg-dark) header.nav .links a,
:is(html.yg-dark, body.yg-dark) .nav .links a {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

:is(html.yg-dark, body.yg-dark) #ygSiteNav .links a:hover,
:is(html.yg-dark, body.yg-dark) header.nav .links a:hover,
:is(html.yg-dark, body.yg-dark) .nav .links a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

:is(html.yg-dark, body.yg-dark) #ygSiteNav .links a.active,
:is(html.yg-dark, body.yg-dark) header.nav .links a.active,
:is(html.yg-dark, body.yg-dark) .nav .links a.active {
  background: linear-gradient(135deg, var(--yg-accent, #6659ef), var(--yg-accent-bright, #8b5cf6)) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--yg-accent-glow, rgba(102, 89, 239, 0.45)), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

:is(html.yg-dark, body.yg-dark) #ygSiteNav .links a .nav-icon,
:is(html.yg-dark, body.yg-dark) #ygSiteNav .links a svg {
  color: inherit !important;
  stroke: currentColor !important;
}

/* Top Action Buttons */
:is(html.yg-dark, body.yg-dark) #ygSiteNav .nav-cta {
  background: linear-gradient(135deg, var(--yg-accent, #6659ef), #8b5cf6) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 750 !important;
  box-shadow: 0 4px 16px var(--yg-accent-glow, rgba(102, 89, 239, 0.4)), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
:is(html.yg-dark, body.yg-dark) #ygSiteNav .nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px var(--yg-accent-glow, rgba(102, 89, 239, 0.65)) !important;
}

:is(html.yg-dark, body.yg-dark) #ygSiteNav .nav-upload-game {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
  border-radius: 12px !important;
  font-weight: 750 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
:is(html.yg-dark, body.yg-dark) #ygSiteNav .nav-upload-game:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

:is(html.yg-dark, body.yg-dark) #ygSiteNav .nav-auth {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
  border-radius: 12px !important;
  padding: 8px 16px !important;
  font-weight: 750 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
:is(html.yg-dark, body.yg-dark) #ygSiteNav .nav-auth:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}
:is(html.yg-dark, body.yg-dark) #ygSiteNav .nav-auth.nav-register {
  background: linear-gradient(135deg, rgba(200, 255, 46, 0.12), rgba(102, 89, 239, 0.15)) !important;
  border-color: rgba(200, 255, 46, 0.4) !important;
  color: #c8ff2e !important;
}
:is(html.yg-dark, body.yg-dark) #ygSiteNav .nav-auth.nav-register:hover {
  background: linear-gradient(135deg, rgba(200, 255, 46, 0.25), rgba(102, 89, 239, 0.25)) !important;
  border-color: #c8ff2e !important;
  box-shadow: 0 4px 18px rgba(200, 255, 46, 0.35) !important;
  color: #ffffff !important;
}

/* Theme Toggle Button */
:is(html.yg-dark, body.yg-dark) #ygSiteNav .yg-theme-toggle {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffb703 !important;
  border-radius: 12px !important;
  width: 38px !important;
  height: 38px !important;
  display: inline-grid !important;
  place-items: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
:is(html.yg-dark, body.yg-dark) #ygSiteNav .yg-theme-toggle:hover {
  background: rgba(255, 183, 3, 0.15) !important;
  border-color: #ffb703 !important;
  box-shadow: 0 0 16px rgba(255, 183, 3, 0.45) !important;
  transform: scale(1.08) !important;
}

/* Top Strip text readability */
.yb-topstrip {
  background: #090c16 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #94a3b8 !important;
}
.yb-topstrip b {
  color: #c8ff2e !important;
}





