/* nxisland1 (20-11-2026, phase 4 of the Nexus Combats revamp, Mortimer: «PREMIUM a tope»): a Nexus Combat of the Discord bot
   live on /island (static/js/island-nexus.js). The banner on top of the map (red while it is fought, orange while apes join,
   gold for the champion), the five tribes in it, and the map's edge flashing when a round lands. Under the raid's banner
   when both are on; the fireworks' notice goes under them. */
.nc-nx-bar { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); z-index: 41; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px);
    padding: 7px 7px 7px 10px; border-radius: 22px; color: #fff1f1; background: rgba(40, 6, 8, 0.92); border: 1px solid rgba(248, 113, 113, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 26px rgba(239, 68, 68, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: nc-nx-in 0.35s cubic-bezier(.2, .9, .3, 1.2); }
.nc-nx-bar[hidden] { display: none; }
.nc-nx-bar.is-on { animation: nc-nx-in 0.35s cubic-bezier(.2, .9, .3, 1.2), nc-nx-glow 1.58s ease-in-out 0.35s infinite; }
.nc-nx-bar.is-join { color: #fff7ed; background: rgba(42, 18, 4, 0.92); border-color: rgba(251, 146, 60, 0.8); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(251, 146, 60, 0.35); padding-left: 16px; }
.nc-nx-bar.is-won { color: #fffbea; background: linear-gradient(135deg, rgba(48, 32, 4, 0.94), rgba(28, 14, 2, 0.94)); border-color: rgba(253, 224, 71, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(253, 224, 71, 0.4); padding-left: 7px; }
.nc-stage.has-raid .nc-nx-bar { top: 116px; }
.nc-stage.has-nexus .nc-fw-toast, .nc-stage.has-nexus .nc-fw-walk { top: 140px; }
.nc-stage.has-nexus.has-raid .nc-fw-toast, .nc-stage.has-nexus.has-raid .nc-fw-walk { top: 192px; }

.nc-nx-live { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
    color: #fff; background: linear-gradient(135deg, #f87171, #dc2626 60%, #991b1b); box-shadow: 0 0 14px rgba(239, 68, 68, 0.55); }
.nc-nx-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: nc-nx-dot 1.2s ease-in-out infinite; }
.nc-nx-in { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.25; }
.nc-nx-in b { font-size: 0.9rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-nx-sub { font-size: 0.76rem; font-weight: 700; color: #fecaca; opacity: 0.92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.nc-nx-bar.is-join .nc-nx-sub { color: #fed7aa; }
.nc-nx-bar.is-won .nc-nx-sub { color: #fde68a; }
.nc-nx-ev { font-size: 0.74rem; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: nc-nx-ev 0.6s ease-out; }
.nc-nx-demo { align-self: flex-start; margin-bottom: 1px; padding: 1px 7px; border-radius: 6px; font-size: 0.62rem; font-style: normal; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #0b0418; background: #c4b5fd; }

.nc-nx-tribes { flex: none; display: inline-flex; gap: 4px; }
.nc-nx-t { --t: #a78bfa; display: inline-flex; align-items: center; gap: 5px; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 999px; font-size: 0.8rem; font-weight: 900; color: #fff;
    font-variant-numeric: tabular-nums; background: color-mix(in srgb, var(--t) 22%, rgba(10, 6, 22, 0.9)); border: 1px solid color-mix(in srgb, var(--t) 70%, transparent); transition: transform 0.2s, filter 0.2s; }
.nc-nx-t img { width: 18px; height: 18px; flex: none; object-fit: contain; filter: drop-shadow(0 0 4px var(--t)); }   /* nxisland3: the tribe's real emblem */
.nc-nx-t.is-out { filter: grayscale(1); opacity: 0.6; }
.nc-nx-t.is-hit { animation: nc-nx-hit 0.7s ease-out; }

.nc-nx-go { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 7px 15px; border-radius: 999px; font-size: 0.84rem; font-weight: 900; text-decoration: none; white-space: nowrap;
    color: #fff; background: linear-gradient(135deg, #f87171, #dc2626 60%, #991b1b); box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4); }
.nc-nx-go:hover { filter: brightness(1.1); color: #fff; }
.nc-nx-bar.is-join .nc-nx-go { color: #2a1503; background: linear-gradient(135deg, #ffedd5, #fb923c 55%, #ea580c); box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35); }
.nc-nx-bar.is-won .nc-nx-go { color: #2a1503; background: linear-gradient(135deg, #fff1d1, #fbbf24 55%, #d97706); box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4); }
.nc-nx-ic, .nc-nx-x, .nc-nx-house { flex: none; height: 34px; border: 0; border-radius: 999px; font: inherit; cursor: pointer; color: #e2e8f0; background: rgba(255, 255, 255, 0.09); }
.nc-nx-ic { width: 34px; font-size: 1.05rem; line-height: 1; }
.nc-nx-x { width: 32px; height: 32px; font-size: 1.1rem; line-height: 1; color: #cbd5e1; }
.nc-nx-house { padding: 0 13px; font-size: 0.82rem; font-weight: 800; white-space: nowrap; color: #fde68a; background: rgba(253, 224, 71, 0.12); border: 1px solid rgba(253, 224, 71, 0.4); }
.nc-nx-ic:hover, .nc-nx-x:hover, .nc-nx-house:hover { background: rgba(255, 255, 255, 0.16); }
.nc-nx-go:focus-visible, .nc-nx-ic:focus-visible, .nc-nx-x:focus-visible, .nc-nx-house:focus-visible { outline: 2px solid #fff1d1; outline-offset: 2px; }
.nc-nx-face { --t: #fde68a; flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--t); box-shadow: 0 0 0 2px rgba(253, 224, 71, 0.7), 0 0 18px rgba(253, 224, 71, 0.5); background: #1c1203; }
.nc-nx-face.is-cup { display: inline-grid; place-items: center; font-size: 1.3rem; }

/* the map's edge when a round lands (red), when the combat starts and when it has a champion (gold) */
.nc-stage.nx-flash-hit::after, .nc-stage.nx-flash-start::after, .nc-stage.nx-flash-won::after { content: ''; position: absolute; inset: 0; z-index: 39; pointer-events: none; border-radius: inherit; }
.nc-stage.nx-flash-hit::after { box-shadow: inset 0 0 90px rgba(239, 68, 68, 0.55); animation: nc-nx-flash 0.9s ease-out forwards; }
.nc-stage.nx-flash-start::after { box-shadow: inset 0 0 140px rgba(239, 68, 68, 0.7); animation: nc-nx-flash 1.6s ease-out forwards; }
.nc-stage.nx-flash-won::after { box-shadow: inset 0 0 140px rgba(253, 224, 71, 0.6); animation: nc-nx-flash 1.6s ease-out forwards; }

@keyframes nc-nx-in { from { opacity: 0; transform: translate(-50%, -10px) scale(0.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes nc-nx-glow { 0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(239, 68, 68, 0.35); } 10% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 38px rgba(239, 68, 68, 0.75); } 30% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(239, 68, 68, 0.6); } }
@keyframes nc-nx-dot { 50% { opacity: 0.35; transform: scale(0.75); } }
@keyframes nc-nx-ev { from { opacity: 0; transform: translateY(4px); color: #fca5a5; } to { opacity: 1; transform: none; } }
@keyframes nc-nx-hit { 0% { transform: scale(1); } 25% { transform: scale(1.18) rotate(-4deg); box-shadow: 0 0 16px #ef4444; } 60% { transform: scale(0.96) rotate(2deg); } 100% { transform: none; } }
@keyframes nc-nx-flash { from { opacity: 1; } to { opacity: 0; } }

/* nxisland2 (20-11-2026, Mortimer: «al hacer mouseover en las cajas… un cool tooltip con los jugadores que están vivos y sus
   kills / muertes»): over a tribe chest (a tap on a phone), its apes in this combat. In the tribe's colour (--t), on the
   combat's dark red; gold for the champion's tribe. */
.nc-nx-tip { --t: #ef4444; position: absolute; z-index: 46; width: 288px; padding: 12px 12px 10px; border-radius: 16px; pointer-events: none; color: #fff1f1;
    background: linear-gradient(160deg, color-mix(in srgb, var(--t) 20%, rgba(22, 6, 10, 0.95)), rgba(14, 6, 18, 0.96) 70%);
    border: 1px solid color-mix(in srgb, var(--t) 75%, transparent);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 28px color-mix(in srgb, var(--t) 35%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(6px) scale(0.97); transition: opacity 0.16s ease, transform 0.16s ease; }
.nc-nx-tip.is-on { opacity: 1; transform: none; }
.nc-nx-tip.is-champ { border-color: rgba(253, 224, 71, 0.85); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(253, 224, 71, 0.35); }
.nc-nx-tip-top { display: flex; align-items: center; gap: 10px; }
.nc-nx-tip-em { flex: none; width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--t) 80%, transparent)); }   /* nxisland3: the tribe's real emblem */
.nc-nx-tip.is-champ .nc-nx-tip-em { filter: drop-shadow(0 0 6px #fde68a) drop-shadow(0 0 12px var(--t)); }
.nc-nx-tip-top b { display: block; font-size: 0.95rem; font-weight: 900; line-height: 1.2; color: #fff; }
.nc-nx-tip-top small { display: block; margin-top: 2px; font-size: 0.76rem; font-weight: 700; color: #fecaca; font-variant-numeric: tabular-nums; }
.nc-nx-tip.is-joining .nc-nx-tip-top small { color: #fed7aa; }
.nc-nx-tip.is-won .nc-nx-tip-top small { color: #fde68a; }
.nc-nx-tip-bar { display: block; height: 4px; margin: 9px 0 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.nc-nx-tip-bar b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--t) 70%, #fff), var(--t)); box-shadow: 0 0 10px var(--t); transition: width 0.6s ease; }
.nc-nx-tip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.nc-nx-tip-list li { display: flex; align-items: center; gap: 7px; min-height: 26px; padding: 3px 8px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); font-variant-numeric: tabular-nums; }
.nc-nx-tip-list li.is-top { background: linear-gradient(90deg, color-mix(in srgb, var(--t) 24%, transparent), rgba(255, 255, 255, 0.03)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 45%, transparent) inset; }
.nc-nx-tip-list li.is-win { background: linear-gradient(90deg, rgba(253, 224, 71, 0.24), rgba(253, 224, 71, 0.05)); box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.5) inset; }
.nc-nx-tip-list li.is-dead { opacity: 0.55; }
.nc-nx-tip-s { flex: none; width: 16px; text-align: center; font-size: 0.82rem; font-style: normal; line-height: 1; }
.nc-nx-tip-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: nc-nx-dot 1.6s ease-in-out infinite; }
.nc-nx-tip-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.84rem; font-weight: 800; color: #fff; }
.nc-nx-tip-list li.is-dead .nc-nx-tip-n { color: #e2e8f0; text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, 0.7); text-decoration-thickness: 1.5px; }
.nc-nx-tip-n small { display: inline-block; margin-left: 5px; padding: 0 5px; border-radius: 5px; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 1px;
    color: #cbd5e1; background: rgba(148, 163, 184, 0.18); }
.nc-nx-tip-n small.is-r { color: #fecaca; background: rgba(239, 68, 68, 0.2); }
.nc-nx-tip-list em { flex: none; min-width: 34px; text-align: right; font-style: normal; font-size: 0.78rem; font-weight: 900; }
.nc-nx-tip-k { color: #fde68a; }
.nc-nx-tip-d { color: #fca5a5; }
.nc-nx-tip-list em.is-0 { opacity: 0.35; }
.nc-nx-tip-list li.is-top .nc-nx-tip-k { color: #fff; text-shadow: 0 0 8px #fbbf24; }
.nc-nx-tip-more, .nc-nx-tip-empty { margin: 6px 0 0; font-size: 0.76rem; font-weight: 800; color: #fecaca; text-align: center; }
.nc-nx-tip-empty { margin: 2px 0 2px; color: #fee2e2; }
.nc-nx-tip-foot { margin: 8px 0 0; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.72rem; font-weight: 800; color: rgba(254, 202, 202, 0.8); text-align: center; }
.nc-nx-tip.is-won .nc-nx-tip-foot { color: rgba(253, 230, 138, 0.85); }

@media (max-width: 760px) {
    .nc-nx-bar { flex-wrap: wrap; justify-content: center; row-gap: 7px; width: calc(100% - 24px); max-width: none; padding: 8px 8px 8px 10px; border-radius: 18px; top: 58px; }
    .nc-stage.has-raid .nc-nx-bar { top: 110px; }
    .nc-nx-in { flex: 1 1 190px; }                  /* the words fill the first row; the tribes and the button the second */
    .nc-nx-in b { font-size: 0.84rem; white-space: normal; }
    .nc-nx-sub, .nc-nx-ev { font-size: 0.72rem; }
    .nc-nx-tribes { order: 5; flex: 1 1 auto; justify-content: flex-start; gap: 3px; }
    .nc-nx-t { min-width: 0; height: 28px; padding: 0 6px; font-size: 0.74rem; gap: 3px; }
    .nc-nx-t img { width: 15px; height: 15px; }
    .nc-nx-go { order: 6; min-height: 32px; padding: 6px 12px; font-size: 0.8rem; }
    .nc-nx-ic { display: none; }                     /* on a phone the map already opens on the crystal (and Places has it) */
    .nc-nx-house { order: 6; height: 32px; padding: 0 11px; }
    .nc-nx-house span { display: none; }
    .nc-nx-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; font-size: 0.95rem; }
    .nc-nx-in { padding-right: 26px; }
    .nc-nx-bar.is-won .nc-nx-go { flex: 1 1 auto; justify-content: center; }
    .nc-stage.has-nexus .nc-fw-toast, .nc-stage.has-nexus .nc-fw-walk { top: 158px; }
    .nc-stage.has-nexus.has-raid .nc-fw-toast, .nc-stage.has-nexus.has-raid .nc-fw-walk { top: 210px; }
    .nc-nx-tip { width: min(288px, calc(100% - 16px)); }
}
@media (prefers-reduced-motion: reduce) {
    .nc-nx-bar, .nc-nx-bar.is-on, .nc-nx-live i, .nc-nx-ev, .nc-nx-t.is-hit, .nc-nx-tip-dot { animation: none; }
    .nc-nx-tip { transition: none; transform: none; }
    .nc-stage.nx-flash-hit::after, .nc-stage.nx-flash-start::after, .nc-stage.nx-flash-won::after { display: none; }
}

/* nxisland4 (20-11-2026, Mortimer: «cuando hay un nexus combat, hay que desactivar lo de play today's crystal… un panel grande y
   centrado que haga mucho más visual»): the arena. A tap on the crystal while a combat is called, starts or is fought (and the
   banner's ⤢ or its words, for the champion too) opens it over the map: the combat in big, the five tribes with their emblems and
   apes, the last round, round by round and the top killers. Red while fought, orange while apes join, gold for the champion. */
.nc-nx-in { cursor: pointer; }
.nc-nx-arena { --ac: #ef4444; --ac2: #7f1d1d; --acs: #fecaca; position: absolute; inset: 0; z-index: 47; display: grid; place-items: center; padding: 18px;
    background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--ac) 22%, rgba(8, 3, 12, 0.55)), rgba(4, 2, 8, 0.82) 75%);
    backdrop-filter: blur(5px) saturate(1.1); -webkit-backdrop-filter: blur(5px) saturate(1.1); animation: nc-nx-ar-fade 0.25s ease-out; }
.nc-nx-arena[hidden] { display: none; }
.nc-nx-arena.is-joining { --ac: #fb923c; --ac2: #9a3412; --acs: #fed7aa; }
.nc-nx-arena.is-won { --ac: #fbbf24; --ac2: #92400e; --acs: #fde68a; }
.nc-nx-arena.is-off, .nc-nx-arena.is-cancelled { --ac: #94a3b8; --ac2: #334155; --acs: #e2e8f0; }
.nc-nx-ar-card { position: relative; width: min(1080px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain; touch-action: pan-y; padding: 22px 24px 18px; border-radius: 26px;
    color: #fff1f1; background: linear-gradient(165deg, color-mix(in srgb, var(--ac) 16%, rgba(26, 6, 10, 0.97)), rgba(12, 5, 18, 0.97) 55%);
    border: 1px solid color-mix(in srgb, var(--ac) 70%, transparent); outline: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px color-mix(in srgb, var(--ac) 32%, transparent);
    animation: nc-nx-ar-in 0.35s cubic-bezier(.2, .9, .3, 1.15); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ac) 50%, transparent) transparent; }
.nc-nx-ar-card::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--ac), #fff, var(--ac), transparent); background-size: 200% 100%; animation: nc-nx-ar-line 3s linear infinite; opacity: 0.85; }
.nc-nx-ar-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 12px; font: inherit; font-size: 1.35rem; line-height: 1;
    cursor: pointer; color: #e2e8f0; background: rgba(255, 255, 255, 0.08); }
.nc-nx-ar-x:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }

.nc-nx-ar-head { padding-right: 48px; }
.nc-nx-ar-head .nc-nx-live, .nc-nx-ar-kick { margin-bottom: 8px; }
.nc-nx-ar-kick { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
    color: #2a1503; background: linear-gradient(135deg, #ffedd5, #fb923c 60%, #ea580c); box-shadow: 0 0 14px rgba(251, 146, 60, 0.5); }
.nc-nx-ar-kick.is-gold { background: linear-gradient(135deg, #fff1d1, #fbbf24 60%, #d97706); box-shadow: 0 0 14px rgba(251, 191, 36, 0.55); }
.nc-nx-ar-head .nc-nx-demo { margin-left: 8px; vertical-align: 3px; }
.nc-nx-ar-head h2 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.95rem); font-weight: 900; line-height: 1.15; color: #fff; letter-spacing: -0.01em; text-shadow: 0 0 24px color-mix(in srgb, var(--ac) 55%, transparent); }
.nc-nx-ar-head p { margin: 5px 0 0; font-size: 0.92rem; font-weight: 800; color: var(--acs); font-variant-numeric: tabular-nums; }

.nc-nx-ar-hero { display: grid; grid-template-columns: 184px 1fr; gap: 24px; align-items: center; margin: 18px 0 16px; }
.nc-nx-ar-hl { position: relative; justify-self: center; }
.nc-nx-ar-ring { --rc: #ef4444; position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.nc-nx-ar-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.nc-nx-ar-ring circle { fill: none; stroke-width: 10; }
.nc-nx-ar-ring .is-bg { stroke: rgba(255, 255, 255, 0.08); }
.nc-nx-ar-ring .is-fg { stroke: var(--rc); stroke-linecap: round; filter: drop-shadow(0 0 8px var(--rc)); transition: stroke-dashoffset 0.8s cubic-bezier(.3, .8, .3, 1); }
.nc-nx-ar-big { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.nc-nx-ar-big b { font-size: 3.1rem; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px var(--rc); }
.nc-nx-ar-big small { margin-top: 4px; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acs); }
.nc-nx-ar-face { position: relative; width: 132px; height: 132px; border-radius: 50%; object-fit: cover; background: #1c1203; box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.75), 0 0 30px rgba(253, 224, 71, 0.5); }
.nc-nx-ar-badge { position: absolute; right: -4px; bottom: -2px; width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 6px #fde68a) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)); }
.nc-nx-ar-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nc-nx-ar-lead { margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.4; color: #fff; }
.nc-nx-ar-how { margin: 0; font-size: 0.84rem; font-weight: 700; line-height: 1.45; color: color-mix(in srgb, var(--acs) 85%, #fff); }
.nc-nx-ar-how b { color: #fff; }
.nc-nx-ar-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.nc-nx-ar-stats span { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(160deg, rgba(253, 224, 71, 0.14), rgba(253, 224, 71, 0.03));
    border: 1px solid rgba(253, 224, 71, 0.3); }
.nc-nx-ar-stats i { font-style: normal; font-size: 1rem; line-height: 1; }
.nc-nx-ar-stats b { font-size: 1.12rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nc-nx-ar-stats small { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: #fde68a; }
.nc-nx-ar-last { display: flex; flex-direction: column; gap: 3px; padding: 12px 15px; border-radius: 16px; background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.04));
    border: 1px solid rgba(248, 113, 113, 0.35); border-left: 4px solid #ef4444; animation: nc-nx-ev 0.6s ease-out; }
.nc-nx-ar-last small { font-size: 0.66rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: #fca5a5; }
.nc-nx-ar-last b { font-size: 1.15rem; font-weight: 900; color: #fff; }
.nc-nx-ar-last span { font-size: 0.86rem; font-weight: 700; color: #fecaca; }
.nc-nx-ar-last.is-wait span { color: #fecaca; font-weight: 800; }
.nc-nx-ar-split { display: flex; gap: 3px; height: 36px; }
.nc-nx-ar-split i { --t: #a78bfa; display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 46px; flex-basis: 0; border-radius: 10px; font-style: normal; overflow: hidden;
    background: linear-gradient(180deg, color-mix(in srgb, var(--t) 70%, #fff 8%), color-mix(in srgb, var(--t) 55%, #000)); box-shadow: 0 0 14px color-mix(in srgb, var(--t) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: flex-grow 0.7s cubic-bezier(.3, .8, .3, 1); }
.nc-nx-ar-split img { width: 18px; height: 18px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
.nc-nx-ar-split b { font-size: 0.86rem; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); font-variant-numeric: tabular-nums; }

.nc-nx-ar-go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 900; text-decoration: none; white-space: nowrap;
    color: #fff; background: linear-gradient(135deg, #f87171, #dc2626 60%, #991b1b); box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4); }
.nc-nx-ar-go:hover { color: #fff; filter: brightness(1.1); }
.nc-nx-arena.is-joining .nc-nx-ar-go { color: #2a1503; background: linear-gradient(135deg, #ffedd5, #fb923c 55%, #ea580c); box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4); }
.nc-nx-arena.is-won .nc-nx-ar-go { color: #2a1503; background: linear-gradient(135deg, #fff1d1, #fbbf24 55%, #d97706); box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45); }
.nc-nx-ar-go.is-big { align-self: flex-start; min-height: 48px; padding: 10px 26px; font-size: 1rem; animation: nc-nx-ar-call 1.8s ease-in-out infinite; }
.nc-nx-ar-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); font: inherit; font-size: 0.86rem; font-weight: 800;
    text-decoration: none; white-space: nowrap; cursor: pointer; color: #e2e8f0; background: rgba(255, 255, 255, 0.07); }
.nc-nx-ar-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.nc-nx-ar-btn.is-play { color: #052e16; border-color: transparent; background: linear-gradient(135deg, #dcfce7, #86efac 60%, #22c55e); }
.nc-nx-ar-go:focus-visible, .nc-nx-ar-btn:focus-visible, .nc-nx-ar-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.nc-nx-ar-tribes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.nc-nx-ar-tr { --t: #a78bfa; min-width: 0; padding: 12px 11px 10px; border-radius: 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--t) 18%, rgba(255, 255, 255, 0.02)), rgba(255, 255, 255, 0.02) 70%);
    border: 1px solid color-mix(in srgb, var(--t) 50%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--t) 14%, transparent); transition: filter 0.4s, opacity 0.4s; }
.nc-nx-ar-tr header { display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'em n' 'tx tx'; align-items: center; gap: 6px 8px; }
.nc-nx-ar-em { grid-area: em; width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--t) 80%, transparent)); }
.nc-nx-ar-tr header div { grid-area: tx; min-width: 0; }
.nc-nx-ar-tr header b { display: block; font-size: 0.98rem; font-weight: 900; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-nx-ar-tr header small { display: block; margin-top: 1px; font-size: 0.74rem; font-weight: 800; color: color-mix(in srgb, var(--t) 45%, #fff); }
.nc-nx-ar-n { grid-area: n; justify-self: end; white-space: nowrap; font-size: 1.9rem; font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 16px var(--t); }
.nc-nx-ar-tr header .nc-nx-ar-n small { display: inline; margin: 0 0 0 2px; font-size: 0.85rem; font-weight: 800; color: color-mix(in srgb, var(--t) 40%, #cbd5e1); text-shadow: none; }
.nc-nx-ar-tr .nc-nx-tip-bar { margin: 9px 0 8px; }
.nc-nx-ar-tr.is-out { filter: grayscale(0.85); opacity: 0.6; }
.nc-nx-ar-tr.is-champ { border-color: rgba(253, 224, 71, 0.85); box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.4) inset, 0 0 30px rgba(253, 224, 71, 0.3); }
.nc-nx-ar-tr.is-champ .nc-nx-ar-em { filter: drop-shadow(0 0 6px #fde68a) drop-shadow(0 0 14px var(--t)); }
.nc-nx-ar-tr.is-hit { animation: nc-nx-ar-hit 0.8s ease-out; }
.nc-nx-ar-apes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
.nc-nx-ar-apes li { display: flex; align-items: center; gap: 5px; min-height: 25px; padding: 2px 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); font-variant-numeric: tabular-nums; }
.nc-nx-ar-apes li.is-top { background: linear-gradient(90deg, color-mix(in srgb, var(--t) 26%, transparent), rgba(255, 255, 255, 0.03)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 45%, transparent) inset; }
.nc-nx-ar-apes li.is-win { background: linear-gradient(90deg, rgba(253, 224, 71, 0.26), rgba(253, 224, 71, 0.05)); box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.5) inset; }
.nc-nx-ar-apes li.is-dead { opacity: 0.55; }
.nc-nx-ar-apes .nc-nx-tip-n, .nc-nx-ar-kill .nc-nx-tip-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8rem; font-weight: 800; color: #fff; }
.nc-nx-ar-apes li.is-dead .nc-nx-tip-n { color: #e2e8f0; text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, 0.7); text-decoration-thickness: 1.5px; }
.nc-nx-ar-apes .nc-nx-tip-n small, .nc-nx-ar-kill .nc-nx-tip-n small { display: inline-block; margin-left: 4px; padding: 0 4px; border-radius: 5px; font-size: 0.58rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase;
    vertical-align: 1px; color: #cbd5e1; background: rgba(148, 163, 184, 0.18); }
.nc-nx-ar-apes .nc-nx-tip-n small.is-r { color: #fecaca; background: rgba(239, 68, 68, 0.2); }
.nc-nx-ar-apes em, .nc-nx-ar-kill em { flex: none; font-style: normal; font-size: 0.72rem; font-weight: 900; }
.nc-nx-ar-apes .nc-nx-tip-s { width: 14px; font-size: 0.74rem; }
.nc-nx-ar-apes em { min-width: 20px; text-align: center; }
.nc-nx-ar-apes li.is-h { min-height: 0; padding-block: 0 1px; background: none; box-shadow: none; }
.nc-nx-ar-apes li.is-h .nc-nx-tip-n { font-size: 0.62rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--t) 35%, #94a3b8); }
.nc-nx-ar-apes li.is-h em { font-size: 0.66rem; opacity: 0.85; }
.nc-nx-ar-apes .nc-nx-tip-k, .nc-nx-ar-kill .nc-nx-tip-k { color: #fde68a; }
.nc-nx-ar-apes .nc-nx-tip-d { color: #fca5a5; }
.nc-nx-ar-apes em.is-0 { opacity: 0.35; }
.nc-nx-ar-apes li.is-top .nc-nx-tip-k { color: #fff; text-shadow: 0 0 8px #fbbf24; }
.nc-nx-ar-more { margin: 6px 0 0; font-size: 0.72rem; font-weight: 800; text-align: center; color: color-mix(in srgb, var(--t) 35%, #e2e8f0); }

.nc-nx-ar-low { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.nc-nx-ar-box { padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07); }
.nc-nx-ar-box h3 { margin: 0 0 8px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acs); }
.nc-nx-ar-log, .nc-nx-ar-kill { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.nc-nx-ar-log li { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 3px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.nc-nx-ar-log li.is-new { background: linear-gradient(90deg, rgba(239, 68, 68, 0.22), rgba(239, 68, 68, 0.03)); animation: nc-nx-ev 0.6s ease-out; }
.nc-nx-ar-r { flex: none; min-width: 34px; padding: 2px 0; border-radius: 7px; text-align: center; font-size: 0.72rem; font-weight: 900; color: #fff; background: rgba(239, 68, 68, 0.35); font-variant-numeric: tabular-nums; }
.nc-nx-arena.is-won .nc-nx-ar-r { background: rgba(251, 191, 36, 0.3); }
.nc-nx-ar-ev { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 0.84rem; font-weight: 800; color: #fff; line-height: 1.25; }
.nc-nx-ar-ev small { font-size: 0.72rem; font-weight: 700; color: #fca5a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-nx-ar-log em { flex: none; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; font-style: normal; font-size: 0.72rem; font-weight: 900; color: #fecaca; background: rgba(239, 68, 68, 0.16); }
.nc-nx-ar-log em.is-back { color: #bbf7d0; background: rgba(74, 222, 128, 0.14); }
.nc-nx-ar-log em.is-out { color: #e2e8f0; background: rgba(148, 163, 184, 0.2); }
.nc-nx-ar-log em img { width: 14px; height: 14px; object-fit: contain; filter: grayscale(1); }
.nc-nx-ar-kill li { --t: #a78bfa; display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 3px 10px 3px 6px; border-radius: 10px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--t) 18%, transparent), rgba(255, 255, 255, 0.02)); }
.nc-nx-ar-kill li.is-dead { opacity: 0.6; }
.nc-nx-ar-kill li.is-dead .nc-nx-tip-n { text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, 0.7); }
.nc-nx-ar-md { flex: none; width: 22px; text-align: center; font-size: 0.95rem; font-weight: 900; color: #cbd5e1; }
.nc-nx-ar-kill img { width: 20px; height: 20px; object-fit: contain; filter: drop-shadow(0 0 4px var(--t)); }
.nc-nx-ar-kill .nc-nx-tip-n { font-size: 0.86rem; }
.nc-nx-ar-kill em { font-size: 0.82rem; }

.nc-nx-ar-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nc-nx-ar-foot small { margin-left: auto; font-size: 0.74rem; font-weight: 800; color: color-mix(in srgb, var(--acs) 70%, transparent); }
.nc-nx-ar-end { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 12px 14px; text-align: center; }
.nc-nx-ar-end > span { font-size: 2.6rem; filter: grayscale(0.4); }
.nc-nx-ar-end b { font-size: 1.15rem; font-weight: 900; color: #fff; }
.nc-nx-ar-end p { margin: 0; max-width: 420px; font-size: 0.88rem; font-weight: 700; color: #cbd5e1; }
.nc-nx-arena.is-off .nc-nx-ar-go, .nc-nx-arena.is-cancelled .nc-nx-ar-go { color: #0f172a; background: linear-gradient(135deg, #f1f5f9, #94a3b8); box-shadow: none; }

/* nxwallet1: the champion hands in their wallet (only they see this box) */
.nc-nx-ar-pz { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 18px; outline: none;
    background: linear-gradient(140deg, rgba(253, 224, 71, 0.2), rgba(217, 119, 6, 0.06)); box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.5) inset, 0 0 30px rgba(251, 191, 36, 0.18); }
.nc-nx-ar-pz > b { font-size: 1.12rem; font-weight: 900; color: #fff; }
.nc-nx-ar-pz > small { margin-top: -6px; font-size: 0.8rem; font-weight: 800; color: #fde68a; font-variant-numeric: tabular-nums; }
.nc-nx-ar-pz-how { margin: 0; font-size: 0.82rem; font-weight: 700; line-height: 1.45; color: #fef3c7; }
.nc-nx-ar-pz-st { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.9rem; font-weight: 800; color: #fff; }
.nc-nx-ar-pz-st.is-in { color: #dcfce7; }
.nc-nx-ar-pz-st.is-paid { color: #bbf7d0; }
.nc-nx-ar-pz .nc-nx-ar-btn { align-self: flex-start; }
.nc-nx-ar-wl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.nc-nx-ar-w { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 46px; padding: 7px 11px; border-radius: 12px; cursor: pointer; font: inherit; text-align: left;
    color: #fff; border: 1px solid rgba(253, 224, 71, 0.3); background: rgba(0, 0, 0, 0.25); transition: border-color 0.15s, background 0.15s; }
.nc-nx-ar-w b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.86rem; font-weight: 900; }
.nc-nx-ar-w small { font-size: 0.74rem; font-weight: 800; color: #fde68a; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.nc-nx-ar-w:hover { border-color: rgba(253, 224, 71, 0.7); }
.nc-nx-ar-w.is-on { border-color: #fde047; background: rgba(253, 224, 71, 0.2); box-shadow: 0 0 0 1px #fde047 inset, 0 0 16px rgba(253, 224, 71, 0.35); }
.nc-nx-ar-w.is-on b::before { content: '✓ '; color: #fde047; }
.nc-nx-ar-w:focus-visible, .nc-nx-ar-addr input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nc-nx-ar-addr { display: flex; flex-direction: column; gap: 4px; }
.nc-nx-ar-addr span { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #fde68a; }
.nc-nx-ar-addr input { width: 100%; min-height: 42px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(253, 224, 71, 0.35); background: rgba(0, 0, 0, 0.35);
    color: #fff; font: inherit; font-size: 0.9rem; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; box-sizing: border-box; }
.nc-nx-ar-addr input::placeholder { color: rgba(254, 243, 199, 0.45); font-family: inherit; }
.nc-nx-ar-pz .nc-nx-ar-go.is-big { animation: none; }
.nc-nx-ar-pzv { max-width: 560px; margin: 18px auto 16px; }
/* nxbounty1: a bounty box (teal-gold), a donation (read only) and the rows of the other prizes */
.nc-nx-ar-pz.is-bounty { background: linear-gradient(140deg, rgba(45, 212, 191, 0.18), rgba(253, 224, 71, 0.1)); box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.55) inset, 0 0 30px rgba(45, 212, 191, 0.16); }
.nc-nx-ar-pz.is-bounty > small { color: #99f6e4; }
.nc-nx-ar-pz.is-donated { background: linear-gradient(140deg, rgba(244, 114, 182, 0.16), rgba(253, 224, 71, 0.06)); box-shadow: 0 0 0 1px rgba(249, 168, 212, 0.45) inset; }
.nc-nx-ar-pzl { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.nc-nx-ar-pzl li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 14px;
    background: rgba(0, 0, 0, 0.28); box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.25) inset; }
.nc-nx-ar-pzl li.is-bounty { box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.35) inset; }
.nc-nx-ar-pzl li.is-donated { box-shadow: 0 0 0 1px rgba(249, 168, 212, 0.3) inset; }
.nc-nx-ar-pzl span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nc-nx-ar-pzl b { font-size: 0.86rem; font-weight: 900; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-nx-ar-pzl small { font-size: 0.76rem; font-weight: 800; color: #fde68a; }
.nc-nx-ar-pzl .nc-nx-ar-btn { flex: none; }
.nc-nx-ar-pzl li { flex-wrap: wrap; }
.nc-nx-bar.is-prize .nc-nx-go { border: 0; font: inherit; font-weight: 900; cursor: pointer; }

/* nxjoin1: join the called combat from the panel (the bot checks it as a reaction) */
.nc-nx-ar-me { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 13px 15px; border-radius: 16px; outline: none;
    background: linear-gradient(120deg, rgba(251, 146, 60, 0.2), rgba(251, 146, 60, 0.04)); box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.35) inset; }
.nc-nx-ar-me > b { font-size: 1.08rem; font-weight: 900; color: #fff; }
.nc-nx-ar-me > small { font-size: 0.82rem; font-weight: 700; line-height: 1.45; color: #fed7aa; }
.nc-nx-ar-me.is-in { --t: #fb923c; background: linear-gradient(120deg, color-mix(in srgb, var(--t) 30%, transparent), color-mix(in srgb, var(--t) 6%, transparent));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 70%, transparent) inset, 0 0 26px color-mix(in srgb, var(--t) 28%, transparent); }
.nc-nx-ar-me.is-in > small { color: color-mix(in srgb, var(--t) 30%, #fff); }
.nc-nx-ar-me .is-leave { align-self: flex-start; margin-top: 6px; min-height: 34px; padding: 6px 13px; font-size: 0.8rem; }
.nc-nx-ar-me .is-leave:hover { color: #fecaca; border-color: rgba(248, 113, 113, 0.5); background: rgba(248, 113, 113, 0.12); }
.nc-nx-ar-msg { margin: 6px 0 0; padding: 8px 11px; border-radius: 11px; font-size: 0.84rem; font-weight: 800; line-height: 1.4; animation: nc-nx-ar-fade 0.3s ease-out; }
.nc-nx-ar-msg.is-ok { color: #dcfce7; background: rgba(34, 197, 94, 0.16); box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.4) inset; }
.nc-nx-ar-msg.is-no { color: #fee2e2; background: rgba(239, 68, 68, 0.16); box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.45) inset; }
.nc-nx-ar-join { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 40px; margin-top: 2px; padding: 8px 10px; border-radius: 12px; cursor: pointer;
    border: 1px solid color-mix(in srgb, var(--t) 70%, transparent); font: inherit; font-size: 0.86rem; font-weight: 900; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: linear-gradient(180deg, color-mix(in srgb, var(--t) 52%, #0b0f1a), color-mix(in srgb, var(--t) 26%, #0b0f1a)); box-shadow: 0 4px 14px color-mix(in srgb, var(--t) 30%, transparent);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55); transition: transform 0.15s, filter 0.15s, box-shadow 0.15s; }
.nc-nx-ar-join:hover:not(:disabled) { filter: brightness(1.15); transform: translateY(-1px); box-shadow: 0 6px 20px color-mix(in srgb, var(--t) 45%, transparent); }
.nc-nx-ar-join:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nc-nx-ar-join:disabled { cursor: default; opacity: 0.5; }
.nc-nx-ar-join[aria-busy="true"] { opacity: 1; }
.nc-nx-ar-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; animation: nc-nx-ar-spin 0.8s linear infinite; }
.nc-nx-ar-in { display: flex; align-items: center; justify-content: center; min-height: 40px; margin: 2px 0 0; border-radius: 12px; font-size: 0.88rem; font-weight: 900; color: #fff;
    background: color-mix(in srgb, var(--t) 34%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 80%, transparent) inset; }
.nc-nx-ar-tr.is-mine { border-color: color-mix(in srgb, var(--t) 90%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 60%, transparent) inset, 0 0 30px color-mix(in srgb, var(--t) 40%, transparent); }
.nc-nx-ar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nc-nx-ar-row .nc-nx-ar-go.is-big { align-self: auto; }
.nc-nx-ar-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@keyframes nc-nx-ar-spin { to { transform: rotate(360deg); } }

@keyframes nc-nx-ar-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nc-nx-ar-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes nc-nx-ar-line { from { background-position: 200% 0; } to { background-position: 0 0; } }
@keyframes nc-nx-ar-call { 0%, 100% { box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4); } 50% { box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4), 0 0 0 6px rgba(251, 146, 60, 0.18), 0 0 26px rgba(251, 146, 60, 0.55); } }
@keyframes nc-nx-ar-hit { 0% { transform: none; } 20% { transform: translateX(-4px) rotate(-0.6deg); box-shadow: 0 0 34px rgba(239, 68, 68, 0.7); } 45% { transform: translateX(4px) rotate(0.5deg); } 70% { transform: translateX(-2px); } 100% { transform: none; } }

@media (max-width: 1000px) {
    .nc-nx-ar-tribes { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
}
@media (max-width: 760px) {
    .nc-nx-arena { padding: 8px; }
    .nc-nx-ar-card { padding: 16px 14px 14px; border-radius: 20px; }
    .nc-nx-ar-x { top: 10px; right: 10px; width: 34px; height: 34px; }
    .nc-nx-ar-head { padding-right: 40px; }
    .nc-nx-ar-head p { font-size: 0.84rem; }
    .nc-nx-ar-hero { grid-template-columns: 1fr; gap: 14px; margin: 14px 0 12px; }
    .nc-nx-ar-ring { width: 136px; height: 136px; }
    .nc-nx-ar-big b { font-size: 2.5rem; }
    .nc-nx-ar-face { width: 106px; height: 106px; }
    .nc-nx-ar-lead { font-size: 0.94rem; text-align: center; }
    .nc-nx-ar-go.is-big { align-self: stretch; }
    .nc-nx-ar-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nc-nx-ar-tribes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .nc-nx-ar-row { justify-content: center; }
    .nc-nx-ar-tr { padding: 10px 9px 9px; }
    .nc-nx-ar-em { width: 40px; height: 40px; }
    .nc-nx-ar-n { font-size: 1.55rem; }
    .nc-nx-ar-low { grid-template-columns: 1fr; }
    .nc-nx-ar-apes li { gap: 4px; padding: 2px 5px; }
    .nc-nx-ar-apes .nc-nx-tip-n { font-size: 0.76rem; }
    .nc-nx-ar-apes em { min-width: 16px; font-size: 0.7rem; }
    .nc-nx-ar-log li { flex-wrap: wrap; row-gap: 3px; }
    .nc-nx-ar-ev { flex-basis: calc(100% - 50px); }
    .nc-nx-ar-log em { margin-left: 0; }
    .nc-nx-ar-log li .nc-nx-ar-ev + em { margin-left: 42px; }
    .nc-nx-ar-foot .nc-nx-ar-go { flex: 1 1 100%; }
    .nc-nx-ar-foot small { margin: 2px auto 0; flex-basis: 100%; text-align: center; }
    .nc-nx-ic.nc-nx-big { display: inline-block; order: 6; }   /* on a phone too: the big panel */
}
@media (prefers-reduced-motion: reduce) {
    .nc-nx-arena, .nc-nx-ar-card, .nc-nx-ar-card::before, .nc-nx-ar-go.is-big, .nc-nx-ar-tr.is-hit, .nc-nx-ar-last, .nc-nx-ar-log li.is-new, .nc-nx-ar-msg { animation: none; }
    .nc-nx-ar-spin { animation-duration: 2.4s; }
    .nc-nx-ar-join { transition: none; }
    .nc-nx-ar-ring .is-fg, .nc-nx-ar-split i { transition: none; }
}
