/* Foundry 6 7: the Fabricator Wall (Tim, 6 Oct 2026). A foundry wall with the player's Factory ID,
   certificates in frames, the vault (Bolts and Ingots), the brag board and shop records. */
:root {
  --steel-950: #121316; --steel-900: #1b1d22; --steel-800: #24272e; --steel-700: #30343c; --steel-600: #444a54;
  --steel-500: #5d6470; --steel-300: #a7aeb8; --steel-100: #e3e6ea;
  --brass: #d9a441; --brass-dark: #8a6420; --molten: #ff7a1a; --molten-hot: #ffd25a; --ok: #62d68f; --bad: #ff6a5c;
  --text: #f1ede4; --muted: #a39c8f;
  --fd: "Bungee", "Barlow Condensed", Impact, sans-serif; --fb: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --grit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body.wl-page {
  min-height: 100vh; color: var(--text); font-family: var(--fb); font-size: 18px;
  background: var(--steel-950);
  background-image: radial-gradient(ellipse at 50% -10%, rgba(255,122,26,0.18), transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(255,90,10,0.22), transparent 55%);
  background-attachment: fixed;
}
.wl-page a, .wl-screen a { color: var(--molten-hot); }

/* ---------- top bar ---------- */
.wl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px clamp(10px, 2vw, 24px);
  background: linear-gradient(180deg, #2c3038, #1b1d22); border-bottom: 3px solid #0b0c0e; box-shadow: 0 4px 16px rgba(0,0,0,0.5); }
.wl-top::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0; }
.wl-logo { height: clamp(44px, 7vh, 74px); width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6)); }
.wl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 10px;
  font-weight: 800; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, #5a616c, #383d45); border: 2px solid #0b0c0e; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 0 #0b0c0e; white-space: nowrap; }
.wl-btn:hover { filter: brightness(1.12); }
.wl-btn.hot { color: #2a1300; background: linear-gradient(180deg, var(--molten-hot), var(--molten)); }
@media (max-width: 640px) { .wl-top { flex-wrap: wrap; justify-content: center; gap: 6px 10px; } .wl-logo { order: -1; flex-basis: 100%; height: 48px; object-fit: contain; }
  .wl-btn { font-size: 12px; padding: 4px 8px; min-height: 34px; } }

.wl-main { width: min(1500px, 100% - 24px); margin: 0 auto; padding: clamp(14px, 2.4vh, 28px) 0 30px; display: grid; gap: clamp(14px, 2.4vh, 28px); }
.wl-loading { text-align: center; color: var(--muted); font-weight: 700; padding: 60px 0; }
.wl-copyright { text-align: center; font-size: 14px; color: var(--steel-500); font-weight: 600; margin: 0 0 16px; }

/* ---------- plates (metal panels with rivets) ---------- */
.plate { position: relative; background: linear-gradient(180deg, var(--steel-700), var(--steel-800)); border: 2px solid #0b0c0e; border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -2px 0 rgba(0,0,0,0.35), 0 6px 18px rgba(0,0,0,0.45); }
.rivets::before, .rivets::after { content: ""; position: absolute; top: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d7dbe0, #6b717b 60%, #2b2e33); }
.rivets::before { left: 8px; } .rivets::after { right: 8px; }
.wl-section { padding: clamp(12px, 2vh, 22px) clamp(12px, 2vw, 24px); }
.wl-h { font-family: var(--fd); font-size: clamp(18px, 3vh, 26px); letter-spacing: 2px; color: var(--brass); margin: 0 0 4px; text-align: center; text-shadow: 0 2px 0 #000; }
.wl-h small { display: block; font-family: var(--fb); font-size: clamp(15px, 1.1vw, 18px); letter-spacing: 0.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ---------- The nameplate (8 Oct 2026): logo left, name / certification / Factory ID right ---------- */
.wl-id { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: clamp(12px, 2vw, 32px);
  text-align: left; padding: clamp(14px, 2.4vh, 26px) clamp(16px, 2.4vw, 36px); }
.wl-id-logo { display: block; width: 100%; height: auto; max-height: clamp(150px, 32vh, 340px); object-fit: contain; justify-self: center;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.55)); }
.wl-id-side { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(4px, 1vh, 10px); min-width: 0; }
.wl-id-name { font-family: var(--fd); font-size: clamp(30px, 6.5vh, 64px); line-height: 1.05; color: #fff; letter-spacing: 1px; overflow-wrap: anywhere;
  text-shadow: 0 3px 0 #000, 0 0 24px rgba(255,177,58,0.35); }
.wl-id-label { font-family: var(--fd); font-size: clamp(12px, 2vh, 17px); letter-spacing: 5px; color: var(--steel-300); }
.wl-id-cert { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 2px; }
.wl-id-cert .rank-badge { font-size: clamp(22px, 4.4vh, 44px); padding: 8px 28px; gap: 10px; }
.wl-id-cert .rank-badge i { font-size: 0.8em; }
.wl-id-certline { color: var(--text); font-weight: 700; font-size: clamp(15px, 2.2vh, 21px); letter-spacing: 0.5px; }
.wl-id-cert.none .wl-id-certline { color: var(--muted); }
.wl-id-idrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: clamp(4px, 1vh, 10px); }
.wl-id-tag { display: inline-block; margin: 8px auto 6px; padding: 8px 28px; border-radius: 8px; font-family: var(--fd); font-size: clamp(30px, 7vh, 64px); line-height: 1.05;
  letter-spacing: 2px; color: #2a1606; background: linear-gradient(180deg, #ffe08a, #f0a92a 60%, #b56d12); border: 3px solid #0b0c0e;
  box-shadow: 0 5px 0 #0b0c0e, 0 0 30px rgba(255,190,60,0.45), inset 0 2px 0 rgba(255,255,255,0.55); text-shadow: 0 1px 0 rgba(255,255,255,0.4); position: relative; }
.wl-id-tag::before, .wl-id-tag::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6d0, #b07a20 60%, #4a2a08); box-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.wl-id-tag::before { left: 8px; } .wl-id-tag::after { right: 8px; }
.wl-id-tag.small { margin: 0; padding: 4px 22px; font-size: clamp(20px, 3.4vh, 32px); letter-spacing: 1.5px; box-shadow: 0 3px 0 #0b0c0e, 0 0 16px rgba(255,190,60,0.35), inset 0 2px 0 rgba(255,255,255,0.55); }
.wl-id-tag.small::before, .wl-id-tag.small::after { width: 8px; height: 8px; margin-top: -4px; } .wl-id-tag.small::before { left: 6px; } .wl-id-tag.small::after { right: 6px; }
.wl-id-tag.guest { font-size: clamp(22px, 4.5vh, 40px); background: linear-gradient(180deg, #8c939c, #5d6470 60%, #3a3f47); color: #15171b; box-shadow: 0 5px 0 #0b0c0e; }
.wl-id-tag.small.guest { font-size: clamp(16px, 2.6vh, 24px); }
.wl-id-tag .ft-badge { font-family: inherit; margin-right: 6px; }
.wl-id-sub { color: var(--muted); font-weight: 600; margin: 2px 0 0; font-size: clamp(14px, 2vh, 18px); }
.wl-id-sub a { color: var(--molten-hot); }
@media (max-width: 640px) {
  .wl-id { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .wl-id-logo { max-height: 22vh; max-width: 320px; }
  .wl-id-side, .wl-id-cert { align-items: center; }
  .wl-id-idrow { justify-content: center; }
}
.rank-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fd); font-size: clamp(13px, 2.2vh, 18px); letter-spacing: 1px;
  padding: 4px 16px; border-radius: 999px; color: #15110c; background: linear-gradient(180deg, color-mix(in srgb, var(--rk) 70%, #fff), var(--rk));
  border: 2px solid #0b0c0e; box-shadow: 0 2px 0 #000, 0 0 12px color-mix(in srgb, var(--rk) 45%, transparent); }
.rank-badge i { font-style: normal; font-size: 0.85em; letter-spacing: 0; }
.rank-badge.none { color: var(--steel-300); background: var(--steel-900); border-color: var(--steel-600); box-shadow: none; }
.wl-id-stamp { display: inline-block; margin-top: 4px; font-size: clamp(13px, 1vw, 16px); color: var(--steel-300); font-weight: 700; letter-spacing: 1px; }

/* ---------- the certificate wall: bricks, a pipe along the top, framed certificates on nails ---------- */
.wl-bricks { padding: 0; overflow: hidden; border-color: #0b0c0e;
  background-color: #4b2a1f;
  background-image:
    linear-gradient(335deg, #351c14 23px, transparent 23px), linear-gradient(155deg, #5e3326 23px, transparent 23px),
    linear-gradient(335deg, #351c14 23px, transparent 23px), linear-gradient(155deg, #5e3326 23px, transparent 23px);
  background-size: 58px 58px; background-position: 0 2px, 4px 35px, 29px 31px, 34px 6px; }
.wl-bricks::before, .wl-bricks::after { display: none; }
.wl-bricks .wl-grime { position: absolute; inset: 0; pointer-events: none; background-image: var(--grit), radial-gradient(ellipse at 50% 110%, rgba(0,0,0,0.55), transparent 60%); background-size: 200px 200px, auto; }
.wl-pipe { position: relative; height: 26px; background: linear-gradient(180deg, #7b838e, #3b4049 55%, #5a616c); border-bottom: 3px solid #0b0c0e; box-shadow: 0 6px 12px rgba(0,0,0,0.6); }
.wl-pipe i { position: absolute; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d7dbe0, #6b717b 60%, #2b2e33); box-shadow: 0 1px 2px #000; }
.wl-pipe-title { position: relative; margin: 10px auto 0; width: max-content; max-width: calc(100% - 20px); padding: 6px 22px; font-family: var(--fd); font-size: clamp(16px, 2.8vh, 24px); letter-spacing: 3px; color: #fff3c4;
  background: linear-gradient(180deg, #2c3038, #15171b); border: 2px solid #0b0c0e; border-radius: 6px; box-shadow: 0 4px 0 #0b0c0e, 0 0 18px rgba(255,122,26,0.35); text-shadow: 0 0 10px rgba(255,122,26,0.6); }
.wl-pipe-title small { display: block; font-family: var(--fb); font-size: clamp(14px, 1.1vw, 17px); letter-spacing: 0.5px; color: var(--steel-300); text-shadow: none; }
.wl-frames { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: clamp(14px, 2.4vw, 30px); padding: clamp(28px, 4vh, 44px) clamp(14px, 2.4vw, 30px) clamp(22px, 3vh, 36px); }
.wl-frame { position: relative; padding-top: 18px; }
.wl-frame .nail { position: absolute; left: 50%; top: 2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d7dbe0, #5d6470 60%, #1b1d22); box-shadow: 0 1px 2px #000; z-index: 2; }
.wl-frame .wire { position: absolute; left: 50%; top: 7px; width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 16px solid transparent; margin-left: -60px; z-index: 1;
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), #c9cfd6 calc(50% - 1px), #c9cfd6 calc(50% + 1px), transparent calc(50% + 1px)) left/50% 100% no-repeat,
              linear-gradient(to bottom left, transparent calc(50% - 1px), #c9cfd6 calc(50% - 1px), #c9cfd6 calc(50% + 1px), transparent calc(50% + 1px)) right/50% 100% no-repeat; }
.wl-frame.earned { animation: hang 6s ease-in-out infinite; transform-origin: 50% 0; }
.wl-frame:nth-child(2) { animation-delay: -1.5s; } .wl-frame:nth-child(3) { animation-delay: -3s; } .wl-frame:nth-child(4) { animation-delay: -4.5s; }
@keyframes hang { 0%, 100% { transform: rotate(-0.6deg); } 50% { transform: rotate(0.6deg); } }
.wl-frame .certificate { margin: 0; max-width: none; }
/* the certificate itself (same look as in the game) */
.certificate { padding: 8px; background: #6b4a22; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,0.7), inset 0 0 0 2px #2b1a08; }
.cert-inner { position: relative; padding: 14px 14px 12px; text-align: center; color: #3b2410;
  background: radial-gradient(ellipse at 50% 40%, #fbf0d6, #efdcae 70%, #dcc28a); border: 3px double #8a5a24; border-radius: 3px; }
.cert-head { font-family: var(--fd); font-size: clamp(12px, 1vw, 15px); letter-spacing: 4px; color: #a1471a; }
.cert-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(17px, 1.6vw, 23px); font-weight: 700; letter-spacing: 2px; margin: 2px 0 6px; }
.cert-line { margin: 2px 0; font-family: Georgia, serif; font-style: italic; font-size: clamp(14px, 1.15vw, 17px); }
.cert-line.small { font-size: clamp(13px, 1vw, 15px); margin-top: 6px; }
.cert-name { font-family: var(--fd); font-size: clamp(20px, 1.8vw, 26px); color: #2b1a08; border-bottom: 1px solid #8a5a24; display: inline-block; padding: 0 12px 2px; margin: 2px 0 4px; }
.cert-rank { font-family: var(--fd); font-size: clamp(19px, 1.9vw, 27px); color: #7a2a0c; margin: 2px 0; }
.cert-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 1px; color: #6b4a22; }
.cert-foot span b { display: block; font-family: Georgia, serif; font-size: clamp(13px, 1.05vw, 16px); color: #2b1a08; border-bottom: 1px solid #8a5a24; padding: 0 6px 1px; margin-bottom: 2px; letter-spacing: 0; }
.cert-seal svg { width: clamp(56px, 5vw, 72px); height: auto; display: block; transform: rotate(-8deg); filter: drop-shadow(0 2px 2px rgba(0,0,0,0.4)); }
/* an empty frame waiting for a certificate */
.wl-empty { min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px 14px; text-align: center;
  border: 8px solid #3a2a18; border-radius: 6px; background: rgba(0,0,0,0.35); box-shadow: inset 0 0 30px rgba(0,0,0,0.7), 0 10px 24px rgba(0,0,0,0.6); color: var(--steel-300); }
.wl-empty b { font-family: var(--fd); font-size: clamp(17px, 1.7vw, 23px); letter-spacing: 1px; color: var(--rk, #c9d1db); opacity: 0.8; text-shadow: 0 0 10px color-mix(in srgb, var(--rk, #fff) 40%, transparent); }
.wl-empty span { font-size: clamp(15px, 1.2vw, 18px); font-weight: 600; }
.wl-empty i { font-style: normal; font-size: 28px; opacity: 0.5; }
.wl-empty.next { border-color: #7a5a1a; box-shadow: inset 0 0 30px rgba(0,0,0,0.6), 0 0 22px rgba(255,190,60,0.35); color: var(--text); }
.wl-empty.next b { opacity: 1; }
.wl-empty .wl-btn { margin-top: 6px; }

/* ---------- the vault: Bolts and Ingots ---------- */
.wl-vault-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: 8px; }
.wl-bin { position: relative; padding: 12px 14px 14px; border-radius: 10px; background: var(--steel-950); border: 1px solid var(--steel-600); text-align: center; }
.wl-bin h3 { margin: 0; font-family: var(--fd); font-size: clamp(16px, 2.4vh, 21px); letter-spacing: 3px; color: var(--steel-300); }
.wl-big { font-family: var(--fd); font-size: clamp(34px, 7vh, 64px); line-height: 1.05; color: var(--molten-hot); text-shadow: 0 0 18px rgba(255,122,26,0.55); margin: 2px 0 6px; }
.wl-big small { font-family: var(--fb); font-size: 0.3em; letter-spacing: 2px; color: var(--steel-300); text-shadow: none; }
.wl-pile { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 4px; min-height: 60px; padding: 8px 6px 6px;
  border-radius: 8px; background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.5)); border: 1px solid var(--steel-700); }
.wl-crate { width: clamp(30px, 3.4vw, 42px); height: auto; filter: drop-shadow(0 3px 3px rgba(0,0,0,0.6)); }
.wl-bolt { width: clamp(12px, 1.4vw, 18px); height: auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.6)); }
.wl-ingot { width: clamp(46px, 5vw, 64px); height: auto; filter: drop-shadow(0 3px 4px rgba(0,0,0,0.7)); }
.wl-pile.ingots { align-content: flex-end; gap: 2px 3px; }
.wl-pile-note { font-size: clamp(15px, 1.1vw, 17px); color: var(--muted); font-weight: 600; margin: 6px 0 0; }
.wl-pile .wl-more { font-family: var(--fd); font-size: 16px; color: var(--brass); align-self: center; padding: 0 6px; }
.wl-empty-bin { font-weight: 600; color: var(--steel-300); font-size: 17px; }

/* ---------- brag board: metal tags on hooks ---------- */
.wl-brags { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px 14px; }
.wl-brag { position: relative; padding: 18px 12px 10px; border-radius: 8px; text-align: center; background: linear-gradient(180deg, #5a616c, #383d45); border: 2px solid #0b0c0e; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 0 #0b0c0e; }
.wl-brag::before { content: ""; position: absolute; left: 50%; top: 5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #6b717b 55%, #1b1d22); box-shadow: 0 1px 2px #000; }
.wl-brag .ic { font-size: 30px; line-height: 1; }
.wl-brag .lb { font-size: clamp(13px, 1.05vw, 16px); font-weight: 800; letter-spacing: 1px; color: var(--steel-300); margin-top: 4px; }
.wl-brag .vl { font-family: var(--fd); font-size: clamp(22px, 2.2vw, 30px); color: #fff; text-shadow: 0 2px 0 #000; margin-top: 2px; }
.wl-brag .vl small { display: block; font-family: var(--fb); font-size: clamp(13px, 1vw, 15px); font-weight: 700; color: var(--molten-hot); letter-spacing: 1px; text-shadow: none; }
.wl-brag.gold { background: linear-gradient(180deg, #f2c66a, #b57f1e); border-color: #0b0c0e; }
.wl-brag.gold .lb { color: #4a2a08; } .wl-brag.gold .vl { color: #2a1606; text-shadow: 0 1px 0 rgba(255,255,255,0.4); } .wl-brag.gold .vl small { color: #7a3f0a; }
.wl-brag.dim { opacity: 0.55; }

/* ---------- shop records: gauges and bars ---------- */
.wl-gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 10px; }
.wl-gauge { text-align: center; padding: 8px 8px 10px; border-radius: 10px; background: var(--steel-950); border: 1px solid var(--steel-600); }
.wl-gauge svg { width: min(100%, 220px); height: auto; display: block; margin: 0 auto; }
.wl-gauge .gl { font-size: clamp(14px, 1.1vw, 17px); font-weight: 800; letter-spacing: 2px; color: var(--steel-300); }
.wl-gauge .gv { font-family: var(--fd); font-size: clamp(26px, 2.6vw, 38px); color: var(--molten-hot); line-height: 1.1; margin-top: -8px; }
.wl-gauge .gs { font-size: clamp(14px, 1.1vw, 17px); color: var(--muted); font-weight: 600; }
.wl-bars { display: grid; gap: 8px; margin-top: 14px; }
.wl-bar { display: grid; grid-template-columns: minmax(110px, 170px) 1fr auto; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 1px; font-size: clamp(15px, 1.2vw, 18px); }
.wl-bar .nm { color: var(--steel-100); } .wl-bar .nm small { display: block; font-size: clamp(12px, 0.95vw, 14px); color: var(--steel-300); letter-spacing: 1.5px; }
.wl-bar .tr { height: 26px; border-radius: 999px; background: var(--steel-950); border: 1px solid var(--steel-600); overflow: hidden; position: relative; }
.wl-bar .fl { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 60%, #000), var(--c)); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent); border-radius: 999px; transition: width 0.8s ease-out; }
.wl-bar .fx { position: absolute; left: 0; top: 0; bottom: 0; width: var(--x); background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.55) 0 4px, transparent 4px 8px); border-radius: 999px; }
.wl-bar .ct { font-family: var(--fd); font-size: clamp(17px, 1.4vw, 21px); color: #fff; white-space: nowrap; } .wl-bar .ct small { font-family: var(--fb); font-size: clamp(13px, 1vw, 15px); color: var(--ok); font-weight: 800; }
.wl-tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 8px; margin-top: 14px; }
.wl-tally div { text-align: center; padding: 8px 6px; border-radius: 8px; background: var(--steel-950); border: 1px solid var(--steel-600); }
.wl-tally b { display: block; font-family: var(--fd); font-size: clamp(22px, 2.2vw, 32px); color: var(--molten-hot); } .wl-tally span { font-size: clamp(13px, 1vw, 15px); font-weight: 800; letter-spacing: 1px; color: var(--steel-300); }
.wl-note { text-align: center; color: var(--muted); font-size: clamp(14px, 1.1vw, 17px); font-weight: 600; margin: 10px 0 0; }
.wl-first { text-align: center; padding: 18px 10px; color: var(--steel-300); font-weight: 600; }
.wl-first b { display: block; font-family: var(--fd); font-weight: 400; color: var(--molten-hot); font-size: 20px; margin-bottom: 4px; }
@media (max-width: 560px) { .wl-bar { grid-template-columns: 1fr; gap: 3px; } .wl-bar .ct { justify-self: end; } }
/* ZoodleBug Home button sits top-left (/home-button.js): Back to the Foundry
 * goes right after it and the logo stays centered. */
.wl-top { display: grid; grid-template-columns: 1fr auto 1fr; padding-left: var(--zb-home-space, 190px); }
.wl-top .wl-btn { justify-self: start; }
@media (max-width: 640px) {
  .wl-top { display: flex; padding-left: clamp(10px, 2vw, 24px); padding-top: var(--zb-home-top, 58px); }
}

/* ---------- the wall as a screen inside the game page (6 Oct 2026) ----------
   MY WALL in the lobby opens this instead of leaving the page, so the lobby song or foundry sounds keep playing. */
.wl-screen { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; color: var(--text); font-family: var(--fb); font-size: 18px;
  background: var(--steel-950);
  background-image: radial-gradient(ellipse at 50% -10%, rgba(255,122,26,0.18), transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(255,90,10,0.22), transparent 55%); }
.wl-screen.hidden { display: none; }
.wl-screen .wl-top { position: sticky; top: 0; z-index: 2; }
.wl-screen .wl-btn { cursor: pointer; font-family: var(--fb); }
