@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap");
/* Shared community directory layouts; deliberately excludes live chat rooms. */
body.elo-directory-layout > main {width:min(1480px,calc(100% - 32px)) !important;max-width:1480px !important;margin:30px auto 0 !important;padding:20px !important;border:1px solid #C9CABE !important;border-radius:14px !important;}
body.elo-directory-layout > main > .chat-page {max-width:none;width:100%;}
body.elo-directory-layout > main > .chat-page > h2 {margin-top:0;}
body > main > nav.page-links,body > main nav[aria-label="Video gallery pages"] {background:transparent;color:#10394D;display:flex;justify-content:center;align-items:center;gap:15px;padding:8px 0;margin-top:18px;border:0;}
body > main nav.page-links a {color:#24573F;text-decoration:underline;}
body.elo-footer-layout > footer {padding:30px 16px;margin-top:auto;text-align:center;}
body.elo-footer-layout {min-height:100vh;display:flex;flex-direction:column;}
body.elo-footer-layout > header,body.elo-footer-layout > nav,body.elo-footer-layout > main,body.elo-footer-layout > footer {flex-shrink:0;}
body.elo-footer-layout > main {margin-top:30px;margin-bottom:0;}
@media(max-width:600px){body.elo-directory-layout > main{width:calc(100% - 20px)!important;padding:14px!important;margin-top:16px!important;}body.elo-footer-layout > footer{padding:22px 12px;}}

/* Live room spacing: flex layout absorbs the gap without increasing page height. */
body:has(.elo-wide-chat) > main {
  margin-top:20px !important;
  border-radius:12px !important;
  padding-top:12px !important;
}
@media(max-width:850px){
  body:has(.elo-wide-chat) > main {margin-top:12px !important;}
}

/* Subtle raised message panel, without changing dimensions or scrolling. */
.elo-wide-chat #chat-log {
  box-shadow: 0 4px 10px rgba(23,39,32,.15), 0 1px 3px rgba(23,39,32,.10), inset 0 1px 0 rgba(255,255,255,.65);
}

/* Warm woodland palette, scoped to the live room only. */
body:has(.elo-wide-chat) > main {
  background: #d1c8b5 !important;
  background-image: linear-gradient(145deg,#ded5c3,#c8c1ae) !important;
  color:#203c32;
  box-shadow:0 9px 25px rgba(8,24,17,.28), inset 0 1px 0 #f0e6d2;
}
.elo-wide-chat > h2 {color:#233e32;}
.elo-wide-chat #chat-log {
  background:linear-gradient(145deg,#f0e5cf,#e5d8c0) !important;
  color:#273c33;
  border:1px solid #b8aa8c !important;
  border-radius:10px;
  box-shadow:0 5px 12px rgba(31,40,24,.26),0 2px 4px rgba(31,40,24,.18),inset 0 1px 0 #fff4df;
}
.elo-wide-chat .chat-line {border-bottom-color:rgba(104,91,63,.19);}
.elo-wide-chat .chat-line time {color:#646d60;}
.elo-wide-chat .chat-line .member-link {color:#23513e;}
.elo-wide-chat .elo-roster-panel {
  background:linear-gradient(150deg,#e2e8d9,#d0dccb) !important;
  color:#263e32;
  border-color:#a6b3a0 !important;
  box-shadow:0 4px 9px rgba(31,40,24,.20),inset 0 1px 0 #f2f5e9;
}
.elo-wide-chat .elo-roster-panel > strong {color:#284b39;}
.elo-wide-chat #voice-panel {background:#dce4d4 !important;border-color:#a7b6a3 !important;color:#294a39;box-shadow:0 2px 4px rgba(31,40,24,.12);}
.elo-wide-chat #chat-input {background:#faf2df;color:#253c30;border:1px solid #a28d61;border-radius:7px;}
.elo-wide-chat #chat-input::placeholder {color:#687165;}
.elo-wide-chat #chat-input:focus {outline:2px solid #9e854b;outline-offset:1px;}
.elo-wide-chat #chat-button,.elo-wide-chat #voice-join {background:#294c3b;color:#fff8e7;border-color:#294c3b;}
.elo-wide-chat #chat-button:hover:not(:disabled),.elo-wide-chat #voice-join:hover:not(:disabled) {background:#365e49;}

/* Gallery only: warm stone, raised album cards and bevelled photograph mounts. */
body > main:has(.elo-gallery-pages) {
  background:linear-gradient(145deg,#e1d7c3,#c9bfaa) !important;
  border-color:#b4a58a !important;
  box-shadow:0 12px 28px #08181166, inset 0 1px 0 #fff0d7;
  color:#263d32;
}
body > main:has(.elo-gallery-pages) > h2 {color:#254639;}
body > main:has(.elo-gallery-pages) > .form-card {
  background:linear-gradient(145deg,#e2e8d9,#cfdac7);
  border:1px solid #a3b09d;
  border-radius:10px;
  box-shadow:0 4px 10px #263c3533,inset 0 1px 0 #f5f8ed;
}
body > main:has(.elo-gallery-pages) #category {
  background:#fbf2df;color:#254639;border:1px solid #a99877;border-radius:6px;
  box-shadow:inset 0 2px 4px #42351c12;
}
body > main:has(.elo-gallery-pages) article.section:has(.elo-photo-frame) {
  background:linear-gradient(145deg,#f4ead5,#e5d7bd);
  border:1px solid #b8a689;border-radius:10px;
  box-shadow:0 6px 13px #30291c38,0 2px 4px #30291c20,inset 0 1px 0 #fff6e5;
  min-width:0;
}
body > main:has(.elo-gallery-pages) article.section h3 {color:#294b3b;}
body > main:has(.elo-gallery-pages) article.section .help {color:#4d5c4e;}
body > main:has(.elo-gallery-pages) .elo-photo-frame {
  background:linear-gradient(135deg,#fffaed,#d7c5a5);
  border:1px solid #a78c59;padding:10px;
  box-shadow:0 6px 12px #33291545,0 2px 3px #33291530,inset 1px 1px 0 #fffaf0,inset -2px -2px 0 #a78c5966;
}
body > main:has(.elo-gallery-pages) .elo-photo-frame:hover,
body > main:has(.elo-gallery-pages) .elo-photo-frame:focus-visible {
  box-shadow:0 9px 18px #33291555,inset 1px 1px 0 #fffaf0,inset -2px -2px 0 #a78c5966;
}
body > main:has(.elo-gallery-pages) .elo-photo-frame img {border:1px solid #aa9677;}
body > main:has(.elo-gallery-pages) > .elo-gallery-pages {color:#294b3b;}
body > main:has(.elo-gallery-pages) .primary-link {box-shadow:0 3px 6px #263c3533,inset 0 1px 0 #ffffff20;}

/* Warm community directories; exclude the actual live chat room. */
body > main:has(.chat-page #room-list), body > main:has(.discussions-page) {
 background:linear-gradient(145deg,#e1d7c3,#c9bfaa)!important;
 border-color:#b4a58a!important; color:#263d32;
 box-shadow:0 12px 28px #08181166,inset 0 1px 0 #fff0d7;
}
.chat-page:has(#room-list) h2,.chat-page:has(#room-list) h3,.discussions-page h2,.discussions-page h3 {color:#254639;}
.chat-page:has(#room-list) > .section,.discussions-page .gb-entry,.discussions-page .disc-main > .section {
 background:linear-gradient(145deg,#f4ead5,#e5d7bd)!important;
 border:1px solid #b8a689!important;border-radius:10px;
 box-shadow:0 6px 13px #30291c38,0 2px 4px #30291c20,inset 0 1px 0 #fff6e5;
}
.chat-page:has(#room-list) .chat-create,.discussions-page .disc-side,.discussions-page .disc-search,.discussions-page .disc-compose {
 background:linear-gradient(145deg,#e2e8d9,#cfdac7)!important;
 border:1px solid #a3b09d!important;border-radius:10px;
 box-shadow:0 4px 10px #263c3533,inset 0 1px 0 #f5f8ed;
}
.discussions-page .disc-side a.active {background:#b9cab7!important;color:#214635!important;border-left-color:#41694f!important;box-shadow:inset 0 2px 5px #263c3526;}
.discussions-page .disc-side a:hover {background:#c5d4c0;color:#214635;}
.discussions-page .disc-compose > summary {color:#254639;background:transparent!important;}
.chat-page:has(#room-list) input:not([type=checkbox]):not([type=hidden]),.chat-page:has(#room-list) select,.discussions-page input:not([type=hidden]),.discussions-page select,.discussions-page textarea {background:#fbf3e2;color:#253c30;border:1px solid #a99877;border-radius:6px;box-shadow:inset 0 2px 4px #42351c12;}
.chat-page:has(#room-list) button.primary,.discussions-page button.primary {background:linear-gradient(#365e49,#244637)!important;color:#fff8e7;border:1px solid #294c3b;box-shadow:0 3px 6px #263c3544,inset 0 1px 0 #d2b47c66;}
.chat-page:has(#room-list) .chat-table th,.chat-page:has(#room-list) .chat-table td {border-bottom-color:#b8aa8c66;}
.discussions-page .gb-reply {background:#efe5d1;border-color:#b8aa8c;}

/* Align the full-width navigation's content with the homepage hero (1440px minus 48px padding). */
@media (min-width:1251px) {
  body > nav[aria-label="Main navigation"] {
    padding-inline: max(24px, calc((100% - 1392px) / 2)) !important;
  }
  body > nav[aria-label="Main navigation"] > .elo-nav-welcome {justify-self:start;}
  body > nav[aria-label="Main navigation"] > .elo-nav-account {justify-self:end;}
}

/* Handwritten site title; keep subtitle and navigation unchanged. */
body > header.elo-site-header h1 {
 font-family: 'Dancing Script', 'Segoe Script', 'Brush Script MT', cursive !important;
 font-weight:700;
 font-size:clamp(2.6rem,4vw,4.5rem);
 line-height:1.12;
 color:#fff;
 text-shadow:0 2px 6px #062536b3;
}
@media(max-width:600px){body > header.elo-site-header h1{font-size:clamp(1.9rem,7vw,2.8rem);}}
@media(min-width:601px) and (max-height:760px){body > header.elo-site-header h1{font-size:clamp(2rem,3vw,3.3rem);}}

/* Softer subtitle and prevent woodland decorations overlaying the header/navigation. */
body > header.elo-site-header p {color:#E8E6DC !important;margin-top:4px !important;}
@media(min-width:601px) and (max-height:760px){body > header.elo-site-header p{margin-top:3px !important;}}
body > header.elo-site-header, body > nav[aria-label="Main navigation"] {position:relative;z-index:3;}
