/* welcomes1 (Mortimer, 20-11-2026: «los usuarios nuevos deben sentirse especiales por un tiempo, su tiempo … lo quiero todo
   con sentido y ultra premium»): bascdao.com/welcome, the home's «New in the club» and the ribbon of a newcomer's /ape page
   (components/_welcome_wall.html, static/js/welcomes.js). Party gold #facc15 to orange and pink, Discord's blurple only on
   its own button, on the night of the site. Everything that moves stops with prefers-reduced-motion. */

/* ---------- the page head ---------- */
.nw-head { position: relative; overflow: hidden; isolation: isolate; }
.nw-head h1 .o { background: linear-gradient(90deg, #fde047, #f97316 55%, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* welcomes1d: the figures of the header as quiet pills (new apes, welcomes, holders) */
.nw-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.nw-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 11px; border-radius: 999px; font-size: 0.84rem; color: #c9d1e0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--p) 10%, transparent), rgba(255,255,255,0.025));
    border: 1px solid color-mix(in srgb, var(--p) 26%, rgba(255,255,255,0.08)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: default; }
.nw-pill i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--p); box-shadow: 0 0 10px var(--p); }
.nw-pill b { color: var(--p); font-weight: 900; font-variant-numeric: tabular-nums; }
.nw-confetti { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nw-confetti i { position: absolute; top: -12px; left: calc(4% + var(--i) * 7%); width: 7px; height: 13px; border-radius: 2px; opacity: 0.0;
    background: hsl(calc(45 + var(--i) * 24), 95%, 62%); animation: nw-fall calc(5.5s + var(--i) * 0.37s) linear calc(var(--i) * -0.83s) infinite; }
.nw-confetti i:nth-child(3n) { width: 7px; height: 7px; border-radius: 50%; }
@keyframes nw-fall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 0.55; } 85% { opacity: 0.4; }
    100% { transform: translateY(260px) rotate(540deg); opacity: 0; } }

/* ---------- «This is your week» ---------- */
.nw-you { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px;
    background: radial-gradient(420px 160px at 0% 50%, rgba(250,204,21,0.20), transparent 70%), linear-gradient(120deg, #1d0f33, #120a26);
    border: 1px solid rgba(250,204,21,0.42); box-shadow: 0 16px 40px rgba(0,0,0,0.32), 0 0 34px rgba(250,204,21,0.10); }
.nw-you-ico { font-size: 2rem; line-height: 1; font-style: normal; }
.nw-you-t { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.nw-you-t b { font-size: 1.08rem; font-weight: 900; }
.nw-you-t span { color: var(--muted); font-size: 0.92rem; }
.nw-you .btn { flex: none; }

/* ---------- the wall ---------- */
.nw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.nw-grid:has(> :only-child) { grid-template-columns: minmax(260px, 340px); justify-content: center; }
.nw-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(260px, 340px)); justify-content: center; }
.nw-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(260px, 340px)); justify-content: center; }
.nw-how { margin: 18px auto 0; max-width: 680px; text-align: center; font-size: 0.86rem; color: var(--muted); }

/* the card */
.nwc { position: relative; isolation: isolate; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; scroll-margin: 120px;
    background: linear-gradient(170deg, #1a0f30 0%, #100822 70%); border: 1px solid rgba(250,204,21,0.20);
    box-shadow: 0 18px 44px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.06); transition: transform .25s, border-color .25s, box-shadow .25s; }
.nwc:hover { transform: translateY(-4px); border-color: rgba(250,204,21,0.55); box-shadow: 0 24px 54px rgba(0,0,0,0.42), 0 0 40px rgba(250,204,21,0.12); }
.nwc-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(320px 200px at 50% 0%, rgba(250,204,21,0.16), transparent 70%), radial-gradient(260px 200px at 100% 100%, rgba(236,72,153,0.10), transparent 70%); }
.nwc.is-fresh { border-color: transparent; }
.nwc.is-fresh::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--nw-a, 0deg), #facc15, #f97316, #ec4899, #a78bfa, #22d3ee, #facc15);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: nw-spin 5s linear infinite; }
@property --nw-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes nw-spin { to { --nw-a: 360deg; } }
.nwc.is-mine { border-color: rgba(250,204,21,0.6); }
.nwc.is-lit { animation: nw-lit 3.4s ease-out both; }
@keyframes nw-lit { 0%, 30% { box-shadow: 0 0 0 3px #fde047, 0 0 60px rgba(250,204,21,0.55); transform: translateY(-4px) scale(1.015); }
    100% { box-shadow: 0 18px 44px rgba(0,0,0,0.36); transform: none; } }

.nwc-ape { position: relative; display: block; aspect-ratio: 1 / 1; margin: 12px 12px 0; border-radius: 16px; overflow: hidden; background: #120a24; }
.nwc-ape img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nwc:hover .nwc-ape img { transform: scale(1.04); }
.nwc-ape::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 62%, rgba(10,5,22,0.55)); }
.nwc-badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 5px 11px; border-radius: 999px; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.02em;
    color: #1a0b00; background: linear-gradient(135deg, #fde047, #f59e0b); box-shadow: 0 6px 18px rgba(0,0,0,0.35); white-space: nowrap; }
.nwc-badge.is-fresh { color: #fff; background: linear-gradient(135deg, #f97316, #ec4899); }

/* welcomes1b: same lines in every card (one line each, ellipsis), the buttons pinned to the bottom */
.nwc-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px 16px 16px; }
.nwc-who { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; color: inherit; margin-top: -34px; position: relative; z-index: 1; }
.nwc-ava { flex: none; width: 52px; height: 52px; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, #fde047, #f97316, #ec4899, #9945ff, #fde047);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45); }
.nwc-ava img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #120a24; border: 2px solid #150b2b; }
.nwc-names { display: grid; min-width: 0; padding-top: 26px; }
.nwc-names b { font-size: 1.06rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwc-names small { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwc-who:hover b { color: #fde047; }
.nwc-first { display: grid; min-width: 0; margin: 0; font-size: 0.88rem; color: #d7deeb; line-height: 1.4; }
.nwc-first { gap: 5px; }
.nwc-first > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwc-first b, .nwc-rx { color: #fff; font-weight: 800; }
.nwc-rx { text-decoration: underline; text-decoration-color: rgba(250,204,21,0.45); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.nwc-rx:hover { color: #fde047; text-decoration-color: #fde047; }
.nwc-coll { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 20px; justify-self: start; font-size: 0.8rem; color: var(--muted); text-decoration: none; }
.nwc-coll img { flex: none; width: 18px; height: 18px; border-radius: 6px; object-fit: cover; background: #120a24; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.nwc-coll span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.nwc-coll:hover { color: #fde047; }
a.nwc-coll:hover img { box-shadow: 0 0 0 1px #fde047; }

.nwc-week { display: grid; gap: 6px; }
.nwc-bar { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.nwc-bar i { display: block; height: 100%; width: var(--nwc-p, 50%); border-radius: inherit; background: linear-gradient(90deg, #fde047, #f97316, #ec4899);
    box-shadow: 0 0 12px rgba(249,115,22,0.55); }
.nwc-week small { font-size: 0.76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nwc-social { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.nwc-faces { display: inline-flex; flex: none; }
.nwc-faces:empty { display: none; }
.nwc-faces img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid #150b2b; background: #120a24; }
.nwc-faces img + img { margin-left: -8px; }
.nwc-faces img.is-new { animation: nw-pop .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes nw-pop { from { transform: scale(0.2); opacity: 0; } }
.nwc-count { min-width: 0; font-size: 0.84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwc-count b { color: #fde047; font-weight: 900; font-variant-numeric: tabular-nums; }

.nwc-actions { display: grid; gap: 8px; margin-top: auto; }
.nwc-wave, .nwc-dc { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 12px;
    font: inherit; font-size: 0.9rem; font-weight: 900; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s, filter .2s; }
.nwc-wave { flex: 1 1 auto; color: #1a0b00; border: 0; background: linear-gradient(135deg, #fde047, #f59e0b 60%, #f97316);
    box-shadow: 0 8px 22px rgba(245,158,11,0.32); }
.nwc-wave i { font-style: normal; font-size: 1.05rem; line-height: 1; display: inline-block; transform-origin: 70% 80%; }
.nwc-wave:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 28px rgba(245,158,11,0.45); }
.nwc-wave:hover:not(:disabled) i { animation: nw-wave .9s ease-in-out; }
@keyframes nw-wave { 0%, 100% { transform: rotate(0); } 20%, 60% { transform: rotate(18deg); } 40%, 80% { transform: rotate(-10deg); } }
.nwc-wave:focus-visible, .nwc-dc:focus-visible { outline: 2px solid #fde047; outline-offset: 3px; }
.nwc-wave.is-busy { opacity: 0.75; cursor: progress; }
.nwc-wave.is-done { cursor: default; color: #fde68a; background: rgba(250,204,21,0.10); border: 1px solid rgba(250,204,21,0.42); box-shadow: none; }
.nwc-wave.is-done i { font-weight: 900; }
.nwc-wave.is-off { cursor: not-allowed; color: #cbd5e1; background: rgba(255,255,255,0.06); border: 1px solid var(--line-strong); box-shadow: none; }
.nwc-wave.is-me { cursor: default; color: #fff; background: linear-gradient(135deg, rgba(249,115,22,0.28), rgba(236,72,153,0.28)); border: 1px solid rgba(236,72,153,0.5); box-shadow: none; }
.nwc-wave.is-err { color: #fff; background: rgba(248,113,113,0.22); border: 1px solid rgba(248,113,113,0.55); box-shadow: none; }
.nwc-dc { color: #e0e3ff; background: rgba(88,101,242,0.16); border: 1px solid rgba(88,101,242,0.55); }
.nwc-dc:hover { transform: translateY(-1px); background: rgba(88,101,242,0.30); box-shadow: 0 10px 24px rgba(88,101,242,0.30); color: #fff; }
.nwc-dc svg { flex: none; }

/* the burst of «👋 Welcome!» */
.nwc-burst { position: fixed; z-index: 9999; width: 0; height: 0; pointer-events: none; }
.nwc-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; animation: nw-burst .85s cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes nw-burst { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* empty and «your ape could be next» (only for who holds nothing) */
.nw-empty, .nw-next-in { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px;
    background: radial-gradient(420px 180px at 0% 0%, rgba(250,204,21,0.12), transparent 70%), linear-gradient(160deg, #170c2c, #0e0720);
    border: 1px solid var(--line-strong); }
.nw-empty-ico, .nw-next-ico { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 1.8rem; font-style: normal;
    background: rgba(250,204,21,0.12); border: 1px solid rgba(250,204,21,0.35); }
.nw-empty > div, .nw-next-in > div { flex: 1 1 auto; min-width: 0; }
.nw-empty b, .nw-next-in b { display: block; font-size: 1.1rem; font-weight: 900; }
.nw-empty p, .nw-next-in p { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.nw-empty-go { flex: none; display: grid; justify-items: center; gap: 8px; }
.nw-link { font-size: 0.8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.nw-link:hover { color: #fff; }
.nw-next-in { border-color: rgba(249,115,22,0.38); background: radial-gradient(520px 200px at 100% 50%, rgba(249,115,22,0.16), transparent 70%), linear-gradient(160deg, #170c2c, #0e0720); }

/* ---------- welcomes1f: «Your first moves in the jungle» (welcome_tips.py) ---------- */
.nw-tips-sub { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }
.nw-tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.nw-tips-grid > li { display: flex; min-width: 0; }
.nwt { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 9px; width: 100%; padding: 18px 18px 16px; border-radius: 20px; overflow: hidden;
    text-decoration: none; color: inherit; background: linear-gradient(165deg, #1a0f30, #100822 75%);
    border: 1px solid color-mix(in srgb, var(--t) 26%, rgba(255,255,255,0.08));
    box-shadow: 0 14px 36px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform .25s, border-color .25s, box-shadow .25s; animation: nwt-in .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.nwt::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(260px 150px at 0% 0%, color-mix(in srgb, var(--t) 20%, transparent), transparent 70%); transition: opacity .25s; }
.nwt::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none; opacity: 0;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.07), transparent); transform: skewX(-18deg); }
.nwt:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--t) 60%, transparent);
    box-shadow: 0 22px 48px rgba(0,0,0,0.4), 0 0 34px color-mix(in srgb, var(--t) 18%, transparent); }
.nwt:hover::after { opacity: 1; animation: nwt-sweep .9s ease-out; }
.nwt:focus-visible { outline: 2px solid var(--t); outline-offset: 3px; }
@keyframes nwt-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes nwt-sweep { from { left: -60%; } to { left: 120%; } }
.nwt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.nwt-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.4rem; line-height: 1; font-style: normal;
    background: color-mix(in srgb, var(--t) 14%, rgba(255,255,255,0.03)); border: 1px solid color-mix(in srgb, var(--t) 40%, transparent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--t) 22%, transparent), inset 0 1px 0 rgba(255,255,255,0.08); }
.nwt-tag { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800;
    letter-spacing: 0.04em; color: var(--t); background: color-mix(in srgb, var(--t) 10%, transparent); border: 1px solid color-mix(in srgb, var(--t) 30%, transparent);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwt-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--t); box-shadow: 0 0 0 0 var(--t); animation: nwt-pulse 1.8s ease-out infinite; }
@keyframes nwt-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--t) 70%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
.nwt-title { margin-top: 4px; font-size: 1.06rem; font-weight: 900; color: #fff; line-height: 1.25; }
.nwt-text { font-size: 0.88rem; line-height: 1.5; color: #c3cad8; }
.nwt-go { margin-top: auto; padding-top: 6px; font-size: 0.86rem; font-weight: 800; color: var(--t); }
.nwt-go span { display: inline-block; transition: transform .2s; }
.nwt:hover .nwt-go span { transform: translateX(4px); }
.nwt.is-live { border-color: color-mix(in srgb, var(--t) 50%, transparent); }
@media (max-width: 1000px) { .nw-tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nw-tips-grid { grid-template-columns: 1fr; gap: 12px; } .nwt { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .nwt, .nwt-dot, .nwt:hover::after { animation: none; } .nwt:hover { transform: none; } }

/* ---------- the home page («New in the club») ---------- */
.nw-get { color: var(--muted) !important; margin-right: 14px; }
.nwm-row { list-style: none; margin: 0; padding: 0; --bal-cols: 6; --bal-gap: 14px; }
.nwm { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 12px; border-radius: 18px;
    background: radial-gradient(200px 120px at 50% 0%, rgba(250,204,21,0.12), transparent 75%), linear-gradient(170deg, #1a0f30, #100822);
    border: 1px solid rgba(250,204,21,0.22); transition: transform .2s, border-color .2s, box-shadow .2s; }
.nwm:hover { transform: translateY(-3px); border-color: rgba(250,204,21,0.55); box-shadow: 0 14px 34px rgba(0,0,0,0.35), 0 0 30px rgba(250,204,21,0.12); }
.nwm.is-fresh { border-color: rgba(249,115,22,0.6); }
.nwm-ape { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 13px; overflow: visible; }
.nwm-ape > img { display: block; width: 100%; height: 100%; border-radius: 13px; object-fit: cover; background: #120a24; }
.nwm-ape .nwc-badge { left: 7px; top: 7px; padding: 4px 9px; font-size: 0.68rem; }
.nwm-ava { position: absolute; right: -4px; bottom: -10px; width: 40px; height: 40px; padding: 2px; border-radius: 50%;
    background: conic-gradient(from 200deg, #fde047, #f97316, #ec4899, #9945ff, #fde047); box-shadow: 0 6px 16px rgba(0,0,0,0.5); }
.nwm-ava img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #150b2b; background: #120a24; }
.nwm-who { position: relative; display: grid; min-width: 0; text-decoration: none; color: inherit; }
.nwm-who b { padding-right: 40px; font-size: 0.95rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwm-who small { font-size: 0.75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nwm-who:hover b { color: #fde047; }
.nwm-foot { display: flex; gap: 6px; margin-top: auto; }
.nwm-foot .nwc-wave, .nwm-foot .nwc-dc { min-height: 34px; padding: 6px 9px; font-size: 0.8rem; border-radius: 10px; }
.nwm-foot .nwc-dc { flex: none; }
.nwm-foot .nwc-dc span { display: none; }
.nwm-n { position: absolute; right: 0; top: 2px; font-size: 0.76rem; font-weight: 900; color: #fde047; font-variant-numeric: tabular-nums; }
.nwm-n:empty { display: none; }

/* ---------- the ribbon of their /ape page ---------- */
.nwr { position: relative; isolation: isolate; display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 22px; overflow: hidden;
    background: linear-gradient(120deg, #1d0f33, #120a26 70%); border: 1px solid rgba(250,204,21,0.42);
    box-shadow: 0 16px 40px rgba(0,0,0,0.32), 0 0 36px rgba(250,204,21,0.10); }
.nwr.is-fresh { border-color: rgba(249,115,22,0.65); }
.nwr::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; width: var(--nwc-p, 50%); background: linear-gradient(90deg, #fde047, #f97316, #ec4899); }
.nwr-ape { flex: none; display: block; width: 84px; height: 84px; padding: 3px; border-radius: 20px; background: linear-gradient(135deg, #fde047, #f97316, #ec4899);
    box-shadow: 0 10px 26px rgba(0,0,0,0.45); transform: rotate(-3deg); transition: transform .25s; }
.nwr-ape:hover { transform: rotate(0) scale(1.04); }
.nwr-ape img { display: block; width: 100%; height: 100%; border-radius: 17px; object-fit: cover; background: #120a24; }
.nwr-t { display: grid; gap: 4px; flex: 1 1 auto; min-width: 0; }
.nwr-eyebrow { font-size: 0.74rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #fde047; }
.nwr-t > b { font-size: 1.16rem; font-weight: 900; line-height: 1.25; }
.nwr-first { font-size: 0.86rem; color: var(--muted); }
.nwr-go { flex: none; display: grid; gap: 8px; justify-items: stretch; min-width: 200px; }
.nwr-wall { text-align: center; font-size: 0.8rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.nwr-wall:hover { color: #fde047; }
.nwr .nwc-wave.is-me { display: none; }   /* on your own page the ribbon already says it is you */

/* ---------- widths ---------- */
@media (max-width: 1100px) { .nwm-row { --bal-cols: 4; } }
@media (max-width: 800px) {
    .nwm-row { --bal-cols: 3; }
    .nwr { flex-wrap: wrap; }
    .nwr-go { min-width: 0; width: 100%; grid-template-columns: 1fr 1fr; }
    .nwr-wall { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .nw-grid, .nw-grid:has(> :only-child), .nw-grid:has(> :nth-child(2):last-child), .nw-grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
    .nw-you { flex-wrap: wrap; padding: 14px 16px; }
    .nw-you .btn { width: 100%; }
    .nw-empty, .nw-next-in { flex-direction: column; text-align: center; padding: 20px 16px; }
    .nw-empty-go { width: 100%; } .nw-empty-go .btn { width: 100%; }
    .nwm-row { flex-wrap: nowrap; justify-content: flex-start; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x mandatory; }
    .nwm-row::-webkit-scrollbar { display: none; }
    .nwm-row > li { flex: 0 0 172px; scroll-snap-align: start; }
    .nw-get { display: none; }
    .nwr { gap: 14px; padding: 14px 16px; }
    .nwr-ape { width: 68px; height: 68px; border-radius: 17px; }
    .nwr-go { grid-template-columns: 1fr; }
    .nwr-t > b { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
    .nw-confetti, .nwc-burst { display: none; }
    .nwc.is-fresh::before, .nwc.is-lit, .nwc-faces img.is-new, .nwc-wave:hover i { animation: none !important; }
    .nwc.is-lit { box-shadow: 0 0 0 3px #fde047, 0 0 40px rgba(250,204,21,0.45); }
    .nwc, .nwm, .nwc-ape img, .nwr-ape, .nwc-wave, .nwc-dc { transition: none; }
    .nwc:hover, .nwm:hover, .nwr-ape:hover, .nwc-wave:hover, .nwc-dc:hover { transform: none; }
    .nwc:hover .nwc-ape img { transform: none; }
}
