/* RIVERSOFT shared visual system.
 * Load AFTER the page stylesheet. The recovered bundles stay byte-for-byte intact.
 * rs-app scopes the legacy adapter; uploaded documents never load this stylesheet.
 */
:root {
  --rs-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --rs-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --rs-bg: #f7f8fc;
  --rs-surface: #ffffff;
  --rs-subtle: #eef1f8;
  --rs-text: #20273b;
  --rs-muted: #5f6b82;
  --rs-line: #e1e6ef;
  --rs-accent: #4259e9;
  --rs-accent-hover: #3448cb;
  --rs-accent-soft: #edf0ff;
  --rs-on-accent: #ffffff;
  --rs-danger: #a72d42;
  --rs-danger-bg: #fff0f2;
  --rs-danger-line: #efc6ce;
  --rs-success: #256448;
  --rs-success-bg: #edf8f1;
  --rs-success-line: #bfddcd;
  --rs-warning: #805c1b;
  --rs-warning-bg: #fff8e8;
  --rs-warning-line: #e4d4a6;
  --rs-radius-sm: 10px;
  --rs-radius: 16px;
  --rs-shadow: 0 4px 18px rgb(32 39 59 / 4%);
  --rs-shadow-hover: 0 12px 28px rgb(32 39 59 / 8%);
  --rs-width: 1280px;
  --rs-gutter: 40px;
  --rs-header-height: 86px;
  --muted: var(--rs-muted);
  --line: var(--rs-line);
  --primary: var(--rs-accent);
  color-scheme: light;
  font-family: var(--rs-font);
  background: var(--rs-bg);
  color: var(--rs-text);
}
html { background: var(--rs-bg); color-scheme: light; }
body.rs-plaza, body.rs-app {
  margin: 0;
  background: var(--rs-bg);
  color: var(--rs-text);
  font-family: var(--rs-font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.rs-plaza *, .rs-app * { box-sizing: border-box; }
.rs-plaza :is(button, input, select, textarea), .rs-app :is(button, input, select, textarea) { font-family: inherit; }
.rs-plaza :focus-visible, .rs-app :focus-visible {
  outline: 3px solid var(--rs-accent);
  outline-offset: 3px;
}
.rs-plaza :is(input, textarea)::placeholder, .rs-app :is(input, textarea)::placeholder { color: var(--rs-muted); opacity: 1; }
.rs-plaza :is(button, input, select, textarea) { border-color: var(--rs-line); border-radius: var(--rs-radius-sm); }
.rs-plaza button, .rs-app button { min-height: 44px; }
.rs-plaza button:disabled, .rs-app button:disabled { cursor: not-allowed; opacity: .5; }
.rs-plaza input, .rs-app input { accent-color: var(--rs-accent); }
.rs-plaza ::selection, .rs-app ::selection { background: #dce2ff; color: var(--rs-text); }
.rs-plaza :is(h1, h2, h3), .rs-app :is(h1, h2, h3) { text-wrap: balance; }

/* Shared brand, page frame and navigation. */
.header { background: var(--rs-surface); border-bottom: 1px solid var(--rs-line); }
.nav-shell {
  max-width: var(--rs-width);
  /* Include the parent header's one-pixel divider in the shared height. */
  min-height: calc(var(--rs-header-height) - 1px);
  padding: 16px var(--rs-gutter);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.header a { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 800; letter-spacing: .5px; color: var(--rs-text); }
.brand-logo { display: block; width: 38px; height: 38px; flex-shrink: 0; object-fit: contain; border-radius: 12px; }
.brand-note { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; line-height: 1.5; letter-spacing: 1px; color: var(--rs-muted); }
.plaza-nav { color: var(--rs-accent); font-size: 14px; font-weight: 600; }
.creator-entry {
  margin-left: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 15px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-sm);
  background: var(--rs-surface);
  color: var(--rs-text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.creator-entry:hover { background: var(--rs-accent-soft); border-color: #bbc5f8; color: var(--rs-accent); }
.footer {
  max-width: calc(var(--rs-width) - var(--rs-gutter) * 2);
  margin: 24px auto 0;
  padding: 28px 0 32px;
  border-top: 1px solid var(--rs-line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--rs-muted);
  font-size: 12px;
  line-height: 1.8;
}
.footer-note { display: block; color: var(--rs-muted); font-size: 11px; }
.footer > :last-child { text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; margin-bottom: 3px; }
.footer-links a { color: var(--rs-accent); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.skip {
  position: fixed;
  z-index: 200;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  border-radius: var(--rs-radius-sm);
  background: var(--rs-surface);
  color: var(--rs-accent);
}
.skip:focus { top: 12px; }

/* Plaza: retain discovery-first layout and real project data. */
.rs-plaza #main { max-width: var(--rs-width); padding: 40px var(--rs-gutter); }
.rs-plaza .hero p { font-size: 15px; }
.rs-plaza .hero-note { background: var(--rs-accent-soft); border-color: var(--rs-line); color: var(--rs-muted); }
.rs-plaza .hero-note b { color: var(--rs-text); }
.rs-plaza .chip { color: var(--rs-muted); min-height: 44px; }
.rs-plaza .chip:hover { background: var(--rs-subtle); }
.rs-plaza .chip[aria-pressed=true] { background: var(--rs-accent); color: var(--rs-on-accent); }
.rs-plaza .search-wrap input { min-height: 44px; border-color: var(--rs-line); }
.rs-plaza .card { border-color: var(--rs-line); border-radius: var(--rs-radius); box-shadow: var(--rs-shadow); }
.rs-plaza .card:hover { transform: translateY(-3px); box-shadow: var(--rs-shadow-hover); }
.rs-plaza .card-heading { align-items: flex-start; gap: 4px; }
.rs-plaza .card h3 { min-width: 0; overflow-wrap: anywhere; line-height: 1.6; padding-top: 9px; }
.rs-plaza .favorite { flex-shrink: 0; width: 44px; height: 44px; margin: 0 -8px 0 0; border-radius: var(--rs-radius-sm); }
.rs-plaza .favorite:hover { background: var(--rs-accent-soft); }
.rs-plaza .description { color: var(--rs-muted); font-size: 13px; }
.rs-plaza .card-meta { color: var(--rs-muted); font-size: 11px; gap: 10px; }
.rs-plaza .card-meta > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.rs-plaza .badge { background: var(--rs-subtle); color: var(--rs-muted); }
.rs-plaza .card-bottom { border-color: var(--rs-line); color: var(--rs-muted); }
.rs-plaza .open-link { color: var(--rs-accent); min-height: 44px; display: inline-flex; align-items: center; }
.rs-plaza .listing-head > .muted { font-size: 12px; }
.rs-plaza .empty, .rs-plaza .loading { background: var(--rs-surface); border-color: #c5cede; border-radius: var(--rs-radius); }
.rs-plaza .empty h3 { color: var(--rs-text); }
.rs-plaza .secondary { background: var(--rs-surface); color: var(--rs-accent); border-color: var(--rs-line); }
.rs-plaza .toast { background: var(--rs-text); }

/* Recovered hosting application: semantic aliases, no bundle edits. */
.rs-app .host-app {
  --h-bg: var(--rs-bg);
  --h-surface: var(--rs-surface);
  --h-line: var(--rs-line);
  --h-text: var(--rs-text);
  --h-muted: var(--rs-muted);
  --h-accent: var(--rs-accent);
  font-family: var(--rs-font);
  display: flex;
  flex-direction: column;
}
.rs-app .host-header {
  width: 100%;
  height: auto;
  min-height: var(--rs-header-height);
  max-width: var(--rs-width);
  padding: 16px var(--rs-gutter);
  gap: 24px;
  background: var(--rs-surface);
  border-bottom-color: var(--rs-line);
}
.rs-app .host-app { background: linear-gradient(var(--rs-surface) 0 var(--rs-header-height), var(--rs-bg) var(--rs-header-height)); }
.rs-app .host-brand { font-size: 19px; letter-spacing: .5px; gap: 11px; }
.rs-app .host-brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 12px; }
.rs-app .host-brand small { font: 10px/1.5 var(--rs-font); letter-spacing: 1px; margin-top: 3px; }
.rs-app .host-header nav { gap: 24px; font-size: 14px; }
.rs-app .host-nav-publish { min-height: 44px; border-color: var(--rs-line); border-radius: var(--rs-radius-sm); font-size: 13px; font-weight: 600; background: var(--rs-surface); }
.rs-app .host-nav-publish:hover { background: var(--rs-accent-soft); border-color: #bbc5f8; }
.rs-app .host-lang { padding: 8px; border-radius: var(--rs-radius-sm); }
.rs-app .host-lang:hover { background: var(--rs-subtle); }
.rs-app .host-app main { width: 100%; max-width: var(--rs-width); padding: 0 var(--rs-gutter); flex: 1; }
.rs-app :is(.host-dashboard, .host-share, .host-docs) { padding-top: 40px; padding-bottom: 48px; }
.rs-app :is(.host-dashboard, .host-share, .host-docs) h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -1px; line-height: 1.35; }
.rs-app .host-eyebrow { font: 600 11px/1.7 var(--rs-font); letter-spacing: 1.6px; color: var(--rs-accent); }
.rs-app :is(.host-panel, .host-card, .host-player, .host-empty) { background: var(--rs-surface); border-color: var(--rs-line); border-radius: var(--rs-radius); box-shadow: var(--rs-shadow); }
.rs-app .host-panel { padding: 26px; }
.rs-app .host-panel h2 { font-size: 21px; }
.rs-app .host-panel h3 { font-size: 17px; }
.rs-app .host-play-gate h2 { font-size: 24px; line-height: 1.4; color: var(--rs-text); }
.rs-app .host-card:hover { border-color: #bbc5f8; box-shadow: var(--rs-shadow-hover); }
.rs-app .host-btn { min-height: 44px; border-radius: var(--rs-radius-sm); }
/* The recovered stylesheet marks primary foregrounds !important. */
.rs-app .host-primary { color: var(--rs-on-accent) !important; background: var(--rs-accent); border-color: var(--rs-accent); }
.rs-app .host-primary:hover { background: var(--rs-accent-hover); border-color: var(--rs-accent-hover); }
.rs-app .host-secondary { color: var(--rs-accent); background: var(--rs-surface); border-color: var(--rs-line); }
.rs-app .host-secondary:hover { background: var(--rs-accent-soft); border-color: #bbc5f8; }
.rs-app :is(.host-upload-zone, .host-launchboard, .host-file, .host-paths, .host-play-gate) { background: var(--rs-accent-soft); border-color: #c4cdf4; color: var(--rs-muted); }
.rs-app .host-upload-zone { border-radius: var(--rs-radius-sm); }
.rs-app .host-upload-zone > div { flex-wrap: wrap; justify-content: center; }
.rs-app .host-upload-zone strong { color: var(--rs-text); }
.rs-app :is(.host-file-button, .host-token-once button) { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--rs-radius-sm); background: var(--rs-surface); color: var(--rs-accent); border-color: #c4cdf4; }
.rs-app .host-file-button:hover { background: var(--rs-subtle); }
.rs-app .host-step { border-color: #c4cdf4; background: var(--rs-accent-soft); }
.rs-app .host-publish-form input:not([type=file]):not([type=checkbox]),
.rs-app .host-publish-form select,
.rs-app .host-publish-form textarea,
.rs-app .host-report-form textarea,
.rs-app .host-token-once textarea {
  background: var(--rs-surface);
  color: var(--rs-text);
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-sm);
  min-height: 44px;
}
.rs-app .host-consent input { accent-color: var(--rs-accent); }
.rs-app :is(.host-file-list, .host-version-list, .host-report-text, .host-guide dl div) { border-color: var(--rs-line); }
.rs-app :is(.host-file-list, .host-version-list) { background: var(--rs-subtle); border-radius: var(--rs-radius-sm); }
.rs-app :is(.host-guide dd, .host-upload-zone strong, .host-board-bottom strong) { color: var(--rs-text); }
.rs-app :is(.host-guide a, .host-guide > div > svg, .host-play-gate > svg, .host-paths > a > svg:first-child) { color: var(--rs-accent); }
.rs-app :is(.host-slug-input > span, .host-card-info small, .host-hero-notes, .host-board-top, .host-board-caption, .host-board-bottom p, .host-file small) { color: var(--rs-muted); }
.rs-app :is(.host-pagination, .host-row-actions, .host-token-row, .host-version-list, .host-share-note) button { background: var(--rs-surface); border-color: var(--rs-line); color: var(--rs-accent); border-radius: var(--rs-radius-sm); min-height: 44px; }
.rs-app :is(.host-pagination, .host-row-actions, .host-token-row, .host-version-list) button:hover { background: var(--rs-accent-soft); }
.rs-app .host-row-actions .host-danger { background: var(--rs-danger-bg); border-color: var(--rs-danger-line); color: var(--rs-danger); }
.rs-app .host-managed-row > div:first-child { min-width: 0; }
.rs-app .host-token-once { background: var(--rs-warning-bg); color: var(--rs-warning); border-color: var(--rs-warning-line); overflow-wrap: anywhere; }
.rs-app .host-error { background: var(--rs-danger-bg); color: var(--rs-danger); border-color: var(--rs-danger-line); border-radius: var(--rs-radius-sm); }
.rs-app .host-success { background: var(--rs-success-bg); color: var(--rs-success); border-color: var(--rs-success-line); border-radius: var(--rs-radius-sm); }
.rs-app .host-safety { background: var(--rs-subtle); color: var(--rs-muted); border-color: var(--rs-line); border-radius: var(--rs-radius-sm); }
.rs-app :is(.host-tag, .host-filters button[aria-pressed=true]) { background: var(--rs-accent-soft); color: var(--rs-accent); border-color: #c4cdf4; }
.rs-app .host-empty > svg { color: var(--rs-muted); }
.rs-app .host-card-visual { background: #eae6ff; color: #7564c4 !important; }
.rs-app .host-card-tool .host-card-visual { background: #e6edfc; color: #4c68ac !important; }
.rs-app .host-card-website .host-card-visual { background: #e6eadd; color: #637653 !important; }
.rs-app .host-card-slug { color: var(--rs-text); }
.rs-app .host-card-launch { border-color: #ffffff; background: #ffffff80; }
.rs-app .host-docs pre, .rs-app .host-terminal { background: var(--rs-subtle); color: var(--rs-text); border-color: var(--rs-line); border-radius: var(--rs-radius-sm); }
.rs-app .host-docs pre { font-family: var(--rs-mono); }
.rs-app .host-docs blockquote { color: var(--rs-text); }
.rs-app .host-terminal :is(p, code) { color: var(--rs-muted); }
.rs-app .host-orbit { border-color: #c4cdf4; box-shadow: 0 0 0 5px var(--rs-accent-soft); }
.rs-app .host-footer { width: calc(100% - var(--rs-gutter) * 2); max-width: calc(var(--rs-width) - var(--rs-gutter) * 2); margin: 0 auto; font: 12px/1.8 var(--rs-font); color: var(--rs-muted); }
.rs-app .host-footer > span:first-child { color: var(--rs-text); }
.rs-app .host-skip { background: var(--rs-surface); border-radius: var(--rs-radius-sm); color: var(--rs-accent) !important; }

/* Recovered account/admin utility adapter. Keep layout and interactions intact. */
.rs-app .font-body, .rs-app .font-display { font-family: var(--rs-font); }
.rs-app #root > main > :is(video[aria-hidden=true], div[aria-hidden=true]) { display: none; }
.rs-app #root > .min-h-screen > .pointer-events-none { display: none; }
.rs-app #root > .min-h-screen { min-height: calc(100svh - var(--rs-header-height)); }
.rs-app .bg-black, .rs-app .bg-slate-950 { background: var(--rs-bg); }
.rs-app :is(.bg-slate-900, [class~="bg-slate-950/80"], [class~="bg-slate-950/90"], [class~="bg-white/[0.04]"], [class~="bg-white/[0.035]"]) { background: var(--rs-surface); }
.rs-app :is([class~="bg-white/5"], [class~="bg-white/10"], [class~="bg-white/15"], [class~="bg-white/[0.025]"], [class~="bg-slate-950/40"], [class~="bg-slate-950/50"]) { background: var(--rs-subtle); }
.rs-app :is(.text-white, .text-slate-100, .text-slate-200, .text-black, .text-slate-950) { color: var(--rs-text); }
.rs-app :is(.text-slate-300, .text-slate-400, .text-slate-500, [class~="text-white/45"], [class~="text-white/50"], [class~="text-white/55"], [class~="text-white/60"], [class~="text-white/65"], [class~="text-white/70"], [class~="text-white/75"], [class~="text-white/80"]) { color: var(--rs-muted); }
.rs-app :is([class~="border-white/10"], [class~="border-white/15"], [class~="border-white/20"]), .rs-app [class~="divide-white/10"] > :not([hidden]) ~ :not([hidden]) { border-color: var(--rs-line); }
.rs-app .liquid-glass, .rs-app .liquid-glass-strong {
  background: var(--rs-surface);
  background-blend-mode: normal;
  border: 1px solid var(--rs-line);
  box-shadow: var(--rs-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.rs-app .liquid-glass::before, .rs-app .liquid-glass-strong::before { content: none; }
.rs-app .liquid-glass-strong { border-radius: var(--rs-radius); }
.rs-app :is(.rounded-2xl, .rounded-3xl) { border-radius: var(--rs-radius); }
.rs-app :is(button, a).rounded-full { border-radius: var(--rs-radius-sm); }
.rs-app input:not([type=file]):not([type=checkbox]):not([type=radio]), .rs-app textarea, .rs-app select {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  border-radius: var(--rs-radius-sm);
  border: 1px solid var(--rs-line);
  background: var(--rs-surface);
  color: var(--rs-text);
}
.rs-app input:not([type=file]):not([type=checkbox]):not([type=radio]), .rs-app textarea { width: 100%; }
.rs-app :is(.text-cyan-100, .text-cyan-200) { color: var(--rs-accent); }
.rs-app :is([class~="bg-cyan-300/10"], [class~="bg-cyan-400/10"]) { background: var(--rs-accent-soft); }
.rs-app :is([class~="border-cyan-300/30"], [class~="ring-cyan-200/20"], [class~="ring-cyan-300/20"]) { border-color: #c4cdf4; --tw-ring-color: #c4cdf4; }
.rs-app :is(button, a).bg-white, .rs-app .bg-cyan-300 { background: var(--rs-accent); color: var(--rs-on-accent); border-color: var(--rs-accent); }
.rs-app :is(button, a).bg-white:hover, .rs-app .bg-cyan-300:hover { background: var(--rs-accent-hover); color: var(--rs-on-accent); }
.rs-app :is(.text-red-50, .text-red-100, .text-red-200, .text-rose-100, .text-rose-200, .text-rose-300) { color: var(--rs-danger); }
.rs-app :is([class~="bg-red-500/15"], [class~="bg-red-500/20"], [class~="bg-rose-400/10"]) { background: var(--rs-danger-bg); }
.rs-app :is([class~="border-red-400/30"], [class~="border-red-500/30"], [class~="border-rose-300/20"]) { border-color: var(--rs-danger-line); }
.rs-app :is(.text-emerald-100, .text-emerald-200) { color: var(--rs-success); }
.rs-app :is([class~="bg-emerald-400/10"], [class~="bg-emerald-400/15"], [class~="bg-emerald-500/15"]) { background: var(--rs-success-bg); color: var(--rs-success); }
.rs-app :is([class~="border-emerald-300/20"], [class~="border-emerald-300/25"], [class~="border-emerald-400/30"]) { border-color: var(--rs-success-line); }
.rs-app [class~="ring-white/10"] { --tw-ring-color: var(--rs-line); }
.rs-app [class~="ring-rose-300/20"] { --tw-ring-color: var(--rs-danger-line); }
.rs-app [class~="ring-emerald-300/20"] { --tw-ring-color: var(--rs-success-line); }
.rs-app [class~="hover:bg-white/10"]:hover, .rs-app [class~="hover:bg-white/15"]:hover { background: var(--rs-accent-soft); color: var(--rs-accent); }
.rs-app [class~="hover:text-white"]:hover, .rs-app [class~="hover:text-white/80"]:hover { color: var(--rs-accent); }
.rs-app [class~="hover:bg-white/[0.025]"]:hover { background: var(--rs-subtle); }
.rs-app .shadow-xl { box-shadow: var(--rs-shadow); }
.rs-app .shadow-2xl { box-shadow: var(--rs-shadow-hover); }
.rs-app img[src^="https://cdn.simpleicons.org/"] { filter: brightness(0) saturate(100%); opacity: .7; }
.rs-app #root > main .liquid-glass-strong :is(h1, h2) { letter-spacing: -.5px; }
.rs-app #root > main > section { max-width: var(--rs-width); }
.rs-app #root > main > section.min-h-screen { min-height: calc(100svh - var(--rs-header-height)); }
.rs-app #root > main .grid > * { min-width: 0; }
.rs-app #root > main h1, .rs-app #root > main p, .rs-app .host-share-note { overflow-wrap: anywhere; }
/* Hosting routes already render their own matching header/footer. */
.rs-app:has(.host-app) > .rs-account-header,
.rs-app:has(.host-app) > .rs-account-footer,
.rs-app:has(.host-app) > .rs-account-skip { display: none; }

@media (max-width: 1279px) {
  .footer { margin-left: var(--rs-gutter); margin-right: var(--rs-gutter); }
}
@media (max-width: 820px) {
  :root { --rs-gutter: 24px; }
  .nav-shell { gap: 24px; }
  .rs-app .host-header nav { gap: 12px; }
  .rs-app .host-publish-layout { grid-template-columns: minmax(0, 1fr); }
  .rs-app .host-managed-row { align-items: flex-start; flex-direction: column; }
  .rs-app .host-panel { padding: 22px; }
}
@media (max-width: 700px) {
  .rs-app .host-header { gap: 12px; }
  .rs-app .host-brand { font-size: 15px; gap: 8px; }
  .rs-app .host-brand img { width: 32px; height: 32px; }
  .rs-app .host-brand small { display: none; }
  .rs-app .host-header nav { gap: 6px; }
  .rs-app .host-nav-publish { font-size: 12px; padding: 8px 10px; }
  .rs-app :is(input, select, textarea), .rs-plaza .search-wrap input { font-size: 16px; }
  .rs-app :is(.host-dashboard, .host-share, .host-docs) { padding-top: 28px; padding-bottom: 36px; }
  .rs-app .host-docs pre { font-size: 12px; }
  .rs-app .host-token-row { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  :root { --rs-gutter: 16px; --rs-header-height: 76px; }
  .nav-shell { gap: 8px; padding: 12px var(--rs-gutter); }
  .brand { font-size: 15px; gap: 8px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-note, .plaza-nav { display: none; }
  .creator-entry { padding: 8px 10px; font-size: 12px; gap: 6px; }
  .rs-plaza #main { padding: 28px var(--rs-gutter); }
  .rs-plaza .hero p { font-size: 13px; }
  .rs-plaza .categories { justify-content: flex-start; gap: 4px; }
  .rs-plaza .chip { font-size: 12px; padding: 9px 10px; }
  .rs-plaza .listing-head { align-items: flex-start; }
  .rs-plaza .listing-head small { display: block; margin: 4px 0 0; }
  .rs-plaza .card h3 { font-size: 14px; }
  .rs-plaza .card-bottom { flex-wrap: wrap; }
  .footer { flex-direction: column; gap: 10px; }
  .footer > :last-child { text-align: left; }
  .footer-links { justify-content: flex-start; gap: 4px 14px; }
  .rs-app .host-header { padding: 12px var(--rs-gutter); }
  .rs-app .host-header nav > a:nth-child(2) { display: none; }
  .rs-app .host-header nav { gap: 2px; }
  .rs-app .host-lang { padding: 8px 5px; }
  .rs-app .host-panel, .rs-app .host-docs .host-panel { padding: 20px; }
  .rs-app .liquid-glass-strong { padding: 24px; }
  .rs-app .host-upload-zone { padding: 22px 12px; }
  .rs-app .host-panel-heading { align-items: flex-start; }
  .rs-app .host-form-row { grid-template-columns: minmax(0, 1fr); }
  .rs-app .host-auth-prompt h1 { font-size: 28px; }
  .rs-app .host-footer { font-size: 11px; }
}
@media (max-width: 370px) {
  .rs-plaza .grid { grid-template-columns: minmax(0, 1fr); }
  .rs-plaza .cover { height: 165px; }
  .rs-plaza .listing-head { flex-wrap: wrap; gap: 8px; }
  .rs-app .host-brand { font-size: 14px; }
  .rs-app .host-nav-publish { font-size: 11px; padding: 8px; gap: 4px; }
  .rs-app .host-file-button { font-size: 11px; }
  .rs-app .host-pagination { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-plaza *, .rs-app * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .rs-plaza .card:hover { transform: none; }
}
