/* YueCircle 1.0 — an original Typecho theme inspired by social timelines. */
:root { --yc-green:#21a56a; --yc-blue:#597294; --yc-ink:#293542; --yc-fog:#f5f6f7; --yc-soft:#8d98a3; --yc-card:#fff; --yc-line:#eff0f0; }
body { background:linear-gradient(160deg,#eaf0ee 0%,#f4f5f5 26%,#eef0f0 100%); color:var(--yc-ink); font-size:14px; }
.app-shell { max-width:752px; margin:32px auto; border-radius:4px; box-shadow:0 18px 68px rgba(21,40,49,.085); background:var(--yc-card); overflow:clip; min-height:80vh; }
.topbar { height:56px; grid-template-columns:115px 1fr 115px; border-bottom:0; background:rgba(255,255,255,.94); }
.topbar-title { font-size:15px; letter-spacing:.05em; color:#303c46; font-weight:650; }
.topbar-side { padding-left:22px; }
.topbar-right { padding-right:17px; gap:3px; }
.icon-button { width:35px; height:35px; color:#687682; }
.icon-button svg { width:19px; height:19px; }
.icon-button:hover { color:var(--yc-green); background:#eff8f3; }
.profile-hero.yc-hero { border-bottom:0; }
.yc-hero .profile-cover { height:285px; position:relative; background-position:center center; background-size:cover; }
.yc-cover-label { position:absolute; left:28px; top:24px; display:flex; gap:9px; align-items:center; color:rgba(255,255,255,.91); letter-spacing:.23em; font-size:10px; text-shadow:0 2px 15px #354a5480; font-weight:700; }
.yc-cover-mark { font-size:24px; line-height:1; font-weight:400; }
.yc-cover-caption { position:absolute; left:30px; bottom:27px; color:#fff; text-shadow:0 2px 17px #263c44a6; font-size:13px; letter-spacing:.09em; }
.yc-hero .profile-nameplate { padding:0 30px 24px; min-height:119px; }
.yc-hero .profile-identity { transform:translateY(-59px); height:88px; margin-bottom:-42px; gap:15px; }
.yc-hero .profile-identity h1 { font-size:21px; font-weight:650; color:white; text-shadow:0 2px 10px #18313baa; margin:-14px 0 0; white-space:nowrap; }
.yc-hero .profile-identity img { width:88px; height:88px; border:3px solid #fff; border-radius:8px; box-shadow:0 5px 13px #1b313a27; }
.yc-hero .profile-bio { font-size:12px; color:#98a0a5; margin:0; line-height:1.75; }
.yc-hero .profile-location { font-size:11px; color:#b3b9bd; margin-top:3px; }
.profile-hero .cover-decoration { display:none; }
.timeline { padding:0 0 12px; }
.timeline-caption { padding:24px 34px 9px; gap:10px; font-size:11px; color:#b3b8bc; letter-spacing:0; }
.yc-timeline-spark { color:#7ebaa3; font-size:19px; line-height:1; }
.timeline-rule { margin-left:5px; background:#eef0ee; }
.timeline-label { font-size:10px; color:#c5cbca; }
.yc-timeline-tools { display:flex; align-items:center; justify-content:space-between; padding:13px 35px 17px; border-bottom:1px solid #eff0f1; }
.yc-timeline-tools > div { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; }
.yc-timeline-tools strong { font-size:17px; font-weight:650; letter-spacing:.03em; }
.yc-timeline-tools small { color:#b2bab9; font-size:11px; }
.yc-date-filter { padding:6px 10px; border:1px solid #e7e9e8; border-radius:7px; display:flex; align-items:center; gap:5px; color:#81918d; background:#fff; }
.yc-date-filter svg { width:13px; height:13px; }
.yc-date-filter select { border:0; background:transparent; font-size:11px; cursor:pointer; color:inherit; max-width:100px; outline:none; }
.moment { padding:25px 35px 27px; gap:13px; border-bottom:1px solid #edf0f0; }
.moment-avatar { flex:0 0 46px; width:46px; }
.moment-avatar img { height:46px; width:46px; border-radius:5px; }
.moment-author { color:var(--yc-blue); font-size:15px; font-weight:650; margin:-3px 0 5px; }
.moment-heading { font-size:15px; line-height:1.5; color:#344351; font-weight:580; }
.moment-copy { color:#37404a; font-size:14px; line-height:1.82; margin:4px 0 11px; }
.photo-grid { width:min(100%,472px); gap:5px; margin:9px 0 12px; }
.photo-grid.two { max-width:310px; }
.photo-grid.single { max-width:255px; }
.photo-item { border-radius:2px; }
.moment-meta { margin:10px 0 2px; color:#9ca6aa; font-size:11px; }
.moment-time a { color:#a2afb4; }
.moment-action-trigger { border-radius:5px; background:#eaf0f1; color:#64809b; width:36px; height:26px; }
.moment-actions { background:#3c4247; }
.moment-actions::after { background:#3c4247; }
.moment-social { width:min(100%,480px); background:#f5f6f7; border-radius:4px; padding:8px 12px; margin-top:9px; }
.moment-like-line { color:#5f7591; font-size:12px; }
.moment-comments-preview { border-color:#e7e9eb; }
.moment-view-comments { color:#8a99a3; }
.moment-pinned-tag { font-size:10px; background:#edf7f1; color:#339a6d; padding:2px 6px; border-radius:3px; font-weight:500; }
.yc-music-card { display:flex; align-items:center; gap:13px; background:linear-gradient(112deg,#f4f1ea,#faf9f6); padding:13px; border-radius:7px; width:min(100%,380px); margin:11px 0; }
.yc-record,.yc-small-record { display:grid; place-items:center; color:#f7f9f8; border-radius:50%; background:repeating-radial-gradient(circle at center,#353d43 0 2px,#252c30 3px 4px); border:3px solid #525a5b; font-size:21px; }
.yc-record { width:58px; height:58px; flex-shrink:0; }
.yc-music-info { flex:1; min-width:0; display:flex; flex-direction:column; }
.yc-music-info strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:13px; font-weight:650; }
.yc-music-info span { color:#a2a8a9; font-size:11px; margin-top:4px; }
.yc-inline-play { background:#fff; color:#609c86; border:1px solid #e6e8e6; width:34px; height:34px; border-radius:50%; }
.yc-inline-play:hover { color:#25895f; border-color:#bdd8c7; }
.yc-music-card audio { display:none; }
.site-footer { padding:30px 20px 34px; border-top:1px solid #eff1f1; }
.site-footer p { color:#9faeac; }
.page-nav .current { background:#32ad7a; border-color:#32ad7a; }
.page-nav a:hover { background:#f1faf6; color:#278d62; }
.yc-floatbar { position:fixed; top:43%; left:calc(50% + 393px); display:flex; flex-direction:column; gap:9px; z-index:15; }
.yc-floatbar button { display:grid; place-items:center; height:43px; width:43px; border-radius:11px; background:rgba(255,255,255,.94); color:#8b999c; border:1px solid #eaeded; box-shadow:0 7px 16px #2b44440c; font-weight:600; font-size:22px; }
.yc-floatbar svg { width:17px; }
.yc-floatbar button:hover { color:#24a16d; transform:translateY(-1px); }
.yc-overlay { position:fixed; inset:0; z-index:150; display:grid; place-items:center; padding:20px; }
.yc-modal-backdrop { position:absolute; inset:0; background:#1524239c; backdrop-filter:blur(7px); }
.yc-search-card { width:min(100%,475px); position:relative; z-index:1; border-radius:15px; background:#fff; padding:34px; box-shadow:0 24px 70px #0003; }
.yc-search-close { position:absolute; right:19px; top:16px; border:0; background:none; color:#7b8b91; }
.yc-modal-eyebrow { font-size:10px; color:#80b69f; letter-spacing:.2em; }
.yc-search-card h2 { margin:9px 0 23px; font-size:23px; font-weight:600; }
.yc-search-card form { display:flex; align-items:center; border:1px solid #dfe6e3; padding:6px 6px 6px 13px; border-radius:8px; gap:8px; }
.yc-search-card form svg { color:#97a6a3; width:17px; }
.yc-search-card form input { min-width:0; flex:1; border:0; outline:none; background:transparent; padding:8px 0; font-size:13px; }
.yc-search-card form button { border:0; background:#27a66f; color:#fff; border-radius:6px; padding:10px 15px; font-size:12px; }
.yc-search-card p { color:#a5b1ae; font-size:12px; margin:12px 0 0; }
.yc-global-player { position:fixed; bottom:24px; left:max(20px,calc(50% + 395px)); display:flex; gap:9px; align-items:center; border-radius:11px; background:#fff; border:1px solid #eaeeee; box-shadow:0 12px 35px #16312c18; padding:9px 10px; z-index:16; min-width:180px; max-width:245px; }
.yc-global-player .yc-small-record { width:32px; height:32px; font-size:15px; border-width:2px; }
.yc-global-player span { flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; color:#637271; }
.yc-global-player button { border:0; background:#e6f5ed; color:#29a16c; width:29px; height:29px; border-radius:50%; font-size:11px; }
.yc-music-compose { border-top:1px solid #f0f1f2; margin-top:13px; }
.yc-music-toggle { display:flex; width:100%; gap:13px; align-items:center; text-align:left; padding:15px 6px; border:0; background:transparent; color:#79988c; font-size:21px; }
.yc-music-toggle span { color:#465358; font-size:13px; }
.yc-music-toggle small { color:#a3aeb3; flex:1; font-size:11px; }
.yc-music-toggle b { color:#aaa; font-weight:400; }
.yc-music-inputs { display:grid; grid-template-columns:1fr 1.4fr; gap:10px; margin:5px 0 18px; }
.yc-music-inputs label { font-size:11px; color:#8c969e; }
.yc-music-inputs input { width:100%; margin-top:5px; border:1px solid #e0e8e3; border-radius:7px; padding:9px 10px; min-width:0; font-size:12px; }
.yc-music-inputs p { grid-column:1/-1; color:#acb3b5; font-size:11px; margin:0; }
.yc-search-card :focus-visible,.yc-date-filter :focus-visible { outline:2px solid #5ebc91; }
html[data-theme="dark"] { --yc-ink:#e4e9eb; --yc-card:#20292e; --yc-fog:#2b373d; --yc-line:#37454a; }
html[data-theme="dark"] body { background:#161f24; }
html[data-theme="dark"] .app-shell { background:var(--yc-card); }
html[data-theme="dark"] .topbar { background:#20292e; }
html[data-theme="dark"] .topbar-title,html[data-theme="dark"] .yc-timeline-tools strong { color:#e3ebee; }
html[data-theme="dark"] .yc-hero .profile-identity img { border-color:#20292e; }
html[data-theme="dark"] .yc-timeline-tools,html[data-theme="dark"] .moment { border-color:#344045; }
html[data-theme="dark"] .yc-date-filter { background:#29363b; border-color:#3c494f; }
html[data-theme="dark"] .moment-social { background:#2d383e; }
html[data-theme="dark"] .yc-music-card { background:#2e393c; }
html[data-theme="dark"] .yc-music-info strong,html[data-theme="dark"] .yc-music-toggle span { color:#e0eaec; }
html[data-theme="dark"] .yc-inline-play { background:#394746; border-color:#465753; }
html[data-theme="dark"] .yc-floatbar button,html[data-theme="dark"] .yc-global-player,html[data-theme="dark"] .yc-search-card { background:#263238; border-color:#38484c; color:#e2eaeb; }
html[data-theme="dark"] .yc-global-player span { color:#c3d0d1; }
html[data-theme="dark"] .yc-search-card form { border-color:#435355; }
html[data-theme="dark"] .yc-search-card form input { color:#eaf0f0; }
html[data-theme="dark"] .yc-music-compose { border-color:#3e484c; }
html[data-theme="dark"] .yc-music-inputs input { background:#1e292e; border-color:#3c4d50; color:#e0e9e9; }
@media(max-width:900px) {
 .app-shell { margin:0 auto; max-width:752px; border-radius:0; box-shadow:none; }
 .yc-floatbar { left:auto; right:14px; top:auto; bottom:98px; }
 .yc-global-player { bottom:16px; left:auto; right:14px; max-width:215px; }
}
@media(max-width:560px) {
 body { font-size:13px; }
 .topbar { height:52px; grid-template-columns:74px 1fr 100px; }
 .topbar-side { padding-left:12px; }
 .topbar-right { padding-right:9px; }
 .topbar-title { font-size:15px; }
 .yc-hero .profile-cover { height:231px; }
 .yc-cover-label { left:15px; top:15px; font-size:9px; }
 .yc-cover-caption { left:16px; bottom:30px; font-size:11px; }
 .yc-hero .profile-nameplate { padding:0 18px 24px; min-height:105px; }
 .yc-hero .profile-identity { transform:translateY(-52px); height:77px; margin-bottom:-43px; gap:10px; }
 .yc-hero .profile-identity img { width:77px; height:77px; border-width:3px; border-radius:7px; }
 .yc-hero .profile-identity h1 { font-size:17px; margin-top:-10px; }
 .yc-hero .profile-bio { font-size:11px; }
 .timeline-caption { padding:19px 16px 6px; }
 .yc-timeline-tools { padding:12px 16px 15px; gap:7px; }
 .yc-timeline-tools strong { font-size:15px; }
 .yc-timeline-tools small { display:none; }
 .moment { padding:18px 15px 22px; gap:10px; }
 .moment-avatar { flex-basis:42px; width:42px; }
 .moment-avatar img { width:42px; height:42px; }
 .moment-author { font-size:14px; }
 .moment-copy { font-size:13px; }
 .moment-heading { font-size:14px; }
 .moment-social { width:100%; }
 .yc-floatbar { right:9px; bottom:69px; }
 .yc-floatbar button { width:37px; height:37px; border-radius:9px; }
 .yc-global-player { right:9px; bottom:12px; }
 .yc-music-inputs { grid-template-columns:1fr; }
 .yc-search-card { padding:27px 20px; }
 .yc-search-card h2 { font-size:21px; }
}
@media(max-width:340px){.yc-timeline-tools { padding-left:10px;padding-right:10px; }.yc-date-filter { padding:5px; }.moment { padding-left:10px;padding-right:10px; }}
/* Mobile keeps the timeline unobstructed; search is always in the top bar. */
@media (max-width:560px) { .yc-floatbar { display:none; } }
