/* Shared content, launch guidance and small-screen refinements. */
[hidden] { display: none !important; }
:is(a, button, summary, input):focus-visible {
  outline: 2px solid var(--nx-cyan);
  outline-offset: 4px;
}
.nx-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 2000;
  padding: 12px 18px;
  border-radius: 10px;
  background: #101c36;
  color: #fff;
}
.nx-skip-link:focus { transform: none; }
:is(.cine-section, .nx-faq-item, #mainContent) { scroll-margin-top: 110px; }
.nx-opening-note {
  margin-bottom: 28px;
  padding: 20px 24px;
  border: 1px solid #65baff40;
  border-radius: 16px;
  background: linear-gradient(120deg, #17345280, #191d3e60);
  color: #dce8ff;
}
.nx-opening-note strong { display: block; margin-bottom: 6px; color: #9cd6ff; }
.nx-opening-note p { line-height: 1.75; font-size: 14px; }
:is(.nx-opening-note, .nx-faq-item, .nx-article) a:not(.nx-btn) {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #7fbaff66;
  color: #a5d0ff;
}
.cine-chip[data-state="offline"] .cine-dot { background: #a0afca; box-shadow: none; animation: none; }
.cine-chip[data-state="unknown"] .cine-dot,
.cine-chip[data-state="stale"] .cine-dot { background: #b69ce0; box-shadow: none; animation: none; }
.nx-faq-section { padding-top: 32px; }
.nx-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.nx-faq-item { border: 1px solid #829fff26; border-radius: 16px; background: #091224c9; min-width: 0; }
.nx-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  min-height: 70px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.nx-faq-item summary::-webkit-details-marker { display: none; }
.nx-faq-item summary::after { content: '+'; flex: 0 0 18px; color: var(--nx-cyan); font-size: 22px; text-align: center; }
.nx-faq-item[open] { border-color: #65baff60; }
.nx-faq-item[open] summary::after { content: '−'; }
.nx-faq-item > div { padding: 0 20px 22px; color: #bdcbe3; font-size: 14px; line-height: 1.8; }
.nx-news-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 11px; letter-spacing: 0.06em; }
.nx-news-meta > span { padding: 4px 9px; border-radius: 6px; color: #c7bcff; background: #8c5cff1a; border: 1px solid #a58bff30; }
.nx-news-meta time { color: #99cfff; font-size: 11px; }
.nx-news-read { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; margin-top: 12px; color: var(--nx-cyan); font-size: 12px; }
.cine-news-card h3 a::after { content: ''; position: absolute; inset: 0; }
.cine-news-card h3 a:focus-visible { outline: none; }
.cine-news-card:focus-within { outline: 2px solid var(--nx-cyan); outline-offset: 4px; }
.nx-news-read { position: relative; z-index: 1; }
.nx-news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nx-news-list .cine-news-card { display: flex; flex-direction: column; min-height: 330px; }
.nx-news-list .cine-news-card p { flex: 1; }
.nx-news-list .cine-news-card.featured { justify-content: flex-start; }
.nx-news-community { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--nx-muted); }
.nx-content-wrap { width: min(920px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0 64px; }
.nx-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; font-size: 12px; color: #a9bad9; }
.nx-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
.nx-article { min-width: 0; border: 1px solid #809dff26; border-radius: 22px; background: #0a1021db; overflow: hidden; }
.nx-article-head { padding: 36px 40px 28px; border-bottom: 1px solid #809dff1a; background: linear-gradient(135deg, #182a4645, #271d4745); }
.nx-article h1 { margin: 18px 0; font-family: var(--nx-display); font-size: clamp(28px, 4vw, 42px); line-height: 1.22; overflow-wrap: break-word; }
.nx-article-lead { color: #bfcee6; line-height: 1.85; }
.nx-article-body { padding: 30px 40px; }
.nx-article-section + .nx-article-section { margin-top: 30px; }
.nx-article-section h2 { margin: 0 0 12px; font-family: var(--nx-display); font-size: 20px; line-height: 1.4; }
.nx-article-section p { color: #bdcbe3; font-size: 15px; line-height: 1.85; }
.nx-article-foot { padding: 24px 40px; border-top: 1px solid #809dff1a; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.nx-article-foot .nx-btn { white-space: normal; text-align: center; }
.nx-text-link { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
.nx-policy-layout { max-width: 960px; }
.nx-policy-layout .nx-opening-note { margin-top: -16px; }
.nx-policy-article .nx-article-body { padding-top: 32px; }
.nx-news-list h3, .nx-contact-card .addr { overflow-wrap: anywhere; }

/* Collapse the navigation before its desktop groups can overlap. */
@media (max-width: 1120px) {
  body.nx-cine .nx-header .nx-nav-toggle { display: flex; min-width: 44px; min-height: 44px; }
  body.nx-cine .nx-header .nx-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    padding: 12px 16px 20px; flex-direction: column; gap: 8px;
    max-height: calc(100dvh - 90px); overflow-y: auto;
    background: #040812fa; border-bottom: 1px solid #78aaff2e;
  }
  body.nx-cine .nx-header .nx-nav.is-open { display: flex; }
  body.nx-cine .nx-header :is(.nx-nav-main, .nx-nav-aside) {
    position: static; transform: none; flex-direction: column; align-items: stretch; margin: 0;
    width: 100%; gap: 4px;
  }
  body.nx-cine .nx-header .nx-nav a { min-height: 44px; justify-content: flex-start; }
}
@media (max-width: 980px) {
  .nx-news-list { grid-template-columns: 1fr; }
  .nx-news-list .cine-news-card { min-height: 240px; }
}
@media (max-width: 700px) {
  .nx-faq-grid { grid-template-columns: 1fr; }
  .nx-faq-item summary { padding: 18px; }
  .nx-opening-note { padding: 18px; }
  .nx-article-head, .nx-article-body { padding: 24px; }
  .nx-article-foot { padding: 22px 24px; }
}
@media (max-width: 480px) {
  .cine-section { padding-block: 52px; }
  .nx-faq-section { padding-top: 8px; }
  .cine-hero-inner { padding-top: 116px; }
  .cine-chips { gap: 8px; }
  .cine-chip { letter-spacing: 0.04em; font-size: 10px; padding-inline: 10px; }
  .cine-actions { align-items: stretch; }
  .cine-actions .nx-btn { flex: 1 1 100%; justify-content: center; }
  .cine-steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .cine-steps b { width: 40px; height: 40px; }
  .cine-steps::before { left: 19px; }
  .cine-steps strong { font-size: 16px; }
  .nx-content-wrap { width: calc(100% - 32px); padding-top: 108px; }
  .nx-article-head, .nx-article-body { padding: 22px 18px; }
  .nx-article-foot { padding: 20px 18px; }
  .nx-page-hero h1 { overflow-wrap: anywhere; }
  .nx-footer-legal-links { row-gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cine-dot, .cine-scroll i, body.nx-cine .nx-footer::before { animation: none; }
  .nx-reveal { opacity: 1; transform: none; }
}
