@media (min-width: 761px) {
  .community-layout .community-rail {
    padding-inline: 0 clamp(8px, 1.5vw, 24px);
  }

  .community-rail > button.community-profile {
    min-height: 58px;
    width: 100%;
    padding: 6px 8px 14px;
    border-radius: 0;
    text-align: left;
  }

  .community-rail .community-profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .community-rail .community-profile-copy {
    min-width: 0;
  }

  .community-rail .community-profile-copy strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #253a31;
    font: 650 15px/1.45 system-ui, sans-serif;
  }

  .community-rail .community-profile-copy small {
    color: #52645a;
    font: 400 12px/1.45 system-ui, sans-serif;
  }

  .community-rail .community-room-board {
    flex: 0 0 auto;
    padding: 16px 0 0;
  }

  .community-room-board > header {
    padding: 0 8px 6px;
  }

  .community-room-board > header h2 {
    margin: 0;
    color: #253a31;
    font: 650 16px/1.45 system-ui, sans-serif;
  }

  .community-rail .community-room-board nav {
    gap: 2px;
    padding: 0;
  }

  .community-room-board .feed-room-link,
  .community-room-board .feed-room-link:hover {
    display: grid;
    box-sizing: border-box;
    text-decoration: none;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 8px;
    border: 0;
    border-radius: 6px;
    color: #253a31;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    transform: none;
    transition: none;
  }

  .community-room-board .feed-room-link::before,
  .community-room-board .feed-room-link::after {
    display: none;
    background: none;
  }

  .community-room-board .feed-room-link:hover,
  .community-rail > button.community-profile:hover {
    background: #e9eee6;
  }

  .community-rail .feed-room-link:focus-visible,
  .community-rail > button.community-profile:focus-visible {
    outline: 2px solid #456b55;
    outline-offset: -2px;
  }

  .community-room-board .community-door-number,
  .community-room-board .community-door-copy strong,
  .community-room-board .community-door-arrow {
    color: inherit;
    font: 600 clamp(13px, 1vw, 16px)/1.35 system-ui, sans-serif;
    text-shadow: none;
  }

  .community-room-board .community-door-number {
    font-variant-numeric: tabular-nums;
  }

  .community-room-board .community-door-arrow {
    display: block;
    color: #52645a;
  }
}

@media (min-width: 761px) {
  body .community-layout { padding-top: 10px !important; }
  .community-rail > button.community-profile {
    padding: 12px 10px;
    border: 1px solid #dfddd1;
    border-radius: 10px;
    background: #faf9f3;
    box-shadow: 0 1px 0 #dfddd1;
  }
  .community-rail .community-room-board nav { gap: 12px; }
  .community-room-board .feed-room-link {
    --room-face: #e9ebdc;
    --room-edge: #cfd3be;
    grid-template-columns: 3.4ch minmax(0, 1fr);
    gap: clamp(6px, .75vw, 12px);
    min-height: 76px;
    padding: 10px clamp(7px, .8vw, 14px);
    border: 1px solid var(--room-edge);
    border-radius: 12px;
    background: radial-gradient(ellipse 70% 125% at 112% 140%, #21392e0d 99%, transparent 100%), var(--room-face);
    box-shadow: 0 2px 0 var(--room-edge), 0 4px 7px #26352d0b;
  }
  .community-room-board .feed-room-link[href*="room=102"] { --room-face: #e2eaeb; --room-edge: #cad8d9; }
  .community-room-board .feed-room-link[href*="room=103"] { --room-face: #eee5e8; --room-edge: #ded0d6; }
  .community-room-board .feed-room-link[href*="room=104"] { --room-face: #f2ebdd; --room-edge: #e1d5c1; }
  .community-room-board .feed-room-link:hover { filter: brightness(.98); }
  .community-room-board .community-door-number {
    justify-content: center;
    font: 650 clamp(16px, 1.55vw, 25px)/1 system-ui, sans-serif;
    font-variant-numeric: tabular-nums lining-nums;
    letter-spacing: 0;
  }
  .community-room-board .feed-room-link { grid-template-columns: clamp(37px, 3.8vw, 62px) minmax(0, 1fr); }
  .community-room-board .community-door-copy {
    padding-left: clamp(6px, .75vw, 12px);
    border-left: 1px solid #53645745;
  }
  .community-room-board .community-door-copy > small {
    color: #4b5d52;
    font: 400 11px/1.4 system-ui, sans-serif;
    margin-top: 3px;
  }
  .community-room-board .community-door-arrow { display: none; }
}

.community-stage .community-brandline {
  box-sizing: border-box;
  position: static;
  transform: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
}

@media (max-width: 760px) {
  .community-stage .community-brandline { width: 100%; }
}

@media (min-width: 761px) {
  html body .community-rail,
  html body .community-rail .community-room-board { align-items: stretch; }

  html body .community-rail > button.community-profile,
  html body .community-rail .community-room-board,
  html body .community-rail .community-room-board nav,
  html body .community-rail .feed-room-link {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  html body .community-rail > button.community-profile {
    padding: 14px var(--rail-inset);
    border: 1px solid #dedbd0;
    border-radius: 12px;
    background: #faf8f2;
    box-shadow: 0 2px 0 #e7e2d7;
    gap: clamp(8px, 1vw, 16px);
  }

  html body .community-rail .community-room-board nav {
    justify-items: stretch;
    gap: 14px !important;
  }

  html body .community-rail .community-room-board .feed-room-link {
    grid-template-columns: clamp(34px, 3.5vw, 56px) minmax(0, 1fr) 22px;
    min-height: clamp(62px, 5.25vw, 88px);
    align-self: stretch;
    background: var(--room-face);
    box-shadow: 0 2px 0 var(--room-edge);
    border-color: var(--room-edge);
  }

  html body .community-rail .community-room-board .feed-room-link:active {
    border-color: #60796a;
    background: color-mix(in srgb, var(--room-face), #53705f 16%);
    transform: translateY(1px);
    box-shadow: 0 1px 0 var(--room-edge);
  }

  html body .community-rail .community-room-board .community-door-arrow {
    display: grid !important;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #263d2d0c;
    font: 500 20px/1 system-ui, sans-serif;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  html body .community-rail .community-room-board .feed-room-link {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  html body .community-rail .community-room-board .community-door-arrow { display: none !important; }
}

@media (min-width: 761px) {
  html body .community-rail {
    --rail-inset: clamp(7px, 1.1vw, 18px);
  }

  html body .community-rail > button.community-profile,
  html body .community-rail .community-room-board .feed-room-link {
    padding-inline: var(--rail-inset);
  }

  html body .community-rail .community-profile-avatar {
    width: clamp(34px, 3.45vw, 56px);
    height: clamp(34px, 3.45vw, 56px);
    border-radius: 10px;
  }

  html body .community-rail .community-room-board nav {
    gap: clamp(12px, 1.45vw, 24px) !important;
  }

  html body .community-rail .community-door-number {
    font: 600 clamp(18px, 1.85vw, 32px)/1 Georgia, 'Times New Roman', serif !important;
    font-variant-numeric: tabular-nums lining-nums !important;
  }

  html body .community-rail .community-door-copy {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 34px;
    padding-left: clamp(8px, 1.1vw, 18px);
  }

  html body .community-rail .community-door-copy strong {
    font: 700 clamp(13px, 1.18vw, 20px)/1.3 system-ui, sans-serif !important;
    word-break: keep-all;
  }

  html body .community-rail .community-door-copy > small {
    margin: 0;
    font: 400 clamp(10px, .88vw, 15px)/1.35 system-ui, sans-serif !important;
    word-break: keep-all;
  }
}

@media (min-width: 761px) {
  html body .community-rail .community-profile-copy {
    display: grid;
    gap: 4px;
    padding-inline-start: clamp(8px, 1vw, 16px);
    border-inline-start: 1px solid #d9d3c6;
  }

  html body .community-rail .community-profile-copy small {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (min-width: 761px) {
  html body .community-rail .community-profile-copy small {
    font-size: clamp(10px, .76vw, 12px) !important;
    word-break: keep-all;
  }
}

@media (min-width: 761px) {
  html body .community-rail .community-room-board {
    margin-top: 14px;
    border-top: 1px solid #dedbd0;
  }
}

:is(.community-benefit-links, .community-mobile-benefit-links) {
  gap: 6px 8px;
}

:is(.community-benefit-links, .community-mobile-benefit-links) > .grand-open-trigger:not([hidden]) {
  min-height: 36px;
  margin: 0 0 4px;
  padding: 6px 10px;
  border: 1px solid #cad5c8;
  border-radius: 7px;
  background: #f5f8f2;
  box-shadow: 0 1px 0 #c3d0bf;
  color: #304d3d;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}

:is(.community-benefit-links, .community-mobile-benefit-links) > .grand-open-trigger:hover {
  background: #e8f0e4;
  text-decoration: none;
}

:is(.community-benefit-links, .community-mobile-benefit-links) > .grand-open-trigger:active {
  transform: translateY(1px);
  box-shadow: none;
}

@font-face {
  font-family: 'Elice Digital Baeum';
  src: url('/snack-assets/fonts/EliceDigitalBaeum-Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.community-stage .community-title-row {
  --feed-switch-size: 50px;
  display: flex;
  width: min(100%, calc((100dvh - 130px) * .82));
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.community-stage .community-title-row .community-brandline {
  width: auto;
  min-width: 0;
  margin: 0;
  color: #171717;
  font-family: 'Iropke Batang', Batang, serif;
  font-weight: 400;
}

.community-title-row .community-mode-slot {
  position: static !important;
  transform: none !important;
  display: flex !important;
  justify-content: flex-end;
  width: auto !important;
  height: var(--feed-switch-size) !important;
  margin: 0 0 0 auto;
}

.community-title-row .community-mode-slot .space-switch.mode-rendered {
  display: flex !important;
  flex-direction: row-reverse;
  gap: 8px;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--feed-switch-size) !important;
  min-height: var(--feed-switch-size) !important;
  max-height: var(--feed-switch-size) !important;
  cursor: pointer;
  touch-action: manipulation;
}

.community-title-row .space-switch.mode-rendered :is(.mode-art, .mode-art .mode-asset) {
  width: var(--feed-switch-size) !important;
  height: var(--feed-switch-size) !important;
}

.community-title-row .space-switch .space-switch-hint {
  position: static;
  transform: none;
  padding: 5px 8px;
  font-size: 12px;
}

@media (max-width: 760px) {
  /* Cover the top edge when the mobile viewport lands on a fractional pixel. */
  body > .site-header.unified-shell::before {
    content: "";
    position: absolute;
    inset: -8px 0 auto;
    height: 9px;
    background: #fffffa;
    pointer-events: none;
  }

  body > .site-header.unified-shell {
    height: var(--mode-mobile-header-height) !important;
    min-height: var(--mode-mobile-header-height) !important;
    background: #fffffa;
    grid-template-rows: 29px 39px;
    gap: 7px 5px !important;
    padding: 8px var(--mode-mobile-inset) 9px !important;
  }

  body > .site-header.unified-shell > .shell-nav > :is(a, button) {
    height: 39px !important;
    min-height: 39px !important;
    font-size: clamp(9px, 2.9vw, 12px) !important;
  }

  body .community-layout {
    padding: 0 var(--mode-mobile-inset) 10px !important;
  }

  .community-stage .community-title-row {
    --feed-switch-size: var(--mode-mobile-icon-size);
    width: auto;
    height: var(--mode-mobile-row-height);
    flex-wrap: nowrap;
    margin: 0 calc(-1 * var(--mode-mobile-inset));
    padding: 4px var(--mode-mobile-inset);
    background: var(--mode-mobile-background);
  }

  .community-stage .community-title-row .community-brandline {
    flex: 1 1 auto;
    font-size: var(--mode-mobile-title-size);
    line-height: 1.25;
    letter-spacing: -.025em;
  }
}

.community-stage .community-title-row .community-brandline strong {
  font-family: 'Elice Digital Baeum', sans-serif;
  font-weight: 700;
}

@media (min-width: 761px) {
  .community-stage .community-title-row .community-brandline {
    font-size: clamp(18px, 1.65vw, 24px);
  }
}

.community-stage .community-title-row .community-brandline strong {
  font-size: calc(1em + 2px);
  white-space: nowrap;
}

/* Keep the room number/copy group inset as one unit in both desktop rails. */
@media (min-width: 1251px) {
  html body .community-rail .community-room-board .feed-room-link {
    grid-template-columns: 56px minmax(0, 1fr);
    padding-inline: clamp(24px, 1.9vw, 36px) 12px;
    column-gap: 12px;
  }
  html body .community-rail .community-room-board .community-door-arrow {
    display: none !important;
  }
}

/* Use the room cards' grid tracks for the profile divider and label. */
@media (min-width: 1251px) {
  html body .community-rail {
    --rail-card-start: clamp(24px, 1.9vw, 36px);
    --rail-card-leading: 56px;
    --rail-card-gap: 12px;
    --rail-card-copy-inset: clamp(8px, 1.1vw, 18px);
  }
  html body .community-rail > button.community-profile,
  html body .community-rail .community-room-board .feed-room-link {
    display: grid;
    grid-template-columns: var(--rail-card-leading) minmax(0, 1fr);
    align-items: center;
    padding-inline: var(--rail-card-start) 12px;
    column-gap: var(--rail-card-gap);
  }
  html body .community-rail .community-profile-avatar {
    justify-self: center;
  }
  html body .community-rail :is(.community-profile-copy, .community-door-copy) {
    padding-inline-start: var(--rail-card-copy-inset);
  }
}
