.world-boss-section {
  padding-top: 2rem;
}

.world-boss-embed {
  position: relative;
  min-height: 640px;
}

.world-boss-embed__loading {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  min-height: 360px;
  place-items: center;
  color: var(--bronze-light);
  background: rgba(5, 5, 5, .72);
  font-size: .84rem;
  letter-spacing: .08em;
}

.world-boss-embed__loading[hidden] {
  display: none;
}

.world-boss-embed iframe {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
  background: transparent;
}

html[data-boss-settings-open="true"],
html[data-boss-settings-open="true"] body {
  overflow: hidden;
}

.world-boss-embed iframe[data-settings-open="true"] {
  position: fixed;
  z-index: 1200;
  inset: 0;
  width: 100vw;
  height: 100dvh !important;
  min-height: 100dvh;
}

html[data-embedded="true"],
html[data-embedded="true"] body {
  min-height: 0 !important;
  overflow: hidden !important;
  color: #d8cdbc !important;
  background-color: #090807 !important;
  background-image: radial-gradient(ellipse at 50% 0, rgba(112,29,20,.14), transparent 48%), linear-gradient(180deg, #090807, #0d0c0b 52%, #080807) !important;
}

html[data-embedded="true"] .container {
  max-width: 1120px !important;
  padding: 0 12px 28px !important;
}

html[data-embedded="true"] header {
  padding: 0 0 18px !important;
  border-bottom-color: rgba(185, 150, 104, .24) !important;
  margin-bottom: 26px !important;
}

html[data-embedded="true"] header h1 {
  color: #e6ddcf !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
}

html[data-embedded="true"] header h1 span,
html[data-embedded="true"] .settings-panel h3 {
  color: #b44735 !important;
}

html[data-embedded="true"] .btn-icon,
html[data-embedded="true"] .btn-sm,
html[data-embedded="true"] .setting-group select,
html[data-embedded="true"] .setting-group input[type="number"],
html[data-embedded="true"] .setting-group input[type="range"] {
  border-color: rgba(185, 150, 104, .28) !important;
  border-radius: 0 !important;
  color: #d8cdbc !important;
  background: rgba(8, 8, 8, .86) !important;
}

html[data-embedded="true"] .next-boss-card,
html[data-embedded="true"] .settings-panel {
  border-color: rgba(185, 150, 104, .34) !important;
  border-radius: 2px !important;
  background: linear-gradient(145deg, rgba(18, 15, 13, .94), rgba(7, 8, 8, .96)) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .42), inset 0 0 40px rgba(105, 30, 20, .08) !important;
}

html[data-embedded="true"] .next-boss-card::before {
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #8f2c22, #b89669, #8f2c22, transparent) !important;
}

html[data-embedded="true"] .countdown-item,
html[data-embedded="true"] .upcoming-table tbody tr {
  border-radius: 0 !important;
  background: rgba(16, 15, 14, .82) !important;
}

html[data-embedded="true"] .upcoming-table tbody tr:hover td {
  background: rgba(78, 24, 18, .17) !important;
}

html[data-embedded="true"] .upcoming-table thead th {
  border-bottom-color: rgba(185, 150, 104, .24) !important;
  color: #9f927f !important;
}

html[data-embedded="true"] .upcoming-table tbody td {
  border-top: 1px solid rgba(185, 150, 104, .08);
  border-bottom: 1px solid rgba(185, 150, 104, .08);
}

html[data-embedded="true"] .upcoming-table tbody tr td:first-child,
html[data-embedded="true"] .upcoming-table tbody tr td:last-child {
  border-radius: 0 !important;
}

html[data-embedded="true"] .section-title::before {
  width: 18px !important;
  height: 1px !important;
  border-radius: 0 !important;
  background: #a43b2d !important;
}

html[data-embedded="true"] .notify-btn,
html[data-embedded="true"] .btn {
  border-radius: 1px !important;
}

html[data-embedded="true"] .toggle-slider,
html[data-embedded="true"] .toggle-slider::before {
  border-radius: 1px !important;
}

html[data-embedded="true"] input:checked + .toggle-slider,
html[data-embedded="true"] .btn {
  background: #7f211a !important;
}

@media (max-width: 640px) {
  .world-boss-section { padding-top: 1.2rem; }
  .world-boss-embed,
  .world-boss-embed iframe { min-height: 720px; }
}
