@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/figtree-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/figtree-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./assets/fonts/figtree-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./assets/fonts/figtree-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(./assets/fonts/figtree-800.ttf) format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/outfit-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/outfit-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./assets/fonts/outfit-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./assets/fonts/outfit-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(./assets/fonts/outfit-800.ttf) format('truetype');
}

/* Estilos da programação */
:root {
  color-scheme: light;
  --green: #0b5732;
  --green-deep: #064b2c;
  --pink: #e80079;
  --text: #153b2a;
  --muted: #5a6b61;
  --line: #dce7df;
  --soft: #edf5ef;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-body: "Figtree", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; isolation: isolate; min-width: 280px; min-height: 100vh; margin: 0; overflow-x: clip; background: #fff; color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { color: #fff; background: var(--green); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 12px 16px; border-radius: 10px; color: #fff; background: var(--green-deep); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.scenery { position: absolute; z-index: -1; inset: 64px 0 auto; height: 475px; overflow: hidden; pointer-events: none; animation: scene-in 850ms ease-out both; }
.edge-ribbon { position: absolute; top: 0; width: clamp(80px, 9vw, 130px); height: 100%; object-fit: fill; }
.edge-left { left: 0; transform: scaleX(-1); }
.edge-right { right: 0; }
.site-shell { position: relative; z-index: 1; width: min(calc(100% - 96px), 1200px); margin: 0 auto; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; margin-top: 24px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(7, 70, 40, .06); }
.site-header { position: relative; isolation: isolate; overflow: hidden; border-color: #d5e5d9; border-radius: 28px; background: linear-gradient(132deg, #f6faf7 2%, #fff 55%, #e7f3eb 100%); box-shadow: 0 20px 50px rgba(5, 76, 41, .065); }
.site-header::before, .site-header::after { position: absolute; z-index: -1; width: 300px; height: 300px; border: 1px solid rgba(11, 87, 50, .08); border-radius: 50%; pointer-events: none; content: ""; }
.site-header::before { top: -210px; right: 95px; }
.site-header::after { bottom: -190px; right: -100px; }
.program-header .brand-logo { filter: none; }
.header-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.header-nav a { padding: 10px 13px; border-radius: 10px; color: var(--green); font-size: 13px; font-weight: 700; transition: background 180ms ease; }
.header-nav a:hover { background: var(--soft); }
.header-nav .header-action { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d1e4d8; background: var(--soft); }
.program-header .header-nav a { color: var(--green); }
.program-header .header-nav a:hover { background: var(--soft); }
.program-header .header-nav .header-action { border-color: #d1e4d8; background: var(--soft); }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo { display: block; width: 176px; height: auto; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 800; transition: color 200ms ease; }
.back-link .icon { width: 17px; height: 17px; transform: rotate(180deg); transition: transform 250ms var(--ease); }
.back-link:hover { color: var(--pink); }
.back-link:hover .icon { transform: rotate(180deg) translateX(4px); }

.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 32px; padding: 44px 40px 52px; border: 1px solid #d5e5d9; border-radius: 28px; background: linear-gradient(132deg, #f6faf7 2%, #fff 55%, #e7f3eb 100%); box-shadow: 0 20px 50px rgba(5, 76, 41, .065); text-align: center; }
.hero::before, .hero::after { position: absolute; z-index: -1; width: 440px; height: 440px; border: 1px solid rgba(11, 87, 50, .08); border-radius: 50%; pointer-events: none; content: ""; }
.hero::before { top: -190px; right: -70px; }
.hero::after { right: -260px; bottom: -260px; width: 540px; height: 540px; }
.mobile-shortcuts { display: none; }
.mobile-shortcuts a { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 44px; padding: 10px 14px; border: 1px solid #d1e4d8; border-radius: 12px; color: var(--green); background: var(--soft); font-size: 13px; font-weight: 700; }
.mobile-shortcuts a:hover { border-color: #aecfbb; background: #e1efe6; }
.site-header + main .detail-hero { margin-top: 46px; }
.event-editions { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; width: min(100%, 930px); margin: 0 auto; }
.edition { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; text-align: left; }
.edition-number { display: grid; place-items: center; min-width: 72px; height: 60px; padding: 0 10px; color: #fff; background: var(--pink); font-family: var(--font-display); font-size: 35px; line-height: 1; font-weight: 800; }
.edition-label { position: relative; z-index: 1; margin: -8px 0 0 6px; padding: 5px 9px 6px; color: #fff; background: var(--green); font-family: var(--font-display); font-size: clamp(15px, 1.5vw, 23px); line-height: 1.05; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.hero-copy { max-width: 830px; margin: 62px auto 0; }
.eyebrow { color: var(--pink); font-size: 12px; line-height: 1.3; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { display: flex; align-items: center; justify-content: center; gap: 17px; margin-top: 14px; color: var(--green); font-family: var(--font-display); font-size: clamp(54px, 6.1vw, 82px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; }
.title-accent { display: block; width: 8px; height: .9em; flex: 0 0 auto; background: var(--pink); }
.hero-description { max-width: 560px; margin: 20px auto 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.event-date { display: inline-flex; align-items: center; gap: 11px; margin-top: 24px; padding: 11px 15px; border: 1px solid #f2c5dd; border-radius: 12px; color: var(--pink); background: #fff8fb; font-family: var(--font-display); font-size: 16px; font-weight: 700; text-transform: uppercase; }
.event-date .icon { width: 22px; height: 22px; }

.program-section { padding-top: 40px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 31px; }
.section-heading h2 { margin-top: 7px; color: var(--green); font-family: var(--font-display); font-size: clamp(31px, 3vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
.program-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 26px; }

.program-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.program-list > #noite-da-ciencia { grid-column: auto; }
.activity { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 22px; min-width: 0; padding: 30px 31px 28px; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 0 12px 30px rgba(7, 70, 40, .045); scroll-margin-top: 24px; transition: border-color 240ms ease, box-shadow 280ms ease, transform 350ms var(--ease); }
.activity:hover { border-color: #acc8b4; box-shadow: 0 17px 36px rgba(7, 70, 40, .09); transform: translateY(-3px); }
.activity, .saved-card, .table-card { position: relative; isolation: isolate; }
.activity::before, .saved-card::before, .table-card::before { position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: radial-gradient(260px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), var(--pointer-glow, rgba(54, 154, 95, .13)), transparent 70%); opacity: 0; transition: opacity 320ms ease; pointer-events: none; content: ""; }
.activity > *, .saved-card > *, .table-card > * { position: relative; z-index: 1; }
.night-page .table-card { --pointer-glow: rgba(211, 255, 227, .15); }
@media (hover: hover) and (pointer: fine) {
  .activity:hover::before, .saved-card:hover::before, .table-card:hover::before { opacity: 1; }
}
.activity-night { grid-template-columns: 52px minmax(0, 1fr); align-items: start; }
.night-art { display: block; align-self: center; width: 100%; height: auto; max-height: 190px; overflow: hidden; pointer-events: none; }
@keyframes night-art-float { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-4px); } }
.activity-night .activity-kicker { color: var(--pink); }
.activity-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #d1e4d8; border-radius: 16px; color: var(--green); background: linear-gradient(145deg, #f8fcf9, #e5f1e9); box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(7, 70, 40, .055); transition: transform 280ms var(--ease), border-color 240ms ease, box-shadow 280ms ease; }
.activity-icon .icon { width: 28px; height: 28px; stroke-width: 1.65; }
.activity:hover .activity-icon { border-color: #aecfbb; box-shadow: inset 0 1px 0 #fff, 0 6px 14px rgba(7, 70, 40, .09); transform: translateY(-2px) rotate(-3deg); }
.activity-kicker { color: var(--pink); font-size: 11px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.activity-kicker span { padding: 0 4px; color: #b4c5b9; }
.activity h3 { margin-top: 8px; color: var(--green); font-family: var(--font-display); font-size: clamp(25px, 2.25vw, 32px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.activity-body > p:not(.activity-kicker) { max-width: 53ch; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.activity-body > .activity-description { line-height: 1.7; text-wrap: pretty; }
.activity-description strong, .detail-lead strong { color: var(--green); font-weight: 600; }
.program-date { color: var(--green); font-weight: 700; }
.activity-body > .activity-modality, .detail-modality {
  margin-top: 16px; padding: 11px 13px; border: 1px solid #dcebe1; border-radius: 11px;
  background: linear-gradient(110deg, #f0f7f3, #f9fcfa); color: #526b5d; font-size: 12px; line-height: 1.65;
}
.modality-label { margin-right: 3px; color: var(--green); font-weight: 700; }
.modality-platform { color: var(--green); font-weight: 600; }
.detail-modality { display: table; max-width: 100%; }
.night-page .program-date { color: #ebfff1; }
.night-page .detail-modality {
  border-color: rgba(216, 249, 228, .22); background: rgba(217, 255, 230, .07); color: #d4ebdd;
}
.night-page .detail-modality .modality-label, .night-page .detail-modality .modality-platform { color: #ebfff1; }
.activity-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 21px; padding-bottom: 4px; border-bottom: 2px solid var(--pink); color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; transition: color 200ms ease, gap 200ms ease; }
.activity-link { min-height: 44px; max-width: 100%; margin-top: 14px; padding: 10px 0; font-size: 13px; }
.activity-body > .activity-when { margin-top: 14px; font-size: 14px; line-height: 1.6; }
.activity-body > .activity-modality { padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 12px; }
.activity-body > .activity-status { display: table; margin-top: 14px; padding: 5px 9px; border-radius: 7px; background: var(--soft); color: var(--green); font-size: 11px; font-weight: 600; }
.saved-search[hidden], .saved-search-status[hidden] { display: none; }
.saved-empty-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; }
.saved-empty-actions a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 0; }
.activity-link .icon { width: 17px; height: 17px; }
.activity-link:hover { gap: 13px; color: var(--pink); }
.coming-soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; padding: 8px 10px; border: 1px solid #c9ded0; border-radius: 8px; color: var(--green); background: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.coming-soon::before { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); content: ""; }
.activity.activity-night h3 { color: var(--green); }
.activity.activity-night .activity-body > p:not(.activity-kicker) { color: var(--muted); }
.activity.activity-night .activity-link { color: var(--green); }
.activity.activity-night .activity-link:hover { color: var(--pink); }

.saved-section { margin-top: 64px; padding-top: 37px; border-top: 1px solid var(--line); scroll-margin-top: 28px; }
.saved-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.saved-heading h2 { display: flex; align-items: center; gap: 12px; margin-top: 7px; color: var(--green); font-family: var(--font-display); font-size: clamp(31px, 3vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
.saved-heading h2 span { display: grid; place-items: center; min-width: 33px; height: 33px; padding: 0 8px; border-radius: 9px; color: var(--pink); background: #ffeaf4; font: 800 16px var(--font-body); letter-spacing: 0; }
.saved-heading p:last-child { max-width: 56ch; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.saved-heading > a { flex: 0 0 auto; padding-bottom: 4px; border-bottom: 2px solid var(--pink); color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.saved-heading > a:hover { color: var(--pink); }
.saved-search { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #f8fbf9; }
.saved-search-field { flex: 1; min-width: 0; }
.saved-search-field label { display: block; margin-bottom: 8px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.saved-search-field input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #cddfd3; border-radius: 10px; background: #fff; color: var(--text); font: 14px var(--font-body); }
.saved-search-field input:focus { outline: none; }
.saved-search-field input::placeholder { color: var(--muted); }
.saved-search > button { flex: 0 0 auto; min-height: 44px; padding: 10px 14px; border: 1px solid #cddfd3; border-radius: 10px; background: var(--soft); color: var(--green); font: 700 12px var(--font-body); cursor: pointer; }
.saved-search > button:hover { background: #e1efe6; }
.saved-search-status { margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.saved-no-results { padding: 24px; border: 1px dashed #c5decf; border-radius: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: center; }
.saved-empty { display: flex; align-items: center; gap: 18px; padding: 25px 29px; border: 1px dashed #c5decf; border-radius: 19px; background: linear-gradient(115deg, #f2f9f4, #fff); }
.saved-empty[hidden], .saved-list[hidden] { display: none; }
.saved-empty > span { display: grid; place-items: center; flex: 0 0 auto; width: 47px; height: 47px; border-radius: 13px; color: var(--pink); background: #ffeaf4; font-size: 30px; line-height: 1; }
.saved-empty h3 { color: var(--green); font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.saved-empty p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.saved-empty a { margin-left: auto; color: var(--green); font-size: 12px; font-weight: 800; white-space: nowrap; }
.saved-empty a:hover { color: var(--pink); }
.saved-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.saved-card { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: start; gap: 10px; min-width: 0; padding: 20px 22px; border: 1px solid #d8e7dc; border-radius: 17px; background: #fff; box-shadow: 0 10px 25px rgba(5, 76, 41, .045); cursor: pointer; }
.saved-card-main { display: block; flex: 1 1 auto; min-width: 0; }
.saved-card-kicker { color: var(--pink); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.saved-card h3 { margin-top: 8px; color: var(--green); font-family: var(--font-display); font-size: 21px; line-height: 1.18; font-weight: 600; }
.saved-card-main:hover h3 { color: #16834c; }
.saved-card-program { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.saved-card-remove { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 1px solid #ebc0d4; border-radius: 11px; color: #d02e7c; background: #fff0f7; cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 200ms var(--ease); }
.saved-card-remove svg { display: block; width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.saved-card-remove:hover { color: #be216b; border-color: #d986b0; background: #ffe4f0; transform: scale(1.07); }
.saved-card-remove, .favorite-button { position: relative; }
.saved-card-remove svg, .favorite-button svg { position: absolute; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); transform-box: view-box; transform-origin: 50% 50%; }
.saved-card-remove svg path, .favorite-button svg path { transform-box: fill-box; transform-origin: center; }
.saved-card-remove:is(:hover, :focus-visible) svg path,
.favorite-button:is(:hover, :focus-visible) svg path,
.favorite-button.heart-pulse svg path { animation: heart-pulse 650ms ease-in-out; }
@keyframes heart-pulse { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.14); } 55% { transform: scale(.96); } 75% { transform: scale(1.07); } }
.saved-card-footer { grid-column: 1 / -1; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.saved-teams { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 13px; border: 1px solid #c5ddce; border-radius: 10px; background: #edf5ef; color: var(--green); font: 700 12px var(--font-body); text-decoration: none; cursor: pointer; }
.saved-teams:hover { border-color: #9dbfaa; background: #dfede4; }
.saved-teams.is-pending { color: var(--muted); background: #f6f8f6; border-color: var(--line); cursor: default; }
.saved-dialog { position: fixed; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 34px; overflow-y: auto; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--text); box-shadow: 0 24px 80px rgba(7, 50, 30, .2); }
.saved-dialog::backdrop { background: rgba(12, 40, 28, .36); backdrop-filter: blur(5px); }
.saved-dialog h2 { margin: 12px 48px 24px 0; color: var(--green); font: 600 clamp(24px, 4vw, 30px)/1.2 var(--font-display); }
.saved-dialog-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; color: var(--green); background: var(--soft); cursor: pointer; }
.saved-dialog-close svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.saved-dialog-details { margin: 0; }
.saved-dialog-details dt { margin-top: 20px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.saved-dialog-details dd { margin: 6px 0 0; font-size: 14px; line-height: 1.6; }
.saved-dialog-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.saved-dialog-footer > span { color: var(--muted); font-size: 12px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 60px; padding: 23px 0 30px; border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); font-size: 11px; line-height: 1.45; }
.site-footer p span { padding: 0 5px; }
.site-footer img { display: block; width: 132px; height: auto; }

.has-scroll-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity 680ms var(--ease), transform 680ms var(--ease); }
.has-scroll-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-copy { transition-delay: 110ms !important; }
@keyframes scene-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 920px) {
  .activity-night { grid-template-columns: 52px minmax(0, 1fr); }
  .night-art { grid-column: 1 / -1; justify-self: center; width: min(100%, 330px); max-height: 150px; margin-top: 6px; }
  .program-list { grid-template-columns: minmax(0, 1fr); }
  .site-shell { width: min(calc(100% - 60px), 800px); }
  .scenery { height: 455px; }
  .edge-ribbon { opacity: .3; }
  .event-editions { max-width: 720px; }
  .edition-label { font-size: clamp(12px, 1.75vw, 17px); }
  .program-layout { display: block; }
  .activity { scroll-margin-top: 78px; }
  .saved-section { scroll-margin-top: 78px; }
}

@media (max-width: 600px) {
  .site-shell { width: calc(100% - 36px); }
  .site-header { min-height: 70px; margin-top: 16px; padding: 14px; border-radius: 17px; }
  .program-header { display: none; }
  .header-nav { justify-content: center; gap: 4px; }
  .header-nav a { padding: 9px 10px; font-size: 12px; }
  .brand-logo { width: 146px; }
  .back-link { font-size: 11px; }
  .back-link .icon { width: 15px; height: 15px; }
  .scenery { top: 70px; height: 510px; }
  .edge-ribbon { width: 72px; opacity: .15; }
  .hero { margin-top: 0; padding: 44px 0 32px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .hero::before, .hero::after { display: none; }
  .mobile-shortcuts { display: flex; gap: 12px; }
  .mobile-shortcuts { gap: 8px; }
  .mobile-shortcuts a { padding: 10px 7px; font-size: 12px; }
  .mobile-shortcuts .shortcut-registration { gap: 5px; background: var(--green); border-color: var(--green); color: #fff; }
  .site-header + main .detail-hero { margin-top: 32px; }
  .event-editions { flex-direction: column; align-items: center; gap: 13px; }
  .edition { width: min(100%, 310px); }
  .edition-number { min-width: 55px; height: 46px; font-size: 28px; }
  .edition-label { align-self: stretch; margin-top: -7px; font-size: 15px; white-space: normal; }
  .hero-copy { margin-top: 30px; }
  .hero-copy .eyebrow { font-size: 10px; }
  h1 { gap: 11px; font-size: clamp(46px, 13vw, 66px); }
  .title-accent { width: 6px; }
  .hero-description { margin-top: 16px; font-size: 14px; }
  .event-date { margin-top: 20px; font-size: 12px; }
  .event-date .icon { width: 19px; height: 19px; }
  .program-section { padding-top: 28px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading h2 { font-size: 32px; }
  .program-list { gap: 12px; }
  .activity { grid-template-columns: 44px minmax(0, 1fr); gap: 13px; padding: 21px 17px; border-radius: 17px; }
  .activity-icon { width: 44px; height: 44px; border-radius: 12px; }
  .activity-icon .icon { width: 23px; height: 23px; }
  .activity h3 { font-size: 24px; }
  .activity-body > p:not(.activity-kicker) { font-size: 13px; }
  .hero { padding-top: 28px; padding-bottom: 24px; }
  .event-editions { gap: 10px; }
  .program-list > .activity { align-content: start; row-gap: 0; height: auto; }
  .program-list .activity-body { display: contents; }
  .program-list .activity-icon { grid-column: 1; grid-row: 1 / 3; }
  .program-list .activity-kicker, .program-list .activity h3 { grid-column: 2; }
  .program-list .activity-body > :is(.activity-description, .activity-when, .activity-modality, .activity-status, .activity-link) { grid-column: 1 / -1; }
  .program-list .activity-link { justify-self: start; }
  .program-list .activity-description { margin-top: 14px; font-size: 14px; line-height: 1.65; }
  .saved-empty-actions { flex-basis: 100%; margin-left: 0; }
  .site-footer { align-items: flex-start; margin-top: 39px; }
  .site-footer p { font-size: 10px; }
  .site-footer img { width: 95px; }
  .saved-section { margin-top: 45px; padding-top: 30px; }
  .saved-heading { display: block; }
  .saved-heading > a { display: inline-block; margin-top: 17px; }
  .saved-empty { align-items: flex-start; flex-wrap: wrap; padding: 21px; }
  .saved-empty a { flex-basis: 100%; margin-left: 0; }
  .saved-list { grid-template-columns: 1fr; }
  .saved-search { flex-wrap: wrap; }
  .saved-search-field { flex-basis: 100%; }
  .saved-search > button { width: 100%; }
  .saved-dialog .saved-card-kicker { min-height: 28px; padding-right: 48px; }
  .saved-dialog h2 { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .activity { transform: none !important; }
  .has-scroll-reveal .reveal { opacity: 1 !important; transform: none !important; }
}

/* Páginas de atividades e mesas */
.detail-page .scenery { top: 82px; height: 430px; }
.detail-page .edge-ribbon { opacity: .35; }
.detail-hero { position: relative; overflow: hidden; margin-top: 30px; padding: 28px 42px 0; border: 1px solid #d5e5d9; border-radius: 28px; background: linear-gradient(132deg, #f6faf7 2%, #fff 55%, #e7f3eb 100%); box-shadow: 0 25px 60px rgba(5, 76, 41, .08); }
.detail-hero::before { position: absolute; top: -105px; right: 90px; width: 380px; height: 380px; border: 1px solid #dcefe2; border-radius: 50%; content: ""; pointer-events: none; }
.detail-hero::after { position: absolute; top: -35px; right: -70px; width: 275px; height: 275px; border: 1px solid #dcefe2; border-radius: 50%; content: ""; pointer-events: none; }
.detail-overline { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.pink-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px #fde4f1; }
.detail-hero-main { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 45px; min-height: 290px; padding: 35px 0 31px; }
.detail-hero h1 { display: block; max-width: 750px; margin: 10px 0 0; font-size: clamp(46px, 5.5vw, 72px); line-height: 1.04; font-weight: 600; text-align: left; }
.detail-hero h1 em { color: var(--pink); font-style: normal; }
.detail-lead { max-width: 580px; margin-top: 21px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.date-plaque { display: flex; flex: 0 0 172px; flex-direction: column; align-items: center; justify-content: center; height: 188px; border-radius: 23px; color: #fff; background: var(--green); box-shadow: 0 17px 25px rgba(6, 75, 44, .16); transform: rotate(3deg); animation: plaque-in 750ms var(--ease) both; }
.date-plaque > span:first-child { font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.date-plaque strong { margin: 7px 0 6px; font-family: var(--font-display); font-size: 79px; line-height: .95; font-weight: 700; letter-spacing: -.07em; }
.date-plaque small { font-size: 22px; letter-spacing: -.04em; }
.date-plaque > span:last-child { padding: 7px 10px; border-radius: 6px; color: var(--green); background: #fff; font-size: 12px; font-weight: 800; }
.detail-hero-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; padding: 17px 0 20px; border-top: 1px solid #d5e5d9; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.detail-hero-bottom span:last-child { color: var(--muted); }
.tables-section { padding-top: 57px; }
.tables-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.tables-heading h2 { margin-top: 7px; color: var(--green); font-family: var(--font-display); font-size: clamp(31px, 3.4vw, 45px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.tables-heading > p { max-width: 295px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.filters { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr auto; align-items: end; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #f8fbf9; }
.filter-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.filter-field label { color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.filter-field :is(select, input) { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #cfe0d4; border-radius: 10px; outline: none; color: var(--text); background: #fff; font: 600 13px var(--font-body); }
.filter-field :is(select, input):focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(11, 87, 50, .1); }
.filter-field input::placeholder { color: #8da397; font-weight: 500; }
.clear-filters { height: 46px; padding: 0 17px; border: 1px solid #cfe0d4; border-radius: 10px; color: var(--green); background: #fff; font: 800 12px var(--font-body); cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.clear-filters:hover { border-color: var(--green); background: #eef6f0; }
.results-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 29px 0 14px; color: var(--green); font-size: 13px; font-weight: 800; }
.results-line span { color: #789487; font-size: 11px; letter-spacing: .07em; }
.table-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.table-card { display: flex; flex-direction: column; min-width: 0; padding: 24px 26px 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 9px 25px rgba(5, 76, 41, .045); scroll-margin-top: 20px; transition: transform 300ms var(--ease), border-color 250ms ease, box-shadow 300ms ease; }
.table-card:hover { transform: translateY(-4px); border-color: #aacdb5; box-shadow: 0 18px 35px rgba(5, 76, 41, .11); }
.table-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.table-card-top-right { display: flex; align-items: center; justify-content: flex-end; gap: 9px; min-width: 0; }
.table-number { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: var(--pink); background: #fff0f7; font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.table-schedule { color: #667c70; font-size: 11px; font-weight: 700; text-align: right; }
.table-title { max-width: 45ch; margin: 20px 0 22px; color: var(--green); font-family: var(--font-display); font-size: clamp(22px, 2.15vw, 28px); line-height: 1.16; font-weight: 600; letter-spacing: -.015em; }
.table-people { display: grid; gap: 13px; margin-top: auto; padding: 17px 0 18px; border-top: 1px solid var(--line); }
.person-label { display: block; margin-bottom: 5px; color: #7e9587; font-size: 10px; line-height: 1.25; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.person-value { color: var(--text); font-size: 13px; line-height: 1.45; font-weight: 700; }
.person-pending { color: #8b948e; font-weight: 500; }
.table-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 68px; margin: 0 -26px; padding: 10px 26px; border-top: 1px solid var(--line); border-radius: 0 0 20px 20px; background: #fbfdfb; }
.platform-note { color: #688574; font-size: 11px; font-weight: 800; }
.teams-link { display: inline-flex; align-items: center; justify-content: center; min-height: 37px; padding: 0 13px; border: 1px solid var(--green); border-radius: 9px; color: #fff; background: var(--green); font: 800 11px var(--font-body); transition: background 200ms ease, transform 200ms ease; }
.teams-link:not(:disabled):hover { background: var(--green-deep); transform: translateY(-2px); }
.teams-link.is-pending { border-color: #d5e6d9; color: #72917d; background: #edf5ef; cursor: not-allowed; }
.empty-state { padding: 60px 18px; border: 1px dashed #bfd5c5; border-radius: 20px; background: #f9fcfa; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state > span { color: var(--pink); font-size: 45px; }
.empty-state h3 { margin-top: 5px; color: var(--green); font-family: var(--font-display); font-size: 25px; }
.empty-state p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.empty-state button { margin-top: 20px; padding: 11px 15px; border: 0; border-radius: 9px; color: #fff; background: var(--green); font: 800 12px var(--font-body); cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.placeholder-main { min-height: min(650px, calc(100vh - 170px)); }
.placeholder-hero .detail-hero-main { min-height: 245px; }
.placeholder-note { display: flex; align-items: flex-start; gap: 18px; max-width: 760px; margin: 38px auto 0; padding: 25px 28px; border: 1px solid #d6e6d9; border-radius: 18px; background: #f8fcf9; }
.placeholder-note::before { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; color: var(--pink); background: #fce8f2; font-size: 22px; content: "✦"; }
.placeholder-note h2 { color: var(--green); font-family: var(--font-display); font-size: 25px; font-weight: 600; }
.placeholder-note p { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.placeholder-note a { display: inline-block; margin-top: 18px; border-bottom: 2px solid var(--pink); color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
@keyframes plaque-in { from { opacity: 0; transform: translateY(16px) rotate(7deg); } to { opacity: 1; transform: translateY(0) rotate(3deg); } }
@media (max-width: 900px) { .detail-hero-main { gap: 20px; } .date-plaque { flex-basis: 145px; height: 165px; } .date-plaque strong { font-size: 67px; } .filters { grid-template-columns: 1fr 1fr; } .clear-filters { justify-self: start; } }
@media (max-width: 690px) { .detail-page .scenery { top: 70px; height: 470px; } .detail-hero { margin-top: 18px; padding: 23px 23px 0; border-radius: 20px; } .detail-overline { font-size: 9px; line-height: 1.4; } .detail-hero-main { flex-direction: column; align-items: flex-start; gap: 20px; padding: 34px 0 25px; } .detail-hero h1 { font-size: clamp(43px, 10vw, 64px); } .detail-lead { font-size: 14px; } .date-plaque { flex: 0 0 auto; flex-direction: row; gap: 10px; width: 100%; height: 73px; transform: none; animation: none; } .date-plaque strong { margin: 0; font-size: 38px; } .date-plaque small { font-size: 14px; } .date-plaque > span:first-child { font-size: 8px; } .date-plaque > span:last-child { font-size: 10px; } .detail-hero-bottom { flex-wrap: wrap; font-size: 10px; } .tables-section { padding-top: 39px; } .tables-heading { display: block; } .tables-heading > p { max-width: none; margin-top: 9px; } .table-list { grid-template-columns: 1fr; } }
@media (max-width: 470px) { .filters { grid-template-columns: 1fr; } .clear-filters { width: 100%; } .table-card { padding: 21px 19px 0; } .table-card-footer { margin: 0 -19px; padding-right: 19px; padding-left: 19px; } .table-schedule { font-size: 10px; } .results-line span { display: none; } .placeholder-note { padding: 21px; } }
@media (prefers-reduced-motion: reduce) { .date-plaque { animation: none; } }

/* Noite da Ciência */
.night-page {
  --night-bg: #214b3e;
  --night-surface: #32634e;
  --night-border: #628d74;
  --night-text: #f3fcf6;
  --night-muted: #d1e7d8;
  --night-accent: #ffd5f0;
  --night-accent-gradient: linear-gradient(135deg, #fff4fb 5%, #ffd2ef 48%, #ffb0df 100%);
  --calendar-tilt: -5deg;
  --glass-border: rgba(213, 247, 224, .28);
  --glass-highlight: rgba(236, 255, 242, .18);
  --glass-background: linear-gradient(135deg, rgba(240, 255, 245, .045), rgba(240, 255, 245, .012) 52%, rgba(240, 255, 245, .025)), rgba(195, 231, 207, .085);
  --glass-shadow: inset 0 1px 0 var(--glass-highlight), 0 14px 35px rgba(8, 31, 23, .10);
  color-scheme: dark;
  background: radial-gradient(ellipse 66% 490px at 78% 160px, rgba(97, 176, 125, .22), transparent 73%), radial-gradient(ellipse 48% 600px at 0% 1400px, rgba(106, 185, 138, .14), transparent 72%), radial-gradient(ellipse 44% 650px at 100% 3200px, rgba(183, 95, 139, .10), transparent 72%), var(--night-bg);
  color: var(--night-text);
}
.night-sky {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  contain: strict;
  pointer-events: none;
  user-select: none;
}
/* Evita uma camada fixa junto às barras translúcidas do Safari no celular. */
@media (max-width: 600px) {
  .night-page .night-sky { position: absolute; }
}
.night-sky::before {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at 85% 12%, rgba(132, 209, 170, .18), transparent 55%), radial-gradient(ellipse at 12% 82%, rgba(145, 191, 217, .08), transparent 48%);
  animation: night-sky-glow 24s ease-in-out -8s infinite alternate;
  content: "";
}
.night-sky-layer { position: absolute; inset: -60px; background-repeat: repeat; }
.night-sky-stars-far {
  background-image: radial-gradient(circle, rgba(237, 255, 244, .9) .7px, transparent 1.5px), radial-gradient(circle, rgba(202, 239, 225, .8) .8px, transparent 1.7px), radial-gradient(circle, rgba(242, 254, 247, .75) .6px, transparent 1.4px), radial-gradient(circle, rgba(218, 245, 235, .65) .7px, transparent 1.5px);
  background-position: 17px 24px, 145px 90px, 50px 150px, 110px 45px;
  background-size: 211px 193px, 337px 281px, 409px 353px, 157px 229px;
  opacity: .45;
  animation: night-stars-drift 32s linear -12s infinite alternate, night-stars-twinkle 4s ease-in-out -1s infinite;
}
.night-sky-stars-near {
  background-image: radial-gradient(circle, rgba(246, 255, 248, .95) 1.2px, rgba(209, 247, 225, .25) 1.9px, transparent 3px), radial-gradient(circle, rgba(230, 248, 244, .9) 1px, rgba(199, 236, 221, .16) 1.8px, transparent 3px), radial-gradient(circle, rgba(255, 234, 246, .8) .9px, transparent 2px);
  background-position: 30px 65px, 170px 180px, 280px 30px;
  background-size: 307px 263px, 463px 397px, 541px 449px;
  opacity: .6;
  animation: night-stars-drift-near 20s linear -6s infinite alternate, night-stars-twinkle-near 5s ease-in-out -2s infinite;
}
.night-sky-glints { position: absolute; inset: 0; animation: night-stars-drift-near 20s linear -6s infinite alternate; }
.night-sky-glints span { position: absolute; width: 7px; height: 7px; background: #e2f7ea; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); opacity: .5; animation: night-star-glint 5s ease-in-out infinite; }
.night-sky-glints span:nth-child(1) { top: 18%; left: 4%; animation-delay: -2s; }
.night-sky-glints span:nth-child(2) { top: 62%; left: 96%; animation-delay: -5s; }
.night-sky-glints span:nth-child(3) { top: 84%; left: 22%; width: 5px; height: 5px; animation-delay: -7s; }
.night-sky-glints span:nth-child(4) { top: 36%; left: 72%; width: 5px; height: 5px; animation-delay: -1s; }
.night-sky-glints span:nth-child(5) { top: 8%; left: 43%; width: 6px; height: 6px; animation-delay: -4s; }
.night-sky-meteors { position: absolute; inset: 0; overflow: hidden; }
.night-sky-meteors span { position: absolute; top: 14%; left: 96%; width: 130px; height: 1px; border-radius: 999px; background: linear-gradient(90deg, #ecfff3, rgba(220, 252, 231, .28) 45%, transparent); opacity: 0; transform: rotate(-32deg); animation: night-shooting-star 13s linear -1s infinite; }
.night-sky-meteors span::before { position: absolute; top: -1px; left: 0; width: 3px; height: 3px; border-radius: 50%; background: #f2fff7; box-shadow: 0 0 9px rgba(228, 255, 238, .65); content: ""; }
.night-sky-meteors span:nth-child(2) { top: 58%; left: 70%; width: 105px; animation-duration: 19s; animation-delay: -8s; }
.night-page ::selection { color: #153c31; background: #9aebbd; }
.night-page :is(.site-header, .detail-hero, .filters, .table-card) { border-color: var(--glass-border); background: var(--glass-background); box-shadow: var(--glass-shadow); }
.night-page .site-header::before, .night-page .site-header::after { border-color: rgba(212, 246, 222, .15); }
.night-page .brand-logo { filter: brightness(0) invert(1); }
.night-page .site-footer img { filter: brightness(0) invert(1); }
.night-page .back-link { color: #effaf3; }
.night-page .back-link:hover { color: #b8eec8; }
.night-page .detail-hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .66fr); align-items: center; gap: clamp(24px, 3.5vw, 48px); min-height: 310px; padding: 32px 0; }
.night-page .detail-hero-main > div:first-child { min-width: 0; }
.night-page .detail-hero::before, .night-page .detail-hero::after { display: none; }
.night-page .detail-overline { color: #e8f9ee; }
.night-page .pink-dot { background: var(--night-accent-gradient); box-shadow: 0 0 0 4px rgba(255, 153, 220, .12), 0 0 14px rgba(255, 153, 220, .30); }
.night-page .eyebrow { color: #ff8bc5; }
.night-page .detail-hero .eyebrow { color: #fff0f7; }
.night-page .detail-hero h1 { color: #f6fff8; line-height: 1.05; text-wrap: balance; }
.night-page .detail-hero h1 em { color: var(--night-accent); text-shadow: 0 0 18px rgba(255, 153, 220, .24), 0 0 38px rgba(255, 153, 220, .10); animation: night-science-pulse 3.8s ease-in-out infinite; }
.night-page .detail-lead { margin-top: 18px; color: #edf9f1; text-wrap: pretty; }
.night-calendar-scene { position: relative; isolation: isolate; display: grid; place-items: center; justify-self: start; overflow: clip; width: min(100%, 320px); height: 264px; }
.night-calendar-scene::before { position: absolute; z-index: -1; inset: 8% 3%; border-radius: 50%; background: radial-gradient(ellipse at 45% 45%, rgba(169, 246, 198, .18), rgba(158, 229, 191, .04) 55%, transparent 72%); animation: night-calendar-glow 10s ease-in-out -2s infinite; pointer-events: none; content: ""; }
.night-calendar-orbit { position: absolute; z-index: -1; width: min(calc(100% - 12px), 252px); aspect-ratio: 1; border: 1px solid rgba(205, 248, 220, .10); border-radius: 50%; animation: night-calendar-orbit 32s linear -5s infinite; pointer-events: none; }
.night-calendar-orbit::before { position: absolute; top: -3px; left: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: #d9fbe5; box-shadow: 0 0 10px rgba(207, 255, 222, .5); content: ""; }
.night-calendar-orbit::after { position: absolute; inset: -1px; border: 1px solid transparent; border-top-color: rgba(227, 255, 236, .38); border-right-color: rgba(205, 248, 220, .12); border-radius: inherit; content: ""; }
.night-calendar-orbit-inner { width: 224px; border-color: rgba(255, 211, 234, .07); animation-duration: 26s; animation-delay: -12s; animation-direction: reverse; }
.night-calendar-orbit-inner::before { width: 4px; height: 4px; top: -2px; left: calc(50% - 2px); background: #ffd1e7; box-shadow: 0 0 8px rgba(255, 177, 216, .4); }
.night-calendar-orbit-inner::after { border-top-color: rgba(255, 222, 241, .24); border-right-color: rgba(255, 222, 241, .08); }
.night-calendar-moon { position: absolute; top: 7px; right: 12px; width: 36px; height: 36px; fill: #e0fbe9; opacity: .9; filter: drop-shadow(0 0 7px rgba(203, 255, 221, .18)); animation: night-moon-drift 12s ease-in-out -3s infinite; pointer-events: none; }
.night-calendar-moon .moon-star { fill: #f0fff5; }
.night-calendar-star { position: absolute; top: 35px; left: 34px; width: 6px; height: 6px; background: #e8fff0; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); opacity: .5; animation: night-star-glint 6s ease-in-out -1s infinite; pointer-events: none; }
.night-calendar-star-small { top: auto; bottom: 22px; left: 50px; width: 4px; height: 4px; background: #ffd5eb; animation-delay: -4s; }
.night-page .date-plaque { position: relative; z-index: 1; isolation: isolate; overflow: hidden; flex-direction: column; gap: 0; width: 196px; height: 204px; padding: 20px 18px; border: 1px solid rgba(225, 255, 237, .46); border-radius: 24px; background: linear-gradient(145deg, rgba(234, 255, 241, .14), rgba(213, 249, 224, .035)), rgba(99, 166, 125, .17); box-shadow: inset 0 1px 0 rgba(242, 255, 246, .36), inset 0 -1px 0 rgba(216, 248, 225, .10), 0 18px 32px rgba(8, 36, 24, .14), 0 0 24px rgba(190, 255, 210, .04); transform: rotate(var(--calendar-tilt)); animation: night-calendar-float 10s ease-in-out -2s infinite; }
.night-page .date-plaque::before { position: absolute; inset: -15% -45%; border-radius: inherit; background: linear-gradient(112deg, transparent 38%, rgba(241, 255, 246, .13) 47%, rgba(241, 255, 246, .03) 54%, transparent 65%); transform: translateX(-110%); animation: night-calendar-reflection 12s ease-in-out -4s infinite; pointer-events: none; content: ""; }
.night-page .date-plaque::after { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 0 0, rgba(235, 255, 244, .12), transparent 48%), radial-gradient(ellipse at 100% 100%, rgba(204, 255, 224, .08), transparent 46%); box-shadow: inset 0 0 0 1px rgba(229, 255, 237, .13); opacity: .55; animation: night-calendar-edge 10s ease-in-out -2s infinite; pointer-events: none; content: ""; }
.night-page .date-plaque > * { position: relative; z-index: 1; }
.night-page .date-plaque .calendar-weekday { width: 100%; padding-bottom: 12px; border-bottom: 1px solid rgba(219, 251, 229, .20); font-size: 9px; line-height: 1.2; letter-spacing: .16em; text-align: center; }
.night-page .date-plaque strong { margin: 12px 0 14px; color: #f5fff8; font-size: 78px; line-height: .9; letter-spacing: -.055em; text-shadow: 0 2px 15px rgba(210, 255, 225, .12); white-space: nowrap; }
.night-page .date-plaque small { font-size: 21px; letter-spacing: -.025em; }
.night-page .date-plaque .calendar-hours { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(221, 255, 232, .5); border-radius: 8px; color: #123e2c; background: #d6f9df; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.calendar-hours svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.night-page .detail-hero-bottom { border-color: rgba(193, 236, 206, .19); color: #bdebcf; }
.night-page .detail-hero-bottom > span { display: inline-flex; align-items: center; gap: 8px; }
.night-page .detail-hero-bottom span:last-child { color: #c1ddcc; }
.banner-meta-icon { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.night-page .tables-heading h2 { color: var(--night-text); }
.night-page .tables-heading > p { color: var(--night-muted); }
.night-page .filters { grid-template-columns: minmax(0, 1fr) auto auto; }
.night-page .filters.filters-with-course { grid-template-columns: minmax(0, 1fr) auto minmax(170px, 240px) auto; }
.night-page .filter-course select { cursor: pointer; padding-right: 26px; }
.night-page .filter-course { position: relative; }
.night-page .filter-course select[hidden] { display: none; }
.night-page .filter-course .course-filter-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; text-align: left; }
.course-trigger-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.night-page .course-trigger-arrow { display: block; flex: 0 0 16px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.course-filter-button[aria-expanded="true"] .course-trigger-arrow { transform: rotate(180deg); }
.night-page .filters.course-menu-is-open { z-index: 10; }
.night-page .filters.course-menu-is-open > .filter-course { z-index: 5; }
.course-filter-menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: flex; flex-direction: column; width: 100%; max-width: calc(100vw - 60px); padding: 7px; overflow: hidden; border: 1px solid #8caf9b; border-radius: 14px; background: rgba(36, 79, 62, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 16px 36px rgba(5, 28, 18, .28); }
.course-menu-list { min-height: 0; padding-right: 8px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: auto; scrollbar-color: auto; }
.course-menu-list::-webkit-scrollbar { width: 8px; }
.course-menu-list::-webkit-scrollbar-track { margin-block: 7px; border: 2px solid transparent; border-radius: 8px; background: rgba(204, 245, 215, .08); background-clip: padding-box; }
.course-menu-list::-webkit-scrollbar-thumb { min-height: 32px; border: 2px solid transparent; border-radius: 8px; background: #91bca1; background-clip: padding-box; }
.course-menu-list::-webkit-scrollbar-thumb:hover { background-color: #b7ddc3; }
.course-menu-list::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports not selector(::-webkit-scrollbar) {
  .course-menu-list { scrollbar-width: thin; scrollbar-color: #91bca1 transparent; }
}
.course-filter-menu[hidden] { display: none; }
.course-filter-menu.opens-up { top: auto; bottom: calc(100% + 8px); }
.course-menu-option { position: relative; display: block; width: 100%; min-height: 44px; padding: 10px 32px 10px 12px; border: 1px solid transparent; border-radius: 8px; color: #edf8f1; background: transparent; font: 600 12px/1.5 var(--font-body); text-align: left; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.course-menu-option + .course-menu-option { margin-top: 3px; }
.course-menu-option:hover, .course-menu-option:focus-visible { border-color: rgba(218, 248, 227, .25); outline: none; background: #3a6a53; }
.course-menu-option.is-selected { border-color: rgba(255, 190, 222, .35); color: #ffd1e7; background: rgba(255, 190, 222, .09); }
.course-menu-option.is-selected::after { position: absolute; top: 12px; right: 11px; content: "✓"; font-size: 14px; }
@media (max-width: 600px) { .course-filter-menu { width: 100%; max-width: none; } }
@media (max-width: 1050px) {
  .night-page .filters.filters-with-course { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .night-page .filters-with-course .filter-search { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .night-page .filters.filters-with-course { grid-template-columns: minmax(0, 1fr); }
  .night-page .filters-with-course .filter-search { grid-column: auto; }
  .night-page .filters-with-course > :is(.favorites-filter, .clear-filters) { width: 100%; }
}
.night-page .filter-field label { color: #d2eddc; }
.night-page .filter-field :is(select, input) { border-color: #86a790; color: #f1fbf4; background: #29533f; }
.night-page .filter-field :is(select, input):focus { border-color: #8eddb0; box-shadow: 0 0 0 3px rgba(127, 226, 160, .15); }
.night-page .filter-field :is(select, input)::placeholder { color: #d0e5d8; }
.night-page .filter-field option { color: #eef9f2; background: #29533f; }
.night-page .clear-filters { border-color: #93b39f; color: #eff9f2; background: #426f54; }
.night-page .clear-filters:hover { border-color: #b7e6c5; background: #4b795e; }
.night-page .favorites-filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 13px; border: 1px solid #93b39f; border-radius: 10px; color: #eff9f2; background: #426f54; font: 800 12px var(--font-body); white-space: nowrap; cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
.night-page .favorites-filter:hover { border-color: #b7e6c5; background: #4b795e; }
.night-page .favorites-filter.is-active { border-color: #ffb4d7; color: #fff; background: #526e5e; }
.night-page .favorites-filter span:first-child { color: #ffb4d7; font-size: 17px; line-height: 1; }
.night-page .results-line { color: #d7f6df; }
.night-page .results-line span { color: #bdd7c6; }
.night-page .table-list { gap: 20px; }
.night-page .table-card { --card-inset: clamp(18px, 2vw, 26px); position: relative; overflow: hidden; padding: var(--card-inset) var(--card-inset) 0; border-radius: 18px; }
.night-page .table-card:hover { border-color: rgba(213, 247, 224, .4); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 18px 40px rgba(8, 31, 23, .14); }
.night-page .table-card-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px; }
.night-page .table-card-top-right { display: contents; }
.night-page .table-number { position: relative; isolation: isolate; overflow: hidden; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid rgba(218, 248, 227, .34); border-radius: 11px; color: #ffd1e7; background: linear-gradient(145deg, rgba(235, 255, 242, .10), rgba(235, 255, 242, .02)), rgba(196, 247, 211, .08); box-shadow: inset 0 1px 0 rgba(238, 255, 244, .18), 0 4px 14px rgba(8, 31, 23, .10); font-size: 19px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; text-shadow: 0 0 12px rgba(255, 171, 213, .22); }
.night-page .table-number::before { position: absolute; z-index: -1; inset: -1px; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(224, 255, 235, .24) 48%, rgba(255, 223, 239, .17) 53%, transparent 72%); transform: translateX(-130%); animation: night-number-shimmer 7s ease-in-out infinite; pointer-events: none; content: ""; }
.night-page .table-number::after { position: absolute; top: 5px; right: 5px; width: 4px; height: 4px; background: #d8f9e4; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .45; animation: night-star-glint 4s ease-in-out infinite; pointer-events: none; content: ""; }
.night-page .table-card:nth-child(3n + 2) .table-number::before, .night-page .table-card:nth-child(3n + 2) .table-number::after { animation-delay: -2s; }
.night-page .table-card:nth-child(3n) .table-number::before, .night-page .table-card:nth-child(3n) .table-number::after { animation-delay: -4s; }
.night-page .table-schedule { display: flex; grid-column: 2; justify-self: end; flex-direction: row; align-items: center; gap: 8px; min-width: 0; padding: 0; border: 0; border-radius: 0; color: #effaf3; background: transparent; font-size: 13px; line-height: 1.4; font-weight: 700; text-align: left; }
.night-page .schedule-detail, .night-page .favorite-button { border: 1px solid #8fb497; border-radius: 11px; background: #477e5d; box-shadow: inset 0 1px 0 rgba(233, 255, 240, .10); }
.night-page .schedule-detail { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 10px; white-space: nowrap; }
.night-page .schedule-icon { display: block; flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.night-page .favorite-button { display: grid; grid-column: 3; grid-row: 1; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; color: #e0f1e4; font: 26px/1 var(--font-body); cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 200ms var(--ease); }
.night-page .favorite-button:hover { border-color: #ef82bb; color: #ffb4d7; transform: scale(1.07); }
.night-page .favorite-button svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.night-page .favorite-button.is-favorite svg { fill: currentColor; }
.night-page .favorite-button.is-favorite { border-color: #ad4e7f; color: #ff91c6; background: #65445a; }
.night-page .favorite-button.is-favorite:hover { color: #fff0f7; }
.night-page .table-title { margin: 22px 0 24px; color: #f0fff3; font-size: clamp(22px, 2.1vw, 27px); line-height: 1.24; }
.night-page .table-people { gap: 18px; padding: 20px 0 22px; border-color: rgba(214, 246, 224, .18); }
.night-page .person-label { margin-bottom: 6px; color: #d3ecdc; font-size: 11px; line-height: 1.3; }
.night-page .person-value { color: #f0faf3; line-height: 1.55; font-weight: 600; }
.night-page .table-course-group .person-label { color: #ffd1e7; }
.night-page .table-course-names { color: #edf8f1; font-size: 13px; line-height: 1.65; font-weight: 600; overflow-wrap: anywhere; text-transform: uppercase; }
.night-page .person-pending { color: #d1e7d8; }
.night-page .table-card-footer { gap: 12px; min-height: 76px; margin: 0 calc(-1 * var(--card-inset)); padding: 14px var(--card-inset); border-color: rgba(214, 246, 224, .18); border-radius: 0 0 18px 18px; background: rgba(16, 53, 34, .10); }
.night-page .platform-note { color: #d4e9db; }
.night-page .teams-link { min-height: 44px; border-color: #b8eec8; border-radius: 11px; color: #092b1c; background: #b8eec8; }
.night-page .teams-link:not(:disabled):hover { border-color: #e3fce9; color: #061b11; background: #e3fce9; }
.night-page .teams-link.is-pending { border-color: #8fae99; color: #ebf6ee; background: #477958; }
.night-page .empty-state { border-color: #81aa90; background: var(--night-surface); }
.night-page .empty-state h3 { color: #effaf3; }
.night-page .empty-state p { color: var(--night-muted); }
.night-page .empty-state button { color: #0a2b1b; background: #b8eec8; }
.night-page .site-footer { border-color: var(--night-border); }
.night-page .site-footer p { color: var(--night-muted); }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .night-page .detail-hero h1 em { background: var(--night-accent-gradient); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .night-page :is(.site-header, .detail-hero, .filters, .table-card) { -webkit-backdrop-filter: blur(4px) saturate(112%); backdrop-filter: blur(4px) saturate(112%); }
  .night-page .date-plaque { -webkit-backdrop-filter: blur(8px) saturate(112%); backdrop-filter: blur(8px) saturate(112%); }
  .night-page .filter-field input { background: rgba(16, 51, 33, .26); border-color: rgba(218, 248, 227, .34); }
  .night-page .clear-filters, .night-page .favorites-filter:not(.is-active) { background: rgba(204, 245, 215, .10); border-color: rgba(218, 248, 227, .34); }
  .night-page .clear-filters:hover, .night-page .favorites-filter:not(.is-active):hover { background: rgba(204, 245, 215, .17); }
  .night-page .schedule-detail, .night-page .favorite-button { background: rgba(196, 247, 211, .12); }
  .night-page .favorite-button.is-favorite { background: rgba(122, 59, 91, .68); }
  .night-page .teams-link.is-pending { background: rgba(14, 53, 33, .15); }
}
@keyframes night-science-pulse { 0%, 100% { background-position: 0% 0%; text-shadow: 0 0 18px rgba(255, 153, 220, .18), 0 0 38px rgba(255, 153, 220, .08); } 50% { background-position: 100% 100%; text-shadow: 0 0 24px rgba(255, 153, 220, .40), 0 0 48px rgba(255, 153, 220, .18); } }
@keyframes night-calendar-float { 0%, 100% { transform: translate3d(0, 2px, 0) rotate(calc(var(--calendar-tilt) - .65deg)); } 50% { transform: translate3d(0, -5px, 0) rotate(calc(var(--calendar-tilt) + .65deg)); } }
@keyframes night-calendar-float-mobile { 0%, 100% { transform: translate3d(0, 2px, 0) rotate(var(--calendar-tilt)); } 50% { transform: translate3d(0, -3px, 0) rotate(var(--calendar-tilt)); } }
@keyframes night-calendar-orbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes night-calendar-glow { 0%, 100% { opacity: .55; transform: scale(.95); } 50% { opacity: .9; transform: scale(1.03); } }
@keyframes night-calendar-reflection { 0%, 20% { transform: translateX(-110%); opacity: 0; } 34%, 60% { opacity: .8; } 76%, 100% { transform: translateX(110%); opacity: 0; } }
@keyframes night-calendar-edge { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
@keyframes night-moon-drift { 0%, 100% { transform: translate3d(0, 1px, 0) rotate(-3deg); } 50% { transform: translate3d(-2px, -3px, 0) rotate(2deg); } }
@keyframes night-number-shimmer { 0%, 25% { transform: translateX(-130%); opacity: 0; } 35% { opacity: 1; } 65% { opacity: 1; } 75%, 100% { transform: translateX(130%); opacity: 0; } }
@keyframes night-sky-glow { from { transform: translate3d(-24px, 18px, 0) scale(1); } to { transform: translate3d(28px, -24px, 0) scale(1.05); } }
@keyframes night-stars-drift { from { transform: translate3d(-24px, 20px, 0); } to { transform: translate3d(56px, -42px, 0); } }
@keyframes night-stars-drift-near { from { transform: translate3d(20px, 12px, 0); } to { transform: translate3d(-60px, -46px, 0); } }
@keyframes night-stars-twinkle { 0%, 100% { opacity: .3; } 50% { opacity: .7; } }
@keyframes night-stars-twinkle-near { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }
@keyframes night-star-glint { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: .8; transform: scale(1.2); } }
@keyframes night-shooting-star { 0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-32deg); } 2% { opacity: .75; } 14% { opacity: 0; transform: translate3d(-480px, 300px, 0) rotate(-32deg); } 100% { opacity: 0; transform: translate3d(-480px, 300px, 0) rotate(-32deg); } }
@media (max-width: 1050px) { .night-page .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .night-page .filter-search { grid-column: span 2; } .night-page .favorites-filter, .night-page .clear-filters { width: 100%; } }
@media (max-width: 980px) { .night-page .table-card-top { row-gap: 14px; } .night-page .table-schedule { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; } .night-page .schedule-detail { flex: 1; min-width: 0; padding: 0 8px; } }
@media (max-width: 860px) { .night-page .detail-hero-main { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 0 22px; } .night-calendar-scene { justify-self: center; overflow: visible; width: min(100%, 290px); height: 200px; } .night-calendar-orbit { width: 200px; height: 200px; } .night-calendar-orbit-inner { width: 172px; height: 172px; } .night-calendar-moon { top: 6px; right: 16px; width: 28px; height: 28px; } .night-calendar-star { top: 18px; left: 27px; } .night-calendar-star-small { top: auto; bottom: 10px; left: 43px; } .night-page .date-plaque { width: min(100%, 224px); height: 154px; padding: 14px; border-radius: 20px; animation: night-calendar-float-mobile 10s ease-in-out -2s infinite; } .night-page .date-plaque .calendar-weekday { padding-bottom: 8px; font-size: 9px; letter-spacing: .12em; } .night-page .date-plaque strong { margin: 10px 0 12px; font-size: 48px; } .night-page .date-plaque small { font-size: 16px; } }
@media (max-width: 470px) { .night-page .filters { grid-template-columns: 1fr; } .night-page .filter-search { grid-column: auto; } .night-page .table-title { margin: 20px 0 22px; } }
@media (max-width: 860px) { .night-page .date-plaque { --calendar-tilt: -3deg; } }
@media (max-width: 380px) { .night-page .table-schedule { font-size: 12px; } .night-page .schedule-detail { gap: 6px; } }
@media (max-width: 600px) { .night-calendar-scene { height: 180px; } .night-calendar-moon { right: 5px; width: 25px; height: 25px; } .night-page .detail-hero-bottom { gap: 12px; } .night-sky-stars-far { background-size: 173px 193px, 277px 281px, 349px 353px, 157px 229px; } .night-sky-stars-near { background-size: 257px 263px, 383px 397px, 461px 449px; } }
@media (prefers-reduced-motion: reduce) { .night-page .date-plaque, .night-page .date-plaque::before, .night-page .date-plaque::after, .night-calendar-scene::before, .night-calendar-orbit, .night-calendar-moon, .night-calendar-star, .night-sky::before, .night-sky-layer, .night-sky-glints, .night-sky-glints span, .night-sky-meteors span { animation: none; } .night-calendar-orbit-outer { transform: rotate(-35deg); } .night-calendar-orbit-inner { transform: rotate(130deg); } .night-sky-stars-far { opacity: .45; } .night-sky-stars-near { opacity: .6; } .night-sky-glints span { opacity: .5; } .night-sky-meteors { display: none; } }
.night-page :is(.site-header, .detail-hero, .filters) { position: relative; isolation: isolate; }
.night-page .pointer-light { position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: radial-gradient(320px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(211, 255, 227, .15), transparent 70%); opacity: 0; transition: opacity 320ms ease; pointer-events: none; }
.night-page :is(.site-header, .filters) > :not(.pointer-light) { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .night-page :is(.site-header, .detail-hero, .filters):hover > .pointer-light { opacity: 1; }
}
.ppg-page .ppg-hero .detail-hero-main { min-height: 245px; }
.ppg-page .ppg-hero h1 { max-width: 950px; font-size: clamp(36px, 4.4vw, 60px); }
.ppg-page .filters { grid-template-columns: minmax(0, 1fr) auto auto; }
.ppg-page .favorites-filter { min-height: 46px; padding: 10px 16px; border: 1px solid #ebc0d4; border-radius: 10px; background: #fff0f7; color: #b62569; font: 800 12px var(--font-body); cursor: pointer; }
.ppg-page .favorites-filter.is-active { color: #fff; background: #b62569; }
.ppg-page .table-card { overflow: hidden; }
.ppg-page .table-card-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; }
.ppg-page .table-card-top-right { display: contents; }
.ppg-page .favorite-button { grid-column: 3; grid-row: 1; }
.ppg-page .table-number { width: 44px; height: 44px; }
.ppg-page .table-schedule { grid-column: 2; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; font-size: 12px; }
.ppg-page .schedule-detail { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 10px; border: 1px solid #cddfd3; border-radius: 11px; background: #edf5ef; color: var(--green); white-space: nowrap; }
.ppg-page .schedule-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.table-program { margin-top: 18px; color: var(--green); font-size: 12px; line-height: 1.5; font-weight: 800; }
.table-modality { margin-top: 5px; color: var(--muted); font-size: 12px; }
.ppg-page .table-title { margin-top: 13px; }
.table-summary-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 11px; border: 1px solid #e7c6d7; border-radius: 11px; color: #a32967; background: transparent; font: 800 12px var(--font-body); white-space: nowrap; flex-shrink: 0; cursor: pointer; }
.table-summary-button::after { content: "↗"; font-size: 18px; }
.table-summary-button { transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms ease; -webkit-tap-highlight-color: transparent; }
.table-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.table-summary-button::after { font-size: 15px; }
.table-card-actions .teams-link { min-height: 44px; }
.night-page .table-summary-button { border-color: rgba(255, 190, 222, .4); color: #ffd1e7; background: rgba(255, 190, 222, .05); }
.table-summary-button::after { transition: transform 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .table-summary-button:hover { border-color: #cf86ac; background: #fcecf4; color: #8d1e56; box-shadow: 0 4px 12px rgba(140, 36, 90, .1); transform: translateY(-2px); }
  .table-summary-button:hover::after { transform: translate(1px, -1px); }
  .night-page .table-summary-button:hover { border-color: #efb5d1; background: rgba(255, 190, 222, .16); color: #fff1f8; box-shadow: inset 0 1px 0 rgba(255, 230, 243, .15), 0 4px 12px rgba(7, 31, 22, .15); }
}
.table-summary-button:focus-visible { border-color: #cf86ac; background: #fcecf4; }
.night-page .table-summary-button:focus-visible { border-color: #efb5d1; background: rgba(255, 190, 222, .16); }
.table-summary-button:active { transform: translateY(1px) scale(.98); box-shadow: inset 0 2px 4px rgba(54, 19, 37, .12); background: #f6dfeb; transition-duration: 70ms; }
.night-page .table-summary-button:active { background: rgba(255, 190, 222, .24); }
.table-summary-button:active::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .table-summary-button, .table-summary-button::after { transform: none !important; }
}
@media (max-width: 600px) {
  .table-card-footer { flex-wrap: wrap; }
  .table-card-footer .platform-note { flex-basis: 100%; }
  .table-card-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .table-card-actions .teams-link { padding: 0 9px; }
}
html.summary-is-open { overflow: hidden; }
.summary-dialog { position: fixed; width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #d5e5d9; border-radius: 24px; color: var(--text); background: #f9fcfa; box-shadow: 0 28px 90px rgba(5, 37, 23, .3); }
.summary-dialog::backdrop { background: rgba(7, 29, 20, .6); backdrop-filter: blur(6px); }
.summary-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; gap: 18px; padding: 28px 30px 22px; border-bottom: 1px solid #d5e5d9; background: #f3f9f5; }
.summary-dialog-heading { flex: 1; min-width: 0; }
.summary-dialog h2 { margin-top: 10px; color: var(--green); font: 600 27px/1.2 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.summary-dialog-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #ccdfd2; border-radius: 12px; background: #e8f2ec; color: var(--green); cursor: pointer; }
.summary-dialog-close .schedule-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.summary-dialog-body { padding: 24px 30px 30px; }
.summary-dialog-copy { color: #344f41; font-size: 15px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.night-page .summary-dialog { border-color: rgba(211, 245, 224, .35); background: #214c3f; color: #f0fff5; }
.night-page .summary-dialog-header { border-color: rgba(211, 245, 224, .2); background: #285747; }
.night-page .summary-dialog h2, .night-page .summary-dialog-copy { color: #f0fff5; }
.night-page .summary-dialog .eyebrow { color: #ffd1e7; }
.night-page .summary-dialog-close { border-color: rgba(211, 245, 224, .35); background: rgba(215, 255, 230, .1); color: #f0fff5; }
@media (max-width: 600px) {
  .summary-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); border-radius: 19px; }
  .summary-dialog-header { gap: 12px; padding: 20px 18px 18px; }
  .summary-dialog h2 { font-size: 22px; }
  .summary-dialog-body { padding: 18px 20px 24px; }
  .summary-dialog-copy { font-size: 14px; line-height: 1.75; }
}
.table-pending-note { padding-bottom: 25px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.table-card-pending { justify-content: center; background: #f8fbf9; }
@media (max-width: 980px) {
  .ppg-page .table-schedule { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: flex-start; }
  .ppg-page .schedule-detail { flex: 1; }
}
@media (max-width: 600px) {
  .ppg-page .filters { grid-template-columns: 1fr; }
  .ppg-page .table-card-top { align-items: start; }
  .ppg-page .table-schedule { font-size: 11px; }
  .ppg-page .schedule-detail { padding: 0 8px; }
}
.ppg-page .favorite-button { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #cddfd3; border-radius: 11px; color: var(--green); background: #edf5ef; cursor: pointer; }
.ppg-page .favorite-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ppg-page .favorite-button.is-favorite { color: #d02e7c; border-color: #ebc0d4; background: #fff0f7; }
.ppg-page .favorite-button.is-favorite svg { fill: currentColor; }
.program-list > #pos-graduacao { grid-column: auto; }
.activity-ppg { grid-template-columns: 52px minmax(0, 1fr); align-items: start; }
.ppg-art { display: block; align-self: center; width: 100%; max-height: 190px; overflow: hidden; pointer-events: none; }
.ppg-art-book { transform-origin: 210px 95px; animation: ppg-book-float 7s ease-in-out infinite; }
.ppg-art-orbit { transform-origin: 210px 97px; animation: card-orbit 28s linear infinite; }
.ppg-art-spark { animation: ppg-spark 4s ease-in-out infinite; }
@keyframes ppg-book-float { 0%, 100% { transform: translateY(3px) rotate(-2deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
@keyframes ppg-orbit { to { transform: rotate(360deg); } }
@keyframes card-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ppg-spark { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@media (max-width: 920px) {
  .activity-ppg { grid-template-columns: 52px minmax(0, 1fr); }
  .ppg-art { grid-column: 1 / -1; justify-self: center; width: min(100%, 330px); max-height: 150px; margin-top: 6px; }
}
@media (max-width: 600px) {
  .activity-ppg { grid-template-columns: 42px minmax(0, 1fr); }
}
.night-card-moon { transform-origin: 210px 97px; animation: night-moon-drift 8s ease-in-out infinite; }
.night-card-orbit { transform-origin: 210px 97px; animation: card-orbit 32s linear infinite reverse; }
.night-card-stars { animation: night-star-glow 4s ease-in-out infinite; }
.night-card-stars-pink { animation-delay: -2s; }
.night-card-constellation { animation: night-star-glow 6s ease-in-out infinite; }
@keyframes night-moon-drift { 0%, 100% { transform: translateY(3px) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes night-star-glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (max-width: 600px) { .activity-night { grid-template-columns: 42px minmax(0, 1fr); } }

.enchanted-book { transform-origin: 210px 95px; animation: enchanted-book-float 6s ease-in-out infinite; }
.enchantment { animation: enchantment-rise 5s ease-in-out infinite; }
.enchantment-two { animation-delay: -1.7s; }
.enchantment-three { animation-delay: -3.3s; }
.pixel-moon { transform-origin: 210px 95px; animation: pixel-moon-float 7s ease-in-out infinite; }
.art-aura { animation: art-aura-glow 5s ease-in-out infinite; }
.moon-spark { animation: moon-sparkle 4s ease-in-out infinite; }
.moon-spark-two { animation-delay: -1.3s; }
.moon-spark-three { animation-delay: -2.6s; }
@keyframes enchanted-book-float { 0%,100% { transform: translateY(3px) rotate(-2deg); } 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes enchantment-rise { 0%,100% { transform: translateY(7px); opacity: .25; } 50% { transform: translateY(-7px); opacity: 1; } }
@keyframes pixel-moon-float { 0%,100% { transform: translateY(3px); } 50% { transform: translateY(-4px); } }
@keyframes art-aura-glow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes moon-sparkle { 0%,100% { opacity: .25; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-2px); } }

/* Cenas vetoriais da programação, com movimento contido no card. */
.celestial-scene { animation: scene-float 8s ease-in-out infinite; }
.celestial-orbit { transform-origin: 210px 95px; animation: scene-orbit 32s linear infinite; }
.knowledge-book { transform-origin: 210px 100px; animation: knowledge-float 7s ease-in-out infinite; }
.knowledge-nodes { animation: scene-sparkle 5s ease-in-out infinite; }
.knowledge-center { animation: scene-sparkle 4s ease-in-out -2s infinite; }
.new-art-sparks { animation: scene-sparkle 4s ease-in-out infinite; }
.new-art-sparks-late { animation-delay: -2s; }
@keyframes scene-float { 0%,100% { transform: translateY(3px); } 50% { transform: translateY(-3px); } }
@keyframes knowledge-float { 0%,100% { transform: translateY(3px) rotate(-1deg); } 50% { transform: translateY(-3px) rotate(1deg); } }
@keyframes scene-orbit { to { transform: rotate(360deg); } }
@keyframes scene-sparkle { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
/* As artes ficam restritas às telas maiores. */
@media (max-width: 600px) {
  .program-list .night-art, .program-list .ppg-art { display: none; }
}

/* Pontos flutuam discretamente ao redor das órbitas, sem deformação. */
.orbit-dots circle { animation: orbit-dot-loop 20s linear infinite; }
.orbit-dots circle:nth-child(2) { animation-delay: -6.7s; }
.orbit-dots circle:nth-child(3) { animation-delay: -13.3s; }
@keyframes orbit-dot-loop {
  0%,100% { transform: translate(0, 0); }
  25% { transform: translate(0, 4px); }
  50% { transform: translate(0, 0); }
  75% { transform: translate(0, -4px); }
}
.art-scene-motion { transform-origin: 210px 95px; animation: art-scene-drift 8s ease-in-out infinite; }
.art-orbits-motion { transform-origin: 210px 95px; animation: art-orbits-sway 12s ease-in-out infinite; }
.art-constellation-motion { transform-origin: 210px 95px; animation: art-constellation-sway 10s ease-in-out infinite; }
.ppg-art .art-orbits-motion { animation-direction: reverse; }
.ppg-art .art-constellation-motion { animation-direction: reverse; }
@keyframes art-scene-drift {
  0%,100% { transform: translateY(3px) rotate(-1deg); }
  50% { transform: translateY(-3px) rotate(1deg); }
}
@keyframes art-orbits-sway {
  0%,100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}
@keyframes art-constellation-sway {
  0%,100% { transform: translate(-3px, 2px) rotate(-2deg); }
  50% { transform: translate(3px, -2px) rotate(2deg); }
}

/* Os dois destaques compartilham a mesma linha na programação geral. */
@media (min-width: 921px) {
  .activity-night, .activity-ppg { grid-template-columns: 52px minmax(0, 1fr); }
  .night-art, .ppg-art { grid-column: 1 / -1; justify-self: center; width: min(100%, 330px); height: auto; max-height: 150px; margin-top: 6px; }
}
