/* Blocks added by NCRP Studio → Editor (app/editor.php) + header dropdown menus + editor-only markers. Loaded on every page. */

/* header dropdown (Studio Editor → Menus: a link with children) */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-ic { width: 14px; height: 14px; opacity: .7; }
.nav-dd-m { position: absolute; top: 100%; left: 0; min-width: 190px; display: none; flex-direction: column; padding: 6px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0,.45); z-index: 60; }
.nav-dd:hover .nav-dd-m, .nav-dd:focus-within .nav-dd-m { display: flex; }
.nav-dd-m a { padding: 8px 12px !important; border-radius: 7px; white-space: nowrap; }
.nav-dd-m a:hover, .nav-dd-m a.on { background: var(--card); }
@media (max-width: 1300px) { .nav-dd { display: contents; } .nav-dd-ic { display: none; } .nav-dd-m { position: static; display: contents; } }

/* block options */
@media (max-width: 700px) { .ed-nophone { display: none !important; } }

/* heading */
.edb-heading.al-center { text-align: center; } .edb-heading.al-right { text-align: right; }
.edb-h { font-size: 34px; font-weight: 700; margin: 0; }
.edb-heading.sz-xl .edb-h { font-size: 52px; } .edb-heading.sz-m .edb-h { font-size: 24px; }
.edb-h span { color: var(--neon); }
.edb-sub { max-width: 720px; margin-top: 10px; }
.edb-heading.al-center .edb-sub { margin-left: auto; margin-right: auto; } .edb-heading.al-right .edb-sub { margin-left: auto; }
/* button */
.edb-button { padding-top: 12px; padding-bottom: 12px; display: flex; }
.edb-button.al-center { justify-content: center; } .edb-button.al-right { justify-content: flex-end; }
.edb-button .cta { margin: 0; }
/* divider */
.edb-divider { padding-top: 18px; padding-bottom: 18px; }
.edb-hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.edb-hr.glow { height: 2px; background: linear-gradient(90deg, transparent, var(--neon), transparent); }
.edb-hr.dots { height: 6px; background: radial-gradient(circle, var(--line2) 1.6px, transparent 2px) center/14px 6px repeat-x; }
/* columns */
.edb-cols { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.edb-cols.n3 { grid-template-columns: repeat(3, 1fr); } .edb-cols.n4 { grid-template-columns: repeat(4, 1fr); } .edb-cols.n1 { grid-template-columns: 1fr; }
.edb-col { display: flex; flex-direction: column; gap: 8px; }
.edb-col-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.edb-col h3 { margin: 4px 0 0; font-size: 18px; }
@media (max-width: 800px) { .edb-cols, .edb-cols.n3, .edb-cols.n4 { grid-template-columns: 1fr; } }
/* slider */
.edb-slides { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); }
.edb-track { display: flex; transition: transform .45s ease; }
.edb-slide { flex: 0 0 100%; margin: 0; position: relative; }
.edb-slide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.edb-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 16px; background: linear-gradient(transparent, rgba(0, 0, 0,.7)); font-weight: 600; }
.edb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255,.18); background: rgba(13, 12, 11,.55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.edb-nav.prev { left: 14px; } .edb-nav.next { right: 14px; }
.edb-dots { position: absolute; bottom: 12px; right: 16px; display: flex; gap: 6px; }
.edb-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255,.35); }
.edb-dots i.on { background: var(--neon); }
/* quote */
.edb-quote blockquote { margin: 0; padding: 28px 30px; border-left: 3px solid var(--neon); background: var(--bg2); border-radius: 0 14px 14px 0; }
.edb-quote p { font-size: 20px; line-height: 1.5; margin: 0 0 16px; }
.edb-quote footer { display: flex; align-items: center; gap: 12px; }
.edb-quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.edb-quote footer span { display: flex; flex-direction: column; line-height: 1.3; }
/* tabs */
.edb-tabbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.edb-tabbar button { background: var(--bg2); border: 1px solid var(--line); color: var(--muted); padding: 9px 16px; border-radius: 9px; font: 600 14px Inter, sans-serif; cursor: pointer; }
.edb-tabbar button.on { color: var(--text); border-color: var(--neon); }
.edb-tab { padding: 20px 22px; }
/* table */
.edb-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.edb-table table { width: 100%; border-collapse: collapse; }
.edb-table th, .edb-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.edb-table th { background: var(--bg2); font-weight: 600; }
.edb-table tr:last-child td { border-bottom: 0; }
/* countdown */
.edb-cd { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; flex-wrap: wrap; }
.edb-cd-l { display: flex; align-items: center; gap: 14px; }
.edb-cd-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--neon); background: color-mix(in srgb, var(--neon) 14%, transparent); }
.edb-cd-ic .ic { width: 22px; height: 22px; }
.edb-cd h3 { margin: 0; font-size: 19px; }
.edb-cd .eyebrow { margin: 0; font-size: 11px; }
.edb-cd-n { display: flex; gap: 10px; }
.edb-cd-n .u { display: flex; flex-direction: column; align-items: center; min-width: 66px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.edb-cd-n b { font-size: 26px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.edb-cd-n small { color: var(--muted); font-size: 11px; }
.edb-countdown.inline .edb-cd-n .u { border: 0; background: none; min-width: 0; flex-direction: row; gap: 4px; align-items: baseline; padding: 0; }
.edb-countdown.inline .edb-cd-n b { font-size: 22px; }
/* discord box */
.edb-dc { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-color: color-mix(in srgb, var(--discord) 45%, var(--line)); }
.edb-dc-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--discord); color: #fff; flex: none; }
.edb-dc-ic .ic { width: 28px; height: 28px; }
.edb-dc > div { flex: 1; }
.edb-dc h3 { margin: 0 0 4px; }
@media (max-width: 700px) { .edb-dc { flex-direction: column; align-items: flex-start; } }
/* players online */
.edb-pl { display: flex; align-items: center; gap: 18px; padding: 18px 22px; flex-wrap: wrap; }
.edb-pl-ic { color: var(--neon2); } .edb-pl-ic .ic { width: 34px; height: 34px; }
.edb-pl-t { display: flex; flex-direction: column; line-height: 1.2; }
.edb-pl-t b { font-size: 30px; color: var(--neon); font-weight: 700; }
.edb-pl-t b em { font-style: normal; color: var(--muted); font-size: 20px; font-weight: 500; }
.edb-pl-t b.off { color: var(--muted); font-size: 22px; }
.edb-pl-x { flex: 1; min-width: 200px; }
.edb-pl .btn { margin-left: auto; }
/* leaderboard */
.edb-lb-list { list-style: none; margin: 0; padding: 6px 0; }
.edb-lb-list li { display: flex; align-items: center; gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.edb-lb-list li:last-child { border-bottom: 0; }
.edb-lb-list .rk { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--card2); font-weight: 700; font-size: 13px; }
.edb-lb-list .rk.r1 { background: #d4a017; color: #111; } .edb-lb-list .rk.r2 { background: #b3b1ac; color: #111; } .edb-lb-list .rk.r3 { background: #b4703a; color: #111; }
.edb-lb-list .nm { flex: 1; }

/* ── only inside the Studio Editor's preview (?ed=1) ─────────────────────── */
body.ed-on .ed-hidden { opacity: .35; outline: 1px dashed var(--muted); outline-offset: -1px; }
body.ed-on .ed-empty { margin: 16px auto; max-width: 1168px; padding: 26px; border: 1px dashed var(--line2); border-radius: 12px; color: var(--muted); text-align: center; }
body.ed-on .ed-empty-page { margin: 40px auto; max-width: 900px; padding: 60px 20px; border: 2px dashed var(--line2); border-radius: 16px; color: var(--muted); text-align: center; font-size: 17px; }
