:root { --hall-ink:#07101c; --hall-panel:#111c2d; --hall-panel-soft:#172438; --hall-line:rgba(255,255,255,.11); --hall-gold:#f2c35b; --hall-gold-dark:#8f6725; --hall-amber:#d88a35; --hall-teal:#20d4c1; --hall-muted:#aab5c4; }
* { box-sizing:border-box; }
.hall-page { margin:0; color:#f7f9fc; background-color:var(--hall-ink); background-image:radial-gradient(circle at 8% 18%,rgba(216,138,53,.07),transparent 21rem),radial-gradient(circle at 92% 24%,rgba(216,138,53,.055),transparent 22rem),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.01) 1px,transparent 1px); background-size:auto,auto,74px 74px,74px 74px; font-family:Inter,sans-serif; min-height:100vh; }
.hall-page .shell { width:min(1180px,calc(100% - 32px)); margin-inline:auto; }
.hall-header { position:relative; z-index:3; border-bottom:1px solid rgba(242,195,91,.24); background:linear-gradient(180deg,rgba(17,28,43,.98),rgba(7,16,28,.97)); box-shadow:0 5px 24px rgba(0,0,0,.35),inset 0 -2px rgba(0,0,0,.3); }
.hall-nav { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.hall-brand { display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; font-family:Rajdhani,sans-serif; font-size:1.15rem; font-weight:700; letter-spacing:.1em; }
.hall-brand img { width:40px; height:40px; object-fit:contain; }
.hall-nav nav { display:flex; align-items:center; gap:16px; }
.hall-nav nav a,.hall-footer a { color:#c8d1dc; text-decoration:none; font-size:.82rem; font-weight:700; }
.hall-nav nav a:nth-child(2) { display:none; }
.hall-hero { position:relative; overflow:hidden; padding:34px 0 0; text-align:center; background-color:#07101c; background-image:linear-gradient(90deg,rgba(2,6,11,.38),rgba(3,9,15,.12) 28% 72%,rgba(2,6,11,.38)),linear-gradient(180deg,rgba(2,6,11,.12),rgba(2,7,12,.2) 65%,rgba(2,7,12,.7)),url("assets/prize-guild-hall-hero-v1.png"); background-position:center; background-size:cover; border-bottom:1px solid rgba(242,195,91,.2); }
.hall-hero::before { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 46%,rgba(32,212,193,.08),transparent 42%); pointer-events:none; }
.hall-hero::after { content:""; position:absolute; inset:auto 0 0; height:74px; background:linear-gradient(180deg,transparent,rgba(3,8,15,.72)),repeating-linear-gradient(90deg,transparent 0 11%,rgba(242,195,91,.08) 11.1% 11.3%); pointer-events:none; }
.hall-chamber { position:relative; min-height:410px; padding:70px 34px 34px; isolation:isolate; }
.hall-hero-copy { position:relative; z-index:2; }
.hall-kicker,.hall-card-heading>span:first-child,.hall-auth-prompt span { color:var(--hall-gold); font-size:.7rem; font-weight:800; letter-spacing:.18em; }
.hall-hero h1 { max-width:760px; margin:12px auto 14px; font-family:Rajdhani,sans-serif; font-size:clamp(2.7rem,10vw,5.7rem); line-height:.9; text-transform:uppercase; }
.hall-hero h1 em { color:var(--hall-gold); font-style:normal; }
.hall-hero p { max-width:650px; margin:auto; color:#bdc7d4; line-height:1.7; }
.hall-seal { position:relative; display:grid; place-items:center; width:104px; height:104px; margin:30px auto 0; border:2px solid #a77a2c; border-radius:50%; background:radial-gradient(circle at 50% 38%,#26394a,#0a1421 70%); box-shadow:inset 0 0 0 4px #080f18,inset 0 0 0 5px rgba(242,195,91,.4),0 0 0 7px #111923,0 0 0 9px #60461f,0 17px 34px rgba(0,0,0,.62); }
.hall-seal::before,.hall-seal::after { content:""; position:absolute; z-index:-1; top:42px; width:42px; height:17px; border-block:2px solid var(--hall-gold-dark); background:linear-gradient(#222d39,#080f17); }
.hall-seal::before { right:93px; }.hall-seal::after { left:93px; }
.hall-seal img { width:78px; height:78px; object-fit:contain; filter:drop-shadow(0 5px 6px rgba(0,0,0,.48)); }
.hall-threshold { position:relative; height:36px; border-block:1px solid rgba(242,195,91,.24); background:linear-gradient(#121b25,#060d16 48%,#182231 52%,#080f18); box-shadow:0 8px 24px rgba(0,0,0,.48); }
.hall-threshold span { position:absolute; inset:50% 20%; height:1px; background:linear-gradient(90deg,transparent,var(--hall-gold-dark),var(--hall-gold),var(--hall-gold-dark),transparent); }
.hall-threshold span::after { content:"◆"; position:absolute; left:50%; top:50%; padding:0 10px; color:var(--hall-gold); background:#0b131e; font-size:.55rem; transform:translate(-50%,-50%); }
.hall-layout { position:relative; padding:64px 0 70px; }
.hall-layout::before { content:""; position:absolute; z-index:-1; top:0; left:50%; width:100vw; height:100%; transform:translateX(-50%); background:linear-gradient(90deg,rgba(0,0,0,.18),transparent 12% 88%,rgba(0,0,0,.18)); }
.hall-status { text-align:center; color:var(--hall-muted); }
.hall-columns { display:grid; gap:22px; }
.hall-main-column,.hall-side-column { display:grid; gap:22px; align-content:start; }
.hall-card,.hall-auth-prompt { position:relative; border:1px solid rgba(242,195,91,.23); border-radius:4px; background:linear-gradient(145deg,rgba(24,38,57,.98),rgba(13,23,37,.98)); box-shadow:inset 0 0 0 3px rgba(4,10,18,.56),inset 0 0 0 4px rgba(255,255,255,.025),0 18px 45px rgba(0,0,0,.32); }
.hall-card::before,.hall-auth-prompt::before { content:""; position:absolute; top:-1px; left:24px; right:24px; height:1px; background:linear-gradient(90deg,transparent,var(--hall-gold),transparent); opacity:.42; pointer-events:none; }
.hall-card::after,.hall-auth-prompt::after { content:"◆"; position:absolute; top:-6px; left:12px; color:var(--hall-gold-dark); font-size:.6rem; pointer-events:none; }
.hall-card { padding:24px; }
.hall-card-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:22px; padding-bottom:14px; border-bottom:1px solid var(--hall-line); }
.live-mark { color:var(--hall-teal); font-size:.65rem; font-weight:800; letter-spacing:.14em; }
.discussion-card h2,.poll-card h2,.hall-auth-prompt h2 { margin:0; font:700 clamp(1.65rem,6vw,2.5rem)/1.05 Rajdhani,sans-serif; }
.discussion-body,.poll-card>div>p { color:#c1cad6; line-height:1.75; }
.discussion-card { border-color:rgba(197,139,53,.42); background:linear-gradient(115deg,rgba(58,40,26,.86),rgba(24,31,39,.97) 28% 72%,rgba(49,34,24,.8)),repeating-linear-gradient(90deg,transparent 0 42px,rgba(255,255,255,.018) 43px 44px); box-shadow:inset 0 0 0 4px #0a121c,inset 0 0 0 5px rgba(216,138,53,.21),0 20px 48px rgba(0,0,0,.36); }
.discussion-card .hall-card-heading { border-bottom-color:rgba(216,138,53,.25); }
.discussion-card [data-discussion-content] { padding:4px 4px 8px; }
.poll-card { border-color:rgba(242,195,91,.44); background:linear-gradient(145deg,#202b36,#101923 50%,#1b2733); box-shadow:inset 0 0 0 3px #080f17,inset 0 0 0 5px rgba(242,195,91,.12),0 20px 45px rgba(0,0,0,.38); }
.poll-card::before { left:18%; right:18%; opacity:.72; }
.replies-card { padding:0; overflow:hidden; }
.replies-card .hall-card-heading,.reply-list,.reply-form,.replies-card>.hall-empty { margin-left:24px; margin-right:24px; }
.replies-card .hall-card-heading { padding-top:24px; }
.reply-list { padding:0; list-style:none; }
.reply { display:grid; grid-template-columns:38px 1fr; gap:12px; padding:17px 0; border-bottom:1px solid var(--hall-line); }
.reply-avatar { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:rgba(32,212,193,.12); color:var(--hall-teal); font-weight:800; }
.guildmaster-avatar { overflow:hidden; border:1px solid rgba(242,195,91,.62); background:radial-gradient(circle,rgba(32,212,193,.15),rgba(5,12,20,.96)); box-shadow:0 0 0 2px rgba(242,195,91,.08),0 0 14px rgba(32,212,193,.12); }
.guildmaster-avatar img { width:34px; height:34px; object-fit:contain; filter:drop-shadow(0 2px 3px rgba(0,0,0,.55)); }
.reply-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:7px; margin-bottom:7px; }
.reply-head strong { color:#fff; font-size:.88rem; }
.reply-identity { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.guild-founder-mark { display:inline-flex; align-items:center; width:max-content; padding:3px 6px; border:1px solid rgba(242,195,91,.48); border-radius:3px; color:var(--hall-gold); background:linear-gradient(135deg,rgba(242,195,91,.12),rgba(32,212,193,.07)); font:800 .55rem/1 Rajdhani,sans-serif; letter-spacing:.08em; white-space:nowrap; }
.guildmaster-mark { display:inline-flex; align-items:center; width:max-content; padding:3px 7px; border:1px solid rgba(32,212,193,.5); border-radius:3px; color:#7ceadd; background:linear-gradient(135deg,rgba(32,212,193,.13),rgba(242,195,91,.09)); font:800 .55rem/1 Rajdhani,sans-serif; letter-spacing:.09em; white-space:nowrap; }
.reply-head time { color:#77869a; font-size:.72rem; }
.reply-meta { display:flex; align-items:center; gap:9px; }
.reply-remove { padding:0; border:0; color:#cfae68; background:none; font:700 .68rem Inter,sans-serif; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.reply-remove:disabled { opacity:.55; cursor:wait; }
.reply p { margin:0; color:#c5ced9; font-size:.9rem; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.reply-form { padding:22px 0 26px; }
.reply-form label { display:block; margin-bottom:9px; font-weight:700; }
.reply-form textarea { width:100%; resize:vertical; padding:14px; color:#fff; border:1px solid var(--hall-line); border-radius:8px; background:#0b1524; font:inherit; }
.reply-form textarea:focus { outline:2px solid var(--hall-teal); outline-offset:2px; }
.reply-form-footer { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-top:10px; color:var(--hall-muted); font-size:.76rem; }
.hall-button { display:inline-flex; justify-content:center; border:0; border-radius:7px; padding:12px 18px; color:#08111f; text-decoration:none; text-transform:uppercase; font:800 .72rem/1 Inter,sans-serif; letter-spacing:.08em; cursor:pointer; }
.hall-button.gold { background:var(--hall-gold); }.hall-button.teal { width:100%; margin-top:12px; background:var(--hall-teal); }.hall-button.outline { color:#fff; border:1px solid var(--hall-line); background:transparent; }
.hall-button:disabled { opacity:.5; cursor:wait; }
.poll-card fieldset { display:grid; gap:9px; padding:0; border:0; }
.poll-option { position:relative; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; padding:13px; border:1px solid rgba(198,212,221,.18); border-radius:2px; overflow:hidden; background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(0,0,0,.1)); cursor:pointer; }
.poll-option::before { content:""; position:absolute; inset:0 auto 0 0; width:var(--result,0%); background:rgba(32,212,193,.09); }
.poll-option>* { position:relative; }.poll-option input { accent-color:var(--hall-teal); }.poll-option.selected { border-color:var(--hall-teal); }.poll-option small { color:var(--hall-muted); }
.poll-closes { color:#718197!important; font-size:.73rem; text-align:center; }
.poll-auth-links { display:flex; justify-content:center; gap:8px; margin:15px 0 0; font-size:.78rem; font-weight:700; }.poll-auth-links a { color:var(--hall-gold); text-underline-offset:3px; }.poll-auth-links span { color:var(--hall-muted); }.poll-option:has(input:disabled) { cursor:not-allowed; }.poll-option input:disabled { opacity:.7; }
.form-message { min-height:1.2em; margin:12px 0 0; color:var(--hall-teal); font-size:.8rem; }.form-message.error { color:#ff8f8f; }
.activity-card ul { margin:0; padding:0; list-style:none; }.activity-card li { padding:14px 0; border-bottom:1px solid var(--hall-line); }.activity-card li:last-child { border:0; }.activity-entry { display:grid; grid-template-columns:38px minmax(0,1fr); gap:11px; }.activity-copy { min-width:0; }.activity-identity { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }.activity-card strong { font-size:.82rem; }.activity-card .guild-founder-mark,.activity-card .guildmaster-mark { margin-block:1px; }.activity-card p { margin:5px 0; color:var(--hall-muted); font-size:.8rem; line-height:1.45; }.activity-card time { color:#6f7e91; font-size:.68rem; }
.hall-auth-prompt { display:flex; flex-direction:column; gap:22px; margin-bottom:22px; padding:25px; border-color:rgba(216,138,53,.38); background:linear-gradient(100deg,rgba(61,39,20,.72),rgba(17,28,43,.97) 35%); }.hall-auth-prompt h2 { margin-top:7px; }.hall-actions { display:flex; flex-wrap:wrap; gap:10px; }
.hall-empty { color:var(--hall-muted); font-style:italic; }.hall-footer { padding:28px 0; border-top:1px solid var(--hall-line); }.hall-footer>div { display:flex; justify-content:space-between; gap:20px; color:var(--hall-gold); font:700 1rem Rajdhani,sans-serif; }.hall-footer nav { display:flex; flex-wrap:wrap; gap:14px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
[hidden] { display:none!important; }
@media (min-width:700px) { .hall-nav nav { gap:26px; }.hall-nav nav a:nth-child(2){display:inline}.hall-hero{padding-top:42px}.hall-chamber{min-height:510px;padding:112px 90px 54px}.hall-layout{padding-top:76px}.hall-auth-prompt{flex-direction:row;align-items:center;justify-content:space-between}.hall-card{padding:30px}.replies-card .hall-card-heading,.reply-list,.reply-form,.replies-card>.hall-empty{margin-left:30px;margin-right:30px}.replies-card .hall-card-heading{padding-top:30px} }
@media (min-width:960px) { .hall-chamber{padding-inline:150px}.hall-columns{grid-template-columns:minmax(0,1.65fr) minmax(310px,.85fr);gap:26px}.hall-side-column{position:sticky;top:24px}.discussion-card{padding:38px 42px}.poll-card{padding:34px 30px} }
@media (prefers-reduced-motion:no-preference) { .hall-card,.hall-auth-prompt{animation:hall-rise .45s ease both}@keyframes hall-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}} }


/* Direct, one-level replies keep each response beside the comment it addresses. */
.reply-copy { min-width:0; }
.reply-actions { display:flex; gap:12px; margin-top:9px; }
.reply-action { padding:2px 0; border:0; color:var(--hall-teal); background:transparent; font:700 .72rem Inter,sans-serif; text-decoration:none; text-underline-offset:3px; cursor:pointer; }
.reply-action:hover { color:#a4fff6; text-decoration:underline; }
.reply-action:focus-visible { outline:2px solid var(--hall-teal); outline-offset:3px; border-radius:2px; }
.inline-reply-form { margin:12px 0 4px; padding:15px; border:1px solid rgba(32,212,193,.2); border-radius:8px; background:rgba(6,15,25,.72); }
.inline-reply-form label { display:block; margin-bottom:8px; color:#e8edf1; font-size:.78rem; font-weight:700; }
.inline-reply-form textarea { display:block; width:100%; min-height:80px; resize:vertical; padding:12px; border:1px solid var(--hall-line); border-radius:6px; color:#fff; background:#0b1524; font:inherit; font-size:.85rem; }
.inline-reply-form textarea:focus { outline:2px solid var(--hall-teal); outline-offset:2px; }
.reply-children { margin:14px 0 0; padding:4px 0 0 16px; border-left:1px solid rgba(32,212,193,.28); list-style:none; }
.reply-children > .reply { grid-template-columns:32px minmax(0,1fr); gap:10px; padding:12px 0 0; border-bottom:0; }
.reply-children .reply-avatar { width:32px; height:32px; font-size:.8rem; }
.reply-nested .reply-head { margin-bottom:5px; }
.reply-nested p { font-size:.85rem; }
@media (max-width:500px) {
  .reply-children { padding-left:10px; }
  .inline-reply-form { padding:12px; }
  .reply-head { align-items:flex-start; }
  .reply-meta { flex-wrap:wrap; }
}


/* Persistent in-site alerts for replies to the member's own Guild Hall comments. */
.hall-reply-notifications { margin:0 0 22px; padding:20px 22px; border:1px solid rgba(32,212,193,.35); border-radius:12px; background:linear-gradient(110deg,rgba(10,35,43,.94),rgba(12,20,31,.96)); box-shadow:0 12px 30px rgba(0,0,0,.22); }
.hall-reply-notifications[hidden] { display:none; }
.hall-notification-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }
.hall-notification-heading > div > span { color:var(--hall-teal); font-size:.62rem; font-weight:800; letter-spacing:.16em; }
.hall-notification-heading h2 { margin:3px 0 0; color:#fff; font:700 1.1rem Rajdhani,sans-serif; }
.hall-notification-count { padding:5px 9px; border-radius:999px; color:#061318; background:var(--hall-teal); font-size:.64rem; font-weight:800; letter-spacing:.08em; }
.hall-reply-notifications ol { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.hall-notification-item { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 14px; border:1px solid rgba(255,255,255,.08); border-radius:8px; background:rgba(3,10,18,.48); }
.hall-notification-item strong { display:block; color:#f0f4f6; font-size:.83rem; }
.hall-notification-item p { margin:4px 0; color:#c6d0d5; font-size:.78rem; }
.hall-notification-item div > span { color:#84969e; font-size:.68rem; }
.hall-notification-link { flex:0 0 auto; color:var(--hall-teal); font-size:.74rem; font-weight:700; text-underline-offset:3px; }
.hall-notification-link[aria-disabled="true"] { opacity:.55; pointer-events:none; }
@media(max-width:560px) { .hall-reply-notifications { padding:16px; }.hall-notification-item { align-items:flex-start; flex-direction:column; gap:8px; } }
