/* 샤비의 낙원 — pale pink · pearl · glint */
:root{
  --rose:#c96b94; --deep:#b23a6b; --text:#7d5a6c; --pink:#ffe3ee; --pink2:#f4b6d0; --lav:#e6dcfb;
  --pearl:#fffdfe; --hair:rgba(240,178,206,.75);
  --soft:0 18px 50px rgba(240,150,190,.25);
  --sky:repeating-linear-gradient(115deg,transparent 0 140px,rgba(255,255,255,.4) 170px,transparent 215px),
        radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.95),transparent 45%),
        radial-gradient(ellipse at 92% 10%,rgba(230,220,251,.65),transparent 34%),
        radial-gradient(ellipse at 50% 100%,rgba(255,205,226,.7),transparent 55%),
        linear-gradient(170deg,#ffe9f2,#fbd6e6 55%,#f8d2e6);
  --glint:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 34 -22'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;padding:0;overflow-x:hidden;font-family:'Gowun Batang','Song Myung',serif;color:var(--text);
  background:var(--sky);background-attachment:fixed;
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.6 8.4L23 12l-8.4 2.6L12 23l-2.6-8.4L1 12l8.4-2.6z' fill='%23ffb8d6' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 13 13,auto}
::selection{background:var(--lav)}
::-webkit-scrollbar{width:9px}
::-webkit-scrollbar-thumb{background:var(--pink2);border-radius:9px;border:2px solid #fff}
::-webkit-scrollbar-track{background:#fff5f9}

/* 윤슬 — water glints */
body::before,body::after,#entry-screen::before,#entry-screen::after{content:'';position:fixed;inset:0;pointer-events:none;background-image:var(--glint)}
body::before{z-index:-1;background-size:600px;animation:drift 50s linear infinite,twinkle 5s ease-in-out infinite alternate}
body::after{z-index:-1;background-size:380px;animation:drift2 38s linear infinite,twinkle 3.4s ease-in-out infinite alternate-reverse}
#entry-screen::before,#entry-screen::after{position:absolute;z-index:0}
#entry-screen::before{background-size:600px;animation:drift 50s linear infinite,twinkle 5s ease-in-out infinite alternate}
#entry-screen::after{background-size:380px;animation:drift2 38s linear infinite,twinkle 3.4s ease-in-out infinite alternate-reverse}
@keyframes drift{to{background-position:600px 300px}}
@keyframes drift2{to{background-position:-380px 190px}}
@keyframes twinkle{from{opacity:.45}to{opacity:1}}

.bg-star{position:fixed;pointer-events:none;z-index:2;color:#fff;font-size:10px;opacity:0;
  animation:starTwinkle var(--duration) ease-in-out infinite var(--delay);text-shadow:0 0 6px #fff,0 0 14px var(--pink2)}
@keyframes starTwinkle{0%,100%{opacity:0;transform:scale(.6)}50%{opacity:1;transform:scale(1.3)}85%{opacity:0}}
.stars,.falling-hearts{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none}
.stars{z-index:10}.falling-hearts{z-index:5}
.star{position:absolute;font-size:13px;animation:starFall 6s linear infinite}
@keyframes starFall{0%{transform:translateY(-100px) rotate(0);opacity:0}10%,90%{opacity:1}100%{transform:translateY(100vh) rotate(360deg);opacity:0}}
.heart{position:absolute;font-size:16px;animation:fall 8s linear infinite;opacity:.7}
@keyframes fall{0%{transform:translateY(-100px) rotate(0)}100%{transform:translateY(100vh) rotate(360deg);opacity:0}}
.pulse{animation:pulse 3s infinite}
@keyframes pulse{50%{transform:scale(1.03)}}
.glow{animation:none}

/* entry */
#entry-screen{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;z-index:9999;overflow:hidden;background:var(--sky)}
#entry-button{position:relative;z-index:1;font-family:'Song Myung',serif;font-size:21px;letter-spacing:.12em;color:var(--rose);
  background:linear-gradient(#fffefe,#ffeaf3);border:1px solid var(--hair);border-radius:999px;padding:20px 46px;cursor:pointer;
  box-shadow:inset 0 1px 0 #fff,0 0 0 6px rgba(255,255,255,.55),0 0 0 7px var(--hair),0 20px 50px rgba(240,150,190,.45);
  transition:.4s;animation:buttonPulse 4s ease-in-out infinite}
@keyframes buttonPulse{50%{transform:scale(1.04)}}
.btn-truth{display:block;font-size:10px;opacity:0;max-height:0;overflow:hidden;transition:.3s;letter-spacing:2px;color:#ffc2da}
#entry-button:hover .btn-truth{opacity:1;max-height:30px}
#entry-button:hover{background:linear-gradient(45deg,#4a1030,#2a0819,#5a1638)!important;color:#ffc2da!important;border-color:#5a1638;
  box-shadow:0 0 0 6px rgba(74,16,48,.25),0 0 60px rgba(210,40,110,.55)!important}
#entry-button:active{transform:scale(.95)}

/* main */
#main-content{color:var(--text);padding:220px 30px 30px;text-align:center;overflow-x:hidden;position:relative}
.header-image{position:absolute;top:0;left:0;width:100%;height:auto;z-index:800;display:block}
.header-image.mobile{display:none}
#welcome-bubble{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--pearl);color:var(--rose);
  border:1px solid var(--hair);padding:10px 22px;border-radius:999px;box-shadow:var(--soft);
  font-size:13px;cursor:pointer;transition:all 1s;z-index:9999;animation:bounce 3s infinite}
@keyframes bounce{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-6px)}}

.floating-gifs{position:absolute;top:60%;transform:translateY(-70%);z-index:500;display:flex;flex-direction:column;gap:20px}
.floating-gifs.left{left:30px}.floating-gifs.right{right:30px}
.floating-gif{max-width:230px;max-height:200px;width:auto;height:auto;object-fit:contain;border-radius:16px;
  border:5px solid #fff;box-shadow:0 0 0 1px var(--hair),var(--soft);cursor:pointer;transition:.4s;background:#fff}
.floating-gif:hover{transform:scale(1.04)}

.visitor-counter{position:fixed;top:30px;right:30px;background:var(--pearl);color:var(--text);border:1px solid var(--hair);
  padding:9px 20px;border-radius:999px;box-shadow:var(--soft);z-index:1100;font-size:11px;letter-spacing:.1em}
.visitor-counter .count{color:var(--deep);margin:0 5px}
.menu-button{position:fixed;top:30px;left:20px;z-index:1100;background:var(--pearl);color:var(--rose);font-size:17px;
  padding:8px 14px;border:1px solid var(--hair);border-radius:14px;cursor:pointer;box-shadow:var(--soft);transition:.3s}
.menu-button:hover{background:var(--pink)}
.sidebar{position:fixed;top:0;left:-270px;width:250px;height:100%;background:rgba(255,253,254,.94);
  border-right:1px solid var(--hair);box-shadow:8px 0 40px rgba(240,150,190,.25);padding:26px 22px;transition:left .5s;z-index:1000}
.sidebar::after{content:'';position:absolute;top:0;right:-8px;width:8px;height:100%;
  background:radial-gradient(circle at 0 7px,var(--pearl) 0 6px,var(--hair) 6.5px 7.5px,transparent 8px) 0 0/8px 14px repeat-y}
.sidebar.open{left:0}
.sidebar h2{font-family:'Song Myung',serif;font-size:18px;margin:0 0 18px;color:var(--rose);font-weight:normal;letter-spacing:.15em}
.sidebar a{display:block;margin:4px 0;color:var(--text);text-decoration:none;font-size:13px;padding:11px 10px;
  border-bottom:1px solid rgba(240,178,206,.4);transition:.3s;letter-spacing:.05em}
.sidebar a:hover{background:linear-gradient(90deg,var(--pink),transparent);color:var(--deep);padding-left:18px}
.gallery img{width:80px;margin:5px;border-radius:12px;transition:.3s}
.gallery img:hover{transform:scale(1.08)}
.gallery h2{font-size:11px;color:var(--rose)}

/* container = 초대장 */
.container{background:rgba(255,253,254,.9);backdrop-filter:blur(8px);border:1px solid var(--hair);border-radius:28px;padding:25px;
  max-width:700px;margin:80px auto 100px;position:relative;z-index:1;
  box-shadow:0 0 0 6px rgba(255,255,255,.6),0 0 0 7px var(--hair),var(--soft)}
.container::after{content:'';position:absolute;left:24px;right:24px;top:calc(100% + 6px);height:9px;
  background:radial-gradient(circle at 7px 0,var(--pearl) 0 6px,var(--hair) 6.5px 7.5px,transparent 8px) 0 0/14px 9px repeat-x}
.popup-header{background:linear-gradient(90deg,#ffeaf3,#fffafc,#ffeaf3);border-bottom:1px solid var(--hair);border-radius:27px 27px 0 0;
  padding:11px 20px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#e2a6c2;
  position:relative;top:-25px;left:-25px;width:calc(100% + 50px);margin-bottom:-15px;overflow:hidden}
.popup-controls{display:flex;gap:8px}
.popup-btn{background:var(--pearl);color:var(--rose);border:1px solid var(--hair);border-radius:50%;width:22px;height:22px;
  display:flex;justify-content:center;align-items:center;font-size:8px}
h1{font-family:'Song Myung',serif;font-size:34px;margin:0 0 8px;font-weight:normal;letter-spacing:.12em;
  background:linear-gradient(100deg,#c96b94 20%,#f7a9c9 40%,#fff 50%,#f7a9c9 60%,#c96b94 80%);background-size:250% auto;
  -webkit-background-clip:text;background-clip:text;color:transparent;animation:sheen 7s linear infinite;
  filter:drop-shadow(0 2px 6px rgba(240,150,190,.4))}
@keyframes sheen{from{background-position:120% 0}to{background-position:-120% 0}}
.invite{font-size:12px;letter-spacing:.35em;color:var(--rose);margin:0 0 30px;opacity:.85}

.entry{margin:26px 0;padding:24px 22px;border-radius:22px;background:var(--pearl);border:1px solid var(--hair);
  box-shadow:0 0 0 4px rgba(255,255,255,.7),0 0 0 5px rgba(240,178,206,.4),0 10px 30px rgba(240,150,190,.18);
  opacity:0;transform:translateY(40px);transition:all .9s ease;position:relative;overflow:hidden}
.entry::before{content:'';position:absolute;top:0;left:-120%;width:50%;height:100%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.95),transparent);transform:skewX(-20deg)}
.entry:hover::before{animation:shine 1.4s ease}
@keyframes shine{to{left:160%}}
.entry.show{opacity:1;transform:none}
.entry h2{font-family:'Song Myung',serif;font-size:20px;color:var(--rose);margin:0 0 12px;font-weight:normal;letter-spacing:.08em}
.entry h2::after{content:'';display:block;height:1px;margin:10px auto 0;width:150px;background:linear-gradient(90deg,transparent,var(--pink2),transparent)}
.entry p{color:var(--text);line-height:1.9;font-size:14px}
.entry img{max-width:90%;border-radius:16px;margin-top:10px;transition:.4s;border:6px solid #fff;box-shadow:0 0 0 1px var(--hair),0 12px 28px rgba(240,150,190,.3)}
.entry img:hover{transform:scale(1.02)}

.bgm-player,.widget{background:var(--pearl);border:1px solid var(--hair);border-radius:22px;
  box-shadow:0 0 0 4px rgba(255,255,255,.7),0 0 0 5px rgba(240,178,206,.4),0 10px 30px rgba(240,150,190,.18)}
.bgm-player{padding:18px 22px;margin:24px auto;max-width:500px}
.bgm-player h3,.widget h3{margin:0 0 8px;color:var(--rose);font-size:13px;font-weight:normal;letter-spacing:.3em}
.song-title{color:var(--text);font-size:12px;margin-bottom:10px;display:flex;align-items:center;justify-content:center;gap:6px}
.music-note{color:var(--pink2);animation:noteFloat 1.4s ease-in-out infinite}
@keyframes noteFloat{50%{transform:translateY(-3px)}}
.player-controls{display:flex;justify-content:center;gap:14px;margin-top:10px}
.player-btn{background:linear-gradient(#fffefe,#ffeaf3);border:1px solid var(--hair);border-radius:50%;width:40px;height:40px;font-size:11px;cursor:pointer;
  color:var(--rose);display:flex;align-items:center;justify-content:center;transition:.3s;padding:0;box-shadow:inset 0 1px 0 #fff,0 4px 10px rgba(240,150,190,.25)}
.player-btn:hover{background:var(--pink);transform:scale(1.08)}
.widget-container{display:flex;justify-content:center;gap:20px;margin:24px auto;max-width:700px;flex-wrap:wrap}
.widget{padding:18px 28px;min-width:200px}
.widget-content{color:var(--rose);font-size:16px}
.weather-info{font-size:11px;color:var(--text);margin-top:5px;opacity:.7}

.minime{position:fixed;bottom:20px;left:20px;z-index:1000;cursor:pointer;animation:minimiBounce 3s ease-in-out infinite}
@keyframes minimiBounce{50%{transform:translateY(-8px)}}
.minime-character{width:180px;height:180px;background:url('미니샤비.png') center/cover;border-radius:50%;transition:.4s}
.minime-character:hover{transform:scale(1.06) rotate(4deg)}
.minime-bubble{position:absolute;bottom:150px;left:0;background:var(--pearl);border:1px solid var(--hair);border-radius:18px;padding:14px 20px;
  min-width:200px;box-shadow:var(--soft);opacity:0;transform:translateY(10px);transition:.3s;pointer-events:none;color:var(--rose);font-size:12px;line-height:1.7}
.minime-bubble.show{opacity:1;transform:none}

form{margin-top:40px;padding:20px;background:#fff7fa;border-radius:20px;border:1px solid var(--hair)}
textarea{width:90%;height:80px;font-family:'Gowun Batang',serif;font-size:13px;padding:10px;border-radius:14px;border:1px solid var(--hair);
  resize:none;background:#fff;margin-bottom:10px;color:var(--text);transition:.3s}
textarea:focus{outline:none;box-shadow:0 0 0 4px rgba(230,220,251,.7)}
button{font-family:'Gowun Batang',serif;font-size:13px;background:linear-gradient(#fffefe,#ffeaf3);color:var(--rose);border:1px solid var(--hair);
  border-radius:999px;padding:10px 22px;cursor:pointer;transition:.3s;box-shadow:inset 0 1px 0 #fff,0 6px 16px rgba(240,150,190,.22)}
button:hover{background:var(--pink);transform:translateY(-2px)}
.hidden-file-input{display:none}

.footer{background:linear-gradient(#ffeaf3,#fff5f9);padding:46px 20px 40px;text-align:center;margin-top:60px;position:relative}
.footer::before{content:'';position:absolute;left:0;right:0;top:-8px;height:9px;
  background:radial-gradient(circle at 7px 9px,#ffeaf3 0 7px,transparent 7.5px) 0 0/14px 9px repeat-x}
.footer h2{color:var(--rose)!important;font-family:'Song Myung',serif;font-weight:normal;letter-spacing:.3em}
.footer-icons{display:flex;justify-content:center;gap:18px;margin:20px 0;flex-wrap:wrap}
.footer-icon{width:48px;height:48px;background:var(--pearl);border:1px solid var(--hair);border-radius:50%;display:flex;
  align-items:center;justify-content:center;font-size:17px;transition:.3s;cursor:pointer;text-decoration:none;box-shadow:0 6px 14px rgba(240,150,190,.25)}
.footer-icon:hover{transform:translateY(-3px);background:var(--pink)}
.copyright{color:var(--text);font-size:11px;margin-top:20px;line-height:1.9;letter-spacing:.06em}

.click-particle{position:fixed;pointer-events:none;font-size:13px;z-index:9999;animation:particleExplode 1s ease-out forwards}
@keyframes particleExplode{0%{opacity:1;transform:scale(0)}50%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(.8) translateY(-50px)}}

@media (max-width:1024px){
  .floating-gifs,.floating-gifs.left,.floating-gifs.right{position:relative;top:auto;left:auto;right:auto;transform:none;
    flex-direction:row;justify-content:center;margin:20px 0;flex-wrap:wrap}
  .floating-gif{width:200px;height:100px}
}
@media (max-width:767px){
  .header-image{display:none}.header-image.mobile{display:block;max-height:150px}
  #main-content{padding:70px 14px 30px}
  .visitor-counter{top:80px;right:10px;font-size:8px;padding:8px 12px}
  .minime,.floating-gifs,.stars,.falling-hearts{display:none}
  h1{font-size:27px}
}

:root{--flower:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cdefs%3E%3ClinearGradient id='pa' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23e6dcff' stop-opacity='.88'/%3E%3Cstop offset='1' stop-color='%23b4a0f2' stop-opacity='.94'/%3E%3C/linearGradient%3E%3ClinearGradient id='pb' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23ffe5f0' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23f1a8c8' stop-opacity='.94'/%3E%3C/linearGradient%3E%3CradialGradient id='cc' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23d9c9ff'/%3E%3Cstop offset='1' stop-color='%239c80e6'/%3E%3C/radialGradient%3E%3CradialGradient id='cp' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23ffd3e6'/%3E%3Cstop offset='1' stop-color='%23e98cb5'/%3E%3C/radialGradient%3E%3ClinearGradient id='gm' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23dccfff'/%3E%3Cstop offset='1' stop-color='%23a48af0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(40 40) scale(1)'%3E%3Cg transform='rotate(0)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(72)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(144)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(216)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(288)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Ccircle r='8.5' fill='url(%23cc)' stroke='%23fff' stroke-width='1.6'/%3E%3Ccircle cx='-2.6' cy='-3' r='2.2' fill='%23fff' fill-opacity='.95'/%3E%3Ccircle cx='2.5' cy='2.8' r='1' fill='%23fff' fill-opacity='.7'/%3E%3C/g%3E%3C/svg%3E");--flower2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cdefs%3E%3ClinearGradient id='pa' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23e6dcff' stop-opacity='.88'/%3E%3Cstop offset='1' stop-color='%23b4a0f2' stop-opacity='.94'/%3E%3C/linearGradient%3E%3ClinearGradient id='pb' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23ffe5f0' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23f1a8c8' stop-opacity='.94'/%3E%3C/linearGradient%3E%3CradialGradient id='cc' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23d9c9ff'/%3E%3Cstop offset='1' stop-color='%239c80e6'/%3E%3C/radialGradient%3E%3CradialGradient id='cp' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23ffd3e6'/%3E%3Cstop offset='1' stop-color='%23e98cb5'/%3E%3C/radialGradient%3E%3ClinearGradient id='gm' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23dccfff'/%3E%3Cstop offset='1' stop-color='%23a48af0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(40 40) scale(1)'%3E%3Cg transform='rotate(0)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(72)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(144)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(216)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(288)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Ccircle r='8.5' fill='url(%23cp)' stroke='%23fff' stroke-width='1.6'/%3E%3Ccircle cx='-2.6' cy='-3' r='2.2' fill='%23fff' fill-opacity='.95'/%3E%3Ccircle cx='2.5' cy='2.8' r='1' fill='%23fff' fill-opacity='.7'/%3E%3C/g%3E%3C/svg%3E");--gem:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cdefs%3E%3ClinearGradient id='pa' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23e6dcff' stop-opacity='.88'/%3E%3Cstop offset='1' stop-color='%23b4a0f2' stop-opacity='.94'/%3E%3C/linearGradient%3E%3ClinearGradient id='pb' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23ffe5f0' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23f1a8c8' stop-opacity='.94'/%3E%3C/linearGradient%3E%3CradialGradient id='cc' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23d9c9ff'/%3E%3Cstop offset='1' stop-color='%239c80e6'/%3E%3C/radialGradient%3E%3CradialGradient id='cp' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23ffd3e6'/%3E%3Cstop offset='1' stop-color='%23e98cb5'/%3E%3C/radialGradient%3E%3ClinearGradient id='gm' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23dccfff'/%3E%3Cstop offset='1' stop-color='%23a48af0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(22 23) scale(0.95)'%3E%3Cpath d='M0 -22 L16 -8 L10 18 L-10 18 L-16 -8 Z' fill='url(%23gm)' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-16 -8 L16 -8 M-6 -8 L0 18 L6 -8 M0 -22 L-6 -8 M0 -22 L6 -8' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='1'/%3E%3Cpath d='M-9 -10 L-4 -17' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");--spark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='pa' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23e6dcff' stop-opacity='.88'/%3E%3Cstop offset='1' stop-color='%23b4a0f2' stop-opacity='.94'/%3E%3C/linearGradient%3E%3ClinearGradient id='pb' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23ffe5f0' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23f1a8c8' stop-opacity='.94'/%3E%3C/linearGradient%3E%3CradialGradient id='cc' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23d9c9ff'/%3E%3Cstop offset='1' stop-color='%239c80e6'/%3E%3C/radialGradient%3E%3CradialGradient id='cp' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23ffd3e6'/%3E%3Cstop offset='1' stop-color='%23e98cb5'/%3E%3C/radialGradient%3E%3ClinearGradient id='gm' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23dccfff'/%3E%3Cstop offset='1' stop-color='%23a48af0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(16 16) scale(1)'%3E%3Cpath d='M0 -14 C 2 -4 4 -2 14 0 C 4 2 2 4 0 14 C -2 4 -4 2 -14 0 C -4 -2 -2 -4 0 -14 Z' fill='%23fff' stroke='%23d3c3ff' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");--cluster:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 120'%3E%3Cdefs%3E%3ClinearGradient id='pa' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23e6dcff' stop-opacity='.88'/%3E%3Cstop offset='1' stop-color='%23b4a0f2' stop-opacity='.94'/%3E%3C/linearGradient%3E%3ClinearGradient id='pb' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.96'/%3E%3Cstop offset='.5' stop-color='%23ffe5f0' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23f1a8c8' stop-opacity='.94'/%3E%3C/linearGradient%3E%3CradialGradient id='cc' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23d9c9ff'/%3E%3Cstop offset='1' stop-color='%239c80e6'/%3E%3C/radialGradient%3E%3CradialGradient id='cp' cx='.35' cy='.3' r='.85'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23ffd3e6'/%3E%3Cstop offset='1' stop-color='%23e98cb5'/%3E%3C/radialGradient%3E%3ClinearGradient id='gm' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23dccfff'/%3E%3Cstop offset='1' stop-color='%23a48af0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(60 64) scale(1.0)'%3E%3Cg transform='rotate(0)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(72)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(144)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(216)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(288)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pa)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Ccircle r='8.5' fill='url(%23cc)' stroke='%23fff' stroke-width='1.6'/%3E%3Ccircle cx='-2.6' cy='-3' r='2.2' fill='%23fff' fill-opacity='.95'/%3E%3Ccircle cx='2.5' cy='2.8' r='1' fill='%23fff' fill-opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(124 34) scale(0.55)'%3E%3Cg transform='rotate(0)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(72)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(144)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(216)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='rotate(288)'%3E%3Cpath d='M0 -7 C 11 -14 13 -31 0 -38 C -13 -31 -11 -14 0 -7 Z' fill='url(%23pb)' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M0 -10 L0 -33' stroke='%23fff' stroke-opacity='.65' stroke-width='.9'/%3E%3Cpath d='M-3.5 -16 C -5.5 -23 -4 -29 -.5 -33' fill='none' stroke='%23fff' stroke-opacity='.95' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Ccircle r='8.5' fill='url(%23cp)' stroke='%23fff' stroke-width='1.6'/%3E%3Ccircle cx='-2.6' cy='-3' r='2.2' fill='%23fff' fill-opacity='.95'/%3E%3Ccircle cx='2.5' cy='2.8' r='1' fill='%23fff' fill-opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(130 88) scale(0.8)'%3E%3Cpath d='M0 -22 L16 -8 L10 18 L-10 18 L-16 -8 Z' fill='url(%23gm)' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-16 -8 L16 -8 M-6 -8 L0 18 L6 -8 M0 -22 L-6 -8 M0 -22 L6 -8' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='1'/%3E%3Cpath d='M-9 -10 L-4 -17' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(152 60) scale(0.8)'%3E%3Cpath d='M0 -14 C 2 -4 4 -2 14 0 C 4 2 2 4 0 14 C -2 4 -4 2 -14 0 C -4 -2 -2 -4 0 -14 Z' fill='%23fff' stroke='%23d3c3ff' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate(18 20) scale(0.7)'%3E%3Cpath d='M0 -14 C 2 -4 4 -2 14 0 C 4 2 2 4 0 14 C -2 4 -4 2 -14 0 C -4 -2 -2 -4 0 -14 Z' fill='%23fff' stroke='%23d3c3ff' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate(24 104) scale(0.5)'%3E%3Cpath d='M0 -22 L16 -8 L10 18 L-10 18 L-16 -8 Z' fill='url(%23gm)' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M-16 -8 L16 -8 M-6 -8 L0 18 L6 -8 M0 -22 L-6 -8 M0 -22 L6 -8' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='1'/%3E%3Cpath d='M-9 -10 L-4 -17' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E")}

/* ===== 크리스탈 장식 — 유리 · 연보라 보석 · 수정 꽃 ===== */
@keyframes gemFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(2.5deg)}}
@keyframes gemTwirl{0%,100%{transform:rotate(-7deg) scale(1)}50%{transform:rotate(9deg) scale(1.1)}}
.container::before{content:'';position:absolute;left:-14px;top:-40px;width:128px;height:90px;z-index:4;pointer-events:none;
  background:var(--cluster) center/contain no-repeat;filter:drop-shadow(0 6px 8px rgba(165,135,240,.45));animation:gemFloat 7s ease-in-out infinite}
.popup-header{padding-left:112px}
.entry{background:var(--gem) left 12px bottom 12px/22px 22px no-repeat,var(--pearl)}
.entry::after{content:'';position:absolute;right:12px;top:12px;width:38px;height:38px;background:var(--flower) center/contain no-repeat;
  pointer-events:none;filter:drop-shadow(0 3px 4px rgba(165,135,240,.4));animation:gemTwirl 8s ease-in-out infinite}
.bgm-player,.widget{position:relative}
.bgm-player::after,.widget::after{content:'';position:absolute;right:-12px;top:-14px;width:44px;height:44px;background:var(--flower) center/contain no-repeat;
  pointer-events:none;filter:drop-shadow(0 3px 5px rgba(165,135,240,.45));animation:gemTwirl 9s ease-in-out infinite}
.widget::after{width:38px;height:38px;right:-10px;top:-12px;background-image:var(--flower2)}
.bgm-player::before{content:'';position:absolute;left:-10px;bottom:-10px;width:26px;height:26px;background:var(--gem) center/contain no-repeat;
  pointer-events:none;filter:drop-shadow(0 3px 4px rgba(165,135,240,.45))}
.sidebar::before{content:'';position:absolute;right:16px;top:16px;width:46px;height:46px;background:var(--flower) center/contain no-repeat;
  pointer-events:none;filter:drop-shadow(0 3px 4px rgba(165,135,240,.4));animation:gemTwirl 8s ease-in-out infinite}
.visitor-counter::before{content:'';position:absolute;left:-12px;top:-12px;width:26px;height:26px;background:var(--spark) center/contain no-repeat;
  pointer-events:none;filter:drop-shadow(0 0 6px rgba(190,160,255,.85));animation:gemTwirl 4s ease-in-out infinite}
.menu-button{position:fixed}
.menu-button::after{content:'';position:absolute;right:-9px;top:-9px;width:24px;height:24px;background:var(--gem) center/contain no-repeat;
  pointer-events:none;filter:drop-shadow(0 2px 3px rgba(165,135,240,.5))}
.invite::before,.invite::after{content:'';display:inline-block;width:20px;height:20px;vertical-align:-5px;margin:0 10px;
  background:var(--flower2) center/contain no-repeat;filter:drop-shadow(0 2px 3px rgba(165,135,240,.4))}
.invite::after{background-image:var(--flower)}
.footer h2::before,.footer h2::after{content:'';display:inline-block;width:30px;height:30px;vertical-align:middle;margin:0 12px;
  background:var(--flower2) center/contain no-repeat;filter:drop-shadow(0 3px 4px rgba(165,135,240,.4))}
.footer h2::after{background-image:var(--flower)}
#entry-button::before,#entry-button::after{content:'';position:absolute;pointer-events:none;background:var(--flower) center/contain no-repeat;
  filter:drop-shadow(0 4px 6px rgba(165,135,240,.5));animation:gemTwirl 7s ease-in-out infinite}
#entry-button::before{left:-24px;top:-26px;width:58px;height:58px}
#entry-button::after{right:-20px;bottom:-24px;width:48px;height:48px;background-image:var(--flower2);animation-delay:-3s}
@media (max-width:767px){
  .container::before{left:-6px;top:-32px;width:104px;height:74px}
  .popup-header{padding-left:92px}
}

/* ===== eggs: 낙원의 주인 샤비 — 핑크 큐트고어 ===== */
#shabi-note{position:fixed;left:50%;bottom:24px;transform:translate(-50%,26px) scale(.97);width:min(92vw,440px);z-index:10005;pointer-events:none;
  background:linear-gradient(#fffefe,#ffeef6);color:#7b3556;text-align:center;font-size:14px;line-height:1.9;padding:22px 26px 18px;
  border:1px solid var(--hair);border-radius:22px;opacity:0;transition:opacity .5s,transform .5s;
  box-shadow:0 0 0 5px rgba(255,255,255,.85),0 0 0 6px rgba(255,120,170,.5),0 20px 60px rgba(160,20,80,.35)}
#shabi-note.show{opacity:1;transform:translate(-50%,0) scale(1)}
#shabi-note::before{content:'';position:absolute;left:-14px;top:-20px;width:46px;height:46px;background:var(--flower) center/contain no-repeat;
  filter:drop-shadow(0 3px 5px rgba(165,135,240,.5))}
#shabi-note small{display:block;font-size:10px;letter-spacing:.4em;color:#e0407f;margin-bottom:6px}
#shabi-note b{color:#c2185b;font-weight:normal;background:linear-gradient(transparent 62%,rgba(255,150,190,.45) 62%)}
#shabi-note.scary{border-color:rgba(190,20,60,.55);box-shadow:0 0 0 5px rgba(255,255,255,.85),0 0 0 6px rgba(190,20,60,.65),0 20px 60px rgba(120,0,30,.5)}
#shabi-note.scary.show{animation:noteShake .5s}
#shabi-note.scary::after{content:'';position:absolute;left:34px;bottom:-24px;width:8px;height:26px;border-radius:0 0 50% 50%;
  background:linear-gradient(90deg,#6a0818,#c2142f 50%,#7a0a20);box-shadow:0 8px 0 -1px #a50f29}
@keyframes noteShake{20%{transform:translate(calc(-50% - 5px),0)}40%{transform:translate(calc(-50% + 5px),0)}60%{transform:translate(calc(-50% - 3px),0)}80%{transform:translate(calc(-50% + 3px),0)}}
#idle-veil{position:fixed;inset:0;z-index:9980;pointer-events:none;opacity:0;transition:opacity 4s;
  background:radial-gradient(ellipse at center,transparent 38%,rgba(120,6,30,.55) 100%)}
#idle-veil.on{opacity:1}
#syrup{position:fixed;inset:0;z-index:9985;pointer-events:none;overflow:hidden}
.drip{position:absolute;top:-4px;height:0;background:linear-gradient(90deg,#5a0614,#c2142f 45%,#7a0a20);border-radius:0 0 50% 50%;
  box-shadow:inset 1px 0 0 rgba(255,170,190,.35);animation:dripDown 4.6s ease-in forwards}
.drip::after{content:'';position:absolute;bottom:-7px;left:50%;width:170%;aspect-ratio:1;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#ff7a96 0 12%,#c2142f 42%,#6a0818 100%)}
@keyframes dripDown{0%{height:0;opacity:1}45%{height:var(--h);opacity:1}80%{height:var(--h);opacity:1}100%{height:var(--h);opacity:0;transform:translateY(40px)}}
.bdrop{position:fixed;width:13px;height:17px;border-radius:50% 50% 50% 50%/62% 62% 38% 38%;z-index:9986;pointer-events:none;
  background:radial-gradient(circle at 35% 30%,#ff7a96 0 14%,#c2142f 45%,#6a0818 100%);animation:bdropFall 1.7s ease-in forwards}
@keyframes bdropFall{0%{transform:translateY(0) scale(.6)}20%{transform:translateY(4px) scale(1)}100%{transform:translateY(110px) scale(.9);opacity:0}}

/* 브라운관 */
#crt{position:fixed;inset:0;z-index:10010;display:none;background:#0a070b}
#crt.show{display:block;animation:crtOn .8s steps(10,end) both}
#crt.off{animation:crtOff .42s steps(6,end) forwards}
@keyframes crtOn{0%{clip-path:inset(49.5% 0 49.5% 0);filter:brightness(5) contrast(2)}35%{clip-path:inset(0);filter:brightness(2.4)}100%{clip-path:inset(0);filter:none}}
@keyframes crtOff{0%{clip-path:inset(0);filter:none}60%{clip-path:inset(48% 0 48% 0);filter:brightness(3)}100%{clip-path:inset(50% 49% 50% 49%);filter:brightness(6);opacity:0}}
.crt-screen{position:absolute;inset:2.2vmin;border-radius:5vmin/6vmin;overflow:hidden;
  background:radial-gradient(ellipse at 50% 40%,#2a0d18 0,#12050b 55%,#050205 100%);
  box-shadow:inset 0 0 9vmin 2vmin #000,inset 0 0 3vmin rgba(255,60,110,.28)}
#crt-organs{position:absolute;inset:0;width:100%;height:100%;image-rendering:crisp-edges;image-rendering:pixelated;opacity:.88}
#crt[data-mode="file"] #crt-organs{opacity:.55}
#crt-blood{position:absolute;inset:0}
#crt-blood svg{width:100%;height:100%;display:block}
#crt-drips{position:absolute;inset:0;overflow:hidden}
.cdrip{position:absolute;top:-6px;width:var(--w);height:0;background:linear-gradient(90deg,#4a0510,#c2142f 45%,#6a0818);border-radius:0 0 50% 50%;
  box-shadow:inset 1px 0 0 rgba(255,170,190,.35);animation:cdrip var(--t) cubic-bezier(.3,.1,.6,1) forwards}
.cdrip::after{content:'';position:absolute;bottom:-.55em;left:50%;width:170%;aspect-ratio:1;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#ff7a96 0 12%,#c2142f 40%,#6a0818 100%)}
@keyframes cdrip{to{height:var(--h)}}
.crt-hud{position:absolute;z-index:5;font-family:'Courier New',monospace;font-size:clamp(11px,2.6vmin,18px);letter-spacing:.12em;color:#ffd7e4;
  text-shadow:-1px 0 rgba(255,0,70,.8),1px 0 rgba(0,255,255,.5);opacity:.9}
.crt-hud.tl{top:5%;left:6%}.crt-hud.tr{top:5%;right:6%}.crt-hud.bl{bottom:5%;left:6%}.crt-hud.br{bottom:5%;right:6%}
.crt-hud i{display:inline-block;width:.8em;height:.8em;border-radius:50%;background:#ff1744;margin-right:.5em;animation:recBlink 1.1s steps(1) infinite}
@keyframes recBlink{50%{opacity:0}}
#crt-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(90%,560px);max-height:68%;overflow:hidden;z-index:6;
  text-align:left;font-size:clamp(13px,3.3vmin,19px);line-height:1.95;color:#ffd0df;
  text-shadow:-1.5px 0 rgba(255,0,70,.75),1.5px 0 rgba(0,240,255,.45),0 0 8px rgba(255,90,140,.55);animation:crtJitter 3.5s steps(1) infinite}
#crt[data-mode="shabi"] #crt-text{text-align:center}
@keyframes crtJitter{0%,92%,100%{transform:translate(-50%,-50%)}93%{transform:translate(calc(-50% + 4px),-50%) skewX(3deg)}95%{transform:translate(calc(-50% - 5px),calc(-50% + 1px))}97%{transform:translate(-50%,-50%) skewX(-4deg)}}
.crt-line{display:table;background:rgba(8,2,6,.74);padding:0 .55em;margin:3px 0;white-space:pre-wrap;min-height:1.95em}
#crt[data-mode="shabi"] .crt-line{margin:6px auto}
.crt-line:last-child::after{content:'▮';margin-left:.2em;animation:recBlink 1s steps(1) infinite}
.crt-line.head{color:#ff9ab8;letter-spacing:.14em}
.crt-line.pink{color:#ffb6d2}
.crt-line.red{color:#ff2a55}
.crt-line.big{font-size:1.9em;color:#ff4f81;letter-spacing:.1em;line-height:1.5;animation:glitchText .7s steps(2) infinite}
@keyframes glitchText{0%{transform:translate(0)}50%{transform:translate(2px,-1px);text-shadow:-3px 0 rgba(255,0,70,.9),3px 0 rgba(0,255,255,.6)}100%{transform:translate(-2px,1px)}}
#crt-close{position:absolute;left:50%;bottom:10%;transform:translateX(-50%);z-index:9;opacity:0;pointer-events:none;transition:opacity .6s;
  font-family:'Gowun Batang',serif;background:rgba(8,2,6,.78);color:#ff9ab8;border:1px solid #ff3d71;border-radius:2px;padding:10px 20px;
  letter-spacing:.12em;box-shadow:0 0 14px rgba(255,61,113,.4)}
#crt-close.ready{opacity:1;pointer-events:auto}
#crt-close:hover{background:#ff3d71;color:#12050b;transform:translateX(-50%)}
.crt-fx{position:absolute;inset:0;pointer-events:none;z-index:8}
.crt-fx.scan{background:repeating-linear-gradient(0deg,rgba(0,0,0,.32) 0 1px,transparent 1px 3px);mix-blend-mode:multiply;animation:scanFlicker .12s steps(2) infinite}
@keyframes scanFlicker{50%{opacity:.82}}
.crt-fx.noise{opacity:.13;animation:noiseMove .35s steps(1) infinite;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='1' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 2 0 0 0 -.85'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E")}
#crt[data-mode="shabi"] .crt-fx.noise{opacity:.24}
@keyframes noiseMove{0%{background-position:0 0}25%{background-position:-60px 40px}50%{background-position:30px -80px}75%{background-position:-90px -20px}}
.crt-fx.roll{bottom:auto;top:-25%;height:22%;background:linear-gradient(transparent,rgba(255,120,160,.08) 50%,transparent);animation:crtRoll 6.5s linear infinite}
@keyframes crtRoll{to{top:110%}}
.crt-fx.vig{background:radial-gradient(ellipse at center,transparent 52%,rgba(0,0,0,.7) 100%)}
.crt-fx.glass{background:radial-gradient(ellipse at 22% 12%,rgba(255,255,255,.14),transparent 38%),linear-gradient(160deg,rgba(255,255,255,.05),transparent 30%)}
@media (prefers-reduced-motion:reduce){
  .crt-fx.scan,.crt-fx.noise,.crt-fx.roll,#crt-text,.crt-line.big{animation:none!important}
  #crt.show{animation:none}
}
