.scr.guild-house-active .lv > :is(.lbg,.lov,.lh,.er,.cpanel,.drop-panel,.quest-tracker) { display:none!important }
body:has(.guild-house-active) .bg-s {
  background:#30231a url('/assets/backgrounds/locations/guild-house.aa68cc3c7bca7e1b.webp') 50% 51%/cover no-repeat!important;
}
body:has(.guild-house-active) .bg-s > :is(picture,video,canvas,.blob) { display:none!important }
@media (min-width:960px) {
  body:has(.guild-house-active) .bg-s {
    box-sizing:border-box;padding-left:clamp(70px,8vw,140px);
    background-origin:content-box!important;background-position:left center!important;
  }
}
@media (max-width:959px) {
  body:has(.guild-house-active) .bg-s { background-image:url('/assets/backgrounds/locations/responsive/960/guild-house.2e88b00358d63fec.webp')!important }
}
@media (max-width:650px) {
  body:has(.guild-house-active) .bg-s { background-position:15% 50%!important }
}
body:has(.guild-house-active.active) :is(#questTracker,#mobileQuestButton) { display:none!important }
#guildHouseScene {
  position:absolute;inset:0;overflow:auto;isolation:isolate;container-type:size;
  --hall-accent:var(--animated-theme-light,var(--gold-b,#e3c286));
  color:#f6ecd7;background:transparent;
  text-align:left;
}
#guildHouseScene[hidden],#guildHouseScene [hidden] { display:none!important }
.hall-room {
  position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:18px;
  min-height:100%;box-sizing:border-box;padding:clamp(16px,3.8cqw,54px);
  background:transparent;
}
.hall-room-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:12px }
.hall-guild-name {
  display:flex;gap:9px;align-items:center;color:#f3d49e;font:600 12px/1.4 var(--font-ui,system-ui);
  letter-spacing:.12em;overflow-wrap:anywhere;text-shadow:0 1px 5px #1a110a;
}
.hall-guild-name::before { content:"";width:22px;height:1px;background:currentColor;flex:none }
#guildHouseScene h2 {
  margin:5px 0 0;color:#faf1df;letter-spacing:-.035em;text-transform:none;
  font:500 clamp(30px,4.1cqw,64px)/1 'Alegreya',Georgia,serif;text-shadow:0 2px 10px #22150d;
}
#guildHouseScene button { font-family:var(--font-ui,system-ui);cursor:pointer;color:inherit }
#guildHouseScene button:focus-visible { outline:2px solid #fff0c9;outline-offset:3px }
.hall-leave {
  display:flex;align-items:center;gap:10px;padding:8px 14px;min-height:44px;flex:none;text-align:left;
  background:rgba(26,23,17,.86);border:1px solid #8d7558;border-radius:4px;box-shadow:0 2px 8px #1b120c55;
}
.hall-leave strong,.hall-leave small { display:block }
.hall-leave strong { font-size:12px;font-weight:600;line-height:1.4 }
.hall-leave small { color:#d3bea0;font-size:11px;line-height:1.5 }
.hall-door { width:18px;height:21px;background:var(--hall-accent);mask:url('/assets/icons/menu/map.svg') center/contain no-repeat }
.hall-leave:hover,.hall-resident:not(:disabled):hover { border-color:var(--hall-accent);background-color:#30271c }
.hall-room { height:100%; min-height:280px; }
.hall-room-heading { position:relative; z-index:6; align-self:center; align-items:center; text-align:center; flex-direction:column; gap:6px; pointer-events:none; }
.hall-room-heading .hall-leave { pointer-events:auto; }
.hall-guild-name { justify-content:center; }
.hall-residents,.hall-residents-list { position:absolute; inset:0; pointer-events:none; }
.hall-status { position:absolute; top:32%; left:50%; transform:translateX(-50%); margin:0; padding:5px 10px; background:#1c1815e8; border-radius:3px; color:#f5e6ce; font:13px/1.4 var(--font-ui,system-ui); }
#guildHouseScene .hall-resident { --figure:clamp(125px,27cqh,315px); position:absolute; left:var(--x); top:var(--feet); transform:translate(-50%,-100%); display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:2px; min-width:0; min-height:44px; padding:0; border:0; background:none; box-shadow:none; color:#fff2d9; pointer-events:auto; cursor:pointer; z-index:var(--depth); }
.hall-resident[data-station=arms] { --x:15%; --feet:84%; --depth:3; }
.hall-resident[data-station=map] { --x:33%; --feet:63%; --depth:1; }
.hall-resident[data-station=council] { --x:50%; --feet:88%; --depth:4; }
.hall-resident[data-station=herbs] { --x:67%; --feet:66%; --depth:2; }
.hall-resident[data-station=vault] { --x:84%; --feet:86%; --depth:5; }
#guildHouseScene .hall-portrait { position:relative; display:block; width:min(17cqw,var(--figure)); height:var(--figure); flex:none; }
#guildHouseScene .hall-resident[data-station=council] { --figure:clamp(140px,32cqh,340px); }
#guildHouseScene .hall-resident[data-station=map] { --figure:clamp(110px,23cqh,230px); }
#guildHouseScene .hall-resident[data-station=vault] { --figure:clamp(85px,20cqh,172px); }
.hall-portrait img { display:block; width:100%; height:100%; object-fit:contain; object-position:50% 100%; filter:drop-shadow(0 4px 2px #23160b99); }
.hall-resident-copy { order:-1; display:flex; flex-direction:column; align-items:center; justify-content:end; max-width:19cqw; gap:1px; text-align:center; }
.hall-resident-copy strong { padding:0 5px; font:700 clamp(12px,1.85cqh,16px)/1.2 var(--font-ui,sans-serif); color:#fff2d9; background:linear-gradient(90deg,transparent,#16120edd 10% 90%,transparent); text-shadow:0 1px 2px #000; border-radius:3px; }
.hall-resident-copy small,.hall-resident-copy em { padding:1px 4px; color:#dbefbb; background:#151810d9; border-radius:3px; font:500 11px/1.1 var(--font-ui,sans-serif); text-shadow:0 1px 3px #10160b; }
.hall-resident-copy em { color:#ead1b0; }
.hall-action { display:none; }
#guildHouseScene .hall-resident:not(:disabled):is(:hover,:focus-visible) strong { color:#fce2a2; }
#guildHouseScene .hall-resident:focus-visible { outline:1px solid var(--hall-accent); outline-offset:2px; border-radius:5px; }
#guildHouseScene .hall-resident:disabled { cursor:default; opacity:1; }
.hall-resident:disabled .hall-portrait { filter:grayscale(.85); opacity:.65; }
@container (max-width:630px) {
  .hall-room { padding:8px; }
  .hall-room-heading { gap:2px; }
  .hall-room-heading h2 { font-size:clamp(20px,5.5cqw,28px); }
  .hall-room-heading .hall-guild-name { font-size:10px; }
  .hall-leave { gap:4px; min-height:26px; padding:3px 8px; }
  .hall-leave small,.hall-leave strong { display:inline; }
  .hall-leave small:not(:empty)::before { content:" · "; }
  #guildHouseScene .hall-resident { --figure:clamp(64px,25cqh,142px); }
  #guildHouseScene .hall-resident[data-station=council] { --figure:clamp(76px,29cqh,164px); }
  #guildHouseScene .hall-resident[data-station=map] { --figure:clamp(56px,22cqh,120px); }
  #guildHouseScene .hall-resident[data-station=vault] { --figure:clamp(52px,18cqh,98px); }
  .hall-resident[data-station=arms] { --x:15%; --feet:92%; }
  .hall-resident[data-station=map] { --x:30%; --feet:61%; }
  .hall-resident[data-station=herbs] { --x:70%; --feet:73%; }
  .hall-resident[data-station=council] { --feet:95%; }
  .hall-resident-copy { max-width:28cqw; }
  .hall-resident-copy small,.hall-resident-copy em { font-size:10px; }
  #guildHouseScene .hall-portrait { width:min(26cqw,var(--figure)); }
}
