/* 1.3.0 / Velvet, paper and the small objects of Todaka's theatre. */
:root { --theatre-paper: url('../img/paper-cotton-130.jpg'); --theatre-gold: #ad8752; --theatre-ink: #302438; }
.opening-curtain {
  background: linear-gradient(90deg,#10071245,transparent 20%,transparent 80%,#10071245),var(--curtain-texture,url('../img/curtain-velvet-130.jpg')) center / cover;
  border-bottom: 3px solid #aa814a;
  box-shadow: 0 12px 35px #08030c99,inset 0 -10px 20px #16030d77;
}
.opening-curtain::before { opacity: 1; background: linear-gradient(180deg,#10041335,transparent 35%,#17061016); }
.news, .introduction, .story, .schedule {
  background-color: #f3eee4;
  background-image: linear-gradient(#f6f0e84d,#f6f0e84d),var(--theatre-paper);
  background-size: auto,600px 600px;
}
.news { border-block: 1px solid #a7864e44; }
.introduction { background-image: linear-gradient(#faf6ed55,#faf6ed55),var(--theatre-paper); }
.story { box-shadow: inset 0 1px #aa875125,inset 0 -1px #aa875125; }
.header-sky::after {
  background: var(--theatre-paper) center / 480px 480px;
  mix-blend-mode: soft-light; opacity: .16;
}
.site-header { border-bottom-color: #c6a36d70; box-shadow: inset 0 1px #f6dfaa25,0 5px 24px #08051525; }
.menu-dialog, .comment-dialog {
  background-color: #faf7ef;
  background-image: linear-gradient(#fffdf5bc,#fffdf5bc),var(--theatre-paper);
  background-size: auto,600px 600px;
}
.menu-dialog { border: 1px solid #b89762; box-shadow: inset 0 0 0 7px #fff9e666,inset 0 0 0 8px #b8976238,0 22px 70px #04011070; }
.menu-dialog nav > a { border-bottom-style: dashed; }
.theatre-motif { width: 38px; height: 38px; fill: currentColor; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.theatre-motif .motif-cut { fill: none; stroke: var(--motif-cut,#f8f1df); stroke-width: 1.8; }
.section-motif { display: flex; align-items: center; justify-content: center; gap: 18px; width: fit-content; margin: 0 auto 18px; color: #ab824a; filter: drop-shadow(0 1px #fff8db80); }
.section-motif::before,.section-motif::after { content: ''; width: 32px; height: 1px; background: linear-gradient(90deg,transparent,currentColor); opacity: .65; }
.section-motif::after { transform: rotate(180deg); }
.movie .section-motif,.cast .section-motif { color: #d2aa6e; --motif-cut:#22152d; filter: drop-shadow(0 2px 2px #09051866); }
.section-heading { text-align: center; }
.movie-line { background: #c49b6359; }
/* Preserve all cast portraits and comments; change only the requested billing. */
.cast .cast-primary,.cast .cast-ensemble,.cast .cast-closing {
  display: grid; grid-template-columns: minmax(0,1fr); justify-items: center; gap: 48px;
  width: min(100%,430px); max-width: 430px; margin-inline: auto;
  font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: .07em; line-height: 1.8;
}
.cast .cast-ensemble { margin-top: 88px; }
.cast .cast-member { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 18px; width: 100%; padding: 0; border: 0; }
.cast .cast-member__photo { width: 216px; max-width: 100%; box-shadow: 0 10px 28px #04031155,0 0 0 5px #b2956220; border-color: #d7ba8170; }
.cast .cast-member__role { font-size: 15px; }
.cast .cast-member__name { font-size: 28px; font-weight: 400; }
.cast .cast-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,500px); margin: 64px auto 0; gap: 48px; font-family: var(--serif); font-weight: 400; letter-spacing: .07em; line-height: 1.8; }
.cast .cast-pair .cast-member__photo { width: 192px; }
.cast .cast-pair .cast-member__name { font-size: 25px; }
.cast .cast-closing { margin-top: 76px; }
.cast .cast-additional { margin-top: 44px; font-size: 20px; }
.cast .cast-ensemble:empty,.cast .cast-pair:empty,.cast .cast-closing:empty,.cast .cast-primary:empty,.cast .cast-additional:empty { display: none; }
.cast .cast-rule { margin-top: 66px; }
/* Printed stock, tear-off stubs and round notches make the ticket motif clear. */
.tour-card,.fukuoka-card {
  border: 1px solid #bca176; border-top: 5px solid #b49362;
  background: linear-gradient(#fffdf2ad,#fffdf2ad),var(--theatre-paper) center / 600px 600px;
  box-shadow: 0 10px 20px #39241b10,inset 0 0 0 5px #fffcf2,inset 0 0 0 6px #c6aa7740;
}
.tour-card { padding: 0; }
.tour-card > .performance-heading { padding: 28px 28px 24px; margin: 0; }
.tour-card::before,.tour-card::after,.fukuoka-card::before,.fukuoka-card::after { content: none; }
.ticket-stub { position: relative; padding: 22px 28px 26px; border-top: 1px dashed #b49769; }
.ticket-divider { position: relative; border-top: 1px dashed #b49769; margin-top: 0; }
.ticket-stub::before,.ticket-stub::after,.ticket-divider::before,.ticket-divider::after {
  content: ''; position: absolute; width: 22px; height: 22px; top: -12px; z-index: 2;
  background: linear-gradient(#f6f0e84d,#f6f0e84d),var(--theatre-paper) center / 600px 600px;
  border: 1px solid #bca176; border-radius: 50%; pointer-events: none;
}
.ticket-stub::before,.ticket-divider::before { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket-stub::after,.ticket-divider::after { right: -12px; clip-path: inset(0 50% 0 0); }
.ticket-stub .button { min-height: 58px; padding: 15px 18px; font-size: 15px; border-color: #ab8759; background: #fffdf34d; }
.ticket-stub .button:hover { background: #282036; color: #f8e0b4; }
.fukuoka-card > .performance-heading { border-bottom: 0; background: transparent; padding: 36px 40px; }
.schedule-stage { padding: 32px 0 0; }
.theatre-program { margin: 0 40px 22px; border: 1px solid #aa8857; box-shadow: 0 5px 16px #3021320c; }
.theatre-program__heading {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 26px; color: #f4ddaf;
  background: radial-gradient(ellipse at 85% 120%,#885b5a55,transparent 70%),linear-gradient(110deg,#20162e,#382237);
  border-bottom: 3px double #c8a167;
}
.theatre-program__heading > div { display: flex; align-items: center; gap: 18px; }
.theatre-program__heading .theatre-motif { width: 43px; height: 43px; --motif-cut:#302036; color:#cca36b; }
.theatre-program__heading > div > span { font: 11px/1.6 var(--sans); letter-spacing: .15em; }
.theatre-program__heading strong { display: block; font: 400 24px/1.5 var(--serif); letter-spacing: .08em; }
.theatre-program__heading > p { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.theatre-program__heading > p > span { font: 17px var(--roman); }
.theatre-program__heading > p > strong { font: 38px/1.1 var(--roman); letter-spacing: 0; }
.theatre-program__heading small { font: 16px var(--serif); padding-left: 4px; }
.theatre-program__pages { padding: 14px 22px 17px; background: #fffdf5ba; }
.program-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; font-family: var(--serif); color: #302438; }
.program-table th,.program-table td { padding: 10px 2px; text-align: center; border-bottom: 1px solid #ae966242; vertical-align: middle; }
.program-table th { font-weight: 500; }
.program-table thead th { border-bottom: 1px solid #b79760; }
.program-time-label { width: 66px; font-size: 12px; letter-spacing: .06em; }
.program-date { display: block; font: 26px/1.1 var(--roman); }
.program-weekday { display: block; font: 14px/1.5 var(--serif); margin-top: 4px; }
.program-table .is-sunday { color: #9e1932; }.program-table .is-saturday { color: #355b7b; }
.program-table .program-time { font: 18px/1.5 var(--roman); white-space: nowrap; }
.program-star { display: inline-block; font-size: 23px; line-height: 1; color: #9e1932; }
.program-dash { font: 11px var(--sans); color: #b5a897; }
.program-table .program-rest { background: #eae2d180; border-inline: 1px solid #d0bea2; }
.program-rest > span { writing-mode: vertical-rl; font: 13px/1.7 var(--serif); letter-spacing: .18em; color: #695b60; }
.program-legend { font: 12px/1.8 var(--sans); text-align: right; color: #695b60; padding-top: 12px; }
.program-legend > span:first-child { color: #9e1932; font-size: 16px; margin-right: 4px; }.program-legend__divider { margin-inline: 8px; opacity: .5; }
.program-note { font-size: 14px; padding-inline: 40px; }
.program-mobile { display: none; }
.program-desktop .program-table + .program-table { margin-top: 26px; }
.fukuoka-body--schedule .schedule-readable { margin-top: 0; }
.booking-card,.price,.sale-calendar { background-image: linear-gradient(#fcf7ebbd,#fcf7ebbd),var(--theatre-paper); background-size: auto,600px 600px; }
/* SNS remains absent until an official URL is provided in WordPress. */
.social-links { display: flex; align-items: center; justify-content: center; gap: 22px; }
.social-links--footer { grid-column: 1/-1; padding-block: 28px 12px; color: #ead1a0; }
.social-links__label { font: 11px/1.5 var(--sans); letter-spacing: .18em; }
.social-links__icons { display: flex; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c3a16c70; border-radius: 50%; transition: background .2s; }
.social-links svg { width: 19px; height: 19px; }
.social-links a:hover { background: #b493622b; }
.social-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.social-links--menu { padding: 25px 20px 30px; color: #795838; }
@media (max-width:1023px) {
  .theatre-program { margin-inline: 24px; }
  .theatre-program__pages { padding-inline: 12px; }
  .program-date { font-size: 22px; }.program-time-label { width: 56px; }.program-table .program-time { font-size: 16px; }
}
@media (max-width:767px) {
  .opening-curtain { background-size: auto,auto 100%; }
  .section-motif { margin-bottom: 15px; gap: 14px; }.section-motif .theatre-motif { width: 32px; height: 32px; }
  .section-motif::before,.section-motif::after { width: 25px; }
  .cast .cast-primary,.cast .cast-ensemble,.cast .cast-closing { gap: 40px; }
  .cast .cast-ensemble { margin-top: 64px; }
  .cast .cast-member { gap: 16px; }.cast .cast-member__photo { width: 180px; }.cast .cast-member__name { font-size: 26px; }.cast .cast-member__role { font-size: 14px; }
  .cast .cast-pair { width: min(100%,350px); gap: 22px; margin-top: 48px; }.cast .cast-pair .cast-member__photo { width: 156px; }.cast .cast-pair .cast-member__name { font-size: 23px; }
  .cast .cast-additional { font-size: 17px; gap: 18px; margin-top: 34px; }.cast .cast-closing { margin-top: 56px; }
  .tour-card { padding: 0; }.tour-card > .performance-heading { padding: 26px 18px; }
  .ticket-stub { padding: 20px 18px 24px; }.ticket-stub .button { font-size: 14px; }
  .fukuoka-card > .performance-heading { padding: 28px 18px; }
  .schedule-stage { padding-top: 24px; }.theatre-program { margin: 0 12px 18px; }
  .theatre-program__heading { padding: 14px 14px; gap: 10px; }.theatre-program__heading > div { gap: 10px; }
  .theatre-program__heading .theatre-motif { width: 30px; height: 30px; }
  .theatre-program__heading > div > span { font-size: 8px; letter-spacing: .08em; }.theatre-program__heading strong { font-size: 17px; letter-spacing: .04em; }
  .theatre-program__heading > p { gap: 5px; }.theatre-program__heading > p > span { font-size: 11px; }.theatre-program__heading > p > strong { font-size: 29px; }.theatre-program__heading small { font-size: 12px; }
  .theatre-program__pages { padding: 12px 9px 14px; }.program-desktop { display: none; }.program-mobile { display: block; }
  .program-mobile .program-table + .program-table { margin-top: 24px; }
  .program-table th,.program-table td { padding: 9px 0; }.program-time-label { width: 44px; font-size: 10px; }
  .program-date { font-size: clamp(18px,4.8vw,21px); }.program-weekday { font-size: 12px; }
  .program-table .program-time { font-size: 14px; }.program-star { font-size: 21px; }.program-rest > span { font-size: 13px; }
  .program-legend { text-align: center; font-size: 10px; }.program-legend__divider { margin-inline: 4px; }
  .program-note { padding-inline: 16px; font-size: 12px; }
  .social-links--footer { padding-block: 24px 4px; }
}
@media (prefers-reduced-motion:reduce) { .social-links a { transition: none; } }
@media (max-width:359px) {
  .theatre-program__heading { padding: 12px 10px; gap: 8px; }
  .theatre-program__heading > div { gap: 7px; }
  .theatre-program__heading .theatre-motif { width: 22px; height: 22px; }
  .theatre-program__heading > div > span { font-size: 7px; letter-spacing: .04em; }
  .theatre-program__heading strong { font-size: 14px; white-space: nowrap; }
  .theatre-program__heading > p { flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 2px; }
  .theatre-program__heading > p > strong { font-size: 27px; }
}
