/* Shared public-page shell theme. Keep this scoped and non-functional. */

:root {
  --hub-bg: #0d1117;
  --hub-bg-strong: #080b10;
  --hub-panel: rgba(18, 23, 31, 0.92);
  --hub-panel-strong: rgba(11, 15, 21, 0.96);
  --hub-text: #f6f7fb;
  --hub-muted: rgba(246, 247, 251, 0.72);
  --hub-muted-strong: rgba(246, 247, 251, 0.82);
  --hub-muted-soft: rgba(246, 247, 251, 0.56);
  --hub-yellow: #f4d545;
  --hub-yellow-hover: #ffec7a;
  --hub-yellow-soft: rgba(244, 213, 69, 0.12);
  --hub-border: rgba(174, 184, 197, 0.16);
  --hub-border-strong: rgba(174, 184, 197, 0.26);
  --hub-accent-border: rgba(244, 213, 69, 0.24);
  --hub-input-bg: rgba(246, 247, 251, 0.96);
  --hub-input-text: #111827;
  --hub-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hub-radius: 8px;
  --hub-focus-ring: 0 0 0 3px rgba(244, 213, 69, 0.16);
  --hub-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

/* Foundation */

body {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 223, 37, 0.08), transparent 0 28%),
    linear-gradient(180deg, #0b0f14 0%, #141920 100%);
  color: var(--hub-text);
  font-family: var(--hub-font);
}

body.theme-yellow {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 223, 37, 0.08), transparent 0 28%),
    linear-gradient(180deg, #0b0f14 0%, #141920 100%) !important;
  color: var(--hub-text);
}

body.public-hub-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 6%, rgba(244, 213, 69, 0.08), transparent 0 24%),
    radial-gradient(circle at 88% 36%, rgba(244, 213, 69, 0.055), transparent 0 25%),
    linear-gradient(180deg, #0b0f14 0%, #141a23 54%, #0d1117 100%) !important;
  color: var(--hub-text);
}

body.public-hub-page main {
  position: relative;
  z-index: 2;
}

body.public-hub-page main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(244, 213, 69, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.16;
}

.bg-image {
  opacity: 0.08 !important;
  filter: saturate(0.7) brightness(0.65);
}

body.public-hub-page .bg-image {
  opacity: 0.03 !important;
}

body.public-hub-page ::selection {
  background: rgba(255, 223, 37, 0.92);
  color: #07090d;
}

body.public-hub-page ::-moz-selection {
  background: rgba(255, 223, 37, 0.92);
  color: #07090d;
}

body.public-hub-page #searchModal .modal-content {
  background:
    radial-gradient(circle at 50% 28%, rgba(244, 213, 69, 0.1), transparent 0 28%),
    radial-gradient(circle at 82% 12%, rgba(244, 213, 69, 0.06), transparent 0 26%),
    rgba(7, 12, 19, 0.95) !important;
}

body.public-hub-page #searchModal .s004 {
  width: min(900px, calc(100vw - 32px));
  min-width: 0 !important;
}

body.public-hub-page #searchModal .s004 form {
  width: 100%;
}

body.public-hub-page #searchModal .choices__inner {
  background: rgba(246, 247, 251, 0.96) !important;
  border: 1px solid rgba(255, 223, 37, 0.24) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

body.public-hub-page #searchModal .btn-search svg {
  fill: #0b0f14 !important;
}

body.public-hub-page #searchModal .suggestion-wrap span,
body.public-hub-page #searchModal .click-span,
body.public-hub-page #searchModal .click-span2 {
  color: rgba(246, 247, 251, 0.82) !important;
  text-decoration-color: rgba(255, 223, 37, 0.45);
}

body.public-hub-page #closeSearchModal.search-close-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--hub-yellow) !important;
  color: var(--hub-bg-strong) !important;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(255, 223, 37, 0.22);
}

body.public-hub-page #closeSearchModal.search-close-btn:hover,
body.public-hub-page #closeSearchModal.search-close-btn:focus {
  background: var(--hub-yellow-hover) !important;
  opacity: 1;
}

/* Navigation */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  background:
    linear-gradient(180deg, rgba(13, 17, 23, 0.98), rgba(9, 12, 17, 0.95)) !important;
  border-bottom: 1px solid var(--hub-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.navbar .container {
  max-width: 1180px;
}

.navbar-brand .logo2 {
  height: 58px !important;
  width: auto;
}

.navbar .nav-link {
  color: rgba(245, 247, 250, 0.78) !important;
  font-family: var(--hub-font);
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--hub-yellow) !important;
}

.navbar .dropdown-menu {
  min-width: 210px;
  padding: 10px;
  background: rgba(10, 13, 17, 0.96);
  border: 1px solid var(--hub-border-strong);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.navbar .dropdown-item {
  padding: 9px 12px;
  color: rgba(246, 247, 251, 0.78) !important;
  font-family: var(--hub-font);
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: 8px;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: #0b0d10 !important;
  background: var(--hub-yellow);
}

/* Shared content and form primitives */

.section-padding,
.section,
main > section {
  color: var(--hub-text);
}

body.public-hub-page main > .section-padding,
body.public-hub-page main > section {
  background: transparent !important;
}

body.public-hub-page main .container,
body.public-hub-page main .container-fluid {
  position: relative;
  z-index: 2;
}

#section_3[style] {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 223, 37, 0.1), transparent 0 28%),
    linear-gradient(180deg, #10141a 0%, #151a21 100%) !important;
}

.section-title,
.site-footer-title,
.subscribe-title {
  color: var(--hub-text);
  font-family: var(--hub-font);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 14px;
  background: var(--hub-yellow);
}

body.public-hub-page main p,
body.public-hub-page main li {
  line-height: 1.68;
}

body.public-hub-page main a {
  text-underline-offset: 3px;
}

body.public-hub-page button,
body.public-hub-page input,
body.public-hub-page textarea,
body.public-hub-page select {
  font-family: var(--hub-font);
}

body.public-hub-page button:focus-visible,
body.public-hub-page a:focus-visible,
body.public-hub-page input:focus-visible,
body.public-hub-page textarea:focus-visible,
body.public-hub-page select:focus-visible {
  outline: 2px solid rgba(244, 213, 69, 0.72);
  outline-offset: 2px;
}

.custom-btn,
.btn2 {
  font-family: var(--hub-font);
  font-weight: 800;
}

.custom-btn {
  border-color: var(--hub-yellow) !important;
}

.custom-btn:hover,
.custom-btn:focus {
  background: var(--hub-yellow) !important;
  color: #0b0d10 !important;
}

body.public-hub-about main > .section-padding .container,
body.public-hub-search main > .section-padding .s004,
body.public-hub-syllabus main > .section-padding .s004,
body.public-hub-competition main > .section-padding .form-wrapper .s004 {
  background:
    linear-gradient(180deg, rgba(20, 25, 33, 0.94), rgba(12, 16, 22, 0.92)) !important;
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  box-shadow: var(--hub-shadow);
}

/* About */

body.public-hub-about main > .section-padding .container {
  max-width: 1040px;
  padding: clamp(24px, 4vw, 46px);
}

body.public-hub-about .about-us-page-section {
  padding-top: clamp(56px, 8vw, 92px);
}

body.public-hub-about .about-page-title {
  color: var(--hub-text) !important;
  font-family: var(--hub-font);
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 28px;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: left !important;
  text-transform: uppercase;
}

body.public-hub-about .about-page-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 18px;
  background: var(--hub-yellow);
}

body.public-hub-about main > .section-padding .container,
body.public-hub-about main > .section-padding .container * {
  color: var(--hub-muted-strong) !important;
}

body.public-hub-about main > .section-padding b {
  color: var(--hub-yellow) !important;
}

body.public-hub-search main > .section-padding .s004,
body.public-hub-syllabus main > .section-padding .s004,
body.public-hub-competition main > .section-padding .form-wrapper .s004 {
  padding: clamp(22px, 4vw, 42px) !important;
}

/* Search */

body.public-hub-search .search-page-search-section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: 22px;
}

body.public-hub-search .search-results-section {
  padding-top: 12px;
}

body.public-hub-search .visit-country {
  margin-top: 0 !important;
}

body.public-hub-search .search-page-search-section .container {
  max-width: 980px;
}

body.public-hub-search .search-static-brand {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 3vw, 28px);
}

body.public-hub-search .search-static-brand__orb {
  position: relative;
  display: grid;
  width: clamp(150px, 18vw, 230px);
  aspect-ratio: 1 / 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 213, 69, 0.34), rgba(244, 213, 69, 0.11) 38%, transparent 70%),
    rgba(9, 12, 16, 0.62);
  border: 1px solid rgba(244, 213, 69, 0.16);
  box-shadow:
    0 0 42px rgba(244, 213, 69, 0.14),
    inset 0 0 30px rgba(244, 213, 69, 0.06);
}

body.public-hub-search .search-static-brand__orb::before,
body.public-hub-search .search-static-brand__orb::after {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  border: 1px solid rgba(244, 213, 69, 0.16);
}

body.public-hub-search .search-static-brand__orb::after {
  inset: -12%;
  border-color: rgba(244, 213, 69, 0.07);
}

body.public-hub-search .search-static-brand__orb img {
  position: relative;
  z-index: 1;
  width: 62%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.38));
}

body.public-hub-search main > .search-page-search-section .s004 {
  padding: clamp(18px, 3vw, 30px) !important;
}

body.public-hub-search .search-page-search-section form .inner-form {
  margin-bottom: 10px;
}

body.public-hub-syllabus main > .section-padding {
  padding-top: clamp(54px, 7vw, 86px);
}

body.public-hub-syllabus main > .section-padding .container {
  max-width: 920px;
}

body.public-hub-syllabus main > .section-padding .row {
  justify-content: center;
}

body.public-hub-syllabus main > .section-padding .s004 {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

body.public-hub-syllabus #SyllabusForm {
  max-width: 760px;
  margin: 0 auto;
}

body.public-hub-syllabus #SyllabusForm fieldset {
  display: grid;
  gap: 14px;
}

body.public-hub-syllabus #SyllabusForm br {
  display: none;
}

body.public-hub-syllabus #SyllabusForm h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

body.public-hub-syllabus #SyllabusForm h1::after {
  margin-top: 16px;
}

body.public-hub-syllabus #SyllabusForm .form-group {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.public-hub-syllabus #SyllabusForm label {
  margin-bottom: 7px;
  color: rgba(246, 247, 251, 0.86) !important;
  font-family: var(--hub-font);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

body.public-hub-syllabus #SyllabusForm p {
  margin: 8px 0 -2px;
  color: rgba(246, 247, 251, 0.7) !important;
}

body.public-hub-syllabus #SyllabusForm .form-control {
  width: 100%;
  min-height: 44px;
  border-radius: var(--hub-radius);
  border: 1px solid rgba(255, 223, 37, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
}

body.public-hub-syllabus #SyllabusForm textarea.form-control {
  min-height: 98px;
  resize: vertical;
}

body.public-hub-syllabus #SyllabusForm .form-control:focus {
  border-color: var(--hub-yellow) !important;
  box-shadow:
    var(--hub-focus-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.public-hub-syllabus #SyllabusForm .dropzone {
  min-height: 120px;
  padding: 24px;
  border: 1px dashed rgba(255, 223, 37, 0.56) !important;
  border-radius: var(--hub-radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 223, 37, 0.1), transparent 0 46%),
    rgba(246, 247, 251, 0.055) !important;
  color: rgba(246, 247, 251, 0.74) !important;
  text-align: center;
}

body.public-hub-syllabus #SyllabusForm .dropzone strong {
  color: var(--hub-yellow) !important;
}

body.public-hub-syllabus #SyllabusForm .dropzone.dragover {
  background: rgba(255, 223, 37, 0.12) !important;
  border-color: var(--hub-yellow) !important;
}

body.public-hub-syllabus #SyllabusForm #browse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(255, 223, 37, 0.14);
  border: 1px solid rgba(255, 223, 37, 0.34);
  color: var(--hub-yellow);
  font-weight: 800;
}

body.public-hub-syllabus #SyllabusForm input[type="submit"] {
  justify-self: start;
  min-width: 150px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(255, 223, 37, 0.18);
}

body.public-hub-syllabus #SyllabusForm input[type="submit"]:hover,
body.public-hub-syllabus #SyllabusForm input[type="submit"]:focus {
  background: var(--hub-yellow-hover) !important;
  color: var(--hub-bg-strong) !important;
}

body.public-hub-page main .s004 form .inner-form .input-field .choices .choices__inner,
body.public-hub-page main .form-control,
body.public-hub-page main .form-select,
body.public-hub-page main textarea {
  background: var(--hub-input-bg) !important;
  border-color: rgba(255, 223, 37, 0.2) !important;
  color: var(--hub-input-text) !important;
}

body.public-hub-page main .s004 form .inner-form .input-field .btn-search,
body.public-hub-page main input[type="submit"],
body.public-hub-page main .btn2.primary,
body.public-hub-page main .add-row-btn {
  background: var(--hub-yellow) !important;
  border: 0 !important;
  color: #090c10 !important;
  font-weight: 800;
}

body.public-hub-page main .suggestion-wrap span,
body.public-hub-page main .click-span,
body.public-hub-page main .click-span2 {
  color: rgba(246, 247, 251, 0.78) !important;
  text-decoration-color: rgba(255, 223, 37, 0.45);
}

body.public-hub-search main .choices__list--multiple .choices__item,
body.public-hub-search main .choices__inner .choices__list .choices__item,
body.public-hub-page #searchModal .choices__list--multiple .choices__item,
body.public-hub-page #searchModal .choices__inner .choices__list .choices__item {
  background: var(--hub-yellow) !important;
  color: #07090d !important;
  border: 0 !important;
  font-weight: 800;
}

body.public-hub-search main .choices__list--multiple .choices__item .choices__button,
body.public-hub-search main .choices__inner .choices__list .choices__item .choices__button,
body.public-hub-page #searchModal .choices__list--multiple .choices__item .choices__button,
body.public-hub-page #searchModal .choices__inner .choices__list .choices__item .choices__button {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  padding: 0;
  border: 1px solid rgba(7, 9, 13, 0.26);
  border-radius: 50%;
  background: rgba(7, 9, 13, 0.08) !important;
  background-image: none !important;
  opacity: 1 !important;
  vertical-align: middle;
}

body.public-hub-search main .choices__list--multiple .choices__item .choices__button::before,
body.public-hub-search main .choices__list--multiple .choices__item .choices__button::after,
body.public-hub-search main .choices__inner .choices__list .choices__item .choices__button::before,
body.public-hub-search main .choices__inner .choices__list .choices__item .choices__button::after,
body.public-hub-page #searchModal .choices__list--multiple .choices__item .choices__button::before,
body.public-hub-page #searchModal .choices__list--multiple .choices__item .choices__button::after,
body.public-hub-page #searchModal .choices__inner .choices__list .choices__item .choices__button::before,
body.public-hub-page #searchModal .choices__inner .choices__list .choices__item .choices__button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: #07090d;
  border-radius: 999px;
  transform-origin: center;
}

body.public-hub-search main .choices__list--multiple .choices__item .choices__button::before,
body.public-hub-search main .choices__inner .choices__list .choices__item .choices__button::before,
body.public-hub-page #searchModal .choices__list--multiple .choices__item .choices__button::before,
body.public-hub-page #searchModal .choices__inner .choices__list .choices__item .choices__button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

body.public-hub-search main .choices__list--multiple .choices__item .choices__button::after,
body.public-hub-search main .choices__inner .choices__list .choices__item .choices__button::after,
body.public-hub-page #searchModal .choices__list--multiple .choices__item .choices__button::after,
body.public-hub-page #searchModal .choices__inner .choices__list .choices__item .choices__button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.public-hub-search main .choices__list--multiple .choices__item .choices__button:hover,
body.public-hub-search main .choices__list--multiple .choices__item .choices__button:focus,
body.public-hub-search main .choices__inner .choices__list .choices__item .choices__button:hover,
body.public-hub-search main .choices__inner .choices__list .choices__item .choices__button:focus,
body.public-hub-page #searchModal .choices__list--multiple .choices__item .choices__button:hover,
body.public-hub-page #searchModal .choices__list--multiple .choices__item .choices__button:focus,
body.public-hub-page #searchModal .choices__inner .choices__list .choices__item .choices__button:hover,
body.public-hub-page #searchModal .choices__inner .choices__list .choices__item .choices__button:focus {
  background: rgba(7, 9, 13, 0.18) !important;
  border-color: rgba(7, 9, 13, 0.42);
}

body.public-hub-search .visit-country .item {
  padding: 18px;
  background: rgba(18, 23, 31, 0.86);
  border: 1px solid rgba(244, 213, 69, 0.12);
  border-radius: var(--hub-radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

body.public-hub-search .visit-country .item .image img {
  border-radius: 8px;
}

body.public-hub-search .visit-country .item .right-content h4 {
  color: var(--hub-text);
}

body.public-hub-search .visit-country .item .right-content span,
body.public-hub-search .visit-country .item .right-content p {
  color: var(--hub-muted);
}

body.public-hub-search .visit-country .item .right-content .main-button a,
body.public-hub-search .visit-country ul.page-numbers li.active a,
body.public-hub-search .visit-country ul.page-numbers li a:hover {
  background: var(--hub-yellow);
  color: #090c10;
}

body.public-hub-search .visit-country ul.page-numbers li a {
  border-color: rgba(255, 223, 37, 0.28);
  color: var(--hub-text);
}

/* Syllabus and competition forms */

body.public-hub-syllabus main label,
body.public-hub-syllabus main p,
body.public-hub-syllabus main h1,
body.public-hub-competition main label,
body.public-hub-competition main p,
body.public-hub-competition main h1,
body.public-hub-competition main h2,
body.public-hub-competition main h3,
body.public-hub-competition main h4,
body.public-hub-competition main li,
body.public-hub-competition main .form-text,
body.public-hub-competition main .word-counter {
  color: rgba(246, 247, 251, 0.84) !important;
}

body.public-hub-syllabus main h1,
body.public-hub-competition main h1 {
  color: var(--hub-text) !important;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

body.public-hub-syllabus main h1::after,
body.public-hub-competition main h1::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 16px;
  background: var(--hub-yellow);
}

body.public-hub-competition main .form-section {
  border-color: rgba(255, 223, 37, 0.16) !important;
}

body.public-hub-competition main .highlight-q,
body.public-hub-competition main .file-list-item,
body.public-hub-competition main .team-members-table {
  background: rgba(246, 247, 251, 0.06) !important;
  border-color: rgba(255, 223, 37, 0.16) !important;
}

body.public-hub-competition main > .section-padding {
  padding-top: clamp(54px, 7vw, 86px);
}

body.public-hub-competition main > .section-padding .container {
  max-width: 1120px;
}

body.public-hub-competition main > .section-padding .row {
  justify-content: center;
}

body.public-hub-competition main > .section-padding .form-wrapper {
  width: 100%;
}

body.public-hub-competition main > .section-padding .form-wrapper .s004 {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) !important;
}

body.public-hub-competition #graduationAwardForm {
  max-width: 940px;
  margin: 0 auto;
}

body.public-hub-competition #graduationAwardForm fieldset {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

body.public-hub-competition #graduationAwardForm .award-intro {
  margin-bottom: 4px !important;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 223, 37, 0.16);
  border-radius: var(--hub-radius);
  background:
    radial-gradient(circle at 82% 0%, rgba(244, 213, 69, 0.08), transparent 0 32%),
    rgba(246, 247, 251, 0.045);
  text-align: left !important;
}

body.public-hub-competition #graduationAwardForm .award-intro h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
}

body.public-hub-competition #graduationAwardForm .award-intro h1::after {
  margin-top: 16px;
}

body.public-hub-competition #graduationAwardForm .award-intro .lead {
  margin-bottom: 20px;
  color: rgba(246, 247, 251, 0.76) !important;
  font-size: 1rem;
  line-height: 1.75;
}

body.public-hub-competition #graduationAwardForm .award-intro .text-start {
  max-width: none !important;
  margin-top: 18px !important;
}

body.public-hub-competition #graduationAwardForm .award-intro h4 {
  margin-top: 20px;
  color: var(--hub-yellow) !important;
  font-family: var(--hub-font);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-hub-competition #graduationAwardForm .award-intro ul {
  display: grid;
  gap: 8px;
  margin-bottom: 18px !important;
}

body.public-hub-competition #graduationAwardForm .form-section {
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 223, 37, 0.14) !important;
  border-radius: var(--hub-radius);
  background: rgba(12, 16, 22, 0.42);
}

body.public-hub-competition #graduationAwardForm .form-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 223, 37, 0.14) !important;
  color: var(--hub-text) !important;
  font-family: var(--hub-font);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
}

body.public-hub-competition #graduationAwardForm .form-section h2::before {
  content: "";
  width: 9px;
  height: 28px;
  border-radius: 999px;
  background: var(--hub-yellow);
  flex: 0 0 auto;
}

body.public-hub-competition #graduationAwardForm .form-label,
body.public-hub-competition #graduationAwardForm label {
  margin-bottom: 7px;
  color: rgba(246, 247, 251, 0.86) !important;
  font-family: var(--hub-font) !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0;
}

body.public-hub-competition #graduationAwardForm .form-text,
body.public-hub-competition #graduationAwardForm p,
body.public-hub-competition #graduationAwardForm li {
  color: rgba(246, 247, 251, 0.72) !important;
}

body.public-hub-competition #graduationAwardForm strong {
  color: rgba(246, 247, 251, 0.92);
}

body.public-hub-competition #graduationAwardForm .form-control,
body.public-hub-competition #graduationAwardForm .form-select,
body.public-hub-competition #graduationAwardForm textarea {
  min-height: 44px;
  border-radius: var(--hub-radius);
  border: 1px solid rgba(255, 223, 37, 0.22) !important;
  background: var(--hub-input-bg) !important;
  color: var(--hub-input-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
}

body.public-hub-competition #graduationAwardForm textarea.form-control {
  min-height: 108px;
  resize: vertical;
}

body.public-hub-competition #graduationAwardForm .form-control:focus,
body.public-hub-competition #graduationAwardForm .form-select:focus,
body.public-hub-competition #graduationAwardForm textarea:focus {
  border-color: var(--hub-yellow) !important;
  box-shadow:
    var(--hub-focus-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.public-hub-competition #graduationAwardForm .form-check {
  margin-bottom: 10px;
}

body.public-hub-competition #graduationAwardForm .form-check-input {
  border-color: rgba(255, 223, 37, 0.42);
  accent-color: var(--hub-yellow);
}

body.public-hub-competition #graduationAwardForm .form-check-input:checked {
  background-color: var(--hub-yellow);
  border-color: var(--hub-yellow);
}

body.public-hub-competition #graduationAwardForm .form-check-label {
  color: rgba(246, 247, 251, 0.76) !important;
  font-weight: 600 !important;
}

body.public-hub-competition #graduationAwardForm .alert-warning {
  border: 1px solid rgba(255, 223, 37, 0.22);
  background: rgba(255, 223, 37, 0.1);
  color: rgba(246, 247, 251, 0.82);
}

body.public-hub-competition #graduationAwardForm .highlight-q {
  border: 1px solid rgba(255, 223, 37, 0.22) !important;
  border-left: 4px solid var(--hub-yellow) !important;
  border-radius: var(--hub-radius);
  background: rgba(255, 223, 37, 0.07) !important;
}

body.public-hub-competition #graduationAwardForm .highlight-q .badge {
  background: var(--hub-yellow) !important;
  color: var(--hub-bg-strong) !important;
}

body.public-hub-competition #graduationAwardForm .team-members-table {
  border-radius: var(--hub-radius);
  overflow: hidden;
}

body.public-hub-competition #graduationAwardForm .team-members-table table {
  margin: 0;
  color: rgba(246, 247, 251, 0.82);
}

body.public-hub-competition #graduationAwardForm .team-members-table th {
  background: rgba(255, 223, 37, 0.12) !important;
  color: var(--hub-yellow);
  border-color: rgba(255, 223, 37, 0.14);
}

body.public-hub-competition #graduationAwardForm .team-members-table td {
  border-color: rgba(255, 223, 37, 0.1);
}

body.public-hub-competition #graduationAwardForm .add-row-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 223, 37, 0.14) !important;
  border: 1px solid rgba(255, 223, 37, 0.34) !important;
  color: var(--hub-yellow) !important;
  font-weight: 800;
}

body.public-hub-competition #graduationAwardForm .dropzone {
  min-height: 130px;
  padding: 24px;
  border: 1px dashed rgba(255, 223, 37, 0.56) !important;
  border-radius: var(--hub-radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 223, 37, 0.1), transparent 0 46%),
    rgba(246, 247, 251, 0.055) !important;
  color: rgba(246, 247, 251, 0.74) !important;
  text-align: center;
}

body.public-hub-competition #graduationAwardForm .dropzone strong {
  color: var(--hub-yellow) !important;
}

body.public-hub-competition #graduationAwardForm .dropzone.dragover {
  background: rgba(255, 223, 37, 0.12) !important;
  border-color: var(--hub-yellow) !important;
}

body.public-hub-competition #graduationAwardForm #browse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(255, 223, 37, 0.14);
  border: 1px solid rgba(255, 223, 37, 0.34);
  color: var(--hub-yellow);
  font-weight: 800;
}

body.public-hub-competition #graduationAwardForm #file-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
}

body.public-hub-competition #graduationAwardForm .file-list-item {
  color: rgba(246, 247, 251, 0.82);
}

body.public-hub-competition #graduationAwardForm .file-list-item .file-info,
body.public-hub-competition #graduationAwardForm .file-list-item .file-size {
  color: rgba(246, 247, 251, 0.78);
}

body.public-hub-competition #graduationAwardForm button[type="submit"] {
  min-width: 220px;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--hub-yellow) !important;
  color: var(--hub-bg-strong) !important;
  font-family: var(--hub-font);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(255, 223, 37, 0.2);
}

body.public-hub-competition #graduationAwardForm button[type="submit"]:hover,
body.public-hub-competition #graduationAwardForm button[type="submit"]:focus {
  background: var(--hub-yellow-hover) !important;
  color: var(--hub-bg-strong) !important;
}

body.public-hub-competition #graduationAwardForm #contact-support {
  color: rgba(246, 247, 251, 0.68) !important;
}

body.public-hub-competition #graduationAwardForm #contact-support b {
  color: var(--hub-yellow) !important;
}

/* Social network */

body.public-hub-social {
  --main-w: min(760px, calc(100vw - 32px));
  --taskbar-w: 240px;
}

body.public-hub-social .layout {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 0 56px;
  gap: 22px;
}

@media (min-width: 1160px) {
  body.public-hub-social .layout {
    grid-template-columns: var(--taskbar-w) minmax(0, var(--main-w)) 150px;
    column-gap: 28px;
  }
}

body.public-hub-social .main {
  max-width: var(--main-w);
}

body.public-hub-social .layout,
body.public-hub-social .layout p,
body.public-hub-social .layout span,
body.public-hub-social .layout h1,
body.public-hub-social .layout h2,
body.public-hub-social .layout h3,
body.public-hub-social .layout h4,
body.public-hub-social .layout label,
body.public-hub-social .layout li,
body.public-hub-social .layout time,
body.public-hub-social .layout summary {
  color: rgba(246, 247, 251, 0.82) !important;
}

body.public-hub-social .taskbar {
  top: 104px;
}

body.public-hub-social .taskbar .panel,
body.public-hub-social .admin-panel,
body.public-hub-social article.post {
  background:
    linear-gradient(180deg, rgba(24, 31, 41, 0.96), rgba(16, 22, 30, 0.94)) !important;
  border: 1px solid var(--hub-border) !important;
  border-radius: var(--hub-radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

body.public-hub-social .panel-title,
body.public-hub-social .taskbar h3,
body.public-hub-social .admin-head h3 {
  color: var(--hub-text) !important;
  font-family: var(--hub-font);
  font-weight: 800;
  text-transform: uppercase;
}

body.public-hub-social .tb-btn,
body.public-hub-social .chip,
body.public-hub-social .tag,
body.public-hub-social .action-btn,
body.public-hub-social .arrow-btn,
body.public-hub-social .comment .c-btn {
  background: rgba(246, 247, 251, 0.055) !important;
  border: 1px solid var(--hub-border) !important;
  color: rgba(246, 247, 251, 0.78) !important;
  border-radius: var(--hub-radius);
}

body.public-hub-social .tb-btn:hover,
body.public-hub-social .tb-btn.active,
body.public-hub-social .chip:hover,
body.public-hub-social .tag:hover,
body.public-hub-social .action-btn:hover,
body.public-hub-social .arrow-btn:hover,
body.public-hub-social .comment .c-btn:hover {
  background: rgba(244, 213, 69, 0.12) !important;
  border-color: rgba(244, 213, 69, 0.26) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-social .tb-icon {
  color: var(--hub-yellow) !important;
}

body.public-hub-social .feed {
  gap: 22px;
}

body.public-hub-social .feed > .header-row2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  padding: 14px;
  background: rgba(15, 20, 28, 0.86);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

body.public-hub-social .searchbar input,
body.public-hub-social .sort select,
body.public-hub-social .admin-panel input,
body.public-hub-social .admin-panel select,
body.public-hub-social .admin-panel textarea,
body.public-hub-social .comment-form input,
body.public-hub-social .reply-form input {
  background: var(--hub-input-bg) !important;
  border: 1px solid rgba(174, 184, 197, 0.34) !important;
  color: var(--hub-input-text) !important;
}

body.public-hub-social .searchbar input::placeholder,
body.public-hub-social .admin-panel input::placeholder,
body.public-hub-social .admin-panel textarea::placeholder,
body.public-hub-social .comment-form input::placeholder,
body.public-hub-social .reply-form input::placeholder {
  color: rgba(17, 24, 39, 0.54) !important;
}

body.public-hub-social .searchbar svg,
body.public-hub-social .searchbar .clear {
  color: rgba(17, 24, 39, 0.62) !important;
}

body.public-hub-social .sort label {
  color: rgba(246, 247, 251, 0.72) !important;
  font-weight: 800;
}

body.public-hub-social .post-head {
  padding: 14px 16px 0;
}

body.public-hub-social .post-content {
  width: 100%;
  margin: 0;
  background: transparent !important;
}

body.public-hub-social .uploader .name,
body.public-hub-social .title {
  color: var(--hub-text) !important;
}

body.public-hub-social .uploader .time,
body.public-hub-social .desc,
body.public-hub-social .comment .meta,
body.public-hub-social .comment time {
  color: var(--hub-muted) !important;
}

body.public-hub-social .title {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
}

body.public-hub-social .tag {
  width: max-content;
  color: var(--hub-yellow) !important;
  font-weight: 800;
}

body.public-hub-social .carousel,
body.public-hub-social .slide {
  background: #090c10 !important;
}

body.public-hub-social .carousel {
  border: 1px solid var(--hub-border);
  border-radius: 8px;
}

body.public-hub-social .slide {
  aspect-ratio: auto !important;
  height: auto !important;
  max-height: none !important;
}

body.public-hub-social .slide img {
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: min(72vh, 760px);
  object-fit: contain !important;
  background: #090c10;
}

body.public-hub-social .like-btn {
  background: rgba(255, 223, 37, 0.12) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-social .like-btn .count {
  color: var(--hub-yellow) !important;
  font-weight: 800;
}

body.public-hub-social details.comments {
  background: rgba(246, 247, 251, 0.045) !important;
  border: 1px solid var(--hub-border) !important;
  border-radius: 8px;
}

body.public-hub-social details.comments > summary {
  color: rgba(246, 247, 251, 0.86) !important;
  font-weight: 800;
}

body.public-hub-social .comment {
  background: rgba(8, 12, 17, 0.48);
  border: 1px solid rgba(174, 184, 197, 0.12);
}

body.public-hub-social .comment-form,
body.public-hub-social .reply-form {
  border-color: rgba(255, 223, 37, 0.12) !important;
}

body.public-hub-social .comment-form button,
body.public-hub-social .reply-form button,
body.public-hub-social .admin-panel .btn {
  background: var(--hub-yellow) !important;
  color: #07090d !important;
  border: 0 !important;
  font-weight: 800;
}

body.public-hub-social .admin-panel .btn.secondary {
  background: rgba(246, 247, 251, 0.08) !important;
  color: rgba(246, 247, 251, 0.78) !important;
  border: 1px solid rgba(255, 223, 37, 0.16) !important;
}

body.public-hub-social .arrow-stack {
  gap: 12px;
}

body.public-hub-social .arrow-stack br {
  display: none;
}

@media (max-width: 767px) {
  body.public-hub-social .layout {
    width: min(100% - 24px, 760px);
    padding-top: 22px;
  }

  body.public-hub-social .feed > .header-row2 {
    grid-template-columns: 1fr;
  }

  body.public-hub-social .sort {
    justify-self: start;
  }
}

/* Chatroom and course workspace */

body.public-hub-chatroom .shell {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 0 56px;
  gap: 18px;
}

body.public-hub-chatroom .panel,
body.public-hub-chatroom #chatList,
body.public-hub-chatroom #chatroom,
body.public-hub-chatroom .placeholder {
  background:
    linear-gradient(180deg, rgba(24, 31, 41, 0.96), rgba(16, 22, 30, 0.94)) !important;
  border: 1px solid var(--hub-border) !important;
  border-radius: var(--hub-radius) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

body.public-hub-chatroom .panel-header,
body.public-hub-chatroom .composer,
body.public-hub-chatroom .composer-container {
  background: rgba(12, 16, 22, 0.5) !important;
  border-color: var(--hub-border) !important;
}

body.public-hub-chatroom .title,
body.public-hub-chatroom .name,
body.public-hub-chatroom #roomName,
body.public-hub-chatroom .placeholder h3 {
  color: var(--hub-text) !important;
  font-family: var(--hub-font);
  font-weight: 800;
}

body.public-hub-chatroom .sub,
body.public-hub-chatroom .preview,
body.public-hub-chatroom .time,
body.public-hub-chatroom .section-label,
body.public-hub-chatroom .placeholder p,
body.public-hub-chatroom .msg .info,
body.public-hub-chatroom .msg .uname {
  color: var(--hub-muted) !important;
}

body.public-hub-chatroom .section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.public-hub-chatroom .search input,
body.public-hub-chatroom .input textarea,
body.public-hub-chatroom .assign-textarea,
body.public-hub-chatroom .input,
body.public-hub-chatroom .modal input,
body.public-hub-chatroom .modal textarea,
body.public-hub-chatroom .modal select {
  background: rgba(246, 247, 251, 0.065) !important;
  border: 1px solid rgba(174, 184, 197, 0.28) !important;
  color: rgba(246, 247, 251, 0.9) !important;
}

body.public-hub-chatroom .search input::placeholder,
body.public-hub-chatroom .input textarea::placeholder,
body.public-hub-chatroom .assign-textarea::placeholder,
body.public-hub-chatroom .modal input::placeholder,
body.public-hub-chatroom .modal textarea::placeholder {
  color: rgba(246, 247, 251, 0.42) !important;
}

body.public-hub-chatroom .search .icon {
  color: rgba(255, 223, 37, 0.66) !important;
  opacity: 1;
}

body.public-hub-chatroom .search input:focus,
body.public-hub-chatroom .input textarea:focus,
body.public-hub-chatroom .assign-textarea:focus,
body.public-hub-chatroom .modal input:focus,
body.public-hub-chatroom .modal textarea:focus,
body.public-hub-chatroom .modal select:focus {
  background: rgba(246, 247, 251, 0.095) !important;
  border-color: var(--hub-yellow) !important;
  box-shadow: 0 0 0 3px rgba(255, 223, 37, 0.16);
  outline: none;
}

body.public-hub-chatroom .btn,
body.public-hub-chatroom .btn-icon,
body.public-hub-chatroom .emoji-btn,
body.public-hub-chatroom .pill-btn {
  background: rgba(246, 247, 251, 0.055) !important;
  border: 1px solid var(--hub-border) !important;
  color: rgba(246, 247, 251, 0.78) !important;
  border-radius: 8px;
  font-weight: 800;
}

body.public-hub-chatroom .btn:hover,
body.public-hub-chatroom .btn-icon:hover,
body.public-hub-chatroom .emoji-btn:hover,
body.public-hub-chatroom .pill-btn:hover {
  background: rgba(255, 223, 37, 0.14) !important;
  border-color: rgba(255, 223, 37, 0.34) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .btn.primary,
body.public-hub-chatroom #sendBtn,
body.public-hub-chatroom .pill-btn.primary {
  background: var(--hub-yellow) !important;
  border-color: var(--hub-yellow) !important;
  color: #07090d !important;
}

body.public-hub-chatroom .grip .bar {
  background: rgba(255, 223, 37, 0.16) !important;
}

body.public-hub-chatroom .grip .fill {
  background: var(--hub-yellow) !important;
}

body.public-hub-chatroom .item-row {
  border-bottom: 1px solid rgba(174, 184, 197, 0.1) !important;
}

body.public-hub-chatroom .item-row:hover,
body.public-hub-chatroom .item-row.active {
  background: rgba(255, 223, 37, 0.1) !important;
  border-left-color: rgba(255, 223, 37, 0.2) !important;
}

body.public-hub-chatroom .item-row .meta-head .name,
body.public-hub-chatroom .item-row .preview,
body.public-hub-chatroom .item-row .time {
  color: inherit;
}

body.public-hub-chatroom .unread,
body.public-hub-chatroom .unread-badge {
  background: var(--hub-yellow) !important;
  color: #07090d !important;
  box-shadow: 0 8px 18px rgba(255, 223, 37, 0.2);
}

body.public-hub-chatroom .messages {
  background: rgba(6, 9, 13, 0.28) !important;
}

body.public-hub-chatroom .msg .bubble {
  background: rgba(246, 247, 251, 0.06) !important;
  border-color: var(--hub-border) !important;
  color: rgba(246, 247, 251, 0.86) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

body.public-hub-chatroom .msg.me .bubble {
  background: rgba(255, 223, 37, 0.14) !important;
  border-color: rgba(255, 223, 37, 0.26) !important;
}

body.public-hub-chatroom .msg.me .bubble,
body.public-hub-chatroom .msg.me .bubble .content {
  color: rgba(246, 247, 251, 0.92) !important;
}

body.public-hub-chatroom .dropdown2,
body.public-hub-chatroom .emoji-picker,
body.public-hub-chatroom .poll-panel,
body.public-hub-chatroom .composer-actions-bar {
  background: rgba(10, 13, 18, 0.96) !important;
  border: 1px solid var(--hub-border-strong) !important;
  box-shadow: var(--hub-shadow);
}

body.public-hub-chatroom #chatList {
  overflow: hidden;
}

body.public-hub-chatroom #chatList .panel-header,
body.public-hub-chatroom #chatList .actions {
  overflow: visible;
}

body.public-hub-chatroom #chatList .panel-header {
  z-index: 30;
}

body.public-hub-chatroom #menu.dropdown2 {
  z-index: 40;
  margin: 0;
  padding: 6px;
  overflow: hidden;
}

body.public-hub-chatroom #menu.dropdown2 .item {
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent !important;
  box-shadow: none;
  color: rgba(246, 247, 251, 0.82) !important;
}

body.public-hub-chatroom #menu.dropdown2 .item:hover,
body.public-hub-chatroom #menu.dropdown2 .item:focus-visible {
  outline: none;
  background: rgba(255, 223, 37, 0.12) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom #menu.dropdown2 .item:active,
body.public-hub-chatroom #menu.dropdown2 .item.active,
body.public-hub-chatroom #menu.dropdown2 .item.selected,
body.public-hub-chatroom #menu.dropdown2 .item[aria-selected="true"] {
  background: rgba(255, 223, 37, 0.18) !important;
  color: var(--hub-yellow-hover) !important;
}

body.public-hub-chatroom #menu.dropdown2 .item.disabled,
body.public-hub-chatroom #menu.dropdown2 .item[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
  color: var(--hub-muted-soft) !important;
}

body.public-hub-chatroom .dropdown2 .item,
body.public-hub-chatroom .composer-actions-bar .item {
  color: rgba(246, 247, 251, 0.78) !important;
}

body.public-hub-chatroom .dropdown2 .item:hover,
body.public-hub-chatroom .composer-actions-bar .item:hover {
  background: rgba(255, 223, 37, 0.12) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom input[type="date"],
body.public-hub-chatroom input[type="time"],
body.public-hub-chatroom input[type="datetime-local"] {
  color-scheme: dark !important;
}

body.public-hub-chatroom input[type="date"]::-webkit-calendar-picker-indicator,
body.public-hub-chatroom input[type="time"]::-webkit-calendar-picker-indicator,
body.public-hub-chatroom input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(91%) sepia(71%) saturate(748%) hue-rotate(347deg) brightness(104%) contrast(103%) !important;
  opacity: 0.95 !important;
}

body.public-hub-chatroom select option,
body.public-hub-chatroom .assign-textarea option {
  background: #10141b !important;
  color: rgba(246, 247, 251, 0.92) !important;
}

body.public-hub-chatroom select option:checked {
  background: #2f2a12 !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .header-search {
  gap: 12px;
}

body.public-hub-chatroom .header-search .btn.icon-only {
  flex: 0 0 40px;
  height: 40px;
}

body.public-hub-chatroom .header-search .search-wide {
  max-width: none;
}

body.public-hub-chatroom .list .empty,
body.public-hub-chatroom #giBody .empty,
body.public-hub-chatroom .voter-list .empty {
  border-left: 0 !important;
  color: rgba(246, 247, 251, 0.48) !important;
  background: transparent !important;
}

body.public-hub-chatroom .grip {
  height: 18px;
  opacity: 0.58;
}

body.public-hub-chatroom .grip:hover,
body.public-hub-chatroom .grip:focus-visible {
  opacity: 0.9;
}

body.public-hub-chatroom .grip .bar {
  width: clamp(44px, 11%, 96px);
  height: 3px;
  background: rgba(246, 247, 251, 0.12) !important;
}

body.public-hub-chatroom .poll-panel {
  padding: 14px;
  border-top: 1px solid rgba(255, 223, 37, 0.16) !important;
}

body.public-hub-chatroom .poll-panel.show {
  min-height: 280px;
  max-height: min(58vh, 460px);
}

body.public-hub-chatroom .overlay {
  z-index: 109;
}

body.public-hub-chatroom .voter-panel {
  z-index: 110;
  overflow: hidden;
}

body.public-hub-chatroom .voter-list {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  scroll-padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.public-hub-chatroom .group-create-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hub-border);
}

body.public-hub-chatroom .group-title-input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(174, 184, 197, 0.28);
  border-radius: 8px;
  background: rgba(246, 247, 251, 0.065);
  color: var(--hub-text);
}

body.public-hub-chatroom .course-success-toast {
  position: fixed;
  top: 92px;
  left: 50%;
  z-index: 12000;
  width: min(420px, calc(100% - 32px));
  padding: 12px 16px;
  transform: translate(-50%, -10px);
  opacity: 0;
  border: 1px solid rgba(116, 241, 173, 0.34);
  border-radius: 8px;
  background: rgba(13, 32, 24, 0.98);
  color: #b8f5cd;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  font-family: var(--hub-font);
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.public-hub-chatroom .course-success-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 700px) {
  body.public-hub-chatroom .poll-panel.show {
    min-height: 220px;
    max-height: 52dvh;
  }

  body.public-hub-chatroom .group-create-controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.public-hub-chatroom .group-title-input {
    grid-column: 1 / -1;
  }

  body.public-hub-chatroom .course-success-toast {
    top: 76px;
  }

  body.public-hub-chatroom {
    --sheet-max-h: min(78vh, 680px);
    --sheet-max-h: min(78dvh, 680px);
  }

  body.public-hub-chatroom .voter-panel {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: var(--sheet-max-h);
    max-height: calc(100vh - env(safe-area-inset-top));
    max-height: calc(100dvh - env(safe-area-inset-top));
    border-left: 0 !important;
    border-top: 1px solid var(--hub-border-strong) !important;
    border-radius: 16px 16px 0 0 !important;
    transform: translateY(100%);
  }

  body.public-hub-chatroom .voter-panel.show {
    transform: translateY(0);
  }

  body.public-hub-chatroom .voter-header {
    position: sticky;
    top: 0;
    z-index: 1;
    flex: 0 0 auto;
    min-height: 56px;
    padding-top: 16px;
  }

  body.public-hub-chatroom .voter-header::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(246, 247, 251, 0.28);
    transform: translateX(-50%);
  }

  body.public-hub-chatroom #menu.dropdown2 {
    right: 0;
    width: min(240px, calc(100vw - 32px));
    max-height: min(60dvh, 360px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

body.public-hub-chatroom .poll-row input[type="text"],
body.public-hub-chatroom .opt input,
body.public-hub-chatroom .emoji-search,
body.public-hub-chatroom .voter-search input,
body.public-hub-chatroom #giTitleInput {
  background: rgba(246, 247, 251, 0.065) !important;
  border: 1px solid rgba(255, 223, 37, 0.22) !important;
  color: rgba(246, 247, 251, 0.9) !important;
}

body.public-hub-chatroom .poll-row input[type="text"]::placeholder,
body.public-hub-chatroom .opt input::placeholder,
body.public-hub-chatroom .emoji-search::placeholder,
body.public-hub-chatroom .voter-search input::placeholder,
body.public-hub-chatroom #giTitleInput::placeholder {
  color: rgba(246, 247, 251, 0.42) !important;
}

body.public-hub-chatroom .opt .del,
body.public-hub-chatroom .vote-btn,
body.public-hub-chatroom .view-voters-btn,
body.public-hub-chatroom .close-btn {
  background: rgba(246, 247, 251, 0.055) !important;
  border: 1px solid rgba(255, 223, 37, 0.16) !important;
  color: rgba(246, 247, 251, 0.78) !important;
  border-radius: 8px;
  font-weight: 800;
}

body.public-hub-chatroom .opt .del:hover,
body.public-hub-chatroom .vote-btn:hover,
body.public-hub-chatroom .view-voters-btn:hover,
body.public-hub-chatroom .close-btn:hover {
  background: rgba(255, 223, 37, 0.14) !important;
  border-color: rgba(255, 223, 37, 0.34) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .switch {
  background: rgba(246, 247, 251, 0.12) !important;
  border-color: rgba(255, 223, 37, 0.18) !important;
}

body.public-hub-chatroom .switch::after {
  background: rgba(246, 247, 251, 0.86) !important;
}

body.public-hub-chatroom .switch.on {
  background: rgba(255, 223, 37, 0.58) !important;
}

body.public-hub-chatroom .poll-card {
  background: rgba(7, 10, 14, 0.72) !important;
  border: 1px solid rgba(255, 223, 37, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.public-hub-chatroom .poll-card header {
  border-bottom-color: rgba(255, 223, 37, 0.12) !important;
  color: var(--hub-text) !important;
}

body.public-hub-chatroom .poll-card .chip {
  background: rgba(255, 223, 37, 0.12) !important;
  border-color: rgba(255, 223, 37, 0.24) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .poll-option {
  gap: 10px;
}

body.public-hub-chatroom .poll-option .bar {
  background: rgba(246, 247, 251, 0.075) !important;
  border-color: rgba(255, 223, 37, 0.16) !important;
}

body.public-hub-chatroom .poll-option .fill {
  background: linear-gradient(90deg, rgba(255, 223, 37, 0.9), rgba(255, 179, 36, 0.72)) !important;
}

body.public-hub-chatroom .poll-option .fill.highlight {
  background: linear-gradient(90deg, #74f1ad, var(--hub-yellow)) !important;
}

body.public-hub-chatroom .poll-option .label,
body.public-hub-chatroom .option-text,
body.public-hub-chatroom .poll-footer .left {
  color: rgba(246, 247, 251, 0.62) !important;
}

body.public-hub-chatroom .voter-panel {
  background: rgba(7, 10, 14, 0.98) !important;
  border-left-color: rgba(255, 223, 37, 0.18) !important;
  box-shadow: var(--hub-shadow);
}

body.public-hub-chatroom .voter-header {
  background: rgba(10, 13, 18, 0.98) !important;
  border-bottom-color: rgba(255, 223, 37, 0.14) !important;
}

body.public-hub-chatroom .voter-title {
  color: var(--hub-text) !important;
}

body.public-hub-chatroom .voter-sub,
body.public-hub-chatroom .voter-item .vmeta {
  color: rgba(246, 247, 251, 0.55) !important;
}

body.public-hub-chatroom .voter-item {
  background: rgba(246, 247, 251, 0.055) !important;
  border-color: rgba(255, 223, 37, 0.12) !important;
}

body.public-hub-chatroom .voter-item .vname {
  color: var(--hub-text) !important;
}

body.public-hub-chatroom .attachment-preview {
  background: rgba(255, 223, 37, 0.075) !important;
  border: 1px dashed rgba(255, 223, 37, 0.34) !important;
  color: rgba(246, 247, 251, 0.7) !important;
  min-width: 0;
}

body.public-hub-chatroom .attachment-preview .file-info {
  min-width: 0;
}

body.public-hub-chatroom .attachment-preview .file-info .icon {
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .attachment-preview .file-info .name {
  color: var(--hub-text) !important;
}

body.public-hub-chatroom .attachment-preview .file-info .size {
  color: rgba(246, 247, 251, 0.5) !important;
  white-space: nowrap;
}

body.public-hub-chatroom .attachment-preview .cancel-attach-btn {
  color: rgba(246, 247, 251, 0.58) !important;
  border-radius: 999px;
}

body.public-hub-chatroom .attachment-preview .cancel-attach-btn:hover {
  background: rgba(255, 223, 37, 0.14) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .msg.wide {
  max-width: min(92%, 560px);
}

body.public-hub-chatroom .msg .bubble img,
body.public-hub-chatroom .msg .bubble video {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(46vh, 420px);
  object-fit: contain !important;
  background: #090c10 !important;
  border: 1px solid rgba(255, 223, 37, 0.12);
}

body.public-hub-chatroom .file-meta {
  color: rgba(246, 247, 251, 0.6) !important;
}

body.public-hub-chatroom .file-name-link,
body.public-hub-chatroom .msg .bubble a {
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .emoji-picker {
  padding: 10px;
  border-radius: 12px;
}

body.public-hub-chatroom .emoji-grid {
  gap: 7px;
}

body.public-hub-chatroom .emoji-item {
  background: rgba(246, 247, 251, 0.055) !important;
  border: 1px solid rgba(255, 223, 37, 0.1);
  color: var(--hub-text) !important;
}

body.public-hub-chatroom .emoji-item:hover,
body.public-hub-chatroom .emoji-item:focus {
  background: rgba(255, 223, 37, 0.14) !important;
  border-color: rgba(255, 223, 37, 0.28);
}

body.public-hub-chatroom .reactions {
  margin-top: 8px;
}

body.public-hub-chatroom .reaction,
body.public-hub-chatroom .quick-react,
body.public-hub-chatroom .quick-react button,
body.public-hub-chatroom .msg .act-btn,
body.public-hub-chatroom .msg-actions-menu {
  background: rgba(8, 12, 17, 0.96) !important;
  border-color: rgba(255, 223, 37, 0.16) !important;
  color: rgba(246, 247, 251, 0.82) !important;
}

body.public-hub-chatroom .reaction.me {
  background: rgba(255, 223, 37, 0.16) !important;
  border-color: rgba(255, 223, 37, 0.38) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .reaction .count {
  color: rgba(246, 247, 251, 0.58) !important;
}

body.public-hub-chatroom .quick-react button:hover,
body.public-hub-chatroom .msg .act-btn:hover,
body.public-hub-chatroom .msg-actions-menu .row:hover {
  background: rgba(255, 223, 37, 0.14) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom #groupInfoModal > div:last-child {
  background: rgba(8, 12, 17, 0.98) !important;
  border: 1px solid rgba(255, 223, 37, 0.2) !important;
  box-shadow: var(--hub-shadow) !important;
}

body.public-hub-chatroom #groupInfoModal > div:last-child > div:first-child {
  background: rgba(255, 223, 37, 0.055) !important;
  border-bottom-color: rgba(255, 223, 37, 0.16) !important;
}

body.public-hub-chatroom #groupInfoModal strong,
body.public-hub-chatroom #giBody {
  color: var(--hub-text) !important;
}

body.public-hub-chatroom #giBody > div:first-child {
  border: 1px solid rgba(255, 223, 37, 0.12);
  border-radius: 10px;
  padding: 10px;
  background: rgba(246, 247, 251, 0.045);
}

body.public-hub-chatroom #giList {
  display: grid;
  gap: 8px;
}

body.public-hub-chatroom .gi-member {
  padding: 10px !important;
  border: 1px solid rgba(255, 223, 37, 0.12) !important;
  border-radius: 10px;
  background: rgba(246, 247, 251, 0.045);
}

body.public-hub-chatroom #giActions {
  border-top: 1px solid rgba(255, 223, 37, 0.12);
  padding-top: 12px;
}

body.public-hub-chatroom #giDisbandBtn,
body.public-hub-chatroom .btn.danger {
  background: rgba(255, 91, 91, 0.13) !important;
  border-color: rgba(255, 91, 91, 0.28) !important;
  color: #ffb1b1 !important;
}

body.public-hub-chatroom #groupSelected {
  margin: 8px 12px 10px;
  padding: 12px !important;
  border: 1px solid rgba(255, 223, 37, 0.14) !important;
  border-radius: 10px;
  background: rgba(246, 247, 251, 0.045);
}

body.public-hub-chatroom #groupSelected > span {
  color: rgba(246, 247, 251, 0.7) !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-hub-chatroom #selChips:empty::before,
body.public-hub-chatroom #giAddSelected:empty::before {
  content: "No members selected";
  color: rgba(246, 247, 251, 0.42);
  font-size: 0.82rem;
}

body.public-hub-chatroom #selChips > div,
body.public-hub-chatroom #giAddSelected > div {
  background: rgba(255, 223, 37, 0.09) !important;
  border: 1px solid rgba(255, 223, 37, 0.22) !important;
  color: var(--hub-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.public-hub-chatroom #selChips > div > span,
body.public-hub-chatroom #giAddSelected > div > span {
  color: rgba(246, 247, 251, 0.86) !important;
}

body.public-hub-chatroom #selChips button,
body.public-hub-chatroom #giAddSelected button {
  width: 22px;
  height: 22px;
  border-radius: 999px !important;
  color: rgba(246, 247, 251, 0.58) !important;
  display: inline-grid;
  place-items: center;
}

body.public-hub-chatroom #selChips button:hover,
body.public-hub-chatroom #giAddSelected button:hover {
  background: rgba(255, 223, 37, 0.16) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom #groupTitleInput,
body.public-hub-chatroom #giAddSearch {
  background: rgba(246, 247, 251, 0.065) !important;
  border: 1px solid rgba(255, 223, 37, 0.22) !important;
  color: rgba(246, 247, 251, 0.9) !important;
}

body.public-hub-chatroom #groupTitleInput::placeholder,
body.public-hub-chatroom #giAddSearch::placeholder {
  color: rgba(246, 247, 251, 0.42) !important;
}

body.public-hub-chatroom #groupResults,
body.public-hub-chatroom #giAddResults {
  border-radius: 10px;
  overflow: hidden;
}

body.public-hub-chatroom #groupResults .item-row,
body.public-hub-chatroom #giAddResults .item-row {
  margin: 0 8px 6px;
  border: 1px solid rgba(255, 223, 37, 0.1) !important;
  border-left: 1px solid rgba(255, 223, 37, 0.1) !important;
  border-radius: 10px;
  background: rgba(246, 247, 251, 0.04);
}

body.public-hub-chatroom #groupResults .item-row:hover,
body.public-hub-chatroom #giAddResults .item-row:hover {
  background: rgba(255, 223, 37, 0.08) !important;
  border-color: rgba(255, 223, 37, 0.22) !important;
}

body.public-hub-chatroom #groupResults input[type="checkbox"],
body.public-hub-chatroom #giAddResults input[type="checkbox"] {
  accent-color: var(--hub-yellow) !important;
  width: 16px;
  height: 16px;
}

body.public-hub-chatroom #giAddPanel {
  margin: 12px 0 4px !important;
  padding: 12px !important;
  border: 1px solid rgba(255, 223, 37, 0.16) !important;
  border-radius: 10px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 223, 37, 0.08), transparent 0 36%),
    rgba(246, 247, 251, 0.045) !important;
}

body.public-hub-chatroom #giAddPanel > div:first-child {
  align-items: stretch !important;
}

body.public-hub-chatroom #giAddPanel .section-label {
  padding: 8px 2px 8px;
}

body.public-hub-chatroom #editBanner,
body.public-hub-chatroom #replyBanner,
body.public-hub-chatroom .reply-banner,
body.public-hub-chatroom .contact-creator-cta,
body.public-hub-chatroom .contact-quick-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 223, 37, 0.08), transparent 0 36%),
    rgba(246, 247, 251, 0.045) !important;
  border: 1px solid rgba(255, 223, 37, 0.16) !important;
  color: rgba(246, 247, 251, 0.72) !important;
}

body.public-hub-chatroom #editBanner strong,
body.public-hub-chatroom #replyBanner strong,
body.public-hub-chatroom .contact-creator-cta .cta-title {
  color: var(--hub-text) !important;
}

body.public-hub-chatroom #editBanner .banner-text,
body.public-hub-chatroom #replyBanner .banner-text,
body.public-hub-chatroom .contact-creator-cta .cta-sub {
  color: rgba(246, 247, 251, 0.58) !important;
}

body.public-hub-chatroom #editBanner button,
body.public-hub-chatroom #replyBanner button,
body.public-hub-chatroom .reply-banner .x {
  color: rgba(246, 247, 251, 0.58) !important;
  border-radius: 999px;
}

body.public-hub-chatroom #editBanner button:hover,
body.public-hub-chatroom #replyBanner button:hover,
body.public-hub-chatroom .reply-banner .x:hover {
  background: rgba(255, 223, 37, 0.14) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .contact-quick-panel .quick-chips .chip {
  background: rgba(255, 223, 37, 0.09) !important;
  border-color: rgba(255, 223, 37, 0.22) !important;
  color: rgba(246, 247, 251, 0.84) !important;
}

body.public-hub-chatroom .contact-quick-panel .quick-chips .chip:hover {
  background: rgba(255, 223, 37, 0.16) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom .custom-modal {
  background: rgba(3, 5, 8, 0.72) !important;
  backdrop-filter: blur(6px);
}

body.public-hub-chatroom .custom-modal-content {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 223, 37, 0.1), transparent 0 36%),
    linear-gradient(180deg, rgba(18, 23, 31, 0.98), rgba(8, 12, 17, 0.98)) !important;
  border: 1px solid rgba(255, 223, 37, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: var(--hub-shadow) !important;
  color: var(--hub-text) !important;
}

body.public-hub-chatroom .custom-modal-close,
body.public-hub-chatroom .cal-close,
body.public-hub-chatroom .icon-btn.meet2-close {
  background: rgba(246, 247, 251, 0.055) !important;
  border: 1px solid rgba(255, 223, 37, 0.16) !important;
  border-radius: 8px;
  color: rgba(246, 247, 251, 0.76) !important;
  line-height: 1;
}

body.public-hub-chatroom .custom-modal-close:hover,
body.public-hub-chatroom .cal-close:hover,
body.public-hub-chatroom .icon-btn.meet2-close:hover {
  background: rgba(255, 223, 37, 0.14) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom #scheduleTitle,
body.public-hub-chatroom .custom-modal-content h2,
body.public-hub-chatroom .custom-modal-content label,
body.public-hub-chatroom #calTitle,
body.public-hub-chatroom #calDayTitle,
body.public-hub-chatroom #meetingDialog h2,
body.public-hub-chatroom #meetingDialog h3,
body.public-hub-chatroom #meetingDialog label {
  color: var(--hub-text) !important;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
}

body.public-hub-chatroom .custom-modal-content .hint,
body.public-hub-chatroom .custom-modal-content small,
body.public-hub-chatroom .form-msg,
body.public-hub-chatroom #meetingDialog .hint,
body.public-hub-chatroom #meetingDialog .when,
body.public-hub-chatroom #meetingDialog .meta,
body.public-hub-chatroom #meetingDialog .no-meeting,
body.public-hub-chatroom #calendarModal .cal-legend,
body.public-hub-chatroom #calendarModal .cal-event-time {
  color: rgba(246, 247, 251, 0.56) !important;
}

body.public-hub-chatroom .custom-modal-content input,
body.public-hub-chatroom .custom-modal-content textarea,
body.public-hub-chatroom .custom-modal-content select,
body.public-hub-chatroom #meetingDialog input,
body.public-hub-chatroom #meetingDialog textarea,
body.public-hub-chatroom #meetingDialog select {
  background: rgba(246, 247, 251, 0.065) !important;
  border: 1px solid rgba(255, 223, 37, 0.22) !important;
  color: rgba(246, 247, 251, 0.9) !important;
  border-radius: 8px !important;
}

body.public-hub-chatroom .custom-modal-content input::placeholder,
body.public-hub-chatroom .custom-modal-content textarea::placeholder,
body.public-hub-chatroom #meetingDialog input::placeholder,
body.public-hub-chatroom #meetingDialog textarea::placeholder {
  color: rgba(246, 247, 251, 0.42) !important;
}

body.public-hub-chatroom .custom-modal-content input:focus,
body.public-hub-chatroom .custom-modal-content textarea:focus,
body.public-hub-chatroom .custom-modal-content select:focus,
body.public-hub-chatroom #meetingDialog input:focus,
body.public-hub-chatroom #meetingDialog textarea:focus,
body.public-hub-chatroom #meetingDialog select:focus {
  border-color: var(--hub-yellow) !important;
  box-shadow: 0 0 0 3px rgba(255, 223, 37, 0.16) !important;
  outline: none;
}

body.public-hub-chatroom .chips-input,
body.public-hub-chatroom #attendeeChips,
body.public-hub-chatroom .result-links {
  background: rgba(246, 247, 251, 0.045) !important;
  border: 1px solid rgba(255, 223, 37, 0.14) !important;
  border-radius: 8px !important;
}

body.public-hub-chatroom .form-msg.success {
  color: #9ef0bb !important;
}

body.public-hub-chatroom .form-msg.warn {
  color: #ffe791 !important;
}

body.public-hub-chatroom .form-msg.error {
  color: #ffb1b1 !important;
}

body.public-hub-chatroom #submitBtn.primary2,
body.public-hub-chatroom .actions2 .btn.primary2 {
  background: var(--hub-yellow) !important;
  border: 1px solid var(--hub-yellow) !important;
  color: #07090d !important;
  border-radius: 8px;
  font-weight: 800;
}

body.public-hub-chatroom #calendarModal.cal-modal {
  background: rgba(3, 5, 8, 0.72) !important;
  backdrop-filter: blur(6px);
}

body.public-hub-chatroom #calendarModal .cal-dialog {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 223, 37, 0.1), transparent 0 32%),
    linear-gradient(180deg, rgba(18, 23, 31, 0.98), rgba(8, 12, 17, 0.98)) !important;
  border: 1px solid rgba(255, 223, 37, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: var(--hub-shadow) !important;
  color: var(--hub-text) !important;
}

body.public-hub-chatroom #calendarModal .cal-header,
body.public-hub-chatroom #calendarModal .cal-weekdays,
body.public-hub-chatroom #calendarModal .cal-sidebar,
body.public-hub-chatroom #calendarModal .cal-nav-wrap {
  background: rgba(8, 12, 17, 0.42) !important;
  border-color: rgba(255, 223, 37, 0.14) !important;
}

body.public-hub-chatroom #calendarModal .cal-weekdays > div {
  color: var(--hub-yellow) !important;
  font-weight: 800;
}

body.public-hub-chatroom #calendarModal .cal-day {
  background: rgba(246, 247, 251, 0.045) !important;
  border: 1px solid rgba(255, 223, 37, 0.1) !important;
  color: rgba(246, 247, 251, 0.82) !important;
  border-radius: 8px;
}

body.public-hub-chatroom #calendarModal .cal-day.other-month {
  opacity: 0.38;
}

body.public-hub-chatroom #calendarModal .cal-day.today,
body.public-hub-chatroom #calendarModal .cal-day.selected {
  background: rgba(255, 223, 37, 0.12) !important;
  border-color: rgba(255, 223, 37, 0.36) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom #calendarModal .cal-dot,
body.public-hub-chatroom #calendarModal .dot {
  background: var(--hub-yellow) !important;
}

body.public-hub-chatroom #calendarModal .cal-count {
  color: #07090d !important;
  background: var(--hub-yellow) !important;
  border-radius: 999px;
}

body.public-hub-chatroom #calendarModal .cal-nav,
body.public-hub-chatroom #calendarModal .cal-event-join,
body.public-hub-chatroom #calendarModal .cal-event-more {
  background: rgba(246, 247, 251, 0.055) !important;
  border: 1px solid rgba(255, 223, 37, 0.16) !important;
  color: rgba(246, 247, 251, 0.78) !important;
  border-radius: 8px;
  font-weight: 800;
}

body.public-hub-chatroom #calendarModal .cal-nav:hover,
body.public-hub-chatroom #calendarModal .cal-event-join:hover,
body.public-hub-chatroom #calendarModal .cal-event-more:hover {
  background: rgba(255, 223, 37, 0.14) !important;
  color: var(--hub-yellow) !important;
}

body.public-hub-chatroom #calendarModal .cal-nav:disabled {
  opacity: 0.35;
}

body.public-hub-chatroom #calendarModal .cal-event-item {
  background: rgba(246, 247, 251, 0.045) !important;
  border: 1px solid rgba(255, 223, 37, 0.12) !important;
  border-radius: 8px;
  color: rgba(246, 247, 251, 0.82) !important;
}

body.public-hub-chatroom #calendarModal .cal-event-title {
  color: var(--hub-text) !important;
  font-weight: 800;
}

body.public-hub-chatroom #calendarModal .cal-event-details {
  background: rgba(6, 9, 13, 0.46) !important;
  border-top: 1px solid rgba(255, 223, 37, 0.12) !important;
  color: rgba(246, 247, 251, 0.7) !important;
}

body.public-hub-chatroom #meetingDialog::backdrop {
  background: rgba(3, 5, 8, 0.72) !important;
  backdrop-filter: blur(6px);
}

body.public-hub-chatroom #meetingDialog .meet2-shell {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 223, 37, 0.1), transparent 0 32%),
    linear-gradient(180deg, rgba(18, 23, 31, 0.98), rgba(8, 12, 17, 0.98)) !important;
  border: 1px solid rgba(255, 223, 37, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: var(--hub-shadow) !important;
  color: var(--hub-text) !important;
}

body.public-hub-chatroom #meetingDialog .meet2-header,
body.public-hub-chatroom #meetingDialog .meet2-finder,
body.public-hub-chatroom #meetingDialog .finder-form,
body.public-hub-chatroom #meetingDialog .meet2-selected,
body.public-hub-chatroom #meetingDialog .quick-switch,
body.public-hub-chatroom #meetingDialog .meet2-tabs,
body.public-hub-chatroom #meetingDialog .filters-toggle {
  background: rgba(8, 12, 17, 0.42) !important;
  border-color: rgba(255, 223, 37, 0.14) !important;
}

body.public-hub-chatroom #meetingDialog .finder-item,
body.public-hub-chatroom #meetingDialog .row,
body.public-hub-chatroom #meetingDialog .card,
body.public-hub-chatroom #meetingDialog .quick-switch .chip {
  background: rgba(246, 247, 251, 0.045) !important;
  border: 1px solid rgba(255, 223, 37, 0.12) !important;
  color: rgba(246, 247, 251, 0.82) !important;
  border-radius: 8px;
}

body.public-hub-chatroom #meetingDialog .finder-item:hover,
body.public-hub-chatroom #meetingDialog .quick-switch .chip:hover {
  background: rgba(255, 223, 37, 0.1) !important;
  border-color: rgba(255, 223, 37, 0.28) !important;
}

body.public-hub-chatroom #meetingDialog .finder-item[aria-selected="true"],
body.public-hub-chatroom #meetingDialog .quick-switch .chip[aria-pressed="true"],
body.public-hub-chatroom #meetingDialog .meet2-tabs [role="tab"][aria-selected="true"] {
  background: rgba(255, 223, 37, 0.14) !important;
  border-color: rgba(255, 223, 37, 0.34) !important;
  color: var(--hub-yellow) !important;
  outline: 1px solid rgba(255, 223, 37, 0.28) !important;
}

body.public-hub-chatroom #meetingDialog .meet2-tabs [role="tab"] {
  background: rgba(246, 247, 251, 0.055) !important;
  border: 1px solid rgba(255, 223, 37, 0.16) !important;
  color: rgba(246, 247, 251, 0.78) !important;
  border-radius: 8px;
  font-weight: 800;
}

body.public-hub-chatroom #meetingDialog .row .who .name,
body.public-hub-chatroom #meetingDialog .finder-item .title {
  color: var(--hub-text) !important;
}

body.public-hub-chatroom #meetingDialog .status input[type="radio"] {
  accent-color: var(--hub-yellow) !important;
}

body.public-hub-chatroom #meetingDialog .danger-zone {
  background: rgba(255, 91, 91, 0.08) !important;
  border-color: rgba(255, 91, 91, 0.24) !important;
}

body.public-hub-chatroom .fabs .action,
body.public-hub-chatroom .btntest {
  background: rgba(10, 13, 18, 0.96) !important;
  border: 1px solid rgba(255, 223, 37, 0.22) !important;
  color: var(--hub-yellow) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28) !important;
}

body.public-hub-chatroom .btntest:hover,
body.public-hub-chatroom .fabs .action:hover {
  background: rgba(255, 223, 37, 0.16) !important;
  color: var(--hub-yellow) !important;
  transform: translateY(-1px);
}

body.public-hub-chatroom .fabs i,
body.public-hub-chatroom .btntest i {
  color: inherit !important;
}

body.public-hub-chatroom .item-row.active .avatar,
body.public-hub-chatroom .item-row:hover .avatar {
  box-shadow: 0 0 0 1px rgba(255, 223, 37, 0.22);
}

body.public-hub-chatroom .item-row.active .presence,
body.public-hub-chatroom .item-row:hover .presence {
  border-color: #10141b;
}

@media (max-width: 1000px) {
  body.public-hub-chatroom .shell {
    width: min(100% - 24px, 760px);
    padding-top: 22px;
  }
}

/* Footer */

.site-footer {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 223, 37, 0.09), transparent 0 30%),
    var(--hub-bg-strong) !important;
  border-top: 1px solid var(--hub-border);
}

.site-footer-title,
.subscribe-title {
  color: var(--hub-yellow) !important;
}

.footer-divider {
  border-color: rgba(255, 223, 37, 0.18) !important;
}

.footer-menu-link,
.site-footer-link,
.contact-item,
.copyright-text {
  color: var(--hub-muted) !important;
}

.footer-menu-link:hover,
.site-footer-link:hover {
  color: var(--hub-yellow) !important;
}

body.public-hub-page .footer-menu-link.is-active {
  color: var(--hub-yellow) !important;
  font-weight: 800;
}

body.public-hub-page .footer-menu-link.is-active::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 4px;
  background: var(--hub-yellow);
}

body.public-hub-page .site-footer .custom-btn {
  background: var(--hub-yellow) !important;
  border: 0 !important;
  color: var(--hub-bg-strong) !important;
  font-family: var(--hub-font);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(255, 223, 37, 0.18);
}

body.public-hub-page .site-footer .custom-btn:hover,
body.public-hub-page .site-footer .custom-btn:focus {
  background: var(--hub-yellow-hover) !important;
  color: var(--hub-bg-strong) !important;
}

/* Public UI polish */

body.public-hub-page .login-form {
  width: min(520px, calc(100vw - 32px));
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(180deg, rgba(24, 31, 41, 0.98), rgba(13, 18, 25, 0.98)) !important;
  border: 1px solid var(--hub-border-strong) !important;
  border-radius: var(--hub-radius) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42) !important;
  color: var(--hub-text);
}

body.public-hub-page .login-form .video-caption {
  margin-bottom: 22px;
  color: var(--hub-text) !important;
  font-family: var(--hub-font);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

body.public-hub-page .login-form .close-btn {
  color: var(--hub-muted-strong) !important;
  background: rgba(246, 247, 251, 0.06) !important;
  border: 1px solid var(--hub-border) !important;
}

body.public-hub-page .login-form .close-btn:hover,
body.public-hub-page .login-form .close-btn:focus {
  color: var(--hub-bg-strong) !important;
  background: var(--hub-yellow) !important;
}

body.public-hub-page .login-form .account-type {
  border: 1px solid transparent;
  border-radius: var(--hub-radius);
  transition: background-color 160ms ease, border-color 160ms ease;
}

body.public-hub-page .login-form .account-type:hover,
body.public-hub-page .login-form .account-type:focus-within {
  background: rgba(246, 247, 251, 0.05);
  border-color: var(--hub-border-strong);
}

body.public-hub-page .login-form .account-type p {
  color: var(--hub-text) !important;
  font-family: var(--hub-font);
  font-weight: 700;
}

body.public-hub-page .login-form .separator {
  background: var(--hub-border-strong) !important;
}

body.public-hub-about main > .section-padding .container,
body.public-hub-syllabus main > .section-padding .s004,
body.public-hub-competition main > .section-padding .form-wrapper .s004 {
  background: linear-gradient(180deg, rgba(25, 32, 42, 0.97), rgba(17, 23, 31, 0.96)) !important;
}

body.public-hub-about main > .section-padding .container {
  color: #d9dee5 !important;
}

body.public-hub-about main > .section-padding p,
body.public-hub-about main > .section-padding li {
  max-width: 78ch;
  color: #d9dee5 !important;
  line-height: 1.78;
}

body.public-hub-syllabus #SyllabusForm .form-group,
body.public-hub-competition #graduationAwardForm .mb-3 {
  margin-bottom: 20px !important;
}

body.public-hub-syllabus #SyllabusForm label,
body.public-hub-competition #graduationAwardForm .form-label,
body.public-hub-competition #graduationAwardForm label {
  margin-bottom: 7px;
  color: var(--hub-text) !important;
  font-weight: 700;
}

body.public-hub-syllabus #SyllabusForm .form-control,
body.public-hub-competition #graduationAwardForm .form-control,
body.public-hub-competition #graduationAwardForm .form-select {
  border-color: rgba(174, 184, 197, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.public-hub-competition #graduationAwardForm .form-section {
  background: rgba(8, 12, 17, 0.25) !important;
  border-color: var(--hub-border) !important;
}

body.public-hub-competition #graduationAwardForm .form-section h2 {
  color: var(--hub-text) !important;
}

body.public-hub-social article.post {
  overflow: hidden;
}

body.public-hub-social .post-head {
  padding: 18px 18px 8px;
}

body.public-hub-social .post-content > :not(.carousel) {
  margin-right: 18px;
  margin-left: 18px;
}

body.public-hub-social details.comments {
  margin: 14px 18px 18px;
}

body.public-hub-chatroom .panel-header {
  padding-top: 15px;
  padding-bottom: 15px;
}

body.public-hub-chatroom .messages,
body.public-hub-chatroom .panel-body {
  scrollbar-color: rgba(170, 178, 190, 0.42) transparent;
}

body.public-hub-chatroom .msg .bubble {
  line-height: 1.55;
}

/* Standalone development login */

body.public-hub-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-page-shell {
  width: min(440px, 100%);
}

.login-panel {
  padding: clamp(28px, 6vw, 42px);
  background: linear-gradient(180deg, rgba(25, 32, 42, 0.98), rgba(14, 19, 26, 0.98));
  border: 1px solid var(--hub-border-strong);
  border-radius: var(--hub-radius);
  box-shadow: var(--hub-shadow);
}

.login-brand {
  display: inline-flex;
  margin-bottom: 28px;
}

.login-brand img {
  display: block;
  width: 118px;
  height: auto;
}

.login-eyebrow {
  margin: 0 0 8px;
  color: var(--hub-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.login-panel h1 {
  margin: 0;
  color: var(--hub-text);
  font-size: clamp(1.8rem, 6vw, 2.35rem);
  line-height: 1.15;
}

.login-description {
  margin: 12px 0 24px;
  color: var(--hub-muted);
  line-height: 1.6;
}

.login-description code {
  color: var(--hub-muted-strong);
}

.login-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  color: #ffd5d5;
  background: rgba(232, 106, 106, 0.1);
  border: 1px solid rgba(232, 106, 106, 0.3);
  border-radius: var(--hub-radius);
}

.login-panel form {
  display: grid;
  gap: 9px;
}

.login-panel label {
  margin-top: 7px;
  color: var(--hub-muted-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.login-panel input[type="email"],
.login-panel input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--hub-input-text);
  background: var(--hub-input-bg);
  border: 1px solid rgba(174, 184, 197, 0.42);
  border-radius: var(--hub-radius);
}

.login-panel input:focus-visible {
  outline: 2px solid rgba(244, 213, 69, 0.76);
  outline-offset: 2px;
}

.login-panel input[type="submit"] {
  min-height: 46px;
  margin-top: 18px;
  color: var(--hub-bg-strong);
  background: var(--hub-yellow);
  border: 0;
  border-radius: var(--hub-radius);
  font-weight: 800;
  cursor: pointer;
}

.login-panel input[type="submit"]:hover {
  background: var(--hub-yellow-hover);
}

/* Print handoff: keep public pages readable when saved as PDF. */

@media print {
  :root {
    --hub-text: #111827;
    --hub-muted: #4b5563;
    --hub-muted-strong: #1f2937;
    --hub-yellow: #b39100;
    --hub-border: #d1d5db;
    --hub-shadow: none;
  }

  body,
  body.theme-yellow,
  body.public-hub-page {
    background: #ffffff !important;
    color: #111827 !important;
  }

  body.public-hub-page main::before,
  .bg-image,
  #searchModal,
  .btntest,
  .fabs,
  .emoji-picker,
  .custom-modal,
  #calendarModal,
  #meetingDialog {
    display: none !important;
  }

  .navbar,
  .site-footer,
  body.public-hub-page main > .section-padding,
  body.public-hub-page main > section,
  body.public-hub-about main > .section-padding .container,
  body.public-hub-search main > .section-padding .s004,
  body.public-hub-syllabus main > .section-padding .s004,
  body.public-hub-competition main > .section-padding .form-wrapper .s004,
  body.public-hub-social .taskbar .panel,
  body.public-hub-social .admin-panel,
  body.public-hub-social article.post,
  body.public-hub-chatroom .shell,
  body.public-hub-chatroom .panel,
  body.public-hub-chatroom .custom-modal-content {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
    color: #111827 !important;
  }

  body.public-hub-page *,
  body.public-hub-chatroom * {
    color: #111827 !important;
    text-shadow: none !important;
  }

  body.public-hub-page a,
  body.public-hub-chatroom a {
    color: #0645ad !important;
    text-decoration: underline !important;
  }

  body.public-hub-page img,
  body.public-hub-social article.post {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.public-hub-page input,
  body.public-hub-page textarea,
  body.public-hub-page select,
  body.public-hub-chatroom input,
  body.public-hub-chatroom textarea,
  body.public-hub-chatroom select {
    background: #ffffff !important;
    border: 1px solid #9ca3af !important;
    color: #111827 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 767px) {
  .navbar {
    min-height: 74px;
  }

  .navbar-brand .logo2 {
    height: 54px !important;
  }

  .navbar .navbar-collapse {
    padding: 12px 0 16px;
  }

  .navbar .nav-link {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .navbar .dropdown-menu {
    min-width: 0;
    margin-bottom: 8px;
    box-shadow: none;
  }

  body.public-hub-page main > .section-padding,
  body.public-hub-page main > section {
    scroll-margin-top: 74px;
  }

  body.public-hub-syllabus #SyllabusForm,
  body.public-hub-competition #graduationAwardForm {
    padding-right: 0;
    padding-left: 0;
  }

  body.public-hub-social .post-head {
    padding: 15px 14px 6px;
  }

  body.public-hub-social .post-content > :not(.carousel) {
    margin-right: 14px;
    margin-left: 14px;
  }

  body.public-hub-social details.comments {
    margin: 12px 14px 14px;
  }

  body.public-hub-chatroom .shell {
    width: calc(100% - 20px);
    padding-top: 18px;
  }
}
