body { margin:0; }

#ilex-pause {
  min-height:100vh; min-height:100svh; box-sizing:border-box;
  position:relative; isolation:isolate; overflow:hidden; display:grid; place-items:center;
  padding: clamp(54px, 9vw, 100px) 16px clamp(36px, 7vw, 70px);
  background:linear-gradient(143deg,#faeef2 12%,#f3eff0 49%,#e5ede1 100%);
  font-family:Inter,system-ui,sans-serif; color:#51494e;
}
#ilex-pause .notice {
  position:relative; box-sizing:border-box; width:min(100%,450px); padding:100px 22px 24px;
  text-align:center; background:#fff; border:1px solid #eae4e7; border-radius:25px;
  box-shadow:0 18px 40px #513b4916;
}
#ilex-pause h1 { margin:10px 0 12px; font-size:clamp(28px,5vw,39px); line-height:1.06; letter-spacing:-.055em; color:#763251; font-weight:750; }
#ilex-pause .notice-copy { margin:0; font-size:14px; line-height:1.6; }
#ilex-pause .brand { font-size:15px; color:#332c30; letter-spacing:.08em; font-weight:650; }
#ilex-pause .brand span { letter-spacing:.04em; font-weight:450; }
#ilex-pause .legal-open, #ilex-pause .legal-turn, #ilex-pause .legal-close, #ilex-pause .legal-fallback summary {
  font:inherit; cursor:pointer; min-height:44px; color:#703550;
}
#ilex-pause .legal-open, #ilex-pause .legal-turn, #ilex-pause .legal-fallback summary {
  padding:0 14px; border:1px solid #e9d8e0; border-radius:13px;
  background:#faf1f5; font-size:13px; font-weight:600;
}
#ilex-pause .legal-open { margin-top:20px; }
#ilex-pause .legal-fallback { margin-top:20px; }
#ilex-pause .legal-fallback summary { width:fit-content; margin:auto; padding:11px 14px; box-sizing:border-box; }
#ilex-pause .legal-fallback .legal-pages { text-align:left; margin-top:20px; }
#ilex-pause .legal-fallback .legal-page + .legal-page { border-top:1px solid #caa6b6; margin-top:20px; padding-top:14px; }
#ilex-pause .legal-book {
  box-sizing:border-box; width:min(560px,calc(100% - 24px)); height:520px; max-height:calc(100% - 32px);
  border:1px solid #caa6b6; border-left:11px solid #9b5677;
  border-radius:8px 17px 17px 8px; padding:32px 20px 68px;
  background:linear-gradient(90deg,#f0e2d8,#fff9f0 12%);
  color:#51494e; text-align:left; box-shadow:0 4px #ecdbcf,0 7px #b67d99,0 16px 36px #4d243545;
}
#ilex-pause .legal-book::backdrop { background:#48323b55; }
#ilex-pause .legal-close {
  position:absolute; top:0; right:4px; min-width:44px;
  border:0; background:transparent; font-size:24px;
}
#ilex-pause .legal-book[open] { display:flex; flex-direction:column; overflow:hidden; }
#ilex-pause .legal-sheet { flex:1; min-height:0; overflow:auto; scrollbar-gutter:stable; padding:13px 0; }
#ilex-pause .legal-turn { position:absolute; right:20px; bottom:16px; width:140px; }
#ilex-pause .legal-page > h2 { margin:0 0 9px; font:600 26px Georgia,serif; color:#763251; }
#ilex-pause .legal-contents {
  margin:0 0 18px; border:1px solid #e5cdd7; border-radius:10px; background:#faf1f5;
  color:#703550; font-size:.875rem; overflow-wrap:anywhere;
}
#ilex-pause .legal-contents summary { cursor:pointer; padding:12px; font-weight:650; }
#ilex-pause .legal-contents ul { margin:0; padding:0 12px 9px 28px; }
#ilex-pause .legal-contents a { display:block; color:inherit; padding:7px 2px; line-height:1.45; text-underline-offset:2px; }
#ilex-pause .legal-content [tabindex="-1"] { scroll-margin-top:12px; }
#ilex-pause .legal-content { font-size:.875rem; line-height:1.55; overflow-wrap:anywhere; }
#ilex-pause .legal-content h2 { font-size:1.1rem; }
#ilex-pause .legal-content h3 { font-size:1rem; }
#ilex-pause .legal-content p { margin:0 0 .7em; }
#ilex-pause .legal-content a { color:#703550; }
#ilex-pause :focus-visible { outline:2px solid #763251; outline-offset:2px; }
#ilex-pause .legal-sheet:focus-visible { outline-offset:-2px; }
#ilex-pause .visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (min-width:540px) {
  #ilex-pause .legal-contents ul { columns:2; column-gap:24px; }
  #ilex-pause .legal-contents li { break-inside:avoid; }
}
#ilex-pause .scene { position:absolute; left:50%; top:-44px; transform:translateX(-50%); width:232px; height:134px; }
#ilex-pause .floor { position:absolute; inset:auto 2px 3px; height:18px; border-radius:50%; background:#e9dce56e; }
#ilex-pause .server { position:absolute; top:29px; width:42px; height:87px; border-radius:9px; background:#50597a; border-bottom:5px solid #393f5a; box-shadow:inset -6px 0 #414866; padding:12px 7px; box-sizing:border-box; display:grid; gap:5px; }
#ilex-pause .server.left { left:5px; }
#ilex-pause .server.right { right:5px; }
#ilex-pause .server span { position:relative; border-radius:4px; background:repeating-linear-gradient(90deg,#687395 0 2px,#414865 2px 4px) left 5px center / 9px 4px no-repeat,#353c57; }
#ilex-pause .server span::after { content:""; position:absolute; right:5px; top:50%; translate:0 -50%; width:4px; height:4px; border-radius:50%; background:#a5e9bd; }
#ilex-pause .left span:first-child::after,
#ilex-pause .right span:last-child::after {
  background:#ff929a; box-shadow:0 0 5px 1px #ed6b7880;
}
#ilex-pause .right span:first-child::after { animation:ilex-glow 4s ease-in-out infinite; }
#ilex-pause .swing { position:absolute; top:46px; left:41px; width:150px; height:61px; transform-origin:50% 0; animation:ilex-sway 4.7s ease-in-out infinite; }
#ilex-pause .hammock { position:absolute; inset:0; border-bottom:10px solid #af4382; border-radius:0 0 50% 50% / 0 0 100% 100%; box-shadow:0 3px #81305e; }
#ilex-pause .pillow {
  position:absolute; top:16px; left:17px; width:47px; height:26px; rotate:27deg;
  border:1px solid #d9adaf; border-radius:38% 31% 34% 29%;
  background:#fff1df; box-shadow:inset 0 -4px #f1d4cb, 0 2px 3px #76325126;
}
#ilex-pause .pillow::after {
  content:""; position:absolute; inset:4px; border:1px dashed #d7a8a8;
  border-radius:inherit;
}
/* The envelope flap and its stamp stay legible at the actual scene size. */
#ilex-pause .envelope {
  position:absolute; left:35px; top:0; width:77px; height:50px; box-sizing:border-box;
  rotate:-13deg; border:2px solid #80624f; border-radius:5px; overflow:hidden;
  background:#efdbc2; box-shadow:0 2px 2px #543b432b; animation:ilex-breathe 3.2s ease-in-out infinite;
}
#ilex-pause .flap, #ilex-pause .flap::before {
  position:absolute; inset:0;
  clip-path:polygon(0 0,100% 0,100% 8%,52% 72%,48% 72%,0 8%); background:#96755b;
}
#ilex-pause .flap::before {
  content:""; transform:translateY(-2px); background:#fff4df;
}
#ilex-pause .stamp {
  position:absolute; top:4px; right:4px; width:9px; height:11px;
  border:1.5px dashed #744259; background:#d49bae; box-shadow:inset 0 0 0 2px #fbe8eb;
}
#ilex-pause .face { position:absolute; top:6px; left:21px; width:30px; height:17px; color:#533f3e; }
#ilex-pause .face b { position:absolute; top:2px; left:2px; width:7px; height:4px; border-bottom:1.8px solid; border-radius:50%; }
#ilex-pause .face b:nth-child(2) { left:20px; }
#ilex-pause .face em { position:absolute; left:11px; top:8px; width:8px; height:5px; border-bottom:1.8px solid; border-radius:50%; }
#ilex-pause .face::after { content:""; position:absolute; left:0; top:9px; width:5px; height:3px; border-radius:50%; background:#dca0a4; box-shadow:21px 0 #dca0a4; }
#ilex-pause .server span:nth-child(2)::before {
  content:"@"; position:absolute; left:2px; top:50%; transform:translateY(-50%);
  padding:0 2px; color:#d1ebdf; background:#353c57; font:700 11px/1 system-ui,sans-serif;
}
#ilex-pause .glove {
  position:absolute; width:13px; height:11px; background:#fffdf9;
  border:1.4px solid #343238; border-radius:52% 49% 44% 46%;
}
#ilex-pause .glove-rest { left:39px; top:30px; rotate:100deg; }
#ilex-pause .glove-dangle { left:94px; top:47px; rotate:-12deg; }
#ilex-pause .glove span {
  position:absolute; width:4px; height:8px; box-sizing:border-box;
  background:#fffdf9; border:1.2px solid #343238; border-top:0;
  border-radius:0 0 55% 55%; top:7px;
}
#ilex-pause .glove span:nth-child(1) { left:-3px; top:4px; height:6px; rotate:37deg; border-top:1px solid #343238; border-radius:60%; }
#ilex-pause .glove span:nth-child(2) { left:0; rotate:17deg; }
#ilex-pause .glove span:nth-child(3) { left:4px; height:9px; }
#ilex-pause .glove span:nth-child(4) { left:8px; height:7px; rotate:-19deg; }
#ilex-pause .floor-wrench { position:absolute; bottom:3px; left:113px; color:#59667b; rotate:36deg; }
#ilex-pause .floor-wrench svg { display:block; width:19px; height:19px; }
#ilex-pause .sleep { position:absolute; top:14px; left:81px; color:#8f507d; font-weight:650; font-size:15px; animation:ilex-dream 4.8s ease-in-out infinite; }
#ilex-pause .sleep.second { top:2px; left:96px; font-size:19px; animation-delay:-1.1s; }
#ilex-pause .cup { position:absolute; bottom:11px; left:141px; width:16px; height:14px; border-radius:3px 3px 6px 6px; background:#dda2b8; }
#ilex-pause .cup::after { content:""; position:absolute; left:14px; top:2px; width:5px; height:6px; border:2px solid #dda2b8; border-left:0; border-radius:0 5px 5px 0; }
#ilex-pause .tools { position:absolute; inset:0; z-index:-1; color:#fff; pointer-events:none; }
#ilex-pause .tools svg { position:absolute; width:24px; height:24px; opacity:.75; }
#ilex-pause .tools svg:nth-child(1) { top:22%; left:9%; rotate:-30deg; }
#ilex-pause .tools svg:nth-child(2) { top:27%; right:12%; rotate:18deg; }
#ilex-pause .tools svg:nth-child(3) { bottom:14%; right:6%; rotate:15deg; }
#ilex-pause .tools svg:nth-child(4) { bottom:12%; left:13%; }
@keyframes ilex-sway { 0%,100% { transform:scaleY(.94) skewX(-2deg); } 50% { transform:scaleY(1.03) skewX(2deg); } }
@keyframes ilex-breathe { 50% { scale:1 1.05; } }
@keyframes ilex-glow { 50% { box-shadow:0 0 7px 2px #a5e9bd; } }
@keyframes ilex-dream { 0%,100% { opacity:0; transform:translate(-4px,8px); } 40% { opacity:1; } 80% { opacity:0; transform:translate(10px,-13px); } }
@media (prefers-reduced-motion:reduce) { #ilex-pause *, #ilex-pause *::after { animation:none !important; } }
