/* The Clan Forge — Hall discovery, scoped to prevent affecting other pages */
.halls-world{--hall-gold:#e4bd72;--hall-dark:#0a0e0c;--hall-edge:#886235;color:#f1e3c8;background:radial-gradient(ellipse at 50% 0%,#19241b,#080b0a 70%);min-height:70vh;font-family:Georgia,serif}.halls-world *,.halls-dialog *{box-sizing:border-box}.halls-hero{min-height:clamp(260px,35vw,450px);display:grid;place-items:center;text-align:center;background:linear-gradient(90deg,#090c0bd9,#080a0880,#080b0ac7),url('/social/assets/clan-experience/clan-halls-room.webp') center 55%/cover;border-block:2px solid #9a743f}.halls-directory-hero{min-height:300px;background-image:linear-gradient(90deg,#090c0be8,#080a0870,#080b0ad8),var(--directory-bg)}.halls-hero-inner{padding:38px 20px}.halls-eyebrow{color:var(--hall-gold);font-size:.79rem;letter-spacing:.16em;text-transform:uppercase}.halls-hero h1{font-size:clamp(3.4rem,7vw,7rem);font-variant:small-caps;line-height:1.05;margin:9px 0;color:#f1ca83;text-shadow:0 5px 16px #000;letter-spacing:.045em}.halls-hero p{font-size:clamp(1.2rem,2.5vw,2rem);margin:10px 0;color:#f6e5ca}.halls-back{display:inline-block;color:#f0c87b;text-decoration:none;margin:0 0 14px}.halls-wrap{width:min(1600px,100%);margin:0 auto;padding:clamp(20px,3.5vw,55px)}.halls-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:10px 0 24px}.halls-heading h2,.halls-create h2{font-size:clamp(1.65rem,3vw,2.7rem);color:#f1ca83;font-variant:small-caps;letter-spacing:.045em;margin:5px 0}.halls-heading p,.halls-create p{color:#d1bfa1;margin:6px 0}.halls-gold-link{color:#edc684;text-decoration:underline;text-underline-offset:5px;white-space:nowrap}.halls-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.halls-category{background-image:linear-gradient(0deg,#050605ef 0%,transparent 85%),var(--hall-bg);background-size:cover;background-position:center;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:end;min-height:clamp(190px,16vw,270px);border:1px solid #a77b46;box-shadow:inset 0 0 0 3px #111,0 10px 23px #0008;text-decoration:none;color:#f5d5a0;padding:24px;transition:transform .2s,border-color .2s}.halls-category:hover,.halls-category:focus-visible{transform:translateY(-3px);border-color:#f5d391}.halls-category-text{display:flex;flex-direction:column;gap:5px;text-shadow:0 2px 4px #000;max-width:calc(100% - 32px)}.halls-category-text small{color:#f3e8d6;font-size:.74rem}.halls-category-text strong{font-size:clamp(1.15rem,1.7vw,1.7rem);font-variant:small-caps;font-weight:600}.halls-round-arrow{border:1px solid #d0a66c;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;margin-left:auto;font-size:1.8rem;flex:none}.halls-featured-title{margin-top:54px}.halls-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.halls-feature{border:1px solid #715635;background:#10130f;color:#f2d29f;text-decoration:none;display:flex;min-height:100px;align-items:center;overflow:hidden}.halls-feature img{width:38%;height:110px;object-fit:cover}.halls-feature span{padding:10px;display:grid;gap:6px}.halls-feature small{color:#c9bba6;font-size:.75rem}.halls-create{border-block:1px solid #75603b;background:#101710;margin-top:52px;padding:34px 26px;display:grid;grid-template-columns:minmax(200px,.8fr) minmax(350px,1.2fr);gap:35px}.halls-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.halls-create-form label,.halls-filters label{display:grid;gap:5px;color:#e7cc98}.halls-create-form input,.halls-create-form textarea,.halls-create-form select,.halls-filters input,.halls-filters select{width:100%;font:inherit;color:#f9e8ce;background:#10120f;border:1px solid #866844;padding:12px;min-width:0;border-radius:2px}.halls-wide{grid-column:1/-1}.halls-button{font:inherit;background:linear-gradient(#b58443,#533318);color:#fff3dc;border:1px solid #d2a763;min-height:44px;text-decoration:none;padding:11px 20px;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-align:center}.halls-filters{display:grid;grid-template-columns:1fr 1.6fr 1fr auto;align-items:end;gap:12px;margin:10px 0 34px}.halls-listing{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.halls-card{background:#10110e;color:#f3e1c3;display:flex;flex-direction:column;text-align:left;padding:0;font:inherit;cursor:pointer;border:1px solid #80603b;min-width:0;box-shadow:0 10px 26px #0007}.halls-card:hover,.halls-card:focus-visible{border-color:#e9c385;outline-offset:3px}.halls-card-image{height:190px;overflow:hidden;display:block}.halls-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.halls-card:hover img{transform:scale(1.04)}.halls-card-body{padding:17px;display:flex;flex-direction:column;gap:9px;flex:1}.halls-card-body small{color:#dfb96e;text-transform:uppercase;font-size:.72rem;letter-spacing:.055em}.halls-card-body strong{font-variant:small-caps;color:#f3d39a;font-size:1.5rem}.halls-summary{color:#e6d8c2;font-size:.95rem;line-height:1.45;flex:1;overflow-wrap:anywhere}.halls-card-foot{padding-top:11px;border-top:1px solid #58452f;display:flex;justify-content:space-between;gap:8px;font-size:.77rem}.halls-view{color:#f3cc82;white-space:nowrap}.halls-empty{padding:50px;border:1px solid #85663e;grid-column:1/-1}.halls-dialog{color:#ead7b9;background:#0f120f;border:2px solid #bb9156;padding:0;width:min(780px,calc(100% - 24px));max-height:90vh;box-shadow:0 0 0 6px #14100b,0 20px 90px #000;border-radius:0}.halls-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}.halls-dialog-image{display:block;width:100%;height:clamp(160px,26vh,280px);object-fit:cover}.halls-dialog-content{padding:clamp(18px,3vw,32px)}.halls-dialog h2{font-size:clamp(2rem,4vw,3.4rem);font-variant:small-caps;color:#f2ca82;margin:8px 0}.halls-dialog p{line-height:1.65;white-space:pre-line}.halls-dialog-meta{color:#d1b582}.halls-dialog-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 12px}.halls-button-outline{background:#121713}.halls-close{position:absolute;top:10px;right:10px;width:42px;height:42px;border:1px solid #dfbc7f;background:#080b0bc9;color:white;font-size:2rem;cursor:pointer}.halls-dialog small{color:#c8b795}@media(max-width:1050px){.halls-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.halls-listing,.halls-featured{grid-template-columns:repeat(2,minmax(0,1fr))}.halls-filters{grid-template-columns:1fr 1fr}.halls-create{grid-template-columns:1fr}}@media(max-width:620px){.halls-category-grid,.halls-featured,.halls-listing,.halls-filters,.halls-create-form{grid-template-columns:1fr}.halls-heading{align-items:start;flex-direction:column}.halls-wrap{padding:18px 14px}.halls-category{min-height:235px}.halls-create{padding:20px 14px}.halls-hero{min-height:290px}.halls-card-image{height:210px}}@media(prefers-reduced-motion:reduce){.halls-category,.halls-card-image img{transition:none}.halls-category:hover,.halls-card:hover img{transform:none}}

/* Clan Halls uses the shared layout hero. The old inner hero was removed. */
body:has(.halls-world) .forge-page-hero{
  width:100%; min-height:50vh; height:50vh; max-height:none;
  border-radius:0;
  background-image:linear-gradient(90deg,rgba(12,7,6,.55),rgba(11,7,5,.22) 52%,rgba(12,7,6,.30)),url('/social/assets/clan-halls/clan-halls-hero.webp');
  background-position:center center; background-size:cover; background-repeat:no-repeat;
  display:flex; align-items:center; justify-content:center;
  border-top:0; border-bottom:2px solid #b58b4e;
}
body:has(.halls-world) .forge-page-hero-inner{width:100%;max-width:1200px;padding:25px 22px;text-align:center}
body:has(.halls-world) .forge-page-hero h1{font-size:clamp(3rem,7vw,7rem);line-height:1.05;color:#f0c985;text-shadow:0 3px 18px #000;letter-spacing:.05em;font-variant:small-caps;margin:10px 0}
body:has(.halls-world) .forge-page-hero .forge-overline{color:#f3d79f;letter-spacing:.18em}
body:has(.halls-world) .forge-content{width:100%;max-width:none;padding:0;margin:0}
body:has(.halls-world) .halls-world{width:100%}
@media(max-width:620px){body:has(.halls-world) .forge-page-hero{height:50svh;min-height:350px;max-height:none}}

/* Room identity, October 2026: leather and gilding first; blue only for purposeful emphasis. */
.halls-world{--hall-blue-deep:#14263b;--hall-blue:#264766;--hall-blue-light:#83a7c8;--hall-gold:#e4bd72;background:radial-gradient(ellipse at 50% -15%,#22201c 0%,#14100e 34%,#0b0b0a 77%);}
/* A deliberately modest blue veil appears on interaction, leaving the original art untouched at rest. */
.halls-category{isolation:isolate;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;}
.halls-category-shade{position:absolute;inset:0;pointer-events:none;z-index:0;background:linear-gradient(145deg,rgba(22,54,88,.04),rgba(20,49,78,.12) 45%,rgba(19,47,75,.58));opacity:0;transition:opacity .25s ease;}
.halls-category-text,.halls-round-arrow{position:relative;z-index:1;}
.halls-category:hover .halls-category-shade,.halls-category:focus-visible .halls-category-shade{opacity:1;}
.halls-category:hover,.halls-category:focus-visible{box-shadow:inset 0 0 0 2px rgba(219,177,105,.4),0 8px 27px rgba(23,52,88,.55);}
.halls-category:focus-visible,.halls-feature:focus-visible,.halls-button:focus-visible,.halls-gold-link:focus-visible{outline:2px solid #f5d391;outline-offset:3px;}
.halls-round-arrow{transition:background .22s ease;}
.halls-category:hover .halls-round-arrow,.halls-category:focus-visible .halls-round-arrow{background:rgba(26,67,106,.72);}
/* The invitation is the one substantial blue surface on the landing page. */
.halls-create{background:linear-gradient(120deg,rgba(26,51,77,.96),rgba(12,22,36,.96) 57%,rgba(13,20,30,.98));border:1px solid #a5804b;box-shadow:inset 0 0 0 3px rgba(214,170,98,.09),0 18px 44px rgba(0,0,0,.3);}
.halls-create p{color:#dfd4c0;line-height:1.6;}
.halls-create input,.halls-create textarea,.halls-create select{background:#101b28;border-color:#657489;color:#fff1d8;}
.halls-create input:focus-visible,.halls-create textarea:focus-visible,.halls-create select:focus-visible{outline:2px solid #e4bd72;outline-offset:1px;border-color:#d6b57b;}
.halls-create .halls-button{background:linear-gradient(180deg,#385f83,#1a314b);border-color:#d4af72;color:#fff1d7;transition:background .2s ease,box-shadow .2s ease;}
.halls-create .halls-button:hover,.halls-create .halls-button:focus-visible{background:linear-gradient(180deg,#4b7398,#203d5f);box-shadow:0 0 18px rgba(85,145,199,.25);}
/* Filtering and membership actions may use blue while hall listings stay charcoal and gold. */
.halls-filters select:focus-visible,.halls-filters input:focus-visible{outline:2px solid #e4bd72;outline-offset:2px;background:#17283a;}
.halls-card:hover,.halls-card:focus-visible{box-shadow:0 0 0 1px rgba(124,161,197,.42),0 12px 29px rgba(0,0,0,.6);}
.halls-dialog .halls-button:not(.halls-button-outline){background:linear-gradient(180deg,#355e83,#1a3049);border-color:#d2aa70;}
/* Consistent spacing immediately after the full-bleed hero; no extra framed heading or tall gap. */
.halls-world>.halls-wrap{padding-top:clamp(22px,3vw,44px);}
.halls-world .halls-heading:first-child{margin-top:0;}
body:has(.halls-world) .forge-page-hero{height:50svh;min-height:340px;max-height:760px;}
body:has(.halls-world) .forge-page-hero-inner{max-width:1100px;}
@media(max-width:620px){body:has(.halls-world) .forge-page-hero{min-height:300px;max-height:620px}.halls-category-shade{opacity:.26}.halls-category:focus-visible .halls-category-shade{opacity:1}.halls-create{padding:24px 18px}}
@media(prefers-reduced-motion:reduce){.halls-category-shade,.halls-round-arrow,.halls-create .halls-button{transition:none}}

/* Clan Halls header refinement — preserve global navigation behavior. */
body:has(.halls-world) .forge-desktop-nav a:hover,
body:has(.halls-world) .forge-desktop-nav a[aria-current="page"],
body:has(.halls-world) .forge-desktop-nav a:focus-visible {
  background:linear-gradient(180deg,rgba(57,100,144,.76),rgba(21,48,79,.83));
  color:#fff0d3;
  border-bottom-color:#d6b476;
}
/* Retain warm natural color on the right; blue originates on the left. */
body:has(.halls-world) .forge-page-hero {
  background-image:
    linear-gradient(90deg,rgba(14,39,70,.58) 0%,rgba(25,65,107,.31) 34%,rgba(18,45,77,.08) 66%,rgba(9,12,17,.04) 100%),
    url('/social/assets/clan-halls/clan-halls-hero.webp');
  background-position:center center;
  background-size:cover;
}
body:has(.halls-world) .forge-page-hero h1 {
  font-size:clamp(2.5rem,4.5vw,4.45rem);
  letter-spacing:.045em;
  line-height:1.12;
  margin:10px 0 8px;
}
@media(max-width:620px) {
  body:has(.halls-world) .forge-page-hero h1 {font-size:clamp(2.35rem,9vw,3.45rem)}
}


/* -----------------------------------------------------------------------------
   THE CLAN FORGE / CLAN HALLS — PROTOTYPE RESTORATION
   Uses the approved production ornament SVG originals, not sliced concept art.
   This layer deliberately changes PRESENTATION ONLY; existing PHP, links, forms,
   dialogs and membership permissions stay exactly as implemented.
   ----------------------------------------------------------------------------- */
.halls-world{
  --halls-ink:#0d0d0d; --halls-gold:#c9a56b; --halls-ivory:#ecdcc0;
  background:radial-gradient(ellipse 90% 28% at 50% 0%,#28231e 0%,#15120f 50%,#0e0e0d 100%);
  color:var(--halls-ivory);
}
/* Main shared-layout hero: leave the sunset visible, keep room-blue restrained. */
body:has(.halls-world) .forge-page-hero{
  width:100%;height:50svh;min-height:340px;max-height:760px;
  background-image:linear-gradient(90deg,rgba(12,35,58,.50),rgba(16,42,67,.23) 38%,rgba(7,10,12,.03) 75%),url('/social/assets/clan-halls/clan-halls-hero.webp');
  background-size:cover;background-position:center;border-radius:0;border-bottom:2px solid #bc985f;
}
body:has(.halls-world) .forge-page-hero h1{
  font:600 clamp(29px,3.45vw,49px)/1.12 Georgia,serif;
  text-transform:uppercase;letter-spacing:.085em;color:#efd6a5;
  text-shadow:0 2px 12px rgba(0,0,0,.92);
}
body:has(.halls-world) .forge-page-hero h1::first-letter{font-size:1.17em}
body:has(.halls-world) .forge-content{max-width:none;width:100%;padding:0}
/* Rich atmosphere, compact hierarchy: not larger text, not more gold boxes. */
.halls-world .halls-wrap{width:100%;max-width:1660px;padding:clamp(20px,2.5vw,38px) clamp(16px,3.2vw,56px) 64px}
.halls-world .halls-heading{margin:4px 0 19px;align-items:center}
.halls-world .halls-heading h2,.halls-world .halls-create h2{
  font:600 clamp(20px,1.8vw,28px)/1.2 Georgia,serif;
  text-transform:uppercase;letter-spacing:.09em;color:#e9c993;margin:5px 0;
}
.halls-world .halls-heading h2::first-letter,.halls-world .halls-create h2::first-letter{font-size:1.15em}
.halls-world .halls-heading h2{display:flex;align-items:center;gap:12px}
.halls-world .halls-heading h2::before{
  content:'';display:inline-block;flex:none;width:40px;height:30px;
  background:url('/social/assets/theme/hall-ornaments/section-flourish.svg') center / 100% 100% no-repeat;
}
.halls-world .halls-heading p{font-size:15px;line-height:1.55;max-width:80ch}
.halls-world .halls-eyebrow{font-size:11px;letter-spacing:.16em}
/* All six illustrated categories should be immediately legible as a single gallery. */
.halls-world .halls-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.5vw,22px)}
.halls-world .halls-category{
  aspect-ratio:1.78;min-height:0;overflow:hidden;isolation:isolate;
  padding:clamp(16px,2vw,28px);border:1px solid rgba(189,144,78,.65);
  background-image:linear-gradient(0deg,rgba(7,9,9,.88),rgba(7,8,9,.25) 52%,rgba(7,8,9,.04) 76%),var(--hall-bg);
  box-shadow:0 12px 28px rgba(0,0,0,.48), inset 0 0 0 3px rgba(18,16,13,.86);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
/* Approved independent corner assets: complete corners, fine trim, no diamonds. */
.halls-world .halls-category::after,.halls-world .halls-card::after,.halls-world .halls-feature::after{
  content:'';pointer-events:none;position:absolute;inset:0;z-index:3;
  background:url('/social/assets/theme/hall-ornaments/corner-nw.svg') left top/44px 44px no-repeat,
             url('/social/assets/theme/hall-ornaments/corner-ne.svg') right top/44px 44px no-repeat,
             url('/social/assets/theme/hall-ornaments/corner-sw.svg') left bottom/44px 44px no-repeat,
             url('/social/assets/theme/hall-ornaments/corner-se.svg') right bottom/44px 44px no-repeat;
}
.halls-world .halls-category::before,.halls-world .halls-card::before,.halls-world .halls-feature::before{
  content:'';pointer-events:none;position:absolute;inset:6px;z-index:2;
  border:1px solid rgba(204,160,91,.42);
}
.halls-world .halls-category-text{z-index:4;position:relative;gap:4px;max-width:calc(100% - 36px)}
.halls-world .halls-category-text strong{font:600 clamp(15px,1.35vw,21px)/1.2 Georgia,serif;text-transform:uppercase;letter-spacing:.07em;color:#f5dba7}
.halls-world .halls-category-text strong::first-letter{font-size:1.1em}
.halls-world .halls-category-text small{font-size:11px;color:#eee1cf}
.halls-world .halls-round-arrow{z-index:4;position:relative;border-color:#b38a55;background:linear-gradient(150deg,rgba(65,50,30,.8),rgba(18,20,22,.72));box-shadow:inset 0 1px rgba(245,215,155,.2)}
.halls-world .halls-category:hover,.halls-world .halls-category:focus-visible{
  transform:translateY(-3px);box-shadow:0 17px 31px rgba(0,0,0,.6),0 0 19px rgba(54,101,145,.28),inset 0 0 0 2px rgba(215,180,110,.34);
}
.halls-world .halls-category:hover .halls-category-shade,.halls-world .halls-category:focus-visible .halls-category-shade{opacity:.75}
/* Recently founded Halls are subtle, finely trimmed; functionality unchanged. */
.halls-world .halls-featured-title{margin-top:clamp(32px,3vw,50px)}
.halls-world .halls-feature{position:relative;isolation:isolate;min-height:116px;background:linear-gradient(130deg,#25201a,#121516);border-color:#8d6b44;box-shadow:0 9px 22px #0006}
.halls-world .halls-feature span{padding:14px 18px}
.halls-world .halls-feature strong{font-size:15px;letter-spacing:.05em;text-transform:uppercase}
/* Create panel: a single restrained midnight-blue feature, not a blue page. */
.halls-world .halls-create{position:relative;isolation:isolate;overflow:visible;margin-top:clamp(34px,4vw,62px);padding:clamp(22px,3vw,44px);
  background:radial-gradient(ellipse at 6% 8%,rgba(58,95,128,.27),transparent 55%),linear-gradient(135deg,#172a3e,#101924 55%,#151716);
  box-shadow:inset 0 1px rgba(243,207,147,.13),0 14px 40px #0008;border:1px solid #9f7c50}
.halls-world .halls-create::after{content:'';pointer-events:none;position:absolute;inset:0;z-index:0;background:url('/social/assets/theme/hall-ornaments/corner-nw.svg') left top/56px 56px no-repeat,url('/social/assets/theme/hall-ornaments/corner-ne.svg') right top/56px 56px no-repeat,url('/social/assets/theme/hall-ornaments/corner-sw.svg') left bottom/56px 56px no-repeat,url('/social/assets/theme/hall-ornaments/corner-se.svg') right bottom/56px 56px no-repeat}
.halls-world .halls-create>*{position:relative;z-index:1}
.halls-world .halls-create .halls-button,.halls-world .halls-button{background:linear-gradient(180deg,#ab8755 0%,#77502f 49%,#412b21 100%);border:1px solid #ddb77e;color:#fff0d4;box-shadow:inset 0 1px rgba(255,237,200,.35),inset 0 -2px rgba(16,12,9,.38),0 4px 12px #0006;transition:filter .2s,box-shadow .2s,transform .2s}
.halls-world .halls-create .halls-button{background:linear-gradient(180deg,#3a5e80 0%,#294966 48%,#172c44 100%)}
.halls-world .halls-button:hover,.halls-world .halls-button:focus-visible{filter:brightness(1.13);box-shadow:inset 0 1px rgba(255,244,217,.42),0 0 16px rgba(189,155,93,.3)}
.halls-world .halls-button:active{transform:translateY(1px)}
/* Directory cards and pop-ups inherit the same gold trims as the landing tiles. */
.halls-world .halls-card{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(165deg,#24201b,#101416);border-color:#947146}
.halls-world .halls-card-body strong{font-size:clamp(15px,1.15vw,19px);letter-spacing:.05em;text-transform:uppercase}
.halls-world .halls-card-body strong::first-letter{font-size:1.12em}
.halls-world .halls-card-image img{object-fit:cover}
/* Room links and shared footer are managed by the shared site layout, not copied here. */
@media(max-width:1050px){.halls-world .halls-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.halls-world .halls-category{aspect-ratio:1.7}}
@media(max-width:620px){body:has(.halls-world) .forge-page-hero{min-height:290px;max-height:580px}.halls-world .halls-category-grid{grid-template-columns:1fr}.halls-world .halls-category{aspect-ratio:1.6}.halls-world .halls-category::after{background-size:37px 37px}.halls-world .halls-heading{align-items:flex-start}.halls-world .halls-feature::after{background-size:32px 32px}.halls-world .halls-create{padding:22px 16px}}
@media(prefers-reduced-motion:reduce){.halls-world .halls-category,.halls-world .halls-button{transition:none}.halls-world .halls-category:hover{transform:none}}

/* The source flourish is 800:100, so display it horizontally, not squashed. */
.halls-world .halls-heading h2::before {
  content: '';
  display: block;
  flex: 0 0 clamp(44px, 5vw, 72px);
  width: clamp(44px, 5vw, 72px);
  height: 20px;
  background: url('/social/assets/theme/hall-ornaments/section-flourish.svg') center / contain no-repeat;
}

/* The 800:40 fine gold relief was previously not used anywhere. */
.halls-world .halls-heading h2 {
  position: relative;
  padding-bottom: 17px;
  background: url('/social/assets/theme/hall-ornaments/divider-fine.svg') left bottom / clamp(160px, 23vw, 290px) 15px no-repeat;
}

/* Match the treatment on the Establish Your Hall section title. */
.halls-world .halls-create h2 {
  position: relative;
  padding: 0 0 17px clamp(49px, 5vw, 74px);
  background: url('/social/assets/theme/hall-ornaments/section-flourish.svg') left top 3px / clamp(43px, 4.5vw, 65px) 18px no-repeat,
              url('/social/assets/theme/hall-ornaments/divider-fine.svg') left bottom / clamp(160px, 23vw, 290px) 15px no-repeat;
}

@media (max-width: 620px) {
  .halls-world .halls-heading h2::before { flex-basis: 44px; width: 44px; height: 16px; }
  .halls-world .halls-heading h2 { background-size: 175px 13px; }
  .halls-world .halls-create h2 { padding-left: 49px; background-size: 43px 16px,175px 13px; }
}
/* Clan Halls: hero tagline reliefs only; section dividers removed. */
.halls-world .halls-heading h2,
.halls-world .halls-create h2 {
  padding-bottom:0 !important;
  background-image:none !important;
}
/* Retain the existing tasteful LEFT ornament, but no relief beneath section titles. */
body:has(.halls-world) .forge-page-hero p {
  width:min(90vw,520px);
  max-width:100%;
  margin:13px auto 0;
  text-align:center;
  overflow:visible;
}
body:has(.halls-world) .forge-page-hero p::before {
  content:'';
  display:block;
  width:min(100%,420px);
  height:16px;
  margin:0 auto 10px;
  background:url('/social/assets/theme/hall-ornaments/divider-fine.svg') center/contain no-repeat;
}
/* The subtitle is real HTML text; ::after is decorative only. */
body:has(.halls-world) .forge-page-hero p::after {
  content:'';
  display:block;
  width:min(100%,420px);
  height:16px;
  margin:10px auto 0;
  padding:0;
  background:url('/social/assets/theme/hall-ornaments/divider-fine.svg') center / contain no-repeat;
  text-transform:none;
  font-variant:normal;
}
@media(max-width:620px){
  body:has(.halls-world) .forge-page-hero p {width:min(94vw,400px);}
  body:has(.halls-world) .forge-page-hero p::before {margin-bottom:6px;height:12px}
  body:has(.halls-world) .forge-page-hero p::after {height:12px;margin-top:6px}
}
.halls-world a.halls-category[href*="category=fellowship"] {
  --hall-bg: url('/social/assets/academy/gallery/friends.png') !important;
  background-image:
    linear-gradient(0deg, rgba(7,9,9,.88), rgba(7,8,9,.25) 52%, rgba(7,8,9,.04) 76%),
    url('/social/assets/academy/gallery/friends.png') !important;
  background-size: cover;
  background-position: center center;
}







/* Hero subtitle repair: display the existing HTML text once, using the
   pseudo-elements strictly for the two fine ornamental lines. */
body:has(.halls-world) .forge-page-hero .forge-page-hero-inner > p{
  font-size:clamp(14px,1.35vw,18px)!important;
  line-height:1.45;
  font-weight:400;
  letter-spacing:.055em;
  text-transform:none;
  color:#fff1d8;
  text-shadow:0 3px 14px rgba(0,0,0,.95);
  padding:0;
  margin:14px auto 0;
  width:min(92vw,520px);
}
body:has(.halls-world) .forge-page-hero .forge-page-hero-inner > p::before,
body:has(.halls-world) .forge-page-hero .forge-page-hero-inner > p::after{
  position:static;
  content:'';
  display:block;
  width:min(100%,420px);
  height:13px;
  background:url('/social/assets/theme/hall-ornaments/divider-fine.svg') center / contain no-repeat;
  border:0;
  box-shadow:none;
  transform:none;
}
body:has(.halls-world) .forge-page-hero .forge-page-hero-inner > p::before{margin:0 auto 10px;}
body:has(.halls-world) .forge-page-hero .forge-page-hero-inner > p::after{margin:10px auto 0;}
@media(max-width:620px){
  body:has(.halls-world) .forge-page-hero .forge-page-hero-inner > p{font-size:clamp(14px,3.4vw,17px)!important;width:min(94vw,400px);}
  body:has(.halls-world) .forge-page-hero .forge-page-hero-inner > p::before,
  body:has(.halls-world) .forge-page-hero .forge-page-hero-inner > p::after{height:11px;}
}


/* Clan Halls destination hero — approved delicate corner reliefs and soft
   transparent contrast, matching My Clan Halls without affecting other rooms. */
body:has(.halls-world) .forge-page-hero .forge-page-hero-inner{
  box-sizing:border-box;
  position:relative;
  isolation:isolate;
  width:min(92vw,730px);
  max-width:730px;
  padding:clamp(21px,3.1vw,38px) clamp(24px,4.3vw,58px);
  background-image:
    url('/social/assets/theme/hall-ornaments/corner-nw.svg'),
    url('/social/assets/theme/hall-ornaments/corner-ne.svg'),
    url('/social/assets/theme/hall-ornaments/corner-sw.svg'),
    url('/social/assets/theme/hall-ornaments/corner-se.svg'),
    radial-gradient(ellipse at center,rgba(11,8,7,.56) 0%,rgba(12,8,6,.34) 46%,transparent 79%);
  background-repeat:no-repeat;
  background-position:left top,right top,left bottom,right bottom,center;
  background-size:
    clamp(30px,3.2vw,49px) clamp(30px,3.2vw,49px),
    clamp(30px,3.2vw,49px) clamp(30px,3.2vw,49px),
    clamp(30px,3.2vw,49px) clamp(30px,3.2vw,49px),
    clamp(30px,3.2vw,49px) clamp(30px,3.2vw,49px),
    100% 100%;
}
@media(max-width:600px){
  body:has(.halls-world) .forge-page-hero .forge-page-hero-inner{
    padding:23px 18px;
    background-size:30px 30px,30px 30px,30px 30px,30px 30px,100% 100%;
  }
}

/* Real Hall directory: retain the approved illustrated cubes and ornament kit. */
.halls-world .halls-actual-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.halls-world .halls-community-cube{width:100%;font-family:inherit;text-align:left;cursor:pointer;border-radius:0;min-width:0}
.halls-world .halls-community-cube .halls-category-text{min-width:0;overflow-wrap:anywhere}
.halls-world .halls-community-cube small{letter-spacing:.08em;text-transform:uppercase}
.halls-world .halls-community-cube strong{font-size:clamp(18px,1.5vw,26px);line-height:1.15}
.halls-directory-controls{grid-template-columns:minmax(180px,2fr) minmax(160px,1.4fr) auto auto auto;gap:14px;align-items:end}
.halls-filters .halls-filter-check{display:flex;align-items:center;gap:7px;min-height:44px;white-space:nowrap}
.halls-filters .halls-filter-check input{width:18px;height:18px;padding:0;accent-color:#ba965f}
.halls-directory-status{color:#d6c6ab;font-size:.9rem;margin:0 0 16px}
.halls-directory-pages{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}
.halls-notice{border-left:3px solid #bda26d;padding:12px;background:#211b14;color:#f7e7cc}.halls-error{border-color:#db9384}
.halls-dialog{width:min(640px,calc(100% - 24px));background:linear-gradient(130deg,#251d16,#121518);border-color:#ac8752}
.halls-dialog-image{height:clamp(120px,20vh,190px)}
.halls-dialog-content{padding:20px 25px;background:url('/social/assets/theme/hall-ornaments/corner-sw.svg') left bottom/40px 40px no-repeat,url('/social/assets/theme/hall-ornaments/corner-se.svg') right bottom/40px 40px no-repeat}
.halls-dialog h2{font-size:clamp(25px,3vw,38px);line-height:1.15;margin:9px 0}
.halls-dialog-meta{margin:7px 0;font-size:.95rem}
.halls-dialog #hallDialogDescription{margin:12px 0;max-height:24vh;overflow:auto;overflow-wrap:anywhere;font-size:.95rem;line-height:1.5}
.halls-dialog-actions{margin:18px 0 8px;align-items:stretch}.halls-dialog-actions form{margin:0;display:flex}
.halls-dialog .halls-button:disabled{opacity:.65;cursor:default}.halls-dialog-status{font-size:.85rem;margin:8px 0 0}
.halls-dialog [hidden],.halls-create [hidden],.halls-identity-fields [hidden]{display:none!important}
.halls-identity-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.halls-identity-fields label{display:grid;gap:6px;min-width:0}.halls-identity-fields input,.halls-identity-fields select{max-width:100%;width:100%;box-sizing:border-box}
.halls-create-form small{color:#ddcfb9;font-size:.8rem;line-height:1.5}.halls-community-cube[aria-busy=true]{opacity:.6}
@media(max-width:1050px){.halls-world .halls-actual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.halls-directory-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.halls-directory-controls>button{grid-column:1/-1}}
@media(max-width:620px){.halls-world .halls-actual-grid{grid-template-columns:1fr}.halls-world .halls-community-cube{aspect-ratio:1.6}.halls-directory-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.halls-directory-controls>label:first-child,.halls-directory-controls>label:nth-child(2){grid-column:1/-1}.halls-dialog-content{padding:17px 18px}.halls-identity-fields{grid-template-columns:1fr}.halls-dialog-actions .halls-button{padding:10px 14px}}
@media(prefers-reduced-motion:reduce){.halls-community-cube,.halls-community-cube *{transition:none!important;animation:none!important}}
.halls-world .halls-community-cube strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.halls-world .halls-community-cube small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.halls-dialog h2,.halls-dialog .halls-eyebrow,.halls-dialog-meta{overflow-wrap:anywhere}
.halls-dialog-actions .halls-button{text-transform:uppercase;letter-spacing:.045em}


/* Clan Halls illustrated mosaic: keep original ornaments and hover style. */
.halls-world .halls-actual-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:clamp(94px,9vw,155px);grid-auto-flow:row dense;gap:clamp(10px,1.3vw,20px)}
.halls-world .halls-actual-grid .halls-community-cube{grid-column:span 2;grid-row:span 2;aspect-ratio:auto;min-height:0;height:100%;background-size:cover;background-position:center;}
.halls-world .halls-actual-grid .halls-community-cube:nth-child(12n + 1),
.halls-world .halls-actual-grid .halls-community-cube:nth-child(12n + 6),
.halls-world .halls-actual-grid .halls-community-cube:nth-child(12n + 10){grid-column:span 4;grid-row:span 2}
.halls-world .halls-actual-grid .halls-community-cube:nth-child(12n + 3),
.halls-world .halls-actual-grid .halls-community-cube:nth-child(12n + 8){grid-column:span 2;grid-row:span 3}
.halls-world .halls-actual-grid .halls-community-cube:nth-child(12n + 5){grid-column:span 2;grid-row:span 1}
.halls-world .halls-actual-grid .halls-community-cube{background-repeat:no-repeat}
.halls-world .halls-actual-grid .halls-community-cube .halls-category-text{max-width:100%}
.halls-public-leader-setting{display:flex;gap:10px;align-items:center}
.halls-public-leader-setting input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#b9955e}
@media(max-width:1050px){
 .halls-world .halls-actual-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(95px,13vw,155px)}
 .halls-world .halls-actual-grid .halls-community-cube{grid-column:span 2;grid-row:span 2}
 .halls-world .halls-actual-grid .halls-community-cube:nth-child(6n + 1){grid-column:span 4;grid-row:span 2}
 .halls-world .halls-actual-grid .halls-community-cube:nth-child(6n + 4){grid-column:span 2;grid-row:span 3}
}
@media(max-width:620px){
 .halls-world .halls-actual-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}
 .halls-world .halls-actual-grid .halls-community-cube,
 .halls-world .halls-actual-grid .halls-community-cube:nth-child(n){grid-column:1/-1;grid-row:auto;aspect-ratio:1.5;min-height:235px}
 .halls-world .halls-actual-grid .halls-community-cube:nth-child(4n + 1){aspect-ratio:1.8}
}
