/* ===========================================================
   poemilias pages (one page per edition: sukimix.com/poemilias/<YYYYMMDD>, now /poemilias/20270110)
   Keeps the SUKIMIX header/footer and paints its own night in between.
   Direction (same as the flyer): 夜・版画・静か
   - Type: Zen Old Mincho (和文・数字) / Cormorant Garamond (欧文の見出し) / EB Garamond (小さな欧文)
   - Ground: navy. Colors: navy + off-white + gold (gold = the one glowing point)
   - No rounded corners (only square edges and true circles). No shadows.
   Class names start with "poe-" so a rework of style.css cannot break this page.
   =========================================================== */

.poe-page {
  --poe-bg:     #0E1C3A;  /* 紺（地） */
  --poe-bg-2:   #132548;  /* 区切りの面（同じ紺を少し明るく） */
  --poe-ink:    #F5EBD5;  /* オフホワイト（文字） */
  --poe-ink-2:  #C9C1AE;  /* 補足の文字 */
  --poe-gold:   #E8C872;  /* 光る一点：日付・Special Guest・曜日の枠・主なボタン */
  --poe-line:   #3B4A68;  /* 細い罫 */
  --poe-col:    720px;
  --poe-jp:     "Zen Old Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
                "Noto Serif JP", "Noto Serif CJK JP", serif;
  --poe-en:     "Cormorant Garamond", "EB Garamond", Georgia, var(--poe-jp);
  --poe-en-s:   "EB Garamond", Georgia, var(--poe-jp);
  background: var(--poe-bg);
}

[hidden] { display: none !important; }

/* Site chrome stays white so the SUKIMIX logo (multiply blend) reads correctly. */
.poe-page .site-header { background: #fff; }
.poe-page .site-footer { background: #fff; }

/* scattered stars over the whole navy ground (tile made by a seeded script; scrolls with the page) */
.poe {
  background-image: url("assets/poemilias/stars.svg");
  background-size: 720px 960px;
  color: var(--poe-ink);
  font-family: var(--poe-jp);
  font-size: 16px;
  line-height: 1.9;
  line-break: strict;
}
.poe a { color: var(--poe-ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.poe a:hover { color: var(--poe-gold); }
.poe a:focus-visible { outline: 2px solid var(--poe-gold); outline-offset: 4px; }

/* Japanese line breaks: keep words whole, break only at <wbr> (文節の切れ目) */
.poe-catch, .poe-h, .poe-text, .poe-note, .poe-list li, .poe-prof, .poe-row dd { word-break: keep-all; overflow-wrap: anywhere; }
.poe-text, .poe-prof { text-wrap: pretty; }
.nw { white-space: nowrap; }

.poe-col { width: 100%; max-width: var(--poe-col); margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.poe .poe-hero {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 56px;
}
.poe-kv { margin: 0; line-height: 0; position: relative; }
.poe-kv img {
  width: 100%; height: auto; display: block;
  /* blend the flyer's blue edges into the navy ground */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.poe-info { padding: 0 24px; margin-top: -24px; position: relative; display: flex; flex-direction: column; gap: 24px; }
.poe-eyebrow {
  margin: 0; font-family: var(--poe-en-s); font-size: 13px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--poe-ink-2);
}
.poe-catch {
  margin: 0; font-size: clamp(20px, 3.2vw, 26px); font-weight: 500; line-height: 1.7;
  letter-spacing: .06em; font-feature-settings: "palt";
}
.poe-title { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; line-height: 1.2; }
.poe-title-en { font-family: var(--poe-en); font-style: italic; font-weight: 600; font-size: clamp(36px, 6vw, 44px); letter-spacing: .01em; }
.poe-title-ja { font-size: 15px; color: var(--poe-ink-2); letter-spacing: .12em; white-space: nowrap; }

.poe-when { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.poe-when > p { margin: 0; }
.poe-date {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px;
  font-variant-numeric: lining-nums tabular-nums; line-height: 1.1;
}
.poe-year { font-size: 22px; }
.poe-md { font-size: clamp(48px, 9vw, 64px); color: var(--poe-gold); letter-spacing: .02em; }
.poe-dow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--poe-gold); border-radius: 50%;
  color: var(--poe-gold); font-size: 18px; line-height: 1;
}
.poe-time { font-size: 24px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.poe-time small { font-size: 15px; color: var(--poe-ink-2); margin-left: 16px; white-space: nowrap; }
.poe-venue { margin: 0; font-size: 16px; }
.poe-venue .poe-at { font-family: var(--poe-en); font-style: italic; font-weight: 600; font-size: 20px; margin-right: 4px; }
.poe-venue .poe-vname { font-family: var(--poe-en); font-weight: 600; font-size: 24px; margin-right: 12px; }

.poe-price { margin: 0; display: grid; gap: 4px; }
.poe-price div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.poe-price dt { font-size: 14px; color: var(--poe-ink-2); min-width: 7.5em; }
.poe-price dd { margin: 0; flex: 1 1 0; min-width: 0; font-size: 20px; font-variant-numeric: tabular-nums; } /* stay beside dt; a long note wraps inside dd (375px: 最速の「・限定10枚」) */
.poe-price dd small { font-size: 14px; color: var(--poe-ink-2); margin-left: 8px; }
.poe-price-note { margin: 0; font-size: 14px; color: var(--poe-ink-2); }

/* ---------- Buttons (square corners, no shadow) ---------- */
.poe-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.poe .poe-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 8px 24px;
  border: 1px solid var(--poe-ink); color: var(--poe-ink);
  text-decoration: none; font-size: 15px; letter-spacing: .06em; line-height: 1.4;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.poe .poe-btn:hover { background: var(--poe-ink); color: var(--poe-bg); }
.poe .poe-btn.is-main { background: var(--poe-gold); border-color: var(--poe-gold); color: var(--poe-bg); }
.poe .poe-btn.is-main:hover { background: var(--poe-ink); border-color: var(--poe-ink); }

/* ---------- Sections ---------- */
/* scroll-margin keeps a jumped-to heading clear of the sticky site header (64px). */
.poe .poe-sec { padding: 64px 0; scroll-margin-top: 64px; border-top: 1px solid var(--poe-line); }
.poe .poe-sec.is-tint { background: var(--poe-bg-2) url("assets/poemilias/stars.svg") 0 0 / 720px 960px; }
.poe-sec .poe-col { display: flex; flex-direction: column; gap: 24px; }
.poe-sec .poe-col > * { margin: 0; min-width: 0; }
.poe-label {
  font-family: var(--poe-en-s); font-size: 13px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--poe-ink-2); margin-bottom: -16px !important;
}
.poe-label.is-alone { margin-bottom: 0 !important; } /* a label with no heading under it (#flyer, 2026-10-10: 「告知画像」の見出しは本人判断で外した) */
.poe-h {
  font-size: clamp(24px, 4vw, 30px); font-weight: 500; line-height: 1.4;
  letter-spacing: .06em; font-feature-settings: "palt"; text-wrap: balance;
}
.poe-text { color: var(--poe-ink); }
.poe-note { font-size: 14px; color: var(--poe-ink-2); }

/* the poem in "poemilias とは" (本人作). Lines are joined with <br>; a line breaks only at its <wbr> after 「、」 */
.poe-poem { display: flex; flex-direction: column; gap: 32px; }
.poe-poem p {
  margin: 0; font-size: 18px; line-height: 2.2; letter-spacing: .08em;
  word-break: keep-all; overflow-wrap: anywhere;
}
/* phones: keep the longest line (19 chars) on one line from 375px up; at 320px it breaks at 「、」 */
@media (max-width: 480px) {
  .poe-poem p { font-size: clamp(15px, 4.2vw, 18px); letter-spacing: .04em; }
}

/* constellation divider in "poemilias とは" (stars joined by a line = 文脈) */
.poe-stars { width: min(100%, 360px); height: auto; display: block; color: var(--poe-ink); }

.poe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.poe-list li { position: relative; padding-left: 24px; }
.poe-list li::before {
  content: ""; position: absolute; left: 2px; top: .8em;
  width: 7px; height: 7px; border: 1px solid var(--poe-gold); border-radius: 50%;
}

/* ---------- Line up ---------- */
.poe-group { display: flex; flex-direction: column; gap: 20px; }
.poe-sub {
  margin: 0; font-family: var(--poe-en-s); font-size: 13px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--poe-ink-2);
  padding-bottom: 8px; border-bottom: 1px solid var(--poe-line);
}
.poe-acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
/* icon (left) beside name + affiliation; the profile runs full width under the icon */
.poe-act {
  --poe-icon: 88px;
  display: grid; grid-template-columns: var(--poe-icon) minmax(0, 1fr);
  column-gap: 16px; row-gap: 0; min-width: 0;
}
.poe-group.is-special .poe-act { --poe-icon: 112px; }
.poe-group.is-local .poe-act { --poe-icon: 72px; }
.poe-act > .poe-name { grid-column: 2; grid-row: 1; align-self: end; }
.poe-act > .poe-aff { grid-column: 2; grid-row: 2; align-self: start; margin-top: 4px; }
.poe-act > .poe-prof { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
.poe-icon {
  grid-column: 1; grid-row: 1 / span 2;
  display: block; width: var(--poe-icon); height: var(--poe-icon); max-width: 100%;
  object-fit: cover; border: 1px solid var(--poe-gold); box-sizing: border-box;
}
/* image constellation behind each Special Guest (same shapes as the flyer back) */
.poe-act.has-const { position: relative; isolation: isolate; }
.poe-act.has-const > :not(.poe-const) { position: relative; z-index: 1; }
.poe-const {
  position: absolute; z-index: 0; top: -12px; right: 0;
  width: min(260px, 70%); height: auto; color: var(--poe-ink); opacity: .18; pointer-events: none;
}
.poe-icon.is-empty { background: var(--poe-bg-2); position: relative; }
.poe-icon.is-empty::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  margin: -4px 0 0 -4px; border: 1px solid var(--poe-gold); border-radius: 50%;
}
.poe-name { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.4; letter-spacing: .04em; }
.poe-name.is-en { font-family: var(--poe-en); font-weight: 600; font-size: 26px; letter-spacing: .01em; }
.poe-group.is-special .poe-name { color: var(--poe-gold); font-size: 30px; }
.poe-group.is-special .poe-name.is-en { font-size: 36px; }
.poe-group.is-local .poe-acts { gap: 20px; }
.poe-group.is-local .poe-name { font-size: 18px; }
.poe-group.is-local .poe-name.is-en { font-size: 22px; }
.poe-aff { margin: 0; font-size: 14px; color: var(--poe-ink-2); }
/* X account under the name/affiliation (2026-10-10). Gold, small, Latin face; underline only on hover */
.poe a.poe-sns { display: block; width: fit-content; margin-top: 2px; font-family: var(--poe-en); font-weight: 600; font-size: 15px; letter-spacing: .02em; font-variant-numeric: lining-nums; color: var(--poe-gold); text-decoration: none; } /* lining-nums: the face's old-style 1/3 read like i/o in handles */
.poe a.poe-sns:hover { color: var(--poe-ink); text-decoration: underline; }
.poe-prof { margin: 4px 0 0; font-size: 15px; line-height: 1.85; color: var(--poe-ink); }
/* Profiles can be hidden all at once until everyone has sent theirs: add "is-names-only" to #lineup */
.is-names-only .poe-prof { display: none; }

@media (min-width: 720px) {
  .poe-group.is-special .poe-acts { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Flyer slideshow (#flyer, 2026-10-10). Modeled on LivePocket's image slider:
   slides glide sideways, the neighbours peek at the edges, swipeable, dots + stop, tap opens a lightbox.
   /poemilias.js adds .is-ready; without it the images simply stack and each link opens the large image. ---------- */
.poe-show { --poe-slide-w: 84%; --poe-slide-gap: 14px; display: flex; flex-direction: column; gap: 12px; width: min(100%, 480px); }
.poe-track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.poe-slide { margin: 0; min-width: 0; }
.poe-slide a { position: relative; display: block; -webkit-user-drag: none; user-select: none; }
.poe-slide img { display: block; width: 100%; height: auto; border: 1px solid var(--poe-line); box-sizing: border-box; }
.poe-slide-zoom { display: none; }
.poe-slide-ctrl { display: none; align-items: center; gap: 4px; }
.poe-show.is-ready .poe-slide-ctrl { display: flex; }
.poe-show.is-ready .poe-viewport { overflow: hidden; touch-action: pan-y; }
.poe-show.is-ready .poe-track { display: flex; gap: var(--poe-slide-gap); transition: transform .3s ease; }
.poe-show.is-ready .poe-track.is-instant { transition: none; }
.poe-show.is-ready .poe-slide { flex: 0 0 var(--poe-slide-w); }
/* 「拡大」 tag in the corner (LivePocket shows an expand icon there) */
.poe-show.is-ready .poe-slide-zoom {
  display: block; position: absolute; right: 8px; bottom: 8px;
  padding: 2px 10px; font-size: 12px; letter-spacing: .08em; line-height: 1.6;
  color: var(--poe-ink); background: rgba(14, 28, 58, .82); border: 1px solid var(--poe-gold);
}
/* square dots (no rounded corners); 32px hit area around a 12px mark */
.poe-slide-dot { position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.poe-slide-dot::before {
  content: ""; position: absolute; left: 10px; top: 10px; width: 12px; height: 12px;
  border: 1px solid var(--poe-gold); box-sizing: border-box;
}
.poe-slide-dot[aria-current="true"]::before { background: var(--poe-gold); }
.poe .poe-slide-pause {
  margin-left: 8px; min-height: 32px; padding: 2px 14px;
  border: 1px solid var(--poe-line); background: none; color: var(--poe-ink-2);
  font: inherit; font-size: 13px; letter-spacing: .06em; line-height: 1.4; cursor: pointer;
}
.poe .poe-slide-pause:hover { color: var(--poe-ink); border-color: var(--poe-ink); }
.poe-slide-dot:focus-visible, .poe .poe-slide-pause:focus-visible { outline: 2px solid var(--poe-gold); outline-offset: 2px; }

/* lightbox (opens over the page; <dialog> gives Esc + focus handling) */
.poe-lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--poe-ink); }
.poe-lb[open] { display: flex; align-items: center; justify-content: center; }
.poe-lb::backdrop { background: rgba(8, 16, 34, .94); }
.poe-lb-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; max-width: 100%; box-sizing: border-box; }
.poe-lb-img {
  display: block; width: auto; height: auto; object-fit: contain;
  max-width: min(100%, 900px); max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px);
  border: 1px solid var(--poe-line);
}
.poe-lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.poe-lb button {
  min-height: 40px; padding: 4px 16px; border: 1px solid var(--poe-ink-2); background: none;
  color: var(--poe-ink); font: inherit; font-size: 14px; letter-spacing: .06em; cursor: pointer;
}
.poe-lb button:hover { color: var(--poe-gold); border-color: var(--poe-gold); }
.poe-lb button:focus-visible { outline: 2px solid var(--poe-gold); outline-offset: 2px; }
.poe-lb-count { margin: 0; min-width: 4em; text-align: center; font-family: var(--poe-en-s); font-variant-numeric: lining-nums tabular-nums; }
html.poe-lb-open { overflow: hidden; }

/* ---------- Rows (ticket / venue) ---------- */
.poe-rows { margin: 0; display: grid; gap: 0; }
.poe-row { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--poe-line); }
.poe-row:first-child { border-top: 1px solid var(--poe-line); }
.poe-row dt { font-size: 14px; color: var(--poe-ink-2); padding-top: 4px; }
.poe-row dd { margin: 0; min-width: 0; }
.poe-row .poe-amount { font-size: 22px; font-variant-numeric: tabular-nums; margin-right: 8px; }
.poe-row .poe-how { display: block; font-size: 14px; color: var(--poe-ink-2); }

.poe-place { font-family: var(--poe-en); font-weight: 600; font-size: 30px; line-height: 1.2; }

.poe-tm { font-size: 12px; line-height: 1.7; color: var(--poe-ink-2); }

/* ---------- Wide screens: key visual left, info right ---------- */
@media (min-width: 900px) {
  .poe .poe-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px 24px 72px; }
  .poe-kv img {
    -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 46%, #000 62%, transparent 100%);
            mask-image: radial-gradient(ellipse 72% 72% at 50% 46%, #000 62%, transparent 100%);
  }
  .poe-info { padding: 0; margin-top: 0; }
}

@media (max-width: 480px) {
  .poe-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .poe .poe-btn { transition: none; }
  .poe-show.is-ready .poe-track { transition: none; }
}
