/*
Theme Name: Moment
Author: Moment
Description: 深色朋友圈风格的响应式 WordPress 博客主题，支持前台动态、图片、点赞和评论。
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: qqblog
*/

*{box-sizing:border-box}
:root{scrollbar-color:#4e5664 #121416;scrollbar-width:thin}
:root{
  --bg:#101113;
  --panel:#17191b;
  --panel2:#242628;
  --text:#f5f5f5;
  --muted:#9da0a6;
  --blue:#91a4d2;
  --line:#2a2c2f;
  --accent:#d7d7d7;
}

html,body{margin:0;background:#050607;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.5;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-height:100vh}
*{scrollbar-width:thin;scrollbar-color:#4e5664 transparent}
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:#4e5664;border:2px solid transparent;border-radius:8px;background-clip:padding-box}
*::-webkit-scrollbar-thumb:hover{background:#707b8d;border:2px solid transparent;background-clip:padding-box}
a{color:inherit;text-decoration:none;transition:color .2s ease,background-position .45s ease}
a:hover{color:transparent;background:linear-gradient(100deg,#fff 20%,#9eb4e8 45%,#fff 70%);background-size:220% 100%;background-position:200% 0;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:link-shimmer 2.4s ease-in-out infinite alternate}
button,input,textarea{font:inherit}
button{color:inherit}
.app{width:100%;max-width:760px;margin:auto;background:#111316;min-height:100vh;overflow:hidden}
.hero{position:relative;height:650px;min-height:580px;background:#111316;overflow:hidden}
.hero-bg{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(14,15,18,.1) 0%,rgba(14,15,18,.2) 34%,rgba(14,15,18,.88) 72%,#111316 100%),
    radial-gradient(circle at 75% 35%,rgba(230,235,245,.32),transparent 10%),
    radial-gradient(circle at 50% 55%,rgba(120,145,180,.18),transparent 35%),
    linear-gradient(145deg,#60646b 0%,#30343b 42%,#111316 80%);
  filter:saturate(.72);
  background-position:center;background-size:cover;
}
.hero-bg:before{
  content:"";
  position:absolute;
  z-index:1;
  inset:-24px;
  background-image:inherit;
  background-position:center;
  background-size:cover;
  -webkit-mask-image:linear-gradient(to bottom,transparent 42%,rgba(0,0,0,.08) 52%,rgba(0,0,0,.7) 68%,#000 84%);
  mask-image:linear-gradient(to bottom,transparent 42%,rgba(0,0,0,.08) 52%,rgba(0,0,0,.7) 68%,#000 84%);
  filter:blur(20px);
  opacity:.88;
  pointer-events:none;
}
.hero:after{
  content:"";
  position:absolute;
  z-index:1;
  left:0;right:0;bottom:0;height:270px;
  background:linear-gradient(180deg,rgba(17,19,22,0) 0%,rgba(17,19,22,.12) 24%,rgba(17,19,22,.64) 72%,#111316 100%);
  pointer-events:none;
}
.hero-bg:after{
  content:"";position:absolute;inset:0;opacity:.3;
  background-image:radial-gradient(#fff 0 1px,transparent 2px);
  background-size:73px 73px;
  mask-image:linear-gradient(to bottom,transparent 0%,#000 30%,transparent 72%);
}
.safe-top{padding-top:max(22px,env(safe-area-inset-top))}
.hero-top{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;padding-left:38px;padding-right:38px}
.hero-spacer{display:block;width:72px;height:72px}
.round-btn{
  border:0;background:rgba(24,25,28,.86);box-shadow:0 7px 22px rgba(0,0,0,.15);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);cursor:pointer
}
.round-btn{width:72px;height:72px;border-radius:50%;font-size:39px;line-height:1}
.round-btn .iconfont{font-size:inherit}
.top-right{display:flex;gap:12px;align-items:center;transform:translate(10px,-42px)}
.top-right .round-btn{
  width:50px;height:50px;font-size:28px;
  background:transparent;box-shadow:none;border-radius:0;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
.profile{position:absolute;z-index:2;left:38px;right:38px;bottom:135px;display:flex;align-items:flex-end;gap:24px}
.profile-avatar{width:138px;height:138px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,.9);background:#ddd}
.profile-main{padding-bottom:8px}
.profile-name{font-size:24px;font-weight:600;letter-spacing:.3px;line-height:1.25;text-shadow:0 2px 10px #000}
.profile-signature{margin-top:8px;color:#f1f1f1;font-size:14px;line-height:1.5;text-shadow:0 2px 8px #000}
.view-count{margin-top:12px;font-size:14px;color:#f1f1f1}
.view-count strong{font-weight:500}.eye{font-size:20px;margin-right:6px;vertical-align:-2px}
.profile-nav{position:absolute;z-index:3;left:24px;right:24px;bottom:24px;display:grid;grid-template-columns:repeat(5,1fr)}
.profile-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:12px;cursor:pointer;color:#fff}
.profile-nav .iconfont{font-size:38px;line-height:1;font-weight:300}
.profile-nav b{font-size:14px;font-weight:400}
.profile-nav button.active b{font-weight:600}
main{background:#111316}
.feed{padding:0 28px}
.log-card{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:200px;margin:18px 0;padding:28px 32px;background:#27292b;border:1px solid rgba(255,255,255,.025);border-radius:12px;color:#f2f3f5;transition:background .2s ease,transform .2s ease}
.log-card:hover{color:#fff;background:#2d2f32;transform:translateY(-1px);-webkit-text-fill-color:initial}
.log-card-copy{display:flex;flex:1;min-width:0;min-height:136px;flex-direction:column;justify-content:space-between}
.log-card-copy h2{display:-webkit-box;overflow:hidden;margin:0;color:#f2f3f5;font-size:30px;line-height:1.45;font-weight:700;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.log-card-meta{display:flex;align-items:center;gap:22px;color:#a1a4aa;font-size:18px;line-height:1.3}
.log-card-meta span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.log-card-meta .iconfont{font-size:20px}
.log-card-meta time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.log-card-thumb{position:relative;flex:0 0 136px;width:136px;height:136px;overflow:hidden;border-radius:7px;background:#383a3d}
.log-card-thumb img{width:100%;height:100%;object-fit:cover}
.log-card-thumb>span{position:absolute;right:0;bottom:0;display:flex;align-items:center;gap:5px;padding:3px 7px;background:rgba(0,0,0,.52);color:#fff;font-size:14px}
.log-card-thumb>span .iconfont{font-size:16px}
.log-card:focus-visible{outline:2px solid #91a4d2;outline-offset:3px}
.post{padding:24px 0;border-bottom:1px solid #1a1a1a}
.post-head{display:flex;align-items:center;gap:18px}
.post-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#333;border:2px solid rgba(255,255,255,.12)}
.post-user{font-size:14px;color:#90a5d5;font-weight:600}
.post-entry-title{margin:10px 0 0;font-size:16px;line-height:1.5;font-weight:600;color:#f0f0f2}.post-entry-title a{color:inherit}
.post-more-wrap{position:relative;margin-left:auto}.post-more{border:0;background:transparent;font-size:26px;cursor:pointer;color:#eee;padding:0}.post-more:disabled{opacity:.5;cursor:wait}
.post-more .iconfont{font-size:23px}
.post-menu{position:absolute;z-index:8;right:36px;top:50%;display:flex;align-items:center;min-width:72px;height:38px;padding:0 4px;background:#48494b;border:0;border-radius:4px;box-shadow:0 5px 15px rgba(0,0,0,.25);transform:translateY(-50%);animation:post-menu-in .16s ease-out both}
.post-menu[hidden]{display:none!important}
.post-menu button{display:block;width:100%;height:30px;border:0;background:transparent;color:#fff;text-align:center;padding:0 12px;border-radius:3px;cursor:pointer;font-size:14px;line-height:30px}.post-menu button:hover{background:#5a5b5e;color:#fff}
@keyframes post-menu-in{from{opacity:0;transform:translate(8px,-50%)}to{opacity:1;transform:translate(0,-50%)}}
.post-text{font-size:14px;line-height:1.6;margin:10px 0 14px;color:#eee;white-space:pre-wrap;word-break:break-word}
.post-video{position:relative;width:min(100%,560px);margin:12px 0 14px;overflow:hidden;border-radius:8px;background:#090a0c;box-shadow:0 4px 18px rgba(0,0,0,.18)}
.post-head + .post-video{margin-top:12px}
.post-video iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;background:#090a0c}
.post-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:70vh;background:#000;object-fit:contain}
.post-video-native{background:#000}
.post-video-resolver{min-height:0;display:flex;flex-direction:column;background:#090a0c}
.post-video-resolving{display:grid;place-items:center;width:100%;aspect-ratio:16/9;flex:none;color:transparent;font-size:13px;background:linear-gradient(110deg,#737984 20%,#f0f2f5 40%,#737984 60%);background-size:220% 100%;background-clip:text;-webkit-background-clip:text;animation:video-loading-shimmer 2.2s linear infinite}
.post-video-resolver.is-resolving::after{content:"";display:block;flex:0 0 34px;height:34px}
@keyframes video-loading-shimmer{from{background-position:220% 0}to{background-position:-40% 0}}
.post-video-load{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid #3f4650;border-radius:7px;background:#202327;color:#f0f0f0;font:inherit;font-size:14px;cursor:pointer}
.post-video-load:hover{background:#2a2e34;color:#fff}.post-video-load .iconfont{color:#1296DB;font-size:20px}
.post-video-portrait{width:min(100%,300px)}
.post-video-portrait iframe{aspect-ratio:9/16}
.post-video>a{display:block;padding:7px 10px;background:#202327;color:#bfc5d2;font-size:12px;line-height:1.3;text-align:right;text-decoration:none}
.post-video>a{display:flex;align-items:center;justify-content:flex-end;gap:5px}.post-video-platform-icon{color:#1296DB;font-size:16px;line-height:1}
.post-video-source{display:flex!important;align-items:center;justify-content:flex-start!important;gap:6px;min-height:34px;box-sizing:border-box;padding:8px 10px!important;background:transparent!important;border:0!important;text-align:left!important;color:#aeb6c2!important;font-size:12px}.post-video-source .iconfont{font-size:14px;color:#8e98a6}
.post-video>a:hover{color:#fff}
.post-video>a,.post-video>a:hover,.post-video-card,.post-video-card:hover,.post-video-card:hover *{background-image:none;animation:none;background-clip:border-box;-webkit-background-clip:border-box;-webkit-text-fill-color:currentColor}
.post-video-card{display:flex;align-items:center;gap:12px;width:min(100%,420px);box-sizing:border-box;margin:12px 0 14px;padding:14px 16px;border:1px solid #34383f;border-radius:8px;background:#202327;color:#eee;text-decoration:none;transition:border-color .15s ease,background .15s ease}
.post-video-card:hover{border-color:#59616d;background:#262a2f;color:#fff}
.post-video-card-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#15171a;color:#fff;font-size:17px;padding-left:2px}
.post-video-card span:last-child{display:flex;min-width:0;flex-direction:column;gap:3px}
.post-video-card strong{font-size:14px;font-weight:600}
.post-video-card small{color:#aab0ba;font-size:12px;line-height:1.45}
.post-music{width:min(100%,420px);margin:12px 0 14px;overflow:hidden;border-radius:3px;background:#303030;box-shadow:0 3px 14px rgba(0,0,0,.16)}
.post-music-resolver{min-height:104px}
.post-music-resolving{display:grid;place-items:center;min-height:104px;color:transparent;font-size:13px;background:linear-gradient(110deg,#737984 20%,#f0f2f5 40%,#737984 60%);background-size:220% 100%;background-clip:text;-webkit-background-clip:text;animation:video-loading-shimmer 2.2s linear infinite}
.post-music-player{position:relative;display:flex;align-items:center;gap:9px;min-height:84px;padding:8px 10px;box-sizing:border-box;background:#343434;isolation:isolate;overflow:hidden}.post-music-player::before{content:"";position:absolute;z-index:-2;inset:-24px;background-image:var(--music-cover);background-position:center;background-size:cover;filter:blur(22px);opacity:.58;transform:scale(1.12)}.post-music-player::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(18,18,18,.2) 0%,rgba(24,24,24,.58) 55%,rgba(18,18,18,.06) 100%)}.post-music-cover-image{display:block;position:relative;z-index:1;flex:0 0 84px;width:84px;height:84px;object-fit:cover;border-radius:0;background:#222}.post-music-player .post-music-info{position:relative;z-index:1;display:flex;min-width:0;min-height:74px;flex:1;justify-content:center;gap:3px;padding-right:38px}.post-music-player .post-music-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eee;font-size:16px;font-weight:500}.post-music-player .post-music-info small{overflow:hidden;color:#d0d0d0;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.post-music-platform{position:absolute;right:3px;bottom:2px;color:rgba(255,255,255,.62);font-size:13px}.post-music-audio{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.music-play-toggle{position:absolute;z-index:2;right:5px;top:50%;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;background:transparent;color:#f1f1f1;font-size:17px;line-height:1;cursor:pointer;transform:translateY(-50%)}.music-play-toggle:hover{color:#fff}.music-play-toggle.is-playing{font-size:14px}.post-music-source{display:block;padding:5px 10px;background:#26282b;color:#aeb6c2;font-size:11px;text-align:right;text-decoration:none}.post-music-source:hover{color:#fff}.post-music-retry{width:100%;min-height:104px;border:0;background:transparent;color:#aeb6c2;font:inherit;cursor:pointer}.post-music-retry:hover{color:#fff}
.post-music iframe{display:block;width:100%;height:86px;border:0}
.post-music>a{display:block;padding:5px 10px;background:#26282b;color:#bfc5d2;font-size:11px;text-align:right;text-decoration:none}
.post-music-card{display:flex;align-items:center;gap:9px;width:min(100%,462px);height:84px;box-sizing:border-box;margin:12px 0 14px;padding:10px;background:#303030;color:#f0f0f0;text-decoration:none;transition:background .18s ease}
.post-music-card:hover{background:#363636;color:#fff}
.post-music-cover{display:block;flex:0 0 74px;width:74px;height:64px;background:linear-gradient(145deg,#c7c2b5 0%,#e5e1d9 42%,#807b6f 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.post-music-cover-qqmusic{background:linear-gradient(145deg,#4bb38a,#16684f)}
.post-music-info{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}.post-music-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:500}.post-music-info small{overflow:hidden;color:#b4b4b4;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.post-music-play{padding:0 12px;font-size:22px;color:#f3f3f3}
.post-music-card,.post-music-card:hover,.post-music-card:hover *{background-image:none;animation:none;background-clip:border-box}
.post-music-source{display:flex;align-items:center;justify-content:flex-end;gap:5px;padding:5px 10px;background:#26282b;color:#aeb6c2;font-size:11px;text-align:right}
.post-music-source .iconfont{font-size:15px}.post-music-source[data-platform="tencent"] .iconfont{color:#F5C700}.post-music-source[data-platform="netease"] .iconfont{color:#DD001B}
.post-music-source{color:#aeb6c2;text-decoration:none}
.post-music-platform-svg{display:block;width:18px;height:18px;flex:0 0 18px}
.post-grid{display:grid;gap:4px;max-width:100%;grid-template-columns:repeat(3,1fr)}
.post-head + .post-grid{margin-top:12px}
.post-grid.one{display:block;width:fit-content;max-width:100%;background:transparent}
.post-grid:not(.one){width:max-content;grid-template-columns:repeat(3,170px);grid-auto-rows:170px}
.post-grid.two{grid-template-columns:repeat(2,170px)}
.post-grid img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#242628;cursor:pointer;min-width:0;min-height:0}
.post-grid:not(.one) img{width:170px;height:170px;aspect-ratio:1/1;object-fit:cover}
.post-grid.one img{width:auto;height:420px;max-width:100%;max-height:420px;aspect-ratio:auto;object-fit:contain;background:transparent}
.post-meta{display:flex;align-items:center;justify-content:space-between;margin-top:12px;color:#909399;font-size:12px}
.post-actions{display:flex;gap:26px}
.post-actions button{border:0;background:none;color:#eee;font-size:25px;cursor:pointer;padding:0}
.post-actions button .iconfont{font-size:inherit}
.post-actions button.liked{color:#91a4d2}
.album-label{display:inline-flex;align-items:center;gap:8px;background:#292b2e;border-radius:7px;padding:6px 10px;margin-top:9px;color:#e5e5e5;font-size:12px}
.comments{margin-top:14px;padding:0 0 0 2px}
.like-line{color:#fff;font-size:13px;line-height:1.5;padding:2px 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.like-line .iconfont{font-size:19px;vertical-align:-2px;color:#91a4d2}.like-line span{color:#91a4d2;margin-left:7px}.comment{font-size:13px;line-height:1.55;padding:4px 0 8px;margin-bottom:6px;color:#f0f0f2}.comment-author,.comment-mention{color:#9299ad;text-decoration:none}.comment-author{font-weight:600}.comment-reply-label{color:#fff;margin-left:6px}.comment-colon{color:#f0f0f2;margin-left:2px}.comment-mention{font-weight:500}.comment[role="button"]{cursor:pointer}.comment[role="button"]:focus-visible{outline:1px solid #91a4d2;outline-offset:2px}.comment-author:hover,.comment-mention:hover{text-decoration:underline}
.comment{display:flex;align-items:flex-start;gap:9px}.comment-avatar{width:26px;height:26px;flex:0 0 26px;margin-top:3px;border-radius:50%;object-fit:cover;background:#292b2e}.comment-body{min-width:0;flex:1}.comment-line{display:block}.comment-time{display:block;margin-top:2px;color:#747983;font-size:11px;line-height:1.35}
.comment-reply-label{color:#fff}
.comment-sheet{position:fixed;inset:0;z-index:110;visibility:hidden;pointer-events:none;transition:visibility 0s linear .28s}
.comment-sheet.show{visibility:visible;pointer-events:auto;transition-delay:0s}
.comment-sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);opacity:0;transition:opacity .28s ease}
.comment-sheet.show .comment-sheet-backdrop{opacity:1}
.comment-panel{position:absolute;left:50%;bottom:0;width:min(100%,760px);display:flex;flex-direction:column;background:#232629;border-radius:0;box-shadow:0 -12px 40px rgba(0,0,0,.35);transform:translate(-50%,100%);transition:transform .32s cubic-bezier(.22,.8,.28,1)}
.comment-sheet.show .comment-panel{transform:translate(-50%,0)}
.comment-panel.is-dragging{transition:none}
.comment-panel-handle{width:42px;height:4px;margin:10px auto 2px;border-radius:4px;background:#65686d}
.comment-toolbar{display:flex;align-items:center;gap:24px;min-height:76px;padding:10px 24px 4px;color:#f1f2f3}
.comment-toolbar button{border:0;background:transparent;color:inherit;padding:0;font-size:35px;line-height:1;cursor:pointer}
.comment-toolbar button .iconfont{font-size:35px}
.comment-form{display:flex;gap:10px;align-items:flex-end;padding:0 30px calc(20px + env(safe-area-inset-bottom));background:#232629}
.comment-form{flex-wrap:wrap}
.comment-identity-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
.comment-identity-fields input{min-width:0;height:34px;padding:0 10px;border:1px solid #484c51;border-radius:6px;background:#303438;color:#f4f5f6;outline:0;font-size:13px}
.comment-identity-fields input:focus{border-color:#91a4d2;box-shadow:0 0 0 2px rgba(145,164,210,.16)}
.comment-identity-fields input::placeholder{color:#858990}
.comment-input-wrap{position:relative;flex:1;min-width:0;min-height:44px;height:auto;background:#36393d;border-radius:7px}
.comment-form textarea{display:block;width:100%;height:44px;min-height:44px;max-height:300px;overflow-y:hidden;resize:none;border:0;outline:0;background:transparent;color:#fff;border-radius:7px;padding:10px 16px;font-size:14px;line-height:24px}
.comment-reply-prefix{position:absolute;z-index:1;left:16px;top:10px;color:#9299ad;font-size:14px;line-height:24px;white-space:pre;pointer-events:none}.comment-reply-prefix.is-hidden{display:none}.comment-reply-prefix .comment-reply-label{color:#fff}.comment-reply-name{color:#9299ad}
.comment-form textarea::placeholder{color:#858990}
.comment-form button{height:44px;border:0;border-radius:7px;background:#dfe3eb;color:#151618;padding:0 18px;font-size:14px;font-weight:600;cursor:pointer}
.comment-form button:disabled{opacity:.5;cursor:wait}
body.comment-sheet-open{overflow:hidden}
body.image-modal-open{overflow:hidden}
.site-footer{position:fixed;left:14px;bottom:10px;z-index:20;display:flex;justify-content:flex-start;align-items:center;gap:8px;flex-wrap:wrap;max-width:calc(100vw - 28px);padding:4px 0;color:#747983;font-size:12px;text-align:left;pointer-events:none}.site-footer a{color:inherit;text-decoration:none;pointer-events:auto}.site-footer a:hover{text-decoration:underline}.site-footer-separator{color:#4e535a}.site-footer-visitor{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.site-footer-visitor-icon{font-size:14px;color:#747983}
.load-more{height:90px;display:flex;align-items:center;justify-content:center;gap:10px;color:#777;cursor:default}
.load-more[hidden],.empty[hidden]{display:none!important}
.load-more.retry{cursor:pointer}
.loader{display:inline-block;width:16px;height:16px;box-sizing:border-box;border:2px solid rgba(255,255,255,.16);border-top-color:#969da8;border-radius:50%;animation:spin .8s linear infinite}
.load-more:not(.loading) .loader{display:none}
.load-status-icon{display:none;font-size:16px;line-height:1}.load-more.done .load-status-icon{display:inline-block}
.empty{height:90px;display:flex;align-items:center;justify-content:center;text-align:center;padding:0;color:#666}
.single-app{width:100%;max-width:760px;min-height:100vh;margin:0 auto;background:#111316;color:#f3f4f5}
.single-topbar{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:56px 1fr 56px;align-items:center;height:76px;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.1);background:rgba(25,27,29,.68);box-shadow:0 8px 24px rgba(0,0,0,.14);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);text-align:center;font-size:20px}
.single-back,.single-edit{display:flex;align-items:center;justify-content:center;min-width:40px;height:44px;color:#f3f4f5}.single-back{justify-self:start;font-size:32px}.single-edit{justify-self:end;font-size:14px}.single-topbar-spacer{width:40px}
.single-content{padding:48px 44px 100px}
.single-title{margin:0 0 38px;color:#f4f4f5;font-size:38px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.single-author{display:flex;align-items:center;gap:16px;margin-bottom:42px}
.single-author>img{width:72px;height:72px;flex:0 0 72px;border:2px solid rgba(255,255,255,.16);border-radius:50%;object-fit:cover;background:#292b2e}
.single-author>div{display:grid;gap:7px}.single-author-name{font-size:18px;font-weight:600;color:#f2f3f4}.single-author time{color:#888c93;font-size:15px}
.single-entry-content{color:#e5e6e8;font-size:21px;line-height:1.9;overflow-wrap:anywhere}
.single-entry-content p{margin:0 0 18px}.single-entry-content h2,.single-entry-content h3{margin:32px 0 14px;color:#f1f2f3;line-height:1.45}
.single-entry-content h2{font-size:26px}.single-entry-content h3{font-size:22px}
.single-entry-content a{color:#8da9ee}.single-entry-content ul,.single-entry-content ol{padding-left:1.5em;margin:18px 0}
.single-entry-content img,.single-entry-content video,.single-entry-content iframe{max-width:100%;height:auto}
.single-entry-content img{cursor:zoom-in}
.single-entry-content figure{max-width:100%;margin:32px 0}.single-entry-content figure img{display:block;width:100%;height:auto}
.single-entry-content figcaption{padding-top:8px;color:#92959b;font-size:14px;text-align:center}
.single-entry-content pre{max-width:100%;overflow:auto;padding:18px;background:#1d2023;border-radius:6px;font-size:15px}
.single-entry-content blockquote{margin:22px 0;padding:4px 0 4px 18px;border-left:3px solid #56667f;color:#b9bdc4}
.single-featured-image{margin:0 0 28px}.single-featured-image img{display:block;width:100%;height:auto}
.single-actions-row{display:flex;align-items:center;justify-content:space-between;margin-top:38px;padding:18px 0;color:#92969e;font-size:15px}
.single-view-count,.single-actions{display:flex;align-items:center;gap:24px}.single-view-count .iconfont{font-size:20px}
.single-actions{gap:30px}.single-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:34px;min-height:36px;padding:0;border:0;background:transparent;color:#e8e9eb;font-size:25px;cursor:pointer}.single-action .iconfont{font-size:inherit}.single-action.is-liked{color:#91a4d2}.single-action:disabled{opacity:.5;cursor:wait}
.single-comments{padding:12px 0 64px;scroll-margin-top:90px}.single-comments-inner{padding-bottom:24px;border-bottom:1px solid #1a1a1a}.single-comments-title{margin:0 0 16px;color:#f1f2f3;font-size:15px;font-weight:600}
.single-comment-list{margin:0 0 4px}.single-comment-list>.comment-list,.single-comment-list .children{margin:0;padding:0;list-style:none}.single-comment-list .children{margin:6px 0 4px 16px;padding-left:12px}.single-comment-list li{margin:0;padding:0;list-style:none}.single-comment-item>.comment{padding:4px 0 8px;margin-bottom:6px;border-bottom:0}.single-comment-content{color:#f0f0f2;white-space:pre-wrap;overflow-wrap:anywhere}.single-comment-item .comment-author,.single-comment-item .comment-mention{color:#9299ad}.single-comments-empty,.single-comments-closed{color:#8d9198;font-size:13px}
.toast{position:fixed;left:50%;bottom:80px;transform:translate(-50%,20px);background:rgba(0,0,0,.82);color:#fff;padding:10px 18px;border-radius:8px;opacity:0;pointer-events:none;transition:.25s;z-index:50}
.toast.show{opacity:1;transform:translate(-50%,0)}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.94);z-index:100;display:none;align-items:center;justify-content:center;padding:30px}
.modal.show{display:flex}.modal img{max-width:96vw;max-height:90vh;object-fit:contain}.modal-close{position:absolute;top:18px;right:24px;border:0;background:none;color:#fff;font-size:45px;cursor:pointer}.modal-close .iconfont{font-size:inherit}
.no-script-feed{padding-bottom:40px}.no-script-feed .post-user a{text-decoration:none}.post button:disabled{opacity:.55;cursor:wait}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes link-shimmer{0%{background-position:200% 0}100%{background-position:-20% 0}}
.comment-author:hover,.comment-mention:hover,.site-footer a:hover{text-decoration:none}
@media(max-width:700px){
  .hero{height:620px;min-height:620px}
  .hero-top{padding-left:18px;padding-right:18px}.round-btn{width:54px;height:54px;font-size:30px}.top-right{gap:6px;transform:translate(8px,-38px)}.top-right .round-btn{width:42px;height:42px;font-size:25px}
  .hero-spacer{width:54px;height:54px}.profile{left:24px;right:24px;bottom:126px;gap:18px}.profile-avatar{width:112px;height:112px}.profile-name{font-size:20px}.profile-signature{font-size:13px;margin-top:6px}
  .profile-nav{left:10px;right:10px;bottom:16px}.profile-nav .iconfont{font-size:31px}.profile-nav b{font-size:13px}
  .feed{padding:0 14px}.post{padding:22px 0}.post-avatar{width:36px;height:36px}.post-head{gap:12px}.post-user{font-size:14px}.post-more{font-size:24px}.post-text{font-size:14px;margin:10px 0 12px}.post-meta{font-size:12px;margin-top:10px}.post-actions{gap:24px}.post-actions button{font-size:24px}.album-label{font-size:12px}.comments{padding:0}.comment{font-size:13px}.post-grid:not(.one){width:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto}.post-grid:not(.one) img{width:100%;height:auto;aspect-ratio:1/1}.post-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .post-video{width:100%;max-width:560px}.post-video-portrait{width:min(100%,280px)}
  .log-card{min-height:142px;gap:14px;margin:12px 0;padding:18px 16px;border-radius:9px}.log-card-copy{min-height:106px}.log-card-copy h2{font-size:20px;line-height:1.45;-webkit-line-clamp:2}.log-card-meta{gap:12px;font-size:13px}.log-card-meta .iconfont{font-size:16px}.log-card-thumb{flex-basis:96px;width:96px;height:96px}.log-card-thumb>span{font-size:12px}.log-card-thumb>span .iconfont{font-size:14px}
  .single-topbar{height:60px;padding:0 14px;font-size:17px;grid-template-columns:44px 1fr 44px}.single-back{font-size:28px}.single-content{padding:32px 22px 88px}.single-title{margin-bottom:26px;font-size:29px;line-height:1.4}.single-author{gap:12px;margin-bottom:30px}.single-author>img{width:58px;height:58px;flex-basis:58px}.single-author-name{font-size:16px}.single-author time{font-size:13px}.single-entry-content{font-size:17px;line-height:1.85}.single-entry-content h2{font-size:22px}.single-entry-content h3{font-size:19px}.single-entry-content figure{margin:24px 0}.single-stats{margin-top:28px;font-size:14px}
  .comment-toolbar{gap:18px;padding-left:18px;padding-right:18px}.comment-toolbar button,.comment-toolbar button .iconfont{font-size:30px}.comment-form{width:100%;min-width:0;padding-left:14px;padding-right:14px}.comment-identity-fields{grid-template-columns:1fr;gap:6px}.comment-identity-fields input{height:36px;font-size:16px}.comment-form textarea,.comment-reply-prefix{font-size:16px}.comment-form textarea,.comment-input-wrap{height:auto;min-height:42px;max-height:300px}.comment-form textarea{min-width:0;max-height:300px}.comment-form button{flex:0 0 auto;height:42px;padding-left:16px;padding-right:16px;font-size:14px}.comment-form textarea{line-height:22px;padding-top:10px}.comment-reply-prefix{top:10px;line-height:22px;font-size:16px}
}
@media(min-width:701px){
  body{
    background:
      radial-gradient(circle at 18% 16%,rgba(120,145,180,.09),transparent 28%),
      radial-gradient(circle at 82% 74%,rgba(230,235,245,.05),transparent 24%),
      #050607;
  }
  .app{box-shadow:0 0 50px rgba(0,0,0,.35)}
}

/* Interaction and accessibility refinements. */
.hero{height:500px;min-height:460px}
.hero-top{position:absolute;inset:0 0 auto;padding-top:max(22px,env(safe-area-inset-top));}
.top-right{transform:none}
.hero-bg{will-change:transform;transition:transform .18s ease-out}
.profile-nav button{position:relative;transition:color .2s ease,transform .2s ease}
.profile-nav button::after{content:"";position:absolute;left:50%;bottom:-10px;width:0;height:2px;border-radius:2px;background:#dfe3eb;transform:translateX(-50%);transition:width .24s ease}
.profile-nav button.active::after{width:22px}
.profile-nav button:hover,.profile-nav button:focus-visible{transform:translateY(-2px)}
.post,.log-card{--enter-delay:0ms}
.post.is-entering,.log-card.is-entering{animation:feed-item-in .42s cubic-bezier(.22,.8,.28,1) var(--enter-delay) both}
.post-actions button.is-bumping{animation:like-bump .42s cubic-bezier(.2,1.5,.35,1) both}
.feed-skeleton{display:grid;grid-template-columns:50px minmax(0,1fr);grid-template-rows:14px 14px;column-gap:12px;row-gap:10px;padding:24px 0}
.feed-skeleton span{display:block;height:14px;border-radius:5px;background:linear-gradient(90deg,#202326 20%,#2c3034 45%,#202326 70%);background-size:220% 100%;animation:skeleton-shimmer 1.6s ease-in-out infinite}
.feed-skeleton span:first-child{grid-row:1 / span 2;width:50px;height:50px;border-radius:50%}
.feed-skeleton span:nth-child(2){width:42%}.feed-skeleton span:nth-child(3){width:72%}
.modal{touch-action:none}
.modal img{opacity:0;transform:scale(.96);transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.3,1)}
.modal img.is-loaded{opacity:1;transform:scale(1)}
.modal-nav{position:absolute;top:50%;z-index:2;width:48px;height:48px;border:0;border-radius:50%;background:rgba(25,27,30,.62);color:#fff;cursor:pointer;transform:translateY(-50%);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.modal-prev{left:18px}.modal-next{right:18px}.modal-next-icon{display:inline-block;transform:rotate(180deg)}
.modal-count{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);color:#fff;font-size:13px;background:rgba(0,0,0,.52);padding:4px 10px;border-radius:12px}
.modal-nav[hidden]{display:none}
.modal-close{z-index:3;top:16px;right:16px;width:40px;height:40px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(20,22,25,.68);font-size:28px}
.modal-close .iconfont{font-size:28px}
a:hover{animation:link-shimmer .9s ease-out 1 both}
@keyframes feed-item-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes like-bump{0%{transform:scale(1)}45%{transform:scale(1.28)}100%{transform:scale(1)}}
@keyframes skeleton-shimmer{0%{background-position:200% 0}100%{background-position:-20% 0}}
@media(max-width:700px){
  .hero{height:380px;min-height:360px}
  .hero-top{padding-left:18px;padding-right:18px}
  .top-right{gap:6px}
  .profile{bottom:94px}.profile-nav{bottom:14px}
  .modal{padding:18px}.modal-nav{width:40px;height:40px}.modal-prev{left:10px}.modal-next{right:10px}.modal-close{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));width:34px;height:34px;font-size:24px}.modal-close .iconfont{font-size:24px}
  .comment-avatar{width:26px;height:26px;flex-basis:26px}
  .single-app .site-footer,.moment-page-app .site-footer{position:static;justify-content:center;max-width:none;padding:18px 14px 26px;text-align:center;pointer-events:auto}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Keep article actions aligned with the compact feed actions. */
.single-actions-row{margin-top:20px;padding:12px 0;font-size:12px}
.single-view-count{gap:4px}.single-actions{gap:26px}
.single-view-count .iconfont{font-size:19px}
.single-action{min-width:0;min-height:0;font-size:25px}
.single-like-count{font-size:12px;line-height:1}
@media(max-width:700px){
  .single-action{font-size:24px}.single-view-count .iconfont{font-size:18px}.single-like-count{font-size:12px}
}

/* Compact profile navigation and centered home footer. */
.profile-avatar{width:72px;height:72px}
.profile-nav .iconfont{font-size:22px}
.profile-nav b{font-size:12px}
.profile-nav button{gap:8px}
.app > .site-footer{left:14px;right:auto;bottom:max(10px,env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 28px);justify-content:flex-start;transform:none;text-align:left;pointer-events:auto}
@media(max-width:700px){
  .profile-avatar{width:72px;height:72px}
  .profile-nav .iconfont{font-size:22px}
  .profile-nav b{font-size:12px}
  .app > .site-footer{left:50%;right:auto;bottom:max(10px,env(safe-area-inset-bottom));justify-content:center;transform:translateX(-50%);text-align:center}
}

/* Preserve the platform colors from the music icon set. */
.music-play-toggle .iconfont{font-size:21px;line-height:1}

/* Circles / friend links page. */
.links-page-app{min-height:100vh;background:#111316;color:#f3f4f5}
.links-content{padding:34px 34px 18px}
.links-intro{padding:4px 0 30px;border-bottom:1px solid #1a1a1a}
.links-eyebrow{display:flex;align-items:center;gap:7px;margin:0 0 10px;color:#8f98aa;font-size:12px}
.links-eyebrow .iconfont{font-size:16px}
.links-intro h1{margin:0;color:#f3f4f5;font-size:28px;line-height:1.35}
.links-intro>p:last-child{margin:8px 0 0;color:#858b95;font-size:13px}
.links-groups{display:grid;gap:28px;padding:28px 0 36px}
.links-group{min-width:0}
.links-group-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.links-group-heading h2{margin:0;color:#e9eaec;font-size:17px;line-height:1.4;font-weight:600}
.links-group-heading p{margin:4px 0 0;color:#7d838d;font-size:12px;line-height:1.5}
.links-group-count{align-self:flex-end;margin:0 0 2px;color:#858b95;font-size:12px;line-height:1.5;white-space:nowrap;text-align:right}
.links-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.link-card{position:relative;display:flex;align-items:center;gap:11px;min-width:0;min-height:72px;padding:12px;background:#191b1e;border:1px solid #24272b;border-radius:7px;color:#f1f2f3;overflow:hidden;transition:transform .2s ease,border-color .2s ease,background .2s ease;background-clip:border-box;-webkit-background-clip:border-box;-webkit-text-fill-color:initial;animation:none}
.link-card::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(105deg,transparent 28%,rgba(255,255,255,.12) 45%,rgba(255,255,255,.03) 53%,transparent 70%);transform:translateX(-125%);opacity:0}
.link-card:hover{color:#f1f2f3;background:#202327;border-color:#3a414b;transform:translateY(-2px);-webkit-text-fill-color:initial;animation:none}
.link-card:hover::after{opacity:1;animation:link-card-shimmer 1.25s ease-out both}
.link-card>*{position:relative;z-index:1}
.link-card-avatar{width:40px;height:40px;flex:0 0 40px;border-radius:50%;object-fit:cover;background:#2a2d31}
.link-card-copy{display:grid;min-width:0;gap:3px}
.link-card-copy strong{overflow:hidden;color:#eef0f2;font-size:13px;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.link-card-copy small{display:-webkit-box;overflow:hidden;color:#858b95;font-size:11px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.link-card-icon{position:absolute;right:9px;bottom:8px;color:#646c78;font-size:12px}
.links-empty{margin:0;padding:14px 0;color:#707680;font-size:12px}
.link-submit{padding:20px 0 8px;border-top:1px solid #1a1a1a}
.link-submit-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.link-submit-heading h2{margin:0;color:#e9eaec;font-size:17px;font-weight:600}
.link-submit-heading p{margin:5px 0 0;color:#7d838d;font-size:12px}
.link-submit-heading>.iconfont{color:#667081;font-size:23px}
.link-submit-form{padding:15px;background:#191b1e;border:1px solid #24272b;border-radius:7px}
.link-submit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.link-submit-fields label{display:grid;gap:6px;min-width:0}
.link-submit-fields label>span{color:#949aa4;font-size:12px}
.link-submit-fields input,.link-submit-fields select,.link-submit-fields textarea{width:100%;border:1px solid #30343a;border-radius:5px;background:#111316;color:#edf0f2;outline:0;padding:9px 10px;font-size:13px;line-height:1.4}
.link-submit-fields input,.link-submit-fields select{height:38px}
.link-submit-fields textarea{min-height:76px;resize:vertical}
.link-submit-fields input:focus,.link-submit-fields select:focus,.link-submit-fields textarea:focus{border-color:#697993;box-shadow:0 0 0 2px rgba(105,121,147,.15)}
.link-submit-description{grid-column:1 / -1}
.link-submit-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.link-submit-actions button{height:38px;padding:0 16px;border:0;border-radius:6px;background:#dfe3eb;color:#151618;font-size:13px;font-weight:600;cursor:pointer}
.link-submit-actions button:disabled{opacity:.6;cursor:wait}
.link-submit-status{min-height:20px;color:#858b95;font-size:12px}
.link-submit-status.is-success{color:#9bbd9d}.link-submit-status.is-error{color:#d89a9a}.link-submit-status.is-loading{color:#aeb6c5}
@keyframes link-card-shimmer{from{transform:translateX(-125%)}to{transform:translateX(125%)}}
.message-content{padding:30px 34px 90px;background:#111316}
.message-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:2px 0 16px;border-bottom:1px solid #1a1a1a}
.message-heading h1{margin:0;color:#f3f4f5;font-size:16px;line-height:1.4;font-weight:600}
.message-write-btn{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 13px;border:1px solid #343b46;border-radius:6px;background:#1c2025;color:#dce1e8;font-size:13px;cursor:pointer;white-space:nowrap}
.message-write-btn:hover{border-color:#66748a;background:#252a31}
.message-write-btn .iconfont{font-size:16px}
.message-comments{padding-top:22px}
.message-comments .single-comments{padding:0 0 20px}
.message-comments .single-comments-inner{border-bottom:0;padding-bottom:0}
.message-comments .single-comments-title{display:none}
.message-comments .single-comment-item>.comment{padding:14px 0 16px;margin-bottom:0;border-bottom:0}
.message-comments .single-comments-inner{border-bottom:0}
.message-comments .single-comment-list .children{margin-left:22px;padding-left:14px;border-left:1px solid #1a1a1a}
@media(max-width:700px){
  .message-content{padding:24px 16px 82px}.message-heading{gap:12px;padding-bottom:14px}.message-heading h1{font-size:15px}.message-write-btn{height:34px;padding:0 11px;font-size:12px}.message-comments{padding-top:18px}
}

/* Imported RSS items keep the same feed rhythm but remain clearly external. */
.post-external .post-head{align-items:center;padding-bottom:0;border-bottom:0}
.post-external .post-user{display:flex;min-width:0;align-items:center}
.rss-post-source{display:block;width:max-content;margin-left:auto;color:transparent;font-size:11px;font-weight:400;line-height:1.35;background:linear-gradient(90deg,#f4e4c5 10%,#e9c3d4 35%,#9cbef7 55%,#84e5f4 100%);background-size:300% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:rss-source-shimmer 4.8s linear infinite}
.rss-post-title{max-width:100%;margin:10px 0 7px;font-size:16px;line-height:1.5;font-weight:600}
.rss-post-title a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rss-post-title a{color:#e7e9ed;text-decoration:none}
.rss-post-title a:hover{color:#fff}
.rss-post-text{margin:8px 0 12px;color:#c8cbd1;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:calc(1.65em * 3);overflow:hidden}
.rss-post-link{color:#8998b5;font-size:12px;text-decoration:none}
.rss-post-link:hover{color:#fff}
.post-external .post-meta{justify-content:space-between}
@media(max-width:700px){.rss-post-title{font-size:15px}.rss-post-text{font-size:13px;line-height:1.6;-webkit-line-clamp:3;max-height:calc(1.6em * 3)}}
@keyframes rss-source-shimmer{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@media(max-width:700px){
  .links-content{padding:26px 16px 12px}.links-intro h1{font-size:24px}.links-groups{gap:24px;padding-top:24px}.links-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.link-card{min-height:68px;padding:10px;gap:9px}.link-card-avatar{width:36px;height:36px;flex-basis:36px}.link-card-copy strong{font-size:12px}.link-card-copy small{font-size:10px}.link-card-icon{right:7px;bottom:6px;font-size:11px}.link-submit-fields{grid-template-columns:1fr}.link-submit-description{grid-column:auto}.link-submit-form{padding:12px}.link-submit-actions{align-items:flex-start;flex-direction:column-reverse}.link-submit-actions button{width:100%}
}
