/* 2026-10-26 Minecraft main (C안). Scoped under .mcx so KRDS / xedition rules elsewhere stay untouched.
   Night-world palette; fonts self-hosted in ./fonts (OFL: Black Han Sans, Press Start 2P). */
.mcx {
	--night: #0d0b1a; --night-2: #17132e; --panel: #1d1838; --line: #342c5c; --text: #f2efff; --sub: #a9a2cc;
	--grass: #6cc644; --dirt: #8b5a2b; --stone: #4a4458; --leaf: #2f7d32; --gold: #ffcc3d; --blood: #ff4d4d;
	--diamond: #4de3dc; --violet: #8f73ff; --violet-deep: #3a2a9e; --magenta: #ff4fb0;
	--corp-bg: #ffffff; --corp-band: #f4f5f7; --corp-ink: #1e2124; --corp-sub: #58616a; --corp-accent: #5a3fd6;
	--f-ui: "Pretendard GOV", "Pretendard", "Malgun Gothic", sans-serif;
	--f-game: "Black Han Sans", "Pretendard GOV", "Malgun Gothic", sans-serif;
	--f-pix: "Press Start 2P", Consolas, monospace;
	background: var(--night); color: var(--text); font-family: var(--f-ui); font-size: 15px; line-height: 1.55;
	width: 100%; overflow: hidden;
}
.mcx *, .mcx *::before, .mcx *::after { box-sizing: border-box }
.mcx a { color: inherit; text-decoration: none }
.mcx h1, .mcx h2, .mcx h3, .mcx p, .mcx ul, .mcx ol, .mcx dl, .mcx dd { margin: 0; padding: 0 }
.mcx ul, .mcx ol { list-style: none }
.mcx [hidden] { display: none !important }
.mcx :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px }
.mcx-in { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
@media (min-width: 1240px) { .mcx-in { padding-left: 0; padding-right: 0 } }
.mcx-pix { font-family: var(--f-pix); font-size: 10px; letter-spacing: .06em; line-height: 1.8; color: var(--sub) }
.mcx-empty { color: var(--sub); font-size: 13px }

/* hero */
.mcx-hero { position: relative; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 70%, var(--panel) 100%) }
.mcx-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block }
.mcx-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; padding-top: 56px; padding-bottom: 170px; align-items: start }
.mcx-kick { color: var(--gold) }
.mcx-title { font-family: var(--f-game); font-weight: 400; font-size: 60px; line-height: 1.08; margin-top: 12px; color: var(--text);
	background: linear-gradient(180deg, var(--text) 30%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.mcx-title em { font-style: normal; background: linear-gradient(90deg, var(--grass), var(--diamond)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.mcx-lead { color: var(--sub); margin-top: 14px !important; max-width: 40ch; font-size: 16px }
.mcx-plats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px !important; font-size: 13px; color: var(--sub) }
.mcx-plats li { border: 1px solid var(--line); border-radius: 4px; padding: 4px 10px; background: color-mix(in srgb, var(--night) 70%, transparent) }
.mcx-plats b { color: var(--text); font-weight: 600 }
.mcx-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px }
.mcx-btn { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--f-ui); padding: 12px 18px; border-radius: 4px; border: 0; cursor: pointer;
	background: var(--violet); color: var(--text) !important; box-shadow: inset 0 -4px 0 var(--violet-deep); transition: transform .08s }
.mcx-btn:active { transform: translateY(1px); box-shadow: inset 0 -2px 0 var(--violet-deep) }
.mcx-btn-alt { background: transparent; box-shadow: inset 0 0 0 2px var(--line) }

.mcx-srv { display: grid; gap: 12px }
.mcx-card { background: color-mix(in srgb, var(--panel) 90%, transparent); border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 12px; backdrop-filter: blur(4px) }
.mcx-anarchy { border-color: color-mix(in srgb, var(--blood) 55%, var(--line)) }
.mcx-card header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.mcx-card h2 { font-family: var(--f-game); font-weight: 400; font-size: 21px; color: var(--text) }
.mcx-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: var(--sub); background: color-mix(in srgb, var(--sub) 14%, transparent) }
.mcx-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor }
.mcx-live.on { color: var(--grass); background: color-mix(in srgb, var(--grass) 16%, transparent) }
.mcx-live.on::before { animation: mcx-pulse 1.6s ease-in-out infinite }
.mcx-live.off { color: var(--blood); background: color-mix(in srgb, var(--blood) 16%, transparent) }
@keyframes mcx-pulse { 50% { opacity: .3 } }
.mcx-days { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--blood) }
.mcx-days-prod { color: var(--gold) }
.mcx-guide { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--diamond) !important }
.mcx-days + .mcx-guide { margin-left: 0 }
.mcx-guide:hover { text-decoration: underline !important; text-underline-offset: 3px }
.mcx-joinlinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px }
.mcx .mcx-joinlinks a { text-decoration: none; font-weight: 700; font-size: 13px; color: var(--text); background: var(--night); border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px }
.mcx .mcx-joinlinks a:hover { border-color: var(--diamond); color: var(--diamond) }
.mcx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.mcx-kpis > div { background: var(--night); border-radius: 4px; padding: 8px 10px; min-width: 0 }
.mcx-kpis dt { font-size: 11px; color: var(--sub) }
.mcx-kpis dd { font-family: var(--f-pix); font-size: 12px; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.mcx-kpis dd small { color: var(--sub); font-size: 9px; margin-left: 2px }
.mcx-kpis .ok { color: var(--grass) }
.mcx-bars { display: flex; gap: 2px; align-items: flex-end; height: 30px }
.mcx-bars i { flex: 1; min-height: 2px; background: var(--violet); border-radius: 1px; opacity: .9 }
.mcx-bars i.peak { background: var(--gold) }
.mcx-cap { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--sub) }
.mcx-online { font-size: 12px; color: var(--sub) }
.mcx-online b { color: var(--grass) }

.mcx-btn-gold { background: var(--gold); color: var(--night) !important; box-shadow: inset 0 -4px 0 var(--dirt) }
.mcx-btn-gold:active { box-shadow: inset 0 -2px 0 var(--dirt) }

/* 청약센터 (production server only) — warm "분양 홍보관" band so it stands apart from the night sections */
.mcx-apply { position: relative; overflow: hidden; color: var(--night);
	background: linear-gradient(115deg, var(--gold) 0%, #ffe28a 46%, #fff4cf 100%) }
.mcx-apply canvas { position: absolute; right: 0; bottom: 0; width: 46%; height: 100%; display: block; opacity: .9; pointer-events: none }
.mcx-apply-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "copy top" "copy list"; gap: 12px 28px; padding-top: 34px; padding-bottom: 34px }
.mcx-apply-copy { grid-area: copy; align-self: center }
.mcx-apply-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.mcx-apply-badges .mcx-pix { color: var(--dirt) }
.mcx-chip { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 3px; padding: 3px 8px; background: var(--night); color: var(--gold) }
.mcx-chip-red { background: var(--blood); color: var(--text) }
.mcx-apply h2 { font-family: var(--f-game); font-weight: 400; font-size: 40px; line-height: 1.1; margin-top: 10px; color: var(--night) }
.mcx-apply-copy > p:not(.mcx-apply-badges) { margin-top: 10px; font-size: 15px; color: color-mix(in srgb, var(--night) 78%, transparent); max-width: 38ch }
.mcx-btn-ink { background: var(--night); color: var(--gold) !important; box-shadow: inset 0 -4px 0 var(--violet-deep) }
.mcx-btn-line { background: color-mix(in srgb, #ffffff 55%, transparent); color: var(--night) !important; box-shadow: inset 0 0 0 2px var(--night) }
.mcx a.mcx-apply-top { grid-area: top; display: grid; gap: 6px; align-content: start; background: var(--night); color: var(--text); border-radius: 8px; padding: 16px 18px; box-shadow: 0 6px 0 var(--dirt); transition: transform .12s }
.mcx-apply-top:hover { transform: translateY(-2px) }
.mcx-apply-top .mcx-chip { justify-self: start }
.mcx-apply-top b { font-size: 17px; line-height: 1.4 }
.mcx-apply-meta { font-size: 12px; color: var(--sub) }
.mcx .mcx-apply-list { grid-area: list; background: color-mix(in srgb, #ffffff 72%, transparent); border-radius: 8px; padding: 6px 16px; backdrop-filter: blur(2px) }
.mcx-apply-list li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--night) 12%, transparent); min-width: 0; overflow: hidden }
.mcx-apply-list li:last-child { border-bottom: 0 }
.mcx-apply-list a { display: block; flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px }
.mcx-apply-list a:hover { text-decoration: underline; text-underline-offset: 3px }
.mcx-apply-list time { flex: none; font-size: 12px; color: color-mix(in srgb, var(--night) 60%, transparent); font-variant-numeric: tabular-nums }
/* the floating "신규청약 알리미" button is replaced by this band on the main page */
.sc-440c112-0.kcpXyP { display: none !important }

/* event strip */
.mcx-event { background: linear-gradient(90deg, color-mix(in srgb, var(--blood) 85%, var(--night)), var(--magenta)) }
.mcx-event-in { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding-top: 16px; padding-bottom: 16px }
.mcx-event h2 { font-family: var(--f-game); font-weight: 400; font-size: 26px; color: var(--text) }
.mcx-event p { flex: 1; min-width: 220px; font-size: 14px; opacity: .95 }
.mcx-cd { display: flex; gap: 6px }
.mcx-cd div { background: color-mix(in srgb, var(--night) 45%, transparent); border-radius: 4px; padding: 6px 8px; text-align: center; min-width: 54px }
.mcx-cd b { display: block; font-family: var(--f-pix); font-size: 16px; font-weight: 400; font-variant-numeric: tabular-nums }
.mcx-cd small { font-size: 10px; opacity: .85 }
.mcx-cd .now { min-width: auto; padding-inline: 16px }

/* sections */
.mcx-sec { padding-top: 44px; padding-bottom: 44px }
.mcx-sec-tight { padding-top: 0 }
.mcx-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px }
.mcx-h h2 { font-family: var(--f-game); font-weight: 400; font-size: 30px; color: var(--text) }
.mcx-grid { display: grid; gap: 14px }
.mcx-grid-3 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) }
.mcx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.mcx-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; min-width: 0 }
.mcx-panel h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 12px }
.mcx-panel h3 small, .mcx-panel h3 a { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--sub) }
.mcx .mcx-h3-gap { margin-top: 24px }

.mcx-feed { display: grid; gap: 6px; font-size: 13px }
.mcx-feed li { display: flex; gap: 8px; align-items: center; padding: 8px 10px; background: var(--night); border-radius: 4px; min-width: 0 }
.mcx-feed .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sub) }
.mcx-feed .t b { color: var(--text); font-weight: 600 }
.mcx-feed time { font-size: 11px; color: var(--sub); flex: none; font-variant-numeric: tabular-nums }
.mcx-feed li.new { animation: mcx-drop .5s ease-out }
@keyframes mcx-drop { from { transform: translateY(-6px); opacity: 0 } }

.mcx-seg { margin-left: auto; display: inline-flex; gap: 2px; background: var(--night); border-radius: 4px; padding: 2px }
.mcx-seg button { font: 600 12px var(--f-ui); color: var(--sub); background: transparent; border: 0; border-radius: 3px; padding: 4px 8px; cursor: pointer }
.mcx-seg button[aria-selected="true"] { background: var(--violet); color: var(--text) }
.mcx-rank { display: grid; gap: 6px; font-size: 13px; counter-reset: r }
.mcx-rank li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 4px; background: var(--night) }
.mcx-rank li.mcx-empty { display: block; background: transparent; padding: 0 }
.mcx-rank li:not(.mcx-empty)::before { counter-increment: r; content: counter(r); font-family: var(--f-pix); font-size: 10px; color: var(--sub); text-align: center }
.mcx-rank li:first-child::before { color: var(--gold) }
.mcx-rank .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600 }
.mcx-rank .k { font-family: var(--f-pix); font-size: 10px; font-variant-numeric: tabular-nums }
.mcx-tier { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; color: var(--night) }
.mcx-tier.legend { background: var(--gold) } .mcx-tier.hero { background: var(--magenta) } .mcx-tier.vet { background: var(--violet); color: var(--text) }
.mcx-tier.rookie { background: var(--diamond) } .mcx-tier.newbie { background: var(--line); color: var(--text) }

.mcx-fame { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px }
.mcx-fame div { background: var(--night); border-radius: 4px; padding: 10px; min-width: 0 }
.mcx-fame small { display: block; font-size: 11px; color: var(--sub) }
.mcx-fame b { display: block; font-family: var(--f-game); font-weight: 400; font-size: 23px; font-variant-numeric: tabular-nums; white-space: nowrap }
.mcx-fame em { display: block; font-style: normal; font-size: 11px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.mcx-split { margin-top: 12px; display: flex; height: 8px; border-radius: 2px; overflow: hidden; background: var(--night) }
.mcx-split i:first-child { background: var(--blood) } .mcx-split i:last-child { background: var(--gold) }
.mcx-split + .mcx-cap { margin-top: 4px }

.mcx-map { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--night); display: grid; place-items: center }
.mcx-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .55 }
.mcx-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }
.mcx-map .mcx-btn { position: relative }
.mcx-notice { display: grid; font-size: 14px }
.mcx-notice li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); min-width: 0; overflow: hidden }
.mcx-notice a { display: block; flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.mcx-notice a:hover { color: var(--gold) }
.mcx-notice time { font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; flex: none }
.mcx-patch { display: grid; gap: 8px }
.mcx-patch li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px }
.mcx-patch img { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: var(--night) }
.mcx-patch b { display: block; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.mcx-patch span { color: var(--sub); font-size: 12px }
.mcx-patch .rel { color: var(--grass); font-weight: 700 }

.mcx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: s }
.mcx-steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--sub); align-content: start }
.mcx-steps li::before { counter-increment: s; content: "STEP " counter(s); font-family: var(--f-pix); font-size: 9px; color: var(--gold) }
.mcx-steps b { color: var(--text); font-size: 16px }
.mcx-steps a { color: var(--diamond); text-decoration: underline; text-underline-offset: 3px }

/* company strip (light, like the rest of the site) */
.mcx-corp { background: var(--corp-bg); color: var(--corp-ink); padding-top: 40px; padding-bottom: 40px }
.mcx-corp-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap }
.mcx-corp-h h2 { font-size: 22px; font-weight: 700; color: var(--corp-ink) }
.mcx-corp-h span { color: var(--corp-sub); font-size: 14px }
.mcx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px }
.mcx-tile { display: grid; gap: 8px; align-content: start; background: var(--corp-band); border-radius: 12px; padding: 18px; min-width: 0 }
.mcx-tile b { font-size: 17px }
.mcx-tile span { color: var(--corp-sub); font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical }
.mcx-tile em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--corp-accent) }
.mcx-tile:hover { background: color-mix(in srgb, var(--corp-accent) 8%, var(--corp-band)) }

@media (max-width: 1024px) {
	.mcx-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
	.mcx-grid-3 > :first-child { grid-column: 1 / -1 }
	.mcx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 768px) {
	.mcx-hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 120px; gap: 24px }
	.mcx-title { font-size: 40px }
	.mcx-apply-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "top" "list"; padding-top: 26px; padding-bottom: 26px }
	.mcx-apply h2 { font-size: 30px }
	.mcx-apply canvas { width: 100%; opacity: .25 }
	.mcx-grid-3, .mcx-grid-2, .mcx-steps { grid-template-columns: minmax(0, 1fr) }
	.mcx-sec { padding-top: 28px; padding-bottom: 28px }
	.mcx-sec-tight { padding-top: 0 }
	.mcx-h h2 { font-size: 24px }
}
@media (max-width: 420px) {
	.mcx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) }
	.mcx-tiles { grid-template-columns: minmax(0, 1fr) }
	.mcx-cd div { min-width: 46px }
}
@media (prefers-reduced-motion: reduce) { .mcx-live.on::before, .mcx-feed li.new { animation: none } .mcx-btn { transition: none } }

/* 2026-10-27 urgent notice bar removed: hero sits right under the GNB (mc_main.css loads on the main page only) */
.container > .body.main { padding-top: 0; }
