/*
Theme Name: 栖夜 Qiye
Version: 1.0.0
Author: 站点工坊
Description: 独立制作的简洁城市阅读主题，大图介绍、横向推荐与时间顺序文章列表。
Text Domain: qiye
*/
:root{--paper:#f8f7f3;--ink:#252a2b;--muted:#747974;--line:#dddfd6;--accent:#d7dcbc;--olive:#59644e}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.8 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--olive)}button,input{font:inherit}button{cursor:pointer}a,button,input{touch-action:manipulation}img{display:block;max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.45;letter-spacing:-.025em}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #9aa779;outline-offset:4px}.xl-wrap{width:min(1160px,calc(100% - 64px));margin-inline:auto}.xl-header{background:#fafaf7;border-bottom:1px solid #d9d9cb}.xl-header-row{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:106px}.xl-brand{display:flex;gap:14px;align-items:center}.xl-brand-mark{display:grid;place-items:center;width:47px;height:47px;border:1px solid #929d83;color:#536048;border-radius:50%;font-family:serif;font-size:25px}.xl-brand strong{font-size:24px;font-weight:650;letter-spacing:.025em}.xl-brand small{display:block;font-size:9px;letter-spacing:.2em;color:#939789;margin-top:3px}#xl-nav{display:flex;gap:28px;align-items:center;font-size:14px}#xl-nav a[aria-current=page]{text-decoration:underline;text-underline-offset:8px}#xl-nav .xl-nav-all{padding:8px 15px;border:1px solid #cccfbf;border-radius:4px;font-size:12px}.xl-toggle{display:none}.xl-hero{position:relative;min-height:600px;display:flex;align-items:center;background:#313c3b;overflow:hidden}.xl-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 35%;filter:brightness(.8)}.xl-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#152021ed 0%,#182022ad 45%,#15202045 100%)}.xl-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.8fr);align-items:center;gap:60px;padding-block:65px;color:#fff}.xl-eyebrow{display:block;font-size:10px;letter-spacing:.17em;color:#87907c;margin-bottom:13px}.xl-hero .xl-eyebrow{color:#d4ddc4}.xl-hero h1{font-size:20px;font-weight:500;letter-spacing:.08em;margin:0 0 17px}.xl-hero-copy h2{font-size:clamp(29px,3.3vw,46px);font-weight:650;line-height:1.45;margin-bottom:23px}.xl-hero-copy p{font-size:14px;line-height:2;color:#e1e5dc;margin-bottom:30px}.xl-buttons{display:flex;gap:13px;flex-wrap:wrap}.xl-button,.xl-outline,.xl-dark-button{display:inline-flex;padding:11px 23px;border:1px solid #d9dfc9;font-size:12px;font-weight:600;border-radius:3px;align-items:center;justify-content:center}.xl-button{background:#d8dfc6;color:#27352d}.xl-button:hover{background:#eef2e5;color:#27352d}.xl-outline{color:#f0f3e9;background:#ffffff0a}.xl-outline:hover{color:#fff;background:#ffffff1c}.xl-dark-button{background:#303b34;border-color:#303b34;color:white}.xl-dark-button:hover{background:#536048;color:white}.xl-finder{background:#fafbf4f0;color:var(--ink);padding:32px;border:1px solid #ffffff85;border-radius:6px}.xl-finder .xl-eyebrow{color:#859070}.xl-finder h2{font-size:23px;font-weight:600}.xl-finder p{font-size:13px;color:#7e8377;margin-bottom:20px}.xl-search{display:flex;width:100%;min-width:0;border:1px solid #b7bfac;border-radius:3px;overflow:hidden;background:white}.xl-search input{padding:12px 13px;min-width:0;width:100%;border:0;background:none;color:var(--ink);font-size:12px}.xl-search button{flex-shrink:0;border:0;border-left:1px solid #b7bfac;background:#d6ddc5;color:#33412d;padding:0 16px;font-size:12px}.xl-search-links{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 25px}.xl-search-links a{font-size:10px;color:#6a735e;background:#e9eddc;padding:3px 8px;border-radius:3px}.xl-guide-link{display:block;padding-top:16px;border-top:1px solid #d8ddcd;font-size:12px;color:#667253}.xl-ribbon{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-block:21px;font-size:12px;color:#7b8274}.xl-ribbon p{margin:0}.xl-ribbon a{white-space:nowrap}.xl-section{padding-block:60px}.xl-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;padding-bottom:23px;margin-bottom:34px;border-bottom:1px solid var(--line)}.xl-section-head h2{font-size:31px;font-weight:600;margin:0}.xl-section-head>p,.xl-section-head>a{font-size:12px;color:#8c9185;margin:0}.xl-stories{display:flex;flex-direction:column;gap:28px}.xl-story{display:grid;grid-template-columns:310px minmax(0,1fr);gap:34px;padding-bottom:28px;border-bottom:1px solid var(--line);min-width:0}.xl-story:last-child{border-bottom:0}.xl-story-image{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:5px;background:#e1e3d9;align-self:start}.xl-story-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 26%;transition:transform .3s}.xl-story-image:hover img{transform:scale(1.025)}.xl-story-copy{display:flex;flex-direction:column;min-width:0;padding:9px 0 2px}.xl-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#919789;margin-bottom:13px}.xl-meta a{color:#738461}.xl-story h3{font-size:24px;line-height:1.6;margin-bottom:15px;font-weight:600}.xl-story p{color:#7c8278;font-size:14px;line-height:1.95;margin-bottom:17px}.xl-read{display:inline-flex;gap:16px;align-self:start;color:#556947;font-size:12px;margin-top:auto}.xl-topic-band{background:#ecefe5;border-top:1px solid #e0e4d8;border-bottom:1px solid #e0e4d8;padding-block:35px}.xl-two{display:grid;grid-template-columns:1fr 1fr;gap:50px}.xl-topic{display:block;min-width:0}.xl-topic>span{font-size:10px;letter-spacing:.12em;color:#87947c}.xl-topic>div{display:flex;justify-content:space-between;align-items:center;margin:14px 0}.xl-topic h2{font-size:26px;margin:0;font-weight:600}.xl-topic b{font-size:26px;font-weight:400}.xl-topic p{font-size:13px;color:#828b77;margin:0 0 18px}.xl-topic small{font-size:11px;color:#929b86}.xl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.xl-tile{display:flex;flex-direction:column;gap:0;padding:0;border:0}.xl-tile .xl-story-image{width:100%;aspect-ratio:4/3}.xl-tile .xl-story-copy{padding:20px 0 0;flex:1}.xl-tile h3{font-size:20px}.xl-tile p{font-size:13px}.xl-reading-note{border:1px solid #d7ddcc;border-radius:6px;text-align:center;background:#f0f2e9;padding:42px;margin-bottom:60px}.xl-reading-note h2{font-size:27px;font-weight:600}.xl-reading-note p{font-size:14px;color:#818979;line-height:1.9}.xl-reading-note .xl-dark-button{margin-top:10px}.xl-footer{background:#29312c;color:#d6dfd1;padding-top:45px}.xl-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1.3fr;gap:70px;padding-bottom:35px}.xl-footer .xl-brand-mark{color:#d5deca;border-color:#829075}.xl-footer .xl-brand strong{font-size:23px}.xl-footer p{font-size:12px;color:#98a691;line-height:1.9;margin-top:20px}.xl-footer h2{font-size:14px;font-weight:500;margin-bottom:20px}.xl-footer-grid>div>a:not(.xl-brand){display:block;font-size:12px;color:#a4b09d;margin-bottom:10px}.xl-bottom{padding-block:20px;border-top:1px solid #455040;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#8f9c86}.xl-breadcrumb{display:flex;gap:12px;flex-wrap:wrap;color:#8e9486;font-size:12px;margin-bottom:32px}.xl-archive-heading h1{font-size:38px;margin-bottom:17px;overflow-wrap:anywhere}.xl-archive-heading p{color:#868d7e;font-size:14px;max-width:700px}.xl-filters{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:30px 0 40px;padding-bottom:23px;border-bottom:1px solid var(--line)}.xl-filters nav{display:flex;gap:10px;flex-wrap:wrap}.xl-filters nav a{font-size:12px;padding:6px 12px;border:1px solid #d8dccd;border-radius:4px}.xl-filters nav a[aria-current=page]{background:#dce3cc;color:#4d5d40}.xl-filters .xl-search{max-width:350px}.xl-pagination{margin-top:35px}.xl-pagination .nav-links{display:flex;gap:9px;flex-wrap:wrap}.page-numbers{padding:6px 14px;border:1px solid #d8ddcd;border-radius:4px;font-size:13px}.page-numbers.current{background:#d8dfc7;color:#425334}.xl-empty{padding:40px;background:#eff2e7;border:1px solid var(--line);border-radius:6px}.xl-empty h2{font-size:24px}.xl-empty p{color:var(--muted)}.xl-reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:60px;align-items:start}.xl-article{min-width:0}.xl-article h1{font-size:35px;margin:8px 0 23px;line-height:1.6;overflow-wrap:anywhere}.xl-article-photo{margin:30px 0}.xl-article-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 26%;border-radius:5px}.xl-article-photo figcaption{color:#a1a797;font-size:10px;margin-top:7px}.xl-prose{font-size:16px;line-height:2;color:#626d5f;overflow-wrap:anywhere}.xl-prose h2{font-size:24px;color:#35432e;line-height:1.55;margin:35px 0 17px;font-weight:600}.xl-prose p{margin-bottom:26px}.xl-prose a{color:#526b3e;text-decoration:underline;text-underline-offset:4px}.xl-prose .xl-lead{font-size:19px;color:#6d7d5d;border-left:3px solid #c7d0b2;padding-left:18px}.xl-article-note{border-top:1px solid var(--line);padding-top:25px;margin-top:40px;font-size:12px;color:#8e9984}.xl-aside{border-left:1px solid #d8ddcc;padding-left:28px}.xl-aside h2{font-size:22px;font-weight:600;margin-bottom:24px}.xl-aside>a{display:block;padding:17px 0;border-top:1px solid var(--line)}.xl-aside strong{font-size:14px;font-weight:500;display:block;line-height:1.8}.xl-aside time{color:#8f9b82;font-size:10px;margin-top:9px;display:block}.xl-aside>a:last-child{font-size:12px;color:#6c8157}.xl-page{max-width:810px;margin-inline:auto}.xl-skip{position:absolute;left:15px;top:-80px;background:white;padding:10px;z-index:10}.xl-skip:focus{top:10px}.xl-sr,.screen-reader-text{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
@media(max-width:950px){.xl-hero-grid{gap:35px;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.xl-finder{padding:24px}.xl-hero-copy h2{font-size:32px}.xl-story{grid-template-columns:250px minmax(0,1fr);gap:27px}.xl-story h3{font-size:21px}.xl-reading-layout{grid-template-columns:minmax(0,1fr)}.xl-aside{display:none}.xl-article{max-width:780px;margin-inline:auto}.xl-footer-grid{gap:35px}.xl-grid{gap:22px}#xl-nav{gap:18px}}
@media(max-width:760px){.xl-wrap{width:calc(100% - 40px)}.xl-header-row{flex-wrap:wrap;gap:17px;min-height:90px;padding-block:18px}.xl-brand strong{font-size:22px}.xl-brand-mark{width:42px;height:42px}.xl-js .xl-toggle{display:block;border:1px solid #cbd2bb;background:none;color:#58664b;padding:7px 10px;border-radius:4px;font-size:12px;margin-left:auto}#xl-nav{flex-basis:100%;flex-wrap:wrap;gap:20px;padding:12px 0 0;font-size:13px}.xl-js #xl-nav:not(.xl-open){display:none}.xl-hero-grid{grid-template-columns:1fr;padding-block:42px;gap:28px}.xl-hero{min-height:0}.xl-hero-copy h2{font-size:36px}.xl-hero-copy p br{display:none}.xl-finder{max-width:480px}.xl-finder p br{display:none}.xl-finder p{margin-bottom:14px}.xl-search-links{margin-bottom:17px}.xl-hero-image{object-position:65% 32%}.xl-hero::after{background:linear-gradient(90deg,#152021ed,#15202199)}.xl-story{grid-template-columns:210px minmax(0,1fr);gap:24px}.xl-story h3{font-size:20px}.xl-story-copy{padding-top:0}.xl-story p{font-size:13px}.xl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xl-filters{flex-direction:column;align-items:stretch}.xl-filters .xl-search{max-width:none}.xl-footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:25px}.xl-brand small{font-size:8px}.xl-section-head h2{font-size:28px}}
@media(max-width:540px){.xl-wrap{width:calc(100% - 32px)}.xl-brand strong{font-size:21px}.xl-brand small{font-size:8px}.xl-header-row{min-height:90px}.xl-hero-copy h2{font-size:30px}.xl-hero h1{font-size:17px}.xl-hero-copy p{font-size:13px}.xl-hero-copy h2 br{display:none}.xl-finder{padding:24px 22px}.xl-finder h2{font-size:21px}.xl-hero-grid{padding-block:37px}.xl-ribbon{font-size:10px;gap:12px;padding-block:18px}.xl-section{padding-block:40px}.xl-section-head{display:block;margin-bottom:24px;padding-bottom:18px}.xl-section-head h2{font-size:27px;margin-bottom:10px}.xl-story{display:flex;flex-direction:column;gap:0;padding-bottom:27px}.xl-story-image{width:100%;aspect-ratio:4/3}.xl-story-copy{padding:20px 0 0}.xl-story h3{font-size:22px;margin-bottom:14px}.xl-story p{font-size:14px}.xl-meta{font-size:11px;margin-bottom:11px}.xl-stories{gap:28px}.xl-two{grid-template-columns:1fr;gap:25px}.xl-topic+ .xl-topic{border-top:1px solid #d8dfcd;padding-top:24px}.xl-topic h2{font-size:25px}.xl-topic-band{padding-block:30px}.xl-grid{grid-template-columns:minmax(0,1fr);gap:32px}.xl-reading-note{padding:30px 22px;margin-bottom:40px}.xl-reading-note h2{font-size:25px}.xl-reading-note p{font-size:13px}.xl-reading-note br{display:none}.xl-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.xl-footer-grid>div:first-child{grid-column:1/-1}.xl-bottom{display:block}.xl-bottom>span{display:block;margin-bottom:4px}.xl-article h1{font-size:28px}.xl-prose{font-size:16px}.xl-prose h2{font-size:22px}.xl-prose .xl-lead{font-size:18px}.xl-archive-heading h1{font-size:30px}.xl-empty{padding:27px}.xl-button,.xl-outline{padding-inline:17px}.xl-search input{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
