.lobby-page .detail-match {
  display: grid;
  grid-template-columns: minmax(0, 145px) 112px minmax(0, 145px);
  justify-content: center;
  align-items: start;
  gap: 20px;
  padding: 4px 0 0;
}
.lobby-page .detail-match .player { width: 100%; max-width: 145px; }
.lobby-page .detail-match .avatar { width: 64px; height: 64px; margin-top: 8px; }
.lobby-page .detail-match .player-name { max-width: 100%; }
.round-state { width: 112px; min-height: 116px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; color: var(--muted); }
.round-state-dial { width: 80px; height: 80px; flex: none; position: relative; display: grid; place-items: center; }
.round-state-ring { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--round-progress, 0) * 1turn), var(--line) 0); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); }
.round-state-value { font-size: 23px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); }
.round-state-label { font-size: 11px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; max-width: 100%; }
.round-state:is([data-phase="flipping"], [data-phase="landing"]) .round-state-ring { background: conic-gradient(var(--accent) 28%, var(--line) 0); animation: round-state-turn 1.1s linear infinite; }
.round-state[data-phase="countdown"] { color: var(--accent); }
.round-state[data-phase="countdown"] .round-state-value { font-size: 30px; color: var(--accent); }
.round-state[data-phase="review"] .round-state-ring { background: var(--gold); }
.round-state[data-phase="review"] .round-state-value { color: var(--gold); }
.lobby-page .trade-url-find { min-height: 48px; width: 100%; justify-content: center; gap: 10px; padding: 12px; white-space: normal; text-align: center; font-weight: 800; color: var(--text); background: var(--surface-2); border: 1px solid var(--accent); border-radius: 4px; }
.lobby-page .trade-url-find:hover { background: var(--teal-wash); border-color: var(--text); }
.lobby-page .trade-url-find:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lobby-page .trade-url-find .lucide { width: 20px; height: 20px; }
.inventory-pagination { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; margin-top: 10px; }
.inventory-pagination .icon-button { width: 44px; min-height: 44px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.inventory-pagination span { text-align: center; font-size: 11px; line-height: 1.4; color: var(--muted); }
.inventory-feedback { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px; margin-block: 10px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 4px; }
.inventory-feedback p { flex: 1 1 220px; color: var(--text); }
.inventory-feedback .button { min-height: 44px; }
@keyframes round-state-turn { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .lobby-page .detail-match { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); gap: 8px; }
  .lobby-page .detail-match .avatar { width: 56px; height: 56px; margin-top: 8px; }
  .round-state { width: 96px; min-height: 108px; }
  .round-state-dial { width: 72px; height: 72px; }
  .round-state-value { font-size: 21px; }
  .round-state[data-phase="countdown"] .round-state-value { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .round-state .round-state-ring { animation: none !important; }
}
.no-motion .round-state-ring { animation: none !important; }
@media (forced-colors: active) {
  .round-state-ring { background: none; mask: none; border: 3px solid CanvasText; border-top-color: Highlight; }
}
