*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#ecebea;color:#222;font-family:"Noto Sans KR",sans-serif;background-image:radial-gradient(#d0cecc 1px,transparent 1px);background-size:22px 22px;overflow-x:hidden}.topbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 4vw;background:rgba(250,250,250,.94);backdrop-filter:blur(14px);border-bottom:1px solid #d4d4d4}.brand{text-decoration:none;color:#222;font-family:"Gaegu";font-size:25px;font-weight:700;white-space:nowrap}.topbar nav{display:flex;gap:5px}.topbar nav a{padding:10px 12px;border-radius:999px;text-decoration:none;color:#333;font-size:13px;font-weight:700}.topbar nav a.active,.topbar nav a:hover{background:#222;color:#fff}.top-actions{display:flex;align-items:center;gap:8px}.live-badge,.soop-btn{padding:10px 13px;border-radius:999px;text-decoration:none;font-size:12px;font-weight:800}.live-badge{border:1px solid #ccc;background:#fff;color:#777}.live-badge.online{color:#e34b65;border-color:#eea7b4}.soop-btn{background:#222;color:#fff}.menu-btn{display:none;border:0;border-radius:12px;background:#222;color:#fff;padding:8px 11px;font-size:18px}main{width:min(1160px,92vw);margin:34px auto 110px}.page-card{position:relative;background:#fafafa;border:1px solid #d2d2d2;border-radius:32px;padding:38px;box-shadow:0 14px 36px rgba(0,0,0,.07);overflow:hidden}.hero{min-height:600px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:30px}.eyebrow{font-family:"Gaegu";font-size:21px}.hero h1{font-family:"Gaegu";font-size:76px;line-height:.95;margin:12px 0 18px}.hero-text{font-size:17px;color:#666;line-height:1.8}.hero-buttons{display:flex;gap:12px;margin-top:27px}.btn{padding:14px 20px;border-radius:999px;text-decoration:none;font-weight:800}.btn-dark{background:#222;color:#fff}.btn-light{border:1px solid #aaa;color:#222;background:#fff}.polaroid-area{position:relative;display:grid;place-items:center;min-height:500px;overflow:visible}.polaroid{width:min(350px,75vw);padding:16px 16px 52px;background:#fff;border:1px solid #ccc;box-shadow:0 18px 30px rgba(0,0,0,.14);transform:rotate(3deg)}.polaroid>img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#ddd}.polaroid p{text-align:center;font-family:"Gaegu";font-size:24px;margin:14px 0 -32px}.mascot-hero{position:absolute;width:200px;right:-18px;bottom:-16px;z-index:6;object-fit:contain;filter:drop-shadow(0 10px 10px rgba(0,0,0,.16));animation:float 3.8s ease-in-out infinite}@keyframes float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(1deg)}}.tape{position:absolute;width:120px;height:28px;background:rgba(190,190,190,.65);top:22px}.tape.l{left:50px;transform:rotate(-5deg)}.tape.r{right:80px;transform:rotate(6deg)}.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.mini-card{min-height:280px}.section-title{display:flex;align-items:center;gap:14px;margin-bottom:22px}.section-title .num{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#222;color:#fff;font-family:"Gaegu";font-size:22px}.section-title p{margin:0;font-size:11px;letter-spacing:2px;color:#777}.section-title h1,.section-title h2{margin:2px 0 0;font-size:32px}.memo{background:#2c2c2c;color:#fff}.memo p{color:#d4d4d4;line-height:1.8}.profile-layout{display:grid;grid-template-columns:320px 1fr;gap:36px;align-items:center}.profile-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:28px;background:#ddd}.profile-info h2{font-family:"Gaegu";font-size:58px;margin:0}.profile-info>p{line-height:1.9;color:#666}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.info-box{background:#ededed;border-radius:18px;padding:15px}.info-box small{display:block;color:#777;font-size:10px}.info-box strong{display:block;margin-top:5px}.notice-list,.schedule-list,.debt-list{display:grid;gap:12px}.notice-item{padding:20px;border-radius:20px;background:#ededed;border:1px solid #ddd}.notice-thumb{width:100%;max-height:320px;object-fit:cover;border-radius:16px;margin-bottom:12px}.notice-head{display:flex;justify-content:space-between;gap:20px}.notice-head span{font-size:12px;color:#777}.notice-item p{margin:10px 0 0;color:#666;line-height:1.7}.schedule-list{grid-template-columns:repeat(2,1fr)}.schedule-item{display:grid;grid-template-columns:75px 90px 1fr;align-items:center;gap:16px;padding:19px;background:#ededed;border-radius:20px}.schedule-item strong{font-family:"Gaegu";font-size:24px}.schedule-item .time{font-size:13px;color:#777}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.gallery-item{background:#fff;padding:12px 12px 38px;border:1px solid #ccc;box-shadow:0 9px 18px rgba(0,0,0,.08);transform:rotate(var(--rot))}.gallery-item img{width:100%;aspect-ratio:1;object-fit:cover}.gallery-item p{text-align:center;font-family:"Gaegu";font-size:22px;margin:10px 0 -24px}.gallery-item figcaption{text-align:center;color:#777;font-size:12px;margin-top:28px}.debt-item{display:grid;grid-template-columns:48px 150px 1fr 120px;gap:14px;align-items:center;padding:18px 20px;border-radius:20px;background:#ededed;border:1px solid #ddd}.debt-item.done{opacity:.56}.debt-item.done .debt-content{text-decoration:line-through}.debt-check{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#222;color:#fff}.empty{padding:44px;text-align:center;background:#eee;border-radius:20px;color:#777}.bgm-player{position:fixed;z-index:40;left:50%;bottom:18px;transform:translateX(-50%);width:min(720px,92vw);display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;padding:12px 16px;border:1px solid #bbb;border-radius:999px;background:rgba(250,250,250,.95);box-shadow:0 10px 30px rgba(0,0,0,.12)}.bgm-player button{border:0;width:40px;height:40px;border-radius:50%;background:#222;color:#fff}.bgm-meta{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:center}.bgm-meta input{width:100%}footer{padding:42px 5vw 90px;background:#222;color:#ccc;text-align:center}footer a{color:#fff}.heart-particle{position:fixed;pointer-events:none;z-index:999;font-family:"Gaegu";animation:hfloat 1.1s ease-out forwards}@keyframes hfloat{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}20%{opacity:.8}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% - 70px)) scale(1.2) rotate(var(--rot))}}.fresh-badge{position:fixed;right:14px;bottom:90px;padding:8px 12px;background:#222;color:#fff;border-radius:999px;font-size:11px;opacity:0;transition:.25s}.fresh-badge.show{opacity:1}.particles-off .heart-particle{display:none!important}@media(max-width:900px){.menu-btn{display:block}.topbar{flex-wrap:wrap}.topbar nav{display:none;width:100%;order:5;grid-template-columns:repeat(2,1fr)}.topbar nav.open{display:grid}.hero,.home-grid,.profile-layout{grid-template-columns:1fr}.schedule-list{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr)}.mascot-hero{width:160px;right:0}.info-grid{grid-template-columns:1fr 1fr}}@media(max-width:580px){.page-card{padding:24px;border-radius:24px}.hero h1{font-size:52px}.hero-buttons{flex-direction:column}.mascot-hero{width:125px;right:-6px;bottom:0}.gallery-grid{grid-template-columns:1fr 1fr;gap:13px}.schedule-item{grid-template-columns:55px 70px 1fr;padding:14px;gap:9px}.debt-item{grid-template-columns:42px 1fr}.debt-item .date,.debt-item .nickname{grid-column:2}.bgm-meta{grid-template-columns:1fr}.bgm-meta input{display:none}.info-grid{grid-template-columns:1fr}.soop-btn{display:none}}
.memo{background:#2c2c2c!important;color:#fff!important}.memo .section-title p,.memo .section-title h2,.memo #memoLabel,.memo #memoTitle{color:#fff!important;opacity:1!important}.memo #memoText,.memo>p{color:#ddd!important;opacity:1!important}

/* V17: 모든 사용자 입력 줄바꿈 유지 */
#eyebrow,
#homeTitle,
#homeDescription,
#heroCaption,
#latestLabel,
#latestTitle,
#memoLabel,
#memoTitle,
#memoText,
#profileLabel,
#profileTitle,
#profileName,
#profileIntro,
#profileBirthday,
#profileFandom,
#profileLiveTime,
#noticeLabel,
#noticeTitle,
#scheduleLabel,
#scheduleTitle,
#galleryLabel,
#galleryTitle,
#debtLabel,
#debtTitle,
#footerText,
.notice-head strong,
.notice-head span,
.notice-item p,
.schedule-item strong,
.schedule-item .time,
.schedule-item > span:last-child,
.gallery-item p,
.gallery-item figcaption,
.debt-item .nickname,
.debt-item .debt-content,
.debt-item .date,
.empty {
  white-space: pre-wrap !important;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

/* 여러 줄 제목에서도 간격이 자연스럽게 보이도록 */
#homeTitle,
.section-title h1,
.section-title h2,
#memoTitle,
#profileName {
  line-height: 1.16;
}

/* 공지·설명 문단의 엔터 간격 */
.notice-item p,
#memoText,
#profileIntro,
#homeDescription,
.gallery-item figcaption,
.debt-item .debt-content,
.schedule-item > span:last-child {
  line-height: 1.75;
}
.multiline-text{
  white-space:pre-wrap!important;
  overflow-wrap:anywhere;
  word-break:keep-all;
}

.gallery-clickable{cursor:zoom-in;transition:transform .22s ease,box-shadow .22s ease}.gallery-clickable:hover{transform:rotate(0deg) translateY(-5px)!important;box-shadow:0 16px 30px rgba(0,0,0,.14)}.gallery-clickable:focus-visible{outline:3px solid rgba(34,34,34,.28);outline-offset:5px}body.lightbox-open{overflow:hidden}.gallery-lightbox{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}.gallery-lightbox.open{opacity:1;visibility:visible}.gallery-lightbox-backdrop{position:absolute;inset:0;background:rgba(15,15,15,.86);backdrop-filter:blur(5px)}.gallery-lightbox-dialog{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;max-width:min(94vw,1500px);max-height:94vh}.gallery-lightbox-dialog img{display:block;max-width:92vw;max-height:84vh;width:auto;height:auto;object-fit:contain;border-radius:8px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.45)}.gallery-lightbox-dialog p{max-width:90vw;margin:12px 0 0;color:#fff;font-family:"Gaegu",sans-serif;font-size:22px;text-align:center;white-space:pre-wrap}.gallery-lightbox-close{position:absolute;top:-18px;right:-18px;z-index:2;width:46px;height:46px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:#fff;color:#222;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.28)}@media(max-width:600px){.gallery-lightbox{padding:12px}.gallery-lightbox-dialog img{max-width:96vw;max-height:80vh}.gallery-lightbox-close{top:-14px;right:0;width:42px;height:42px}}
