/* ============================================
   HORRIBLE PEOPLE — Nightclub Menu Design System
   ============================================
   Fonts: Syne (display), Outfit (body/cards)
   Accent: #ec4899 (hot pink)
   Success: #22c55e (electric green)
   Warning: #f59e0b (amber)
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: #09090b;
  color: #e4e4e7;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* grain texture overlay on body */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* atmospheric gradient behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(236, 72, 153, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(236, 72, 153, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #09090b 0%, #0c0a0f 50%, #09090b 100%);
}

#horrible-people-root {
  height: 100%;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes hp-fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hp-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hp-pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hp-slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hp-glow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.25), 0 0 0 1px rgba(236, 72, 153, 0.5);
  }
  50% {
    box-shadow: 0 0 28px rgba(236, 72, 153, 0.4), 0 0 0 1px rgba(236, 72, 153, 0.7);
  }
}

@keyframes hp-confettiBounce {
  0% {
    transform: scale(0) rotate(-20deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.3) rotate(5deg);
  }
  70% {
    transform: scale(0.9) rotate(-2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes hp-titleReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scaleY(0.8);
    letter-spacing: 0.3em;
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scaleY(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    letter-spacing: -0.03em;
  }
}

@keyframes hp-badgePop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================
   APP ROOT
   ============================================ */
.hp-app {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ============================================
   OVERLAY (disconnect/reconnect)
   ============================================ */
.hp-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.hp-overlay__message {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: hp-fadeIn 0.3s ease-out;
}

.hp-overlay__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(236, 72, 153, 0.15);
  border-top-color: #ec4899;
  border-radius: 50%;
  animation: hp-spin 0.7s linear infinite;
}

/* ============================================
   HOME SCREEN
   ============================================ */
.hp-home {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  padding-left: max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  animation: hp-fadeIn 0.6s ease-out;
}

.hp-home__content {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.hp-home__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fafafa;
  line-height: 1;
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  animation: hp-titleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  text-shadow:
    0 0 60px rgba(236, 72, 153, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.8);
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f0f0f0 40%,
    #d4d4d8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-home__tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #71717a;
  margin-bottom: 2.75rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Tabs */
.hp-home__tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  background: #18181b;
  border: 1px solid #27272a;
}

.hp-home__tab {
  flex: 1;
  padding: 0.8rem 1rem;
  min-height: 44px;
  background: transparent;
  color: #71717a;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color 0.25s, background 0.25s;
}

.hp-home__tab:hover,
.hp-home__tab:active {
  color: #a1a1aa;
}

.hp-home__tab--active {
  background: #27272a;
  color: #fafafa;
  box-shadow: inset 0 -2px 0 #ec4899;
}

/* Form */
.hp-home__form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  animation: hp-fadeIn 0.4s ease-out 0.2s both;
}

.hp-home__input {
  width: 100%;
  padding: 0.9rem 1rem;
  min-height: 48px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  color: #fafafa;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.hp-home__input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.hp-home__input::placeholder {
  color: #52525b;
}

/* Error */
.hp-home__error {
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  color: #f87171;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  animation: hp-fadeIn 0.25s ease-out;
}

.hp-home__error--kicked {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

/* Buttons */
.hp-home__btn {
  padding: 0.9rem 1.5rem;
  min-height: 48px;
  border: 1px solid #27272a;
  border-radius: 10px;
  background: #18181b;
  color: #e4e4e7;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
}

.hp-home__btn:hover,
.hp-home__btn:active {
  background: #27272a;
  border-color: #3f3f46;
}

.hp-home__btn:active {
  transform: scale(0.97);
}

.hp-home__btn--primary {
  background: #ec4899;
  border-color: #ec4899;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25);
}

.hp-home__btn--primary:hover,
.hp-home__btn--primary:active {
  background: #db2777;
  border-color: #db2777;
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.35);
}

.hp-home__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   LOBBY SCREEN
   ============================================ */
.hp-lobby {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
  padding: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  animation: hp-fadeIn 0.5s ease-out;
}

.hp-lobby__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hp-lobby__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fafafa;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.hp-lobby__code-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1rem;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
}

.hp-lobby__code-label {
  color: #71717a;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hp-lobby__code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #ec4899;
  text-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.hp-lobby__copy-btn {
  padding: 0.5rem 0.875rem;
  min-height: 44px;
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  color: #a1a1aa;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.hp-lobby__copy-btn:hover,
.hp-lobby__copy-btn:active {
  background: #3f3f46;
  color: #e4e4e7;
}

.hp-lobby__body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: #27272a transparent;
}

.hp-lobby__players,
.hp-lobby__settings {
  display: flex;
  flex-direction: column;
}

.hp-lobby__section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #52525b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.hp-lobby__actions {
  margin-top: auto;
  padding-top: 1.25rem;
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hp-lobby__start-btn {
  width: 100%;
  padding: 1rem;
  min-height: 48px;
  background: #ec4899;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
  letter-spacing: 0.02em;
}

.hp-lobby__start-btn:hover:not(:disabled),
.hp-lobby__start-btn:active:not(:disabled) {
  background: #db2777;
  box-shadow: 0 6px 28px rgba(236, 72, 153, 0.4);
}

.hp-lobby__start-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.hp-lobby__start-btn:disabled {
  background: #27272a;
  color: #52525b;
  cursor: not-allowed;
  box-shadow: none;
}

.hp-lobby__waiting {
  text-align: center;
  color: #71717a;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 1rem;
}

.hp-lobby__leave-btn {
  width: 100%;
  padding: 0.8rem;
  min-height: 44px;
  background: transparent;
  border: 1px solid #27272a;
  border-radius: 10px;
  color: #71717a;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.hp-lobby__leave-btn:hover,
.hp-lobby__leave-btn:active {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

/* ============================================
   PLAYER LIST
   ============================================ */
.hp-player-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hp-player-list__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  min-height: 44px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  transition: opacity 0.3s, background 0.2s;
}

.hp-player-list__item:hover {
  background: #1c1c1f;
}

.hp-player-list__item--disconnected {
  opacity: 0.35;
}

.hp-player-list__item--czar {
  border-left: 3px solid #f59e0b;
  background: rgba(245, 158, 11, 0.04);
}

.hp-player-list__name {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: #d4d4d8;
  font-size: 0.9375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-player-list__badges {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.hp-player-list__badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hp-player-list__badge--host {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.hp-player-list__badge--czar {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.hp-player-list__badge--dc {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hp-player-list__submitted {
  color: #22c55e;
  font-size: 0.9375rem;
  font-weight: 800;
}

.hp-player-list__kick {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #52525b;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  font-family: inherit;
  flex-shrink: 0;
}

.hp-player-list__kick:hover,
.hp-player-list__kick:active {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
}

/* ============================================
   SETTINGS PANEL
   ============================================ */
.hp-settings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hp-settings__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #52525b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hp-settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  min-height: 44px;
}

.hp-settings__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #a1a1aa;
  white-space: nowrap;
}

.hp-settings__label strong {
  color: #e4e4e7;
  font-weight: 700;
}

/* slider track + thumb */
.hp-settings__slider {
  flex: 1;
  max-width: 200px;
  height: 4px;
  padding: 12px 0;
  -webkit-appearance: none;
  appearance: none;
  background: #27272a;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.hp-settings__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: #ec4899;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

.hp-settings__slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 5px rgba(236, 72, 153, 0.2);
}

.hp-settings__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #ec4899;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.hp-settings__slider::-moz-range-track {
  background: #27272a;
  border-radius: 2px;
  height: 4px;
}

.hp-settings__slider:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Toggle */
.hp-settings__toggle {
  width: 48px;
  height: 26px;
  border-radius: 13px;
  background: #27272a;
  border: 1px solid #3f3f46;
  cursor: pointer;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
  flex-shrink: 0;
}

.hp-settings__toggle--on {
  background: #ec4899;
  border-color: #ec4899;
}

.hp-settings__toggle-knob {
  display: block;
  width: 20px;
  height: 20px;
  background: #fafafa;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hp-settings__toggle--on .hp-settings__toggle-knob {
  transform: translateX(22px);
}

.hp-settings__toggle:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================
   GAME SCREEN
   ============================================ */
.hp-game {
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hp-game__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  color: #52525b;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  animation: hp-pulse 2s ease-in-out infinite;
}

.hp-game__scoreboard-toggle {
  padding: 0.5rem 0.9rem;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #a1a1aa;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-left: auto;
}

.hp-game__scoreboard-toggle:hover,
.hp-game__scoreboard-toggle:active {
  background: rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
}

/* Scoreboard overlay */
.hp-game__scoreboard-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  animation: hp-fadeIn 0.2s ease-out;
}

.hp-game__scoreboard-panel {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 1.75rem;
  min-width: 300px;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  animation: hp-slideUp 0.3s ease-out;
}

/* Desktop sidebar */
.hp-game__sidebar {
  display: none;
  width: 250px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0f0f12 0%, #111114 100%);
  border-right: 1px solid #1e1e22;
  padding: 1.25rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: #27272a transparent;
}

/* Main game area */
.hp-game__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: #27272a transparent;
}

.hp-game__black-card {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 0;
}

.hp-game__phase-label {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #71717a;
  padding: 1rem;
}

/* Game sub-views */
.hp-game__playing,
.hp-game__judging {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ============================================
   PHASE BAR
   ============================================ */
.hp-phase-bar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  padding-top: max(0.625rem, env(safe-area-inset-top));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  min-height: 44px;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #1e1e22;
}

.hp-phase-bar__phase {
  font-family: 'Syne', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ec4899;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hp-phase-bar__info {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #71717a;
}

.hp-phase-bar__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #1e1e22;
}

.hp-phase-bar__progress-fill {
  height: 100%;
  background: #ec4899;
  border-radius: 0 1px 1px 0;
  transition: width 0.4s ease-out;
}

/* ============================================
   BLACK CARD
   ============================================ */
.hp-black-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 5 / 7;
  background: linear-gradient(145deg, #0c0c0e 0%, #000000 50%, #050507 100%);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 20px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: hp-slideUp 0.4s ease-out;
}

.hp-black-card__text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  word-wrap: break-word;
}

.hp-black-card__blank {
  display: inline;
  color: rgba(255, 255, 255, 0.3);
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
  margin: 0 0.15rem;
  padding-bottom: 1px;
}

.hp-black-card__filled {
  display: inline;
  color: #ec4899;
  font-weight: 800;
  border-bottom: 3px solid #ec4899;
  margin: 0 0.15rem;
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.hp-black-card__pick-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   WHITE CARD
   ============================================ */
.hp-white-card {
  width: 140px;
  min-height: 180px;
  background: #fafafa;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 2px solid #e4e4e7;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              border-color 0.2s ease;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.25);
  font-family: 'Outfit', sans-serif;
}

.hp-white-card:hover:not(:disabled):not(.hp-white-card--disabled):not(.hp-white-card--submitted) {
  transform: translateY(-8px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.35);
}

.hp-white-card--selected {
  transform: translateY(-18px) !important;
  border-color: #ec4899;
  animation: hp-glow 2s ease-in-out infinite;
  box-shadow:
    0 8px 24px rgba(236, 72, 153, 0.25),
    0 0 0 1px #ec4899,
    0 20px 40px rgba(0, 0, 0, 0.3);
}

.hp-white-card--selected:hover:not(:disabled) {
  transform: translateY(-20px) !important;
}

.hp-white-card--submitted {
  opacity: 0.4;
  pointer-events: none;
  filter: saturate(0.3);
}

.hp-white-card--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: saturate(0);
}

.hp-white-card--disabled:hover {
  transform: none;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.25);
}

.hp-white-card__text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #18181b;
  line-height: 1.35;
  text-align: left;
}

.hp-white-card__badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: #ec4899;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.5);
  animation: hp-badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid #09090b;
}

/* ============================================
   HAND (bottom card tray)
   ============================================ */
.hp-hand {
  margin-top: auto;
  padding: 0.75rem 0 1rem;
  background: linear-gradient(to top,
    rgba(9, 9, 11, 0.98) 0%,
    rgba(9, 9, 11, 0.95) 60%,
    rgba(9, 9, 11, 0.7) 85%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.hp-hand__cards {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding: 0.875rem 1.25rem 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* fade edges for scroll indication */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.hp-hand__cards::-webkit-scrollbar {
  display: none;
}

.hp-hand__cards > * {
  scroll-snap-align: start;
}

.hp-hand__submit-btn {
  align-self: center;
  padding: 0.8rem 2.5rem;
  min-height: 48px;
  background: #ec4899;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
  letter-spacing: 0.02em;
}

.hp-hand__submit-btn:hover:not(:disabled),
.hp-hand__submit-btn:active:not(:disabled) {
  background: #db2777;
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.4);
}

.hp-hand__submit-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.hp-hand__submit-btn:disabled {
  background: #27272a;
  color: #52525b;
  cursor: not-allowed;
  box-shadow: none;
}

.hp-hand__status {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  color: #52525b;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem;
}

/* ============================================
   SUBMISSIONS (Judging Phase)
   ============================================ */
.hp-submissions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  animation: hp-fadeIn 0.4s ease-out;
}

.hp-submission-group {
  display: flex;
  gap: 0.5rem;
  padding: 0.875rem;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid #27272a;
  border-radius: 14px;
  cursor: default;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  font-family: 'Outfit', sans-serif;
}

.hp-submission-group--interactive {
  cursor: pointer;
}

.hp-submission-group--interactive:hover,
.hp-submission-group--interactive:active {
  border-color: #3f3f46;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hp-submission-group--selected {
  border-color: #ec4899;
  box-shadow:
    0 0 20px rgba(236, 72, 153, 0.2),
    0 0 0 1px #ec4899;
  animation: hp-glow 2s ease-in-out infinite;
}

.hp-submission-group--winner {
  border-color: #22c55e;
  box-shadow:
    0 0 20px rgba(34, 197, 94, 0.2),
    0 0 0 1px #22c55e;
}

.hp-submission-group__card {
  width: 130px;
  min-height: 160px;
  background: #fafafa;
  border-radius: 10px;
  padding: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid #e4e4e7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hp-submission-group__card .hp-white-card__text {
  font-size: 0.8125rem;
}

/* ============================================
   SCOREBOARD
   ============================================ */
.hp-scoreboard {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hp-scoreboard__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #52525b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.hp-scoreboard__player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s;
}

.hp-scoreboard__player:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hp-scoreboard__player--winner {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.15);
}

.hp-scoreboard__name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #a1a1aa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-scoreboard__score {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ec4899;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   TIMER
   ============================================ */
.hp-timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-timer__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #52525b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hp-timer__value {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fafafa;
  font-variant-numeric: tabular-nums;
}

.hp-timer--urgent {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  animation: hp-pulse 0.6s ease-in-out infinite;
}

.hp-timer--urgent .hp-timer__label {
  color: rgba(239, 68, 68, 0.6);
}

.hp-timer--urgent .hp-timer__value {
  color: #f87171;
}

/* ============================================
   CZAR WAITING
   ============================================ */
.hp-czar-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.875rem;
  padding: 2rem;
  text-align: center;
  animation: hp-fadeIn 0.5s ease-out;
}

.hp-czar-waiting__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.625rem;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
}

.hp-czar-waiting__text {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #71717a;
}

.hp-czar-waiting__count {
  font-family: 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: #d4d4d8;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   WINNER BANNER
   ============================================ */
.hp-winner-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  padding: 1.75rem;
  text-align: center;
  animation: hp-fadeIn 0.5s ease-out;
}

.hp-winner-banner__confetti {
  font-size: 3.5rem;
  line-height: 1;
  animation: hp-confettiBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hp-winner-banner__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hp-winner-banner__name {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #ec4899;
  text-shadow: 0 0 40px rgba(236, 72, 153, 0.3);
}

.hp-winner-banner__score {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #a1a1aa;
}

.hp-winner-banner__cards {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.hp-winner-banner__card {
  background: #fafafa;
  color: #18181b;
  padding: 0.9rem 1.125rem;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  max-width: 170px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid #e4e4e7;
  animation: hp-slideUp 0.5s ease-out;
}

/* Game Over variant — bigger, more dramatic */
.hp-winner-banner--game-over {
  padding: 2.5rem 1.5rem;
}

.hp-winner-banner--game-over .hp-winner-banner__title {
  font-size: 2.25rem;
  color: #fafafa;
  letter-spacing: 0.2em;
  text-shadow: 0 0 40px rgba(236, 72, 153, 0.2);
}

.hp-winner-banner--game-over .hp-winner-banner__name {
  font-size: 2.75rem;
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.3));
}

.hp-winner-banner--game-over .hp-winner-banner__confetti {
  font-size: 4.5rem;
}

/* ============================================
   ROUND END
   ============================================ */
.hp-round-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2rem;
}

.hp-round-end__countdown {
  font-family: 'Outfit', sans-serif;
  color: #52525b;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

/* ============================================
   GAME OVER
   ============================================ */
.hp-game-over {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem 1rem;
  overflow-y: auto;
  animation: hp-fadeIn 0.6s ease-out;
}

.hp-game-over__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom);
}

.hp-game-over__actions .hp-home__btn {
  min-width: 140px;
}

.hp-game-over__waiting {
  font-family: 'Outfit', sans-serif;
  color: #71717a;
  font-size: 1rem;
  font-weight: 400;
}

/* ============================================
   RESPONSIVE — Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .hp-game__sidebar {
    display: flex;
  }

  .hp-game__scoreboard-toggle {
    display: none;
  }

  .hp-black-card {
    max-width: 360px;
  }

  .hp-white-card {
    width: 160px;
    min-height: 210px;
  }

  .hp-white-card__text {
    font-size: 0.9375rem;
  }

  .hp-submission-group__card {
    width: 150px;
    min-height: 180px;
  }

  .hp-hand__cards {
    padding: 1rem 2rem 0.625rem;
    gap: 0.75rem;
  }

  .hp-hand__submit-btn {
    padding: 0.875rem 3rem;
  }

  .hp-game__main {
    padding: 0;
  }

  .hp-submissions {
    padding: 1.5rem;
    gap: 1.25rem;
  }
}

/* ============================================
   RESPONSIVE — Tablet (768-1023px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .hp-hand__cards {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 0.875rem 1rem;
  }

  .hp-white-card {
    width: 140px;
    min-height: 180px;
  }

  .hp-submission-group__card {
    width: 140px;
    min-height: 170px;
  }
}

/* ============================================
   RESPONSIVE — Mobile (<768px)
   ============================================ */
@media (max-width: 767px) {
  .hp-home__title {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .hp-home__tagline {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }

  .hp-lobby__code {
    font-size: 1.75rem;
  }

  .hp-lobby__code-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .hp-black-card {
    max-width: 280px;
    padding: 1.25rem;
    aspect-ratio: auto;
    min-height: 190px;
  }

  .hp-black-card__text {
    font-size: 1.0625rem;
  }

  .hp-white-card {
    width: 130px;
    min-height: 170px;
    padding: 0.875rem;
  }

  .hp-white-card__text {
    font-size: 0.8125rem;
  }

  .hp-submissions {
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
  }

  .hp-submission-group {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  .hp-submission-group__card {
    width: 120px;
    min-height: 150px;
    padding: 0.75rem;
  }

  .hp-winner-banner--game-over .hp-winner-banner__title {
    font-size: 1.5rem;
  }

  .hp-winner-banner--game-over .hp-winner-banner__name {
    font-size: 2rem;
  }

  .hp-winner-banner--game-over .hp-winner-banner__confetti {
    font-size: 3.5rem;
  }

  /* mobile bottom tray feel */
  .hp-hand {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .hp-hand__cards {
    padding: 0.75rem 0.75rem 0.375rem;
    gap: 0.5rem;
  }

  .hp-phase-bar {
    padding: 0.5rem 0.75rem;
    padding-top: max(0.5rem, env(safe-area-inset-top));
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }
}

/* ============================================
   RESPONSIVE — Small mobile (<400px)
   ============================================ */
@media (max-width: 399px) {
  .hp-home__title {
    font-size: 2rem;
  }

  .hp-home__content {
    padding: 0 0.25rem;
  }

  .hp-white-card {
    width: 115px;
    min-height: 150px;
    padding: 0.75rem;
  }

  .hp-white-card__text {
    font-size: 0.875rem;
  }

  .hp-hand__cards {
    gap: 0.375rem;
    padding: 0.625rem 0.5rem 0.375rem;
  }

  .hp-hand__submit-btn {
    padding: 0.75rem 1.75rem;
    min-height: 44px;
    font-size: 0.9375rem;
  }

  .hp-lobby__code {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
  }

  .hp-submission-group__card {
    width: 105px;
    min-height: 130px;
  }

  .hp-submission-group__card .hp-white-card__text {
    font-size: 0.8125rem;
  }

  .hp-black-card {
    max-width: 260px;
    min-height: 170px;
    padding: 1rem;
  }

  .hp-black-card__text {
    font-size: 1rem;
  }

  .hp-winner-banner__name {
    font-size: 1.5rem;
  }

  .hp-winner-banner--game-over .hp-winner-banner__title {
    font-size: 1.25rem;
  }

  .hp-winner-banner--game-over .hp-winner-banner__name {
    font-size: 1.75rem;
  }
}

/* ============================================
   ADDITIONAL CLASSES — Component Updates
   ============================================ */

/* Phase bar layout helpers */
.hp-phase-bar__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.hp-phase-bar__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Czar waiting extras */
.hp-czar-waiting__icon {
  font-size: 3rem;
  line-height: 1;
  animation: hp-confettiBounce 0.6s ease-out;
}

.hp-czar-waiting__progress {
  width: 100%;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

/* Confirm pick area (czar judging) */
.hp-game__confirm-area {
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, #09090b 60%, transparent);
}

/* Hand submitted state — shows cards you played */
.hp-hand__submitted {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 1.5rem;
  animation: hp-fadeIn 0.4s ease-out;
}

.hp-hand__submitted-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hp-hand__submitted-cards {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hp-hand__submitted-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #a1a1aa;
  max-width: 200px;
}

/* Home screen code input */
.hp-home__input--code {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Lobby code actions row */
.hp-lobby__code-actions {
  display: flex;
  gap: 0.5rem;
}

/* Winner banner subtitle */
.hp-winner-banner__subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #71717a;
  margin-top: -0.5rem;
}

/* ============================================
   RESPONSIVE — Landscape phones
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hp-black-card {
    max-width: 200px;
    min-height: 140px;
    aspect-ratio: auto;
    padding: 0.875rem;
  }

  .hp-black-card__text {
    font-size: 0.9375rem;
  }

  .hp-game__black-card {
    padding: 0.75rem 1rem 0;
  }

  .hp-hand {
    padding: 0.375rem 0 0.5rem;
  }

  .hp-hand__cards {
    padding: 0.5rem 0.75rem 0.25rem;
  }

  .hp-white-card {
    width: 110px;
    min-height: 120px;
    padding: 0.625rem;
  }

  .hp-white-card--selected {
    transform: translateY(-10px) !important;
  }

  .hp-czar-waiting {
    padding: 1rem;
    gap: 0.5rem;
  }

  .hp-czar-waiting__icon {
    font-size: 2rem;
  }

  .hp-czar-waiting__title {
    font-size: 1.25rem;
  }

  .hp-winner-banner {
    padding: 1rem;
    gap: 0.5rem;
  }

  .hp-winner-banner--game-over {
    padding: 1rem;
  }

  .hp-submissions {
    padding: 0.5rem;
    gap: 0.625rem;
  }

  .hp-submission-group__card {
    width: 100px;
    min-height: 110px;
  }
}
