.ludere-user-page,
.ludere-submit-page,
.ludere-my-submissions-page,
.ludere-settings-page {
  --ludere-panel: rgba(255, 255, 255, 0.94);
  --ludere-panel-soft: rgba(241, 245, 249, 0.86);
  --ludere-line: rgba(71, 85, 105, 0.18);
  --ludere-line-bright: rgba(37, 99, 235, 0.38);
  --ludere-text: #0f172a;
  --ludere-muted: #475569;
  --ludere-blue: #3b82f6;
  --ludere-green: #10b981;
  --ludere-yellow: #f59e0b;
  --ludere-pink: #f43f5e;
  --ludere-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  color: var(--ludere-text);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-user-page,
:is(.dark, [data-color-scheme="dark"]) .ludere-submit-page,
:is(.dark, [data-color-scheme="dark"]) .ludere-my-submissions-page,
:is(.dark, [data-color-scheme="dark"]) .ludere-settings-page {
  --ludere-panel: rgba(30, 41, 59, 0.88);
  --ludere-panel-soft: rgba(15, 23, 42, 0.72);
  --ludere-line: rgba(148, 163, 184, 0.22);
  --ludere-line-bright: rgba(59, 130, 246, 0.68);
  --ludere-text: #f8fafc;
  --ludere-muted: #a7b5ce;
  --ludere-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.ludere-user-page *,
.ludere-user-page *::before,
.ludere-user-page *::after,
.ludere-submit-page *,
.ludere-submit-page *::before,
.ludere-submit-page *::after,
.ludere-my-submissions-page *,
.ludere-my-submissions-page *::before,
.ludere-my-submissions-page *::after,
.ludere-settings-page *,
.ludere-settings-page *::before,
.ludere-settings-page *::after {
  box-sizing: border-box;
}

.ludere-user-page a,
.ludere-submit-page a,
.ludere-my-submissions-page a,
.ludere-settings-page a {
  color: inherit;
  text-decoration: none;
}

[data-admin-only][hidden] {
  display: none !important;
}

.ludere-user-page [hidden],
.ludere-submit-page [hidden],
.ludere-my-submissions-page [hidden],
.ludere-settings-page [hidden] {
  display: none !important;
}

.ludere-user-page button,
.ludere-user-page input,
.ludere-user-page textarea,
.ludere-user-page select,
.ludere-submit-page button,
.ludere-submit-page input,
.ludere-submit-page textarea,
.ludere-submit-page select,
.ludere-my-submissions-page button,
.ludere-my-submissions-page input,
.ludere-my-submissions-page textarea,
.ludere-my-submissions-page select,
.ludere-settings-page button,
.ludere-settings-page input,
.ludere-settings-page textarea,
.ludere-settings-page select {
  font: inherit;
}

.ludere-user-page button,
.ludere-submit-page button,
.ludere-my-submissions-page button,
.ludere-settings-page button {
  cursor: pointer;
}

.ludere-page-actions {
  display: none;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.ludere-mobile-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  color: var(--ludere-blue);
  background: var(--ludere-panel);
}

.ludere-dashboard {
  display: grid;
  grid-template-columns: 224px minmax(560px, 1fr) 344px;
  gap: 16px;
  align-items: start;
}

.ludere-panel {
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--ludere-shadow);
}

.ludere-sidebar {
  position: sticky;
  top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow: auto;
  padding: 8px 16px 16px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.ludere-user-page :is(.ludere-sidebar, .ludere-right-rail, .ludere-drawer) > .w-full {
  color: var(--ludere-text) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid var(--ludere-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--ludere-shadow) !important;
}

.ludere-user-page :is(.ludere-sidebar, .ludere-right-rail, .ludere-drawer) > .w-full :is(h1, h2, h3, h4, p, span, li, a, label) {
  color: inherit !important;
}

.ludere-user-page :is(.ludere-sidebar, .ludere-right-rail, .ludere-drawer) > .w-full input {
  color: var(--ludere-text) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid var(--ludere-line) !important;
}

.ludere-user-page :is(.ludere-sidebar, .ludere-right-rail, .ludere-drawer) > .w-full input::placeholder {
  color: var(--ludere-muted) !important;
}

.ludere-user-page .ludere-sidebar > .w-full {
  display: none !important;
}

.ludere-side-nav {
  display: grid;
  gap: 6px;
}

.ludere-side-nav a,
.ludere-side-nav button {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 14px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  color: #334155;
  background: transparent;
  text-align: left;
}

.ludere-side-nav a.active,
.ludere-side-nav a:hover,
.ludere-side-nav button:hover {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.14);
}

.ludere-side-nav a > i,
.ludere-side-nav button > i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  line-height: 1;
}

.ludere-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 999px;
  color: #1e3a8a;
  background: rgba(59, 130, 246, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.ludere-side-group {
  margin: 20px 0 8px;
  padding: 16px 0 0;
  border-top: 1px solid var(--ludere-line);
  color: var(--ludere-muted);
  font-size: 14px;
}

.ludere-side-nav.compact a,
.ludere-side-nav.compact button {
  min-height: 42px;
}

.ludere-welcome-card {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.86);
}

.ludere-mage-art {
  display: block;
  width: 100%;
  height: 96px;
  margin-bottom: 12px;
  border-radius: 8px;
  object-fit: cover;
  image-rendering: pixelated;
}

.ludere-welcome-card h2 {
  margin: 0 0 8px;
  color: var(--ludere-text);
  font-size: 18px;
  font-weight: 800;
}

.ludere-welcome-card p {
  margin: 0 0 16px;
  color: var(--ludere-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ludere-content {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 16px;
}

.ludere-command-center {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 0;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.9));
}

.ludere-command-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.ludere-command-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ludere-command-actions a,
.ludere-command-actions button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  color: var(--ludere-text);
  background: rgba(255, 255, 255, 0.76);
  text-align: left;
}

.ludere-command-actions a.primary {
  color: #eff6ff;
  border-color: rgba(56, 189, 248, 0.32);
  background: linear-gradient(135deg, #2563eb, #0891b2);
}

.ludere-command-actions i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
}

.ludere-command-actions .primary i {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.16);
}

.ludere-command-actions strong,
.ludere-command-actions small {
  display: block;
  overflow-wrap: anywhere;
}

.ludere-command-actions small {
  margin-top: 4px;
  color: var(--ludere-muted);
  font-size: 13px;
}

.ludere-command-actions .primary small {
  color: #dbeafe;
}

.ludere-action-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.ludere-action-strip article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 12px;
  align-items: start;
  min-width: 0;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.82);
}

.ludere-action-strip article > div {
  min-width: 0;
}

.ludere-action-strip strong,
.ludere-action-strip small {
  display: block;
}

.ludere-action-strip strong {
  color: var(--ludere-text);
  font-size: 22px;
  line-height: 1;
}

.ludere-action-strip small {
  margin-top: 4px;
  color: var(--ludere-muted);
  font-size: 13px;
}

.ludere-action-strip a,
.ludere-action-strip button {
  grid-column: 2;
  justify-self: end;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 54px;
  padding: 0 10px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 6px;
  color: #1d4ed8;
  background: rgba(239, 246, 255, 0.88);
  font-weight: 900;
}

.ludere-profile-card {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 220px;
  padding: 28px 24px;
}

.ludere-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ludere-profile-copy h1,
.ludere-submit-editor h1 {
  margin: 0;
  color: var(--ludere-text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.18;
}

.ludere-handle,
.ludere-profile-copy p {
  margin: 8px 0;
  color: var(--ludere-muted);
}

.ludere-role-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 6px;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
  font-weight: 900;
}

.ludere-role-pill.admin {
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(217, 119, 6, 0.92));
}

.ludere-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 28px 0 0;
  color: #334155;
}

.ludere-profile-meta div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ludere-profile-meta dt,
.ludere-profile-meta dd {
  margin: 0;
}

.ludere-ok-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--ludere-green);
  vertical-align: -2px;
}

.ludere-pixel-avatar {
  flex: 0 0 auto;
  display: inline-block;
  border-radius: 50%;
  border: 3px solid #e7edff;
  object-fit: cover;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35);
  image-rendering: pixelated;
}

.ludere-pixel-avatar.large {
  width: 112px;
  height: 112px;
}

.ludere-submit-banner {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 28px;
  border-color: var(--ludere-line-bright);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(30, 64, 175, 0.88)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 8px);
}

.ludere-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #93c5fd;
  font-size: 24px;
  font-weight: 900;
}

.ludere-eyebrow i {
  display: grid;
  place-items: center;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0;
  line-height: 1;
}

.ludere-submit-banner h2 {
  margin: 0 0 10px;
  color: #f8fbff;
  font-size: 28px;
  font-weight: 900;
}

.ludere-submit-banner p {
  color: #dbeafe;
}

.ludere-primary-button,
.ludere-ghost-button,
.ludere-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 900;
}

.ludere-primary-button {
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.ludere-primary-button:disabled,
.ludere-ghost-button:disabled,
.ludere-text-button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.ludere-ghost-button {
  color: #1d4ed8;
  background: rgba(239, 246, 255, 0.92);
  border-color: rgba(59, 130, 246, 0.22);
}

.ludere-text-button {
  width: 100%;
  color: #60a5fa;
  background: transparent;
  border: 0;
}

.ludere-text-button.inline {
  width: auto;
  padding: 0;
}

.ludere-quick-links {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  color: #bfdbfe;
}

.ludere-quick-links a,
.ludere-section-head a,
.ludere-tip-card a,
.ludere-norm {
  color: #60a5fa;
}

.ludere-desk-illustration {
  position: absolute;
  right: 26px;
  bottom: 20px;
  width: 260px;
  height: 140px;
  object-fit: contain;
  opacity: 0.95;
}

.ludere-workflow,
.ludere-article-panel {
  grid-column: 1 / -1;
  padding: 18px 20px 14px;
}

.ludere-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ludere-section-head h1,
.ludere-section-head h2 {
  margin: 0;
  color: var(--ludere-text);
  font-size: 21px;
  font-weight: 900;
}

.ludere-section-head p {
  margin: 4px 0 0;
  color: var(--ludere-muted);
}

.ludere-section-head i {
  color: var(--ludere-blue);
  margin-right: 8px;
}

.ludere-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ludere-status-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 264px;
  padding: 18px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.ludere-status-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -18px -18px 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ludere-line);
}

.ludere-status-card header b {
  margin-left: auto;
}

.ludere-status-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.ludere-status-icon.draft,
.ludere-tag.draft {
  color: var(--ludere-green);
  background: rgba(16, 185, 129, 0.12);
}

.ludere-status-icon.review,
.ludere-tag.review {
  color: var(--ludere-yellow);
  background: rgba(245, 158, 11, 0.13);
}

.ludere-status-icon.live,
.ludere-tag.live {
  color: var(--ludere-green);
  background: rgba(16, 185, 129, 0.12);
}

.ludere-status-icon.rejected,
.ludere-tag.rejected {
  color: var(--ludere-pink);
  background: rgba(244, 63, 94, 0.14);
}

.ludere-status-card p {
  margin: 12px 0 2px;
  color: var(--ludere-text);
  font-weight: 700;
}

.ludere-status-card small {
  color: var(--ludere-muted);
}

.ludere-status-card button,
.ludere-status-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  align-self: end;
  margin-top: 26px;
  border: 0;
  color: #60a5fa;
  background: transparent;
}

.ludere-segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(241, 245, 249, 0.82);
}

.ludere-segmented button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: var(--ludere-muted);
  background: transparent;
}

.ludere-segmented button.active {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
}

.ludere-submission-detail {
  display: grid;
  gap: 16px;
}

.ludere-submission-detail h2 {
  margin: 10px 0 6px;
  color: var(--ludere-text);
  font-size: 24px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ludere-detail-context {
  display: block;
  margin-bottom: 8px;
  color: var(--ludere-muted);
  font-size: 13px;
  font-weight: 900;
}

.ludere-detail-hint {
  max-width: 720px;
  margin-top: 8px !important;
  color: var(--ludere-muted) !important;
  font-size: 14px;
}

.ludere-submission-detail h3 {
  margin: 0 0 8px;
  color: var(--ludere-text);
  font-size: 16px;
}

.ludere-submission-detail p {
  margin: 0;
  color: var(--ludere-muted);
  overflow-wrap: anywhere;
}

.ludere-submission-detail section {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--ludere-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.ludere-submission-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ludere-submission-detail pre {
  max-height: 360px;
  margin: 0;
  overflow: auto;
  color: var(--ludere-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ludere-submission-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.ludere-submission-meta div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--ludere-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.ludere-submission-meta dt {
  color: var(--ludere-muted);
  font-size: 12px;
}

.ludere-submission-meta dd {
  margin: 4px 0 0;
  color: var(--ludere-text);
  overflow-wrap: anywhere;
}

.ludere-review-result {
  border-color: rgba(248, 113, 113, 0.28) !important;
  background: rgba(127, 29, 29, 0.1) !important;
}

.ludere-review-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  color: var(--ludere-text);
  scroll-margin-top: 96px;
}

.ludere-review-list {
  display: grid;
  gap: 18px;
}

.ludere-review-feedback {
  min-height: 22px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(239, 246, 255, 0.86);
  color: #334155;
}

.ludere-review-feedback:empty {
  display: none;
}

.ludere-review-feedback[data-feedback-type="success"] {
  border-color: rgba(22, 163, 74, 0.28);
  background: rgba(220, 252, 231, 0.84);
  color: #166534;
}

.ludere-review-feedback[data-feedback-type="error"] {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(254, 226, 226, 0.9);
  color: #991b1b;
}

.ludere-review-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  transition: opacity 180ms ease, transform 180ms ease, max-height 220ms ease, margin 220ms ease, padding 220ms ease;
  max-height: 760px;
  overflow: hidden;
}

.ludere-review-item.processed {
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-6px);
}

.ludere-review-main {
  min-width: 0;
}

.ludere-review-main h3 {
  margin: 10px 0 8px;
  color: var(--ludere-text);
  font-size: 20px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ludere-review-main p {
  margin: 0 0 12px;
  color: var(--ludere-muted);
}

.ludere-review-main dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.ludere-review-main dt {
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}

.ludere-review-main dd {
  margin: 4px 0 0;
  color: var(--ludere-text);
  overflow-wrap: anywhere;
}

.ludere-review-main pre {
  max-height: 260px;
  margin: 0;
  overflow: auto;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: #dbeafe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ludere-review-actions {
  display: grid;
  align-content: start;
  gap: 10px;
}

.ludere-review-buttons {
  display: grid;
  gap: 10px;
}

.ludere-review-buttons button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 42px;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}

.ludere-review-buttons button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.ludere-review-actions label {
  display: grid;
  gap: 6px;
  color: var(--ludere-text);
  font-weight: 700;
}

.ludere-review-actions textarea {
  min-height: 120px;
  resize: vertical;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ludere-text);
  font: inherit;
  font-weight: 500;
}

.ludere-review-actions textarea::placeholder {
  color: #94a3b8;
}

.ludere-ghost-button.danger {
  border-color: rgba(248, 113, 113, 0.34);
  background: rgba(127, 29, 29, 0.28);
  color: #fecaca;
}

.ludere-review-item .ludere-role-pill {
  background: rgba(96, 165, 250, 0.2);
  color: #1d4ed8;
}

.ludere-article-table {
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  overflow: hidden;
}

.ludere-table-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) 0.8fr 0.7fr 0.55fr 0.6fr 0.85fr;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid var(--ludere-line);
  color: #1f2937;
  background: transparent;
  text-align: left;
}

.ludere-table-row:hover:not(.head) {
  background: rgba(59, 130, 246, 0.08);
}

.ludere-table-row.head {
  color: #64748b;
  font-size: 14px;
}

.ludere-table-row:last-child {
  border-bottom: 0;
}

.ludere-table-row img {
  width: 58px;
  height: 32px;
  margin-right: 12px;
  object-fit: cover;
  border-radius: 4px;
  vertical-align: middle;
}

.ludere-tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.ludere-my-submissions-page {
  display: grid;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 72px;
}

.ludere-settings-page {
  display: grid;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 72px;
}

.ludere-my-submissions-page > .ludere-panel {
  padding: 26px;
}

.ludere-settings-page > .ludere-panel {
  padding: 26px;
}

.ludere-my-submissions-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.26), transparent 38%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(20, 32, 52, 0.94));
  color: #f8fafc;
  min-height: 220px;
}

.ludere-settings-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  min-height: 210px;
  overflow: hidden;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(24, 39, 61, 0.94));
}

.ludere-settings-hero h1 {
  max-width: 760px;
  margin: 10px 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.ludere-settings-hero p {
  max-width: 680px;
  margin: 0;
  color: #c4d3e7;
  font-size: 16px;
  line-height: 1.7;
}

.ludere-settings-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ludere-settings-nav {
  position: sticky;
  top: 5rem;
  display: grid;
  gap: 6px;
  padding: 10px;
}

.ludere-settings-nav a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  color: #334155;
}

.ludere-settings-nav a > i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  line-height: 1;
}

.ludere-settings-nav a.active,
.ludere-settings-nav a:hover {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
}

.ludere-settings-main {
  display: grid;
  gap: 16px;
}

.ludere-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ludere-plain-grid {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ludere-settings-card {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.ludere-settings-card h2,
.ludere-settings-card h3 {
  margin: 0;
  color: var(--ludere-text);
  font-size: 19px;
  font-weight: 900;
}

.ludere-settings-card p,
.ludere-settings-card dd {
  margin: 0;
  color: var(--ludere-muted);
  line-height: 1.65;
}

.ludere-settings-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ludere-settings-card dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
}

.ludere-settings-card dt {
  color: var(--ludere-muted);
  font-weight: 800;
}

.ludere-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--ludere-line);
}

.ludere-settings-row:first-child {
  border-top: 0;
}

.ludere-settings-row strong {
  display: block;
  color: var(--ludere-text);
}

.ludere-settings-row span {
  color: var(--ludere-muted);
  font-size: 14px;
}

.ludere-settings-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ludere-muted);
  font-weight: 800;
}

.ludere-settings-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--ludere-blue);
}

.ludere-settings-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ludere-settings-list li {
  display: flex;
  gap: 10px;
  color: var(--ludere-muted);
  line-height: 1.6;
}

.ludere-settings-list i {
  margin-top: 4px;
  color: var(--ludere-blue);
}

.ludere-settings-live-list {
  display: grid;
  gap: 10px;
}

.ludere-uc-feature-list {
  display: grid;
  gap: 8px;
}

.ludere-uc-feature-list a,
.ludere-uc-feature-list .current {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.82);
}

.ludere-uc-feature-list .current {
  cursor: default;
}

.ludere-uc-feature-list i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--ludere-blue);
  background: rgba(59, 130, 246, 0.13);
}

.ludere-uc-feature-list strong,
.ludere-uc-feature-list small {
  display: block;
}

.ludere-uc-feature-list strong {
  color: var(--ludere-text);
}

.ludere-uc-feature-list small {
  margin-top: 4px;
  color: var(--ludere-muted);
  line-height: 1.45;
}

.ludere-uc-feature-list em {
  padding: 4px 8px;
  border-radius: 6px;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.13);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.ludere-settings-live-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--ludere-line);
}

.ludere-settings-live-item:first-child {
  border-top: 0;
}

.ludere-settings-live-item strong,
.ludere-settings-live-item small {
  display: block;
}

.ludere-settings-live-item small {
  margin-top: 4px;
  color: var(--ludere-muted);
  font-size: 12px;
}

.ludere-settings-note {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  color: var(--ludere-muted);
  background: rgba(239, 246, 255, 0.72);
  line-height: 1.65;
}

.ludere-settings-note i {
  margin-top: 4px;
  color: var(--ludere-blue);
}

.ludere-settings-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ludere-settings-stat {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.82);
}

.ludere-settings-stat strong {
  display: block;
  color: var(--ludere-text);
  font-size: 18px;
}

.ludere-settings-stat span {
  display: block;
  margin-top: 4px;
  color: var(--ludere-muted);
  font-size: 13px;
}

.ludere-my-submissions-hero::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 22px;
  width: 176px;
  height: 96px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.16) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(rgba(251, 191, 36, 0.14) 1px, transparent 1px) 0 0 / 18px 18px;
  opacity: 0.55;
  pointer-events: none;
}

.ludere-my-submissions-hero h1 {
  max-width: 720px;
  margin: 10px 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.ludere-my-submissions-hero p {
  max-width: 680px;
  margin: 0;
  color: #c4d3e7;
  font-size: 16px;
  line-height: 1.7;
}

.ludere-my-submissions-hero .ludere-eyebrow {
  color: #93c5fd;
  font-size: 14px;
  font-weight: 900;
}

.ludere-my-submissions-hero .ludere-primary-button {
  position: relative;
  z-index: 1;
}

.ludere-my-submissions-page > .ludere-section-head {
  margin-bottom: 12px;
}

.ludere-my-submissions-page .ludere-section-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.ludere-my-submissions-list {
  display: grid;
  gap: 12px;
}

.ludere-loading-line,
.ludere-empty-line {
  margin: 0;
  padding: 20px;
  border: 1px dashed rgba(37, 99, 235, 0.3);
  border-radius: 8px;
  color: #475569;
  background: rgba(248, 250, 252, 0.94);
}

.ludere-empty-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.ludere-empty-action p {
  margin: 0;
  color: inherit;
}

.ludere-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ludere-my-submission-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  color: #eef6ff;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.64), rgba(30, 41, 59, 0.42));
  text-align: left;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.14);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ludere-my-submission-card:hover,
.ludere-my-submission-card.active {
  border-color: var(--ludere-line-bright);
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.36), rgba(15, 23, 42, 0.54));
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.22);
  transform: translateY(-1px);
}

.ludere-my-submission-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ludere-my-submission-card p {
  margin: 0;
  color: #b6c5da;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ludere-my-submission-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  color: #91a9c8;
  font-size: 13px;
}

.ludere-right-rail {
  display: grid;
  gap: 16px;
  align-content: start;
}

.ludere-tip-card,
.ludere-submit-types {
  padding: 20px;
}

.ludere-tip-card h2,
.ludere-submit-types h2,
.ludere-submit-help h2 {
  margin: 0 0 18px;
  color: #1d4ed8;
  font-size: 20px;
  font-weight: 900;
}

.ludere-tip-card h2 i,
.ludere-submit-types h2 i,
.ludere-submit-help h2 i {
  color: var(--ludere-yellow);
  margin-right: 10px;
}

.ludere-tip-card p {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #334155;
  line-height: 1.7;
}

.ludere-tip-card p i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #7aa2ef;
  line-height: 1;
}

.ludere-submit-types a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  color: #1f2937;
  border-bottom: 1px solid var(--ludere-line);
}

.ludere-submit-types small {
  display: block;
  color: var(--ludere-muted);
  margin-top: 4px;
}

.ludere-type-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.ludere-type-icon.green {
  color: var(--ludere-green);
  background: rgba(16, 185, 129, 0.12);
}

.ludere-type-icon.yellow {
  color: var(--ludere-yellow);
  background: rgba(245, 158, 11, 0.12);
}

.ludere-type-icon.blue {
  color: var(--ludere-blue);
  background: rgba(59, 130, 246, 0.14);
}

.ludere-type-icon.pink {
  color: var(--ludere-pink);
  background: rgba(244, 63, 94, 0.12);
}

.ludere-submit-types .ludere-norm {
  display: flex;
  min-height: 42px;
  margin-top: 10px;
  border-bottom: 0;
}

.ludere-modal {
  width: min(520px, calc(100vw - 32px));
  border: 1px solid var(--ludere-line-bright);
  border-radius: 8px;
  color: var(--ludere-text);
  background: #ffffff;
}

.ludere-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.ludere-modal form {
  display: grid;
  gap: 16px;
}

.ludere-modal header,
.ludere-drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ludere-modal button,
.ludere-drawer button {
  border: 0;
  color: var(--ludere-text);
  background: transparent;
}

.ludere-drawer-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ludere-drawer-actions [data-clear-notifications] {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(239, 68, 68, 0.32);
  border-radius: 8px;
  color: #dc2626;
  background: rgba(239, 68, 68, 0.08);
  font-weight: 800;
}

.ludere-modal label,
.ludere-form label {
  display: grid;
  gap: 8px;
  color: var(--ludere-text);
  font-weight: 700;
}

.ludere-modal input,
.ludere-modal textarea,
.ludere-form input,
.ludere-form textarea,
.ludere-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  color: var(--ludere-text);
  background: rgba(255, 255, 255, 0.92);
  outline: 0;
}

.ludere-modal menu {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.ludere-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  width: min(390px, 92vw);
  height: 100vh;
  padding: 22px;
  transform: translateX(105%);
  transition: transform 180ms ease;
  border-left: 1px solid var(--ludere-line);
  background: #ffffff;
  box-shadow: var(--ludere-shadow);
}

.ludere-drawer.open {
  transform: translateX(0);
}

.ludere-drawer > :not(header):not([data-notifications-list]) {
  display: none !important;
}

.ludere-drawer article {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.9);
}

.ludere-drawer p {
  color: var(--ludere-muted);
}

.ludere-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(0, 0, 0, .45);
}

.ludere-scrim.show {
  display: block;
}

.ludere-submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.ludere-submit-editor {
  padding: 24px;
}

.ludere-submit-editor h1 {
  font-size: 28px;
}

.ludere-type-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 24px;
}

.ludere-type-picker button {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 94px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  color: #334155;
  background: rgba(255, 255, 255, 0.86);
}

.ludere-type-picker button.active {
  color: #1d4ed8;
  border-color: var(--ludere-line-bright);
  background: rgba(59, 130, 246, 0.18);
}

.ludere-form {
  display: grid;
  gap: 18px;
}

.ludere-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ludere-upload-box {
  display: grid;
  place-items: center;
  min-height: 130px;
  border: 1px dashed rgba(148, 163, 184, 0.38);
  border-radius: 8px;
  color: var(--ludere-muted);
  background: rgba(248, 250, 252, 0.72);
}

.ludere-upload-box i {
  font-size: 28px;
  color: var(--ludere-blue);
}

.ludere-taxonomy-hint {
  margin-top: -8px;
  color: var(--ludere-muted);
  font-size: 13px;
  line-height: 1.6;
}

.ludere-tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -8px;
}

.ludere-tag-picker[hidden] {
  display: none;
}

.ludere-tag-picker button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--ludere-line);
  border-radius: 999px;
  color: #334155;
  background: rgba(248, 250, 252, 0.86);
}

.ludere-tag-picker button.active {
  color: #1d4ed8;
  border-color: var(--ludere-line-bright);
  background: rgba(59, 130, 246, 0.16);
}

.ludere-media-preview {
  display: grid;
  gap: 10px;
  margin-top: -8px;
}

.ludere-media-preview[hidden] {
  display: none;
}

.ludere-media-preview.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ludere-media-preview article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 10px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.78);
}

.ludere-media-preview img,
.ludere-media-preview article > span {
  width: 96px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(226, 232, 240, 0.8);
}

.ludere-media-preview article > span {
  display: grid;
  place-items: center;
  color: var(--ludere-blue);
}

.ludere-media-preview strong,
.ludere-media-preview small {
  display: block;
}

.ludere-media-preview small {
  overflow: hidden;
  color: var(--ludere-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ludere-media-preview button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 6px;
  color: #1d4ed8;
  background: rgba(239, 246, 255, 0.9);
}

.ludere-markdown-box {
  overflow: hidden;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.ludere-editor-toolbar {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 8px;
  border-bottom: 1px solid var(--ludere-line);
  background: rgba(248, 250, 252, 0.76);
}

.ludere-editor-toolbar button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ludere-muted);
  background: transparent;
}

.ludere-editor-toolbar button:hover,
.ludere-editor-toolbar button.active {
  color: var(--ludere-blue);
  border-color: rgba(59, 130, 246, 0.26);
  background: rgba(59, 130, 246, 0.12);
}

.ludere-editor {
  min-height: 210px;
  resize: vertical;
}

.ludere-markdown-box .ludere-editor {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ludere-markdown-preview {
  min-height: 210px;
  padding: 16px;
  color: var(--ludere-text);
  line-height: 1.75;
}

.ludere-markdown-preview.compact {
  min-height: 0;
  max-height: 300px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--ludere-line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.72);
}

.ludere-markdown-preview h1,
.ludere-markdown-preview h2,
.ludere-markdown-preview h3 {
  margin: 0 0 10px;
  color: var(--ludere-text);
  font-weight: 800;
}

.ludere-markdown-preview p,
.ludere-markdown-preview ul,
.ludere-markdown-preview blockquote {
  margin: 0 0 12px;
}

.ludere-markdown-preview ul {
  padding-left: 20px;
}

.ludere-markdown-preview blockquote {
  padding: 10px 12px;
  border-left: 3px solid var(--ludere-blue);
  border-radius: 0 8px 8px 0;
  color: var(--ludere-muted);
  background: rgba(59, 130, 246, 0.08);
}

.ludere-markdown-preview img {
  display: block;
  max-width: 100%;
  max-height: 360px;
  margin: 12px 0;
  border-radius: 8px;
  object-fit: contain;
}

.ludere-field-invalid {
  border-color: rgba(220, 38, 38, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16);
}

.ludere-field-error {
  display: block;
  margin-top: 6px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.ludere-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ludere-submit-help {
  align-self: start;
  padding: 22px;
}

.ludere-submit-help p {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #334155;
  line-height: 1.7;
}

.ludere-submit-help p i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--ludere-green);
  line-height: 1;
}

.ludere-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 50;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 12px 18px;
  border: 1px solid var(--ludere-line-bright);
  border-radius: 8px;
  background: #eff6ff;
  transition: 180ms ease;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-panel {
  background: linear-gradient(155deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), var(--ludere-shadow);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-sidebar {
  background: rgba(30, 41, 59, 0.86);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-user-page :is(.ludere-sidebar, .ludere-right-rail, .ludere-drawer) > .w-full {
  color: #f8fafc !important;
  background: rgba(30, 41, 59, 0.86) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: var(--ludere-shadow) !important;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-user-page :is(.ludere-sidebar, .ludere-right-rail, .ludere-drawer) > .w-full input {
  color: #f8fafc !important;
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-user-page :is(.ludere-sidebar, .ludere-right-rail, .ludere-drawer) > .w-full input::placeholder {
  color: #93a9c8 !important;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-side-nav a,
:is(.dark, [data-color-scheme="dark"]) .ludere-side-nav button {
  color: #cbd5e1;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-count {
  color: #fff;
  background: rgba(148, 163, 184, 0.45);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-welcome-card,
:is(.dark, [data-color-scheme="dark"]) .ludere-status-card {
  background: rgba(15, 23, 42, 0.62);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-command-center {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.22), transparent 44%),
    linear-gradient(145deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.9));
}

:is(.dark, [data-color-scheme="dark"]) .ludere-command-actions a,
:is(.dark, [data-color-scheme="dark"]) .ludere-command-actions button,
:is(.dark, [data-color-scheme="dark"]) .ludere-action-strip article {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.58);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-role-pill {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.22);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-role-pill.admin {
  color: #fff7ed;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(180, 83, 9, 0.92));
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-panel {
  color: #e5eefc;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-feedback {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.58);
  color: #cbd5e1;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-feedback[data-feedback-type="success"] {
  border-color: rgba(74, 222, 128, 0.26);
  background: rgba(20, 83, 45, 0.26);
  color: #bbf7d0;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-feedback[data-feedback-type="error"] {
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(127, 29, 29, 0.28);
  color: #fecaca;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-item {
  border-color: rgba(148, 163, 184, 0.26);
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.94)),
    #172033;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.32);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-main h3,
:is(.dark, [data-color-scheme="dark"]) .ludere-review-main dd,
:is(.dark, [data-color-scheme="dark"]) .ludere-review-actions label {
  color: #f8fafc;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-main p {
  color: #b6c4d8;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-main dt {
  color: #8fb3e8;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-actions textarea {
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-actions textarea::placeholder {
  color: #8293aa;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-review-item .ludere-role-pill {
  color: #bfdbfe;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-markdown-preview.compact {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.42);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-profile-meta,
:is(.dark, [data-color-scheme="dark"]) .ludere-tip-card p,
:is(.dark, [data-color-scheme="dark"]) .ludere-submit-help p {
  color: #cbd5e1;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-submit-banner {
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.84), rgba(15, 23, 42, 0.88)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 8px);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-ghost-button {
  color: #e5efff;
  background: rgba(30, 41, 59, 0.78);
  border-color: rgba(148, 163, 184, 0.24);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-quick-links {
  color: #93a9c8;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-segmented {
  background: rgba(15, 23, 42, 0.68);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-segmented button.active,
:is(.dark, [data-color-scheme="dark"]) .ludere-type-picker button.active {
  color: #fff;
  background: rgba(59, 130, 246, 0.24);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-table-row {
  color: #dbeafe;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-table-row.head {
  color: #94a3b8;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-tip-card h2,
:is(.dark, [data-color-scheme="dark"]) .ludere-submit-types h2,
:is(.dark, [data-color-scheme="dark"]) .ludere-submit-help h2 {
  color: #93c5fd;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-submit-types a {
  color: #e7efff;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-modal,
:is(.dark, [data-color-scheme="dark"]) .ludere-drawer {
  background: #0f172a;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-modal button,
:is(.dark, [data-color-scheme="dark"]) .ludere-drawer button {
  color: #fff;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-modal label,
:is(.dark, [data-color-scheme="dark"]) .ludere-form label {
  color: #dfe9ff;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-modal input,
:is(.dark, [data-color-scheme="dark"]) .ludere-modal textarea,
:is(.dark, [data-color-scheme="dark"]) .ludere-form input,
:is(.dark, [data-color-scheme="dark"]) .ludere-form textarea,
:is(.dark, [data-color-scheme="dark"]) .ludere-form select {
  color: var(--ludere-text);
  background: rgba(15, 23, 42, 0.74);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-drawer article,
:is(.dark, [data-color-scheme="dark"]) .ludere-type-picker button {
  color: #cbd8f4;
  background: rgba(15, 23, 42, 0.75);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-loading-line,
:is(.dark, [data-color-scheme="dark"]) .ludere-empty-line {
  border-color: rgba(96, 165, 250, 0.36);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.68);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-upload-box {
  background: rgba(15, 23, 42, 0.42);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-taxonomy-hint {
  color: #94a3b8;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-tag-picker button {
  color: #cbd8f4;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.58);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-tag-picker button.active {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.44);
  background: rgba(37, 99, 235, 0.28);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-media-preview article {
  background: rgba(15, 23, 42, 0.58);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-media-preview img,
:is(.dark, [data-color-scheme="dark"]) .ludere-media-preview article > span {
  background: rgba(30, 41, 59, 0.9);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-media-preview button {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(37, 99, 235, 0.18);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-markdown-box {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.56);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-editor-toolbar {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-editor-toolbar button {
  color: #94a3b8;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-editor-toolbar button:hover,
:is(.dark, [data-color-scheme="dark"]) .ludere-editor-toolbar button.active {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(37, 99, 235, 0.22);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-toast {
  background: #13264b;
}

:is(.dark, [data-color-scheme="dark"]) .ludere-my-submission-card,
:is(.dark, [data-color-scheme="dark"]) .ludere-submission-detail section,
:is(.dark, [data-color-scheme="dark"]) .ludere-submission-meta div,
:is(.dark, [data-color-scheme="dark"]) .ludere-settings-card,
:is(.dark, [data-color-scheme="dark"]) .ludere-settings-stat,
:is(.dark, [data-color-scheme="dark"]) .ludere-settings-note {
  background: rgba(15, 23, 42, 0.54);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-uc-feature-list a,
:is(.dark, [data-color-scheme="dark"]) .ludere-uc-feature-list .current,
:is(.dark, [data-color-scheme="dark"]) .ludere-status-card,
:is(.dark, [data-color-scheme="dark"]) .ludere-action-strip article {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.58);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-uc-feature-list em {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.28);
}

:is(.dark, [data-color-scheme="dark"]) .ludere-settings-nav a {
  color: #cbd5e1;
}

.ludere-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1180px) {
  .ludere-dashboard {
    grid-template-columns: 220px 1fr;
  }

  .ludere-right-rail {
    grid-column: 2;
    grid-template-columns: 1fr 1fr;
  }

  .ludere-content {
    grid-column: 2;
  }
}

@media (max-width: 880px) {
  .ludere-page-actions {
    display: flex;
  }

  .ludere-dashboard {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .ludere-sidebar {
    position: fixed;
    z-index: 36;
    top: 4rem;
    left: 0;
    width: 280px;
    height: calc(100vh - 4rem);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .ludere-sidebar.open {
    transform: translateX(0);
  }

  .ludere-content {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 100%;
  }

  .ludere-command-center,
  .ludere-action-strip {
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .ludere-command-actions {
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 100%;
  }

  .ludere-command-profile {
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
  }

  .ludere-command-actions a,
  .ludere-command-actions button {
    width: 100%;
    max-width: 100%;
  }

  .ludere-profile-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .ludere-right-rail {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .ludere-status-grid,
  .ludere-type-picker,
  .ludere-form-grid,
  .ludere-submit-layout,
  .ludere-submission-meta,
  .ludere-my-submission-card,
  .ludere-review-item,
  .ludere-review-main dl,
  .ludere-settings-layout,
  .ludere-settings-grid,
    .ludere-settings-stat-grid {
    grid-template-columns: 1fr;
  }

  .ludere-review-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    max-height: none;
    padding: 16px;
  }

  .ludere-review-panel,
  .ludere-review-list,
  .ludere-review-main,
  .ludere-review-actions {
    min-width: 0;
    max-width: 100%;
  }

  .ludere-review-item.processed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .ludere-review-buttons {
    grid-template-columns: 1fr;
  }

  .ludere-media-preview.grid {
    grid-template-columns: 1fr;
  }

  .ludere-my-submissions-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .ludere-settings-hero {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .ludere-settings-nav {
    position: static;
  }

  .ludere-table-row {
    grid-template-columns: 1fr 80px 78px;
    gap: 8px;
    padding: 12px;
  }

  .ludere-table-row span:nth-child(4),
  .ludere-table-row span:nth-child(5),
  .ludere-table-row span:nth-child(6),
  .ludere-table-row.head span:nth-child(4),
  .ludere-table-row.head span:nth-child(5),
  .ludere-table-row.head span:nth-child(6) {
    display: none;
  }

  .ludere-desk-illustration {
    right: -34px;
    opacity: 0.24;
  }
}

@media (max-width: 560px) {
  .ludere-profile-copy h1,
  .ludere-submit-banner h2 {
    font-size: 24px;
  }

  .ludere-command-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .ludere-command-actions {
    grid-template-columns: 1fr;
  }

  .ludere-command-actions a,
  .ludere-command-actions button {
    min-height: 78px;
  }

  .ludere-profile-meta {
    gap: 12px;
  }

  .ludere-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ludere-segmented {
    width: 100%;
    overflow-x: auto;
  }

  .ludere-my-submissions-page > .ludere-panel {
    padding: 18px;
  }

  .ludere-my-submissions-hero h1,
  .ludere-settings-hero h1 {
    font-size: 24px;
  }

  .ludere-settings-page > .ludere-panel {
    padding: 18px;
  }

  .ludere-settings-card dl div,
  .ludere-settings-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .ludere-settings-row {
    flex-direction: column;
  }
}
