/* MahjongTableFlow — night story redesign, October 2026.
   A single composed editorial scene instead of stacked status chips.
   Intentionally not scroll-pinned. No new assets or dependencies. */
.night-story{
  background:linear-gradient(180deg,#061d18 0%,#0b251e 100%);
  padding:clamp(66px,7.5vw,110px) 0 clamp(60px,7vw,90px);
  color:#f5f0e6;
}
.night-story .night-story__intro{
  max-width:1100px;
  margin:0 auto clamp(25px,3vw,40px);
  text-align:center;
}
.night-story__intro .kicker{
  color:#d5b680;
  font-size:11px;
  letter-spacing:.19em;
}
.night-story .night-story__intro h2{
  color:#f7f2e7;
  font:400 clamp(38px,5.4vw,70px)/1.06 Georgia,serif;
  letter-spacing:-.047em;
  max-width:950px;
  margin:16px auto 0;
  text-wrap:balance;
}
.night-story__panel{
  width:min(1120px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);
  align-items:center;
  column-gap:clamp(24px,5vw,72px);
  padding:clamp(28px,5vw,66px);
  background:
    radial-gradient(circle at 88% 17%,rgba(88,138,105,.16),transparent 47%),
    linear-gradient(132deg,#144135,#0b2e25 68%,#0a2821);
  border:1px solid rgba(201,165,109,.32);
  border-radius:clamp(18px,2.3vw,28px);
  box-shadow:0 28px 70px -37px rgba(0,0,0,.6),inset 0 1px rgba(255,255,255,.055);
  position:relative;
  isolation:isolate;
}
.night-story__panel:before{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:13px;
  border:1px solid rgba(201,165,109,.13);
  border-radius:19px;
}
.night-story__narrative{
  position:relative;
  z-index:1;
  text-align:left;
  min-width:0;
}
.night-story__time{
  color:#e0c48f;
  font-size:11px;
  font-weight:850;
  letter-spacing:.18em;
  margin:0 0 25px;
}
.night-story__time span{color:rgba(240,219,179,.56);padding:0 8px}
.night-story__narrative h3{
  font:400 clamp(36px,3.7vw,53px)/1.08 Georgia,serif;
  letter-spacing:-.04em;
  color:#fffaf0;
  margin:0 0 23px;
  text-wrap:balance;
}
.night-story__narrative h3 em{
  display:inline-block;
  font-style:italic;
  font-weight:400;
  color:#ddbd83;
}
.night-story__description{
  color:#dbe7dc;
  font-size:clamp(15px,1.15vw,17px);
  line-height:1.75;
  max-width:420px;
  margin:0 0 30px;
}
.night-story__cta{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid #d9bb84;
  color:#0e3027;
  background:#dfc28c;
  font-weight:800;
  font-size:14px;
  text-decoration:none;
  min-height:50px;
  padding:13px 19px;
  border-radius:11px;
  transition:background 180ms ease,transform 180ms ease;
}
.night-story__cta:hover{background:#f0d5a6;transform:translateY(-2px);color:#0a2a22}
.night-story__cta:focus-visible{outline:3px solid #fffaf0;outline-offset:4px}
.night-story__footnote{
  font-size:11px;
  color:#b9cfc1;
  margin:19px 0 0;
  letter-spacing:.01em;
}
.night-story__visual{
  position:relative;
  min-width:0;
  border:1px solid rgba(220,195,147,.34);
  background:linear-gradient(155deg,rgba(3,22,17,.84),rgba(11,42,33,.96));
  border-radius:19px;
  padding:clamp(20px,2.6vw,34px);
  color:#fffaf0;
  box-shadow:0 24px 48px -32px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.09);
}
.night-story__visual-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  color:#d9bf92;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
  border-bottom:1px solid rgba(225,208,167,.25);
  padding-bottom:18px;
  margin-bottom:18px;
}
.night-story__edition{color:#9eb9a6;white-space:nowrap}
.night-story__tables{display:grid;gap:10px}
.night-story__table{
  display:grid;
  grid-template-columns:43px minmax(90px,1fr) 75px;
  align-items:center;
  gap:8px;
  padding:16px clamp(10px,1.8vw,18px);
  border:1px solid rgba(212,227,213,.12);
  border-radius:11px;
  background:rgba(255,250,239,.055);
}
.night-story__table--attention{
  background:rgba(201,165,109,.13);
  border-color:rgba(201,165,109,.49);
}
.night-story__number{font:400 25px/1 Georgia,serif;color:#f4ead6}
.night-story__seats{display:flex;justify-content:center;gap:8px;align-items:center}
.night-story__seats i{
  width:23px;
  height:23px;
  flex:none;
  display:block;
  border:2px solid #e2d2b4;
  border-radius:6px;
  background:linear-gradient(155deg,#f5eddd,#dccbaa);
  box-shadow:0 3px 0 rgba(0,0,0,.24);
  transform:rotate(-3deg);
}
.night-story__seats i:nth-child(2n){transform:rotate(4deg)}
.night-story__seats i.night-story__empty{
  background:transparent;
  box-shadow:none;
  border:2px dashed #d5b680;
  opacity:.9;
}
.night-story__state{
  font-size:11px;
  text-align:right;
  font-weight:740;
  white-space:nowrap;
  color:#bfdbca;
}
.night-story__table--attention .night-story__state{color:#f2cc8a}
.night-story__visual-foot{
  display:flex;
  align-items:center;
  gap:14px;
  padding-top:23px;
  color:#b9cbbd;
  font-size:9px;
  font-weight:750;
  letter-spacing:.12em;
  white-space:nowrap;
}
.night-story__visual-rule{
  display:block;
  width:26px;
  height:1px;
  background:#d5b680;
  flex:none;
}
.night-story .at-timeline-details{
  max-width:740px;
  margin:22px auto 0;
  background:rgba(255,250,240,.025);
  border-color:rgba(214,190,147,.25);
}
.night-story .at-timeline-details summary{
  padding:16px 25px;
  min-height:56px;
  color:#e3e9dc;
  font-weight:650;
  font-size:13px;
}
.night-story .at-timeline-details .timeline__text{color:#e9efe5}
@media(max-width:1010px){
  .night-story__panel{
    grid-template-columns:1fr;
    gap:33px;
    max-width:710px;
  }
  .night-story__intro h2{max-width:710px}
  .night-story__description{max-width:560px}
  .night-story__visual{width:100%}
}
@media(max-width:600px){
  .night-story{padding:62px 0 56px}
  .night-story .night-story__intro h2{font-size:clamp(34px,9vw,48px)}
  .night-story__panel{
    padding:22px 17px;
    gap:28px;
    border-radius:20px;
  }
  .night-story__panel:before{inset:7px;border-radius:14px}
  .night-story__narrative h3{font-size:clamp(32px,8.5vw,43px);margin-bottom:16px}
  .night-story__time{margin-bottom:18px}
  .night-story__description{font-size:14px;line-height:1.66;margin-bottom:19px}
  .night-story__cta{width:100%;font-size:13px;padding:11px 12px}
  .night-story__footnote{font-size:10px}
  .night-story__visual{padding:15px 12px}
  .night-story__visual-head{font-size:9px;padding-bottom:13px}
  .night-story__table{grid-template-columns:26px minmax(70px,1fr) 65px;padding:12px 8px;gap:5px}
  .night-story__number{font-size:20px}
  .night-story__seats{gap:5px}
  .night-story__seats i{width:18px;height:18px;border-radius:4px}
  .night-story__state{font-size:10px}
  .night-story__visual-foot{font-size:8px;gap:8px;white-space:normal}
  .night-story__visual-rule{width:16px}
  .night-story .at-timeline-details{margin-top:16px}
  .night-story .at-timeline-details summary{padding:14px 17px}
}
@media(prefers-reduced-motion:reduce){
  .night-story__cta{transition:none}
  .night-story__cta:hover{transform:none}
}
