/* Rudyon's local UI refresh. Keep the legacy Pages/Bootstrap components intact. */
:root {
  --rudyon-ink: #17263a;
  --rudyon-muted: #607187;
  --rudyon-line: #e4eaf1;
  --rudyon-accent: #5be2c2;
  --rudyon-blue: #3677d9;
  --rudyon-surface: #ffffff;
}

html { scroll-behavior: smooth; }
body.rudyon-site {
  background: #f4f7fb;
  color: var(--rudyon-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}
/* Pages' fixed-header layout disables body scrolling with a more specific rule. */
body.rudyon-site.horizontal-app-menu.fixed-header {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
body.rudyon-site a:focus-visible,
body.rudyon-site button:focus-visible {
  outline: 3px solid var(--rudyon-blue);
  outline-offset: 3px;
}
.rudyon-board-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(10, 23, 42, .14);
}
.rudyon-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin-left: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.rudyon-theme-toggle:hover { background: rgba(255,255,255,.16); }
.rudyon-theme-icon { font-size: 18px; line-height: 1; }
body.rudyon-site.horizontal-app-menu.fixed-header .header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #111e30;
  box-shadow: 0 8px 28px rgba(10, 23, 42, .15);
}
body.rudyon-site .header > .container {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 72px 52px;
}
body.rudyon-site .header .title-bar {
  grid-area: 1 / 1;
  height: 72px !important;
  padding: 0;
  display: flex;
  align-items: center;
  min-width: 0;
}
body.rudyon-site .header .header-md-height {
  grid-area: 1 / 2;
  height: 72px !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
body.rudyon-site .header .header-md-height > .d-flex { align-items: center; }
body.rudyon-site .header .brand {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.rudyon-site .header .brand > a { text-decoration: none; }
.rudyon-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
}
.rudyon-brand img { width: 38px; height: 38px; border-radius: 9px; }
.rudyon-brand small {
  display: block;
  margin-top: 4px;
  color: #9fb3c9;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}
.rudyon-page-label {
  min-width: 0;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.15);
  color: #aebed0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.rudyon-site .header .header-icon {
  display: inline-flex !important;
  align-items: center;
  min-height: 34px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-size: 13px !important;
  text-decoration: none;
}
body.rudyon-site .header .header-icon:hover { background: rgba(255,255,255,.12); }
body.rudyon-site .header .header-icon[style*="display: none"] { display: none !important; }
body.rudyon-site .header .menu-bar {
  grid-area: 2 / 1 / 3 / 3;
  display: flex;
  align-items: stretch;
  height: 52px !important;
  border-top: 1px solid rgba(255,255,255,.1);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
body.rudyon-site .header .menu-bar::-webkit-scrollbar { display: none; }
body.rudyon-site .header .menu-bar > .toggle-sidebar { display: none !important; }
body.rudyon-site .header .menu-bar > ul.menu {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
  width: max-content;
  min-width: 100%;
  margin: 0;
}
body.rudyon-site .header .menu-bar > ul.menu > li {
  display: flex !important;
  flex: none;
  align-items: stretch;
  min-width: 0;
}
body.rudyon-site .header .menu-bar > ul.menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 17px !important;
  border-bottom: 3px solid transparent;
  color: #c3d0df !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
body.rudyon-site .header .menu-bar > ul.menu > li > a:hover,
body.rudyon-site .header .menu-bar > ul.menu > li > a:focus {
  color: #fff !important;
  background: rgba(255,255,255,.06);
  border-bottom-color: var(--rudyon-accent);
}
body.rudyon-site .header .menu-bar > ul.menu > li > a.is-current {
  color: #fff !important;
  background: rgba(91,226,194,.1);
  border-bottom-color: var(--rudyon-accent);
}
body.rudyon-site.horizontal-app-menu .page-container {
  width: 100%;
  height: auto;
  min-height: calc(100vh - 124px);
  padding-left: 0;
  overflow: visible;
}
body.rudyon-site .page-container .page-content-wrapper { min-height: 0; }
body.rudyon-site .page-container .page-content-wrapper .content {
  min-height: 0;
  padding: 0 0 40px;
}
body.rudyon-site .page-container .page-content-wrapper .footer {
  position: static;
}
body.rudyon-site .bc-white { background: #f4f7fb !important; }

/* Native category select avoids the legacy menu being moved over the fixed header. */
body.rudyon-site .rudyon-editor-category { position: relative; width: min(220px, 100%); margin-bottom: 15px; }
body.rudyon-site .rudyon-editor-category label { display: block; margin-bottom: 6px; color: #465b72; font-size: 13px; font-weight: 700; }
body.rudyon-site .rudyon-editor-category select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 7px 34px 7px 12px;
  border: 1px solid #cbd6e4;
  border-radius: 8px;
  background: #fff;
  color: #203249;
  font-size: 14px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
body.rudyon-site .rudyon-editor-category::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #526780;
  border-bottom: 2px solid #526780;
  transform: rotate(45deg);
  pointer-events: none;
}
body.rudyon-site .rudyon-editor-category select:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }

/* Home page */
.rudyon-home { background: #f4f7fb; }
.rudyon-home-stage { max-width: 1200px; margin: 24px auto 0; padding: 0 24px; }
.rudyon-home-stage-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: clamp(30px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid #28415a;
  border-radius: 24px;
  background-image: linear-gradient(90deg, rgba(8,20,33,.94) 0%, rgba(8,20,33,.85) 35%, rgba(8,20,33,.24) 74%, rgba(8,20,33,.06) 100%), url('/assets/img/home-wilderness-2026.jpg');
  background-color: #111f31;
  background-position: center, center 52%;
  background-size: cover;
  box-shadow: 0 24px 52px rgba(13,31,51,.18);
  color: #eef8fa;
}
.rudyon-home-stage-copy { position: relative; z-index: 1; width: min(100%, 650px); min-width: 0; }
.rudyon-home-stage-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #8be9d8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}
.rudyon-home-stage-kicker > span { width: 7px; height: 7px; border-radius: 2px; background: #7cf0ca; box-shadow: 0 0 0 5px rgba(124,240,202,.13); }
.rudyon-home-stage h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.2;
  word-break: keep-all;
}
.rudyon-home-stage h1 span { color: #8be9d8; }
.rudyon-home-stage-copy > p { max-width: 540px; margin: 0 0 28px; color: #b9cada; font-size: 15px; line-height: 1.85; word-break: keep-all; }
.rudyon-home-stage-note { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 28px; color: #a5bfd0; font-size: 12px; font-weight: 600; }
.rudyon-home-stage-note i { color: #8be9d8; }
.rudyon-home-stage-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.rudyon-home-stage-facts > span { display: inline-flex; gap: 7px; align-items: center; padding: 8px 12px; border: 1px solid rgba(197,238,226,.28); border-radius: 999px; background: rgba(8,20,33,.4); color: #b3cddd; font-size: 11px; }
.rudyon-home-stage-facts strong { color: #effff9; font-weight: 800; }
@media (max-width: 767px) {
  .rudyon-home-stage { margin-top: 12px; padding: 0 12px; }
  .rudyon-home-stage-shell { min-height: 520px; align-items: flex-start; padding: 34px 23px 23px; border-radius: 17px; background-image: linear-gradient(180deg, rgba(8,20,33,.9) 0%, rgba(8,20,33,.82) 44%, rgba(8,20,33,.15) 100%), url('/assets/img/home-wilderness-2026.jpg'); background-position: center, 69% center; }
  .rudyon-home-stage-kicker { margin-bottom: 18px; }
  .rudyon-home-stage h1 { font-size: clamp(31px, 7.7vw, 43px); }
  .rudyon-home-stage-copy > p { font-size: 14px; }
  .rudyon-home-stage .hero-actions a { flex: 1; text-align: center; }
  .rudyon-home-stage-note { margin-top: 22px; }
}
@media (max-width: 420px) {
  .rudyon-home-stage-shell { min-height: 650px; }
  .rudyon-home-stage .hero-actions { flex-direction: column; }
  .rudyon-home-stage .hero-actions a { width: 100%; white-space: nowrap; }
  .rudyon-home-stage-facts > span { width: 100%; }
}
.rudyon-home .social-wrapper,
.rudyon-home .social { height: auto; }
.rudyon-home .social-wrapper .social .jumbotron {
  height: clamp(360px, 44vw, 500px);
  margin: 0;
  border-radius: 0;
  background: #172535;
}
.rudyon-home .jumbotron .cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(7,17,31,.9) 0%, rgba(7,17,31,.5) 60%, rgba(7,17,31,.1) 100%), url('/assets/img/1.webp') !important;
  background-position: center center !important;
  background-size: cover !important;
}
.rudyon-home .jumbotron .cover-photo:before { display: none; }
.rudyon-home .jumbotron > .container {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  padding: 0 24px;
}
.rudyon-home .jumbotron .inner { height: 100%; }
.rudyon-home .hero-copy {
  position: absolute;
  left: 0;
  bottom: 58px;
  max-width: 680px;
  color: #fff;
}
.rudyon-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #a6f5dd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
}
.rudyon-home .hero-eyebrow:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rudyon-accent);
  box-shadow: 0 0 0 5px rgba(91,226,194,.15);
}
.rudyon-home .hero-copy h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(31px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.22;
  word-break: keep-all;
}
.rudyon-home .hero-description {
  margin: 0 0 24px;
  color: #d1dce8;
  font-size: 15px;
}
.rudyon-home .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rudyon-home .hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 19px;
  border-radius: 10px;
  background: var(--rudyon-accent);
  color: #102a33;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.rudyon-home .hero-actions a:hover { transform: translateY(-2px); background: #8ef1d9; }
.rudyon-home .hero-actions a + a {
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.1);
  color: #fff;
}
.rudyon-home .hero-actions a + a:hover { background: rgba(255,255,255,.2); }
.rudyon-home .hero-online {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 0;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 999px;
  background: rgba(5,17,30,.38);
  color: #e6f5f3;
  font-size: 12px;
  font-weight: 700;
}
.rudyon-home .hero-online span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74e5bf;
  box-shadow: 0 0 0 4px rgba(116,229,191,.16);
}
.rudyon-home .rudyon-quicklinks {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 1200px;
  margin-top: 12px;
  padding: 0 24px;
}
.rudyon-quicklink {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--rudyon-line);
  border-radius: 15px;
  background: var(--rudyon-surface);
  box-shadow: 0 12px 28px rgba(17,42,72,.09);
  color: var(--rudyon-ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rudyon-quicklink:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(17,42,72,.14);
  color: var(--rudyon-blue);
  text-decoration: none;
}
.rudyon-quicklink > i {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e7f5f3;
  color: #138977;
  font-size: 17px;
}
.rudyon-quicklink > span:not(.rudyon-quicklink-arrow) { min-width: 0; }
.rudyon-quicklink strong { display: block; font-size: 15px; line-height: 1.4; }
.rudyon-quicklink small { display: block; margin-top: 3px; color: var(--rudyon-muted); font-size: 12px; }
.rudyon-quicklink-arrow { margin-left: auto; color: #7691a9; font-size: 21px; }
.rudyon-home .home-content {
  width: 100%;
  max-width: 1200px;
  padding: 34px 24px 20px !important;
}
.rudyon-home .home-content > .row { margin: 0 -12px; }
.rudyon-home .home-content > .row > [class*="col-"] { padding: 0 12px; }
.rudyon-home .social-card.share {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--rudyon-line);
  border-radius: 15px;
  background: var(--rudyon-surface);
  box-shadow: 0 10px 32px rgba(18,44,77,.06);
}
.rudyon-home .social-card.share .card-header {
  min-height: 63px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--rudyon-line);
  background: #fff;
}
.rudyon-home .social-card.share .card-header h5 {
  color: var(--rudyon-ink);
  font-size: 17px;
  font-weight: 800;
}
.rudyon-home .social-card .card-header .btn {
  margin: 0 !important;
  border: 1px solid var(--rudyon-line);
  background: #f8fafd;
  color: var(--rudyon-muted);
  font-weight: 700;
}
.rudyon-home .social-card .card-header .btn:hover { background: #eaf2ff; color: var(--rudyon-blue); }
.rudyon-home .social-card .card-borderless { border: 0; }
.rudyon-home .social-card .nav-tabs {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 6px;
  min-height: 51px;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--rudyon-line);
  scrollbar-width: none;
}
.rudyon-home .social-card .nav-tabs::-webkit-scrollbar { display: none; }
.rudyon-home .social-card .nav-tabs .nav-item { flex: none; }
.rudyon-home .social-card .nav-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 10px;
  color: var(--rudyon-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.rudyon-home .social-card .nav-tabs a.active { color: var(--rudyon-blue); }
.rudyon-home .social-card .tab-content { padding: 0; }
.rudyon-home .social-card .list-group-item {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 48px;
  padding: 11px 19px;
  border-left: 0;
  border-right: 0;
  border-color: #edf1f6;
  color: #34465a;
  font-size: 13px;
  line-height: 1.5;
}
.rudyon-home .social-card .list-group-item:first-child { border-top: 0; }
.rudyon-home .social-card .list-group-item:last-child { border-bottom: 0; }
.rudyon-home .social-card .list-group-item:hover { background: #f7faff; color: #1c60bc; }
.rudyon-home .social-card .list-group-item > .normal-text:first-child,
.rudyon-home .social-card .list-group-item > .small-text:not(.p-l-5) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rudyon-home .social-card img.profile {
  flex: none;
  width: 20px !important;
  height: 20px !important;
  border-radius: 5px;
  object-fit: cover;
}
.rudyon-home .social-card .badge.bg-complete {
  flex: none;
  padding: 5px 8px;
  border-radius: 6px;
  background: #e3f8f1 !important;
  color: #11745b;
  font-weight: 800;
}

/* Shared content surfaces */
body.rudyon-site #condensedTable {
  width: 100%;
  border: 1px solid var(--rudyon-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--rudyon-surface);
  box-shadow: 0 10px 30px rgba(17,42,72,.06);
}
body.rudyon-site #condensedTable thead th {
  padding: 15px 16px;
  border-bottom: 1px solid var(--rudyon-line);
  background: #eaf1f8;
  color: #334c65;
  font-size: 12px !important;
  font-weight: 800;
  white-space: nowrap;
}
body.rudyon-site #condensedTable tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f6;
  background: #fff;
  line-height: 1.5;
}
body.rudyon-site #condensedTable tbody tr:last-child td { border-bottom: 0; }
body.rudyon-site #condensedTable tbody tr:hover td { background: #f2f7fc; }
body.rudyon-site #condensedTable tbody td a { text-decoration: none; }
body.rudyon-site .view-content .post-body {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--rudyon-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17,42,72,.07);
  line-height: 1.8;
}

/* The old full-size campaign popup used to cover the content. */
.rudyon-promo-open {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: #193553;
  box-shadow: 0 10px 26px rgba(9,23,44,.22);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.rudyon-promo-open:hover { background: #27567c; }
.rudyon-promo-open[hidden] { display: none !important; }
.rudyon-promo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  width: min(250px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(9, 23, 44, .25);
}
.rudyon-promo[hidden] { display: none !important; }
.rudyon-promo img { display: block; width: 100%; height: auto; }
.rudyon-promo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  color: var(--rudyon-muted);
  font-size: 11px;
}
.rudyon-promo-controls label { display: inline-flex; align-items: center; gap: 5px; margin: 0; }
.rudyon-promo-controls button {
  border: 0;
  background: transparent;
  color: var(--rudyon-blue);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

body.rudyon-site .footer {
  max-width: 1200px;
  margin: 28px auto 0 !important;
  padding: 24px 20px 30px;
  border-top: 1px solid var(--rudyon-line);
  color: var(--rudyon-muted);
}
body.rudyon-site .footer a { color: #486078; }
body.rudyon-site .footer a:hover { color: var(--rudyon-blue); }
body.rudyon-site .rudyon-footer-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
body.rudyon-site .rudyon-footer-stats > span { padding-right: 0 !important; }
body.rudyon-site .rudyon-footer-stats a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--rudyon-line);
  border-radius: 9px;
  background: var(--rudyon-surface);
  font-size: 12px;
  text-decoration: none;
}
body.rudyon-site .rudyon-footer-legal { color: var(--rudyon-muted); }

@media (min-width: 768px) and (max-width: 991px) {
  body.rudyon-site .header .header-md-height > .toggle-sidebar { display: none !important; }
  body.rudyon-site .header #site-navigation {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 52px !important;
    transform: none !important;
  }
  body.rudyon-site .header #site-navigation > ul.menu {
    flex-direction: row !important;
    flex-flow: row nowrap !important;
    width: max-content !important;
    min-width: 100%;
    max-width: none !important;
    flex: 0 0 max-content !important;
    overflow: visible !important;
  }
  body.rudyon-site .header #site-navigation > ul.menu > li {
    width: auto !important;
    flex-direction: row !important;
  }
}

@media (max-width: 767px) {
  body.rudyon-site .header { height: auto; }
  body.rudyon-site .header > .container {
    grid-template-rows: 62px 46px;
    padding: 0 15px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  body.rudyon-site .header .title-bar,
  body.rudyon-site .header .header-md-height { height: 62px !important; }
  body.rudyon-site .header .header-md-height > .toggle-sidebar { display: none !important; }
  .rudyon-brand { font-size: 17px; gap: 9px; }
  .rudyon-brand img { width: 32px; height: 32px; }
  .rudyon-brand small { font-size: 9px; }
  .rudyon-page-label { display: none; }
  .rudyon-theme-toggle { width: 35px; min-width: 35px; padding: 6px; }
  .rudyon-theme-text { display: none; }
  body.rudyon-site .header .menu-bar { height: 46px !important; }
  body.rudyon-site .header #site-navigation {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    flex-direction: row !important;
    transform: none !important;
  }
  body.rudyon-site .header #site-navigation > ul.menu {
    flex-direction: row !important;
    flex-flow: row nowrap !important;
    width: max-content !important;
    min-width: 100%;
    max-width: none !important;
    flex: 0 0 max-content !important;
    overflow: visible !important;
  }
  body.rudyon-site .header #site-navigation > ul.menu > li {
    width: auto !important;
    flex-direction: row !important;
  }
  body.rudyon-site .header .menu-bar > ul.menu > li > a { min-height: 46px; padding: 0 13px !important; font-size: 13px; }
  .rudyon-home .social-wrapper .social .jumbotron { height: 380px; }
  .rudyon-home .jumbotron > .container { padding: 0 22px; }
  .rudyon-home .hero-copy { left: 0; bottom: 38px; max-width: calc(100vw - 44px); }
  .rudyon-home .hero-copy h1 { font-size: 32px; }
  .rudyon-home .rudyon-quicklinks { grid-template-columns: 1fr; gap: 9px; margin-top: 10px; padding: 0 16px; }
  .rudyon-quicklink { min-height: 72px; padding: 13px 16px; }
  .rudyon-home .home-content { padding: 22px 16px 10px !important; }
  .rudyon-home .home-content > .row { margin: 0 -8px; }
  .rudyon-home .home-content > .row > [class*="col-"] { padding: 0 8px; }
  .rudyon-home .social-card.share { margin-bottom: 16px; }
  .rudyon-home .social-card .list-group-item { padding: 10px 13px; }
  .rudyon-promo { right: 12px; bottom: 12px; width: 180px; }
  .rudyon-promo-open { right: 12px; bottom: 12px; }
  .rudyon-promo-controls { font-size: 10px; }
}

/* Player profile and private donation history. */
body.rudyon-site .rudyon-profile {
  width: 100%;
  max-width: 1200px;
  padding: 30px 24px 54px;
}
.rudyon-profile-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 20px;
  background: radial-gradient(circle at 92% 12%, rgba(89,224,194,.22), transparent 34%), linear-gradient(125deg, #11263d, #1b3852);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15,34,55,.18);
}
.rudyon-profile-identity { display: flex; align-items: center; gap: 24px; min-width: 0; }
.rudyon-profile-avatar {
  width: 128px; height: 128px; flex: 0 0 128px;
  border: 4px solid rgba(255,255,255,.62);
  border-radius: 18px; object-fit: cover;
  background: #243e57;
  image-rendering: pixelated;
}
.rudyon-profile-eyebrow, .rudyon-profile-kicker {
  display: block; color: #60d7c3; font-size: 11px;
  font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
body.rudyon-site .rudyon-profile-hero h1 {
  margin: 5px 0 0; color: #fff !important;
  font-size: clamp(27px, 4vw, 39px); font-weight: 800; line-height: 1.15;
  overflow-wrap: anywhere;
}
.rudyon-profile-nickname { margin: 4px 0 0; color: #c7d9e8; font-size: 16px; }
.rudyon-profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rudyon-profile-badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 4px 11px;
  border-radius: 999px; background: #72e0ca; color: #123342;
  font-size: 12px; font-weight: 800;
}
.rudyon-profile-badge-soft { background: rgba(255,255,255,.13); color: #e7f4fc; }
.rudyon-profile-joined { display: flex; align-items: center; gap: 8px; margin: 13px 0 0; color: #bfd3e1; font-size: 12px; font-weight: 600; }
.rudyon-profile-joined i { color: #7de0cb; }
.rudyon-profile-joined time { color: #f0fbff; font-weight: 800; }
.rudyon-profile-intro { max-width: 270px; margin: 0; color: #bdcfdf; font-size: 13px; line-height: 1.6; }
.rudyon-profile-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin: 18px 0;
}
.rudyon-profile-stat, .rudyon-profile-panel {
  background: var(--rudyon-surface); border: 1px solid var(--rudyon-line);
  border-radius: 16px; box-shadow: 0 8px 24px rgba(15,34,55,.045);
}
.rudyon-profile-stat { min-width: 0; padding: 21px 22px; }
.rudyon-profile-stat > span { display: block; color: var(--rudyon-muted); font-size: 13px; font-weight: 700; }
.rudyon-profile-stat strong { display: block; margin-top: 9px; color: var(--rudyon-ink); font-size: clamp(19px, 2.4vw, 27px); line-height: 1.2; overflow-wrap: anywhere; }
.rudyon-profile-stat small { color: var(--rudyon-muted); font-size: 13px; font-weight: 600; }
.rudyon-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rudyon-profile-panel { min-width: 0; padding: 26px; }
.rudyon-profile-section { margin-top: 18px; }
.rudyon-profile-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
body.rudyon-site .rudyon-profile-section-head h1,
body.rudyon-site .rudyon-profile-section-head h2 { margin: 4px 0 0; color: var(--rudyon-ink); font-size: 22px; font-weight: 800; }
.rudyon-profile-section-head p { margin: 8px 0 0; color: var(--rudyon-muted); font-size: 13px; }
.rudyon-profile-details { margin: 0; }
.rudyon-profile-details > div { display: grid; grid-template-columns: minmax(90px, 130px) minmax(0, 1fr); gap: 15px; padding: 11px 0; border-top: 1px solid var(--rudyon-line); }
.rudyon-profile-details dt { color: var(--rudyon-muted); font-size: 13px; font-weight: 600; }
.rudyon-profile-details dd { margin: 0; color: var(--rudyon-ink); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.rudyon-profile-discord { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; }
.rudyon-profile-discord img { width: 68px; height: 68px; border-radius: 16px; object-fit: cover; background: #243e57; }
.rudyon-profile-discord strong { display: block; color: var(--rudyon-ink); font-size: 18px; overflow-wrap: anywhere; }
.rudyon-profile-discord span { display: block; margin-top: 3px; color: var(--rudyon-muted); font-size: 12px; }
.rudyon-profile-details-compact > div { grid-template-columns: minmax(90px, 130px) minmax(0, 1fr); }
body.rudyon-site a.rudyon-profile-more {
  flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--rudyon-line);
  border-radius: 999px; color: var(--rudyon-ink); font-size: 12px; font-weight: 800;
  text-decoration: none; white-space: nowrap;
}
body.rudyon-site a.rudyon-profile-more:hover { border-color: var(--rudyon-blue); color: var(--rudyon-blue); }
.rudyon-profile-empty { margin: 0; padding: 30px 16px; border-radius: 12px; background: #f4f7fb; color: var(--rudyon-muted); text-align: center; font-size: 14px; }
.rudyon-profile-table-scroll { width: 100%; overflow-x: auto; }
.rudyon-profile-table { width: 100%; min-width: 690px; border-collapse: collapse; }
.rudyon-profile-table th { padding: 12px 13px; border-bottom: 1px solid var(--rudyon-line); color: var(--rudyon-muted); font-size: 12px; text-align: left; white-space: nowrap; }
.rudyon-profile-table td { padding: 14px 13px; border-bottom: 1px solid var(--rudyon-line); color: var(--rudyon-ink); font-size: 13px; }
.rudyon-profile-table tbody tr:last-child td { border-bottom: 0; }
.rudyon-profile-status { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #eff3f7; color: #455a70; font-size: 11px; font-weight: 800; white-space: nowrap; }
.rudyon-profile-status-1 { background: #e0f8ef; color: #177a5a; }
.rudyon-profile-status-2 { background: #fff0ed; color: #b34b43; }
#activity { scroll-margin-top: 145px; }
.rudyon-profile-tabs { display: flex; gap: 8px; margin: 0 0 12px; border-bottom: 1px solid var(--rudyon-line); }
body.rudyon-site .rudyon-profile-tabs a {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: -1px;
  padding: 10px 14px; border-bottom: 3px solid transparent;
  color: var(--rudyon-muted); font-size: 14px; font-weight: 700; text-decoration: none;
}
body.rudyon-site .rudyon-profile-tabs a.active,
body.rudyon-site .rudyon-profile-tabs a[aria-current="page"] { border-color: var(--rudyon-blue); color: var(--rudyon-blue); }
.rudyon-profile-tabs span { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; min-height: 23px; padding: 2px 5px; border-radius: 999px; background: #eef3f8; font-size: 11px; }
.rudyon-profile-activity-list { margin: 0; padding: 0; list-style: none; }
.rudyon-profile-activity-list li + li { border-top: 1px solid var(--rudyon-line); }
body.rudyon-site .rudyon-profile-activity-list a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center; gap: 14px; min-height: 64px; padding: 12px 5px;
  color: var(--rudyon-ink); text-decoration: none;
}
body.rudyon-site .rudyon-profile-activity-list a:hover { color: var(--rudyon-blue); }
.rudyon-profile-activity-type { padding: 5px 9px; border-radius: 7px; background: #e9f8f4; color: #14725e; font-size: 11px; font-weight: 800; white-space: nowrap; }
.rudyon-profile-activity-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.rudyon-profile-activity-list time { color: var(--rudyon-muted); font-size: 12px; white-space: nowrap; }
.rudyon-profile-activity-arrow { color: var(--rudyon-muted); font-size: 18px; }
.rudyon-profile-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 22px; }
body.rudyon-site .rudyon-profile-pagination a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 37px; min-height: 37px;
  padding: 6px 10px; border: 1px solid var(--rudyon-line); border-radius: 9px;
  color: var(--rudyon-ink); font-size: 13px; font-weight: 700; text-decoration: none;
}
body.rudyon-site .rudyon-profile-pagination a[aria-current="page"] { background: var(--rudyon-blue); border-color: var(--rudyon-blue); color: #fff; }
body.rudyon-site .rudyon-profile-pagination a:hover:not([aria-current="page"]) { border-color: var(--rudyon-blue); color: var(--rudyon-blue); }

@media (max-width: 800px) {
  .rudyon-profile-hero { align-items: flex-start; flex-direction: column; }
  .rudyon-profile-intro { max-width: none; }
  .rudyon-profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rudyon-profile-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body.rudyon-site .rudyon-profile { padding: 16px 14px 40px; }
  .rudyon-profile-hero { padding: 22px; border-radius: 16px; }
  .rudyon-profile-identity { align-items: flex-start; gap: 15px; }
  .rudyon-profile-avatar { width: 76px; height: 76px; flex-basis: 76px; border-width: 3px; border-radius: 13px; }
  .rudyon-profile-stats { gap: 9px; margin: 12px 0; }
  .rudyon-profile-stat { padding: 15px; }
  .rudyon-profile-stat strong { font-size: 19px; }
  .rudyon-profile-panel { padding: 19px; }
  .rudyon-profile-section { margin-top: 12px; }
  .rudyon-profile-section-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .rudyon-profile-details > div { grid-template-columns: 90px minmax(0, 1fr); gap: 8px; }
  body.rudyon-site .rudyon-profile-activity-list a { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
  .rudyon-profile-activity-list time { grid-area: 2 / 2; }
  .rudyon-profile-activity-arrow { grid-area: 1 / 3; }
  body.rudyon-site .header .menu-bar::-webkit-scrollbar { display: block; height: 3px; }
  body.rudyon-site .header .menu-bar::-webkit-scrollbar-thumb { background: rgba(108,224,215,.65); border-radius: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rudyon-home .hero-actions a { transition: none; }
}

@media (max-width: 480px) {
  .visibledesktop { display: none !important; }
}
