/* way-in.css: THE ONE WAY IN's signed-in half, who you are and ENTER WORLD (#5677, public/js/way-in.js says why it is
   one file). The front door links it; build-web.js copies it into world.html's first paint. Kit B's art at the chrome
   pixel, the front door's own numbers, and no token of either page. */
.wi-doors {
  position: absolute; left: 0; right: 0; margin: 0 auto; bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  width: min(520px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 12px; pointer-events: auto;
}
.wi-plate {
  display: flex; align-items: center; gap: 14px; box-sizing: border-box; border: 0 solid; image-rendering: pixelated; --wi-kw: 1;
  border-image: url('/assets/ui/kitb/slate-window.png') 18 fill / calc(18px * var(--wi-kw)) stretch; padding: calc(18px * var(--wi-kw));
}
@media (min-width: 1440px) and (min-height: 810px) { .wi-plate { --wi-kw: 2; } }
.wi-sig { width: 54px; height: 66px; object-fit: contain; flex: none; filter: drop-shadow(0 0 10px rgba(255,210,90,.35)); }
.wi-who { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; text-align: left; }
.wi-who .wi-back { font-family: 'Press Start 2P', ui-monospace, monospace; font-size: 8px; letter-spacing: 1px; color: #caa982; }
.wi-who b { font-family: 'New Rocker', serif; font-weight: normal; font-size: 32px; line-height: 1.1; color: #e3c79a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wi-who .wi-house { font-family: 'VT323', ui-monospace, monospace; font-size: 19px; color: #d9cdb2; }
button.wi-go {
  box-sizing: border-box; width: 100%; min-height: 56px; margin: 0; cursor: pointer; border: 0 solid; background: none; image-rendering: pixelated;
  border-image: url('/assets/ui/kitb/btngold.png') 3 3 5 3 fill / 6px 6px 10px 6px stretch; padding: 18px 20px 22px;
  font-family: 'Press Start 2P', ui-monospace, monospace; font-size: 13px; letter-spacing: 1px; line-height: 1.2; color: #3a2208; text-shadow: 0 1px 0 rgba(255,236,190,.5);
  display: flex; align-items: center; justify-content: center; transition: transform .08s ease, filter .1s ease;
}
button.wi-go:hover { filter: brightness(1.12); }
button.wi-go:active { transform: translateY(2px); }
button.wi-go:focus-visible { outline: 2px solid #f6e6c4; outline-offset: 2px; }
.wi-wait { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; margin: -5px 0; text-transform: uppercase; }
.wi-wait i { display: block; box-sizing: border-box; width: min(300px, 86%); height: 6px; background: rgba(58,34,8,.35); border: 1px solid #3a2208; position: relative; }
.wi-wait i b { position: absolute; left: 0; top: 0; bottom: 0; background: #3a2208; transition: width .3s ease; }
.wi-more { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.wi-more a, .wi-more button {
  font-family: 'Press Start 2P', ui-monospace, monospace; font-size: 8px; letter-spacing: 1px; color: #e9e1cf; background: none; border: 0; cursor: pointer;
  padding: 10px 4px; text-decoration: underline; text-underline-offset: 4px;
  text-shadow: 1px 0 0 #070a10, -1px 0 0 #070a10, 0 1px 0 #070a10, 0 -1px 0 #070a10;
}
/* a sideways phone: the plate is its name and sigil, and the link keeps a thumb's height */
@media (max-height: 520px) {
  .wi-doors { gap: 8px; bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
  .wi-plate { padding: 14px 24px; }
  .wi-sig { width: 36px; height: 44px; }
  .wi-who b { font-size: 26px; }
  .wi-who .wi-house { display: none; }
  .wi-more a, .wi-more button { min-height: 45px; padding: 6px 12px; display: inline-flex; align-items: center; box-sizing: border-box; }
}
