/* Restore the original desktop rail / tablet / discovery composition. */
@media(min-width:761px){
.community-layout{width:100%;max-width:1800px;margin:0 auto;grid-template-columns:20% 50% 30%;gap:0;padding:24px 24px 0;align-items:start;overflow:hidden}
.community-stage{display:flex;flex-direction:column;align-items:center;min-width:0;height:100%}.community-brandline{width:min(100%,calc((100dvh - 130px)*.82));padding:0 18px 8px;margin:0;font-size:13px}
.community-stage #community-tablet{width:min(100%,calc((100dvh - 130px)*.82));flex:1 1 0;min-height:0;max-height:none;height:auto;margin:0}.community-screen{width:100%;padding-left:25px;padding-right:25px}
.community-rail{display:flex;height:100%;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:0 28px 24px 12px;gap:0}.community-rail>button.community-profile{display:flex;align-items:center;gap:12px;max-width:240px;width:100%;padding:16px 10px 20px;margin:0 0 20px;background:#fffdf9;border:1px solid #dce3d8;border-radius:9px;text-align:left}
.community-profile-avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:13px;background:#edf2e6;color:#607963;overflow:hidden}.community-profile-avatar>svg{width:28px;height:28px}.community-profile-avatar>img{width:100%;height:100%;object-fit:cover}.community-profile-copy{min-width:0}.community-profile-copy strong{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.community-profile-copy small{display:block;color:#7a877d;font-size:11px;line-height:1.6;margin-top:4px}
.community-rail nav{width:100%;max-width:240px}.community-rail .community-nav-item{display:flex;align-items:center;gap:15px;width:100%;min-height:66px;padding:18px 10px;border:0;border-bottom:1px solid #dce3d8;background:none;text-align:left;font-size:17px;color:#4a6052;text-decoration:none}.community-nav-item>svg{width:23px;height:23px;flex:none}.community-nav-item.is-current{font-weight:700;color:#294f3c}.community-nav-item>span>small{display:block;font-size:10px;line-height:1.6;font-weight:400;margin-top:4px;color:inherit}.community-rail .community-nav-compose{margin-top:18px;border:1px solid #a8bba8;border-radius:8px;color:#fff;background:linear-gradient(#799386,#3d5a49);box-shadow:0 3px 6px #334c3026;font-size:16px;min-height:60px;padding:12px 10px}.community-rail-foot{max-width:240px;margin-top:30px}.community-rail-foot p{padding:0 10px;font-size:12px;line-height:1.9;color:#859181}
.community-side{display:block;min-height:0;height:100%;overflow-y:auto;scrollbar-width:thin;padding:0 16px 24px 34px}.community-side>section,.community-side-foot{max-width:330px}.community-side>section{border:1px solid #dce3d8;border-radius:8px;padding:18px 14px;background:#ffffff50;margin-bottom:20px}.community-side h2{font-size:19px;margin:0 0 20px;color:#354b3d;font-weight:700;line-height:1.35}.community-side-status{font-size:12px!important;line-height:1.8!important;color:#7c897e;margin:0}.community-side-status a{display:inline-block;margin-top:10px;color:#46624d;text-decoration:underline;text-underline-offset:4px}
.community-books-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.community-book{min-width:0}.community-book img{display:block;max-width:100%;width:auto;height:clamp(130px,20dvh,210px);object-fit:contain;object-position:left bottom;box-shadow:2px 3px 7px #253e2820}.community-book h3{font-size:14px;line-height:1.5;margin:14px 0 10px;overflow-wrap:anywhere;min-height:42px}.community-book p{font-size:11px!important;line-height:1.6!important;margin:0 0 8px;color:#6b7c6e}.community-book small{font-size:10px;line-height:1.5;color:#7d887d}.community-book-controls{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #dce3d8;padding-top:14px;margin-top:16px;font-size:10px;color:#7e8a7d}.community-book-controls button{font-size:11px;white-space:nowrap;border:0;background:none;color:#49624d;text-decoration:underline;text-underline-offset:4px;padding:6px 0}
.community-readers>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.community-readers h2{font-size:18px;margin-bottom:18px}.community-reader-controls{display:flex;gap:5px}.community-reader-controls button{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d5dfd0;border-radius:5px;background:#fcfef8;color:#5a735c;padding:0;font-size:18px;cursor:pointer}.community-reader-controls button:disabled{cursor:default;opacity:.4}.community-reader-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.community-reader-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 5px 13px;border:1px solid #e1e8dc;border-radius:6px;background:#fbfcf6;min-width:0;text-align:center}.community-reader-avatar{display:grid;place-items:center;width:58px;height:58px;overflow:hidden;border-radius:15px;background:#e7eddf;color:#6b7d6b;font-size:22px}.community-reader-avatar img{width:100%;height:100%;object-fit:cover}.community-reader-card strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.community-reader-card small{font-size:10px;line-height:1.6;color:#8a9586}.community-side-foot{font-size:11px!important;line-height:1.8!important;color:#8a9586;margin-top:24px}
}
@media(min-width:761px) and (max-width:1100px){.community-layout{grid-template-columns:20% 50% 30%;padding-left:14px;padding-right:14px}.community-rail{padding-left:0;padding-right:14px}.community-rail .community-nav-item{font-size:14px;gap:10px;padding-left:4px}.community-profile-copy strong{font-size:13px}.community-profile-copy small{font-size:10px}.community-profile-avatar{width:36px;height:36px;border-radius:10px}.community-rail>button.community-profile{gap:8px;padding-left:7px;padding-right:7px}.community-side{display:block;padding-left:18px;padding-right:0}.community-side>section{padding:14px 10px}.community-side h2{font-size:16px}.community-books-row{gap:10px}.community-book img{height:145px}.community-book h3{font-size:12px}.community-reader-row{gap:7px}.community-reader-avatar{width:45px;height:45px}.community-reader-card{padding:10px 4px}.community-reader-card strong{font-size:11px}.community-screen{padding-left:18px;padding-right:18px}}
@media(max-width:760px){.community-rail,.community-side{display:none!important}}
@media(min-width:761px){.community-side-retry{padding:8px 0;border:0;background:none;text-decoration:underline;text-underline-offset:4px;color:#4a6750;font-size:12px}.community-profile-avatar img{display:block}.community-nav-item:focus-visible,.community-reader-card:focus-visible{outline:2px solid #4a7863;outline-offset:4px}}
@media(min-width:761px){.community-book-open{display:block;width:100%;min-width:0;padding:0;border:0;background:none;text-align:left;cursor:pointer;color:inherit}.community-book-open:focus-visible{outline:2px solid #4a7863;outline-offset:5px}.community-book-open:hover h3{text-decoration:underline;text-underline-offset:4px}.community-book-detail{display:grid;grid-template-columns:110px minmax(0,1fr);gap:24px;padding:22px 0;align-items:start}.community-book-detail img{width:110px;max-height:180px;object-fit:contain;object-position:top}.community-book-detail p{font-size:13px;color:#6b7c6e}.community-book-detail small{font-size:12px;color:#7c897e}}

@media(min-width:761px){
}

/* Separate desktop stories outside each post; preserve its internal spacing. */
@media(min-width:761px){
 #community-list>.post~.post{margin-top:24px}
}

/* Use the stamp board's paper and enamel frame for the desktop surroundings. */
@media(min-width:761px){
 .community-layout{padding-top:46px;align-items:stretch}
 .community-stage{position:relative}
 .community-brandline{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);padding-bottom:8px;line-height:18px;white-space:nowrap}
 .community-rail{padding-top:0;padding-bottom:0;gap:18px}
 .community-rail>button.community-profile{max-width:none;margin:0;flex:none;padding:16px 13px;border-color:#d7cbb4;background:#fffdf6;box-shadow:0 2px 4px #5a493910,inset 0 1px #fff}
 .community-room-board,.community-side>section{position:relative;isolation:isolate;background:radial-gradient(ellipse at 35% 0,#fffdf4e0,transparent 65%),url('/main-site/assets/badges/medals-v66/board-paper.svg'),#f7efdd;border:3px solid #36543f;border-radius:15px;box-shadow:inset 0 0 0 1px #d4b983,inset 0 0 0 4px #fff9eb,0 2px 0 #233d2c,0 6px 12px #453c2a12;color:#2f4937}
 .community-room-board{display:flex;flex-direction:column;min-height:380px;flex:1;padding:22px 16px 18px}
 .community-room-board>header{flex:none;padding:0 2px 16px;border-bottom:1px solid #cebea0}
 .community-room-board>header>small{font-size:10px;color:#8c7959;letter-spacing:.3px}
 .community-room-board h2{font:700 21px/1.4 'Gowun Batang',Georgia,serif;margin:7px 0 0;letter-spacing:-.5px}
 .community-rail .community-room-board nav{display:flex;flex:1;flex-direction:column;justify-content:center;gap:12px;width:100%;max-width:none;padding-top:20px}
 .community-room-door{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:72px;padding:13px 11px;border:1px solid #b9bda4;border-radius:8px;background:linear-gradient(135deg,#fefdf5,#f1f1df);box-shadow:inset 0 1px #fff,0 2px 0 #c8c5ae,0 4px 6px #483b2510;text-decoration:none}
 .community-door-number{display:block;flex:none;font:23px/1.2 Georgia,serif;letter-spacing:-.7px;color:#42624b}
 .community-door-number small{font:10px/1 system-ui;letter-spacing:0;margin-left:2px}
 .community-door-copy{min-width:0;flex:1}.community-door-copy strong{display:block;font-size:15px;line-height:1.45;color:#314e3b;word-break:keep-all}.community-door-copy>small{display:block;font-size:10px;line-height:1.5;color:#7a8067;margin-top:3px;word-break:keep-all}.community-door-arrow{flex:none;color:#8a946c;font-size:17px}
 .community-room-door:hover{border-color:#7c9275;background:#fffdf0;transform:translateY(-1px)}.community-room-door:focus-visible{outline:2px solid #9b783e;outline-offset:4px}
 .community-room-note{flex:none;text-align:center;margin:18px 0 0;font-size:11px;color:#887a5e;line-height:1.6}
 .community-side{display:flex;flex-direction:column;gap:18px;padding-top:0;padding-bottom:0;overflow:auto}
 .community-side>section{max-width:none;width:100%;margin:0;padding:20px 16px}
 .community-side .community-discovery{flex:1.3;min-height:315px}.community-side .community-readers{flex:1;min-height:235px}
 .community-side h2,.community-readers h2{font:700 19px/1.4 'Gowun Batang',Georgia,serif;margin:0 0 18px;letter-spacing:-.4px}
 .community-books-row{gap:16px}.community-book img{height:clamp(115px,19dvh,190px)}.community-book h3{min-height:0;margin:12px 0 8px}.community-book-controls{padding-top:11px;margin-top:12px;border-color:#d5c8ab}
 .community-reader-card{padding:16px 5px;border-color:#d8ceb7;background:#fffdf5;box-shadow:0 2px 3px #51402008}
 .community-reader-name{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;max-width:100%}.community-reader-name strong{word-break:keep-all}
 .reader-match{display:grid;place-items:center;flex:none;width:24px;height:24px;padding:0;border:0;background:none;color:var(--tone,#afb7ae);cursor:pointer}.reader-match svg{width:22px;height:22px}.reader-match:focus-visible{outline:2px solid #54785d;outline-offset:2px;border-radius:50%}
 .community-reader-controls button{border-color:#d1c5a9;background:#fff9e9;color:#6d785b}
 /* The four room links replace only the feed's desktop pencil, not the room's return tablet. */
 .community-stage .community-mode-slot,.community-stage a.space-switch.mode-write{display:none!important}
 .community-stage #community-list>.post:first-child>.post-head{padding-right:10px}
}
@media(min-width:761px) and (max-width:1100px){
 .community-room-board{padding:16px 10px}.community-room-board h2{font-size:18px}.community-room-door{gap:7px;padding:11px 7px;min-height:72px}.community-door-number{font-size:19px}.community-door-copy strong{font-size:13px}.community-door-copy>small{font-size:9px}.community-door-arrow{display:none}.community-side>section{padding:17px 10px}.community-side h2,.community-readers h2{font-size:16px}.community-reader-name{gap:2px}.reader-match{width:20px;height:20px}.reader-match svg{width:19px;height:19px}
}
@media(min-width:761px) and (max-height:760px){
 .community-room-board{min-height:350px;padding-top:16px}.community-room-board>header{padding-bottom:12px}.community-rail .community-room-board nav{gap:9px;padding-top:14px}.community-room-door{min-height:62px;padding-block:10px}.community-room-note{margin-top:12px}.community-side .community-discovery{min-height:290px}.community-side .community-readers{min-height:210px}.community-book img{height:115px}.community-side h2{margin-bottom:12px}.community-book h3{font-size:13px}.community-reader-avatar{width:48px;height:48px}
}
@media(min-width:761px){
 .community-layout{padding-top:44px!important}
 .community-rail .community-room-board nav{justify-content:flex-start;gap:16px}
 .community-room-door{background:linear-gradient(135deg,#607b64,#3e5c47);border:1px solid #a5915f;box-shadow:inset 0 1px #ffffff60,inset 0 0 0 3px #ffffff0c,0 2px 0 #2e4635,0 5px 8px #483b2520}
 .community-door-number{color:#ecdfb8}.community-door-number small{color:#d8d7b8}.community-door-copy strong{color:#fffdf0}.community-door-copy>small{color:#dae3ce}.community-door-arrow{color:#e0d4a8}
 .community-room-door:hover{background:linear-gradient(135deg,#6b856d,#476950);border-color:#c3a567}
}
@media(min-width:761px){.community-rail .community-room-note{padding:0!important;font-size:11px!important;line-height:1.5!important}}
@media(min-width:761px) and (max-width:1400px){
 .community-room-board{padding-inline:12px}.community-room-door{gap:8px;padding-inline:9px}.community-door-arrow{display:none}.community-door-number{font-size:21px}.community-door-copy strong{font-size:14px}.community-door-copy>small{font-size:9.5px}
}
@media(min-width:761px) and (max-height:760px){
 .community-rail .community-room-board nav{gap:10px;min-height:0}.community-door-copy>small{display:none}.community-room-board h2{font-size:19px}.community-room-door{min-height:58px;flex-shrink:0}.community-room-board>header{padding-bottom:9px}
}

/* Brushed-metal door plates. The tablet keeps the brand's green; the rails breathe. */
@media(min-width:761px){
 .community-rail{border-right:1px solid #d9d5cb;padding-left:10px;padding-right:28px;gap:0}
 .community-rail>button.community-profile{padding:4px 0 24px;margin:0;border:0;border-bottom:1px solid #d9d5cb;border-radius:0;background:none;box-shadow:none}
 .community-profile-copy strong{color:#413f39}.community-profile-copy small{color:#8b877d}
 .community-room-board{padding:25px 0 8px;border:0;border-radius:0;background:none;box-shadow:none;isolation:auto;min-height:0}
 .community-room-board>header{padding:0 0 24px;border:0}.community-room-board>header>small{color:#978773;letter-spacing:.4px}.community-room-board h2{color:#494238;font:600 20px/1.45 'Gowun Batang',Georgia,serif;letter-spacing:-.6px}
 .community-rail .community-room-board nav{flex:none;justify-content:flex-start;gap:20px;padding:0;min-height:0}
 .community-room-door,.community-room-door:hover{box-sizing:border-box;position:relative;display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:65px;padding:10px 25% 10px 15px;border:0;border-radius:2px;background:transparent url('/community/room-metal-101-v1.webp') center/cover no-repeat;box-shadow:none;transform:none;transition:filter .12s ease}
 .community-room-door:before,.community-room-door:after{display:none}.community-room-door:hover{filter:brightness(1.05)}.community-room-door:focus-visible{outline:2px solid #a7834b;outline-offset:5px}
 .community-door-number{font:27px/1 Georgia,serif;color:#655648;letter-spacing:-1px;text-shadow:0 1px #fff9}.community-door-number small{display:inline;font:9px/1 system-ui;color:#887867;margin-left:2px}
 .community-door-copy{padding:0}.community-door-copy strong{font:650 14px/1.4 system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif;color:#3d3a35;letter-spacing:-.5px;word-break:keep-all;text-shadow:0 1px #fff9}.community-door-copy>small{display:block;font:10px/1.4 system-ui;color:#8a7c6a;margin-top:4px;word-break:keep-all}.community-door-arrow{display:none}
 .community-rail .community-room-note{margin-top:auto!important;padding-top:28px!important;text-align:left;color:#9d9282;font:11px/1.5 system-ui}
 .community-side>section{border:1px solid #d5cbb8;border-top:2px solid #baaa8e;border-radius:5px;background:#fffdf7;box-shadow:0 3px 9px #5a483b08;isolation:auto}.community-side h2,.community-readers h2{color:#4a443b;font-weight:600}.community-book h3{color:#4c473e}.community-reader-card{border-color:#e0d9cb;background:#faf8f2;border-radius:5px;box-shadow:none}.community-reader-card strong{color:#51493f}.community-book-controls{border-color:#e1d9c8}
}
@media(min-width:761px) and (max-width:1300px){
 .community-rail{padding-left:0;padding-right:18px}.community-room-door,.community-room-door:hover{grid-template-columns:34px minmax(0,1fr);gap:6px;min-height:58px;padding-left:11px;padding-right:23%}.community-door-number{font-size:23px}.community-door-copy strong{font-size:12px;letter-spacing:-.5px}.community-door-copy>small{display:none}.community-room-board h2{font-size:18px}
}
@media(min-width:761px) and (max-height:760px){.community-room-board{padding-top:18px}.community-room-board>header{padding-bottom:18px}.community-rail .community-room-board nav{gap:14px}.community-room-door,.community-room-door:hover{min-height:58px}.community-door-copy>small{display:none}}
@media(prefers-reduced-motion:reduce){.community-room-door{transition:none}}
@media(min-width:761px){.community-door-number{display:flex;align-items:baseline;gap:1px;white-space:nowrap;font-size:25px}.community-door-number small{display:inline;flex:none;margin:0;font-size:8px;letter-spacing:0}.community-room-door,.community-room-door:hover{grid-template-columns:48px minmax(0,1fr)}}
@media(min-width:761px) and (max-width:1300px){.community-door-number{font-size:23px}.community-room-door,.community-room-door:hover{grid-template-columns:43px minmax(0,1fr)}}

/* Desktop rail spacing and typography. */
@media(min-width:761px){
 .community-rail{padding-left:26px;padding-right:12px}
 .community-room-door,.community-room-door:hover{isolation:isolate;background:none;filter:none}
 .community-door-number{color:#3f4543;text-shadow:0 1px #fffc}.community-door-number small{color:#505a56;font-size:9px}
 .community-door-copy strong{color:#26342f;font-size:15px;font-weight:700;letter-spacing:-.3px;text-shadow:0 1px #fff9}
 .community-door-copy>small{display:block;color:#4e5a55;font-size:11px;font-weight:550;line-height:1.4;letter-spacing:0;text-shadow:none;margin-top:4px}
}
@media(min-width:761px) and (max-width:1300px){.community-rail{padding-left:12px;padding-right:6px}.community-door-copy strong{font-size:14px}.community-door-copy>small{display:block;font-size:11px}}
@media(min-width:761px) and (max-width:1100px){.community-door-copy strong{font-size:12px}.community-door-copy>small{font-size:10px}}

/* Quiet desktop-only key, kept below reader recommendations. */
.reader-cookie-guide{display:none}
@media(min-width:761px){
 .community-readers .reader-cookie-guide{display:block;margin-top:20px;padding-top:14px;border-top:1px solid #e5dfd4;color:#777168}
 .reader-cookie-guide-title{display:block;font:600 11px/1.5 system-ui;color:#71695e;margin-bottom:9px}
 .reader-cookie-guide ul{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0;padding:0}
 .reader-cookie-guide li{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;font:400 10px/1.4 system-ui;color:#776f64;white-space:nowrap}
 .reader-cookie-key{display:grid;place-items:center;width:20px;height:20px;color:var(--tone,#afb7ae)}
 .reader-cookie-key svg{display:block;width:20px;height:20px}
 .reader-cookie-guide>small{display:block;margin-top:10px;font:400 10px/1.5 system-ui;color:#938a7d}
}
@media(min-width:761px){.community-side .community-readers{flex:0 0 auto;height:auto;min-height:0}.community-readers .reader-cookie-guide{padding-bottom:2px}}

@media (min-width: 761px) {
  .community-benefit-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0 6px;
    max-width: 330px;
  }
  .community-benefit-links .grand-open-trigger {
    margin: 0 0 5px;
    padding-inline: 4px;
    font-size: 11px;
  }
}

.community-mobile-benefit-links:empty { display: none; }
@media (max-width: 760px) {
  .community-mobile-benefit-links:not(:empty) {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2px 8px;
    align-self: stretch;
    flex: none;
    padding: 3px 9px;
  }
  .community-mobile-benefit-links .grand-open-trigger {
    margin: 0;
    padding: 3px;
    font-size: 11px;
  }
}

/* Center the same number and label columns in each desktop feed tile. */
@layer compact-corrections {
  @media (min-width: 1051px) {
    html body .community-rail .community-room-board nav {
      display: grid !important;
      grid-template-columns: minmax(0,1fr) !important;
      justify-items: center;
      gap: 10px !important;
    }
    html body .community-rail .community-room-board .community-room-door {
      --room-tile-face: #c4ddad;
      grid-template-columns: 32px minmax(0, 116px) !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 9px !important;
      width: min(100%, calc(clamp(196px, calc((100vw - 15px) * .19), 268px) - 24px)) !important;
      min-height: max(60px, calc((100svh - 391px) / 4)) !important;
      margin: 0 !important;
      padding: 5px 11px !important;
    }
    html body .community-rail .community-room-board .community-room-door[href*="room=102"] {
      --room-tile-face: #b5def0;
    }
    html body .community-rail .community-room-board .community-room-door[href*="room=103"] {
      --room-tile-face: #dac9f1;
    }
    html body .community-rail .community-room-board .community-room-door[href*="room=104"] {
      --room-tile-face: #f2d6a5;
    }
    html body .community-rail .community-room-board .community-door-number {
      width: 100% !important;
      justify-content: center !important;
    }
    html body .community-rail .community-room-board .community-door-copy > small {
      display: block !important;
      opacity: 1;
      color: #46504b !important;
    }
    html body .community-rail .community-room-board :is(.community-door-number small,.community-door-arrow) {
      display: none !important;
    }
  }
}

@layer compact-corrections {
  @media (min-width: 1400px) {
    html body .community-rail .community-room-board .community-room-door {
      grid-template-columns: 42px minmax(0, 150px) !important;
      gap: 12px !important;
    }
    html body .community-rail .community-room-board .community-door-number {
      font-size: clamp(23px, 1.5vw, 29px) !important;
    }
    html body .community-rail .community-room-board .community-door-copy {
      height: auto;
    }
    html body .community-rail .community-room-board .community-door-copy strong {
      font-size: clamp(17px, calc(8px + .625vw), 20px) !important;
      line-height: 1.3 !important;
    }
    html body .community-rail .community-room-board .community-door-copy > small {
      font-size: clamp(12px, .8vw, 15px) !important;
      line-height: 1.4 !important;
    }
  }
}
