.rh-public-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 19, 35, .16), #061323 760px),
    url('/static/img/landing-topography-v4.webp') center top / max(1774px, 100vw) auto no-repeat,
    #061323;
}

.rh-public-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 360px at 10% 7%, rgba(49, 196, 226, .07), transparent 70%),
    radial-gradient(620px 360px at 92% 2%, rgba(73, 125, 255, .07), transparent 72%);
}

.rh-public-shell > * { position: relative; z-index: 1; }
.rh-public-nav { border-bottom: 1px solid rgba(118, 160, 197, .12); }
.rh-public-nav .rh-landing-links a[aria-current="page"] { color: #dff7ff; }
.rh-public-actions { gap: 11px; }

.rh-public-account { position: relative; }
.rh-public-account > summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 3px 8px 3px 3px;
  border: 1px solid rgba(118, 160, 197, .2);
  border-radius: 999px;
  background: rgba(8, 25, 42, .72);
  color: #b8cad7;
  font-size: 9px;
  font-weight: 760;
  list-style: none;
  cursor: pointer;
}
.rh-public-account > summary::-webkit-details-marker { display: none; }
.rh-public-account > summary img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #0a1a2b; }
.rh-public-account > summary i { color: #688195; font-size: 8px; transition: transform .18s ease; }
.rh-public-account[open] > summary i { transform: rotate(180deg); }
.rh-public-account > div {
  position: absolute;
  z-index: 60;
  top: 43px;
  right: 0;
  display: grid;
  width: 190px;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(118, 160, 197, .22);
  border-radius: 11px;
  background: rgba(5, 16, 28, .98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}
.rh-public-account > div a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 7px; color: #9db2c2; font-size: 10px; font-weight: 700; text-decoration: none; }
.rh-public-account > div a:hover { background: rgba(66, 216, 245, .07); color: #edf9ff; }
.rh-public-account > div i { color: #47cbe6; }
.rh-public-mobile-languages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; padding: 7px; }
.rh-public-mobile-languages a { display: grid; min-height: 28px; place-items: center; border: 1px solid rgba(118, 160, 197, .15); border-radius: 6px; color: #738b9d; font-size: 8px; font-weight: 800; text-decoration: none; }
.rh-public-mobile-languages a.is-active { border-color: rgba(66, 216, 245, .35); background: rgba(66, 216, 245, .08); color: #9decfa; }

.rh-public-footer { margin-top: 34px; }

/* Server directory */
/* The directory can be taller than the shared public-page hero. Keep its
   topography behind the complete access introduction instead of fading it out
   just before the server workspace begins. This is deliberately scoped: the
   media page shares .rh-public-shell but has a different composition. */
body.rh-guilds-command .rh-public-shell {
  background:
    linear-gradient(180deg, rgba(6, 19, 35, .16) 0, rgba(6, 19, 35, .4) 900px, #061323 1280px),
    url('/static/img/landing-topography-v4.webp') center top / max(1774px, 100vw) auto no-repeat,
    #061323;
}
.rh-directory-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 68px 0 76px; }
.rh-directory-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px 70px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid rgba(118, 160, 197, .16); }
.rh-directory-copy { max-width: 700px; }
.rh-page-kicker { display: inline-flex; align-items: center; gap: 8px; color: #5ebfd4; font-size: 9px; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.rh-page-kicker::before { content: ""; width: 22px; height: 1px; background: #43cae7; }
.rh-directory-copy h1 { max-width: 680px; margin: 15px 0 14px; color: #f4f9fd; font-size: clamp(42px, 5vw, 60px); line-height: 1.01; letter-spacing: -.055em; text-wrap: balance; }
.rh-directory-copy p { max-width: 650px; margin: 0; color: #859aac; font-size: 13px; line-height: 1.7; }
.rh-directory-summary { display: grid; min-width: 210px; gap: 9px; }
.rh-directory-summary span { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px; border-bottom: 1px solid rgba(118, 160, 197, .14); color: #71899b; font-size: 9px; font-weight: 720; }
.rh-directory-summary b { color: #dcecf5; font-size: 12px; }
.rh-directory-summary i { margin-right: 7px; color: #45c9e5; }
.rh-directory-note { display: flex; align-items: flex-start; gap: 12px; margin: 26px 0 0; padding: 14px 16px; border: 1px solid rgba(118, 160, 197, .16); border-radius: 9px; background: rgba(8, 26, 43, .56); color: #7f96a8; font-size: 10px; line-height: 1.6; }
.rh-directory-note > i { margin-top: 1px; color: #49cce6; font-size: 15px; }
.rh-directory-note p { margin: 0; }
.rh-directory-note strong { display: block; margin-bottom: 2px; color: #c7dae5; font-size: 10px; }
.rh-directory-note strong + span { display: block; }
.rh-directory-feedback-result { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding: 11px 14px; border: 1px solid rgba(118, 160, 197, .18); border-radius: 9px; background: rgba(8, 26, 43, .58); color: #a9c0cf; font-size: 10px; line-height: 1.5; }
.rh-directory-feedback-result.is-success { border-color: rgba(74, 222, 128, .28); color: #c7f7da; }
.rh-directory-feedback-result i { color: #48dca1; }
.rh-directory-removal-stack { display: grid; gap: 14px; margin-top: 24px; }
.rh-directory-removal-card { padding: 18px; border: 1px solid rgba(245, 185, 74, .3); border-radius: 13px; background: linear-gradient(110deg, rgba(107, 63, 25, .2), rgba(8, 25, 42, .88) 47%); box-shadow: 0 20px 54px rgba(0, 0, 0, .19); }
.rh-directory-removal-intro { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.rh-directory-removal-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(245, 185, 74, .38); border-radius: 10px; background: rgba(245, 185, 74, .09); color: #f3ca6b; }
.rh-directory-removal-intro .rh-page-kicker { font-size: 8px; color: #ebc66e; }
.rh-directory-removal-intro .rh-page-kicker::before { background: #e5b94f; }
.rh-directory-removal-intro h2 { max-width: 760px; margin: 8px 0 5px; color: #ecf6fa; font-size: 16px; line-height: 1.28; letter-spacing: -.02em; }
.rh-directory-removal-intro h2 strong { color: #f4ca69; }
.rh-directory-removal-intro p { max-width: 780px; margin: 0; color: #8ca4b4; font-size: 10px; line-height: 1.6; }
.rh-directory-removal-form { display: grid; gap: 12px; margin: 15px 0 0 46px; }
.rh-directory-removal-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.rh-directory-removal-form legend,
.rh-directory-removal-text > span { display: block; margin-bottom: 7px; color: #bcd0db; font-size: 9px; font-weight: 800; }
.rh-directory-reason-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.rh-directory-reason-grid label { min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 33px; padding: 6px 8px; border: 1px solid rgba(118, 160, 197, .17); border-radius: 7px; background: rgba(3, 14, 26, .38); color: #a9bfcc; font-size: 9px; font-weight: 700; cursor: pointer; }
.rh-directory-reason-grid label:has(input:checked) { border-color: rgba(245, 185, 74, .58); background: rgba(245, 185, 74, .1); color: #f5e1a6; }
.rh-directory-reason-grid input { width: 13px; height: 13px; margin: 0; accent-color: #e6b94f; flex: 0 0 auto; }
.rh-directory-removal-text textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 50px; padding: 9px 10px; border: 1px solid rgba(118, 160, 197, .2); border-radius: 8px; outline: none; background: rgba(3, 14, 26, .54); color: #e1edf3; font: inherit; font-size: 10px; line-height: 1.5; }
.rh-directory-removal-text textarea:focus { border-color: rgba(66, 216, 245, .55); box-shadow: 0 0 0 3px rgba(66, 216, 245, .08); }
.rh-directory-removal-actions { display: flex; align-items: center; gap: 12px; }
.rh-directory-removal-actions .rh-primary-button { min-height: 36px; padding: 0 13px; border: 0; cursor: pointer; font: inherit; font-size: 9px; }
.rh-directory-removal-skip { border: 0; background: transparent; color: #8aa0ae; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.rh-directory-removal-skip:hover { color: #d5e7ee; text-decoration: underline; }
.rh-directory-panel { margin-top: 46px; }
.rh-directory-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.rh-directory-panel-head h2 { margin: 0 0 5px; color: #e9f5fb; font-size: 21px; letter-spacing: -.035em; }
.rh-directory-panel-head p { margin: 0; color: #70899b; font-size: 10px; }
.rh-directory-count { display: inline-flex; min-height: 30px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid rgba(118, 160, 197, .18); border-radius: 999px; background: rgba(8, 26, 43, .62); color: #93a9b8; font-size: 9px; font-weight: 760; }
.rh-directory-count i { color: #43c9e4; }
.rh-guild-grid-v3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rh-guild-card-v3 { position: relative; min-width: 0; min-height: 220px; display: flex; flex-direction: column; padding: 18px; overflow: hidden; border: 1px solid rgba(118, 160, 197, .17); border-radius: 11px; background: rgba(8, 25, 42, .78); box-shadow: 0 18px 44px rgba(0, 0, 0, .16); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.rh-guild-card-v3:hover { border-color: rgba(66, 216, 245, .34); background: rgba(9, 29, 47, .92); transform: translateY(-2px); }
.rh-guild-card-v3.is-premium::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, #e5b94f, rgba(229, 185, 79, .12)); }
.rh-guild-card-v3.is-trial::before { background: linear-gradient(90deg, #9d8cff, rgba(157, 140, 255, .12)); }
.rh-guild-status-row { display: flex; min-height: 27px; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.rh-guild-plan { display: inline-flex; align-items: center; gap: 6px; color: #71899a; font-size: 8px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.rh-guild-plan i { color: #658296; }
.rh-guild-plan.is-premium { color: #e8c762; }
.rh-guild-plan.is-premium i { color: #e5b94f; }
.rh-guild-plan.is-trial { color: #c4b8ff; }
.rh-guild-plan.is-trial i { color: #a996ff; }
.rh-guild-time { max-width: 58%; overflow: hidden; color: #778fa0; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.rh-guild-time.is-ending { color: #f1ae83; }
.rh-guild-identity { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 13px; align-items: center; }
.rh-guild-avatar { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(118, 160, 197, .2); border-radius: 10px; background: #0a1d30; color: #bfeef7; font-size: 16px; font-weight: 820; object-fit: cover; }
.rh-guild-identity h3 { overflow: hidden; margin: 0 0 5px; color: #e8f4fa; font-size: 15px; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.rh-guild-identity p { margin: 0; color: #647e91; font-size: 8px; line-height: 1.45; }
.rh-guild-identity code { color: #8da6b8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.rh-guild-open { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 0 12px; border: 1px solid rgba(66, 216, 245, .22); border-radius: 8px; background: rgba(35, 173, 201, .08); color: #9de6f3; font-size: 9px; font-weight: 800; text-decoration: none; }
.rh-guild-open:hover { border-color: rgba(66, 216, 245, .42); background: rgba(35, 173, 201, .15); color: #dcf8ff; }
.rh-guild-open i { font-size: 11px; }
.rh-directory-empty { padding: 70px 28px; border: 1px solid rgba(118, 160, 197, .17); border-radius: 12px; background: rgba(8, 25, 42, .72); text-align: center; }
.rh-directory-empty > i { display: block; margin-bottom: 18px; color: #48cae4; font-size: 30px; }
.rh-directory-empty h2 { margin: 0 0 10px; color: #e7f5fb; font-size: 22px; }
.rh-directory-empty p { max-width: 620px; margin: 0 auto; color: #7891a3; font-size: 11px; line-height: 1.65; }
.rh-directory-empty .rh-primary-button { margin-top: 22px; }

/* Media alignment with the Command Center visual system. */
.rh-media-command .media-shell { width: min(1180px, calc(100% - 48px)); max-width: none; padding: 50px 0 92px; }
.rh-media-command .media-hero { min-height: 480px; grid-template-columns: minmax(0, .88fr) minmax(390px, 1.12fr); gap: 70px; }
.rh-media-command .media-kicker { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #5ebfd4; font-size: 9px; letter-spacing: .13em; }
.rh-media-command .media-kicker::before { width: 22px; height: 1px; border-radius: 0; background: #43cae7; box-shadow: none; animation: none; }
.rh-media-command .media-copy h1 { max-width: 600px; margin: 17px 0 16px; background: none; color: #f4f9fd; font-size: clamp(44px, 5vw, 60px); line-height: 1.01; letter-spacing: -.055em; }
.rh-media-command .media-copy p.media-lead { max-width: 610px; color: #859aac; font-size: 13px; line-height: 1.72; }
.rh-media-command .media-actions { margin-top: 23px; }
.rh-media-command .media-actions .button { min-height: 42px; display: inline-flex; align-items: center; padding: 0 17px; border: 1px solid rgba(66, 216, 245, .42); border-radius: 8px; background: #27bad6; color: #03131d; box-shadow: 0 14px 34px rgba(38, 185, 215, .16); font-size: 10px; text-decoration: none; }
.rh-media-command .media-actions .button.ghost { border-color: rgba(118, 160, 197, .22); background: rgba(8, 25, 42, .72); color: #b9cbd7; box-shadow: none; }
.rh-media-command .media-proof { max-width: 560px; gap: 0; margin-top: 27px; border-top: 1px solid rgba(118, 160, 197, .15); border-bottom: 1px solid rgba(118, 160, 197, .15); }
.rh-media-command .media-proof span { border: 0; border-radius: 0; background: transparent; padding: 13px 10px; color: #71899b; font-size: 9px; }
.rh-media-command .media-proof span + span { border-left: 1px solid rgba(118, 160, 197, .15); }
.rh-media-command .media-proof span::after { display: none; }
.rh-media-command .media-showcase::before { inset: -18px; border-radius: 18px; background: radial-gradient(60% 60% at 50% 45%, rgba(66, 216, 245, .09), transparent 72%); }
.rh-media-command .media-feature-link { border-color: rgba(118, 160, 197, .19); border-radius: 12px; background: rgba(6, 18, 32, .86); padding: 10px; box-shadow: 0 28px 70px rgba(0, 0, 0, .32); }
.rh-media-command .media-feature-link:hover { border-color: rgba(66, 216, 245, .38); box-shadow: 0 32px 76px rgba(0, 0, 0, .4); }
.rh-media-command .media-feature-figure { border-radius: 8px; background: #04101d; }
.rh-media-command .media-feature-link img { max-height: 520px; background: #04101d; }
.rh-media-command .media-feature-caption { margin-top: 11px; padding: 0 4px 2px; color: #7891a3; font-size: 9px; }
.rh-media-command .media-feature-caption strong { color: #dcecf5; font-size: 11px; }
.rh-media-command .media-feature-caption .media-open-hint { color: #65d1e7; }
.rh-media-command .media-navbar { margin: 34px 0 8px; padding: 14px 16px; border-color: rgba(118, 160, 197, .16); border-radius: 10px; background: rgba(8, 25, 42, .65); }
.rh-media-command .media-navbar-head strong { color: #dbeaf3; font-size: 11px; }
.rh-media-command .media-navbar-head span { color: #6e8799; font-size: 9px; }
.rh-media-command .media-step { width: 38px; height: 38px; border-color: rgba(118, 160, 197, .18); border-radius: 8px; background: rgba(5, 16, 29, .7); color: #8fa9ba; font-size: 10px; }
.rh-media-command .media-step:hover,
.rh-media-command .media-step.is-active { border-color: rgba(66, 216, 245, .42); background: rgba(35, 173, 201, .12); color: #dff8ff; }
.rh-media-command .media-section-head { margin: 54px 0 20px; }
.rh-media-command .media-section-head h2 { color: #eaf5fa; font-size: 28px; letter-spacing: -.035em; }
.rh-media-command .media-section-head p { color: #71899b; font-size: 11px; }
.rh-media-command .media-count { border-color: rgba(66, 216, 245, .2); background: rgba(35, 173, 201, .07); color: #83dbea; padding: 7px 11px; font-size: 9px; }
.rh-media-command .media-grid { gap: 14px; }
.rh-media-command .media-card,
.rh-media-command .media-card:nth-child(n) { border-color: rgba(118, 160, 197, .16); border-radius: 10px; background: rgba(8, 25, 42, .76); box-shadow: 0 18px 44px rgba(0, 0, 0, .18); }
.rh-media-command .media-card:hover { border-color: rgba(66, 216, 245, .34); box-shadow: 0 24px 54px rgba(0, 0, 0, .28); }
.rh-media-command .media-frame { background: #05111f; padding: 8px; }
.rh-media-command .media-frame img { height: 260px; border-radius: 6px; background: #030b15; }
.rh-media-command .media-card.is-wide .media-frame img { height: 348px; }
.rh-media-command .media-number,
.rh-media-command .media-expand { top: 16px; border-radius: 7px; background: rgba(4, 15, 27, .88); }
.rh-media-command .media-number { left: 16px; min-width: 31px; height: 31px; border-color: rgba(118, 160, 197, .25); color: #cde4ef; font-size: 9px; }
.rh-media-command .media-expand { right: 16px; width: 31px; height: 31px; border-color: rgba(66, 216, 245, .35); color: #82dff0; }
.rh-media-command .media-body { padding: 14px 16px 17px; border-top-color: rgba(118, 160, 197, .11); }
.rh-media-command .media-body h3 { margin-bottom: 7px; color: #dcebf3; font-size: 14px; }
.rh-media-command .media-body p { color: #71899b; font-size: 10px; line-height: 1.6; }
.rh-media-command .media-cta { margin-top: 46px; padding: 25px 27px; border-color: rgba(66, 216, 245, .2); border-radius: 12px; background: #081a2b; box-shadow: 0 24px 58px rgba(0, 0, 0, .2); }
.rh-media-command .media-cta strong { color: #e8f4fa; font-size: 18px; }
.rh-media-command .media-cta span { color: #7891a3; font-size: 11px; }
.rh-media-command .media-cta .button { min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid rgba(66, 216, 245, .42); border-radius: 8px; background: #27bad6; color: #03131d; font-size: 10px; text-decoration: none; }

@media (max-width: 1080px) {
  .rh-public-account > summary span { display: none; }
  .rh-guild-grid-v3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-media-command .media-hero { gap: 40px; }
}

@media (max-width: 900px) {
  .rh-public-nav { border-bottom-color: rgba(118, 160, 197, .14); }
  .rh-directory-main { padding-top: 54px; }
  .rh-media-command .media-hero { min-height: auto; grid-template-columns: 1fr; padding: 48px 0 20px; }
  .rh-media-command .media-showcase { width: min(680px, 100%); margin: 0 auto; }
}

@media (max-width: 700px) {
  body.rh-guilds-command .rh-public-shell {
    background:
      linear-gradient(180deg, rgba(6, 19, 35, .16) 0, rgba(6, 19, 35, .42) 780px, #061323 1080px),
      url('/static/img/landing-topography-v4.webp') center top / 1040px auto no-repeat,
      #061323;
  }
  .rh-directory-main,
  .rh-media-command .media-shell { width: calc(100% - 28px); }
  .rh-directory-main { padding: 44px 0 58px; }
  .rh-directory-intro { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
  .rh-directory-copy h1 { font-size: 42px; }
  .rh-directory-summary { min-width: 0; }
  .rh-directory-removal-card { padding: 15px; }
  .rh-directory-removal-intro { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .rh-directory-removal-form { margin-left: 0; }
  .rh-directory-reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-directory-removal-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .rh-guild-grid-v3 { grid-template-columns: 1fr; }
  .rh-directory-panel-head { align-items: flex-start; }
  .rh-media-command .media-shell { padding-top: 24px; }
  .rh-media-command .media-copy h1 { font-size: 43px; }
  .rh-media-command .media-proof { grid-template-columns: repeat(3, 1fr); }
  .rh-media-command .media-section-head { margin-top: 42px; }
  .rh-media-command .media-frame img,
  .rh-media-command .media-card.is-wide .media-frame img { height: 250px; }
  .rh-media-command .media-cta { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-guild-card-v3,
  .rh-public-account > summary i { transition: none; }
}

@media (min-width: 1000px) {
  .rh-public-account > summary { min-height: 40px; padding-right: 11px; font-size: 11px; }
  .rh-public-account > summary img { width: 32px; height: 32px; }
  .rh-public-account > div { top: 49px; width: 220px; }
  .rh-public-account > div a { padding: 11px 12px; font-size: 12px; }

  .rh-directory-main { width: min(1360px, calc(100% - 64px)); padding: 84px 0 92px; }
  .rh-directory-intro { padding-bottom: 64px; }
  .rh-directory-copy { max-width: 820px; }
  .rh-page-kicker { font-size: 11px; }
  .rh-directory-copy h1 { max-width: 800px; font-size: clamp(54px, 4.1vw, 68px); }
  .rh-directory-copy p { max-width: 760px; font-size: 16px; }
  .rh-directory-summary { min-width: 280px; }
  .rh-directory-summary span { padding: 13px 14px; font-size: 12px; }
  .rh-directory-summary b { font-size: 15px; }
  .rh-directory-note { padding: 17px 19px; font-size: 13px; }
  .rh-directory-note strong { font-size: 13px; }
  .rh-directory-feedback-result { padding: 14px 17px; font-size: 12px; }
  .rh-directory-removal-card { padding: 23px; }
  .rh-directory-removal-intro { grid-template-columns: 42px minmax(0, 1fr); gap: 15px; }
  .rh-directory-removal-icon { width: 42px; height: 42px; font-size: 18px; }
  .rh-directory-removal-intro .rh-page-kicker { font-size: 10px; }
  .rh-directory-removal-intro h2 { font-size: 21px; }
  .rh-directory-removal-intro p { font-size: 13px; }
  .rh-directory-removal-form { margin-left: 57px; }
  .rh-directory-removal-form legend,
  .rh-directory-removal-text > span { font-size: 11px; }
  .rh-directory-reason-grid label { min-height: 40px; padding: 8px 10px; font-size: 11px; }
  .rh-directory-removal-text textarea { padding: 11px 12px; font-size: 12px; }
  .rh-directory-removal-actions .rh-primary-button { min-height: 43px; padding: 0 16px; font-size: 11px; }
  .rh-directory-removal-skip { font-size: 11px; }
  .rh-directory-panel { margin-top: 56px; }
  .rh-directory-panel-head h2 { font-size: 27px; }
  .rh-directory-panel-head p { font-size: 13px; }
  .rh-directory-count { min-height: 36px; padding: 0 14px; font-size: 12px; }
  .rh-guild-grid-v3 { gap: 18px; }
  .rh-guild-card-v3 { min-height: 264px; padding: 22px; }
  .rh-guild-plan,
  .rh-guild-time { font-size: 11px; }
  .rh-guild-avatar { width: 58px; height: 58px; font-size: 19px; }
  .rh-guild-identity { grid-template-columns: 58px minmax(0, 1fr); gap: 16px; }
  .rh-guild-identity h3 { font-size: 18px; }
  .rh-guild-identity p,
  .rh-guild-identity code { font-size: 11px; }
  .rh-guild-open { min-height: 47px; padding: 0 15px; font-size: 12px; }

  .rh-media-command .media-shell { width: min(1360px, calc(100% - 64px)); padding: 70px 0 108px; }
  .rh-media-command .media-hero { min-height: 580px; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); gap: 86px; }
  .rh-media-command .media-kicker { font-size: 11px; }
  .rh-media-command .media-copy h1 { max-width: 680px; font-size: clamp(56px, 4.1vw, 70px); }
  .rh-media-command .media-copy p.media-lead { max-width: 700px; font-size: 16px; }
  .rh-media-command .media-actions .button { min-height: 49px; padding: 0 21px; font-size: 13px; }
  .rh-media-command .media-proof { max-width: 650px; }
  .rh-media-command .media-proof span { padding: 16px 12px; font-size: 12px; }
  .rh-media-command .media-feature-caption { font-size: 12px; }
  .rh-media-command .media-feature-caption strong { font-size: 14px; }
  .rh-media-command .media-navbar-head strong { font-size: 14px; }
  .rh-media-command .media-navbar-head span { font-size: 12px; }
  .rh-media-command .media-step { width: 44px; height: 44px; font-size: 12px; }
  .rh-media-command .media-section-head h2 { font-size: 34px; }
  .rh-media-command .media-section-head p { font-size: 14px; }
  .rh-media-command .media-count { font-size: 12px; }
  .rh-media-command .media-number { font-size: 12px; }
  .rh-media-command .media-body h3 { font-size: 17px; }
  .rh-media-command .media-body p { font-size: 13px; }
  .rh-media-command .media-cta strong { font-size: 22px; }
  .rh-media-command .media-cta span { font-size: 14px; }
  .rh-media-command .media-cta .button { min-height: 49px; font-size: 13px; }
}


/* The texture now spans the viewport, so the directory can align with the
   same wide page grid as the navigation and cards. Copy still keeps its own
   readable measure; only the composition canvas grows. */
@media (min-width: 1200px) {
  body.rh-guilds-command .rh-directory-main { width: var(--rh-page-w); }
  .rh-media-command .media-shell { width: var(--rh-page-w); margin-left: auto; margin-right: auto; }
}

@media (min-width: 1600px) {
  body.rh-guilds-command .rh-guild-grid-v3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
