.friend-room{--friend-line:#526851;--friend-accent:#e3c679}
#village-navigation .friend-nav-count{margin-inline-start:auto;min-width:1.45rem;padding:.16rem .36rem;border-radius:99px;background:#e3c679;color:#17251c;text-align:center;font:700 .75rem/1.2 system-ui}
#village-navigation .friend-nav-count[hidden]{display:none}
.friend-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:clamp(1.5rem,4vw,3.5rem);min-height:12rem;background:linear-gradient(105deg,#10251fed 18%,#132b23df 53%,#1b34269d),url('/dinos/tenontosaurus.webp') right 45%/cover;border:1px solid var(--friend-line);border-radius:4px;color:#f1eedf}
.friend-head h1{margin:.15em 0;font:normal clamp(2.5rem,5vw,4.9rem)/1 Georgia,serif;letter-spacing:-.045em}
.friend-head p{margin:.75rem 0 0;font-size:clamp(.98rem,1.7vw,1.15rem);color:#d5e2d3}
.friend-head .eyebrow{color:var(--friend-accent)}
.friend-compass{display:grid;place-items:center;width:4.2rem;height:4.2rem;flex:none;border:1px solid #b49c5d;border-radius:50%;outline:1px solid #80916b;outline-offset:.35rem;color:var(--friend-accent);font:2.3rem Georgia,serif}
.friend-room .panel{margin:1rem 0 0;padding:clamp(1rem,2.6vw,1.8rem)}
.friend-room h2{margin:0 0 .65rem;font:normal clamp(1.3rem,2.5vw,1.75rem) Georgia,serif}
.friend-room p,.friend-row small,.friend-intake small{color:#b9cbbf;line-height:1.5}
.friend-intake,.friend-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem}
.friend-intake{align-items:center}.friend-intake p{max-width:33rem}
.friend-intake form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem}
.friend-intake label{grid-column:1/-1;color:#d8ddca}
.friend-intake input{min-width:0;padding:.65rem .8rem;border:1px solid var(--friend-line);border-radius:4px;background:#0a1814;color:#f5edda;font:inherit}
.friend-room :focus-visible{outline:2px solid var(--friend-accent);outline-offset:3px}
.friend-room [data-friend-self]{font: .88rem ui-monospace,monospace;color:#e1cca0}
.friend-row{display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.8rem 0;border-top:1px solid #425748}
.friend-person{display:grid;gap:.2rem;min-width:0;overflow-wrap:anywhere}.friend-person>span{color:#e7d098;font-size:.88rem}
.friend-actions{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;flex-wrap:wrap}
.friend-actions .button{min-height:2.55rem;padding:.45rem .72rem}
.friend-room [data-friend-quota]{display:inline-flex;align-items:center;gap:.7rem;margin:.4rem 0 .9rem;padding:.45rem .75rem;border:1px solid var(--friend-line);border-radius:4px;background:#193227;color:#efe4c7}
.friend-message{min-height:1.5em;margin:.6rem 0;color:#e4d2a0}
@media(max-width:820px){.friend-intake,.friend-columns{grid-template-columns:minmax(0,1fr);gap:0}.friend-intake form{margin-top:1rem}}
@media(max-width:520px){.friend-compass{width:2.8rem;height:2.8rem;font-size:1.65rem}.friend-intake form{grid-template-columns:1fr}.friend-row{align-items:flex-start;flex-direction:column}.friend-actions{justify-content:flex-start}}
