/* Quiet the paper texture while preserving the notebook and photo collage. */
.notebook::before{background-image:linear-gradient(rgba(234,221,245,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(234,221,245,.22) 1px,transparent 1px)}
.about-intro-main,.about-more-text,.world-desc,.team-desc,.notice-body,.notice-body p{color:#65596f!important}
.notice-mini .notice-title{color:#655675}
.world-card,.playground-btn,.notice-mini{box-shadow:0 3px 12px rgba(107,86,127,.045)}
.world-primary-action{background:#88729e!important;color:#fff!important;border-radius:10px!important;font-weight:700!important;padding:8px 12px!important}
.scent .world-primary-action{background:#a4788d!important}
.world-secondary-action{background:transparent!important;color:#7b6c88!important;text-decoration:underline!important;text-underline-offset:4px;font-weight:500!important;padding:8px 6px!important}
.scent .world-secondary-action{color:#946b80!important}
.world-primary-action:hover{filter:brightness(.94)}
.world-secondary-action:hover{color:#574267!important}
/* One comment list and composer, docked in the post on desktop. */
.gallery-comment-dock{display:none}
.gallery-comment-list{min-height:0;overscroll-behavior-y:contain}
.gallery-comment-sheet{max-height:calc(100dvh - 20px)}
.gallery-comment-sheet-head,.gallery-comment-handle{touch-action:pan-x}
.gallery-comment-sheet-head{user-select:none;-webkit-user-select:none}
.gallery-comment-handle{flex-shrink:0}
.gallery-comment-sheet .gallery-comment-meta{flex-wrap:wrap;line-height:1.4}
@media(min-width:761px){
 .gallery-viewer-box{width:min(1080px,calc(100vw - 56px));max-height:92dvh}
 .gallery-viewer-content{grid-template-columns:minmax(0,1.3fr) minmax(350px,1fr);height:min(76dvh,760px);max-height:calc(92dvh - 65px)}
 .gallery-viewer-content .gallery-viewer-photo,.gallery-viewer-content .gallery-slide-track,.gallery-viewer-content .gallery-slide{height:100%;min-height:0}
 .gallery-viewer-content .gallery-slide img{width:100%;height:100%;max-height:100%;object-fit:contain}
 .gallery-viewer-content .gallery-post-side{display:flex;flex-direction:column;overflow:hidden;min-width:0;min-height:0;border-left:1px solid #eee8f1}
 .gallery-post-side>.gallery-action-row,.gallery-post-side>.gallery-liked-line,.gallery-post-side>.gallery-post-foot{flex-shrink:0}
 .gallery-post-side>.gallery-caption-line{flex:0 1 auto;max-height:20%;min-height:0;overflow:auto;line-height:1.65;color:#65596f}
 .gallery-post-side>.gallery-comments-toggle{display:none}
 .gallery-post-side>.gallery-post-foot{margin-top:0;padding-bottom:12px}
 .gallery-comment-dock{display:flex;flex:1;min-height:0;border-top:1px solid #eee8f1}
 .gallery-comment-sheet.is-docked{position:static;inset:auto;transform:none;width:100%;height:100%;max-height:none;border-radius:0;box-shadow:none}
 .is-docked>.gallery-comment-handle,.is-docked .gallery-comment-sheet-close{display:none}
 .is-docked>.gallery-comment-sheet-head{justify-content:flex-start;min-height:38px;padding:0 16px;border-bottom:0;touch-action:auto}
 .is-docked>.gallery-comment-sheet-head b{font-size:12px;font-weight:650;color:#8b7c95}
 .is-docked .gallery-comment-list{padding:0 16px 14px}
 .is-docked .gallery-comment-row{grid-template-columns:30px minmax(0,1fr) 26px;gap:8px}
 .is-docked .gallery-comment-avatar{width:30px;height:30px}
 .is-docked .gallery-comment-row.is-reply{margin-left:24px}
 .is-docked .gallery-comment-compose{padding:10px 12px 12px;overflow:visible}
 .is-docked .gallery-comment-compose-row{grid-template-columns:66px minmax(0,1fr) auto;gap:6px}
 .is-docked .gallery-comment-name,.is-docked .gallery-comment-text{font-size:13px}
 .is-docked .gallery-comment-send{font-size:12px;padding:0 10px}
 .is-docked .gallery-comment-emojis button{font-size:18px}
 .is-docked .gallery-comment-compose-hint{font-size:10px}
}
@media(max-width:760px){
 .gallery-comment-sheet{height:min(78dvh,740px)}
}

.gallery-comment-dock.is-admin .gallery-comment-name{display:none}
.gallery-comment-dock.is-admin .gallery-comment-compose-row{grid-template-columns:minmax(0,1fr) auto}
.is-docked .gallery-admin-custom-author{max-height:140px;overflow:auto}
@media(min-width:761px) and (max-height:700px){
 .gallery-viewer-content .gallery-post-side{overflow:auto}
 .gallery-comment-dock{flex:1 0 390px}
}
