dialog.draw-invitation {
  box-sizing:border-box; width:min(22rem,calc(100% - 2.5rem)); max-height:85svh; margin:auto;
  padding:20px 24px 22px; text-align:center; border:3px double #d8b469; border-radius:8px;
  background:#101c27f7; color:#fff5db; box-shadow:0 10px 40px #0009;
}
.draw-invitation::backdrop {background:#110e1e80; backdrop-filter:blur(2px);}
.draw-invitation-mark {display:flex;align-items:center;justify-content:center;gap:12px;}
.draw-invitation-mark::before,.draw-invitation-mark::after {content:"";width:32px;border-top:1px solid #af905d;}
.draw-invitation-mark img {width:24px;height:39px;object-fit:contain;border-radius:3px;}
dialog.draw-invitation h2 {margin:10px 0 8px;font:600 24px/1.2 Georgia,serif;color:#ffe4a7;}
dialog.draw-invitation p {margin:0 auto 17px;font:400 16px/1.48 system-ui,sans-serif;color:#fff6e8;}
dialog.draw-invitation .gold-button {min-width:100px;min-height:44px;width:auto;margin:0;padding:.55rem 1.2rem;}
.draw-invitation .gold-button:active {transform:scale(.97);}
.past-introduction .draw-invitation-mark{gap:.45rem;width:fit-content;margin:0 auto 14px}
.past-introduction .draw-invitation-mark::before,.past-introduction .draw-invitation-mark::after{content:none}
.past-introduction .draw-invitation-mark img{width:clamp(34px,12vw,49px);height:auto;aspect-ratio:96/162}
dialog.past-introduction p{max-width:30ch;text-wrap:pretty}
dialog.past-introduction .gold-button{padding:8px 19px;font-size:1rem;line-height:1.25}
.draw-table-demo{margin:.8rem auto 0}
#selection .draw-table-demo{
 inline-size:min(22rem,calc(100% - 2rem));margin:1rem auto max(1.1rem,env(safe-area-inset-bottom,0px));text-align:center;
}
.draw-table-demo summary{
 display:grid;place-items:center;box-sizing:border-box;width:fit-content;max-width:100%;
 min-height:44px;padding:.5rem .9rem;margin:auto;list-style:none;color:#ffe1a5;
 border:0;border-radius:0;background:none;box-shadow:none;text-decoration:none;
 font:500 .92rem/1.3 system-ui,sans-serif;cursor:pointer;text-shadow:0 1px 4px #160f22;
}
.draw-table-demo summary::-webkit-details-marker{display:none}
.draw-table-demo summary:hover{color:#fff1c6}
.draw-table-demo summary:focus-visible{outline:2px solid #ffe4a7;outline-offset:2px;border-radius:4px}
.draw-table-demo video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:6px;background:#101820}
.draw-table-demo video[hidden]{display:none}
dialog.draw-invitation .draw-table-demo p,#selection .draw-table-demo p{margin:8px auto 12px}
dialog.reading-pause{--pause-type:Georgia,'Times New Roman',serif;font-family:var(--pause-type);padding:20px 18px 17px}
.reading-pause .pause-art{display:block;width:100%;max-height:148px;object-fit:cover;border-radius:6px;margin:0 auto 12px}
.reading-pause .pause-art.face{height:clamp(104px,26svh,176px);width:auto;max-width:100%;max-height:none;object-fit:contain}
dialog.reading-pause h2{font:600 22px/1.2 var(--pause-type);margin:0 0 14px;text-wrap:balance}
dialog.reading-pause p{max-width:34ch;text-wrap:pretty}
.pause-chapter,.invitation-account{margin:.65rem auto 0}
:is(.pause-chapter summary,.pause-chapter a,.invitation-account){display:grid;place-items:center;width:fit-content;min-height:44px;margin-inline:auto;padding:0 .6rem;border:1px solid transparent;color:#ffe8b7;font:500 .95rem/1.2 system-ui,sans-serif;text-decoration:none;list-style:none;cursor:pointer}
.pause-chapter summary::-webkit-details-marker{display:none}
:is(.pause-chapter summary,.pause-chapter a,.invitation-account):is(:hover,:focus-visible){border-color:#b49a67;border-radius:20px}
.pause-chapter[open]{padding:.55rem;border:1px solid #514534;border-radius:8px;background:#13121d}
.pause-chapter[open] p{margin:.5rem auto}
@media (prefers-reduced-motion:no-preference) {
  .draw-invitation[open] {animation:draw-arrive .24s ease-out both;}
  @keyframes draw-arrive {from{opacity:0;transform:translateY(7px) scale(.98);}to{opacity:1;transform:none;}}
}
