.brand{font-family:STKaiti,KaiTi,"楷体",serif;font-weight:700;letter-spacing:.18em;text-shadow:0 2px 8px #000,0 0 24px #dab375aa}.brand small{font-family:Georgia,serif;font-weight:400;letter-spacing:.3em}.goal span{font-family:STKaiti,KaiTi,"楷体",serif;font-weight:700;letter-spacing:.08em;text-shadow:0 2px 5px #000,0 0 13px #001c30}.goal.selected span{color:#ffe4a3;text-shadow:0 2px 6px #000,0 0 18px #efa342}.touch-hint{display:none}footer .desktop-hint{display:inline;opacity:1;font-size:inherit}footer .touch-hint{display:none}@media(max-width:650px){.goal{width:22%;min-height:44px;left:calc(var(--unused, 0px) + 0px);transform:translateX(-50%);margin-left:6.5%}.goal span{font-size:clamp(11px,3.2vw,17px);letter-spacing:0}footer .desktop-hint{display:none}footer .touch-hint{display:inline;opacity:1;font-size:10px}footer>span:last-child{display:none}.brand{font-size:clamp(16px,4.2vw,25px)}}
@media(max-width:650px) and (orientation:portrait){html,body{width:100%;min-height:100%;margin:0}#stage{width:100%;height:100svh;max-height:none;aspect-ratio:auto}.stadium,#motion{width:100%;height:100%}footer{bottom:3%}}

@media(min-width:651px){#stage{width:100%;height:100dvh;max-height:none;aspect-ratio:auto}.stadium,#motion{width:100%;height:100%}}

@media (max-width: 360px) {
  header { flex-wrap: wrap; gap: 6px 8px; }
  .brand { letter-spacing: .06em; }
  header nav { margin-inline-start: auto; }
}

#panel {
  box-sizing: border-box;
  max-height: calc(100dvh - 24px);
  padding: clamp(20px, 5vw, 42px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#panel #close {
  position: sticky;
  top: 0;
  right: 0;
  float: right;
  min-width: 44px;
  min-height: 44px;
}
#panel #copy { overflow-wrap: anywhere; }
#panel #copy > :last-child { margin-bottom: 0; }
#panel h2 { margin: 0; font-size: 1.25rem; line-height: 1.4; }
#panel .portfolio-meta, #panel .portfolio-note {
  color: #b3c9d1;
  font-size: .84rem;
  margin: .35rem 0 .8rem;
}
#panel .portfolio-project + .portfolio-project {
  border-top: 1px solid #425a67;
  margin-top: 1.5rem;
  padding-top: 1.4rem;
}
#panel dl { margin: .85rem 0; }
#panel dt { font-weight: 600; }
#panel dd { margin: 0 0 .65rem; }
#panel .portfolio-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: .4rem .85rem;
  border: 1px solid #6b8793;
  border-radius: 8px;
  background: #253c47;
  color: #f6f9f8;
  text-decoration: none;
}
#panel .portfolio-action:hover { text-decoration: underline; }
#panel .portfolio-evidence { margin-top: .6rem; }
#panel .portfolio-evidence figure { margin: .6rem 0 0; }
#panel .portfolio-evidence img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  border-radius: 8px;
}
#panel .portfolio-evidence figcaption {
  color: #b3c9d1;
  font-size: .84rem;
  margin-top: .35rem;
}
#panel .portfolio-video {
  display: block;
  width: min(100%, 440px);
  max-height: 56dvh;
  margin-top: .6rem;
  border-radius: 8px;
  background: #050b10;
}
