/* ==============================
   Hidden Cask - SweetAlert Modals
============================== */

/* Game Created Modal */
.hc-created-popup {
  width: min(720px, calc(100vw - 32px)) !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at top left, rgba(225, 195, 108, 0.20), transparent 38%),
    linear-gradient(180deg, #fbf5e7 0%, #f7efe0 100%) !important;
  border: 1px solid rgba(139, 69, 19, 0.20) !important;
  box-shadow: 0 24px 70px rgba(36, 24, 13, 0.34) !important;
}

.hc-created-title {
  margin: 0 !important;
  padding: 8px 30px 0 !important;
  color: #2b1b10 !important;
  font-size: clamp(28px, 4vw, 40px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

.hc-created-html {
  margin: 0 !important;
  padding: 8px 30px 0 !important;
  color: #55483d !important;
  text-align: left !important;
}

.hc-created-modal {
  display: grid;
  gap: 18px;
}

.hc-created-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #6f6257;
  text-align: center;
}

.hc-created-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(139, 69, 19, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hc-created-label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7b6a59;
}

.hc-created-code-box strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #8b4513;
}

.hc-created-link-wrap {
  display: block;
}

.hc-created-link-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hc-created-link-input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(139, 69, 19, 0.22);
  background: rgba(255, 255, 255, 0.84);
  color: #352318;
  font-size: 14px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  outline: none;
  box-sizing: border-box;
}

.hc-created-copy-btn {
  flex: 0 0 auto;
  min-width: 86px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: #8b4513;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(139, 69, 19, 0.24);
}

.hc-created-copy-btn:hover {
  background: #72370f;
}

.hc-created-copy-btn.is-copied {
  background: #2f7d32;
}

.hc-created-choice-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hc-created-choice-note div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(139, 69, 19, 0.14);
}

.hc-created-choice-note strong {
  display: block;
  margin-bottom: 4px;
  color: #2f2117;
  font-size: 14px;
}

.hc-created-choice-note span {
  display: block;
  color: #74675d;
  font-size: 13px;
  line-height: 1.35;
}

.hc-created-actions {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px !important;
  width: 100%;
  padding: 24px 30px 30px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.hc-created-action-btn {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.hc-created-action-btn:hover {
  transform: translateY(-1px);
}

.hc-created-start-btn {
  background: linear-gradient(180deg, #9b541d 0%, #7e3f13 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(139, 69, 19, 0.34) !important;
}

.hc-created-start-btn:hover {
  background: linear-gradient(180deg, #a85d22 0%, #72370f 100%) !important;
}

.hc-created-save-btn {
  background: #2f3746 !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(47, 55, 70, 0.24) !important;
}

.hc-created-save-btn:hover {
  background: #202735 !important;
}

@media (max-width: 640px) {
  .hc-created-popup {
    width: calc(100vw - 22px) !important;
    border-radius: 20px !important;
  }

  .hc-created-title {
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-size: 28px !important;
  }

  .hc-created-html {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hc-created-code-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .hc-created-link-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hc-created-copy-btn {
    width: 100%;
  }

  .hc-created-choice-note {
    grid-template-columns: 1fr;
  }

  .hc-created-actions {
    grid-template-columns: 1fr;
    padding: 22px 20px 24px !important;
  }

  .hc-created-action-btn {
    min-height: 56px;
  }
}

/* ==============================
   Hidden Cask - Void Game Modal
============================== */

.hc-void-popup {
  width: min(680px, calc(100vw - 32px)) !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at top left, rgba(225, 195, 108, 0.16), transparent 38%),
    linear-gradient(180deg, #fbf5e7 0%, #f7efe0 100%) !important;
  border: 1px solid rgba(139, 69, 19, 0.20) !important;
  box-shadow: 0 24px 70px rgba(36, 24, 13, 0.34) !important;
}

.hc-void-title {
  margin: 0 !important;
  padding: 8px 30px 0 !important;
  color: #2b1b10 !important;
  font-size: clamp(26px, 4vw, 36px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.hc-void-html {
  margin: 0 !important;
  padding: 8px 30px 0 !important;
  color: #55483d !important;
  text-align: left !important;
}

.hc-void-modal {
  display: grid;
  gap: 18px;
}

.hc-void-intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #6f6257;
  text-align: center;
}

.hc-void-choice-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hc-void-choice-note div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(139, 69, 19, 0.14);
}

.hc-void-choice-note strong {
  display: block;
  margin-bottom: 4px;
  color: #2f2117;
  font-size: 14px;
}

.hc-void-choice-note span {
  display: block;
  color: #74675d;
  font-size: 13px;
  line-height: 1.35;
}

.hc-void-warning {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(139, 69, 19, 0.10);
  border: 1px solid rgba(139, 69, 19, 0.16);
  color: #5b351d;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.hc-void-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px !important;
  width: 100%;
  padding: 24px 30px 30px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.hc-void-action-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.hc-void-action-btn:hover {
  transform: translateY(-1px);
}

.hc-void-danger-btn {
  background: linear-gradient(180deg, #9b541d 0%, #7e3f13 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(139, 69, 19, 0.32) !important;
}

.hc-void-danger-btn:hover {
  background: linear-gradient(180deg, #a85d22 0%, #72370f 100%) !important;
}

.hc-void-safe-btn {
  background: #2f3746 !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(47, 55, 70, 0.24) !important;
}

.hc-void-safe-btn:hover {
  background: #202735 !important;
}

@media (max-width: 640px) {
  .hc-void-popup {
    width: calc(100vw - 22px) !important;
    border-radius: 20px !important;
  }

  .hc-void-title {
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-size: 28px !important;
  }

  .hc-void-html {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hc-void-choice-note {
    grid-template-columns: 1fr;
  }

  .hc-void-actions {
    grid-template-columns: 1fr;
    padding: 22px 20px 24px !important;
  }

  .hc-void-action-btn {
    min-height: 56px;
  }
}

/* ==============================
   Hidden Cask - Round Summary Modal
============================== */

.hc-round-summary-popup {
  width: min(760px, calc(100vw - 32px)) !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at top left, rgba(225, 195, 108, 0.18), transparent 38%),
    linear-gradient(180deg, #fbf5e7 0%, #f7efe0 100%) !important;
  border: 1px solid rgba(139, 69, 19, 0.20) !important;
  box-shadow: 0 24px 70px rgba(36, 24, 13, 0.34) !important;
}

.hc-round-summary-title {
  margin: 0 !important;
  padding: 8px 30px 0 !important;
  color: #2b1b10 !important;
  font-size: clamp(26px, 4vw, 36px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.hc-round-summary-html {
  margin: 0 !important;
  padding: 8px 30px 30px !important;
  color: #55483d !important;
  text-align: left !important;
}

.hc-round-summary-modal {
  display: grid;
  gap: 16px;
  padding-bottom: 0;
}

.hc-round-summary-table-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(139, 69, 19, 0.16);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hc-round-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.hc-round-summary-table th {
  padding: 13px 12px;
  background: rgba(139, 69, 19, 0.08);
  color: #4b3525;
  font-weight: 900;
  text-align: center;
  border-bottom: 1px solid rgba(139, 69, 19, 0.13);
}

.hc-round-summary-table th:first-child {
  text-align: left;
}

.hc-round-summary-table td {
  padding: 14px 12px;
  color: #403329;
  text-align: center;
  border-bottom: 1px solid rgba(139, 69, 19, 0.08);
}

.hc-round-summary-table tr:last-child td {
  border-bottom: 0;
}

.hc-round-summary-table td:first-child {
  text-align: left;
  font-weight: 900;
}

.hc-round-summary-table .round-total {
  font-size: 17px;
  font-weight: 900;
  color: #2f2117;
}

.hc-round-summary-note {
  margin: 0;
  color: #6f6257;
  font-size: 14px;
  line-height: 1.45;
}

.hc-round-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hc-round-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(139, 69, 19, 0.16);
  color: #4a382b;
  font-size: 14px;
}

.hc-round-summary-pill strong {
  color: #2f2117;
}

.hc-round-summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
  margin-bottom: 0;
}

.hc-round-summary-choice {
  padding: 16px;
  border-radius: 18px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(139, 69, 19, 0.14);
  box-shadow: 0 8px 18px rgba(70, 43, 20, 0.07);
}

.hc-round-summary-choice h3 {
  margin: 0 0 6px;
  color: #2f2117;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.hc-round-summary-choice p {
  margin: 0 0 13px;
  color: #74675d;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.hc-round-summary-choice.is-end {
  border-color: rgba(178, 65, 65, 0.24);
  background: rgba(255, 247, 247, 0.72);
}

.hc-round-summary-choice.is-end h3 {
  color: #8e3434;
}

.hc-round-summary-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.hc-round-summary-btn:hover {
  transform: translateY(-1px);
}

.hc-round-summary-btn.is-continue {
  background: linear-gradient(180deg, #9b541d 0%, #7e3f13 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(139, 69, 19, 0.28);
}

.hc-round-summary-btn.is-continue:hover {
  background: linear-gradient(180deg, #a85d22 0%, #72370f 100%);
}

.hc-round-summary-btn.is-end {
  background: linear-gradient(180deg, #c75b58 0%, #b94745 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(185, 71, 69, 0.24);
}

.hc-round-summary-btn.is-end:hover {
  background: linear-gradient(180deg, #cf6461 0%, #a93e3c 100%);
}

@media (max-width: 700px) {
  .hc-round-summary-popup {
    width: calc(100vw - 22px) !important;
    border-radius: 20px !important;
  }

  .hc-round-summary-title {
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-size: 28px !important;
  }

  .hc-round-summary-html {
    padding: 8px 20px 24px !important;
  }

  .hc-round-summary-actions {
    grid-template-columns: 1fr;
  }

  .hc-round-summary-table {
    font-size: 14px;
  }

  .hc-round-summary-table th,
  .hc-round-summary-table td {
    padding: 11px 9px;
  }

  .hc-round-summary-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .hc-round-summary-pill {
    justify-content: center;
    text-align: center;
  }
}

/* ==============================
   Hidden Cask - End Game Confirmation Modal
============================== */

.hc-endgame-popup {
  width: min(680px, calc(100vw - 32px)) !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at top left, rgba(225, 195, 108, 0.16), transparent 38%),
    linear-gradient(180deg, #fbf5e7 0%, #f7efe0 100%) !important;
  border: 1px solid rgba(139, 69, 19, 0.20) !important;
  box-shadow: 0 24px 70px rgba(36, 24, 13, 0.34) !important;
}

.hc-endgame-title {
  margin: 0 !important;
  padding: 8px 30px 0 !important;
  color: #2b1b10 !important;
  font-size: clamp(26px, 4vw, 36px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.hc-endgame-html {
  margin: 0 !important;
  padding: 8px 30px 0 !important;
  color: #55483d !important;
  text-align: left !important;
}

.hc-endgame-modal {
  display: grid;
  gap: 18px;
}

.hc-endgame-intro {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(139, 69, 19, 0.16);
  color: #4a382b;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.hc-endgame-intro strong {
  color: #2f2117;
}

.hc-endgame-choice-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hc-endgame-choice-note div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(139, 69, 19, 0.14);
}

.hc-endgame-choice-note div:last-child {
  border-color: rgba(178, 65, 65, 0.22);
  background: rgba(255, 247, 247, 0.72);
}

.hc-endgame-choice-note strong {
  display: block;
  margin-bottom: 4px;
  color: #2f2117;
  font-size: 14px;
}

.hc-endgame-choice-note div:last-child strong {
  color: #8e3434;
}

.hc-endgame-choice-note span {
  display: block;
  color: #74675d;
  font-size: 13px;
  line-height: 1.35;
}

.hc-endgame-warning {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(178, 65, 65, 0.09);
  border: 1px solid rgba(178, 65, 65, 0.22);
  color: #8e3434;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.hc-endgame-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px !important;
  width: 100%;
  padding: 24px 30px 30px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.hc-endgame-action-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.hc-endgame-action-btn:hover {
  transform: translateY(-1px);
}

.hc-endgame-safe-btn {
  background: #2f3746 !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(47, 55, 70, 0.24) !important;
}

.hc-endgame-safe-btn:hover {
  background: #202735 !important;
}

.hc-endgame-danger-btn {
  background: linear-gradient(180deg, #c75b58 0%, #b94745 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(185, 71, 69, 0.24) !important;
}

.hc-endgame-danger-btn:hover {
  background: linear-gradient(180deg, #cf6461 0%, #a93e3c 100%) !important;
}

@media (max-width: 640px) {
  .hc-endgame-popup {
    width: calc(100vw - 22px) !important;
    border-radius: 20px !important;
  }

  .hc-endgame-title {
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-size: 28px !important;
  }

  .hc-endgame-html {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hc-endgame-choice-note {
    grid-template-columns: 1fr;
  }

  .hc-endgame-actions {
    grid-template-columns: 1fr;
    padding: 22px 20px 24px !important;
  }

  .hc-endgame-action-btn {
    min-height: 56px;
  }
}

/* ==============================
   Hidden Cask - Missing Scores Modal
============================== */

.hc-score-missing-popup {
  width: min(680px, calc(100vw - 32px)) !important;
  padding: 34px 32px 30px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at top left, rgba(225, 195, 108, 0.16), transparent 38%),
    linear-gradient(180deg, #fbf5e7 0%, #f7efe0 100%) !important;
  border: 1px solid rgba(139, 69, 19, 0.20) !important;
  box-shadow: 0 24px 70px rgba(36, 24, 13, 0.34) !important;
}

.hc-score-missing-title {
  margin: 8px 0 16px !important;
  color: #2b1b10 !important;
  font-size: clamp(24px, 3.5vw, 32px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
}

.hc-score-missing-html {
  margin: 0 !important;
  color: #55483d !important;
}

.hc-score-missing-modal {
  display: grid;
  gap: 18px;
}

.hc-score-missing-intro {
  margin: 0;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(139, 69, 19, 0.14);
  color: #3f3026;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.hc-score-missing-choice-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hc-score-missing-choice-note > div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(139, 69, 19, 0.14);
  text-align: left;
}

.hc-score-missing-choice-note strong {
  display: block;
  margin-bottom: 5px;
  color: #2f2117;
  font-size: 15px;
  font-weight: 900;
}

.hc-score-missing-choice-note span {
  display: block;
  color: #6f6257;
  font-size: 14px;
  line-height: 1.35;
}

.hc-score-missing-warning {
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(239, 226, 204, 0.86);
  border: 1px solid rgba(139, 69, 19, 0.16);
  color: #5b351e;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.hc-score-missing-actions {
  width: 100%;
  margin: 22px 0 0 !important;
}

.hc-score-missing-action-btn {
  width: min(100%, 310px);
  min-height: 54px;
  border: 0 !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  background: linear-gradient(180deg, #9b541d 0%, #7e3f13 100%) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 22px rgba(139, 69, 19, 0.28) !important;
  cursor: pointer !important;
}

.hc-score-missing-action-btn:hover,
.hc-score-missing-action-btn:focus {
  transform: translateY(-1px);
  filter: brightness(1.03);
  outline: none !important;
}

@media (max-width: 700px) {
  .hc-score-missing-popup {
    width: calc(100vw - 22px) !important;
    padding: 28px 20px 24px !important;
    border-radius: 20px !important;
  }

  .hc-score-missing-choice-note {
    grid-template-columns: 1fr;
  }

  .hc-score-missing-action-btn {
    width: 100%;
  }
}

/* -------------------------------------------------------
   Hidden Cask — SweetAlert shared modal polish
------------------------------------------------------- */

.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-backdrop-hide {
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.hc-swal-popup {
  border-radius: 16px;
}

.hc-swal-title {
  letter-spacing: 0.2px;
}

/* ==============================
   Hidden Cask - Setup Warning Modal
============================== */

.hc-setup-warning-popup {
  width: min(680px, calc(100vw - 32px)) !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at top left, rgba(225, 195, 108, 0.18), transparent 38%),
    linear-gradient(180deg, #fbf5e7 0%, #f7efe0 100%) !important;
  border: 1px solid rgba(139, 69, 19, 0.20) !important;
  box-shadow: 0 24px 70px rgba(36, 24, 13, 0.34) !important;
}

.hc-setup-warning-title {
  margin: 0 !important;
  padding: 4px 30px 0 !important;
  color: #2b1b10 !important;
  font-size: clamp(24px, 3.5vw, 32px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.hc-setup-warning-html {
  margin: 0 !important;
  padding: 10px 30px 0 !important;
  color: #55483d !important;
  text-align: left !important;
}

.hc-setup-warning-modal {
  display: grid;
  gap: 16px;
}

.hc-setup-warning-intro {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(139, 69, 19, 0.14);
  color: #4a382b;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.hc-setup-warning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hc-setup-warning-list div {
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(139, 69, 19, 0.14);
  box-shadow: 0 8px 18px rgba(70, 43, 20, 0.06);
}

.hc-setup-warning-list strong {
  display: block;
  margin-bottom: 6px;
  color: #2f2117;
  font-size: 16px;
  font-weight: 900;
}

.hc-setup-warning-list span {
  display: block;
  color: #6b5d52;
  font-size: 14px;
  line-height: 1.38;
}

.hc-setup-warning-note {
  padding: 13px 16px;
  border-radius: 16px;
  background: #efe2cc;
  border: 1px solid rgba(139, 69, 19, 0.18);
  color: #5a351d;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
}

.hc-setup-warning-note.is-soft {
  background: rgba(255, 255, 255, 0.68);
  color: #4a382b;
}

.hc-setup-warning-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
  width: 100%;
  padding: 0 30px 30px !important;
  margin-top: 22px !important;
}

.hc-setup-warning-action-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.hc-setup-warning-action-btn:hover {
  transform: translateY(-1px);
}

.hc-setup-warning-primary-btn {
  background: linear-gradient(180deg, #9b541d 0%, #7e3f13 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(139, 69, 19, 0.28);
}

.hc-setup-warning-secondary-btn {
  background: #303949;
  color: #fff;
  box-shadow: 0 10px 20px rgba(24, 32, 48, 0.20);
}

.hc-setup-warning-actions:has(.swal2-confirm:only-child) {
  grid-template-columns: 1fr;
}

@media (max-width: 700px) {
  .hc-setup-warning-popup {
    width: calc(100vw - 22px) !important;
    border-radius: 20px !important;
  }

  .hc-setup-warning-title,
  .hc-setup-warning-html {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hc-setup-warning-list,
  .hc-setup-warning-actions {
    grid-template-columns: 1fr;
  }

  .hc-setup-warning-actions {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 22px !important;
  }
}