/* clubmap1: the club map at /map (templates/clubmap.html, static/js/clubmap.js). */
.page-head .cm-figs { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.cm-figs li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 3, 24, 0.55); backdrop-filter: blur(6px); }
.cm-figs b { font-size: 1.7rem; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cm-figs b small { font-size: 0.6em; margin-left: 1px; color: var(--muted); }
.cm-figs span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.cm-fig-sun b { background: linear-gradient(90deg, #facc15, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cm-fig-sun b small { -webkit-text-fill-color: var(--muted); }

/* the stage */
.cm-stage { position: relative; height: clamp(440px, 74vh, 760px); border-radius: 26px; overflow: hidden; isolation: isolate;
    border: 1px solid rgba(0, 221, 235, 0.22); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    background: radial-gradient(900px 520px at 50% 50%, rgba(36, 18, 92, 0.65), transparent 70%), radial-gradient(1200px 700px at 80% -10%, rgba(0, 221, 235, 0.10), transparent 60%), #05020f; }
.cm-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.75; pointer-events: none;
    background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 82% 12%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 66% 78%, #cfe9ff 50%, transparent 51%),
        radial-gradient(1px 1px at 28% 86%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 64%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 6% 52%, #ffe9c7 50%, transparent 51%),
        radial-gradient(1px 1px at 44% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 56% 94%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 74% 36%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 18% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 62%, #cfe9ff 50%, transparent 51%), radial-gradient(1px 1px at 88% 88%, #fff 50%, transparent 51%);
    background-size: 340px 340px; }
.cm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
/* maparcs1: the sparks' own layer, over the globe and under the controls */
.cm-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cm-canvas:active { cursor: grabbing; }
.cm-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); font-weight: 600; }
.cm-spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(0, 221, 235, 0.2); border-top-color: var(--cyan); animation: cm-spin 0.9s linear infinite; }

.cm-hud { position: absolute; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.cm-hud > * { pointer-events: auto; }
.cm-hud--top { top: 16px; }
.cm-hud--bottom { bottom: 16px; justify-content: flex-start; padding: 12px 12px 12px 16px; border-radius: 18px; border: 1px solid var(--line-strong); background: rgba(10, 4, 28, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); right: auto; max-width: calc(100% - 32px); }
.cm-live { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 4, 28, 0.7); backdrop-filter: blur(8px); font-size: 0.82rem; font-weight: 700; color: #e2e8f0; }
.cm-live-more { margin-left: -4px; }
.cm-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: cm-pulse 2s ease-in-out infinite; }
.cm-tools { display: flex; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 4, 28, 0.7); backdrop-filter: blur(8px); }
.cm-tool { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #e2e8f0; cursor: pointer; transition: background 0.2s, color 0.2s; }
.cm-tool:hover, .cm-tool[aria-pressed="true"] { background: rgba(0, 221, 235, 0.16); color: var(--cyan); }
.cm-tool svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cm-you-flag { font-size: 1.9rem; line-height: 1; }
.cm-you-lock { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 12px; color: #fbbf24; background: rgba(250, 204, 21, 0.10); box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.35); }
.cm-you-lock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cm-you--locked { border-color: rgba(250, 204, 21, 0.32); }
.cm-you-text { display: grid; gap: 2px; min-width: 0; }
.cm-you-text b { font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-you-text small { color: var(--muted); font-size: 0.78rem; }
.cm-hud--bottom .btn { padding: 10px 16px; font-size: 0.9rem; flex: none; }
.cm-guest span { color: #e2e8f0; font-size: 0.9rem; line-height: 1.4; }

.cm-tip { position: absolute; z-index: 3; display: grid; gap: 2px; padding: 9px 12px; border-radius: 12px; pointer-events: none; max-width: 240px;
    background: rgba(10, 4, 28, 0.92); border: 1px solid rgba(0, 221, 235, 0.35); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); font-size: 0.86rem; }
.cm-tip[hidden] { display: none; }
.cm-tip small { color: var(--muted); font-size: 0.78rem; }

/* the panel of a city or a country */
.cm-panel { position: absolute; z-index: 4; top: 72px; right: 16px; bottom: 16px; width: min(360px, calc(100% - 32px)); overflow: auto; overscroll-behavior: contain; padding: 18px;
    border-radius: 20px; border: 1px solid rgba(0, 221, 235, 0.3); background: linear-gradient(180deg, rgba(26, 8, 56, 0.94), rgba(10, 4, 28, 0.96)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); animation: cm-in 0.28s ease both; }
.cm-panel[hidden] { display: none; }
.cm-panel-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--muted); cursor: pointer; }
.cm-panel-x:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.cm-panel-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cm-panel-head { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.cm-panel-flag { font-size: 2.1rem; line-height: 1; }
.cm-panel-head b { display: block; font-size: 1.25rem; font-weight: 900; }
.cm-panel-head small { color: var(--muted); font-size: 0.84rem; }
.cm-panel-time { margin: 10px 0 14px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 0.86rem; }
.cm-panel-time b { color: #fff; font-variant-numeric: tabular-nums; }
.cm-panel-sub { margin: 16px 0 8px; font-size: 0.95rem; }
.cm-panel-sub small { color: var(--muted); font-weight: 600; margin-left: 6px; }
.cm-panel-login { width: 100%; }
.cm-people, .cm-cities { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
/* cards1: a member on the map, in the look of the card of a name (mention-card.css): cover, ring, pills, links */
.cm-people { gap: 12px; }
.cm-pc { --pc-tone: #00ddeb; --pc-a1: var(--pc-tone); --pc-a2: #9945ff; --pc-a3: #14f195; position: relative; overflow: hidden; border-radius: 18px;
    background: linear-gradient(180deg, rgba(27, 15, 52, 0.96), rgba(12, 7, 26, 0.98)); border: 1px solid color-mix(in srgb, var(--pc-tone) 40%, rgba(255,255,255,0.08));
    box-shadow: 0 16px 36px -14px rgba(0,0,0,0.7), 0 0 30px -14px color-mix(in srgb, var(--pc-tone) 60%, transparent); }
.cm-pc.is-me { border-color: rgba(250, 204, 21, 0.6); }
.cm-pc-cover { position: relative; height: 64px; overflow: hidden;
    background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--pc-a1) 75%, transparent), transparent 60%),
                radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--pc-a2) 70%, transparent), transparent 62%),
                linear-gradient(135deg, color-mix(in srgb, var(--pc-a3) 40%, #1a0d33), #120a24); }
.cm-pc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(27,15,52,0.97)); }
.cm-pc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cm-pc-shine { position: absolute; inset: -40% -60%; z-index: 1; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.14) 50%, transparent 58%);
    animation: cm-pc-shine 5s ease-in-out infinite; pointer-events: none; }
@keyframes cm-pc-shine { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.cm-pc-head { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 12px; margin: -34px 14px 0; }
.cm-pc-avatar { flex: 0 0 auto; width: 62px; height: 62px; padding: 3px; border-radius: 50%;
    background: conic-gradient(from 210deg, var(--pc-tone), var(--pc-a2), var(--pc-a3), var(--pc-tone));
    box-shadow: 0 8px 20px rgba(0,0,0,0.55), 0 0 16px color-mix(in srgb, var(--pc-tone) 45%, transparent); }
.cm-pc.is-me .cm-pc-avatar { background: conic-gradient(from 210deg, #facc15, #f97316, #facc15); }
.cm-pc-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #160a2e; border: 2px solid #120a24; }
.cm-pc-who { display: grid; min-width: 0; padding-bottom: 3px; }
.cm-pc-name { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; font-size: 1.02rem; font-weight: 900; color: #fff; white-space: nowrap; text-overflow: ellipsis; }
.cm-pc-name[data-mention] { cursor: pointer; border-radius: 6px; }
.cm-pc-name[data-mention]:hover, .cm-pc-name[data-mention]:focus-visible { color: color-mix(in srgb, var(--pc-tone) 55%, #fff); outline: none; }
.cm-pc-name em { flex: 0 0 auto; font-style: normal; font-size: 0.75rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: rgba(250, 204, 21, 0.18); color: #fde68a; }
.cm-pc-who small { overflow: hidden; font-size: 0.8rem; font-weight: 700; color: #a6aec4; white-space: nowrap; text-overflow: ellipsis; }
.cm-pc-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 0; }
.cm-pill { --xc: #94a3b8; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; font-style: normal;
    white-space: nowrap; text-decoration: none; color: color-mix(in srgb, var(--xc) 65%, #fff); background: color-mix(in srgb, var(--xc) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--xc) 45%, transparent); }
.cm-pill--team { box-shadow: 0 0 14px -4px color-mix(in srgb, var(--xc) 70%, transparent); text-transform: uppercase; letter-spacing: 0.05em; }
.cm-pill--honor { box-shadow: 0 0 16px -6px color-mix(in srgb, var(--xc) 80%, transparent); transition: background 0.15s; }
.cm-pill--honor:hover { background: color-mix(in srgb, var(--xc) 28%, transparent); }
.cm-pc-pin { margin: 10px 14px 0; overflow: hidden; font-size: 0.78rem; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.cm-pc-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; }
.cm-pc-pills:last-child, .cm-pc-pin:last-child { padding-bottom: 14px; margin-bottom: 0; }
.cm-pc-go { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; font-size: 0.8rem; font-weight: 800; text-decoration: none;
    color: #fff; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); transition: background 0.15s, border-color 0.15s; }
.cm-pc-go:hover { background: rgba(255,255,255,0.12); }
.cm-pc-go--site { min-width: 0; color: color-mix(in srgb, var(--pc-a1) 70%, #fff); border-color: color-mix(in srgb, var(--pc-a1) 45%, transparent); }
@media (prefers-reduced-motion: reduce) { .cm-pc-shine { animation: none; display: none; } }
.cm-cities button { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: #fff; font: inherit; text-align: left; cursor: pointer; }
.cm-cities button:hover { border-color: rgba(0, 221, 235, 0.45); background: rgba(0, 221, 235, 0.07); }
.cm-cities small { color: var(--muted); font-variant-numeric: tabular-nums; }
.cm-cities + .cm-people { margin-top: 8px; padding-left: 10px; border-left: 2px solid rgba(0, 221, 235, 0.18); }
.cm-people + .cm-cities { margin-top: 14px; }
.cm-cities button span { font-weight: 800; }
.cm-cities b { min-width: 28px; text-align: center; padding: 2px 8px; border-radius: 999px; background: linear-gradient(135deg, #fb923c, #ec4899); font-size: 0.82rem; }

.cm-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 14px 4px 0; color: var(--muted); font-size: 0.84rem; }
.cm-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cm-key { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.cm-key--pin { background: #f97316; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }
.cm-stage.is-public ~ .cm-legend .cm-key--pin { background: #22d3ee; }
.cm-key--group { background: linear-gradient(135deg, #fb923c, #ec4899); box-shadow: 0 0 10px rgba(249, 115, 22, 0.7); }
.cm-key--night { background: linear-gradient(90deg, #11285c 50%, #050214 50%); box-shadow: 0 0 0 1px rgba(120, 230, 255, 0.45); }
.cm-key--spark { width: 24px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 77, 157, 0), #ff4d9d 55%, #fff); box-shadow: 0 0 8px rgba(255, 77, 157, 0.8); }
.cm-key--moon { background: #312e81; box-shadow: inset -4px -3px 0 0 #fde68a, 0 0 0 1px rgba(253, 230, 138, 0.25); }
.cm-key--air { background: linear-gradient(135deg, #2dd4bf, #22d3ee); box-shadow: 0 0 10px rgba(45, 212, 191, 0.6); }
.cm-hint { margin-left: auto; }

/* maparcs1: the club's sparks of the last 24 hours, over the map's bottom right (under it on narrow screens) */
.cm-wrap { position: relative; }
.cm-act { position: absolute; z-index: 5; right: 16px; bottom: 16px; width: min(372px, calc(100% - 32px)); display: grid; gap: 9px; padding: 12px 14px 13px;
    border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.12); background: linear-gradient(180deg, rgba(22, 10, 50, 0.82), rgba(8, 4, 24, 0.88));
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
.cm-act[hidden] { display: none; }
.cm-wrap.has-panel .cm-act { opacity: 0; visibility: hidden; transform: translateY(8px); }
.cm-act-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cm-act-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.cm-act-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d9d; box-shadow: 0 0 10px #ff4d9d, 0 0 2px #fff inset; animation: cm-pulse 2s ease-in-out infinite; }
.cm-act-head small { color: var(--muted); font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cm-act-counts { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-act-n { --k: #fff; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; font-variant-numeric: tabular-nums;
    color: color-mix(in srgb, var(--k) 55%, #fff); background: color-mix(in srgb, var(--k) 13%, transparent); border: 1px solid color-mix(in srgb, var(--k) 38%, transparent); }
.cm-act-i { width: 14px; height: 14px; flex: none; fill: var(--k, currentColor); }
.cm-act-n .cm-act-i { filter: drop-shadow(0 0 4px color-mix(in srgb, var(--k) 70%, transparent)); }
.cm-act-last { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; margin: 0; padding: 7px 10px 7px 7px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.8rem; }
.cm-act-last:empty { display: none; }
.cm-act-last.is-new { animation: cm-act-in 0.45s ease both; }
.cm-act-ico { --k: #fff; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--k) 18%, transparent); box-shadow: 0 0 14px -4px var(--k); }
.cm-act-what { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e2e8f0; }
.cm-act-what b { color: #fff; }
.cm-act-what i { font-style: normal; color: var(--muted); }
.cm-act-last small { color: var(--muted); font-size: 0.75rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
@keyframes cm-act-in { from { opacity: 0.25; transform: translateY(4px); } }
.cm-pill--air i { width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 8px #2dd4bf; animation: cm-pulse 1.6s ease-in-out infinite; }
.cm-tip .cm-tip-air { color: #5eead4; font-weight: 700; }
@media (max-width: 980px) {
    .cm-act { position: static; width: auto; margin-top: 12px; background: linear-gradient(180deg, rgba(22, 10, 50, 0.7), rgba(8, 4, 24, 0.8)); }
    .cm-wrap.has-panel .cm-act { opacity: 1; visibility: visible; transform: none; }
}

/* by country */
.cm-countries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.cm-country { display: grid; grid-template-columns: 30px 30px minmax(90px, 0.9fr) minmax(0, 1.2fr) 44px; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border-radius: 14px;
    border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.cm-country:hover { border-color: rgba(0, 221, 235, 0.45); background: var(--panel-strong); }
.cm-country-place { color: var(--muted); font-weight: 800; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.cm-country-flag { font-size: 1.45rem; line-height: 1; }
.cm-country-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-country-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.cm-country-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0891b2, #22d3ee); }
.cm-country-n { text-align: right; font-size: 1.05rem; font-variant-numeric: tabular-nums; }

/* how it works */
.cm-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cm-rules li { display: grid; align-content: start; gap: 8px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.cm-rule-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(0, 221, 235, 0.12); color: var(--cyan); }
.cm-rule-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cm-rules b { font-size: 1.02rem; }
.cm-rules span:last-child { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.cm-source { margin-top: 18px; }
.cm-source a { color: var(--cyan); }

@keyframes cm-spin { to { transform: rotate(360deg); } }
@keyframes cm-pulse { 50% { opacity: 0.45; } }
@keyframes cm-in { from { opacity: 0; transform: translateX(12px); } }

@media (max-width: 1100px) {
    .cm-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .cm-countries { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .page-head .cm-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .cm-figs li { padding: 12px 14px; }
    .cm-figs b { font-size: 1.45rem; }
    .cm-stage { height: clamp(420px, 68vh, 560px); border-radius: 20px; }
    .cm-panel { top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; max-height: 64%; animation-name: cm-up; }
    @keyframes cm-up { from { opacity: 0; transform: translateY(16px); } }
    .cm-hint { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) {
    .cm-hud { left: 10px; right: 10px; }
    .cm-hud--top { top: 10px; }
    .cm-hud--bottom { bottom: 10px; left: 10px; right: 10px; max-width: none; padding: 10px; gap: 10px; flex-wrap: wrap; }
    .cm-live { padding: 7px 11px; font-size: 0.75rem; }
    .cm-live-more { display: none; }
    .cm-tool { width: 34px; height: 34px; }
    .cm-you-flag { font-size: 1.5rem; }
    .cm-you-lock { width: 36px; height: 36px; }
    .cm-you--locked .cm-you-text b { white-space: normal; }
    .cm-you--locked .btn { flex: 1 1 100%; }
    .cm-you-text { flex: 1; }
    .cm-guest { display: grid; }
    .cm-guest .btn { width: 100%; }
    .cm-rules { grid-template-columns: 1fr; }
    .cm-country { grid-template-columns: 24px 26px minmax(0, 1fr) 70px 34px; gap: 8px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .cm-spinner, .cm-live i, .cm-act-live i, .cm-pill--air i, .cm-act-last.is-new { animation: none; }
    .cm-panel { animation: none; }
}

/* mapfx1 (Mortimer, 31-10-2026: «el 7 me interesa mucho»): the skin of the season (clubmap.season). Halloween: an orange
   and violet night around the globe, bats (clubmap-sparks.js), pumpkins; December to 6 January: snow. Only looks. */
.cm-hud-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cm-season-pill { gap: 7px; }
.cm-season-pill > span { font-size: 1rem; line-height: 1; }
.cm-season-pill--halloween { color: #fed7aa; border-color: rgba(251, 146, 60, 0.45); background: linear-gradient(120deg, rgba(124, 45, 18, 0.55), rgba(76, 29, 149, 0.55)); box-shadow: 0 0 22px rgba(249, 115, 22, 0.22); }
.cm-season-pill--snow { color: #e0f2fe; border-color: rgba(186, 230, 253, 0.45); background: linear-gradient(120deg, rgba(14, 116, 144, 0.45), rgba(30, 58, 138, 0.5)); }
.cm-stage.is-halloween { border-color: rgba(251, 146, 60, 0.35);
    background: radial-gradient(circle at 88% 15%, #fff1dc 0, #fed7aa 22px, #fdba74 34px, rgba(253, 186, 116, 0.35) 37px, rgba(249, 115, 22, 0.12) 70px, transparent 150px),
        radial-gradient(900px 520px at 50% 50%, rgba(76, 29, 149, 0.55), transparent 70%), radial-gradient(1200px 700px at 80% -10%, rgba(249, 115, 22, 0.14), transparent 60%),
        radial-gradient(900px 600px at 10% 110%, rgba(124, 58, 237, 0.2), transparent 60%), #06020f; }
.cm-stage.is-halloween::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 110px rgba(124, 58, 237, 0.22), inset 0 0 40px rgba(249, 115, 22, 0.10); }
@media (max-width: 600px) { .cm-stage.is-halloween { background-position: 0 0; } }
.cm-snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cm-snow i { position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: var(--o);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.7); animation: cm-snow var(--d) linear var(--w) infinite; will-change: transform; }
.cm-snow.is-off i { animation-play-state: paused; }
@keyframes cm-snow { from { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(14px, 380px, 0); } to { transform: translate3d(-6px, 780px, 0); } }
@media (max-width: 600px) { .cm-season-pill b { display: none; } }
@media (prefers-reduced-motion: reduce) { .cm-snow { display: none; } }

/* maparcs2: your sparks in gold, the Live giveaway pill, sunrise */
.cm-key--sun { background: radial-gradient(circle, #fde047 0 3px, transparent 3.5px), #9a3412; box-shadow: 0 0 0 2px #f59e0b, 0 0 8px rgba(251, 191, 36, 0.6); }
.cm-key--mine { width: 24px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(251, 191, 36, 0), #fbbf24 55%, #fff); box-shadow: 0 0 8px rgba(251, 191, 36, 0.85); }
.cm-act-what em { font-style: normal; font-weight: 800; color: #fcd34d; }
.cm-act-ico.is-mine { box-shadow: 0 0 14px -3px #fbbf24, inset 0 0 0 1px rgba(251, 191, 36, 0.45); }
.cm-act-ico.is-sun { font-size: 15px; line-height: 1; }
.cm-act-me { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; border-radius: 10px; font-size: 0.8rem; font-variant-numeric: tabular-nums;
    color: #fde68a; background: linear-gradient(90deg, rgba(251, 191, 36, 0.14), rgba(251, 191, 36, 0.03)); border: 1px solid rgba(251, 191, 36, 0.22); }
.cm-act-me[hidden] { display: none; }
.cm-act-me i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 9px #fbbf24; }
.cm-act-me b { color: #fff; font-weight: 800; }
.cm-act-me small { margin-left: auto; color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
.cm-gwl { flex: none; white-space: nowrap; text-decoration: none; color: #d1fae5; border-color: rgba(52, 211, 153, 0.45); background: linear-gradient(120deg, rgba(6, 78, 59, 0.6), rgba(10, 4, 28, 0.7)); box-shadow: 0 0 22px rgba(52, 211, 153, 0.2); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.cm-gwl[hidden] { display: none; }
.cm-gwl:hover, .cm-gwl:focus-visible { border-color: rgba(52, 211, 153, 0.8); box-shadow: 0 0 26px rgba(52, 211, 153, 0.38); transform: translateY(-1px); color: #fff; }
.cm-gwl i { background: #34d399; box-shadow: 0 0 10px #34d399; }
.cm-gwl b { color: #fff; font-weight: 800; }
.cm-gwl-ico { display: none; width: 15px; height: 15px; fill: #34d399; filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.7)); }
.cm-gwl span { font-variant-numeric: tabular-nums; color: #a7f3d0; font-weight: 700; }
.cm-gwl span::before { content: '· '; color: rgba(167, 243, 208, 0.6); }
@media (max-width: 600px) {
    .cm-gwl b { display: none; }
    .cm-gwl-ico { display: block; margin-left: -2px; }
    .cm-gwl span::before { content: ''; }
    .cm-stage.has-gwl .cm-hud-left > .cm-live:first-child { display: none; }   /* the Live giveaway says it better */
    .cm-act-me small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cm-gwl { transition: none; } .cm-gwl:hover { transform: none; } }

/* mapquiet1: the tour's card, online now */
.cm-tour { position: absolute; z-index: 4; left: 0; top: 0; display: flex; align-items: center; gap: 10px; max-width: min(360px, calc(100% - 20px)); padding: 9px 12px 9px 10px;
    border: 1px solid rgba(148, 163, 255, 0.28); border-radius: 14px; background: linear-gradient(160deg, rgba(30, 16, 70, 0.92), rgba(10, 4, 28, 0.92)); backdrop-filter: blur(10px);
    box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; color: #e2e8f0; font: inherit; text-align: left; cursor: pointer;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.45s ease, visibility 0s linear 0.45s; will-change: transform; }
.cm-tour.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.45s ease, visibility 0s; animation: cm-tour-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.cm-tour:hover { border-color: rgba(148, 163, 255, 0.55); }
.cm-tour-flag { font-size: 1.35rem; line-height: 1; flex: none; }
.cm-tour-text { display: grid; gap: 2px; min-width: 0; }
.cm-tour-text b { color: #fff; font-size: 0.92rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-tour-text small { color: #cbd5e1; font-size: 0.76rem; font-weight: 600; line-height: 1.35; font-variant-numeric: tabular-nums; }
.cm-tour-last { color: #94a3b8 !important; font-size: 0.75rem !important; }
.cm-tour-on { color: #86efac; }
.cm-tour-on::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 7px #4ade80; vertical-align: 1px; }
.cm-tour-faces { display: flex; flex: none; padding-left: 4px; }
.cm-tour-faces img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid #1e1046; margin-left: -8px; background: #2a1650; }
.cm-tour-faces img:first-child { margin-left: 0; }
@keyframes cm-tour-in { from { filter: blur(4px); } to { filter: none; } }
.cm-wrap.has-panel .cm-tour { opacity: 0; visibility: hidden; }
.cm-tip .cm-tip-on { color: #86efac; font-weight: 700; }
.cm-tip-on::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #4ade80; vertical-align: 1px; }
.cm-key--on { background: radial-gradient(circle, #4ade80 0 3.5px, transparent 4px), radial-gradient(circle, rgba(74, 222, 128, 0.55), rgba(74, 222, 128, 0) 70%); box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); }
@media (max-width: 600px) {
    .cm-tour { gap: 8px; padding: 7px 10px 7px 8px; max-width: calc(100% - 20px); }
    .cm-tour-faces { display: none; }
    .cm-tour-text b { font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) { .cm-tour { display: none; } }

/* mapquiet2: the constellation's key */
.cm-key--net { width: 24px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(196, 181, 253, 0.25), rgba(196, 181, 253, 0.7), rgba(196, 181, 253, 0.25)); box-shadow: 0 0 6px rgba(196, 181, 253, 0.5); }
