:root {
  --bg: #faf7ff;
  --cream: #fffdfb;
  --panel: #ffffff;
  --border: #f3d9e6;
  --text: #443a5c;
  --muted: #a597bd;
  --accent: #f45d9c;
  --accent-2: #d63c82;
  --accent-soft: #fdeef5;
  --ok: #22a06b;
  --warn: #e8590c;
  --danger: #e03131;
  --board-bg: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23f6d7e4' fill-opacity='0.85'%3E%3Ccircle cx='40' cy='32' r='6.5'/%3E%3Ccircle cx='60' cy='32' r='6.5'/%3E%3Ccircle cx='50' cy='23' r='6.5'/%3E%3Ccircle cx='50' cy='40' r='6'/%3E%3Cpath d='M36 56 Q32 68 44 73 Q50 75.5 50 75.5 Q50 75.5 56 73 Q68 68 64 56 Q60 49 50 51 Q40 49 36 56 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px;
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  line-height: 1.6;
}

.hidden { display: none !important; }

.site-header {
  text-align: center;
  padding: 26px 16px 4px;
}

.site-header h1 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--accent-2);
}

.logo {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 12 L4 2 L14 8 Z' fill='%23f6a5c0'/%3E%3Cpath d='M24 12 L28 2 L18 8 Z' fill='%23f6a5c0'/%3E%3Ccircle cx='16' cy='17' r='12' fill='%23f9a8c4'/%3E%3Cpath d='M9 11 L7 5 L12 9 Z' fill='%23ff8fab'/%3E%3Cpath d='M23 11 L25 5 L20 9 Z' fill='%23ff8fab'/%3E%3Cpath d='M10.5 15.5 Q12 13.5 13.5 15.5' stroke='%233c2a44' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3Cpath d='M18.5 15.5 Q20 13.5 21.5 15.5' stroke='%233c2a44' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3Cpath d='M15 19 L17 19 L16 20.5 Z' fill='%23f45d9c'/%3E%3Cpath d='M16 20.5 Q14.6 22 13.2 21.4 M16 20.5 Q17.4 22 18.8 21.4' stroke='%233c2a44' stroke-width='1.1' fill='none' stroke-linecap='round'/%3E%3Cpath d='M4.5 16.5 L9 16.8 M4 19.5 L9.4 18.6 M27.5 16.5 L23 16.8 M28 19.5 L22.6 18.6' stroke='%233c2a44' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  vertical-align: -6px;
}

.site-header .sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-header .ver {
  display: inline-block;
  margin-left: 4px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 0.72rem;
  vertical-align: 1px;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(244, 93, 156, 0.13);
  padding: 16px;
}

/* ---------- 参加画面 ---------- */

.join-panel {
  position: relative;
  max-width: 460px;
  margin: 44px auto 0;
}

.join-panel::before,
.join-panel::after {
  content: '';
  position: absolute;
  top: -26px;
  width: 54px;
  height: 46px;
  background: linear-gradient(180deg, #ffb3c8, #ff9ebd);
  border-radius: 18px 18px 4px 4px;
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.join-panel::before {
  left: 26px;
  transform: rotate(-24deg);
}

.join-panel::after {
  right: 26px;
  transform: rotate(24deg);
}

.join-panel h2 {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 1.15rem;
}

.lang-row {
  margin-bottom: 14px;
}

.multilang-note {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.lang-field {
  margin-bottom: 0;
}

.lang-field select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  color: var(--text);
  font-size: 0.95rem;
}

.cat-mascot {
  position: relative;
  width: 168px;
  margin: -8px auto 2px;
}

.cat-mascot svg {
  display: block;
  width: 100%;
  height: auto;
}

.cat-bubble {
  position: absolute;
  top: 22px;
  right: -20px;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent-2);
  font-weight: 700;
  padding: 2px 11px;
  border-radius: 999px;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(244, 93, 156, 0.22);
  animation: bob 2.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.field input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 93, 156, 0.18);
}

.join-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.invite-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #e6f7ef;
  border: 1.5px solid #a5e3c6;
  color: var(--ok);
  font-size: 0.9rem;
  text-align: center;
}

.invite-notice p {
  margin: 2px 0;
}

.invite-notice b {
  color: #137a52;
}

.join-actions button.highlight {
  border-color: var(--ok);
  background: #e6f7ef;
  animation: invite-pulse 1.4s ease-in-out infinite;
}

@keyframes invite-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 160, 107, 0.35);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(34, 160, 107, 0);
  }
}

.join-actions button {
  flex: 1;
}

.hint {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.error-text {
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 0.9rem;
}

button {
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  color: var(--text);
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}

button:hover { border-color: var(--accent); background: var(--accent-soft); }
button:active { transform: scale(0.96); }
button:disabled { opacity: 0.5; cursor: not-allowed; }

button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}

button.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }

button.wide { width: 100%; margin-top: 12px; font-size: 1rem; padding: 12px; }

/* ---------- ゲーム画面 ---------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.room-chip, .round-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
}

.difficulty-chip {
  display: inline-flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--accent-2);
  font-weight: 600;
  white-space: nowrap;
}

.room-chip b {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}

.room-label { color: var(--muted); font-size: 0.8rem; }

.round-chip .timer {
  min-width: 44px;
  text-align: center;
  font-weight: 700;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}

.round-chip .timer.danger { color: var(--danger); animation: pulse 1s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.top-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.painter-banner {
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--accent), #b64ce0);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(244, 93, 156, 0.3);
}

.painter-banner .word {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-2);
  font-size: 2rem;
}

/* 「お絵かき中」表示（ほかの人が描いているとき） */
.drawing-indicator {
  margin-bottom: 12px;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, #7c5cff, #b64ce0);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.3);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
}

.canvas-frame {
  position: relative;
  background: var(--board-bg);
  border: 2px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(124, 108, 240, 0.12);
}

.canvas-frame canvas {
  display: block;
  width: 100%;
  height: auto;
  touch-action: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg fill='%23f45d9c'%3E%3Ccircle cx='12' cy='10' r='4.5'/%3E%3Ccircle cx='20' cy='10' r='4.5'/%3E%3Ccircle cx='16' cy='6' r='4.5'/%3E%3Ccircle cx='16' cy='14' r='4'/%3E%3Cpath d='M8 22 Q6 28 16 29 Q26 28 24 22 Q22 18 16 19 Q10 18 8 22 Z'/%3E%3C/g%3E%3C/svg%3E") 16 16, crosshair;
}

.canvas-frame canvas.eraser { cursor: cell; }

.canvas-hint {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--muted);
  font-size: 1rem;
  z-index: 1;
}

.canvas-hint.center-hint {
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.canvas-hint.bottom-hint {
  inset: auto 0 12px 0;
}

.canvas-hint.bottom-hint .pill {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(124, 108, 240, 0.18);
  font-size: 0.88rem;
  color: var(--accent-2);
  font-weight: 600;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.colors {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.color-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--border);
  padding: 0;
  cursor: pointer;
}

.color-btn.active {
  box-shadow: 0 0 0 2.5px var(--accent);
  transform: scale(1.12);
}

.color-btn.eraser-btn {
  background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 50% / 12px 12px;
  border: 2px dashed #bbb;
}

#colorPicker {
  width: 34px;
  height: 30px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.size-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.size-label {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

#sizeRange { width: 90px; accent-color: var(--accent); }

/* ---------- サイド ---------- */

.side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.side .panel { padding: 14px; }

.side h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--accent-2);
}

.player-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
}

.player-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.player-item .avatar { font-size: 1.15rem; }

.player-item .pname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.player-item .pscore {
  font-weight: 700;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}

.player-item .pbadge {
  font-size: 0.8rem;
}

.player-item.offline { opacity: 0.55; }

.player-item.me { box-shadow: inset 0 0 0 2px var(--accent); }

.lobby-settings .setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.lobby-settings select {
  padding: 5px 8px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  font-size: 0.88rem;
}

.lobby-wait {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 220px;
}

.chat-log {
  flex: 1;
  min-height: 150px;
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
}

.chat-line {
  padding: 5px 9px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--border);
  word-break: break-word;
}

.chat-line .cname {
  font-weight: 700;
  color: var(--accent-2);
  margin-right: 5px;
}

.chat-line a {
  color: var(--accent-2);
  text-decoration: underline;
  word-break: break-all;
}

.chat-line.guess { background: var(--accent-soft); border-color: #f7c7dc; }
.chat-line.system { background: transparent; border-color: transparent; color: var(--muted); text-align: center; font-size: 0.8rem; }
.chat-line.correct {
  background: #e6f7ef;
  border-color: #a5e3c6;
  color: var(--ok);
  font-weight: 700;
  animation: pop 0.35s ease;
}

@keyframes pop {
  0% { transform: scale(0.9); }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.chat-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 9px 11px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
}

.chat-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.guess-note {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- オーバーレイ ---------- */

.overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 30, 60, 0.55);
  backdrop-filter: blur(3px);
  z-index: 50;
  padding: 16px;
}

.overlay-box {
  background: var(--panel);
  border-radius: 22px;
  padding: 26px 30px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: pop 0.3s ease;
}

.overlay-box h2 {
  margin: 0 0 8px;
  color: var(--accent-2);
}

.overlay-box p {
  margin: 6px 0;
  color: var(--muted);
}

.overlay-word {
  margin: 14px auto;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-2);
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 2px dashed var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.correct-badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--ok);
  color: #fff;
  font-size: 0.62em;
  font-weight: 700;
  vertical-align: 3px;
  white-space: nowrap;
}

.nowrap {
  white-space: nowrap;
}

.chat-line .correct-badge {
  font-size: 0.72em;
  padding: 1px 8px;
  margin-left: 4px;
  vertical-align: 1px;
}

.overlay-extra { margin: 8px 0; font-size: 0.95rem; }
.overlay-actions { margin-top: 16px; }

.overlay-actions button {
  padding: 11px 26px;
  font-size: 1rem;
}

.ranking-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.ranking-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.ranking-list li:first-child {
  background: #fff6d9;
  border-color: #f2d36b;
  font-weight: 700;
}

.ranking-list .rscore {
  margin-left: auto;
  font-weight: 700;
  color: var(--accent-2);
}

.spinner {
  width: 36px;
  height: 36px;
  margin: 14px auto;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  background: #2b2440;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  z-index: 80;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    min-height: 180px;
  }

  .topbar { gap: 8px; }

  .site-header { padding-top: 18px; }
}

/* ---------- スマホ縦: キャンバス＋ツールバー＋チャットを1画面に収める ---------- */

@media (max-width: 700px) {
  #screen-game {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .site-header {
    padding: 4px 8px 0;
  }

  .site-header h1 {
    font-size: 0.95rem;
  }

  .site-header .logo {
    width: 22px;
    height: 22px;
    margin-right: 5px;
    vertical-align: -5px;
  }

  .site-header .sub {
    display: none;
  }

  main {
    padding: 4px 8px 18px;
  }

  .topbar {
    order: 0;
    gap: 4px;
    margin-bottom: 0;
    flex-wrap: nowrap;
  }

  .room-chip,
  .round-chip {
    padding: 2px 8px;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .difficulty-chip {
    padding: 2px 8px;
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .room-chip b {
    font-size: 0.9rem;
  }

  #btnCopyInvite {
    display: none;
  }

  .round-chip .painter-hint {
    display: none;
  }

  .top-actions {
    gap: 4px;
    flex-shrink: 0;
  }

  .top-actions button {
    padding: 4px 7px;
    font-size: 0.85rem;
  }

  #btnCopyInvite .label {
    display: none;
  }

  .painter-banner {
    order: 2;
    padding: 3px 8px;
    font-size: 0.8rem;
    margin-bottom: 0;
  }

  .painter-banner .word {
    font-size: 0.95rem;
  }

  .layout {
    display: contents;
  }

  .side {
    display: contents;
  }

  .canvas-col {
    order: 3;
  }

  .players-panel {
    order: 1;
    padding: 3px 8px;
  }

  .players-panel h3 {
    display: none;
  }

  .player-list {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    gap: 6px;
    align-items: center;
  }

  .player-item {
    flex: 0 0 auto;
    padding: 2px 7px;
    font-size: 0.75rem;
    border-radius: 999px;
  }

  .chat-panel {
    order: 4;
    flex: 0 1 auto;
    height: 32vh;
    min-height: 150px;
    max-height: 36vh;
    padding: 10px;
  }

  .chat-panel h3 {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .chat-log {
    min-height: 0;
    max-height: none;
    flex: 1;
    font-size: 0.9rem;
  }

  .canvas-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
  }

  .canvas-frame canvas {
    max-height: 28vh;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }

  .toolbar {
    margin-top: 8px;
    padding: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .colors {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    min-width: 0;
  }

  .color-btn {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
  }

  .size-row {
    order: 2;
    flex: 0 1 auto;
    margin-left: auto;
  }

  .size-label {
    font-size: 0.75rem;
  }

  #sizeRange {
    width: 130px;
  }

  #btnUndo,
  #btnClear {
    order: 2;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .join-actions { flex-direction: column; }

  .overlay-box { padding: 20px 18px; }

  .overlay-word { font-size: 1.6rem; }

  .room-chip { flex-wrap: wrap; }
}


/* オーバーレイの「終わる」ボタン */
.overlay-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}
.overlay-actions button {
  min-width: 220px;
}
