/* Check-UI theme layer v2 (cartoon depth + cinematic motion, same Roomix palette). Loaded after app.css / skin.css on
   every page. Only looks change: no layout or behaviour. Turn it off: open any page with ?theme=classic (back on:
   ?theme=checkui), or delete the <link id="checkui-theme"> line. Backup of the site before this layer:
   ../HTTPSmiguel_backup_2026-10-30_pre-checkui
   Animations play for everyone (the OS "reduce motion" switch no longer turns the site static); a visitor can opt
   out with localStorage rx-calm = 1, which adds html.rx-calm. */
:root {
  --cu-outline: #0C141A;
  --cu-text-outline: #11171A;
  --cu-bevel: #241a52;
  --cu-bevel-hot: #8a1046;
  --cu-face-hot-1: #ff7daf;
  --cu-face-hot-2: #e62a72;
  --cu-face-1: #9d7bff;
  --cu-face-2: #6a3fe0;
  --cu-card-1: #2c2462;
  --cu-card-2: #1d1842;
  --cu-checker: repeating-conic-gradient(rgba(0, 0, 0, .07) 0 25%, transparent 0 50%) 0 0 / 18px 18px;
  --cu-pop: cubic-bezier(.34, 1.56, .64, 1);
  --cu-film: cubic-bezier(.16, 1, .3, 1);
  --cu-outline-text: -1.5px -1.5px 0 var(--cu-text-outline), 1.5px -1.5px 0 var(--cu-text-outline), -1.5px 1.5px 0 var(--cu-text-outline),
    1.5px 1.5px 0 var(--cu-text-outline), 0 3px 0 var(--cu-text-outline);
}

/* ================================================================ cinematic frame */
/* Page-to-page cross-fade (Chrome / Edge / Safari with cross-document view transitions; others just navigate). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: cu-vt-out .35s var(--cu-film) both; }
::view-transition-new(root) { animation: cu-vt-in .55s var(--cu-film) both; }
@keyframes cu-vt-out { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes cu-vt-in { from { opacity: 0; transform: scale(1.015); filter: blur(8px); } }

/* Opening shot: the page fades up from black and slightly out of focus. */
main, .site-main, body > .wrap { animation: cu-open 1s var(--cu-film) both; }
@keyframes cu-open { from { opacity: 0; filter: blur(10px) brightness(.4); transform: translateY(14px); } }
.site-header { animation: cu-drop .8s var(--cu-film) both; }
@keyframes cu-drop { from { transform: translateY(-100%); } }

/* Film look: soft vignette + a fine animated grain over everything (never catches clicks). */
html::after {
  content: ""; position: fixed; inset: -50%; z-index: 9998; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: cu-grain 1.2s steps(6) infinite;
}
@keyframes cu-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
html::before {
  content: ""; position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(4, 2, 14, .55) 100%);
}

/* Background faces: much quieter (they were competing with the content). */
body::before { opacity: .028 !important; }
.site-header::before { opacity: .025; }
.rx-tile::before { opacity: .08 !important; }
.rx-discord::before { opacity: .07 !important; }

/* Slow light that sweeps the sky behind the page. */
body::after { animation: cu-sky 18s ease-in-out infinite alternate !important; }
@keyframes cu-sky { from { filter: hue-rotate(0deg) brightness(1); } to { filter: hue-rotate(-14deg) brightness(1.12); } }

/* Scroll reveals: rise out of a blur like a focus pull. */
.reveal { filter: blur(8px); transition: opacity .9s var(--cu-film), transform 1s var(--cu-film), filter .9s var(--cu-film) !important;
  transition-delay: calc(var(--i, 0) * 80ms) !important; }
.reveal.in { filter: none; }
.rx-pop-in { animation: cu-pop-in .7s var(--cu-film) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes cu-pop-in { from { opacity: 0; transform: translateY(26px) scale(.94); filter: blur(6px); } }

/* ================================================================ headings */
h1, h2, h3, .section-title h2, .room-card-title {
  font-weight: 900;
  text-shadow: var(--cu-outline-text);
  letter-spacing: .2px;
}

/* ================================================================ header */
.site-header {
  background: linear-gradient(180deg, #3a2d86, #241c58) !important;
  backdrop-filter: none;
  border-bottom: 3px solid #5b2ab8 !important;
  box-shadow: 0 3px 0 #000, 0 14px 24px -12px rgba(0, 0, 0, .7) !important;
}
.nav-link { border: 2px solid transparent; font-weight: 800; transition: transform .16s var(--cu-pop), background .16s, border-color .16s; }
.nav-link:hover { background: rgba(255, 255, 255, .08); border-color: var(--cu-outline); transform: translateY(-2px) scale(1.05); }
.nav-link.active, .nav-link[aria-current="page"] {
  color: #fff; background: linear-gradient(180deg, var(--cu-face-1), var(--cu-face-2));
  border-color: var(--cu-outline); box-shadow: 0 3px 0 var(--cu-bevel), inset 0 2px 0 rgba(255, 255, 255, .35);
}

/* ================================================================ buttons */
.btn, .tab, .admin-btn, .action {
  border: 3px solid var(--cu-outline) !important;
  font-weight: 900;
  text-shadow: 0 1.5px 0 rgba(0, 0, 0, .55), 0 0 1px rgba(0, 0, 0, .6);
  box-shadow: 0 5px 0 var(--cu-bevel), inset 0 2px 0 rgba(255, 255, 255, .4), inset 0 -3px 0 rgba(0, 0, 0, .18) !important;
  transform-origin: 50% 50%;
  position: relative; overflow: hidden;
  transition: transform .16s var(--cu-pop), box-shadow .1s, filter .16s !important;
}
/* Shine that crosses a button on hover. */
.btn::after, .tab::after, .admin-btn::after {
  content: ""; position: absolute; inset: -2px; pointer-events: none; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); width: 60%;
}
.btn:hover::after, .tab:hover::after, .admin-btn:hover::after { animation: cu-shine .7s var(--cu-film) 1; }
@keyframes cu-shine { to { transform: translateX(260%) skewX(-20deg); } }
.btn:hover:not(:disabled), .tab:hover, .admin-btn:hover, .action:hover { transform: scale(1.05) translateY(-2px); filter: brightness(1.08); }
.btn:active:not(:disabled), .tab:active, .admin-btn:active, .action:active {
  transform: scale(.96) translateY(3px);
  box-shadow: 0 2px 0 var(--cu-bevel), inset 0 2px 0 rgba(255, 255, 255, .3) !important;
}
.btn.primary, .tab.active {
  color: #fff !important;
  background: linear-gradient(180deg, var(--cu-face-hot-1), var(--cu-face-hot-2)) !important;
  box-shadow: 0 5px 0 var(--cu-bevel-hot), inset 0 2px 0 rgba(255, 220, 238, .75), inset 0 -3px 0 rgba(0, 0, 0, .18) !important;
}
.btn.ghost, .tab:not(.active), .admin-btn {
  color: #fff !important;
  background: linear-gradient(180deg, #5a46b8, #3a2c85) !important;
}
.btn.danger, .btn.ghost.danger { background: linear-gradient(180deg, #ff5a7a, #d0103a) !important; color: #fff !important; box-shadow: 0 5px 0 #700010, inset 0 2px 0 rgba(255, 176, 200, .7) !important; }
.btn:disabled { filter: grayscale(.6); box-shadow: 0 3px 0 #2a2a3a !important; }

/* ================================================================ cards */
.card, .room-card, .photo-card, .profile-card, .hero-card, .feature, .discord-banner, .adm-dialog {
  border: 3px solid var(--cu-outline) !important;
  background: linear-gradient(180deg, var(--cu-card-1), var(--cu-card-2)) !important;
  box-shadow: 0 7px 0 #0b0820, inset 0 0 0 2px rgba(157, 123, 255, .22), 0 22px 40px -22px rgba(0, 0, 0, .8) !important;
}
.room-card, .photo-card { transition: transform .22s var(--cu-pop), box-shadow .22s; }
.room-card:hover, .photo-card:hover { transform: translateY(-5px) scale(1.02) rotate(-.4deg); }
.room-cover, .photo-frame, .photo-tile { border: 3px solid var(--cu-outline); }

/* ================================================================ pills, chips (clean capsules, no texture) */
.pill, .profile-chip, .adm-chip, .room-badge {
  border: 2px solid var(--cu-outline) !important;
  font-weight: 900;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.pill.profile-friend {
  color: #fff; background: linear-gradient(180deg, #ff86b6, #e23d7e); text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
  padding: 4px 14px; animation: cu-bob 3.2s ease-in-out infinite;
}
.profile-avatar-level {
  display: inline-flex; align-items: center; gap: 4px; overflow: hidden; white-space: nowrap;
  padding: 3px 11px !important; font-size: 12px; letter-spacing: .4px;
  border: 2px solid #5a2600 !important; font-weight: 900; color: #fff; text-shadow: 0 1px 0 #a24a00;
  background: linear-gradient(180deg, #fff1a8 0%, #ffd047 30%, #ffa425 72%, #f07b12 100%) !important;
  box-shadow: 0 3px 0 #7a3b00, inset 0 2px 0 rgba(255, 255, 255, .75), inset 0 -2px 0 rgba(160, 60, 0, .35), 0 0 14px -2px rgba(255, 190, 60, .7) !important;
}
/* Star chip (level 50+) + a slow glint across the level pill. */
.profile-avatar-level.lv-star { padding-left: 4px !important; }
.profile-avatar-level.lv-star::before {
  content: "★"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  font-size: 10px; line-height: 1; color: #fff7c9; background: radial-gradient(circle at 35% 30%, #ff9b3d, #c14d00);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1.5px #7a3b00; text-shadow: none;
  animation: cu-star-spin 5s ease-in-out infinite;
}
.profile-avatar-level::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%);
  background-size: 250% 100%; animation: cu-glint 4s ease-in-out infinite;
}
@keyframes cu-star-spin { 0%, 80%, 100% { transform: rotate(0) scale(1); } 88% { transform: rotate(180deg) scale(1.2); } 96% { transform: rotate(360deg) scale(1); } }
@keyframes cu-glint { 0%, 60% { background-position: 150% 0; } 85%, 100% { background-position: -60% 0; } }
@keyframes cu-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

/* ================================================================ staff role badge: one cartoon tag, always readable */
.role-badge { perspective: none !important; }
.role-badge .role-tile {
  outline: none !important; border: 2px solid var(--cu-outline);
  background: radial-gradient(120% 100% at 50% 0%, var(--hi), var(--a) 45%, var(--b)) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  box-shadow: 0 3px 0 var(--c), inset 0 2px 0 rgba(255, 255, 255, .55), 0 0 18px -4px var(--glow) !important;
  transform: none !important; animation: cu-badge-wobble 6s ease-in-out infinite;
}
.role-badge .role-tile::before { display: none; }
.role-badge .role-icon { background: #fff !important; filter: drop-shadow(0 1px 0 var(--c)) !important; animation: none !important; }
/* Label stays tucked behind the tile and springs out on hover / focus. */
.role-badge .role-label {
  max-width: 0 !important; opacity: 0 !important; margin-left: -10px !important; padding: 0 !important;
  transform: translateX(-12px) scaleX(.6); transform-origin: left center;
  height: calc(var(--s) - 10px); border: 2px solid var(--cu-outline) !important; border-left: 0 !important;
  border-width: 2px 0 !important;
  color: #fff !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--a) 70%, #fff), var(--b)) !important;
  text-shadow: -1px -1px 0 var(--cu-text-outline), 1px -1px 0 var(--cu-text-outline), -1px 1px 0 var(--cu-text-outline), 1px 1px 0 var(--cu-text-outline), 0 2px 0 var(--cu-text-outline);
  box-shadow: 0 3px 0 var(--c), inset 0 2px 0 rgba(255, 255, 255, .35) !important;
  transition: max-width .45s var(--cu-pop), opacity .2s ease, transform .45s var(--cu-pop), padding .45s var(--cu-pop) !important;
}
.role-badge:hover .role-label, .role-badge:focus-visible .role-label {
  max-width: 220px !important; opacity: 1 !important; padding: 0 14px 0 18px !important; transform: none;
  border-width: 2px 2px 2px 0 !important;
}
.role-badge .role-tile { z-index: 2; }
.role-badge:hover .role-tile, .role-badge:focus-visible .role-tile { animation: cu-badge-pop .55s var(--cu-pop) 1 both !important; }
.role-badge:hover .role-icon { animation: cu-badge-icon .6s var(--cu-pop) 1 !important; }
@keyframes cu-badge-pop { 0% { transform: scale(1); } 35% { transform: scale(1.22) rotate(-10deg); } 65% { transform: scale(.95) rotate(5deg); } 100% { transform: scale(1.06); } }
@keyframes cu-badge-icon { 0% { transform: translateY(0); } 40% { transform: translateY(-4px) scale(1.15); } 100% { transform: none; } }
@keyframes cu-badge-wobble { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-9deg) scale(1.08); } 96% { transform: rotate(6deg) scale(1.04); } }

/* ================================================================ profile: name, bio, stats */
.profile-name {
  color: #fff; text-shadow: var(--cu-outline-text); letter-spacing: .3px;
  font-family: var(--display, inherit); font-size: clamp(28px, 4vw, 42px) !important; line-height: 1.1;
  animation: cu-name-in .9s var(--cu-pop) both;
}
/* Gradient staff names: text-shadow would paint over the clipped gradient, so the outline is a drop-shadow stack. */
.profile-name.staff-name {
  text-shadow: none !important;
  filter: drop-shadow(2px 0 0 var(--cu-text-outline)) drop-shadow(-2px 0 0 var(--cu-text-outline)) drop-shadow(0 2px 0 var(--cu-text-outline))
    drop-shadow(0 -2px 0 var(--cu-text-outline)) drop-shadow(0 3px 0 var(--cu-text-outline)) !important;
  animation: cu-name-in .9s var(--cu-pop) both, role-name 6s ease-in-out .9s infinite alternate !important;
}
@keyframes cu-name-in { from { opacity: 0; transform: translateY(12px) scale(.8); } }
.profile-handle { font-weight: 800; color: #d9ccff; }
.profile-card .profile-name-row { gap: 12px; }
.profile-bio {
  position: relative; margin-top: 16px !important; padding: 14px 18px 14px 22px; font-size: 15px; line-height: 1.65;
  border: 2px solid var(--cu-outline); border-radius: 18px;
  background: linear-gradient(180deg, rgba(25, 18, 58, .82), rgba(18, 13, 42, .82));
  box-shadow: 0 4px 0 #0b0820, inset 0 0 0 1px rgba(157, 123, 255, .25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.profile-bio::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, var(--cu-face-hot-1), var(--cu-face-1));
}
.profile-bio:empty { display: none; }
.profile-stat {
  position: relative; overflow: hidden;
  border: 3px solid var(--cu-outline) !important; border-radius: 18px !important;
  background: linear-gradient(180deg, #3d2f8e, #241b5a) !important;
  box-shadow: 0 5px 0 #0b0820, inset 0 2px 0 rgba(255, 255, 255, .2) !important;
  transition: transform .2s var(--cu-pop);
}
.profile-stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--cu-face-hot-1), var(--cu-face-1), #5ee1ff); }
.profile-stat:hover { transform: translateY(-3px) rotate(-1deg); }
.profile-stat b { font-family: var(--display, inherit); font-size: 26px !important; color: #fff; text-shadow: -1.5px -1.5px 0 var(--cu-text-outline), 1.5px -1.5px 0 var(--cu-text-outline), -1.5px 1.5px 0 var(--cu-text-outline), 1.5px 1.5px 0 var(--cu-text-outline), 0 3px 0 var(--cu-text-outline); }
.profile-stat span { color: #cbbcff !important; font-weight: 800; letter-spacing: .8px !important; }
.profile-lock { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 12px 16px; font-weight: 800; color: #e9e2ff;
  border: 2px solid var(--cu-outline); border-radius: 14px; background: rgba(20, 14, 46, .7); box-shadow: 0 4px 0 #0b0820; }
.profile-lock-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff;
  background: linear-gradient(180deg, var(--cu-face-1), var(--cu-face-2)); border: 2px solid var(--cu-outline); box-shadow: 0 3px 0 var(--cu-bevel); }

/* ================================================================ notifications */
.notif {
  border: 3px solid var(--cu-outline) !important; border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(44, 36, 98, .92), rgba(29, 24, 66, .92)) !important;
  box-shadow: 0 6px 0 #0b0820, inset 0 0 0 2px rgba(157, 123, 255, .16);
  transition: transform .2s var(--cu-pop);
}
.notif:hover { transform: translateY(-3px); }
.notif.unread { position: relative; box-shadow: 0 6px 0 #0b0820, inset 0 0 0 2px rgba(255, 92, 147, .45), 0 0 26px -6px rgba(255, 92, 147, .55); }
.notif.unread::before { content: ""; position: absolute; left: -3px; top: 18px; bottom: 18px; width: 6px; border-radius: 0 6px 6px 0; background: var(--cu-face-hot-1); animation: cu-pulse 1.8s ease-in-out infinite; }
.notif-body a { font-weight: 900; color: #fff; }
.notif.skeleton { border-style: dashed !important; opacity: .6; }
@keyframes cu-pulse { 50% { opacity: .35; } }

/* ================================================================ home marquee: full-bleed, never shows its ends */
.rx-marquee { width: 112vw; margin-left: calc(50% - 56vw) !important; margin-right: 0 !important;
  border-block: 3px solid var(--cu-outline) !important; box-shadow: 0 0 0 3px rgba(255, 92, 147, .55), 0 10px 30px -10px rgba(0, 0, 0, .7);
  background: linear-gradient(90deg, #2b1f68, #3a2290 50%, #2b1f68) !important; }
.rx-marquee span { text-shadow: var(--cu-outline-text); }
html, body { overflow-x: clip; }

/* ================================================================ inputs, toasts */
input, select, textarea {
  border: 3px solid var(--cu-outline) !important;
  background: #120e2a !important;
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, .45) !important;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent) !important; outline: none; box-shadow: inset 0 3px 0 rgba(0, 0, 0, .45), 0 0 0 3px rgba(255, 92, 147, .35) !important; }
.toast { border: 3px solid var(--cu-outline) !important; box-shadow: 0 5px 0 #0b0820 !important; font-weight: 800; animation: cu-pop-in .45s var(--cu-pop) both; }

/* ================================================================ long-form pages (Help, Code of Conduct, Terms, Privacy) */
.doc-hero { text-align: center; padding: 40px 0 10px; }
.doc-hero p { max-width: 62ch; margin: 10px auto 0; color: #d9ccff; font-size: 17px; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 8px; }
.doc-toc a { padding: 8px 14px; border-radius: 999px; font-weight: 900; color: #fff; text-decoration: none;
  border: 2px solid var(--cu-outline); background: linear-gradient(180deg, #5a46b8, #3a2c85); box-shadow: 0 3px 0 var(--cu-bevel); transition: transform .16s var(--cu-pop); }
.doc-toc a:hover { transform: translateY(-2px) scale(1.05); }
.doc-section { margin: 26px 0; padding: 24px 26px; scroll-margin-top: 90px; }
.doc-section h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.doc-section h3 { margin: 18px 0 6px; font-size: 18px; }
.doc-section p, .doc-section li { line-height: 1.7; color: #ece6ff; }
.doc-section ul, .doc-section ol { padding-left: 22px; }
.doc-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; font-size: 22px; text-shadow: none;
  border: 3px solid var(--cu-outline); background: linear-gradient(180deg, var(--cu-face-hot-1), var(--cu-face-hot-2)); box-shadow: 0 4px 0 var(--cu-bevel-hot), inset 0 2px 0 rgba(255, 255, 255, .5); }
.doc-icon.violet { background: linear-gradient(180deg, var(--cu-face-1), var(--cu-face-2)); box-shadow: 0 4px 0 var(--cu-bevel), inset 0 2px 0 rgba(255, 255, 255, .5); }
.doc-icon.teal { background: linear-gradient(180deg, #5ee1c8, #0fa38a); box-shadow: 0 4px 0 #05463b, inset 0 2px 0 rgba(255, 255, 255, .5); }
.doc-icon.gold { background: linear-gradient(180deg, #ffd25e, #ff9a1f); box-shadow: 0 4px 0 #7a3b00, inset 0 2px 0 rgba(255, 255, 255, .5); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 14px 0; }
.doc-tile { padding: 16px 18px; border-radius: 18px; border: 2px solid var(--cu-outline); background: rgba(18, 13, 42, .7); box-shadow: 0 4px 0 #0b0820; }
.doc-tile b { display: block; margin-bottom: 4px; color: #fff; }
.doc-tile.do { box-shadow: 0 4px 0 #05463b, inset 0 0 0 2px rgba(94, 225, 200, .35); }
.doc-tile.dont { box-shadow: 0 4px 0 #700010, inset 0 0 0 2px rgba(255, 90, 122, .35); }
kbd { display: inline-block; min-width: 24px; padding: 1px 8px; border-radius: 8px; font: 800 13px/1.6 inherit; color: #fff; text-align: center;
  border: 2px solid var(--cu-outline); background: linear-gradient(180deg, #5a46b8, #3a2c85); box-shadow: 0 3px 0 var(--cu-bevel); }
details.doc-faq { border: 2px solid var(--cu-outline); border-radius: 16px; background: rgba(18, 13, 42, .7); box-shadow: 0 4px 0 #0b0820; margin: 10px 0; }
details.doc-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 900; list-style: none; }
details.doc-faq summary::after { content: "+"; float: right; font-size: 20px; line-height: 1; transition: transform .2s var(--cu-pop); }
details.doc-faq[open] summary::after { transform: rotate(45deg); }
details.doc-faq > div { padding: 0 18px 14px; }

/* ================================================================ opt-out (localStorage rx-calm = 1) */
html.rx-calm *, html.rx-calm *::before, html.rx-calm *::after { animation: none !important; transition: none !important; }
html.rx-calm .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
html.rx-calm::after { display: none; }

/* Developer banner tools sit under Edit / Share. */
.profile-actions .profile-banner-tools { position: static; transform: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.profile-actions .profile-banner-tools .btn { flex: 1 1 auto; width: auto; font-size: 11.5px; padding: 6px 8px; white-space: nowrap; border-width: 2px !important; }

/* Small badges (photo cards, comments, lists): slimmer label so it fits next to short rows. */
.role-badge:not(.big) .role-label { height: calc(var(--s) - 4px); font-size: 10px !important; margin-left: -7px !important; }
.role-badge:not(.big):hover .role-label, .role-badge:not(.big):focus-visible .role-label { max-width: 150px !important; padding: 0 9px 0 11px !important; }

/* Announcements: soft rows inside the side card, not boxed cards. */
.side-news {
  position: relative; padding: 12px 14px 12px 16px !important; margin-top: 10px; border-radius: 14px;
  border: 2px solid rgba(157, 123, 255, .28) !important; background: rgba(255, 255, 255, .045);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .35);
  transition: transform .2s var(--cu-pop), background .2s;
}
.side-news:first-of-type { padding-top: 12px !important; margin-top: 0; }
.side-news::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #ff86b6, #8b5cff); }
.side-news:hover { transform: translateX(3px); background: rgba(255, 255, 255, .08); }
.side-news b { text-shadow: 0 1.5px 0 rgba(0, 0, 0, .5); }
.side-news time { display: block; margin-top: 6px; font-size: 11.5px; }

/* ---- Performance layer (2026-10-30: site was "extremely laggy").
   Every frame the browser was re-painting the whole screen: an animated film grain blended over the page
   (mix-blend-mode on a 200% layer), a sky gradient animating its filter, and backdrop-filter blurs re-sampling the
   animated star canvas behind them. Same look, compositor-only work now: animations move/fade layers, never repaint. */
html::after { animation: none; mix-blend-mode: normal; inset: 0; opacity: .03; }
body::before { will-change: transform; }
body::after { animation: cu-sky-fade 18s ease-in-out infinite alternate !important; filter: none !important; will-change: opacity; }
@keyframes cu-sky-fade { from { opacity: .82; } to { opacity: 1; } }
.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(14, 12, 32, .97), rgba(14, 12, 32, .9)); }
.site-footer, .btn.ghost, .room-cover .room-badge, .room-badge, .photo-tile-badge, .nav-backdrop, .lightbox { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lightbox { background: rgba(4, 5, 12, .94); }
#rx-stars { will-change: transform; }
