.player-skip { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 12px 18px; background: var(--panel); color: var(--text); transform: translateY(-180%); }
.player-skip:focus { transform: translateY(0); }
.sidebar { overflow-y: auto; }
.mobile-auth { display: none; }
.service-notice { padding: 14px 4.2%; border-bottom: 1px solid #695044; background: #292130; color: #eedacd; line-height: 1.7; }
.service-notice a, .player-onboarding a, .view-page > a, .player-actions > a:not(.btn), .empty-state a { color: #80edff; text-underline-offset: 3px; }
.player-onboarding { padding-top: 34px; padding-bottom: 8px; }
.player-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.player-start-grid > a { display: flex; gap: 16px; padding: 22px 18px; border-top: 2px solid #396478; background: #111c2c; color: var(--text); text-decoration: none; }
.player-start-grid > a:hover { border-color: #2de7ff; background: #15273a; }
.player-start-grid > a > span { color: #4bbdce; font: 700 34px var(--font-display); }
.player-start-grid h3 { margin: 0 0 8px; font: 700 26px var(--font-display); }
.player-start-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.player-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.player-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin: 24px 0 12px; }
.player-filters > label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 12px; }
.player-filters input, .player-filters select { width: 100%; min-height: 44px; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--text); font: inherit; }
.player-result, .player-field-help { color: var(--muted); font-size: 12px; line-height: 1.7; }
.player-field-help { margin: 12px 0; }
.player-result { min-height: 18px; }
.account-summary { padding: 26px; border: 1px solid var(--line); border-left: 3px solid #2de7ff; background: var(--panel); overflow-wrap: anywhere; }
.account-summary h2 { margin-top: 0; font: 700 36px var(--font-display); }
.account-summary .badge { margin: 4px 8px 4px 0; }
.forum-row, .forum-topic-card { color: inherit; text-decoration: none; }
.forum-topic-card:hover h3 { color: #80edff; }
.community-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.community-tabs button.active { color: #80edff; border-color: #2de7ff; background: #122b3b; }
.member-actions { display: flex; gap: 8px; }
.member-actions button, .empty-state button, .dm-empty button { min-height: 44px; padding: 10px 14px; border: 1px solid #375477; border-radius: 4px; color: #dceeff; background: #15243a; cursor: pointer; }
.member-actions button:disabled { opacity: .6; cursor: default; }
.empty-state { line-height: 1.8; }
.empty-state button { margin: 6px; }
.view-page, .forum-detail { scroll-margin-top: 125px; }
.view-page h1 { outline: none; }
.user-pill { max-width: 180px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; min-height: 44px; }
.menu-btn, .messenger-launcher, #messengerClose, #backFriends, .modal-close button { min-width: 44px; min-height: 44px; }
button:disabled { cursor: wait; }
body :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #80edff; outline-offset: 4px; }
.view-page > p { line-height: 1.8; }
.dm-bubble, .chat-line { white-space: pre-wrap; }
@media (max-width: 1000px) {
  .topbar { height: 84px; padding: 0 18px; gap: 16px; }
  .topbar .brand { min-width: 132px; }
  .topbar .brand-lockup { width: 132px; height: 78px; }
  .layout { display: block; }
  .sidebar, .online-chip, .top-actions .btn-ghost { display: none; }
  .main-nav { display: none; position: absolute; top: 83px; left: 0; right: 0; height: auto; max-height: calc(100dvh - 84px); overflow-y: auto; padding: 18px 24px; border-bottom: 1px solid var(--line); background: #0d1829; flex-direction: column; align-items: stretch; gap: 10px; }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { min-height: 44px; }
  .main-nav .mobile-auth { display: inline-flex; justify-content: center; min-height: 44px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .user-pill { max-width: 130px; }
  .view-page, .forum-detail { scroll-margin-top: 96px; }
}
@media (max-width: 850px) { .player-start-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .games-grid .game-card { width: 100%; aspect-ratio: auto; min-height: 240px; }
  .player-actions { align-items: stretch; }
  .player-actions .btn { flex: 1 1 100%; justify-content: center; }
  .player-filters > label { flex-basis: 100%; }
  .account-summary { padding: 20px; }
  .main-nav .nav-link { font-size: 13px; }
}
@media (max-width: 380px) {
  .topbar { padding: 0 12px; gap: 12px; }
  .topbar .brand { min-width: 110px; }
  .topbar .brand-lockup { width: 110px; }
  .top-actions #registerBtn { display: none; }
  .user-pill { max-width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
