/* frozen1 (Mortimer, 29-11-2026): Nexus Island on ice (island_freeze.py). A frost veil over the map (never catches a
   click), a little snow (transforms only, cheap), the glass card that explains it and the ❄ Frozen pill that brings it back. */
.nc-frozen-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 900;
    letter-spacing: 0.14em; text-transform: uppercase; color: #06223a; cursor: help;
    background: linear-gradient(135deg, #f0fdff, #a5f3fc 45%, #67e8f9); box-shadow: 0 0 18px rgba(103, 232, 249, 0.45); }

.nc-ice { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% 50%, transparent 52%, rgba(186, 230, 253, 0.22) 76%, rgba(224, 242, 254, 0.48) 100%),
        linear-gradient(180deg, rgba(125, 211, 252, 0.10), rgba(14, 116, 144, 0.10));
    box-shadow: inset 0 0 160px rgba(186, 230, 253, 0.36), inset 0 0 0 1px rgba(224, 242, 254, 0.25); }
.nc-ice::after { content: ''; position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: screen;
    background:
        radial-gradient(2px 2px at 12% 8%, #fff, transparent), radial-gradient(1.5px 1.5px at 88% 14%, #e0f2fe, transparent),
        radial-gradient(2px 2px at 6% 82%, #fff, transparent), radial-gradient(1.5px 1.5px at 94% 76%, #e0f2fe, transparent),
        radial-gradient(1px 1px at 22% 94%, #fff, transparent), radial-gradient(1px 1px at 76% 4%, #fff, transparent); }
.nc-ice i { position: absolute; top: -12px; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, #fff 0 35%, rgba(224, 242, 254, 0) 70%);
    opacity: 0.85; animation: nc-snow 14s linear infinite; will-change: transform; }
.nc-ice i:nth-child(1) { left: 6%; animation-delay: -1s; }
.nc-ice i:nth-child(2) { left: 15%; animation-delay: -7s; animation-duration: 18s; transform: scale(0.7); }
.nc-ice i:nth-child(3) { left: 24%; animation-delay: -3s; animation-duration: 12s; }
.nc-ice i:nth-child(4) { left: 33%; animation-delay: -10s; animation-duration: 16s; }
.nc-ice i:nth-child(5) { left: 42%; animation-delay: -5s; }
.nc-ice i:nth-child(6) { left: 51%; animation-delay: -12s; animation-duration: 19s; }
.nc-ice i:nth-child(7) { left: 60%; animation-delay: -2s; animation-duration: 13s; }
.nc-ice i:nth-child(8) { left: 69%; animation-delay: -9s; animation-duration: 17s; }
.nc-ice i:nth-child(9) { left: 78%; animation-delay: -4s; }
.nc-ice i:nth-child(10) { left: 86%; animation-delay: -11s; animation-duration: 15s; }
.nc-ice i:nth-child(11) { left: 93%; animation-delay: -6s; animation-duration: 20s; }
.nc-ice i:nth-child(12) { left: 47%; animation-delay: -13s; animation-duration: 22s; }
@keyframes nc-snow { from { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(18px, 50vh, 0); } to { transform: translate3d(-6px, 100vh, 0); } }

.nc-frozen { position: absolute; inset: 0; z-index: 6; display: flex; padding: 16px; overflow: auto; overscroll-behavior: contain;
    background: radial-gradient(80% 70% at 50% 50%, rgba(8, 47, 73, 0.35), rgba(3, 7, 30, 0.62));
    backdrop-filter: blur(3px) saturate(0.8); -webkit-backdrop-filter: blur(3px) saturate(0.8); animation: nc-frz-in 0.5s ease both; }
.nc-frozen[hidden] { display: none; }
@keyframes nc-frz-in { from { opacity: 0; } to { opacity: 1; } }
.nc-frozen-card { position: relative; margin: auto; width: min(600px, 100%); display: grid; justify-items: center; gap: 9px; padding: 22px 24px 20px; text-align: center;
    border-radius: 26px; border: 1px solid rgba(186, 230, 253, 0.42);
    background: linear-gradient(180deg, rgba(14, 42, 74, 0.92), rgba(7, 14, 40, 0.95));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 70px rgba(103, 232, 249, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    animation: nc-frz-card 0.6s cubic-bezier(0.2, 0.9, 0.25, 1.15) both; }
.nc-frozen-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 45%, transparent 60%) 0 0 / 250% 100%; animation: nc-frz-shine 6s ease-in-out infinite; }
@keyframes nc-frz-card { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes nc-frz-shine { 0%, 60% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.nc-frozen-crystal { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 20px; margin-top: -4px;
    background: radial-gradient(circle at 50% 40%, rgba(224, 242, 254, 0.28), rgba(14, 116, 144, 0.18)); box-shadow: 0 0 34px rgba(103, 232, 249, 0.4), inset 0 0 0 1px rgba(224, 242, 254, 0.35); }
.nc-frozen-crystal svg { width: 34px; height: 34px; fill: none; stroke: #e0f7ff; stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.8));
    animation: nc-frz-turn 30s linear infinite; }
.nc-frozen-crystal circle { fill: #a5f3fc; stroke: none; }
@keyframes nc-frz-turn { to { transform: rotate(360deg); } }
.nc-frozen-eye { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: #67e8f9; }
.nc-frozen h2 { margin: -4px 0 0; font-size: clamp(1.5rem, 4.2vw, 2.05rem); line-height: 1.1; color: #f0fdff; text-shadow: 0 0 24px rgba(103, 232, 249, 0.35); }
.nc-frozen-lead { margin: 0; max-width: 48ch; color: #cbd5e1; font-size: 0.98rem; line-height: 1.45; }
.nc-frozen b { color: #fff; }
.nc-frozen em { color: #c4b5fd; font-style: italic; }
.nc-frozen-list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; width: 100%; text-align: left; }
.nc-frozen-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 12px; border-radius: 14px; color: #cbd5e1; font-size: 0.86rem; line-height: 1.4;
    background: rgba(186, 230, 253, 0.06); border: 1px solid rgba(186, 230, 253, 0.14); }
.nc-frozen-list li > span { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 10px; font-size: 1rem; background: rgba(103, 232, 249, 0.12); }
.nc-frozen-go { margin-top: 4px; padding: 11px 22px; border: 0; border-radius: 999px; font: inherit; font-weight: 900; cursor: pointer; color: #06223a;
    background: linear-gradient(135deg, #f0fdff, #a5f3fc 50%, #67e8f9); box-shadow: 0 10px 30px rgba(103, 232, 249, 0.35); transition: transform 0.2s, box-shadow 0.2s; }
.nc-frozen-go:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(103, 232, 249, 0.5); }
.nc-frozen-go:focus-visible, .nc-frozen-pill:focus-visible { outline: 2px solid #e0f7ff; outline-offset: 3px; }
.nc-frozen-pill { position: absolute; z-index: 3; left: 50%; bottom: 70px; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; font: inherit; font-size: 0.85rem;
    font-weight: 900; letter-spacing: 0.06em; cursor: pointer; color: #e0f7ff; border: 1px solid rgba(165, 243, 252, 0.55);
    background: rgba(8, 30, 56, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 22px rgba(103, 232, 249, 0.3); }
.nc-frozen-pill[hidden] { display: none; }
.nc-frozen-pill:hover { background: rgba(14, 54, 90, 0.9); }
.nc-frozen-note { margin: 0 0 12px; padding: 11px 14px; border-radius: 14px; color: #cbd5e1; border: 1px solid rgba(165, 243, 252, 0.35); background: rgba(103, 232, 249, 0.08); }
.nc-frozen-note b { color: #fff; }
.nc-frozen-note em { color: #c4b5fd; }
.nc-stage .nc-tour { display: none !important; }   /* no welcome tour of the games while frozen */
.nc-stage:has(.nc-frozen:not([hidden])) .nc-hud { visibility: hidden; }   /* the card alone over the map */
@media (max-width: 640px) {
    .nc-frozen { padding: 10px; }
    .nc-frozen-card { padding: 22px 16px 18px; gap: 10px; }
    .nc-frozen-list li { padding: 9px 10px; font-size: 0.85rem; }
    .nc-frozen-pill { bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .nc-ice i, .nc-frozen-card::before, .nc-frozen-crystal svg { animation: none; }
    .nc-ice i { display: none; }
}
