#papara{min-height:100svh;box-sizing:border-box;padding:clamp(20px,4vw,50px) max(5vw,calc((100vw - 1080px)/2));background:#211c26;color:#f4ebed}
#papara header{border-bottom:1px solid #574859;padding-bottom:14px}
#papara h1 span{color:#eab8cd}
.atm-log{display:block;font:13px/1.5 ui-monospace,monospace;color:#e7c5d5}
.atm-replay,#papara footer a{color:#f4d3de;font:600 14px system-ui}
.atm-replay{border:1px solid #997b8d;background:#423441;border-radius:5px;padding:8px 12px;margin-top:12px;cursor:pointer}
#papara footer{padding-top:15px}
.club{position:relative;height:clamp(240px,44svh,510px);margin:0 calc(-1 * max(5vw,(100vw - 1080px)/2));overflow:hidden;background:#251d33}
.club svg{position:absolute;inset:0;width:100%;height:100%}
.club-caption{padding:16px 0;min-height:100px}
.club-caption h2{font:500 clamp(23px,3vw,38px) Georgia,serif;margin:0}
.club-caption p{line-height:1.45;margin:6px 0;max-width:74ch}
.ball-grid{animation:mirror-turn 1.9s linear infinite}
.club-beams{opacity:.24;animation:club-light 3.6s ease-in-out infinite alternate}
@keyframes club-light{to{transform:rotate(12deg);opacity:.36}}
.club-guest.moving .club-feet{animation:sandal-stride .26s ease-in-out infinite alternate}
@media(prefers-reduced-motion:reduce){.ball-grid,.club-beams,.club-guest.moving .club-feet{animation:none}}

@media (prefers-reduced-motion: no-preference) {
  .party-sway { animation: party-step .55s ease-in-out infinite alternate; animation-delay: var(--phase); }
  .club-guest.moving .cash-hand { animation: party-arm .42s ease-in-out infinite alternate; transform-origin: 7px -37px; }
}
@keyframes party-step {
  from { transform: translate(-2px,0) rotate(-7deg); }
  to { transform: translate(2px,-3px) rotate(8deg); }
}
@keyframes party-arm { to { transform: rotate(-68deg); } }

.club-stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 1fr)); gap: 16px; }
.club-stories article { border-top: 1px solid #795f74; padding-top: 9px; }
.club-stories h2 { font-size: clamp(19px, 2vw, 26px); }
@media (max-width: 620px) { .club-stories { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .club-soloist { animation: party-step .8s ease-in-out infinite alternate; }
  .singer-notes { animation: sung-phrase 1.8s ease-out infinite; }
}
@keyframes sung-phrase { from { opacity: .95; } to { opacity: 0; transform: translate(9px,-7px); } }

#papara { height: 100vh; height: 100dvh; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto auto; padding-block: clamp(4px,1.5vh,16px); }
#papara header { padding-bottom: 5px; }
#papara h1 { margin: 2px 0; font-size: clamp(30px,7vh,68px); }
.club { height: auto; }
.club-caption { min-height: 0; padding: 8px 0 0; }
#papara footer { padding-top: 5px; }
.atm-replay { margin-top: 3px; }
@media (max-width: 680px), (max-height: 500px) {
  .club-stories { display: block; }
  .club-stories article { padding: 3px 0; font-size: 14px; line-height: 1.3; }
  .club-stories h2, .club-stories p { display: inline; font: inherit; }
  .club-stories h2 { font-weight: 700; margin-right: .4em; }
}
@media (orientation: landscape) and (max-height: 500px) {
  #papara { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto minmax(0,1fr) auto; gap: 0 12px; }
  #papara header, #papara footer { grid-column: span 2; }
  .club { margin: 0; }
}
@media (orientation: landscape) and (max-height: 500px) {
  #papara { padding-inline: 12px; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .club-stories article { padding-block: 2px; font-size: 13px; }
}

.atm-replay { visibility: hidden; }
.atm-log { min-height: 1.5em; }
@media (max-width: 490px), (orientation: landscape) and (max-height: 500px) { .atm-log { min-height: 3em; } }
