:root {
  --ink: #141414;
  --paper: #f6f1e6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #e7e0d2;
  color: var(--ink);
  font-family: "Nanum Pen Script", cursive;
}

.lobby {
  width: min(100%, 520px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 14px calc(22px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 214, 120, 0.35), transparent 28%),
    var(--paper);
}

h1 {
  margin: 8px 0 0;
  font-family: "Jua", "Nanum Pen Script", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

.lead {
  margin: 2px 0 14px;
  font-size: 22px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 12px;
}

.banner {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px 20px 14px 18px;
  box-shadow: 3px 3px 0 var(--ink);
}

a.banner:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 1px 1px 0 var(--ink);
}

.banner img,
.soon-shot {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: #d7ecf8;
}

.soon-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 40%),
    repeating-linear-gradient(135deg, #efe6d4 0 10px, #e7dcc6 10px 20px);
}

.soon-shot span {
  padding: 8px 12px;
  font-family: "Jua", sans-serif;
  font-size: 22px;
  color: #6d6254;
  background: rgba(255, 255, 255, 0.72);
  border: 3px dashed #8a7b68;
  border-radius: 14px;
}

.name {
  display: block;
  padding: 7px 6px 8px;
  text-align: center;
  font-family: "Jua", "Nanum Pen Script", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  word-break: keep-all;
}

.banner--soon {
  opacity: 0.78;
  box-shadow: none;
  border-style: dashed;
}

.banner--soon .name {
  color: #6d6254;
}

@media (max-width: 360px) {
  h1 { font-size: 34px; }
  .name { font-size: 14px; }
  .soon-shot span { font-size: 18px; }
}
