/* JEDAR TECH's public visual language, scoped to the six CTF public views. */
@font-face {
  font-family: 'Instrument Sans';
  src: url('./instrument-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

.jedar-ctf {
  --bg-primary: #030805;
  --bg-secondary: #030805;
  --bg-tertiary: #0d1b13;
  --bg-glass: #061009f5;
  --accent-primary: #e4f3e9;
  --accent-secondary: #a1c9af;
  --accent-dark: #a1c9af;
  --accent-glow: #8affb70a;
  --text-primary: #e4f3e9;
  --text-secondary: #afc3b7;
  --text-tertiary: #a9bcb0;
  --text-muted: #a9bcb0;
  --text-accent: #e4f3e9;
  --border-color: #a8e8bd38;
  --border-secondary: #a8e8bd38;
  --border-subtle: #a8e8bd24;
  --border-accent: #e4f3e9;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-full: 0;
  --font-family: 'Cascadia Code', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --spacing-lg: 32px;
  --spacing-3xl: 96px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-glow: none;
  --ctf-gutter: 32px;
  --ctf-background-enabled: 1;
  margin: 0;
  background: #030805 !important;
  color: #e4f3e9;
  font-family: var(--font-family) !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.jedar-ctf *, .jedar-ctf *::before, .jedar-ctf *::after { box-sizing: border-box; }
.jedar-ctf :is(button, input, select, textarea) { font: inherit; }
.jedar-ctf :is(button, a[href], summary) { cursor: pointer; }
.jedar-ctf :is(button, input, select, textarea, a):focus-visible { outline: 2px solid #e4f3e9; outline-offset: 5px; }
.jedar-ctf :is(button, input, select, textarea):disabled { cursor: not-allowed; opacity: .55; }
.jedar-ctf :is(h1, h2, h3, h4) { color: #e4f3e9; background-image: none !important; -webkit-text-fill-color: currentColor !important; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.jedar-ctf h1, .jedar-ctf h2 { line-height: 1.05; }
.jedar-ctf p { line-height: 1.5; }
.jedar-ctf a { text-decoration: none; }
.jedar-ctf a:hover { color: #e4f3e9; }
.jedar-ctf img { max-width: 100%; }
.jedar-ctf :is(p, .participant-name, .admin-name) { overflow-wrap: anywhere; }
.jedar-ctf .container { max-width: none; width: 100%; padding-inline: var(--ctf-gutter); }
.jedar-ctf .main-content { padding-top: 0; }
.jedar-ctf section { scroll-margin-top: 32px; }
.jedar-ctf .section { padding-block: 100px; }
.jedar-ctf .grid { gap: 48px; }
.jedar-ctf .section-title { color: #e4f3e9; font-size: clamp(36px, 4.45vw, 64px); font-weight: 500; letter-spacing: -.04em; }
.jedar-ctf :is(.section-subtitle, .section-description) { font-size: 16px; color: #afc3b7; line-height: 1.5; }
.jedar-ctf .section-header { width: 100%; max-width: none; margin: 0 0 64px; padding-top: 28px; border-top: 1px solid var(--border-color); }
.jedar-ctf .text-center { text-align: left; }

/* Header and centered menu follow the main site; the original links remain. */
.jedar-ctf .navbar {
  position: absolute;
  inset: 0 0 auto;
  height: 86px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  z-index: 40;
}
.jedar-ctf .nav-container {
  width: 100%; max-width: none; height: 100%; padding: 0 var(--ctf-gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
}
.jedar-ctf .nav-brand { grid-column: 1; grid-row: 1; width: max-content; color: #e4f3e9; }
.jedar-ctf .brand-name { font-size: 18px; font-weight: 500; color: #e4f3e9; letter-spacing: -.03em; line-height: 1.1; }
.jedar-ctf .brand-subtitle { margin-top: 4px; font-size: 10px; font-weight: 400; color: #afc3b7; letter-spacing: .015em; text-transform: none; }
.jedar-ctf .nav-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.jedar-ctf .nav-link { background: none; padding: 5px 0; color: #e4f3e9; font-weight: 400; font-size: 14px; border: 0; }
.jedar-ctf .nav-link::after { display: none; }
.jedar-ctf .nav-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 16px; }
.jedar-ctf .nav-actions .btn { padding: 6px 0; font-size: 13px; }
.jedar-ctf .nav-actions .btn-primary { background: transparent; color: #e4f3e9; border: 0; border-bottom: 1px solid #e4f3e9; }
.jedar-ctf .nav-actions .btn-ghost { border: 0; }
.jedar-ctf .ctf-menu-toggle, .jedar-ctf .ctf-menu-close {
  appearance: none; border: 0; background: transparent; color: #e4f3e9;
  padding: 10px; font-size: 16px; font-weight: 400;
}
.jedar-ctf .ctf-menu-toggle { grid-column: 2; grid-row: 1; }
.jedar-ctf .navbar.ctf-nav-ready .nav-links {
  position: fixed; top: 0; left: 50%; width: 502px; max-width: 100%; max-height: 100dvh;
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  gap: 0; padding: 12px 24px 36px; overflow-y: auto; background: #08140d;
  transform: translate(-50%, -105%); visibility: hidden;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), visibility .45s;
  z-index: 42;
}
.jedar-ctf .navbar.ctf-menu-open .nav-links { transform: translate(-50%, 0); visibility: visible; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.jedar-ctf .navbar.ctf-nav-ready .nav-link {
  padding: 11px 0; color: #e4f3e9; font-size: 34px; font-weight: 400;
  letter-spacing: -.035em; line-height: 1.15; border-bottom: 1px solid #a8e8bd22;
}
.jedar-ctf .navbar.ctf-nav-ready .nav-link:hover { color: #87efaa; }
.jedar-ctf .ctf-menu-close { align-self: flex-end; margin-bottom: 24px; }
.jedar-ctf .ctf-menu-backdrop { position: fixed; inset: 0; z-index: 39; background: #000000b8; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.jedar-ctf .ctf-menu-backdrop.open { visibility: visible; opacity: 1; }
body.jedar-ctf.ctf-menu-open { overflow: hidden; }

/* Buttons use the main site's neutral, square and underline treatments. */
.jedar-ctf .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none;
  border-radius: 0; padding: 15px 22px; box-shadow: none;
  transition: background .2s, color .2s;
}
.jedar-ctf .btn:hover { transform: none; box-shadow: none; }
.jedar-ctf .btn-primary { background: #e4f3e9; color: #030805; border: 1px solid #e4f3e9; }
.jedar-ctf .btn-primary:hover { background: #bcffd2; color: #030805; }
.jedar-ctf .btn-primary * { color: inherit; }
.jedar-ctf :is(.btn-secondary, .btn-ghost) { color: #e4f3e9; background: transparent; border: 1px solid #a8e8bd38; }
.jedar-ctf :is(.btn-secondary, .btn-ghost):hover { color: #e4f3e9; background: #102319; }
.jedar-ctf .btn-sm { padding: 7px 0; border: 0; border-bottom: 1px solid #e4f3e9; font-size: 13px; }

/* User-provided ASCII artwork. CSS protection keeps moving ink behind text. */
.jedar-ctf .hero-section {
  min-height: 520px; padding: 160px var(--ctf-gutter) 90px;
  display: block; text-align: left; background: #030805; overflow: hidden; isolation: isolate;
}
.jedar-ctf.ctf-home .hero-section { min-height: 780px; min-height: max(780px, 100svh); padding-top: 155px; padding-bottom: 48px; }
.jedar-ctf .hero-shapes, .jedar-ctf .auth-shapes { display: none; }
.jedar-ctf .hero-section::before { display: none; }
.jedar-ctf .ctf-art-host { position: relative; isolation: isolate; overflow: hidden; }
.jedar-ctf .ctf-ascii-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -2; opacity: 0; }
.jedar-ctf .ctf-art-ready .ctf-ascii-canvas { opacity: .83; }
.jedar-ctf .ctf-art-host::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: linear-gradient(90deg, #030805 0%, #07120ded 25%, #ffffff88 58%, #ffffff10 100%), linear-gradient(0deg, #030805 0%, #ffffff00 28%, #ffffff00 75%, #ffffffdd 100%);
}
.jedar-ctf .hero-content { position: relative; width: 100%; max-width: none; margin: 0; padding: 0; z-index: 1; }
.jedar-ctf .hero-badge { display: block; width: max-content; max-width: 100%; margin-bottom: 34px; border: 0; padding: 0; background: none; box-shadow: none; }
.jedar-ctf .badge-text { color: #afc3b7; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.jedar-ctf .hero-title { margin: 0; max-width: 1040px; color: #e4f3e9; font-size: clamp(42px, 4.45vw, 64px); font-weight: 500; line-height: 1.035; letter-spacing: -.04em; }
.jedar-ctf.ctf-home .hero-title { max-width: 1080px; font-size: clamp(48px, 5.3vw, 78px); }
.jedar-ctf .hero-title .highlight { color: #e4f3e9; background: none; -webkit-text-fill-color: currentColor; font-weight: inherit; }
.jedar-ctf .hero-description { max-width: 620px; margin: 28px 0 0; color: #afc3b7; font-size: 17px; }
.jedar-ctf .hero-description:empty { display: none; }
.jedar-ctf .hero-stats { max-width: 760px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 60px 0 0; padding-top: 18px; border-top: 1px solid var(--border-color); }
.jedar-ctf .hero-stats .stat-item { text-align: left; background: none; border: 0; padding: 0; }
.jedar-ctf .hero-stats .stat-number { color: #e4f3e9; font-size: 30px; font-weight: 500; letter-spacing: -.035em; }
.jedar-ctf .hero-stats .stat-label { color: #afc3b7; font-size: 12px; }
.jedar-ctf .hero-actions { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 28px; flex-wrap: wrap; margin-top: 38px !important; }
.jedar-ctf .hero-actions .btn { width: auto; min-width: 0; border: 0; border-bottom: 1px solid #e4f3e9; padding: 7px 0 13px; background: transparent; color: #e4f3e9; }
.jedar-ctf .hero-actions .btn:hover { color: #87efaa; }

/* Events and sponsor content remains driven by the existing database queries. */
.jedar-ctf .events-section { background: #030805; padding: 85px var(--ctf-gutter) 100px; }
.jedar-ctf .events-section .section-header { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; text-align: left; }
.jedar-ctf .events-section .section-title { margin: 0; max-width: 620px; grid-row: 1 / 3; }
.jedar-ctf .events-section .section-subtitle { margin: 0; max-width: 510px; }
.jedar-ctf .events-section .section-header > div { text-align: left !important; }
.jedar-ctf .events-section .section-header > div > a { background: none !important; color: #e4f3e9 !important; padding: 6px 0 !important; border-bottom: 1px solid #e4f3e9; box-shadow: none !important; font-weight: 400 !important; }
.jedar-ctf .ctf-events-layout { width: 100%; max-width: none !important; padding: 0 !important; }
.jedar-ctf .event-card { background: transparent !important; border-radius: 0 !important; padding: 30px 0 !important; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); box-shadow: none !important; transform: none !important; }
.jedar-ctf .event-card::before, .jedar-ctf .event-card::after { display: none; }
.jedar-ctf .event-card-content { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.jedar-ctf .event-card-content > :not(.ctf-event-image) { grid-column: 2; }
.jedar-ctf .ctf-event-image { grid-column: 1; grid-row: 1 / span 8; height: 100% !important; min-height: 300px; margin: 0 !important; background: #0d1b13; }
.jedar-ctf .ctf-event-image img { object-fit: contain !important; transform: none !important; }
.jedar-ctf .ctf-event-status { position: static !important; text-align: left; margin-bottom: 20px; }
.jedar-ctf .ctf-event-status span { color: #afc3b7; font-size: 12px !important; font-weight: 400 !important; }
.jedar-ctf .event-card h3 { font-size: 32px !important; font-weight: 500 !important; letter-spacing: -.035em; }
.jedar-ctf .event-card .text-center { text-align: left; }
.jedar-ctf .difficulty-badge { display: inline-block; width: max-content; color: #785000; background: #faf4e5; font-size: 11px !important; font-weight: 400 !important; }
.jedar-ctf .event-meta-date { background: none !important; color: #afc3b7 !important; border-color: var(--border-color) !important; box-shadow: none !important; }
.jedar-ctf .event-card-content:not(:has(.ctf-event-image)) { grid-template-columns: 1fr; }
.jedar-ctf .event-card-content:not(:has(.ctf-event-image)) > * { grid-column: 1; }
.jedar-ctf #sponsors { background: #030805 !important; }
.jedar-ctf #sponsors h3 { color: #afc3b7 !important; text-align: left !important; font-size: 12px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
.jedar-ctf #sponsors .section-header { text-align: left; }
.jedar-ctf .sponsor-card { background: transparent !important; border: 0 !important; border-top: 1px solid var(--border-color) !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important; padding: 32px 20px !important; }
.jedar-ctf .sponsor-card::before, .jedar-ctf .sponsor-card::after { display: none; }
.jedar-ctf .sponsor-card > div { background: transparent !important; box-shadow: none !important; }
.jedar-ctf .sponsor-card img { object-fit: contain; }
.jedar-ctf .sponsor-card.platinum img { filter: brightness(0); }
.jedar-ctf .sponsor-card a { font-weight: 400; }
.jedar-ctf .card { background: transparent; padding: 26px 0; border: 0; border-top: 1px solid var(--border-color); border-radius: 0; box-shadow: none; }
.jedar-ctf .card:hover { transform: none; box-shadow: none; border-color: var(--border-color); }
.jedar-ctf .card-title { color: #e4f3e9; font-size: 29px; font-weight: 500; }
.jedar-ctf .card-subtitle { color: #afc3b7; font-size: 16px; }
.jedar-ctf .card-header { border: 0; background: none; }
.jedar-ctf #about .section-title { max-width: 630px; }
.jedar-ctf #about .section-subtitle { max-width: 520px; text-align: left; }
.jedar-ctf #about .card li { border-bottom: 1px solid var(--border-subtle); padding-bottom: 14px; }

/* Team photos and information use quiet, open columns instead of glowing cards. */
.jedar-ctf .ctf-team-section { background: #0a160f !important; padding-block: 100px !important; }
.jedar-ctf .ctf-team-section > div:not(.container) { display: none; }
.jedar-ctf .ctf-team-section .container > .text-center { text-align: left; }
.jedar-ctf .ctf-team-section .container > .text-center > div { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.jedar-ctf .ctf-team-section .container > .text-center > div > span { color: #afc3b7 !important; font-size: 12px !important; letter-spacing: 0 !important; font-weight: 400 !important; }
.jedar-ctf .ctf-team-section h2 { color: #e4f3e9; background: none !important; -webkit-text-fill-color: currentColor !important; font-size: clamp(38px, 4.45vw, 64px) !important; font-weight: 500 !important; }
.jedar-ctf .ctf-team-section .container > .text-center > p { color: #afc3b7 !important; max-width: 620px !important; margin: 0 !important; font-size: 16px !important; line-height: 1.5 !important; }
.jedar-ctf .ctf-team-section .container > .text-center > p span { color: #e4f3e9 !important; font-weight: 400 !important; }
.jedar-ctf .ctf-team-grid { max-width: none !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 32px !important; }
.jedar-ctf .elite-team-card { background: transparent; padding: 28px 0; border: 0; border-top: 1px solid var(--border-color); border-radius: 0; min-height: 330px; opacity: 1; animation: none; box-shadow: none; transform: none !important; }
.jedar-ctf :is(.elite-card-bg, .elite-card-border, .elite-avatar-ring, .elite-avatar-glow, .elite-cta-shine) { display: none; }
.jedar-ctf .elite-card-content { display: block; padding: 0; text-align: left; }
.jedar-ctf .elite-avatar-wrapper { width: 96px; height: 96px; margin: 0 0 26px; }
.jedar-ctf :is(.elite-avatar-img, .elite-avatar-video, .elite-avatar-placeholder) { width: 96px; height: 96px; border-radius: 0; border: 0; transform: none !important; object-fit: cover; background: #102319; }
.jedar-ctf .elite-info { text-align: left; }
.jedar-ctf .elite-name { color: #e4f3e9; background: none; -webkit-text-fill-color: #e4f3e9; font-size: 28px; font-weight: 500; letter-spacing: -.035em; }
.jedar-ctf .elite-position { color: #afc3b7; font-size: 13px; min-height: 20px; }
.jedar-ctf .elite-role-badge { padding: 5px 0; border: 0; border-radius: 0; background: transparent; color: #afc3b7; font-size: 11px; }
.jedar-ctf .elite-specialties { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.jedar-ctf .elite-specialty-chip { border: 1px solid #a8e8bd22; border-radius: 0; background: none; padding: 5px 8px; color: #afc3b7; font-size: 11px; }
.jedar-ctf .elite-social-bar { justify-content: flex-start; border: 0; margin-top: 20px; padding: 0; }
.jedar-ctf .elite-social-btn { border: 1px solid var(--border-color); border-radius: 0; background: transparent; box-shadow: none; color: #e4f3e9; }
.jedar-ctf .elite-social-btn:hover { background: #102319; color: #e4f3e9; transform: none; }
.jedar-ctf .elite-cta-button { padding: 12px 0; border: 0; border-bottom: 1px solid #e4f3e9; border-radius: 0; background: none; color: #e4f3e9; box-shadow: none; transform: none !important; }
.jedar-ctf .elite-cta-text, .jedar-ctf .elite-cta-icon { color: #e4f3e9; font-weight: 400; }
.jedar-ctf .ctf-company-section > .container > .text-center { text-align: left; max-width: 800px; margin-bottom: 70px !important; }
.jedar-ctf .ctf-company-section .section-subtitle { margin: 0 !important; max-width: 620px !important; }
.jedar-ctf .ctf-company-section .card { text-align: left; }
.jedar-ctf .ctf-company-section .card > div[style] { margin-left: 0 !important; margin-right: 0 !important; border-radius: 0 !important; background: #102319 !important; color: #e4f3e9 !important; font-size: 16px !important; font-weight: 500 !important; }
.jedar-ctf .ctf-company-section > .container > .grid-2 { padding-top: 80px; }

/* Rules and rewards keep their complete existing copy and semantic notices. */
.jedar-ctf .rule-card { border: 0; border-top: 1px solid var(--border-color); padding: 28px 0; margin: 0; background: transparent; }
.jedar-ctf .rule-number { border: 1px solid #a8e8bd38; border-radius: 0; background: transparent; color: #e4f3e9; font-weight: 400; }
.jedar-ctf .rule-title { font-size: 28px; font-weight: 500; }
.jedar-ctf .rule-content { color: #afc3b7; }
.jedar-ctf .category-header { text-align: left; margin-block: 64px 28px; }
.jedar-ctf .category-title { color: #e4f3e9; font-size: 40px; font-weight: 500; }
.jedar-ctf :is(.important-notice, .penalty-notice) { background: #fff8e8; border: 1px solid #b58721; color: #785400; }
.jedar-ctf :is(.important-notice, .penalty-notice) * { color: inherit !important; }
.jedar-ctf .prize-amount { color: #e4f3e9; font-size: 30px; font-weight: 500; letter-spacing: -.035em; }
.jedar-ctf .prize-list { line-height: 1.7; }
.jedar-ctf :is(.sponsor-section, .certificate-info) { text-align: left; background: #0a160f; padding: 32px; border-radius: 0; border: 0; border-top: 1px solid var(--border-color); }
.jedar-ctf .certificate-item { border-radius: 0; background: #030805; border: 1px solid var(--border-subtle); }
.jedar-ctf .card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 22px; background: #102319 !important; color: #e4f3e9 !important; border-radius: 0; }

/* Footer scale and silver lettering connect the platform to the main site. */
.jedar-ctf .footer { margin: 0; padding: 70px var(--ctf-gutter) 18px; background: #030805; border-top: 1px solid var(--border-color); }
.jedar-ctf .footer-content { max-width: none; padding: 0; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; margin-bottom: 60px; }
.jedar-ctf .footer-title { color: #e4f3e9; font-size: 20px; font-weight: 500; }
.jedar-ctf .footer-description { max-width: 500px; color: #afc3b7; font-size: 14px; line-height: 1.5; }
.jedar-ctf .footer-link { display: inline-block; width: fit-content; color: #afc3b7; font-size: 13px; padding: 0; }
.jedar-ctf .footer-link:hover { color: #e4f3e9; }
.jedar-ctf .footer-links { gap: 12px; }
.jedar-ctf .footer-bottom { max-width: none; padding: 25px 0 0; margin: 0; border-top: 1px solid var(--border-color); text-align: left; font-size: 12px; }
.jedar-ctf .ctf-wordmark { display: flex; justify-content: space-between; gap: 30px; padding-top: 55px; color: #e4f3e9; font-size: clamp(80px, 16vw, 300px); font-weight: 500; letter-spacing: -.065em; line-height: 1; }
.jedar-ctf .ctf-wordmark span:first-child { color: #e4f3e9; }
.jedar-ctf .ctf-wordmark span:last-child { color: #797b84; background: linear-gradient(145deg, #202020 5%, #102319 16%, #9295a1 24%, #030805 30%, #5e626f 38%, #d2c2bf 48%, #d5eafa 54%, #707684 67%, #030805 77%, #62656e 88%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Team page uses its original public member list and links. */
.jedar-ctf .admin-layout { background: #030805; }
.jedar-ctf .admin-navbar { position: absolute; top: 0; width: 100%; height: 86px; background: transparent; border: 0; backdrop-filter: none; z-index: 10; }
.jedar-ctf .navbar-content { max-width: none; height: 100%; padding: 0 var(--ctf-gutter); }
.jedar-ctf .brand-icon { border-radius: 0; background: #e4f3e9; color: #030805; box-shadow: none; }
.jedar-ctf .btn-back { background: none; color: #e4f3e9; padding: 8px 0; border: 0; border-bottom: 1px solid #e4f3e9; border-radius: 0; font-weight: 400; }
.jedar-ctf .admin-main { max-width: none; width: 100%; margin: 0; padding: 150px var(--ctf-gutter) 90px; }
.jedar-ctf .page-header { padding: 28px 0 65px; margin: 0; text-align: left; border-top: 1px solid var(--border-color); }
.jedar-ctf .page-title { color: #e4f3e9; background: none; -webkit-text-fill-color: #e4f3e9; font-size: clamp(42px, 4.45vw, 64px); font-weight: 500; }
.jedar-ctf .page-subtitle { color: #afc3b7; max-width: 620px; margin: 28px 0 0; font-size: 16px; line-height: 1.5; }
.jedar-ctf .admins-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.jedar-ctf .admin-card { padding: 28px 0; border: 0; border-top: 1px solid var(--border-color); border-radius: 0; background: none; opacity: 1; animation: none; box-shadow: none; transform: none !important; }
.jedar-ctf .admin-card::before, .jedar-ctf .admin-card::after, .jedar-ctf .admin-avatar::before, .jedar-ctf .admin-avatar-glow { display: none; }
.jedar-ctf .admin-header { padding: 0; display: block; text-align: left; }
.jedar-ctf .admin-info { text-align: left; }
.jedar-ctf .admin-specialties { padding: 24px 0 0; text-align: left; }
.jedar-ctf .admin-contacts { padding: 24px 0 0; justify-content: flex-start; }
.jedar-ctf .admin-avatar { width: 100px; height: 100px; margin: 0 0 28px; }
.jedar-ctf :is(.avatar-image, .avatar-video, .avatar-initials) { width: 100px; height: 100px; border: 0; border-radius: 0; object-fit: cover; background: #102319; color: #e4f3e9; transform: none !important; }
.jedar-ctf .admin-name { font-size: 29px; color: #e4f3e9; background: none; -webkit-text-fill-color: #e4f3e9; font-weight: 500; letter-spacing: -.035em; }
.jedar-ctf .admin-position { color: #afc3b7; font-size: 13px; }
.jedar-ctf .admin-tag { border-radius: 0; padding: 5px 0; border: 0; background: none; color: #afc3b7; font-size: 12px; }
.jedar-ctf .specialty-tag { background: #102319; border: 1px solid #a8e8bd22; border-radius: 0; color: #afc3b7; font-size: 12px; }
.jedar-ctf .contact-link { border: 1px solid #a8e8bd22; background: none; color: #e4f3e9; border-radius: 0; }
.jedar-ctf .team-stats { background: #030805; border: 0; border-top: 1px solid #a8e8bd38; border-radius: 0; padding: 50px 0; text-align: left; }
.jedar-ctf .team-stats .stat-number { color: #e4f3e9; font-weight: 500; }
.jedar-ctf .team-stats :is(h2, h3) { color: #e4f3e9 !important; background: none !important; -webkit-text-fill-color: #e4f3e9; font-size: 28px; font-weight: 500; }
.jedar-ctf .team-stats .stat-label { color: #afc3b7; }
.jedar-ctf .ctf-image-unavailable { display: none !important; }
.jedar-ctf .ctf-avatar-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: #102319; color: #afc3b7; font-size: 30px; font-weight: 500; }

/* Leaderboard: the same participants, ranks and refresh behavior in a white data view. */
.jedar-ctf.ctf-leaderboard > .container { width: 100%; max-width: none; padding: 0 var(--ctf-gutter) 80px; }
.jedar-ctf .header-nav { padding: 26px 0; margin-bottom: 64px; border: 0; border-bottom: 1px solid var(--border-color); background: #030805; }
.jedar-ctf .logo-section h1 { color: #e4f3e9; font-size: 30px; font-weight: 500; letter-spacing: -.04em; margin: 0; }
.jedar-ctf .logo-section h1 .highlight { color: #e4f3e9; }
.jedar-ctf .champions-section { padding: 0; margin-bottom: 65px; }
.jedar-ctf .champions-grid { gap: 32px; align-items: stretch; }
.jedar-ctf .champion-card { background: transparent !important; border: 0 !important; border-top: 1px solid var(--border-color) !important; border-radius: 0; padding: 28px 0 !important; transform: none !important; box-shadow: none !important; }
.jedar-ctf .rank-badge { background: #102319 !important; color: #e4f3e9 !important; border: 0; border-radius: 0; font-weight: 500; }
.jedar-ctf .rank-badge i { color: #e4f3e9; }
.jedar-ctf .champion-avatar { display: none; }
.jedar-ctf .champion-name { color: #e4f3e9 !important; font-size: 29px !important; font-weight: 500; }
.jedar-ctf .champion-institution { color: #afc3b7; font-size: 14px; }
.jedar-ctf .champion-stats .stat-value { color: #e4f3e9 !important; font-size: 27px; font-weight: 500; }
.jedar-ctf .ranking-section { padding: 0; background: #030805; border: 0; border-radius: 0; box-shadow: none; }
.jedar-ctf .ranking-table-wrapper { background: #030805; border: 0; border-radius: 0; overflow-x: auto; }
.jedar-ctf :is(.table-header, .table-row) { background: #030805; border-color: var(--border-subtle); padding-block: 22px; }
.jedar-ctf .table-header { color: #afc3b7; font-size: 12px; border-block: 1px solid var(--border-color); text-transform: none; letter-spacing: 0; }
.jedar-ctf .table-row:hover { background: #0a160f; }
.jedar-ctf :is(.rank-number, .participant-name, .points, .challenges) { color: #e4f3e9 !important; font-weight: 500; }
.jedar-ctf .rank-number { background: #102319; border: 0; border-radius: 0; }
.jedar-ctf :is(.participant-institution, .last-activity) { color: #afc3b7; }
.jedar-ctf .participant-avatar { background: #102319; border: 0; }
.jedar-ctf .activity-active { color: #256444; }
.jedar-ctf .activity-recent { color: #805b12; }

/* Sign-in keeps its Laravel form, token, field names, alerts and submission route. */
.jedar-ctf .auth-container { min-height: 100svh; padding: 120px var(--ctf-gutter) 70px; }
.jedar-ctf .auth-background { position: fixed; background: #030805; }
.jedar-ctf .auth-background.ctf-art-host::after { background: #ffffffa6; }
.jedar-ctf .auth-card { background: #07120ded; width: 100%; max-width: 500px; padding: 40px; border: 1px solid #a8e8bd22; border-radius: 0; box-shadow: none; }
.jedar-ctf .auth-header { text-align: left; margin-bottom: 38px; }
.jedar-ctf .auth-logo { margin: 0 0 34px; background: #e4f3e9; color: #030805; border-radius: 0; font-size: 17px; font-weight: 500; }
.jedar-ctf .auth-title { color: #e4f3e9; font-size: 45px; font-weight: 500; letter-spacing: -.04em; }
.jedar-ctf .auth-subtitle { color: #afc3b7; font-size: 14px; }
.jedar-ctf .form-label { color: #e4f3e9; font-size: 13px; font-weight: 400; }
.jedar-ctf .form-control { padding: 13px 0; background: transparent; border: 0; border-bottom: 1px solid #a8e8bd50; border-radius: 0; color: #e4f3e9; box-shadow: none; }
.jedar-ctf .form-control:focus { box-shadow: none; border-color: #e4f3e9; }
.jedar-ctf .auth-card .btn-primary { min-height: 54px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.jedar-ctf .auth-card .btn-primary:hover { transform: none; box-shadow: none; }
.jedar-ctf .back-link { z-index: 20; top: 30px; left: var(--ctf-gutter); color: #e4f3e9; border-bottom: 1px solid #e4f3e9; padding-bottom: 5px; }
.jedar-ctf .alert { border-radius: 0; font-size: 14px; }
.jedar-ctf .alert-error { color: #982c2c; background: #fff2f2; border-color: #982c2c66; }
.jedar-ctf .alert-info { color: #214c7f; background: #f1f6ff; border-color: #214c7f66; }
.jedar-ctf .alert-success { color: #256444; background: #f0f8f2; border-color: #25644466; }

/* Scrollbars follow the site's neutral tokens without hiding scroll affordances. */
html:has(body.jedar-ctf), .jedar-ctf * { scrollbar-color: #64836e #0d1b13; scrollbar-width: thin; }
.jedar-ctf ::-webkit-scrollbar { width: 9px; height: 9px; }
.jedar-ctf ::-webkit-scrollbar-track { background: #0d1b13; }
.jedar-ctf ::-webkit-scrollbar-thumb { background: #64836e; border: 2px solid #0d1b13; }
.jedar-ctf ::-webkit-scrollbar-thumb:hover { background: #8fb89c; }

@media (max-width: 1023px) {
  .jedar-ctf .ctf-team-grid, .jedar-ctf .admins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .jedar-ctf .grid-2, .jedar-ctf .grid-3 { grid-template-columns: 1fr; }
  .jedar-ctf .events-section .section-header { gap: 30px; }
  .jedar-ctf .event-card-content { column-gap: 30px; }
  .jedar-ctf .ctf-home .hero-title { max-width: 900px; }
  .jedar-ctf .footer-content { gap: 32px; }
}

@media (max-width: 600px) {
  .jedar-ctf { --ctf-gutter: 16px; --spacing-lg: 16px; }
  .jedar-ctf .section { padding-block: 65px; }
  .jedar-ctf .section-header { margin-bottom: 40px; padding-top: 20px; }
  .jedar-ctf .section-title { font-size: 40px; }
  .jedar-ctf .nav-container { grid-template-columns: 1fr auto auto; gap: 16px; }
  .jedar-ctf .brand-name { font-size: 16px; }
  .jedar-ctf .nav-actions { gap: 10px; }
  .jedar-ctf .nav-actions .btn { font-size: 12px; }
  .jedar-ctf .nav-actions .btn-ghost { display: none; }
  .jedar-ctf .ctf-menu-toggle { padding: 10px 0; font-size: 14px; }
  .jedar-ctf .navbar.ctf-nav-ready .nav-links { width: 100%; padding-inline: 16px; }
  .jedar-ctf .navbar:not(.ctf-nav-ready) .nav-links { grid-column: 1 / -1; grid-row: 2; padding: 8px 0; gap: 14px; justify-content: flex-start; background: #fffffff0; }
  .jedar-ctf .hero-section { min-height: 490px; padding-top: 140px; padding-bottom: 60px; }
  .jedar-ctf.ctf-home .hero-section { min-height: max(740px, 100svh); padding-top: 140px; padding-bottom: 40px; }
  .jedar-ctf .hero-title, .jedar-ctf.ctf-home .hero-title { font-size: 43px; line-height: 1.055; letter-spacing: -.035em; }
  .jedar-ctf .hero-badge { margin-bottom: 26px; }
  .jedar-ctf .badge-text { font-size: 11px; }
  .jedar-ctf .hero-description { font-size: 16px; }
  .jedar-ctf .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 22px; margin-top: 42px; }
  .jedar-ctf .hero-stats .stat-number { font-size: 28px; }
  .jedar-ctf .hero-actions { gap: 24px; margin-top: 28px !important; }
  .jedar-ctf .hero-actions .btn { font-size: 14px; }
  .jedar-ctf .ctf-art-host::after { background: linear-gradient(90deg, #ffffffdd, #ffffff88), linear-gradient(0deg, #030805, #ffffff00 50%, #ffffffcc); }
  .jedar-ctf .events-section { padding-block: 55px 70px; }
  .jedar-ctf .events-section .section-header { display: block; }
  .jedar-ctf .events-section .section-title { margin-bottom: 24px; }
  .jedar-ctf .event-card-content { display: block; }
  .jedar-ctf .ctf-event-image { height: 210px !important; min-height: 0; margin-bottom: 25px !important; }
  .jedar-ctf .event-card h3 { font-size: 28px !important; }
  .jedar-ctf .event-card { padding-block: 24px !important; }
  .jedar-ctf .ctf-team-section { padding-block: 65px !important; }
  .jedar-ctf .ctf-team-grid, .jedar-ctf .admins-grid { grid-template-columns: 1fr !important; }
  .jedar-ctf .elite-team-card { min-height: 0; }
  .jedar-ctf .elite-avatar-wrapper { float: left; margin-right: 24px; margin-bottom: 20px; }
  .jedar-ctf .elite-info { min-height: 100px; }
  .jedar-ctf .elite-specialties { clear: both; }
  .jedar-ctf .elite-name { font-size: 26px; }
  .jedar-ctf .ctf-company-section > .container > .grid-2 { padding-top: 35px; }
  .jedar-ctf .footer { padding-top: 50px; }
  .jedar-ctf .footer-content { grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
  .jedar-ctf .footer-content > :first-child { grid-column: 1 / -1; }
  .jedar-ctf .footer-bottom { display: grid; gap: 20px; }
  .jedar-ctf .ctf-wordmark { gap: 12px; font-size: 16.2vw; padding-top: 38px; }
  .jedar-ctf .admin-main { padding-top: 135px; }
  .jedar-ctf .page-header { padding-bottom: 40px; }
  .jedar-ctf .stats-grid { grid-template-columns: 1fr 1fr; }
  .jedar-ctf .header-nav { align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
  .jedar-ctf .logo-section h1 { font-size: 27px; }
  .jedar-ctf.ctf-leaderboard .nav-links { gap: 14px; }
  .jedar-ctf .champions-grid { grid-template-columns: 1fr; }
  .jedar-ctf .champion-card { min-width: 0; }
  .jedar-ctf .table-header, .jedar-ctf .table-row { min-width: 500px; }
  .jedar-ctf .auth-container { padding: 105px 16px 45px; }
  .jedar-ctf .auth-card { padding: 30px 22px; }
  .jedar-ctf .auth-title { font-size: 39px; }
  .jedar-ctf :is(.sponsor-section, .certificate-info) { padding: 22px; }
  .jedar-ctf .rule-title { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .jedar-ctf *, .jedar-ctf *::before, .jedar-ctf *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html:has(body.jedar-ctf) { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .jedar-ctf .ctf-ascii-canvas { display: none; }
  html:has(body.jedar-ctf), .jedar-ctf * { scrollbar-color: auto; }
  .jedar-ctf .ctf-wordmark span:last-child { background: none; -webkit-text-fill-color: CanvasText; }
}
@media print {
  .jedar-ctf :is(.navbar, .ctf-ascii-canvas, .ctf-menu-backdrop, .ctf-wordmark) { display: none !important; }
  .jedar-ctf .hero-section, .jedar-ctf.ctf-home .hero-section { min-height: 0; padding-block: 25px; }
  .jedar-ctf .section { padding-block: 25px; }
}

/* CaptuerX: black terminal surfaces with a continuous ASCII field. */
.jedar-ctf {
  color-scheme: dark;
  isolation: isolate;
  --bg-primary: #030805;
  --bg-secondary: #08140d;
  --bg-tertiary: #102319;
  --text-primary: #e4f3e9;
  --text-secondary: #afc3b7;
  --text-tertiary: #afc3b7;
  --text-muted: #a0b5a8;
  --accent-primary: #7dffa8;
  --accent-secondary: #b4ffcc;
  --border-color: #9de9b638;
  --border-subtle: #9de9b621;
  --font-family: 'Cascadia Code', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-family: var(--font-family) !important;
  background: #030805 !important;
  text-shadow: 0 0 22px #7dffa80d;
}
.jedar-ctf :is(h1,h2,h3,h4,p,a,button,label,td,th,small,span,strong) {
  font-family: inherit;
  animation: ctf-text-boot 1.4s ease-out both;
}
@keyframes ctf-text-boot {
  0% { text-shadow: -1px 0 #71ffa866, 1px 0 #62edff44; }
  45% { text-shadow: 1px 0 #71ffa833, -1px 0 #62edff22; }
  100% { text-shadow: 0 0 18px #7dffa80d; }
}
.jedar-ctf :is(a,button,h1,h2,h3,p):hover { text-shadow: 0 0 18px #7dffa833; }
.jedar-ctf :is(button,input,select,textarea,a):focus-visible { outline-color: #7dffa8; }
.jedar-ctf .ctf-global-art {
  position: fixed; inset: 0; width: 100%; height: 100dvh;
  z-index: -2; pointer-events: none; opacity: 0;
}
.jedar-ctf.ctf-global-ready .ctf-global-art { opacity: 1; }
.jedar-ctf .ctf-global-veil {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: linear-gradient(90deg, #030805d9 0%, #030805b8 48%, #03080580 100%);
}
.jedar-ctf .hero-section, .jedar-ctf .admin-layout, .jedar-ctf .admin-main,
.jedar-ctf .page-header, .jedar-ctf .main-content { background: transparent !important; }
.jedar-ctf .section, .jedar-ctf .events-section, .jedar-ctf #sponsors,
.jedar-ctf .ctf-team-section, .jedar-ctf .ctf-company-section, .jedar-ctf .footer,
.jedar-ctf .team-stats { background: #03080588 !important; }
.jedar-ctf .navbar, .jedar-ctf .admin-navbar { background: #030805e6; }
.jedar-ctf .auth-background { display: none; }
.jedar-ctf .auth-card { background: #061009ed; border-color: var(--border-color); }
.jedar-ctf .ctf-art-host::after { display: none; }
.jedar-ctf :is(.brand-name,.brand-subtitle,.elite-name,.admin-name,.page-title) { background: none; -webkit-text-fill-color: currentColor; }
.jedar-ctf .ctf-brand-mark { display: block; width: 40px; height: 40px; object-fit: contain; filter: invert(1); background: transparent; flex-shrink: 0; }
.jedar-ctf .brand-name { font-size: 18px; font-weight: 600; color: #e4f3e9; }
.jedar-ctf .brand-subtitle { font-size: 9px; letter-spacing: .11em; color: #afc3b7; }
.jedar-ctf .ctf-auth-brand { display: flex; gap: 15px; align-items: center; width: fit-content; margin-bottom: 36px; }
.jedar-ctf .ctf-auth-brand strong { display: block; color: #e4f3e9; font-size: 22px; font-weight: 600; }
.jedar-ctf .ctf-auth-brand small { display: block; color: #afc3b7; margin-top: 6px; font-size: 10px; letter-spacing: .12em; }
.jedar-ctf .hero-title { letter-spacing: -.045em; }
.jedar-ctf.ctf-home .hero-title { font-size: clamp(44px, 4.6vw, 68px); max-width: 1120px; }
.jedar-ctf .hero-section .hero-title .highlight { color: #b2ffcc; }
.jedar-ctf .hero-badge, .jedar-ctf .ctf-eyebrow { color: #9cefbb; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.jedar-ctf .hero-stats { background: #03080566; padding-bottom: 16px; }
.jedar-ctf .btn-primary, .jedar-ctf .auth-card .btn-primary { background: #7dffa8; color: #031208; border-color: #7dffa8; }
.jedar-ctf .btn-primary:hover, .jedar-ctf .auth-card .btn-primary:hover { background: #b4ffcc; color: #031208; }
.jedar-ctf .nav-actions .btn-primary { background: none; color: #b4ffcc; border-color: #7dffa8; }
.jedar-ctf .btn-secondary:hover, .jedar-ctf .btn-ghost:hover { background: #14271b; }
.jedar-ctf .navbar.ctf-nav-ready .nav-links { background: #061009fa; border: 1px solid var(--border-color); border-top: 0; }
.jedar-ctf .navbar.ctf-nav-ready .nav-link { font-size: 28px; }
.jedar-ctf .ctf-menu-actions { display: flex; align-items: center; gap: 24px; margin-top: 25px; }
.jedar-ctf .ctf-menu-actions .btn { font-size: 14px; }
.jedar-ctf .difficulty-badge { background: #2b2513; color: #f0d58b; }
.jedar-ctf .ctf-event-image { background: #0b140f; }
.jedar-ctf .ctf-event-status span { color: #c1d4c7; }
.jedar-ctf .ctf-team-section .elite-status-dot { border-color: #061009; box-shadow: none; }
.jedar-ctf .elite-role-badge, .jedar-ctf .elite-specialty-chip { color: #b0c9ba; }
.jedar-ctf .ctf-sponsors-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.jedar-ctf .ctf-sponsor { border-top: 1px solid var(--border-color); padding: 32px 0; }
.jedar-ctf .ctf-sponsor-logo { display: flex; width: 100%; min-height: 120px; align-items: center; justify-content: flex-start; border: 1px solid transparent; padding: 15px 0; }
.jedar-ctf .ctf-sponsor-logo:hover { border-bottom-color: #7dffa8; }
.jedar-ctf .ctf-sponsor-logo img { max-width: 220px; max-height: 85px; width: auto; height: auto; object-fit: contain; }
.jedar-ctf .ctf-sponsor h3 { font-size: 22px; margin-top: 18px; }
.jedar-ctf .ctf-sponsor p { font-size: 13px; max-width: 360px; }
.jedar-ctf .ctf-wordmark { font-size: clamp(52px, 11vw, 180px); letter-spacing: -.055em; }
.jedar-ctf .ctf-wordmark span:first-child { color: #e4f3e9; }
.jedar-ctf .ctf-wordmark span:last-child { background: none; -webkit-text-fill-color: currentColor; color: #7dffa8; }
.jedar-ctf .form-control { color: #e4f3e9; border-color: #9de9b650; }
.jedar-ctf .alert-error { background: #2c1216; color: #ffb8be; border-color: #ca6972; }
.jedar-ctf .alert-info { background: #10212a; color: #b2dfff; border-color: #528da8; }
.jedar-ctf .alert-success { background: #102719; color: #b4ffcc; border-color: #4e9a65; }
.jedar-ctf :is(.important-notice,.penalty-notice) { background: #292212; color: #f0d58b; border-color: #9f843e; }
.jedar-ctf .sponsor-section, .jedar-ctf .certificate-info, .jedar-ctf .certificate-item { background: #08140dd9; }
.jedar-ctf .card-icon, .jedar-ctf .ctf-company-section .card > div[style] { background: #14251b !important; color: #b4ffcc !important; }
.jedar-ctf .ctf-avatar-fallback { background: #102319; color: #b8cfbf; }

/* A complete event context and a single semantic table make rankings readable. */
.jedar-ctf .ctf-score-header { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--ctf-gutter); border-bottom: 1px solid var(--border-color); background: #030805e6; }
.jedar-ctf .ctf-score-brand { display: flex; align-items: center; gap: 14px; }
.jedar-ctf .ctf-score-brand strong { display: block; color: #e4f3e9; font-size: 19px; }
.jedar-ctf .ctf-score-brand small { display: block; font-size: 9px; letter-spacing: .1em; margin-top: 4px; }
.jedar-ctf .ctf-score-header nav { display: flex; gap: 24px; font-size: 13px; }
.jedar-ctf .ctf-score-header nav a { color: #c4e4ce; }
.jedar-ctf .ctf-score-main { padding: 65px var(--ctf-gutter) 70px; max-width: 1600px; margin: auto; }
.jedar-ctf .ctf-score-intro { padding: 25px 0 40px; }
.jedar-ctf .ctf-score-context { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 25px; }
.jedar-ctf .ctf-event-state { display: inline-block; padding: 5px 10px; color: #b4ffcc; border: 1px solid #7dffa844; background: #102719; font-size: 11px; }
.jedar-ctf .ctf-score-intro h1 { max-width: 1050px; font-size: clamp(32px,4vw,58px); font-weight: 500; letter-spacing: -.045em; margin: 0 0 24px; }
.jedar-ctf .ctf-score-intro p { max-width: 740px; color: #afc3b7; font-size: 14px; }
.jedar-ctf .ctf-event-link { display: inline-block; padding: 8px 0; margin-top: 8px; border-bottom: 1px solid #8adba7; color: #b4ffcc; font-size: 13px; }
.jedar-ctf .ctf-score-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; padding: 25px 0; border-block: 1px solid var(--border-color); }
.jedar-ctf .ctf-event-filter { display: grid; gap: 10px; min-width: 0; }
.jedar-ctf .ctf-event-filter label, .jedar-ctf .ctf-ranking-search label { font-size: 11px; color: #afc3b7; }
.jedar-ctf .ctf-event-filter > div { display: flex; gap: 12px; flex-wrap: wrap; }
.jedar-ctf .ctf-event-filter select { width: 360px; max-width: 100%; background: #08140d; color: #e4f3e9; border: 1px solid var(--border-color); min-height: 44px; padding: 10px 12px; font-size: 13px; border-radius: 0; }
.jedar-ctf .ctf-event-filter button { min-height: 44px; padding: 10px 18px; background: #7dffa8; color: #031208; border: 1px solid #7dffa8; font-size: 13px; }
.jedar-ctf .ctf-event-filter button:hover { background: #b4ffcc; }
.jedar-ctf .ctf-refresh { padding-bottom: 11px; font-size: 12px; color: #b4ffcc; white-space: nowrap; }
.jedar-ctf .ctf-score-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding: 28px 0 45px; }
.jedar-ctf .ctf-score-summary > div { display: grid; gap: 8px; }
.jedar-ctf .ctf-score-summary strong { color: #e4f3e9; font-weight: 500; font-size: 30px; }
.jedar-ctf .ctf-score-summary span { font-size: 11px; color: #afc3b7; }
.jedar-ctf .ctf-podium { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 55px; }
.jedar-ctf .ctf-winner { padding: 25px; background: #061009d9; border: 1px solid var(--border-color); min-width: 0; }
.jedar-ctf .ctf-winner:first-child { border-top: 2px solid #7dffa8; }
.jedar-ctf .ctf-winner-rank { display: block; color: #7dffa8; font-size: 12px; margin-bottom: 25px; }
.jedar-ctf .ctf-winner h2 { font-size: 25px; line-height: 1.45; letter-spacing: 0; overflow-wrap: anywhere; }
.jedar-ctf .ctf-winner p { font-size: 12px; color: #afc3b7; }
.jedar-ctf .ctf-winner > div { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; padding-top: 20px; }
.jedar-ctf .ctf-winner strong { font-size: 24px; color: #e4f3e9; font-weight: 500; }
.jedar-ctf .ctf-winner > div span { font-size: 11px; }
.jedar-ctf .ctf-winner > div span:last-child { margin-left: auto; }
.jedar-ctf .ctf-ranking { background: #030805dc; border: 1px solid var(--border-color); }
.jedar-ctf .ctf-ranking-heading { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 26px; }
.jedar-ctf .ctf-ranking-heading h2 { font-size: 23px; margin-bottom: 8px; }
.jedar-ctf .ctf-ranking-heading p { font-size: 11px; margin: 0; color: #afc3b7; }
.jedar-ctf .ctf-ranking-search { display: grid; gap: 8px; width: min(100%,340px); }
.jedar-ctf .ctf-ranking-search > div { display: flex; border: 1px solid var(--border-color); background: #08140d; }
.jedar-ctf .ctf-ranking-search input { min-width: 0; width: 100%; background: transparent; border: 0; color: #e4f3e9; padding: 11px; font-size: 13px; }
.jedar-ctf .ctf-ranking-search input::-webkit-search-cancel-button { display: none; }
.jedar-ctf .ctf-ranking-search button { padding: 0 14px; background: none; color: #b4ffcc; border: 0; font-size: 22px; }
.jedar-ctf .ctf-ranking-scroll { overflow-x: auto; }
.jedar-ctf .ctf-ranking-table { width: 100%; min-width: 880px; border-collapse: collapse; text-align: left; }
.jedar-ctf .ctf-ranking-table th, .jedar-ctf .ctf-ranking-table td { padding: 19px 24px; border-top: 1px solid var(--border-subtle); font-size: 13px; background: transparent; color: #afc3b7; }
.jedar-ctf .ctf-ranking-table thead th { background: #0c1a12; font-size: 11px; color: #b9d7c4; font-weight: 400; white-space: nowrap; }
.jedar-ctf .ctf-ranking-table tbody th { font-weight: 500; color: #e4f3e9; font-size: 16px; }
.jedar-ctf .ctf-ranking-table tbody tr:hover { background: #10271a; }
.jedar-ctf .ctf-ranking-table .ctf-points { color: #b4ffcc; font-variant-numeric: tabular-nums; font-size: 15px; white-space: nowrap; }
.jedar-ctf .ctf-rank { color: #e4f3e9; font-size: 13px; font-variant-numeric: tabular-nums; }
.jedar-ctf .ctf-ranking-table time { font-size: 11px; white-space: nowrap; }
.jedar-ctf .ctf-no-results { padding: 30px; margin: 0; font-size: 13px; color: #c5ddce; }
.jedar-ctf .ctf-score-footer { display: flex; gap: 25px; justify-content: space-between; padding: 28px var(--ctf-gutter); border-top: 1px solid var(--border-color); background: #030805d9; font-size: 11px; }
.jedar-ctf .ctf-score-footer a { color: #b4ffcc; }
.jedar-ctf .ctf-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.jedar-ctf [hidden] { display: none !important; }
@media (max-width: 850px) {
  .jedar-ctf .ctf-sponsors-grid { grid-template-columns: 1fr; }
  .jedar-ctf .ctf-podium { grid-template-columns: 1fr; }
  .jedar-ctf .ctf-ranking-heading { align-items: stretch; flex-direction: column; }
  .jedar-ctf .ctf-ranking-search { width: 100%; }
  .jedar-ctf .ctf-score-toolbar { align-items: stretch; flex-direction: column; }
  .jedar-ctf .ctf-refresh { align-self: flex-start; }
}
@media (max-width: 600px) {
  .jedar-ctf.ctf-home .hero-title, .jedar-ctf .hero-title { font-size: 35px; line-height: 1.15; letter-spacing: -.04em; }
  .jedar-ctf .section-title, .jedar-ctf .ctf-team-section h2 { font-size: 34px !important; }
  .jedar-ctf .navbar:not(.ctf-nav-ready) .nav-links { background: #030805f2; }
  .jedar-ctf .ctf-score-header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .jedar-ctf .ctf-score-main { padding-top: 25px; }
  .jedar-ctf .ctf-score-summary { gap: 16px; }
  .jedar-ctf .ctf-score-summary strong { font-size: 23px; }
  .jedar-ctf .ctf-score-summary span { font-size: 10px; }
  .jedar-ctf .ctf-event-filter select { width: 100%; }
  .jedar-ctf .ctf-event-filter > div { flex-direction: column; }
  .jedar-ctf .ctf-score-footer { flex-direction: column; }
  .jedar-ctf .ctf-wordmark { font-size: 11vw; }
}
@media (max-width: 480px) {
  .jedar-ctf .nav-actions { display: none; }
  .jedar-ctf .nav-container { grid-template-columns: 1fr auto; }
  .jedar-ctf .ctf-menu-toggle { grid-column: 2; justify-self: end; }
  .jedar-ctf .navbar-content { gap: 14px; }
  .jedar-ctf .btn-back { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .jedar-ctf *, .jedar-ctf *::before, .jedar-ctf *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active), print {
  .jedar-ctf .ctf-global-art, .jedar-ctf .ctf-global-veil { display: none !important; }
}

/* Compact original CX branding, calm decoding and simplified people/event cards. */
.jedar-ctf .ctf-brand-mark { width: 30px; height: 30px; filter: none; }
.jedar-ctf .brand-name { font-size: 17px; }
.jedar-ctf .brand-subtitle { font-size: 8px; letter-spacing: .1em; }
.jedar-ctf .ctf-score-brand .ctf-brand-mark { width: 30px; height: 30px; }
.jedar-ctf .ctf-auth-brand .ctf-brand-mark { width: 36px; height: 36px; }
.jedar-ctf .ctf-bootstrap-icon { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; vertical-align: -.15em; }
.jedar-ctf .ctf-bootstrap-icon * { color: inherit; }
.jedar-ctf .ctf-feature-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 25px; background: #0d1e14; border: 1px solid #7dffa82b; color: #9cf9bb; }
.jedar-ctf .ctf-feature-icon .ctf-bootstrap-icon { width: 28px; height: 28px; }
.jedar-ctf .cx-team-header { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.jedar-ctf .cx-team-header h2 { font-size: clamp(34px,4.4vw,62px); margin-bottom: 25px; }
.jedar-ctf .cx-team-header p { max-width: 650px; margin: 0 auto; font-size: 14px; color: #afc3b7; line-height: 1.8; }
.jedar-ctf .cx-team-grid { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; gap: 40px; max-width: 1100px; margin: 0 auto; }
.jedar-ctf .cx-team-person { flex: 0 1 250px; padding: 24px 15px; text-align: center; min-width: 0; }
.jedar-ctf .cx-profile-media { width: 128px; height: 128px; margin: 0 auto 24px; padding: 5px; border: 1px solid #7dffa84d; border-radius: 50%; overflow: hidden; background: #08140d; }
.jedar-ctf .cx-profile-media :is(.cx-profile-image,.cx-profile-video,.ctf-avatar-fallback,.cx-profile-initials) { display: block; width: 100% !important; height: 100% !important; border: 0; border-radius: 50% !important; object-fit: cover; background: #102319; }
.jedar-ctf .cx-profile-media .ctf-avatar-fallback, .jedar-ctf .cx-profile-media .cx-profile-initials { display: grid; place-items: center; color: #b8cfbf; font-size: 32px; }
.jedar-ctf .cx-profile-name { color: #e4f3e9; font-size: 25px; font-weight: 500; text-align: center; margin: 0; letter-spacing: -.025em; }
.jedar-ctf .cx-team-cta { text-align: center; margin-top: 40px; }
.jedar-ctf .cx-team-cta .elite-cta-button { display: inline-flex; gap: 14px; align-items: center; }
.jedar-ctf.ctf-team .page-header { text-align: center; }
.jedar-ctf.ctf-team .page-subtitle { margin-inline: auto; }
.jedar-ctf.ctf-team .team-stats { margin-top: 55px; text-align: center; }
.jedar-ctf .cx-footer-bottom { display: block; text-align: center; }
.jedar-ctf .ctf-copyright { color: #bfd2c6; font-size: 12px; line-height: 1.8; font-weight: 400; margin: 0; }
.jedar-ctf .ctf-simple-footer { padding: 28px var(--ctf-gutter); text-align: center; border-top: 1px solid var(--border-color); background: #030805aa; }
.jedar-ctf .ctf-score-footer { align-items: center; }
.jedar-ctf .cx-events { padding-top: 75px; padding-bottom: 90px; }
.jedar-ctf .cx-events-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 42px; padding-top: 28px; border-top: 1px solid var(--border-color); }
.jedar-ctf .cx-events-heading h2 { margin-bottom: 23px; }
.jedar-ctf .cx-events-heading p { max-width: 800px; color: #afc3b7; font-size: 14px; line-height: 1.75; margin: 0; }
.jedar-ctf .cx-events-all { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; padding-bottom: 10px; border-bottom: 1px solid #7dffa880; color: #b4ffcc; font-size: 12px; }
.jedar-ctf .cx-events-list { display: grid; gap: 28px; }
.jedar-ctf .cx-event-card { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); background: #061009dc; border: 1px solid #9de9b638; overflow: hidden; }
.jedar-ctf .cx-event-poster { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 350px; padding: 24px; background: #0b1413; border-right: 1px solid #9de9b628; }
.jedar-ctf .cx-event-poster img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.jedar-ctf .cx-event-content { display: flex; flex-direction: column; min-width: 0; padding: 35px; }
.jedar-ctf .cx-event-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 11px; }
.jedar-ctf .cx-event-tags > span { color: #b8cdbf; }
.jedar-ctf .cx-event-tags .cx-event-state { padding: 5px 10px; background: #122e1e; color: #b4ffcc; border: 1px solid #7dffa838; }
.jedar-ctf .cx-event-content h3 { font-size: clamp(26px,2.3vw,36px); margin: 0 0 13px; font-weight: 500; line-height: 1.25; letter-spacing: -.04em; }
.jedar-ctf .cx-event-content h3 a { color: #e4f3e9; }
.jedar-ctf .cx-event-subtitle { text-align: left; color: #b8cdbf; margin-bottom: 20px; font-size: 17px; }
.jedar-ctf .cx-event-description { color: #afc3b7; font-size: 13px; line-height: 1.8; margin: 0 0 26px; }
.jedar-ctf .cx-event-meta { display: flex; gap: 25px; flex-wrap: wrap; padding-bottom: 25px; margin-top: auto; color: #b8cdbf; font-size: 12px; }
.jedar-ctf .cx-event-meta > span { display: inline-flex; gap: 10px; align-items: center; }
.jedar-ctf .cx-event-meta svg { color: #8edca7; width: 16px; height: 16px; }
.jedar-ctf .cx-event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 23px; border-top: 1px solid #9de9b628; }
.jedar-ctf .cx-event-actions > a { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; }
.jedar-ctf .cx-event-primary { padding: 12px 17px; background: #7dffa8; border: 1px solid #7dffa8; color: #031208; }
.jedar-ctf .cx-event-primary:hover { background: #b4ffcc; color: #031208; }
.jedar-ctf .cx-event-primary svg { color: inherit; }
.jedar-ctf .cx-event-secondary { color: #c4e7cf; padding: 12px 0; }
.jedar-ctf .cx-events-empty { padding: 40px; border: 1px solid var(--border-color); }
@media (max-width: 1000px) {
  .jedar-ctf .cx-events-heading { flex-direction: column; align-items: flex-start; gap: 25px; }
  .jedar-ctf .cx-event-content { padding: 27px; }
  .jedar-ctf .cx-event-poster { padding: 20px; }
}
@media (max-width: 700px) {
  .jedar-ctf .cx-event-card { grid-template-columns: 1fr; }
  .jedar-ctf .cx-event-poster { min-height: 0; padding: 20px; border-right: 0; border-bottom: 1px solid #9de9b628; }
  .jedar-ctf .cx-event-content { padding: 24px; }
  .jedar-ctf .cx-event-actions { gap: 18px; }
  .jedar-ctf .cx-event-actions > a { font-size: 12px; }
  .jedar-ctf .cx-team-grid { gap: 10px; }
  .jedar-ctf .cx-team-person { flex-basis: 100%; }
  .jedar-ctf .cx-team-header p { font-size: 13px; }
  .jedar-ctf .ctf-copyright { font-size: 11px; }
}
