@font-face {
  font-family: "Yebbi Pixel";
  src: url("assets/fonts/yebbi-pixel.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* The reference's open, vertically spaced title / character / menu composition. */
body[data-view="landing"] { overflow-x: hidden; overflow-y: auto; }
.landing {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(32px, 5svh, 64px) 20px clamp(64px, 14svh, 144px);
}
.landing .landing-center {
  position: relative;
  inset: auto;
  transform: none;
  width: min(100%, 500px);
  text-align: center;
}
.landing-brand { color: #d6eaf3; }
.landing-heading { display: flex; align-items: center; justify-content: center; gap: 24px; }
.landing-heading h1 {
  font: 400 40px/1.2 "Yebbi Pixel", ui-monospace, monospace;
  letter-spacing: 0;
  text-shadow: 0 0 16px #b7e3ff20;
}
.landing-heading > svg {
  width: 18px;
  height: 18px;
  fill: #c1dfea;
  shape-rendering: crispEdges;
}
.landing-subtitle {
  margin-top: 9px;
  color: #adcbdc;
  font: 400 18px/1.2 "Yebbi Pixel", ui-monospace, monospace;
  letter-spacing: .36em;
  padding-left: .36em;
}
.landing .character-group { width: 340px; height: 320px; margin-top: 56px; }
.landing .sailor-button { left: 10px; bottom: 0; }
.landing .entrance-sprite { width: 320px; height: 320px; }
.landing .near-star-one { left: 24px; top: 76px; }
.landing .near-star-two { right: 18px; top: 158px; }
.landing .near-star-three { left: 55px; bottom: 61px; }
.landing .icon-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  width: 100%;
  margin-top: 40px;
}
.landing .dock-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 88px;
  padding: 0 0 24px;
  color: #adbfcb;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: 400 20px/1.2 "Yebbi Pixel", ui-monospace, monospace;
  letter-spacing: 0;
  transition: color .15s ease;
}
.landing .dock-button:nth-child(even) { color: #adbfcb; }
.landing .dock-button:first-child { color: #cceaf6; }
.landing .dock-button > svg { width: 32px; height: 32px; flex-shrink: 0; }
.landing .dock-button::after {
  content: "";
  position: absolute;
  left: calc(50% - 4px);
  bottom: 0;
  width: 8px;
  height: 8px;
  background: #bceaff;
  transform: rotate(45deg);
  opacity: 0;
}
.landing .dock-button:first-child::after { opacity: 1; }
.landing .icon-dock:has(:where(.dock-button:hover, .dock-button:focus-visible)) .dock-button::after { opacity: 0; }
.landing .icon-dock .dock-button:hover,
.landing .icon-dock .dock-button:focus-visible {
  color: #e9f8ff;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.landing .icon-dock .dock-button:hover::after,
.landing .icon-dock .dock-button:focus-visible::after { opacity: 1; }
.landing .dock-button:focus-visible { outline: 1px solid #bddbe866; outline-offset: 6px; }

/* Short award rows are editable in content.js. */
.awards-section { padding: 25px 0 54px; scroll-margin-top: 0; }
.award-list { margin: 0; padding: 0; list-style: none; }
.award-entry {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid #a3c8e12b;
}
.award-year { color: #a9b4c1; font-size: 14px; }
.award-title { color: #eaf2f9; font-size: 17px; font-weight: 400; }
.award-event { color: #adb9c6; font-size: 14px; margin-top: 4px; }
.award-entry.award-without-year { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 600px) {
  .landing { padding-left: 20px; padding-right: 20px; }
  .landing-heading { gap: 18px; }
  .landing-heading h1 { font-size: 30px; }
  .landing-heading > svg { width: 15px; height: 15px; }
  .landing-subtitle { font-size: 15px; margin-top: 12px; }
  .landing .character-group { width: 280px; height: 270px; margin-top: 40px; }
  .landing .sailor-button { left: 5px; bottom: 0; }
  .landing .entrance-sprite { width: 270px; height: 270px; }
  .landing .near-star-one { left: 13px; top: 62px; }
  .landing .near-star-two { right: 10px; top: 134px; }
  .landing .near-star-three { left: 46px; bottom: 48px; }
  .landing .icon-dock { gap: 6px; margin-top: 28px; }
  .landing .dock-button { font-size: 17px; gap: 12px; min-height: 82px; }
  .landing .dock-button > svg { width: 27px; height: 27px; }
  .landing .dock-button::after { width: 6px; height: 6px; left: calc(50% - 3px); bottom: 5px; }
  .awards-section { padding-bottom: 39px; }
  .award-entry { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
}
@media (max-width: 360px) {
  .landing { padding-left: 12px; padding-right: 12px; }
  .landing .icon-dock { gap: 3px; }
  .landing .dock-button { font-size: 16px; }
}
@media (max-height: 700px) {
  .landing { padding-top: 40px; padding-bottom: 52px; }
  .landing .character-group { width: 280px; height: 252px; margin-top: 24px; }
  .landing .sailor-button { left: 14px; bottom: 0; }
  .landing .entrance-sprite { width: 252px; height: 252px; }
  .landing .icon-dock { margin-top: 20px; }
  .landing .near-star-two { top: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing .dock-button { transition: none; }
}
