/* MahjongTableFlow — share a real club night, without accounts or monthly fees. */
.at-share-studio{
  margin:8px 0 30px;
  border:1px solid rgba(164,123,75,.4);
  border-radius:19px;
  overflow:hidden;
  background:linear-gradient(145deg,#fffaf0,#f3ebdc);
  box-shadow:0 16px 36px -30px rgba(8,27,22,.38);
}
.at-share-studio summary{
  list-style:none;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:8px 14px;
  padding:18px 22px;
  min-height:78px;
  cursor:pointer;
  color:#103b31;
}
.at-share-studio summary::-webkit-details-marker{display:none}
.at-share-studio summary::marker{content:''}
.at-share-studio__kicker{
  grid-column:1/-1;
  font-size:10px;
  line-height:1.3;
  font-weight:850;
  letter-spacing:.17em;
  color:#78552c;
}
.at-share-studio__summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  grid-column:1/-1;
  font:400 clamp(20px,2vw,25px)/1.2 Georgia,serif;
}
.at-share-studio__plus{
  color:#986e39;
  font:400 27px/1 Georgia,serif;
  transition:transform .2s cubic-bezier(.22,.61,.36,1);
}
.at-share-studio[open] .at-share-studio__plus{transform:rotate(45deg)}
.at-share-studio[open] summary{
  border-bottom:1px solid rgba(16,59,49,.13);
}
.at-share-studio summary:focus-visible{
  outline:2px solid #103b31;
  outline-offset:-4px;
  border-radius:14px;
}
.at-share-studio__content{padding:22px}
.at-share-studio__help{
  font-size:14px;
  color:#41574a;
  line-height:1.7;
  margin:0 0 16px;
}
.at-share-studio__preview{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1200/630;
  background:#103b31;
  border-radius:15px;
  border:1px solid rgba(201,165,109,.5);
  box-shadow:0 16px 34px -23px rgba(8,27,22,.52);
}
.at-share-studio__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:17px 0 12px;
}
.at-share-studio .at-share-studio__actions button{
  white-space:normal;
  min-height:48px;
  padding:12px 15px;
  font-size:13px;
  border-radius:11px;
}
.at-share-studio__actions .at-share-studio__primary{
  background:#103b31;
  border-color:#103b31;
  color:#fffaf0;
}
.at-share-studio__actions .at-share-studio__primary:hover{
  background:#174d3d;
  color:#fffaf0;
}
.at-share-studio__seats{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 12px;
  font-size:12px;
  color:#43584d;
  padding:10px 0;
  border-top:1px solid rgba(16,59,49,.13);
}
.at-share-studio__text-button{
  background:transparent;
  color:#103b31;
  font-size:12px;
  text-decoration:underline;
  text-underline-offset:3px;
  border:0;
  padding:8px 2px;
  min-height:40px;
  cursor:pointer;
  font-weight:800;
}
.at-share-studio__privacy{
  margin:12px 0;
  font-size:12px;
  color:#4e5f54;
  line-height:1.7;
}
.at-share-studio__privacy strong{color:#103b31}
.at-share-studio__status{
  min-height:20px;
  margin:12px 0 0;
  color:#164638;
  font-size:13px;
  font-weight:650;
}
@media(max-width:600px){
  .at-share-studio__content{padding:15px}
  .at-share-studio summary{padding:17px}
  .at-share-studio__actions{grid-template-columns:1fr}
  .at-share-studio .at-share-studio__actions button{width:100%}
}
@media print{.at-share-studio{display:none!important}}
@media(prefers-reduced-motion:reduce){
  .at-share-studio__plus{transition:none}
}

/* Keep expanded invite headings visible below the sticky navigation. */
.at-share-studio{scroll-margin-top:96px}

/* Last-minute seating repair: accessible disclosure, no new signup. */
.at-emergency{
  margin:8px 0 18px;
  border:1px solid #bfd0c3;
  border-radius:18px;
  background:#f7faf5;
  overflow:hidden;
}
.at-emergency summary{
  cursor:pointer;
  list-style:none;
  padding:18px 21px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:75px;
  gap:18px;
  color:#123d31;
}
.at-emergency summary::-webkit-details-marker{display:none}
.at-emergency summary small{
  display:block;
  color:#56725f;
  font-size:10px;
  letter-spacing:.17em;
  font-weight:850;
  margin-bottom:6px;
}
.at-emergency summary strong{
  display:block;
  font:400 24px/1.2 Georgia,serif;
}
.at-emergency__plus{font:400 26px Georgia,serif;color:#54765d}
.at-emergency[open] .at-emergency__plus{transform:rotate(45deg)}
.at-emergency__inner{border-top:1px solid #d1dcd3;padding:21px}
.at-emergency__inner>p:first-child{font-size:14px;line-height:1.7;color:#476454;margin:0 0 22px}
.at-emergency fieldset{margin:0;padding:0;border:0;min-width:0}
.at-emergency legend{font-size:12px;letter-spacing:.02em;font-weight:850;color:#164636;margin-bottom:14px}
.at-emergency__people{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.at-emergency__person{display:flex;gap:8px;align-items:center;min-width:0;border:1px solid #d3ddd5;background:#fff;border-radius:10px;padding:9px 10px;font-size:13px;color:#174536;cursor:pointer;overflow-wrap:anywhere}
.at-emergency__person:has(input:checked){border-color:#608b68;background:#e8f0e7}
.at-emergency__person input{width:18px;height:18px;min-height:18px;flex:none;margin:0;accent-color:#175b43;cursor:pointer}
.at-emergency__controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.at-emergency__controls button{white-space:normal;min-height:46px;flex:1}
.at-emergency__apply{background:#103b31;color:#fffaf0;border-color:#103b31}
.at-emergency__apply:hover{background:#174d3d;color:#fffaf0}
.at-emergency__status{min-height:20px;font-size:13px;line-height:1.6;color:#205343;margin:17px 0 0}
.at-emergency__privacy{font-size:12px;line-height:1.7;color:#526b5b;margin:12px 0 0}
.at-emergency summary:focus-visible,.at-emergency__person:focus-within{outline:2px solid #174d3d;outline-offset:2px}
@media(max-width:600px){
 .at-emergency summary{padding:15px}
 .at-emergency summary strong{font-size:21px}
 .at-emergency__inner{padding:15px}
 .at-emergency__people{grid-template-columns:1fr 1fr}
 .at-emergency__controls{flex-direction:column}
}
@media print{.at-emergency{display:none!important}}
