:root{
  --pink:#f6b8cf;--pink2:#ffe6ef;--rose:#a84d72;--deep:#6f3c53;--ink:#4f3e46;--paper:#fffafc;--line:#eba2bd;--soft:#fff1f6;--mint:#e9faf4;--shadow:#e8a7bf;
  --body:"Nunito",system-ui,sans-serif;--pixel:"Pixelify Sans","DotGothic16",monospace;--symbols:"DotGothic16","Nunito",sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.65;background-color:#fff7fa;background-image:linear-gradient(45deg,#ffddea55 25%,transparent 25%),linear-gradient(-45deg,#ffddea55 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ffddea55 75%),linear-gradient(-45deg,transparent 75%,#ffddea55 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0}button,input,textarea,select{font:inherit}a{color:var(--rose)}img{display:block;max-width:100%}h1,h2,h3,.pixel-btn,.channel-link,.tag,.page-heading,.brand{font-family:var(--pixel);letter-spacing:.02em}p{margin:.65em 0}.signature{font-family:var(--symbols);text-align:center;color:var(--rose);margin:16px 0;font-size:clamp(14px,2vw,19px)}
body[data-theme="sakura"]{--pink:#f2a9c6;--pink2:#ffe5f0;--rose:#a84470}body[data-theme="night"]{--paper:#29233a;--soft:#332b48;--ink:#f8eafa;--line:#b693d6;--pink:#b895d8;--pink2:#3b3152;--rose:#f1b9da;--shadow:#6c5684;background-color:#1f1a2d}body[data-theme="mint"]{--pink:#b7dfd2;--pink2:#e6f8f1;--rose:#557f74;--line:#98cdbd;--shadow:#8bb9ad}
.site-header{position:sticky;top:0;z-index:60;background:var(--paper);border-bottom:3px solid var(--line)}.header-art{min-height:118px;background-image:linear-gradient(90deg,#fff8fcaa,#fff8fc66),url('../images/ms1.png');background-size:cover;background-position:center 42%;display:flex;align-items:flex-end}.header-overlay{width:min(1540px,96vw);margin:0 auto 10px;min-height:66px;background:#fffafce8;border:2px solid var(--line);box-shadow:4px 4px 0 var(--shadow);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:8px 12px;backdrop-filter:blur(3px)}.brand{display:flex;align-items:center;gap:10px;color:var(--rose);font-size:20px;text-decoration:none;white-space:nowrap}.brand img{width:50px;height:50px;border-radius:10px;object-fit:cover;border:2px solid var(--line)}.header-title{text-align:center;min-width:0}.header-title strong{font-family:var(--pixel);font-size:clamp(17px,2.1vw,28px);color:var(--rose);display:block;line-height:1.1}.header-title span{font-family:var(--symbols);font-size:14px}.header-actions{display:flex;gap:8px}.icon-btn{width:42px;height:42px;border:2px solid var(--line);background:var(--paper);color:var(--rose);box-shadow:2px 2px 0 var(--shadow);cursor:pointer;font-family:var(--pixel);font-size:20px}.mobile-only{display:none}
.server-layout{width:min(1540px,96vw);margin:16px auto;display:grid;grid-template-columns:270px minmax(0,1fr) 240px;gap:14px;align-items:start}.panel{position:relative;background:var(--paper);border:2px solid var(--line);box-shadow:4px 4px 0 var(--shadow);padding:16px}.panel:after{content:"";position:absolute;inset:5px;border:1px dashed color-mix(in srgb,var(--line),transparent 25%);pointer-events:none}.channel-sidebar{position:sticky;top:138px;max-height:calc(100vh - 154px);overflow:auto;padding:8px;background:var(--paper);border:2px solid var(--line);box-shadow:4px 4px 0 var(--shadow)}.server-card{display:flex;align-items:center;gap:12px;padding:12px}.server-card img{width:68px;height:68px;border-radius:18px;object-fit:cover;border:3px solid #fff;outline:2px solid var(--line)}.server-card h1{font-size:20px;line-height:1;margin:0;color:var(--rose)}.server-card p{font-size:13px;margin:2px 0}.live-line{display:flex;align-items:center;gap:6px}.live-line i{width:9px;height:9px;border-radius:50%;background:#65c88d;box-shadow:0 0 0 3px #dff6e8}.channel-group h2{font-size:13px;text-transform:uppercase;margin:13px 8px 4px;color:var(--deep);display:flex;justify-content:space-between}.channel-link{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);padding:8px 10px;border-radius:5px;font-size:15px}.channel-link span{color:var(--rose);font-size:18px}.channel-link small{margin-left:auto;opacity:0}.channel-link:hover,.channel-link.active{background:var(--pink2);color:var(--rose)}.channel-link.active small{opacity:1}.full{width:100%;margin-top:10px}.main-column{min-width:0}.channel-header{height:64px;background:var(--paper);border:2px solid var(--line);box-shadow:4px 4px 0 var(--shadow);display:flex;align-items:center;gap:12px;padding:9px 16px;margin-bottom:14px}.channel-header>span{font-family:var(--pixel);font-size:28px;color:var(--rose)}.channel-header b{font-family:var(--pixel);font-size:19px;color:var(--deep)}.channel-header small{display:block;color:#826d77}.widget-sidebar{position:sticky;top:138px;display:flex;flex-direction:column;gap:12px}.widget h2{font-size:15px;text-align:center;color:var(--rose);margin:0 0 8px}.widget img{width:100%;max-height:150px;object-fit:contain}.widget small{display:block;text-align:center}.mini-live{display:grid;place-items:center}.mini-live b{font-family:var(--pixel);font-size:38px;color:var(--rose);line-height:1}.mini-live span{font-size:13px}.button-wall{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.button-wall img{width:88px;height:31px;object-fit:contain;background:#fff;border:1px solid var(--line)}
.content{min-height:600px}.page{animation:pageIn .28s ease}.page-heading{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(90deg,var(--paper),var(--pink2));border:2px solid var(--line);padding:14px 18px;box-shadow:4px 4px 0 var(--shadow)}.page-heading h1{color:var(--rose);font-size:clamp(22px,3vw,34px);margin:0;line-height:1.1;text-shadow:2px 2px #fff}.page-heading p{font-family:var(--body);margin:3px 0 0}.page-heading>span{font-size:28px;color:var(--rose)}@keyframes pageIn{from{opacity:0;transform:translateY(6px)}}.hero-card{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:center;padding:22px;background:linear-gradient(135deg,var(--paper),var(--pink2))}.hero-copy h2{font-size:clamp(30px,5vw,55px);line-height:1;color:var(--rose);margin:14px 0}.hero-card>img{width:100%;height:320px;object-fit:cover;border:5px solid #fff;outline:2px solid var(--line)}.tag,.role-pill{display:inline-block;background:var(--pink2);border:1px solid var(--line);padding:3px 8px;color:var(--rose);font-size:13px}.cta-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.pixel-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;border:2px solid var(--line);background:linear-gradient(#fff,var(--pink2));color:var(--rose);box-shadow:2px 2px 0 var(--shadow);text-decoration:none;cursor:pointer;font-size:14px}.pixel-btn:hover{transform:translate(-1px,-1px);box-shadow:3px 3px 0 var(--shadow)}.pixel-btn.primary{background:linear-gradient(#ffdbea,var(--pink));color:#703a53}.card-grid{display:grid;gap:13px}.card-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.image-card img,.event-card img{width:100%;height:170px;object-fit:cover;margin-bottom:12px}.panel h3{font-size:18px;color:var(--rose);margin:8px 0}.map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.map-card{display:flex;gap:14px;align-items:center;text-decoration:none;color:inherit}.map-card img{width:90px;height:90px;object-fit:contain}.rule-stack{display:grid;gap:12px}.rule-group{padding:0}.rule-group summary{cursor:pointer;padding:15px 18px;font-family:var(--pixel);font-size:18px;color:var(--rose);background:var(--pink2)}.rule-group ol,.rule-group>p{padding:4px 28px 18px}.rule-group li{margin:10px 0}.role-card{border-left-width:8px}.role-management{border-left-color:#d486b6}.role-special{border-left-color:#eab2c7}.role-minecraft{border-left-color:#83b997}.role-level{border-left-color:#8eb2d4}.role-member{border-left-color:#b5a0cb}.channel-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.directory-card h3{margin-top:0}.bulletin-card{display:grid;grid-template-columns:180px 1fr;gap:14px}.bulletin-card img{width:100%;height:150px;object-fit:cover}.soft-note,.local-note{background:#fff5d9;border:1px dashed #d4ab62;padding:10px 12px;margin:14px 0}.minecraft-hero,.support-hero{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}.minecraft-hero img,.support-hero img{width:100%;height:250px;object-fit:cover}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.stat-grid article{display:flex;flex-direction:column}.stat-grid b{font-family:var(--pixel);color:var(--rose)}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.gallery-grid{columns:3 220px;column-gap:12px}.gallery-item{width:100%;display:block;break-inside:avoid;margin:0 0 12px;border:5px solid #fff;outline:1px solid var(--line);box-shadow:3px 3px 0 var(--shadow);background:var(--paper);padding:0;cursor:pointer}.gallery-item img{width:100%;height:auto}.gallery-item small{display:block;padding:5px;overflow:hidden;text-overflow:ellipsis}.sticker-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px}.sticker-card{text-align:center}.sticker-card.favorite{box-shadow:4px 4px 0 #f28bb4,inset 0 0 0 4px #ffd4e4}.sticker-card img{width:100%;height:150px;object-fit:contain}.sticker-card>div{display:flex;justify-content:center;align-items:center;gap:8px}.sticker-fav{border:0;background:none;color:var(--rose);font-size:30px;cursor:pointer}.ad-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.ad-card{text-align:center}.ad-card img{width:100%;height:78px;object-fit:contain}.diary-layout{display:grid;gap:16px}.diary-entry{display:grid;grid-template-columns:220px 1fr;gap:16px}.diary-entry>img{width:100%;height:180px;object-fit:cover}.poll-card{max-width:760px;margin:auto}.poll-card h2{text-align:center;color:var(--rose);font-size:24px}.poll-options{display:grid;gap:10px}.poll-choice{position:relative;text-align:left;border:2px solid var(--line);background:var(--paper);padding:12px;cursor:pointer;color:var(--ink)}.poll-choice.selected{background:var(--pink2);box-shadow:inset 0 0 0 2px var(--pink)}.poll-choice span{font-family:var(--pixel);font-size:17px}.poll-choice b{float:right}.poll-choice i{display:block;height:12px;background:#f7dae5;border:1px solid var(--line);margin:8px 0 3px}.poll-choice em{display:block;height:100%;background:var(--pink)}.discord-grid{display:grid;grid-template-columns:1fr 350px;gap:18px;align-items:start}.discord-info{text-align:center}.discord-info>img{width:150px;height:150px;border-radius:24px;object-fit:cover;margin:0 auto;border:5px solid #fff;outline:2px solid var(--line)}.discord-info h2{font-size:34px;color:var(--rose)}.discord-info b{font-family:var(--pixel);font-size:36px}.discord-widget{max-width:100%;border:2px solid var(--line);box-shadow:4px 4px 0 var(--shadow);border-radius:6px}.empty-profile{text-align:center}.empty-profile img{width:150px;height:150px;object-fit:contain;margin:auto}.profile-card-large{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center}.profile-card-large>img{width:180px;height:180px;object-fit:contain}
.comment-zone{margin-top:24px}.composer-profile{display:flex;gap:12px;align-items:center}.composer-profile img,.comment-avatar{width:66px;height:66px;object-fit:contain;border:3px solid #fff;outline:2px solid var(--line);background:var(--pink2);border-radius:10px}.composer-profile small{display:block}.composer-profile .pixel-btn{margin-left:auto}.composer-label{display:block;font-family:var(--pixel);color:var(--rose);margin-top:14px}.comment-input{display:block;width:100%;min-height:115px;margin-top:6px;border:2px solid var(--line);background:#fff;padding:12px;color:#4f3e46;resize:vertical;font-family:var(--body);font-size:16px}.counter{text-align:right;font-size:12px}.composer-toolbar{display:flex;flex-wrap:wrap;gap:8px}.selected-sticker{display:flex;align-items:center;gap:10px;margin:12px 0;min-height:50px;padding:8px;background:var(--soft);border:1px dashed var(--line)}.selected-sticker img{width:76px;height:76px;object-fit:contain}.inline-sticker-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:8px;padding:10px;background:var(--soft);border:2px solid var(--line);max-height:310px;overflow:auto}.pick-comment-sticker{border:2px solid transparent;background:var(--paper);padding:4px;cursor:pointer}.pick-comment-sticker.selected{border-color:var(--rose);background:var(--pink2)}.pick-comment-sticker img{width:100%;height:70px;object-fit:contain}.comment-card{display:grid;grid-template-columns:76px 1fr;gap:12px;margin:12px 0}.comment-body header{display:flex;justify-content:space-between;gap:10px}.comment-body header span{display:block;font-size:12px;color:var(--rose)}.comment-body time{font-size:12px}.attached-sticker{display:inline-flex;align-items:center;gap:8px;background:var(--soft);border:1px dashed var(--line);padding:5px 10px}.attached-sticker img{width:95px;height:95px;object-fit:contain}.attached-sticker small{font-size:12px}.comment-actions{display:flex;gap:14px;margin-top:10px}.comment-actions button{border:0;background:none;color:var(--rose);cursor:pointer}.empty-comment{text-align:center}.lightbox{width:min(900px,94vw);max-height:92vh;border:4px double var(--line);background:var(--paper);padding:12px}.lightbox::backdrop{background:#3e263899;backdrop-filter:blur(4px)}.lightbox img{max-width:100%;max-height:78vh;margin:auto;object-fit:contain}.lightbox button{float:right;border:2px solid var(--line);background:var(--paper);font-size:24px}.lightbox small{display:block;text-align:center;margin-top:8px}
.pixel-dialog{width:min(680px,92vw);border:4px double var(--line);background:var(--paper);color:var(--ink);box-shadow:8px 8px 0 #795a68;padding:20px}.pixel-dialog::backdrop{background:#3e263899;backdrop-filter:blur(3px)}.pixel-dialog h2{font-size:22px;color:var(--rose)}.pixel-dialog label{display:block;margin:10px 0}.pixel-dialog input,.pixel-dialog textarea,.pixel-dialog select{width:100%;padding:9px;border:2px solid var(--line);background:#fff;color:#4f3e46}.close-dialog{float:right;border:2px solid var(--line);background:var(--pink2);font-size:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-grid .wide{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}#searchResults{display:grid;gap:7px;margin-top:12px}#searchResults a{display:block;text-decoration:none;border:1px solid var(--line);padding:8px;background:var(--soft)}#searchResults small{display:block;color:var(--ink)}
footer{width:min(980px,92vw);margin:24px auto;text-align:center;background:var(--paper);border:3px double var(--line);padding:15px;color:var(--rose)}footer p{margin:3px}.loading{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#fff1f7;transition:.4s}.loading.hide{opacity:0;visibility:hidden}.loading-card{text-align:center;color:var(--rose);font-family:var(--pixel)}.loading-card img{width:120px;height:120px;object-fit:contain;margin:auto}.loadbar{width:250px;height:16px;border:2px solid var(--line);background:#fff;margin:10px auto}.loadbar i{display:block;height:100%;background:var(--pink);animation:load 1s forwards}@keyframes load{from{width:0}to{width:100%}}#customCursor{position:fixed;left:0;top:0;z-index:9998;pointer-events:none;width:42px;height:42px;transform:translate3d(-100px,-100px,0);will-change:transform}#customCursor img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(1px 2px 0 #fff)}body:not(.no-cursor),body:not(.no-cursor) a,body:not(.no-cursor) button{cursor:none}.no-cursor #customCursor{display:none}.cursor-spark{position:fixed;z-index:9997;pointer-events:none;color:#e36e9e;font-style:normal;animation:spark .7s forwards}@keyframes spark{to{transform:translateY(-28px) scale(.2);opacity:0}}.reduce-motion *{animation-duration:.001ms!important;transition:none!important}
@media(max-width:1180px){.server-layout{grid-template-columns:250px minmax(0,1fr)}.widget-sidebar{display:none}.channel-map{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){body{font-size:15px}.header-art{min-height:88px}.header-overlay{grid-template-columns:auto 1fr auto;margin-bottom:6px}.mobile-only{display:block}.brand span{display:none}.brand img{width:40px;height:40px}.header-title strong{font-size:17px}.header-title span{display:none}.server-layout{display:block;width:94vw}.channel-sidebar{display:none;position:fixed;z-index:100;left:8px;top:94px;bottom:8px;width:min(310px,90vw);max-height:none}.channel-sidebar.open{display:block}.hero-card,.minecraft-hero,.support-hero,.discord-grid,.profile-card-large,.diary-entry{grid-template-columns:1fr}.hero-card>img{height:230px}.card-grid.two,.card-grid.three,.map-grid,.stat-grid,.channel-map,.form-grid{grid-template-columns:1fr}.bulletin-card{grid-template-columns:1fr}.gallery-grid{columns:2 140px}.page-heading p{font-size:13px}.page-heading>span{display:none}.discord-widget{width:100%}.comment-card{grid-template-columns:54px 1fr}.comment-avatar{width:50px;height:50px}.comment-body header{display:block}.composer-toolbar .pixel-btn{flex:1}.sticker-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}#customCursor{display:none!important}body,body a,body button{cursor:auto!important}}
/* v4 — Discord-channel-inspired page moods, readable type, stronger imagery */
[hidden]{display:none!important}
body{font-family:"Nunito",system-ui,sans-serif;font-size:17px;line-height:1.72;letter-spacing:.015em}
.channel-link,.pixel-btn,.tag,.page-heading h1,.panel h2,.panel h3,.brand,.channel-header b{font-family:"Pixelify Sans","DotGothic16",monospace}
.panel p,.panel li,.comment-input,.directory-card p,.rule-group li{font-family:"Nunito",system-ui,sans-serif;font-weight:600}
.header-art{min-height:150px;background-image:linear-gradient(90deg,rgba(255,245,250,.88),rgba(255,232,242,.62)),url('../images/b2.png');background-size:cover;background-position:center;border-bottom:4px double var(--line)}
.header-overlay{min-height:150px;align-items:center}.header-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-title strong{font-size:clamp(18px,2.4vw,34px)}
.brand span{white-space:nowrap}.hero-card{grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);align-items:center}.hero-copy h2{white-space:nowrap;font-size:clamp(30px,4vw,56px);line-height:1.1}.hero-card>img{width:100%;height:330px;object-fit:cover;object-position:center;border:8px solid #fff;outline:2px solid var(--line)}
.page-heading{background-size:cover;background-position:center;border-radius:8px;padding:18px}.page-heading h1{font-size:clamp(25px,3.5vw,42px)}
body[data-page="rules"] .page-heading{background-image:linear-gradient(#fff9fcdd,#fff9fcdd),url('../images/b3.jpg')}
body[data-page="roles"] .page-heading{background-image:linear-gradient(#fff9fcdd,#fff9fcdd),url('../images/b4.png')}
body[data-page="channels"] .page-heading{background-image:linear-gradient(#fff9fcdd,#fff9fcdd),url('../images/ms3.jpg')}
body[data-page="minecraft"] .page-heading{background-image:linear-gradient(#fff9fcdd,#fff9fcdd),url('../images/ms4.jpg')}
body[data-page="stickers"] .page-heading{background-image:linear-gradient(#fff9fcdd,#fff9fcdd),url('../images/c2.jpg')}
body[data-page="poll"] .page-heading{background-image:linear-gradient(#fff9fcdd,#fff9fcdd),url('../images/b4.png')}
body[data-page="guestbook"] .page-heading{background-image:linear-gradient(#fff9fcdd,#fff9fcdd),url('../images/h2.webp')}
body[data-page="discord"] .page-heading{background-image:linear-gradient(#fff9fcdd,#fff9fcdd),url('../images/b2.png')}
.poll-banner{width:100%;height:140px;object-fit:cover;border:4px solid #fff;outline:1px solid var(--line);margin-bottom:12px}.poll-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.poll-choice{font-family:"Nunito",system-ui,sans-serif;font-weight:700;font-size:17px}.poll-choice span{font-family:"Pixelify Sans",monospace;font-size:20px}
.inline-sticker-picker{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));background:linear-gradient(135deg,#fff9fc,#ffeaf2)}.pick-comment-sticker{min-height:100px;border-radius:8px}.pick-comment-sticker img{height:88px}.selected-sticker{display:grid;grid-template-columns:1fr 130px;align-items:center;background:linear-gradient(135deg,#fff,#ffe8f1);border:2px dashed var(--rose);font-family:"Pixelify Sans",monospace;font-size:18px}.selected-sticker img{width:120px;height:120px;justify-self:end;filter:drop-shadow(2px 3px 0 #fff)}.attached-sticker{display:grid;grid-template-columns:130px 1fr;max-width:310px}.attached-sticker img{width:125px;height:125px}.composer{position:relative;overflow:visible}.composer::after{content:'୨୧';position:absolute;right:14px;top:10px;color:var(--pink);font-size:28px}
.channel-sidebar{background-image:linear-gradient(#fff9fddd,#fff9fddd),url('../images/ns3.png');background-size:180px}.widget-sidebar{background-image:linear-gradient(#fff9fddd,#fff9fddd),url('../images/ns5.png');background-size:220px}
body[data-page="rules"] .main-column{--page-accent:#f3a9bf}body[data-page="minecraft"] .main-column{--page-accent:#9cc7ad}body[data-page="roles"] .main-column{--page-accent:#c4a5d7}.channel-header{border-left:6px solid var(--page-accent,var(--rose))}
@media(max-width:900px){.hero-card{grid-template-columns:1fr}.hero-copy h2{white-space:normal}.hero-card>img{height:260px}.header-title strong{font-size:20px}.selected-sticker{grid-template-columns:1fr 100px}.selected-sticker img{width:92px;height:92px}}

/* v5 — cozy media library, poll archive, calendar, music, and improved alignment */
.site-header{position:sticky;top:0;z-index:90}.header-art{background-image:linear-gradient(90deg,rgba(255,247,251,.74),rgba(255,229,240,.52)),url('../images/b2.png');background-size:cover;background-position:center}.brand img{width:58px;height:58px;object-fit:cover;border-radius:12px}.moving-title{overflow:hidden;width:100%}.moving-title span{display:inline-block;min-width:max-content;animation:haniMarquee 24s linear infinite;font-family:var(--pixel);font-size:clamp(18px,2.4vw,34px);color:var(--rose);text-shadow:2px 2px #fff}@keyframes haniMarquee{from{transform:translateX(18%)}to{transform:translateX(-100%)}}
.page-heading{min-height:130px;display:flex;align-items:flex-end;background-image:linear-gradient(90deg,#fff9fce8,#fff1f7bb),url('../images/c1.jpg')!important}.page-heading h1{text-transform:lowercase}.content{overflow:hidden}.panel{border-radius:4px}.event-card img,.image-card img,.bulletin-card img,.diary-entry img{width:100%;height:190px;object-fit:contain;background:linear-gradient(135deg,#fff8fb,#ffe8f2);padding:8px}.event-card{display:flex;flex-direction:column}.event-card p{flex:1}
.media-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;align-items:stretch;margin:14px 0 28px}.media-shelf .gallery-item{height:230px;display:grid;place-items:center;padding:10px;background:linear-gradient(135deg,#fff,#fff0f6);border:3px double var(--line);overflow:hidden}.media-shelf .gallery-item img{width:100%;height:100%;object-fit:contain}.media-shelf .media-ns{height:130px}.media-shelf .media-ame,.media-shelf .media-ka{height:260px}.gallery-item small,.ad-card small,.lightbox small{display:none!important}.ad-grid{align-items:stretch}.ad-card{display:grid;place-items:center;min-height:170px}.ad-card img{width:100%;height:150px;object-fit:contain}
.sticker-card>img{height:170px;object-fit:contain}.sticker-card>div{display:flex;justify-content:center;gap:8px}.selected-sticker{display:grid;place-items:center;grid-template-columns:1fr;min-height:150px}.selected-sticker img{width:150px;height:150px;justify-self:center}.attached-sticker{display:block;width:max-content;max-width:180px;padding:6px;background:transparent;border:0}.attached-sticker img{width:150px;height:150px}.inline-kaomoji-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;padding:10px;margin-top:10px;background:#fff7fb;border:2px dashed var(--line)}.pick-kaomoji{min-height:50px;border:2px solid var(--line);background:#fff;color:var(--rose);cursor:pointer;font-family:var(--symbols)}.pick-kaomoji:hover{background:var(--pink2)}
.potd-stack{display:grid;gap:20px}.poll-card{overflow:hidden}.poll-card header{padding:8px 4px}.poll-card h2{font-size:clamp(20px,2.2vw,30px)}.poll-card footer{display:flex;justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;border-top:2px dashed var(--line);font-family:var(--pixel)}.poll-card.closed{opacity:.92}.poll-card.closed .poll-choice{cursor:default}.poll-choice{display:grid;grid-template-columns:1fr auto;gap:6px;text-align:left;width:100%;margin:8px 0;padding:12px;border:2px solid var(--line);background:#fff}.poll-choice>i{grid-column:1/-1;height:10px;background:#ffe5ef;overflow:hidden}.poll-choice>i em{display:block;height:100%;background:var(--pink)}.poll-choice small{grid-column:1/-1;color:var(--rose)}
.calendar-widget{text-align:center}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:10px}.cal-grid>*{display:grid;place-items:center;min-height:26px;font-style:normal}.cal-grid small{font-family:var(--pixel);color:var(--rose)}.cal-grid .today{background:var(--pink);color:#fff;border-radius:50%}.music-widget{text-align:center}.music-widget img{width:100px;height:100px;object-fit:cover;border-radius:18px;margin:8px auto;border:3px double var(--line)}.music-widget b,.music-widget small{display:block}.music-widget .pixel-btn{margin-top:10px}.tiny-note{font-size:11px;line-height:1.4}.widget-sidebar .panel{backdrop-filter:blur(2px)}
body[data-page="gallery"]{background-image:linear-gradient(#fff8fbcc,#fff8fbcc),url('../images/c3.jpg');background-size:auto,420px}body[data-page="events"]{background-image:linear-gradient(#fff8fbdd,#fff8fbdd),url('../images/ms2.jpg');background-size:auto,600px}body[data-page="poll"]{background-image:linear-gradient(#fff8fbdd,#fff8fbdd),url('../images/b4.png');background-size:auto,440px}
@media(max-width:780px){.site-header{position:relative}.moving-title span{animation-duration:18s}.media-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.media-shelf .gallery-item,.media-shelf .media-ame,.media-shelf .media-ka{height:180px}.media-shelf .media-ns{height:100px}.poll-choice{grid-template-columns:1fr}.poll-choice b{text-align:left}.header-art,.header-overlay{min-height:105px}}


/* v6 — compact moving header and intentional asset roles */
.site-header{position:sticky;top:0}
.header-art{min-height:88px;background-image:linear-gradient(90deg,rgba(255,250,252,.70),rgba(255,238,245,.42)),url('../images/hd.png');background-size:cover;background-position:center}
.header-overlay{min-height:68px;margin-bottom:8px;padding:6px 10px}
.brand img{width:46px;height:46px}.brand{font-size:18px}.moving-title span{font-size:clamp(16px,1.8vw,25px);animation-duration:22s}
.channel-sidebar{top:112px;max-height:calc(100vh - 128px)}
.profile-avatar-wrap,.comment-avatar-wrap{position:relative;display:grid;place-items:center;flex:0 0 auto}
.profile-avatar-wrap{width:180px;height:180px}.profile-avatar-image{width:145px;height:145px;object-fit:cover;border-radius:18px}
.profile-frame-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.comment-avatar-wrap{width:68px;height:68px}.comment-avatar{width:56px!important;height:56px!important;object-fit:cover;border-radius:14px}.comment-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.comment-card{grid-template-columns:76px 1fr}
.media-shelf .gallery-item{height:auto;min-height:120px;aspect-ratio:auto}.media-shelf .gallery-item img{height:auto;max-height:270px;object-fit:contain}
.sticker-gallery{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.sticker-card>img{height:145px}
.inline-sticker-picker{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));max-height:430px;overflow:auto}.pick-comment-sticker img{height:78px;object-fit:contain}
.widget-sidebar{background-image:linear-gradient(#fff9fddd,#fff9fddd),url('../images/mb.png');background-size:cover;background-attachment:local}
body{background-image:linear-gradient(rgba(255,248,251,.86),rgba(255,248,251,.86)),url('../images/mb.png');background-size:auto,520px}
@media(max-width:780px){.header-art,.header-overlay{min-height:82px}.brand span{display:none}.channel-sidebar{top:90px}.profile-avatar-wrap{width:140px;height:140px}.profile-avatar-image{width:112px;height:112px}}

/* v7 — scrapbook layout, reliable dialogs, memory gallery */
body{background-color:#fff7fb;background-image:linear-gradient(45deg,#ffe9f2 25%,transparent 25%),linear-gradient(-45deg,#ffe9f2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ffe9f2 75%),linear-gradient(-45deg,transparent 75%,#ffe9f2 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0}
.site-header,.server-layout,footer{width:min(1120px,94vw);margin-inline:auto}.server-layout{border-left:5px double var(--line);border-right:5px double var(--line);background:rgba(255,250,252,.92);box-shadow:0 0 0 7px #fff8fb,0 8px 24px #d993af44}
.header-art{min-height:76px;border:4px double var(--line);margin-top:8px;background-size:auto 100%;background-repeat:repeat-x}.header-overlay{min-height:64px}.moving-title span{font-size:clamp(16px,2vw,25px)}
.pixel-dialog{z-index:10000}.pixel-dialog .close-dialog,.lightbox-close{position:absolute!important;right:12px!important;top:12px!important;z-index:10002!important;width:42px;height:42px;display:grid;place-items:center;float:none!important;cursor:pointer!important;pointer-events:auto!important}
.lightbox{position:fixed;overflow:visible}.lightbox img{display:block;margin:42px auto 0}.lightbox::backdrop,.pixel-dialog::backdrop{pointer-events:auto}
.memory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:13px;margin:14px 0 30px}.memory-card{min-height:170px;padding:9px;background:#fffafd;border:3px double var(--line);box-shadow:4px 4px 0 #f7c7d9}.memory-card img{width:100%;height:100%;max-height:280px;object-fit:contain}.memory-card:nth-child(3n+1){transform:rotate(-.35deg)}.memory-card:nth-child(3n+2){transform:rotate(.35deg)}
body[data-page="gallery"]{background-image:linear-gradient(#fffafccc,#fffafccc),url('../images/mb.png')!important;background-size:auto,520px!important;background-attachment:fixed!important}.page-heading{background-image:linear-gradient(90deg,#fff9fce8,#fff1f7bb),url('../images/b2.png')!important;background-size:cover!important}.page-heading img{object-fit:contain}
body[data-page="events"]{background-image:linear-gradient(#fffafcbb,#fffafcbb),url('../images/ms2.jpg')!important;background-size:auto,680px!important;background-position:center!important}.event-ribbon img{width:100%;max-height:105px;object-fit:cover;border:3px double var(--line);margin-bottom:14px}.event-card img{height:220px;object-fit:cover;padding:6px}.floating-event-decor{display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none;margin:-30px 10px 0}.floating-event-decor img{width:min(150px,24vw);max-height:150px;object-fit:contain;filter:drop-shadow(3px 4px 0 #fff)}
.poll-card{max-width:720px;margin-inline:auto;padding:14px}.poll-card h2{font-size:clamp(17px,1.8vw,24px)}.poll-choice{padding:8px 10px;font-size:14px}.poll-choice span{font-size:16px}.potd-stack{gap:14px}
.attached-sticker{background:transparent;border:0;padding:0}.attached-sticker img{width:120px;height:120px}.selected-sticker span{font-size:13px}
@media(max-width:780px){.site-header,.server-layout,footer{width:96vw}.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-card{min-height:130px}.event-card img{height:180px}.floating-event-decor img{width:95px}.poll-card{padding:10px}}


/* v8 — final polish: one rules heading, compact framed polls, real music, and RibbonDoll-inspired layering */
body{
  background-color:#fff4f8;
  background-image:
    linear-gradient(45deg,rgba(255,255,255,.78) 25%,transparent 25%),
    linear-gradient(-45deg,rgba(255,255,255,.78) 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,rgba(255,255,255,.78) 75%),
    linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.78) 75%);
  background-size:28px 28px;
  background-position:0 0,0 14px,14px -14px,-14px 0;
}
.site-header{width:min(1120px,94vw);}
.header-art{min-height:74px;background-image:linear-gradient(90deg,rgba(255,250,252,.76),rgba(255,239,246,.46)),url('../images/hd.png');background-size:auto 100%;background-repeat:repeat-x;background-position:center;}
.header-overlay{min-height:62px;}
.moving-title span{font-size:clamp(15px,1.8vw,23px);animation-duration:27s;}
.server-layout{position:relative;background:rgba(255,251,253,.94);}
.server-layout::before,.server-layout::after{content:"";position:fixed;pointer-events:none;z-index:4;background-repeat:no-repeat;background-size:contain;opacity:.96;filter:drop-shadow(0 4px 2px #d892aa55)}
.server-layout::before{width:118px;height:118px;right:max(1vw,12px);bottom:8px;background-image:url('../images/s1.webp')}
.server-layout::after{width:72px;height:72px;left:max(1vw,10px);top:42%;background-image:url('../images/m1.webp');opacity:.72}
.channel-header[hidden]{display:none!important}
body[data-page="rules"] .page-heading{margin-top:0;background-image:linear-gradient(90deg,rgba(255,250,252,.95),rgba(255,231,241,.88)),url('../images/b3.jpg');background-size:cover;background-position:center;border:5px double var(--line);box-shadow:5px 5px 0 var(--shadow)}
body[data-page="rules"] .page-heading h1::before{content:"₊˚⊹♡ ";font-family:var(--symbols)}
body[data-page="rules"] .page-heading h1::after{content:" & guidelines"}
body[data-page="rules"] .signature:first-of-type{margin-top:8px}

/* poll stays readable, only the cards themselves are smaller */
body[data-page="poll"] .content{position:relative}
body[data-page="poll"] .content::before{content:"";position:absolute;inset:108px 4% auto;height:180px;background:url('../images/7.webp') center/100% 100% no-repeat;opacity:.28;pointer-events:none}
.potd-stack{gap:12px;position:relative;z-index:1}
.poll-card{max-width:610px;padding:10px 12px;border:6px double var(--line);outline:5px solid rgba(255,238,245,.92);box-shadow:0 0 0 2px #fff,5px 6px 0 var(--shadow);background:linear-gradient(rgba(255,252,253,.94),rgba(255,247,250,.96)),url('../images/b6.png') center/cover no-repeat}
.poll-card header{padding:2px 0 4px}.poll-card h2{font-size:clamp(16px,1.55vw,21px);margin:7px 0}.poll-options{gap:5px}.poll-choice{padding:6px 8px;margin:3px 0;font-size:13px;border-width:1px}.poll-choice span{font-size:15px}.poll-choice>i{height:7px;margin:4px 0 1px}.poll-choice small{font-size:11px}.poll-card footer{margin-top:7px;padding-top:7px;font-size:12px}

/* working old-web music player */
.music-widget{overflow:hidden;position:relative}.music-art-wrap{position:relative;width:104px;height:104px;margin:6px auto 8px}.music-widget #musicArt{width:96px;height:96px;margin:4px;border-radius:50%;object-fit:cover;border:4px double var(--line);box-shadow:0 0 0 4px #fff}.music-widget #musicArt.playing{animation:haniSpin 6s linear infinite}.music-corner{position:absolute!important;width:52px!important;height:52px!important;object-fit:contain!important;border:0!important;border-radius:0!important;right:-22px;bottom:-6px;margin:0!important;filter:drop-shadow(2px 3px 0 #fff)}
@keyframes haniSpin{to{transform:rotate(360deg)}}
.music-controls{display:flex;justify-content:center;gap:7px;margin:8px 0}.music-controls button{width:38px;height:32px;border:2px solid var(--line);background:linear-gradient(#fff,#ffdce9);font-family:var(--pixel);color:var(--rose);box-shadow:2px 2px 0 var(--shadow);cursor:pointer}.music-progress,.music-volume input{accent-color:var(--rose)}.music-progress{width:100%;height:12px}.music-time{font-family:var(--tiny);font-size:12px;margin:2px 0 7px}.music-volume{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:7px;font-family:var(--tiny);font-size:11px}.music-volume input{width:100%}

/* softer handcrafted framing */
.panel{box-shadow:3px 3px 0 var(--shadow)}
.page-heading{border-style:double;border-width:4px}
.rule-group{border-left:7px solid #f7b7cf}
.rule-group summary{background:linear-gradient(90deg,#ffe1ec,#fff8fb)}

@media(max-width:780px){.server-layout::before{width:74px;height:74px;opacity:.6}.server-layout::after{display:none}.poll-card{max-width:100%;padding:8px}.music-corner{right:-12px}.moving-title span{font-size:15px}.header-art,.header-overlay{min-height:70px}}

/* v9 — spacious page layout and one clear title per page */
.site-header,
.server-layout,
footer{
  width:min(1480px,96vw);
}

.server-layout{
  grid-template-columns:280px minmax(0,1fr) 260px;
  gap:18px;
  padding:0 10px 18px;
}

/* The large page card is the only visible page title. */
.channel-header{
  display:none!important;
}

.main-column{
  width:100%;
  min-width:0;
}

.content{
  width:100%;
  overflow:visible;
  padding-bottom:18px;
}

.page{
  width:100%;
}

/* c1–c4 remain profile/avatar assets only. */
.page-heading{
  min-height:92px;
  align-items:center;
  padding:18px 22px;
  margin-bottom:18px;
  background-image:
    linear-gradient(90deg,rgba(255,252,253,.96),rgba(255,237,245,.90)),
    url('../images/b2.png')!important;
  background-size:cover!important;
  background-position:center!important;
}

.page-heading h1{
  font-size:clamp(27px,2.6vw,43px);
}

.page-heading p{
  max-width:760px;
  font-size:16px;
  line-height:1.45;
}

/* Keep the rules title special, but still singular. */
body[data-page="rules"] .page-heading{
  min-height:102px;
  background-image:
    linear-gradient(90deg,rgba(255,250,252,.95),rgba(255,231,241,.88)),
    url('../images/b3.jpg')!important;
}

/* Wider inner arrangements now have room to breathe. */
.card-grid{
  gap:18px;
}

.card-grid.three{
  grid-template-columns:repeat(3,minmax(210px,1fr));
}

.card-grid.two,
.map-grid{
  gap:18px;
}

.role-card{
  min-height:170px;
  padding:20px;
}

.role-card p{
  font-size:17px;
  line-height:1.65;
}

.channel-map{
  grid-template-columns:repeat(3,minmax(210px,1fr));
  gap:16px;
}

.panel{
  padding:18px;
}

.rule-group summary{
  padding:17px 20px;
}

.rule-group ol,
.rule-group>p{
  padding:8px 32px 22px;
}

/* Poll cards stay compact, but the page around them is no longer squeezed. */
body[data-page="poll"] .potd-stack{
  width:100%;
  max-width:920px;
  margin-inline:auto;
}

.poll-card{
  width:min(100%,680px);
  max-width:680px;
}

/* Slightly roomier fixed columns and widgets. */
.channel-sidebar{
  padding:10px;
}

.widget-sidebar{
  gap:16px;
}

.widget-sidebar .panel{
  padding:17px;
}

/* Make the header comfortably wide while preserving the small marquee height. */
.header-overlay{
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:20px;
}

.moving-title{
  min-width:0;
}

/* Responsive collapse before the desktop columns become cramped. */
@media(max-width:1180px){
  .site-header,.server-layout,footer{width:97vw}
  .server-layout{grid-template-columns:240px minmax(0,1fr);gap:14px}
  .widget-sidebar{display:none}
  .card-grid.three,.channel-map{grid-template-columns:repeat(2,minmax(200px,1fr))}
}

@media(max-width:820px){
  .server-layout{display:block;padding:0 8px 16px}
  .channel-sidebar{position:relative;top:auto;max-height:none;margin-bottom:14px}
  .page-heading{min-height:80px;padding:15px 16px}
  .page-heading h1{font-size:clamp(24px,8vw,34px)}
  .card-grid.three,.card-grid.two,.channel-map,.map-grid{grid-template-columns:1fr}
  .role-card{min-height:0}
}

/* v9 — spacious desktop layout and one title per page */
:root{--site-max:1480px}
.site-header,.server-layout,footer{width:min(var(--site-max),96vw);margin-inline:auto}
.server-layout{
  grid-template-columns:270px minmax(0,1fr) 250px;
  gap:18px;
  padding:14px;
  box-sizing:border-box;
}
.channel-header{display:none!important}
.main-column{min-width:0;width:100%}
.content{min-width:0;overflow:visible}
.page-heading{
  min-height:0;
  padding:18px 22px;
  margin-bottom:12px;
  align-items:center;
  background-size:cover!important;
  background-position:center!important;
}
.page-heading h1{font-size:clamp(28px,3vw,42px)}
.page-heading p{font-size:17px;line-height:1.45}
.signature{margin:18px 0}
.panel{padding:18px}
.card-grid{gap:18px}
.card-grid.three{grid-template-columns:repeat(3,minmax(210px,1fr))}
.card-grid.two{grid-template-columns:repeat(2,minmax(260px,1fr))}
.channel-map{grid-template-columns:repeat(3,minmax(210px,1fr));gap:16px}
.map-grid{grid-template-columns:repeat(2,minmax(280px,1fr));gap:18px}
.role-card{min-height:150px}
.role-card p{font-size:17px;line-height:1.6}
.rule-group summary{font-size:19px}
.rule-group li{font-size:17px;line-height:1.65}
.hero-card{padding:28px;gap:28px}
.hero-card>img{height:360px}
.bulletin-card{grid-template-columns:220px 1fr}
.bulletin-card img{height:180px}
.diary-entry{grid-template-columns:260px 1fr}
.diary-entry>img{height:220px}
.minecraft-hero,.support-hero{gap:26px}
.minecraft-hero img,.support-hero img{height:300px}
.gallery-grid{columns:4 210px;column-gap:16px}
.memory-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.sticker-gallery{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:16px}
.potd-stack{max-width:760px;margin-inline:auto}
.poll-card{width:100%;max-width:690px}
.widget-sidebar{top:112px}
.channel-sidebar{top:112px}

/* remove accidental title duplication from legacy decorative selectors */
body[data-page="rules"] .page-heading h1::after{content:" & guidelines"}
body:not([data-page="rules"]) .page-heading h1::after{content:none!important}

@media(max-width:1180px){
  .site-header,.server-layout,footer{width:97vw}
  .server-layout{grid-template-columns:240px minmax(0,1fr);gap:14px}
  .widget-sidebar{display:none}
  .card-grid.three,.channel-map{grid-template-columns:repeat(2,minmax(200px,1fr))}
  .gallery-grid{columns:3 200px}
}
@media(max-width:820px){
  .server-layout{display:block;padding:8px}
  .channel-sidebar{position:relative;top:auto;max-height:none;margin-bottom:12px}
  .channel-group{display:none}
  .channel-group:first-of-type{display:block}
  .page-heading{padding:15px 16px}
  .page-heading h1{font-size:clamp(24px,8vw,34px)}
  .card-grid.three,.card-grid.two,.channel-map,.map-grid{grid-template-columns:1fr}
  .hero-card,.minecraft-hero,.support-hero,.diary-entry,.bulletin-card{grid-template-columns:1fr}
  .hero-card>img,.minecraft-hero img,.support-hero img{height:auto;max-height:330px}
  .gallery-grid{columns:2 150px}
  .memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .site-header,.server-layout,footer{width:98vw}
  .gallery-grid{columns:1}
  .memory-grid{grid-template-columns:1fr}
  .panel{padding:14px}
}

/* v10 community feed + focused gallery */
.asset-strip{width:100%;margin:12px 0 18px;overflow:hidden;display:grid;place-items:center}.asset-strip img{display:block;width:100%;max-height:92px;object-fit:cover;object-position:center;border:2px solid var(--line);box-shadow:3px 3px 0 var(--shadow)}
.feed-shell{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;align-items:start}.feed-scroll{max-height:1120px;overflow:auto;padding-right:8px;scrollbar-color:var(--pink) #fff0f6}.feed-post{max-width:760px;margin:0 auto 18px;padding:14px}.feed-post header{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center}.feed-post header img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:3px solid #fff;outline:2px solid var(--line)}.feed-post header div{display:flex;flex-direction:column}.feed-post header b{font-family:var(--pixel);color:var(--rose);font-size:18px}.feed-post header span,.feed-post header small{font-size:13px;color:#9d647b}.feed-photo{width:100%;max-height:560px;object-fit:contain;background:#fff8fb;border:3px double var(--line);margin:12px 0}.feed-post footer{font-family:var(--pixel);font-size:13px;color:var(--rose);border-top:1px dashed var(--line);padding-top:9px}.moving-ad-stack{position:sticky;top:130px;display:grid;gap:10px}.moving-ad-stack img{width:100%;height:auto;max-height:88px;object-fit:contain;background:#fff8fb;border:2px solid var(--line);padding:5px;box-shadow:2px 2px 0 var(--shadow);animation:adFloat 4s ease-in-out infinite}.moving-ad-stack img:nth-child(even){animation-delay:-2s}@keyframes adFloat{50%{transform:translateY(-4px)}}
body[data-page="feed"]{background-image:linear-gradient(#fff9fbd9,#fff9fbd9),url('../images/g.jpg');background-size:auto,700px;background-attachment:fixed}
body[data-page="gallery"]{background-image:linear-gradient(#fff9fbe8,#fff9fbe8),url('../images/g1.jpg')!important;background-size:auto,760px!important;background-attachment:fixed!important}
.memory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;align-items:start}.memory-grid .gallery-item{margin:0}.memory-grid .gallery-item img{width:100%;height:auto;max-height:520px;object-fit:contain}
@media(max-width:980px){.feed-shell{grid-template-columns:1fr}.feed-rail{display:none}.feed-scroll{max-height:none;overflow:visible}}


/* v11 — top join button, unified pink dividers, repaired event memories */
.channel-sidebar > .pixel-btn.full{display:block;margin:10px 4px 12px;width:calc(100% - 8px);position:relative;z-index:3}
.pink-divider-wrap{position:relative;display:grid;place-items:center;margin:20px 0 18px;min-height:74px;overflow:hidden}
.pink-divider-wrap img{width:100%;height:74px;object-fit:cover;object-position:center;display:block;border:2px solid var(--line);background:#fff8fc}
.pink-divider-wrap span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:88%;padding:5px 16px;background:#fff9f0e8;border:1px solid #f2a7c4;color:#a64670;font-family:var(--symbols);font-size:clamp(13px,1.15vw,18px);text-align:center;white-space:nowrap;box-shadow:2px 2px 0 #eaa4bd77}
.asset-strip.pink-only{height:78px;margin:10px 0 18px;border:2px solid var(--line);background:#fff8fc;overflow:hidden}
.asset-strip.pink-only img{width:100%;height:100%;object-fit:cover;object-position:center}
.pink-event-ribbon{height:78px!important;overflow:hidden;margin:8px 0 16px}
.pink-event-ribbon img{width:100%!important;height:78px!important;max-height:none!important;object-fit:cover!important;object-position:center!important}
body[data-page="events"] .event-card img{display:block;width:100%;height:230px;object-fit:cover;background:#fff8fc}
body[data-page="events"] .event-card{overflow:hidden}
body[data-page="events"] .event-card .tag{margin-top:10px}
@media(max-width:780px){.pink-divider-wrap{min-height:58px}.pink-divider-wrap img{height:58px}.pink-divider-wrap span{font-size:12px;white-space:normal;width:82%}.asset-strip.pink-only,.pink-event-ribbon,.pink-event-ribbon img{height:58px!important}body[data-page="events"] .event-card img{height:210px}}

/* v12 — calmer dividers, community diary imagery, cleaner comment composer */
.soft-section-heading{
  margin:24px 0 14px;
  padding:8px 12px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  overflow:hidden;
  color:var(--rose);
  font-family:var(--symbols);
  font-weight:500;
  font-size:clamp(13px,1.15vw,18px);
  line-height:1.35;
  text-align:center;
}
.soft-section-heading::before,
.soft-section-heading::after{
  content:"";
  flex:1 1 80px;
  max-width:170px;
  border-top:1px dashed var(--line);
}
.soft-section-heading span{
  font-family:var(--pixel);
  font-size:clamp(15px,1.25vw,20px);
  white-space:nowrap;
}
/* hide the long ornament text visually but preserve a tiny sparkle-like rhythm */
.soft-section-heading{font-size:0}
.soft-section-heading span{font-size:clamp(15px,1.25vw,20px)}

.diary-entry>img{
  width:100%;
  height:260px;
  object-fit:cover;
  object-position:center;
  background:#fff8fb;
  border:2px solid var(--line);
}
.composer-profile{grid-template-columns:64px minmax(0,1fr)!important}
.composer-profile>.pixel-btn{display:none!important}
.comment-zone>.soft-section-heading{margin-top:28px}

/* prevent old empty decorative bars from occupying space */
.page>.asset-strip:first-of-type,
.page>.asset-strip.pink-only:first-of-type{display:none!important}
.pink-divider-wrap:empty,.asset-strip:empty{display:none!important}

body[data-page="roles"] .card-grid,
body[data-page="channels"] .channel-map,
body[data-page="gallery"] .memory-grid{margin-bottom:22px}

@media(max-width:820px){
  .soft-section-heading span{white-space:normal}
  .diary-entry>img{height:220px}
}

/* v13: community feed interactions + simplified comment placement */
.feed-actions{display:flex!important;flex-wrap:wrap;gap:8px!important;align-items:center}
.feed-actions button{border:0;background:transparent;color:var(--rose);font-family:var(--pixel);cursor:pointer;padding:5px 7px}
.feed-actions button:hover{background:var(--pink2)}
.feed-comment-area{margin-top:10px;border-top:1px dashed var(--line);padding-top:10px}
.feed-comment-list{display:grid;gap:8px}.feed-note{display:grid;grid-template-columns:38px 1fr;gap:8px;background:var(--soft);border:1px solid var(--line);padding:8px}.feed-note img{width:38px;height:38px;border-radius:50%;object-fit:cover}.feed-note p{margin:2px 0}.feed-note small{font-size:11px;color:#9d647b}.feed-empty{text-align:center;color:#9d647b}
.feed-comment-compose{display:flex;gap:8px;align-items:center;margin-top:9px}.feed-comment-compose>img{width:38px;height:38px;border-radius:50%;object-fit:cover}.feed-comment-input{flex:1;min-width:0;border:2px solid var(--line);padding:9px;background:#fff;font-family:var(--body);font-size:15px}
.sticker-button-wall{margin-top:10px;grid-template-columns:repeat(auto-fill,minmax(105px,1fr))}.sticker-button-wall .ad-card{min-height:105px;padding:8px}.sticker-button-wall .ad-card img{height:82px}


/* v14 — restore the compact heart ribbon and framed POTD composition */
body[data-page="poll"] .content{
  position:relative;
  overflow:visible;
}
body[data-page="poll"] .page-heading{
  margin-bottom:10px;
}
.poll-heart-ribbon{
  width:100%;
  min-height:62px;
  margin:8px 0 20px;
  padding:7px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:2px solid var(--line);
  background:
    linear-gradient(rgba(255,250,252,.82),rgba(255,250,252,.82)),
    url('../images/7.webp') center/cover repeat-x;
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.72);
}
.poll-heart-ribbon img{
  display:block;
  width:min(100%,760px);
  height:46px;
  object-fit:contain;
  image-rendering:auto;
  filter:drop-shadow(0 2px 0 rgba(255,255,255,.9));
}
body[data-page="poll"] .potd-stack{
  position:relative;
  width:100%;
  max-width:820px;
  margin:0 auto;
  padding:22px 28px 30px;
  border:1px solid rgba(233,146,181,.45);
  background:
    linear-gradient(rgba(255,249,252,.90),rgba(255,249,252,.90)),
    url('../images/7.webp') center top/420px auto repeat;
}
body[data-page="poll"] .potd-stack::before,
body[data-page="poll"] .potd-stack::after{
  content:"";
  position:absolute;
  inset:10px;
  pointer-events:none;
  border-left:2px solid rgba(233,146,181,.28);
  border-right:2px solid rgba(233,146,181,.28);
}
body[data-page="poll"] .poll-card{
  width:min(100%,680px);
  max-width:680px;
  margin-inline:auto;
}
@media(max-width:780px){
  .poll-heart-ribbon{min-height:50px;padding:5px 8px;margin-bottom:12px}
  .poll-heart-ribbon img{height:36px}
  body[data-page="poll"] .potd-stack{padding:14px 10px 20px}
}

/* exact Haniberry rules copy */
.rule-copy {
  padding: 1rem 1.15rem 1.2rem;
}
.rule-copy p {
  margin: 0 0 1rem;
  line-height: 1.75;
}
.rule-copy p:last-child {
  margin-bottom: 0;
}
.rules-final-divider {
  margin: 1.25rem auto 0;
  padding: .85rem 1rem;
  text-align: center;
  font-family: var(--font-symbols, "Noto Sans", sans-serif);
  color: var(--berry-dark, #a84468);
  overflow-wrap: anywhere;
}
