* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  color: #e6ecf2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  user-select: none;
}

/* Background themes — body bg shows through the (alpha-transparent) WebGL
   canvas. Persisted via localStorage. */
body { background: #0a0d14; transition: background 0.4s ease; }
body.bg-midnight { background: radial-gradient(ellipse at 50% 35%, #16213a 0%, #0a0d14 65%, #050608 100%); }
body.bg-nebula   { background: radial-gradient(ellipse at 30% 25%, #4b1f7a 0%, #1c0d3a 45%, #07060f 100%); }
body.bg-aurora   { background: linear-gradient(160deg, #073650 0%, #0b4b5f 25%, #122e4d 55%, #0a1422 100%); }
body.bg-twilight { background: linear-gradient(170deg, #4b1f3a 0%, #2c1330 45%, #0c0a18 90%); }
body.bg-forest   { background: radial-gradient(ellipse at 50% 85%, #1f4733 0%, #0d2a26 45%, #050a09 100%); }
body.bg-ember    { background: radial-gradient(ellipse at 50% 100%, #6a1a14 0%, #2b0c10 45%, #100608 100%); }

#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  touch-action: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hidden {
  display: none !important;
}

/* --- Loading overlay --- */
#loading-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0d14;
  z-index: 1000;
}

.loading-card { text-align: center; }
.loading-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffd35c;
  margin-bottom: 18px;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(180, 200, 240, 0.2);
  border-top-color: #ffd35c;
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin 0.9s linear infinite;
}

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

.loading-text { color: #99a5b8; font-size: 14px; }

/* --- Generic overlay (title / setup / howto / gameover) --- */
.overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.92), rgba(20, 14, 30, 0.92));
  backdrop-filter: blur(4px);
}

/* --- Title --- */
.title-card {
  background: #141d2b;
  border: 1px solid rgba(180, 200, 240, 0.35);
  border-radius: 14px;
  padding: 40px 44px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
}

.title-name {
  margin: 0 0 14px;
  font-size: 42px;
  letter-spacing: 1.5px;
  color: #ffd35c;
  font-weight: 700;
}

.title-tagline {
  margin: 0 0 28px;
  color: #b9c5d4;
  font-size: 15px;
  line-height: 1.5;
}

.title-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.title-actions button,
.setup-actions button,
.howto-actions button,
.gameover-actions button {
  background: #2a3a55;
  color: #e6ecf2;
  border: 1px solid rgba(180, 200, 240, 0.4);
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 15px;
}

.title-actions button:hover,
.setup-actions button:hover,
.howto-actions button:hover,
.gameover-actions button:hover {
  background: #3a4d70;
}

button.primary {
  background: #3d6dc9;
  border-color: rgba(180, 220, 255, 0.5);
}
button.primary:hover {
  background: #4a82e6;
}

.title-foot {
  margin: 12px 0 0;
  font-size: 12px;
  color: #6f7a8d;
}

/* --- Setup --- */
.setup-card {
  background: #141d2b;
  border: 1px solid rgba(180, 200, 240, 0.35);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
}

.setup-card h2 {
  margin: 0 0 18px;
  color: #ffd35c;
  font-size: 22px;
}

.setup-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.setup-field > span {
  color: #b9c5d4;
  font-size: 14px;
}

.setup-field select,
.setup-player-row select {
  background: #1a2230;
  color: #e6ecf2;
  border: 1px solid rgba(120, 150, 200, 0.4);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-family: inherit;
}

#setup-player-rows {
  margin: 14px 0 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(120, 150, 200, 0.18);
  border-bottom: 1px solid rgba(120, 150, 200, 0.18);
}

.setup-player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.setup-player-row .swatch {
  width: 14px; height: 14px; border-radius: 50%;
  flex-shrink: 0;
}

.setup-player-row .player-label {
  min-width: 60px;
  font-size: 14px;
  color: #d6deea;
}

.setup-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* --- HUD --- */
body:not(.in-game) #hud-banner-wrap,
body:not(.in-game) #hud-scores,
body:not(.in-game) #hud-tray-wrap,
body:not(.in-game) #hud-controls,
body:not(.in-game) #hud-top-right,
body:not(.in-game) #hud-help,
body:not(.in-game) #hud-keys,
body:not(.in-game) #hud-view-controls {
  display: none;
}

#hud-view-controls {
  position: fixed;
  left: 14px;
  top: 246px;     /* below the keys panel */
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 5;
}

#hud-view-controls .hud-btn {
  font-size: 12px;
  padding: 5px 10px;
}

#hud-banner-wrap {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

#hud-banner {
  background: rgba(15, 20, 30, 0.78);
  border: 1px solid rgba(120, 150, 200, 0.3);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
}

#hud-scores {
  position: fixed;
  top: 56px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 5;
  width: 240px;
  max-width: calc(100vw - 28px);
}

.score-row {
  background: rgba(15, 20, 30, 0.78);
  border: 1px solid rgba(120, 150, 200, 0.25);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, background 0.2s;
}

.score-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-row.disconnected {
  opacity: 0.6;
  border-style: dashed;
}

.opp-pieces {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px 0 0;
}

.opp-piece {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  line-height: 0;
}

.opp-piece svg {
  display: block;
}

.score-row.current {
  border-color: rgba(255, 220, 120, 0.8);
  background: rgba(40, 32, 18, 0.86);
}

.score-row.passed {
  opacity: 0.55;
  text-decoration: line-through;
}

.score-row .swatch {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.score-row .name {
  flex: 1;
  font-weight: 500;
}

.score-row .metric {
  color: #cfd8e3;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.score-row .placed { color: #e6ecf2; font-weight: 600; }
.score-row .sep { color: #6f7a8d; margin: 0 3px; }
.score-row .remaining { color: #99a5b8; }

#hud-top-right {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  gap: 6px;
}

.hud-btn {
  background: #1a2230;
  color: #e6ecf2;
  border: 1px solid rgba(120, 150, 200, 0.4);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
}

.hud-btn:hover:not(:disabled) {
  background: #243047;
}

#btn-hint {
  background: #4a8eff;
  border-color: rgba(180, 220, 255, 0.6);
  color: #fff;
}
#btn-hint:hover:not(:disabled) {
  background: #5fa0ff;
}
#btn-hint.active {
  background: #ffd35c;
  border-color: rgba(255, 220, 120, 0.85);
  color: #2a1d00;
}

#btn-show-results {
  background: #ffd35c;
  border-color: rgba(255, 220, 120, 0.85);
  color: #2a1d00;
}
#btn-show-results:hover:not(:disabled) {
  background: #ffe084;
}

.hidden { display: none !important; }

#hud-tray-wrap {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 220px;
  background: rgba(15, 20, 30, 0.82);
  border: 1px solid rgba(120, 150, 200, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
  backdrop-filter: blur(6px);
  z-index: 5;
  overflow: hidden;
}

#hud-tray {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  /* Top padding gives the selected piece room to lift 2px upward inside the
     scroll container's padding-box (overflow:hidden clips at the padding-box
     edge, so the lift stays visible as long as it's inside this padding). */
  padding-top: 4px;
  padding-bottom: 2px;
}

.tray-piece {
  flex-shrink: 0;
  background: #1a2230;
  border: 1px solid rgba(120, 150, 200, 0.3);
  border-radius: 6px;
  padding: 2px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.12s, background 0.12s, transform 0.12s;
}

.tray-piece:hover:not(:disabled) {
  border-color: rgba(180, 200, 240, 0.7);
  background: #243047;
}

.tray-piece.selected {
  border-color: #ffd35c;
  background: rgba(60, 50, 20, 0.6);
  transform: translateY(-2px);
}

.tray-empty {
  color: #6f7a8d;
  font-size: 13px;
  padding: 8px 10px;
}

#hud-controls {
  position: fixed;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 20, 30, 0.82);
  border: 1px solid rgba(120, 150, 200, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
  backdrop-filter: blur(6px);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 196px;
}

#hud-selected-preview {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  width: 100%;
}

#hud-selected-preview .hint {
  color: #6f7a8d;
  font-size: 12px;
}

#hud-controls-row {
  display: flex;
  gap: 4px;
}

.ctrl-btn {
  background: #1a2230;
  color: #e6ecf2;
  border: 1px solid rgba(120, 150, 200, 0.4);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 16px;
  min-width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctrl-btn:hover:not(:disabled) {
  background: #243047;
}

.ctrl-btn.primary {
  background: #3d6dc9;
  border-color: rgba(180, 220, 255, 0.5);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

.ctrl-btn.primary:hover:not(:disabled) {
  background: #4a82e6;
}

.ctrl-btn.primary.legal {
  background: #4caf50;
  border-color: rgba(180, 255, 200, 0.7);
}

/* --- Keys panel (in-game, left edge) --- */
#hud-keys {
  position: fixed;
  top: 70px;
  left: 14px;
  background: rgba(15, 20, 30, 0.78);
  border: 1px solid rgba(120, 150, 200, 0.25);
  border-radius: 8px;
  padding: 8px 12px 10px;
  backdrop-filter: blur(6px);
  z-index: 5;
  font-size: 12px;
  color: #cfd8e3;
  user-select: none;
}

.hud-keys-header {
  font-size: 11px;
  color: #99a5b8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.controls-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

.controls-list.compact {
  font-size: 12px;
  line-height: 1.85;
}

.controls-list li {
  white-space: nowrap;
}

kbd {
  display: inline-block;
  background: #2a3a55;
  color: #e6ecf2;
  border: 1px solid rgba(180, 200, 240, 0.4);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 11px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  min-width: 18px;
  text-align: center;
  line-height: 1.5;
  vertical-align: 1px;
}

.howto-subhead {
  margin: 14px 0 6px;
  font-size: 14px;
  color: #b9d1ff;
  letter-spacing: 0.3px;
}

#hud-help {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translate(-50%, -10px);
  background: rgba(60, 30, 30, 0.92);
  border: 1px solid rgba(255, 120, 120, 0.5);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: #ffd1d1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 10;
}

#hud-help.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --- Multiplayer (choice / join / lobby) --- */
.mp-blurb {
  margin: 0 0 18px;
  color: #b9c5d4;
  font-size: 14px;
  line-height: 1.5;
}

.mp-choice-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-choice-actions button {
  background: #2a3a55;
  color: #e6ecf2;
  border: 1px solid rgba(180, 200, 240, 0.4);
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
}

.mp-choice-actions button:hover { background: #3a4d70; }

.mp-error {
  margin: 12px 0 0;
  padding: 8px 12px;
  background: rgba(120, 30, 30, 0.65);
  border: 1px solid rgba(255, 120, 120, 0.5);
  color: #ffd1d1;
  border-radius: 6px;
  font-size: 13px;
}

.mp-error.hidden { display: none; }

#mp-join-name,
#lobby-my-name,
.player-name-input {
  background: #1a2230;
  color: #e6ecf2;
  border: 1px solid rgba(120, 150, 200, 0.4);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-family: inherit;
  flex: 1;
  min-width: 0;
}

.player-name-input {
  width: 140px;
  flex: 0 0 auto;
}

.lobby-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 14px;
}

.lobby-name-row label {
  color: #b9c5d4;
  font-size: 13px;
  min-width: 80px;
}

#lobby-my-name {
  flex: 1;
}

#mp-join-code {
  background: #1a2230;
  color: #e6ecf2;
  border: 1px solid rgba(120, 150, 200, 0.4);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 18px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  letter-spacing: 4px;
  width: 140px;
  text-align: center;
  text-transform: uppercase;
}

.lobby-card {
  background: #141d2b;
  border: 1px solid rgba(180, 200, 240, 0.35);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
}

.lobby-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lobby-header h2 {
  margin: 0;
  color: #ffd35c;
  font-size: 22px;
}

#lobby-leave {
  background: #2a3a55;
  color: #cfd8e3;
  border: 1px solid rgba(180, 200, 240, 0.3);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-family: inherit;
}

.lobby-code-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(120, 150, 200, 0.25);
  border-radius: 8px;
  margin-bottom: 6px;
}

.lobby-code-label {
  font-size: 12px;
  color: #99a5b8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.lobby-code {
  flex: 1;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #ffd35c;
}

.lobby-copied {
  font-size: 12px;
  color: #6fe09a;
  text-align: right;
  margin: 4px 4px 12px;
}
.lobby-copied.hidden { visibility: hidden; }

.lobby-config {
  display: flex;
  gap: 18px;
  margin: 12px 0 14px;
}

.lobby-config .setup-field {
  flex: 1;
  margin: 0;
}

.lobby-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid rgba(120, 150, 200, 0.18);
  border-bottom: 1px solid rgba(120, 150, 200, 0.18);
}

.lobby-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
}

.lobby-slot .swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lobby-slot .slot-name {
  min-width: 64px;
  font-size: 14px;
  color: #d6deea;
}

.lobby-slot .slot-status {
  flex: 1;
  font-size: 13px;
  color: #99a5b8;
}

.lobby-slot .slot-status.filled { color: #cfe7d6; }
.lobby-slot .slot-status.you { color: #ffd35c; font-weight: 600; }
.lobby-slot .slot-status.waiting { color: #d6c084; font-style: italic; }

.lobby-slot select {
  background: #1a2230;
  color: #e6ecf2;
  border: 1px solid rgba(120, 150, 200, 0.4);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-family: inherit;
}

.lobby-slot select:disabled {
  opacity: 0.5;
}

.slot-take-btn {
  background: #2a3a55;
  color: #cfe7d6;
  border: 1px solid rgba(180, 220, 180, 0.5);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.slot-take-btn:hover { background: #3a4d70; border-color: rgba(180, 220, 180, 0.8); }

.lobby-status {
  margin: 12px 0;
  font-size: 13px;
  color: #99a5b8;
  text-align: center;
  min-height: 1.2em;
}

.lobby-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.lobby-actions button {
  background: #2a3a55;
  color: #e6ecf2;
  border: 1px solid rgba(180, 200, 240, 0.4);
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
}

.lobby-actions button.primary {
  background: #3d6dc9;
  border-color: rgba(180, 220, 255, 0.5);
}
.lobby-actions button.primary:hover:not(:disabled) { background: #4a82e6; }
.lobby-actions button:disabled { opacity: 0.4; cursor: not-allowed; }

/* --- Howto --- */
.howto-card {
  background: #141d2b;
  border: 1px solid rgba(180, 200, 240, 0.35);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
}

.howto-card h2 {
  margin: 0 0 14px;
  color: #ffd35c;
  font-size: 22px;
}

.howto-preview-wrap {
  background: linear-gradient(180deg, #0a0d14 0%, #11151f 100%);
  border-radius: 8px;
  border: 1px solid rgba(120, 150, 200, 0.2);
  padding: 6px 6px 8px;
  margin-bottom: 14px;
}

.howto-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
}

.howto-caption {
  margin-top: 4px;
  text-align: center;
  font-size: 14px;
  color: #cfd8e3;
  min-height: 1.4em;
}

.howto-list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #b9c5d4;
  font-size: 13px;
  line-height: 1.6;
}

.howto-list b { color: #e6ecf2; }

.howto-actions {
  display: flex;
  justify-content: flex-end;
}

/* --- Game over --- */
.gameover-card {
  background: #141d2b;
  border: 1px solid rgba(180, 200, 240, 0.4);
  border-radius: 14px;
  padding: 32px 36px;
  text-align: center;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
}

.gameover-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

#gameover-rankings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0 20px;
}

.gameover-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  padding: 8px 12px;
}

.gameover-row .rank {
  font-weight: 700;
  color: #ffd35c;
  width: 28px;
  text-align: left;
}

.gameover-row .swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gameover-row .name {
  flex: 1;
  text-align: left;
}

.gameover-row .metric {
  color: #cfd8e3;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.gameover-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* --- Mobile --- */
@media (max-width: 720px) {
  #hud-keys { display: none; }

  #hud-scores { width: 180px; right: 10px; top: 46px; }
  .score-row { padding: 4px 8px; font-size: 12px; }
  .score-row .metric { font-size: 11px; }
  .opp-piece { width: 16px; height: 16px; }
  #hud-top-right { top: 10px; right: 10px; }
  #hud-banner { font-size: 13px; padding: 6px 14px; }
  #hud-tray-wrap { right: 14px; bottom: 110px; max-height: 80px; }
  #hud-controls {
    width: auto;
    bottom: 10px;
    right: 10px;
    left: 10px;
    flex-direction: row;
    justify-content: space-between;
  }
  #hud-selected-preview { width: 70px; height: 56px; flex-shrink: 0; }
  .ctrl-btn { min-width: 40px; height: 40px; font-size: 18px; padding: 6px 8px; }
  .ctrl-btn.primary { padding: 6px 16px; font-size: 13px; }
  .title-card { padding: 28px 24px; }
  .title-name { font-size: 32px; }
  .setup-card { padding: 22px 20px; }
  .howto-card { padding: 22px 20px; }
}
