.hkz-page #secondary,
.hkz-page .widget-area,
.hkz-page .sidebar,
.hkz-page aside[role="complementary"] {
  display: none !important;
}

.hkz-page #content,
.hkz-page .site-content,
.hkz-page .site-content > .ast-container,
.hkz-page #primary,
.hkz-page .content-area,
.hkz-page .site-main,
.hkz-page article,
.hkz-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hkz-page #content,
.hkz-page .site-content {
  display: block !important;
  padding-left: max(0px, env(safe-area-inset-left)) !important;
  padding-right: max(0px, env(safe-area-inset-right)) !important;
  box-sizing: border-box;
}

.hkz-page { overflow-x: hidden; }

.hkz-page .hkz {
  --hkz-ink: #06131d;
  --hkz-panel: #0a2638;
  --hkz-cyan: #28d7f2;
  --hkz-orange: #ff9e2c;
  width: min(100%, 1280px);
  margin: 24px auto;
  color: #f5fbff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  position: relative;
  box-sizing: border-box;
  padding-top: 44px;
}

.hkz-page .hkz *,
.hkz-page .hkz *::before,
.hkz-page .hkz *::after { box-sizing: border-box; }

.hkz-page .hkz__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: radial-gradient(circle at 50% 30%, #16445b, var(--hkz-ink) 68%);
  border: 1px solid #28617b;
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(0, 13, 23, .42);
  isolation: isolate;
}

.hkz-page .hkz__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
  letter-spacing: .04em;
}

.hkz-page .hkz__loading strong { font-size: clamp(24px, 5vw, 58px); }
.hkz-page .hkz__loading span { color: var(--hkz-orange); }
.hkz-page .hkz__loading small { color: #b9dce9; }
.hkz-page .hkz canvas { display: block; width: 100%; height: 100%; touch-action: none; }

.hkz-page .hkz:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  display: grid;
  place-items: center;
  background: #020b10;
  padding-top: 0;
}

.hkz-page .hkz:fullscreen .hkz__frame {
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  min-height: 0;
  border: 0;
  border-radius: 0;
}

.hkz-page .hkz-settings-trigger {
  position: absolute;
  z-index: 20;
  top: 6px;
  right: 12px;
  padding: 9px 13px;
  border: 1px solid #68c9df;
  border-radius: 9px;
  background: rgba(4, 25, 37, .92);
  color: #f3fbff;
  font: 800 12px/1 system-ui, sans-serif;
  cursor: pointer;
}

.hkz-page .hkz-fullscreen-trigger {
  position: absolute;
  z-index: 20;
  top: 6px;
  right: 132px;
  padding: 9px 13px;
  border: 1px solid #68c9df;
  border-radius: 9px;
  background: rgba(4, 25, 37, .92);
  color: #f3fbff;
  font: 800 12px/1 system-ui, sans-serif;
  cursor: pointer;
}

.hkz-page .hkz:fullscreen .hkz-settings-trigger,
.hkz-page .hkz:fullscreen .hkz-fullscreen-trigger { top: 12px; }

.hkz-page .hkz-settings {
  position: absolute;
  z-index: 30;
  top: 54px;
  right: 12px;
  width: min(310px, calc(100% - 24px));
  padding: 18px;
  border: 1px solid #3e8aa4;
  border-radius: 14px;
  background: rgba(5, 27, 40, .98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  color: #eaf8fd;
}
.hkz-page .hkz-settings[hidden] { display: none; }
.hkz-page .hkz-settings__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #ffb24c; }
.hkz-page .hkz-settings__head button { border: 0; background: transparent; color: #fff; font-size: 26px; cursor: pointer; }
.hkz-page .hkz-settings label { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 38px; border-top: 1px solid rgba(101, 178, 204, .18); font-size: 14px; }
.hkz-page .hkz-settings input { width: 20px; height: 20px; accent-color: #ff9e2c; }
.hkz-page .hkz-settings select { min-width: 120px; padding: 6px; border: 1px solid #4d8ca2; border-radius: 6px; background: #0d3043; color: #fff; }
.hkz-page .hkz-settings__ranking { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid #ff9e2c; background: rgba(255, 158, 44, .09); color: #cfe6ef; font-size: 12px; line-height: 1.45; }

@media (max-width: 700px) {
  .hkz-page .hkz { margin: 12px 0; padding-top: 0; }
  .hkz-page .hkz__frame { min-height: 0; border-radius: 12px; }
  .hkz-page .hkz-settings-trigger { top: 7px; right: 7px; padding: 7px 9px; font-size: 10px; }
  .hkz-page .hkz-fullscreen-trigger { display: none; }
}
