*{box-sizing:border-box}body{--paper:#f7f7ef;--ink:#192e2b;--muted:#566762;--rule:#b9c6bc;--field:#e0ebe2;--accent:#9c4934;--sea:#345f59;--sun:#bb6247;--tint:#e4eee6;--line:#6d8d80;margin:0;color:var(--ink);background:var(--paper);font:16px/1.55 -apple-system,"PingFang SC",sans-serif}body[data-tone=deep]{color-scheme:dark;--paper:#101f26;--ink:#e7eddf;--muted:#afc3bd;--rule:#4c6366;--field:#21383e;--accent:#ffab84;--sea:#a1c3b5;--sun:#e7ae86;--tint:#162c35;--line:#829e93}body[data-tone=sand]{--paper:#faf2e4;--ink:#3a3027;--muted:#6b584c;--rule:#cfbaa3;--field:#efdebf;--accent:#974523;--sea:#87624b;--sun:#aa4f2a;--tint:#f7e8ca;--line:#b19372}
h1,h2,h3,p,figure{margin:0}a,button,input,select{font:inherit;color:inherit}a{text-decoration:none}button{background:none;border:0;cursor:pointer}a,button{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.wrap{width:min(91%,1460px);margin-inline:auto}.bar,.head,.turn,.home-foot,.directories,.filters,footer,.dateline{display:flex;align-items:center}.bar{min-height:63px;gap:5vw}.brand{display:flex;align-items:center;gap:8px;font:700 23px "Songti SC",serif}.logomark{font:36px/.7 Georgia,serif;color:var(--accent)}nav{display:flex;gap:clamp(12px,2.5vw,36px);align-self:stretch;flex:1}nav a{display:flex;align-items:center;font-size:14px}nav a[aria-current]{box-shadow:inset 0 -2px var(--accent);font-weight:700}#appearance{font-size:13px;white-space:nowrap}#appearance span{font-size:18px}.mast{position:relative;isolation:isolate;overflow:hidden;background:var(--tint);border-block:1px solid var(--rule)}.mastinner{min-height:clamp(195px,18.3vw,280px);display:flex;align-items:center;position:relative;pointer-events:none}.mastcopy{padding:20px 0}.mast h1{font:900 clamp(82px,8vw,132px)/1.12 "Songti SC",STSong,serif;letter-spacing:-.075em;margin:8px 0 4px}.mastcopy>p{font-size:15px;letter-spacing:.18em}.dateline{gap:12px;font:12px Menlo,monospace;color:var(--muted)}.tideart{position:absolute;inset:0 0 0 25%;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 21%)}.drift,.drift svg{width:100%;height:100%;display:block}.drift svg{overflow:visible}.drift .sun{fill:var(--sun)}.drift .wash{fill:var(--sea);opacity:.1}.drift .rill{fill:none;stroke:var(--sea)}.drift .far{fill:none;stroke:var(--line)}.drift .water{transform-origin:center;animation:swell 8s ease-in-out infinite alternate}@keyframes swell{from{transform:translate(-.8%,1.1%) scale(1.025)}to{transform:translate(.85%,-1%) scale(1.034)}}.spread{display:grid;grid-template-columns:minmax(0,.99fr) minmax(0,1.15fr);gap:4.5%;padding:28px 0 31px}.head{justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:2px solid var(--ink);margin-bottom:12px}h2{font:700 25px/1.2 "Songti SC",STSong,serif}.small,.sub,#result,.meta,footer{font-size:13px;color:var(--muted)}.turn{gap:10px}.turn button{border:1px solid var(--rule);border-radius:50%;height:32px;width:32px;padding:0}.turn button:hover,fieldset button:hover{background:var(--field)}.turn span{font:11px Menlo,monospace;color:var(--muted)}.feature-img{display:block;width:100%;height:clamp(160px,15vw,260px);object-fit:cover}.feature-link{display:block}.feature-link h3{font:650 clamp(22px,2vw,33px)/1.25 "Songti SC",STSong,serif;margin:5px 0}.meta{margin-top:8px;font-size:12px}.feature-link .meta{display:flex;justify-content:space-between;gap:8px}.pickframe{overflow:hidden}#feature.animate .feature-img{animation:slidein .42s ease-out both}#feature.animate h3{animation:caption .45s ease-out both}@keyframes slidein{from{opacity:.5;transform:translateX(2%) scale(1.035)}to{opacity:1;transform:none}}@keyframes caption{from{opacity:.4;transform:translateX(9px)}to{opacity:1;transform:none}}.row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0 12px;border-bottom:1px solid var(--rule)}.row h3{font:650 clamp(16px,1.36vw,23px)/1.34 "Songti SC",STSong,Georgia,serif;overflow-wrap:anywhere}.row .meta{margin:0 0 4px}.bookmark{width:34px;min-width:34px;height:38px;display:grid;place-items:center;color:var(--muted)}.bookmark[aria-pressed=true]{color:var(--accent)}.bookmark[aria-pressed=true] svg{fill:currentColor}.home-foot{padding:20px 0;border-top:1px solid var(--ink);gap:4vw}.home-foot h2{font-size:19px}.directories{flex:1;justify-content:space-between;gap:18px}.directories a{font-size:14px}.directories span{color:var(--accent)}footer{border-top:1px solid var(--rule);justify-content:space-between;padding:18px 0 26px}.innerpage{padding:35px 0 48px;min-height:65vh}.innerpage h1{font:700 clamp(34px,4.3vw,62px)/1.3 "Songti SC",serif}.filters{gap:18px;flex-wrap:wrap;margin:18px 0 10px}.filters label{font-size:13px}.filters input,.filters select{background:var(--paper);border:1px solid var(--rule);padding:7px;border-radius:3px;max-width:100%}.innerpage .row{padding:14px 0}.sub{margin:10px 0 19px}.topic-group{margin:23px 0}.topic-group h2{color:var(--sea);font-size:21px}.textbutton{color:var(--sea);padding:8px 0}.readcopy{max-width:700px;margin:18px auto 35px}.readcopy h1{font-size:clamp(30px,3.6vw,52px);line-height:1.22;overflow-wrap:anywhere;margin:10px 0 16px}.readcopy p{line-height:1.9;margin:14px 0}.readcopy h2{font-size:20px;margin-top:24px}.readcopy .actions{display:flex;align-items:center;gap:15px;border-top:1px solid var(--rule);padding:15px 0}.portal-link{display:inline-block;background:var(--ink);color:var(--paper);padding:8px 15px}.readcopy textarea{width:100%;min-height:110px;color:var(--ink);background:var(--paper);border:1px solid var(--rule);font:inherit;padding:12px}.readcopy label{font-weight:650}.read-label{font-size:13px;color:var(--accent)}dialog{width:min(92vw,410px);border:1px solid var(--rule);background:var(--paper);color:var(--ink);padding:24px}dialog::backdrop{background:#0b202677}dialog .head button{font-size:13px}fieldset{border:0;margin:16px 0;padding:0}legend{font-size:13px;margin-bottom:5px;color:var(--muted)}fieldset button{border:1px solid var(--rule);padding:7px 9px;margin:0 3px 4px 0;font-size:13px}fieldset button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:absolute;z-index:3;background:var(--paper);padding:8px}[hidden]{display:none!important}body[data-motion=off] *,body:not([data-page=home]) .water{animation:none!important}
@media(max-width:720px){.wrap{width:calc(100% - 32px)}.bar{flex-wrap:wrap;gap:0;padding-top:8px}.brand{font-size:20px}#appearance{margin-left:auto;order:1}.bar nav{order:2;flex-basis:100%;justify-content:space-between;gap:6px;min-height:37px}.bar nav a{font-size:12px}.mastinner{min-height:146px}.mast h1{font-size:62px;margin:3px 0}.mastcopy{padding:12px 0}.mastcopy>p{font-size:12px}.dateline{font-size:10px;gap:5px}.tideart{left:22%}.spread{display:block;padding:18px 0}.picks{margin-bottom:22px}.head{padding-bottom:7px;margin-bottom:8px}h2{font-size:22px}.feature-img{height:clamp(135px,38vw,210px)}.feature-link h3{font-size:22px}.home-foot{display:block}.directories{margin-top:10px;flex-wrap:wrap;gap:10px 19px}.small{font-size:12px}.innerpage{padding:22px 0}.filters{display:grid;gap:7px}.filters label{display:grid;gap:3px}.readcopy{margin:0 auto 26px}.row{gap:8px}.innerpage .head{align-items:end}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}
.drift{position:relative}.sun-disc{position:absolute;left:70%;top:22%;width:clamp(26px,4.3vw,65px);aspect-ratio:1;border-radius:50%;background:var(--sun);transform:translate(-50%,-50%)}[data-art=swell] .sun-disc{left:54%}

/* The site shell and reading views share a contemporary sans-serif type system. */
body{--paper:#fbfcfc;--ink:#132a32;--muted:#526871;--rule:#dce5e7;--field:#e8f2f3;--accent:#126374;--sea:#225e6a;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Microsoft Yahei",sans-serif;-webkit-font-smoothing:antialiased}
body[data-tone=deep]{--paper:#101c26;--ink:#eff6f6;--muted:#a7bac8;--field:#20313e;--rule:#334651;--accent:#90d4de;--sea:#9bd4dc}
body[data-tone=sand]{--paper:#fbf8f1;--ink:#342e2c;--muted:#675b55;--field:#f1e6d7;--rule:#dfd4c5;--accent:#8c4d31;--sea:#85553a}
.wrap{width:min(90%,1440px)}.brand,h1,h2,h3,.innerpage h1,.readcopy h1,.readcopy h2,.head h2,.row h3,.topic-group h2,.section-title h2{font-family:inherit}
.brand{font-weight:760;font-size:24px;letter-spacing:-.055em}.logomark{font:700 36px/.6 Arial,sans-serif;transform:rotate(-12deg);color:var(--accent)}.bar{min-height:70px;gap:clamp(30px,6vw,100px)}nav a{font-size:14px;color:var(--muted)}nav a[aria-current]{color:var(--ink);box-shadow:none}nav a[aria-current]::before{content:"";width:5px;height:5px;border-radius:100%;background:var(--accent);margin-right:7px}#appearance{border:1px solid var(--rule);border-radius:22px;padding:5px 13px}
.cover{position:relative;isolation:isolate;overflow:hidden;background:#09627d url('ocean-mist.jpg') center/cover no-repeat;color:white}
body[data-tone=deep] .cover{background-color:#152e4e;background-image:url('ocean-deep.jpg')}body[data-tone=sand] .cover{background-color:#476367;background-image:url('ocean-sand.jpg')}
#ocean,.shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#ocean{opacity:0}#ocean.ready{opacity:1}.shade{background:linear-gradient(90deg,rgba(1,26,42,.92) 0%,rgba(2,31,48,.82) 25%,rgba(2,32,48,.53) 43%,transparent 72%),linear-gradient(0deg,rgba(0,15,29,.25),transparent 25%)}
.cover-inner{position:relative;display:flex;justify-content:space-between;align-items:flex-end;padding-block:34px 33px;min-height:clamp(325px,29vw,440px);gap:30px}.cover-copy{align-self:center;max-width:68%}.cover-kicker{display:flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.07em;color:white}.cover-kicker i{width:7px;height:7px;border-radius:50%;background:#80ead6}.cover-kicker time{margin-left:6px;color:#d4e6ec;font-size:11px;font-variant-numeric:tabular-nums}
#feature h1{font-size:clamp(38px,4.2vw,76px);font-weight:660;letter-spacing:-.046em;line-height:1.14;margin:16px 0 10px;color:white}#feature h1 a:hover{text-decoration:none}.cover-source{font-size:13px;color:#e1eef1}.read-cta{display:inline-flex;background:#f3fbf9;border-radius:24px;padding:8px 16px;margin-top:18px;color:#18383e;font-size:13px;font-weight:650}.read-cta:hover{text-decoration:none;background:#cfefec}
.cover-switch{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.cover-turn{display:flex;align-items:center;gap:12px;background:#092d3cbb;border-radius:99px;padding:1px 4px}.cover-turn button{font-size:18px;color:white;width:30px;height:29px}.cover-turn span{font:11px/1 monospace;color:white}
#pick-tabs{display:flex;gap:7px}.pick-tab{position:relative;isolation:isolate;overflow:hidden;border-radius:8px;width:clamp(58px,5.4vw,88px);height:50px;padding:0;opacity:.88}.pick-tab img{width:100%;height:100%;object-fit:cover;display:block}.pick-tab span{position:absolute;inset:auto 0 0;padding:9px 0 2px;background:linear-gradient(transparent,#071820e8);font-size:10px;color:white}.pick-tab[aria-pressed=true]{outline:2px solid #fff;outline-offset:2px;opacity:1}
#feature.animate{animation:arrival .34s cubic-bezier(.2,.7,.3,1)}@keyframes arrival{from{opacity:.32;transform:translateY(7px)}to{opacity:1;transform:none}}
.content-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(225px,.85fr);gap:7%;padding:31px 0 38px;align-items:start}.home-aside{padding-top:1px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 10px}.section-title h2{font-size:clamp(22px,1.9vw,32px);font-weight:675;letter-spacing:-.045em}.section-title>a,.small-tools,.shelf-meta{font-size:12px;color:var(--muted)}.section-title>a span{color:var(--accent)}.latest .row{padding:13px 0;border:0}.latest .row+.row{border-top:1px solid var(--rule)}.row h3{font-size:clamp(16px,1.32vw,23px);line-height:1.45;font-weight:550;letter-spacing:-.016em}.row .meta{font-size:12px;color:var(--muted)}.bookmark{border-radius:50%}.bookmark:hover{background:var(--field)}
.shelf-link{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:15px 0;line-height:1.4}.shelf-link+.shelf-link{border-top:1px solid var(--rule)}.shelf-link>span:first-child{font-size:16px;font-weight:560}.shelf-meta b{font-weight:inherit}.small-tools{display:flex;flex-wrap:wrap;gap:18px;margin-top:11px}footer{border-color:var(--rule)}
.innerpage .head,dialog .head{border-bottom:1px solid var(--rule)}.innerpage h1,.readcopy h1{font-weight:650;letter-spacing:-.045em}.readcopy{padding:18px 0}.portal-link,.filters input,.filters select,.readcopy textarea,fieldset button{border-radius:7px}.portal-link{border-radius:25px}.topic-group h2{font-size:22px}.readcopy h2{font-weight:600}dialog{border-radius:16px}.filters input:focus,.filters select:focus{border-color:var(--accent)}body[data-motion=off] #feature{animation:none}
@media(max-width:720px){.wrap{width:calc(100% - 36px)}.bar{padding-top:9px;gap:0;min-height:68px}.brand{font-size:21px}.logomark{font-size:29px}#appearance{padding:2px 10px}.bar nav a{font-size:12px}.cover-inner{min-height:310px;padding:18px 0 14px;display:block}.cover-copy{max-width:100%}.cover-kicker{font-size:11px}#feature h1{font-size:clamp(30px,8vw,48px);margin:15px 0 8px;max-width:94%}.cover-source{font-size:12px}.cover-switch{margin-top:19px;flex-direction:row;justify-content:space-between;align-items:center}.pick-tab{width:54px;height:34px}.pick-tab span{font-size:9px}.shade{background:linear-gradient(95deg,#071f32dc,#071f329e 50%,#071f3224),linear-gradient(0deg,#092c46a6,transparent 32%)}.read-cta{padding:6px 13px;margin-top:12px}.content-grid{display:block;padding:23px 0}.home-aside{margin-top:23px}.section-title{margin-bottom:5px}.latest .row{padding:11px 0}.section-title h2{font-size:22px}.shelf-link{padding:13px 0}}

body[data-art=swell] .cover{background-image:url('ocean-mist-swell.jpg')}
body[data-art=swell][data-tone=deep] .cover{background-image:url('ocean-deep-swell.jpg')}
body[data-art=swell][data-tone=sand] .cover{background-image:url('ocean-sand-swell.jpg')}
/* A single water surface runs from the navigation into the reading desk. */
body{--desk:#f2f8f8;--seam:#b4cecf;--pencil:#2f6e75}
body[data-tone=deep]{--desk:#13232c;--seam:#37525c;--pencil:#a8d6d4}
body[data-tone=sand]{--desk:#f8f2e6;--seam:#d3c5ae;--pencil:#82563f}
body[data-page=home]{background:var(--desk)}
body[data-page=home] header{position:absolute;inset:0 0 auto;z-index:3;color:#effafb;background:transparent}
body[data-page=home] header nav a{color:#e2f1f3}
body[data-page=home] header nav a[aria-current],body[data-page=home] header .brand{color:#fff}
body[data-page=home] header nav a[aria-current]:before{background:#8ce7d6}
body[data-page=home] .logomark{color:#a0e8df}
body[data-page=home] #appearance{background:#122f4299;border-color:#bddee45e}
.brand .owner{color:inherit;opacity:.8;border-left:1px solid currentColor;margin-left:6px;padding-left:12px;font-size:12px;letter-spacing:.015em;font-weight:450}
#home{position:relative;isolation:isolate}
#home .cover{position:static;isolation:auto;overflow:visible;background:none}
.water-field{position:absolute;inset:0 0 auto;height:clamp(548px,46vw,685px);overflow:hidden;z-index:-1;background:#175c73 url('ocean-mist.jpg') center/cover no-repeat;mask-image:linear-gradient(to bottom,#000 0%,#000 50%,rgba(0,0,0,.96) 58%,rgba(0,0,0,.72) 67%,rgba(0,0,0,.30) 78%,rgba(0,0,0,.08) 89%,transparent 100%)}
[data-tone=deep] .water-field{background-image:url('ocean-deep.jpg')}
[data-tone=sand] .water-field{background-image:url('ocean-sand.jpg')}
[data-art=swell] .water-field{background-image:url('ocean-mist-swell.jpg')}
[data-art=swell][data-tone=deep] .water-field{background-image:url('ocean-deep-swell.jpg')}
[data-art=swell][data-tone=sand] .water-field{background-image:url('ocean-sand-swell.jpg')}
.water-field .shade{background:linear-gradient(90deg,#031d31e8 0%,#042940bf 30%,#04294038 59%,transparent 80%),linear-gradient(180deg,#102c4080 0%,transparent 23%)}
.cover-inner{min-height:clamp(405px,35vw,505px);padding-top:95px;padding-bottom:68px}
.cover-copy{max-width:65%}
.cover-switch{align-self:center;margin-top:75px}
.cover-turn{background:#173a4dc9}
#feature h1{font-weight:600;font-size:clamp(42px,4.3vw,72px);letter-spacing:-.055em;line-height:1.17;margin:15px 0}
.pick-tab{width:clamp(72px,6.7vw,100px);height:53px}
.cover-kicker{color:#f4ffff}
.content-grid{position:relative;gap:7%;padding-top:30px;padding-bottom:45px}
.section-title{margin-bottom:14px}.section-title h2{font-size:clamp(22px,2vw,30px);letter-spacing:-.04em}
.latest .row{padding:14px 0}.latest .row+.row{border-top-color:color-mix(in srgb,var(--seam) 65%,transparent)}
.row .meta{display:flex;gap:9px;align-items:center}.seen{font-size:11px;color:var(--pencil)}
.note-quote{margin:7px 0 0;padding-left:11px;border-left:2px solid var(--seam);color:var(--pencil);font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.desk-title,.memo-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.desk-title{margin-bottom:14px}.desk-title h2{font-weight:600;font-size:clamp(22px,2vw,30px);line-height:1.3;letter-spacing:-.04em;font-family:inherit}.desk-title a{font-size:12px;color:var(--muted)}
.resume{margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid var(--seam)}
.resume small,.memo-head label{color:var(--pencil);font-size:12px;font-weight:650}
.resume a{display:block;font-size:17px;line-height:1.45;margin-top:5px;font-weight:550;overflow-wrap:anywhere}
.memo{margin-bottom:18px}.memo-head span{font-size:11px;color:var(--muted)}
.memo textarea {
  display:block; width:100%; min-height:46px; max-height:205px; padding:11px 13px;
  field-sizing:content; resize:vertical; font:inherit; font-size:15px; line-height:1.65;
  color:var(--ink); caret-color:var(--crest); border:1px solid color-mix(in srgb,var(--seam) 64%,transparent);
  background:color-mix(in srgb,var(--desk) 58%,transparent); border-radius:8px;
}
.memo-head { margin-bottom:7px; }
.memo textarea::placeholder { color:var(--muted); opacity:1; }
.memo textarea:not(:placeholder-shown) { background:color-mix(in srgb,var(--desk) 72%,transparent); }
.memo textarea:focus { min-height:88px; border-color:var(--crest); background:color-mix(in srgb,var(--desk) 90%,transparent); outline:2px solid color-mix(in srgb,var(--crest) 30%,transparent); outline-offset:1px; }
.memo-head .save-error { color:var(--accent); }
.desk-topics small { display:block; margin-top:4px; font-size:12px; font-weight:400; color:var(--muted); }
#desk .small-tools { display:flex; flex-wrap:wrap; gap:8px 16px; }
@media (prefers-reduced-motion:no-preference) {
  body[data-motion=on] .memo textarea { transition:min-height .22s ease-out,background-color .2s,border-color .2s; }
}
.home-aside .shelf-link{padding:11px 0}.small-tools{margin-top:6px}
#home .desk-help{font-size:11px;color:var(--muted);margin:4px 0 0}
@media(max-width:720px){
 .brand .owner{font-size:11px;padding-left:8px}.water-field{height:475px;mask-image:linear-gradient(to bottom,#000 0%,#000 50%,rgba(0,0,0,.86) 62%,rgba(0,0,0,.48) 75%,rgba(0,0,0,.14) 88%,transparent 100%)}
 .water-field .shade{background:linear-gradient(90deg,#031d31df,#04223795 55%,#081f3440),linear-gradient(180deg,#102c4080,transparent 32%)}
 .cover-inner{padding:98px 0 36px;min-height:346px}.cover-copy{max-width:100%}
 #feature h1{font-size:clamp(30px,8.1vw,48px);margin:12px 0 8px}
 .cover-switch{margin-top:17px}.pick-tab{width:54px;height:32px}
 .content-grid{padding-top:25px}.desk-title h2{font-size:22px}
 .return-strip{margin:0 0 12px}
}
.return-strip{display:none}
@media(max-width:720px){.return-strip:not([hidden]){display:flex;align-items:baseline;gap:8px;font-size:13px;padding:2px 0 9px;color:var(--ink)}.return-strip small{white-space:nowrap;color:var(--pencil)}.return-strip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){.water-field{scroll-behavior:auto}}


/* The cover mask passes with the articles; its faint second layer stays in the viewport. */
:root{--bar-height:70px;scroll-padding-top:calc(var(--bar-height) + 12px)}
body[data-page=home] header{position:fixed;z-index:8}
/* Shade the same moving surface as the feed, with depth concentrated behind the navigation. */
 :is(body[data-page=home] .water-field:not([data-surface=login]), .cove-home-light .water-field)::after{
 content:"";position:absolute;inset:0 0 auto;height:calc(var(--bar-height) + 92px);pointer-events:none;
 opacity:var(--water-carry,0);
 background:
  radial-gradient(ellipse 83% 110% at 13% -8%,rgb(7 29 40 / .72) 27%,rgb(7 29 40 / .53) 53%,rgb(7 29 40 / .12) 80%,transparent),
  radial-gradient(ellipse 73% 93% at 94% 0%,rgb(8 31 39 / .74) 32%,rgb(8 31 39 / .53) 60%,rgb(8 31 39 / .1) 85%,transparent);
}
/* The mask stays on the scrollport while its contents scroll natively. */
body[data-page=home]{min-height:100dvh}
body[data-page=home] #reading-window{
 position:fixed;inset:0;overflow:auto;scroll-padding-top:calc(var(--bar-height) + 12px);
 mask-image:linear-gradient(to bottom,transparent calc(var(--bar-height) - 12px),#000 calc(var(--bar-height) + 7px));
}
body:not([data-page=home]) > .water-field{display:none}
body[data-page=home] header.over-reading{color:#f0f7f7}
body[data-page=home] header.over-reading :is(.brand,nav a,nav a[aria-current],#open-desk){color:inherit}
body[data-page=home] header.over-reading nav a[aria-current]::before{background:currentColor}
body:not([data-page=home]) header{position:sticky;top:0;z-index:8;background:var(--paper)}
 :is(body[data-page=home] .water-field:not([data-surface=login]), .cove-home-light .water-field){--cover-depth:clamp(548px,46vw,685px);position:fixed;pointer-events:none;height:max(100vh,var(--cover-depth));height:max(100dvh,var(--cover-depth));
 /* Sample quintic smootherstep across 46–100% of the cover; both ends join flat. */
 mask-image:linear-gradient(to bottom,
  #000 46%, rgb(0 0 0 / 0.99971) 47.6875%, rgb(0 0 0 / 0.99778) 49.375%,
  rgb(0 0 0 / 0.99288) 51.0625%, rgb(0 0 0 / 0.98395) 52.75%, rgb(0 0 0 / 0.97023) 54.4375%,
  rgb(0 0 0 / 0.95123) 56.125%, rgb(0 0 0 / 0.92667) 57.8125%, rgb(0 0 0 / 0.89648) 59.5%,
  rgb(0 0 0 / 0.86082) 61.1875%, rgb(0 0 0 / 0.81999) 62.875%, rgb(0 0 0 / 0.77445) 64.5625%,
  rgb(0 0 0 / 0.72479) 66.25%, rgb(0 0 0 / 0.67170) 67.9375%, rgb(0 0 0 / 0.61597) 69.625%,
  rgb(0 0 0 / 0.55844) 71.3125%, rgb(0 0 0 / 0.50000) 73%, rgb(0 0 0 / 0.44156) 74.6875%,
  rgb(0 0 0 / 0.38403) 76.375%, rgb(0 0 0 / 0.32830) 78.0625%, rgb(0 0 0 / 0.27521) 79.75%,
  rgb(0 0 0 / 0.22555) 81.4375%, rgb(0 0 0 / 0.18001) 83.125%, rgb(0 0 0 / 0.13918) 84.8125%,
  rgb(0 0 0 / 0.10352) 86.5%, rgb(0 0 0 / 0.07333) 88.1875%, rgb(0 0 0 / 0.04877) 89.875%,
  rgb(0 0 0 / 0.02977) 91.5625%, rgb(0 0 0 / 0.01605) 93.25%, rgb(0 0 0 / 0.00712) 94.9375%,
  rgb(0 0 0 / 0.00222) 96.625%, rgb(0 0 0 / 0.00029) 98.3125%, transparent 100%),var(--water-residue),var(--water-at-nav),linear-gradient(rgb(0 0 0 / var(--cove-depth,0)) 0 100%);
 mask-size:100% var(--cover-depth),100% 100%,100% calc(var(--bar-height) + 94px),100% calc(var(--bar-height) + 94px),100% 100%;mask-repeat:no-repeat;mask-position:0 var(--water-offset,0px),0 0,0 0,0 0,0 0}
@media(min-width:721px){
 .home-aside{position:sticky;top:calc(var(--bar-height) + 20px);max-height:calc(100dvh - var(--bar-height) - 38px);overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:thin;scrollbar-color:var(--seam) transparent;padding-inline:4px 10px}
}
#open-desk{display:none}
#desk-sheet{max-height:calc(100dvh - 32px);overscroll-behavior:contain}
#desk-sheet .sheet-close{display:block;margin-left:auto;min-height:32px;font-size:13px}
@media(max-width:720px){
 body[data-page=home] #open-desk{display:inline-block;order:1;margin-left:auto;font-size:13px;padding:5px 10px;color:white}
 body[data-page=home] #appearance{margin-left:3px}
 #home .home-aside{display:none}
 #desk-sheet{width:min(94vw,430px);padding:15px 20px 22px;background:var(--desk)}
 #desk-sheet .home-aside{margin-top:0}
  :is(body[data-page=home] .water-field:not([data-surface=login]), .cove-home-light .water-field){--cover-depth:475px}
}

/* The residual reflection is strongest between the two reading columns. */
body[data-page=home], .cove-home-light{
 --nav-coverage:rgb(0 0 0 / var(--water-carry,0)) 22%,rgb(0 0 0 / calc(.9 * var(--water-carry,0))) 43%,
   rgb(0 0 0 / calc(.46 * var(--water-carry,0))) 65%,rgb(0 0 0 / calc(.09 * var(--water-carry,0))) 85%,transparent;
 --water-at-nav:radial-gradient(ellipse 81% 100% at 8% -4%,var(--nav-coverage)),
                radial-gradient(ellipse 66% 86% at 96% 0%,var(--nav-coverage));
 --water-residue:linear-gradient(to bottom,
  rgb(0 0 0 / calc(.15 + .37 * var(--water-carry,0))),
  rgb(0 0 0 / calc(.14 + .35 * var(--water-carry,0))) 36%,
  rgb(0 0 0 / calc(.14 + .28 * var(--water-carry,0))) 66%,
  rgb(0 0 0 / calc(.12 + .22 * var(--water-carry,0))) 85%,rgb(0 0 0 / calc(.10 + .19 * var(--water-carry,0))));
}
.water-field .shade{opacity:calc(1 - .82 * var(--water-carry,0))}
.content-grid{isolation:isolate}
.content-grid::before{
 content:"";position:absolute;inset:0 -4vw;z-index:-1;pointer-events:none;
 opacity:var(--water-carry,0);
 background:linear-gradient(90deg,transparent,
  color-mix(in srgb,var(--desk) 50%,transparent) 5%,
  color-mix(in srgb,var(--desk) 50%,transparent) 53%,
  transparent 68%,color-mix(in srgb,var(--desk) 34%,transparent) 78%,
  color-mix(in srgb,var(--desk) 34%,transparent) 96%,transparent);
 mask-image:linear-gradient(to bottom,transparent,#000 55px);
}
@media(max-width:720px){
 .content-grid::before{inset-inline:-16px;background:linear-gradient(90deg,transparent,
 color-mix(in srgb,var(--desk) 50%,transparent) 6%,
 color-mix(in srgb,var(--desk) 45%,transparent) 84%,transparent)}
}

/* Keep the masthead, list and footer on the same reading margins. */
.wrap {
  --edge: clamp(18px, 4.5vw, 80px);
  width: min(1440px, calc(100% - 2 * var(--edge)));
}
@media (min-width: 721px) {
  .content-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, 27%); column-gap: clamp(44px, 8.5vw, 138px); }
  #home .home-aside { padding-inline: 0 4px; }
  .content-grid::before { inset-inline: max(-4vw, calc(0px - var(--edge))); }
}

body { --crest: #287a7c; --foam: #cff0ee; }
body[data-tone=deep] { --crest: #a8dbdf; --foam: #355562; }
body[data-tone=sand] { --crest: #877043; --foam: #eee1c5; }
::selection { background: var(--foam); color: var(--ink); }
.cover ::selection, header ::selection, h1::selection, h1 ::selection, .row h3 a::selection { background: #efe1c9; color: #302b26; }
#feature h1 a:focus-visible { outline-color: #f6e5c9; }
.latest .row { padding-block: clamp(16px, 1.6vw, 25px); }
.latest .row h3 { line-height: 1.55; }
.latest .row .meta { margin-bottom: 6px; }
.latest .row + .row { border-top-color: color-mix(in srgb, var(--seam) 40%, transparent); }
.section-title, .desk-title { margin-bottom: clamp(16px, 1.55vw, 24px); }
.home-aside .shelf-link { padding-block: 16px; }
.row h3 a { display: block; width: fit-content; }
fieldset button[aria-pressed=true] {
  background: var(--foam); color: var(--ink); border-color: var(--crest);
}
@media (hover: hover) and (pointer: fine) {
  .row h3 a:hover { color: var(--ink); }
  nav a:hover { color: var(--crest); }
  body[data-page=home] header nav a:hover { color: #b8f3e8; }
  :is(.shelf-link,.resume a,.small-tools a,.return-strip,.section-title a,footer a,.head a):hover { color: var(--accent); }
  .shelf-link:hover .shelf-meta, .section-title a:hover span { transform: translateX(3px); }
  #feature h1 a:hover { color: #fff5e6; }
  .brand:hover .logomark { color: currentColor; }
  .portal-link:hover { background: var(--sea); }
}
.section-title a span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  body[data-motion=on] :is(.shelf-meta,.section-title a span) { transition: transform 160ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .shelf-link:hover .shelf-meta, .section-title a:hover span { transform: none; }
}
body[data-motion=off] :is(.shelf-link:hover .shelf-meta,.section-title a:hover span) { transform: none; }

/* The topic index, reading history and writing area share one open column. */
#desk .desk-title { align-items:baseline; margin-bottom:12px; }
#desk .desk-title h2 { font-size:clamp(21px,1.85vw,27px); font-weight:640; }
.desk-topic-list { list-style:none; padding:0; margin:0; }
.desk-topic-list li + li { border-top:1px solid color-mix(in srgb,var(--seam) 46%,transparent); }
.desk-topic { display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:11px 3px 11px 0; font-size:clamp(17px,1.32vw,20px); font-weight:510; letter-spacing:.025em; }
.desk-topic span { font-size:16px; color:var(--pencil); }
#desk a:hover, #desk details summary:hover { color:var(--crest); }
.desk-history { border-inline-start:2px solid color-mix(in srgb,var(--crest) 44%,transparent);
  padding-inline-start:14px; margin-top:24px; }
#desk .resume { padding:0; margin:0; border:0; }
#desk .resume:not([hidden]) + .resume:not([hidden]) { margin-top:16px; }
#desk .resume .note-quote { border:0; padding:0; }
#desk .resume .edit-note { font-size:12px; font-weight:450; color:var(--pencil); }
#desk .memo { margin:26px 0 18px; }
#desk .memo-head label { font-size:14px; color:var(--ink); font-weight:600; }
#desk .memo textarea:not(:focus):not(:placeholder-shown) { background:transparent; border-color:transparent; padding-inline:0; }
.desk-tools { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between;
  border-top:1px solid var(--seam); padding:12px 0 4px; gap:8px 13px; font-size:13px; }
.desk-saved span { color:var(--muted); font-size:12px; margin-inline-start:5px; }
.desk-saved b { font-weight:500; }
.desk-tools details { margin-left:auto; }
.desk-tools summary { cursor:pointer; color:var(--muted); padding-block:4px; }
.desk-tools summary:focus-visible { outline:2px solid var(--crest); outline-offset:2px; }
#desk .desk-tools details[open] .small-tools { display:grid; gap:9px; margin:8px 0; }

#catalog-toggle,#clear-catalog,#mobile-results {color:var(--crest);font-size:13px;padding:5px 0}
#desk-topics button {width:100%;text-align:start;color:var(--ink)}
#desk-topics [aria-pressed=true] {color:var(--crest);box-shadow:inset 2px 0 var(--crest);padding-left:9px}
#catalog-panel {padding:12px 3px 2px;border-top:1px solid var(--seam)}
#catalog-panel label {display:grid;gap:3px;color:var(--pencil);font-size:12px;margin-bottom:10px}
#catalog-panel :is(select,input) {min-width:0;width:100%;height:35px;padding:3px 8px;border:1px solid var(--seam);border-radius:5px;background:var(--desk);color:var(--ink);font:inherit;font-size:14px}
.catalog-summary {display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px;text-align:end}
.section-title h2 {flex-shrink:0}
#mobile-results {display:none}
@media(max-width:720px){#mobile-results{display:block;margin:2px 0 8px}.catalog-summary{max-width:65%}}

#desk #catalog-panel {background:color-mix(in srgb,var(--desk) 63%,transparent);border:1px solid color-mix(in srgb,var(--seam) 60%,transparent);border-radius:10px;padding:14px;}
#catalog-panel #card-query {margin:3px 0 12px;background:color-mix(in srgb,var(--desk) 82%,transparent);height:39px;}
.picker-caption,.option-path {display:block;font-size:11px;color:var(--muted);}
#topic-options {max-height:clamp(145px,30vh,280px);overflow:auto;scrollbar-width:thin;}
#topic-options .branch-item,#topic-options .topic-option {display:flex;width:100%;align-items:center;text-align:left;gap:9px;font-size:14px;color:var(--ink);min-height:40px;padding:5px 2px;margin:0;border-bottom:1px solid color-mix(in srgb,var(--seam) 42%,transparent);}
#topic-options :is(.branch-item,.topic-option)>small {margin-left:auto;white-space:nowrap;font-size:11px;color:var(--muted);}
#catalog-panel .topic-option input,#catalog-panel .zero-option input {accent-color:var(--crest);width:15px;height:15px;flex:none;margin:0;}
#catalog-panel .zero-option {display:flex;align-items:center;gap:6px;margin:10px 0;}
.picker-more,.branch-back {color:var(--crest);font-size:12px;padding:7px 0;}
.filter-chips {display:flex;gap:5px;flex-wrap:wrap;}
.filter-chips:not(:empty) {margin:7px 0 12px;}
.filter-chip {background:color-mix(in srgb,var(--foam) 56%,transparent);border:1px solid color-mix(in srgb,var(--crest) 35%,transparent);border-radius:16px;font-size:12px;padding:3px 9px;color:var(--ink);}
#apply-topics {background:var(--sea);color:var(--desk);border-radius:6px;width:100%;margin-top:10px;padding:9px;font-size:14px;}
#catalog-panel button:focus-visible,#catalog-panel input:focus-visible,#catalog-panel select:focus-visible {outline:2px solid var(--crest);outline-offset:-2px;}


/* Shared reading surface, including the controls moved into the mobile sheet. */
.content-grid,#desk-sheet {
 --ink:#102e3c;--pencil:#254b58;--muted:#365663;--crest:#183f50;--accent:var(--crest);
 --tide-hover:rgb(18 55 71 / .075);--tide-active:rgb(18 55 71 / .13);
 --picker-paper:#dce9eb;--foam:#d3e6e8;color:var(--ink);
}
body[data-tone=deep] :is(.content-grid,#desk-sheet) {
 --ink:#e4f2f4;--pencil:#b7d3d9;--muted:#abc6cd;--crest:#d4ebed;
 --tide-hover:rgb(189 222 228 / .085);--tide-active:rgb(189 222 228 / .15);
 --picker-paper:#192f3b;--foam:#314c57;
}
/* Anchor the rim to the reading grid so its upper corners surround both headings. */
#home .content-grid::before {
 inset:2px calc(0px - clamp(10px, 1.6vw, 24px)) 8px;
 border:1px solid color-mix(in srgb,var(--ink) 24%,transparent);
 border-radius:clamp(14px,1.5vw,22px);
 background:linear-gradient(to bottom,transparent var(--bar-height),
   color-mix(in srgb,var(--desk) 28%,transparent) calc(var(--bar-height) + 76px)) fixed;
 box-shadow:inset 0 1px 1px rgb(242 250 249 / .28),
   0 5px 11px -6px rgb(13 42 48 / .35),0 15px 32px -18px rgb(13 42 48 / .29);
 opacity:1;
 /* Ease just the moving edge; the portion behind it keeps its full contrast. */
 --rim-feather:clamp(96px,15lvh,144px);
 --rim-cut:max(calc(-1 * var(--rim-feather) - 40px),calc(100lvh - var(--reading-grid-top,0px) + 24px + 2 * var(--water-offset,0px)));
 mask-image:linear-gradient(to bottom,
   transparent var(--rim-cut),
   rgb(0 0 0 / .12) calc(var(--rim-cut) + .22 * var(--rim-feather)),
   rgb(0 0 0 / .5) calc(var(--rim-cut) + .5 * var(--rim-feather)),
   rgb(0 0 0 / .88) calc(var(--rim-cut) + .78 * var(--rim-feather)),
   #000 calc(var(--rim-cut) + var(--rim-feather)));
 mask-clip:no-clip;
}

#desk-sheet {background:var(--picker-paper);border:0;box-shadow:0 4px 10px -6px rgb(9 38 51 / .3),0 20px 48px -15px rgb(9 38 51 / .46);}
.content-grid ::selection,#desk-sheet ::selection {color:var(--ink);background:var(--foam);}
#home .content-grid .row h3 a::selection {color:var(--ink);background:var(--foam);}
#desk #catalog-panel {background:none;border:0;padding-top:12px;}
#desk .desk-title,#desk .desk-tools,#desk .desk-history,#desk .desk-topic-list li,
#desk #topic-options :is(.branch-item,.topic-option),#home .latest .row,
#home .latest .note-quote {border:0;}
#desk .desk-history,#home .latest .note-quote {padding-inline-start:0;}
#desk .desk-title {padding-bottom:4px;}
#desk .desk-tools {padding-top:7px;}
#desk .desk-topic-list li + li {margin-top:2px;}
#desk :is(.desk-topic,.branch-item,.topic-option) {border-radius:5px;}
#desk #desk-topics [aria-pressed=true],#desk #topic-options .topic-option:has(input:checked) {background:var(--tide-active);box-shadow:none;}
#desk #desk-topics [aria-pressed=true] {padding-left:6px;}
#desk .memo textarea,#desk .memo textarea:not(:focus):placeholder-shown {border:0;background:var(--tide-hover);color:var(--ink);}
#desk .memo textarea:focus {background:var(--tide-active);}
#desk .filter-chip,.content-grid .filter-chip {border:0;color:var(--ink);background:var(--tide-active);}
#desk #apply-topics {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:39px;
 color:var(--ink);background:var(--tide-active);border:0;border-radius:5px;padding:8px 12px;text-align:left;font-weight:600;}
#desk #apply-topics::after {content:'→';color:var(--ink);}
#desk #apply-topics[hidden] {display:none;}
.article-filters {display:grid;grid-template-columns:minmax(140px,.8fr) minmax(165px,1.5fr);gap:clamp(14px,2vw,28px);margin:4px 0 18px;max-width:640px;}
.article-filters label {display:grid;gap:5px;min-width:0;color:var(--pencil);font-size:12px;}
#catalog-panel .scope-label,#catalog-panel #mode-label:not([hidden]) {display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;}
#catalog-panel :is(#domain-choice,#match-mode) {width:auto;max-width:72%;}
.search-field {position:relative;display:block;min-width:0;color:var(--pencil);}
.search-field::before,.search-field::after {content:'';position:absolute;pointer-events:none;z-index:1;}
.search-field::before {width:9px;height:9px;border:1.6px solid currentColor;border-radius:50%;left:12px;top:calc(50% - 7px);}
.search-field::after {width:6px;height:1.6px;background:currentColor;left:21px;top:calc(50% + 4px);transform:rotate(45deg);}
.article-filters :is(select,input),#desk #catalog-panel :is(select,#card-query) {
 box-sizing:border-box;min-width:0;width:100%;height:38px;margin:0;border:0;border-radius:6px;
 padding:5px 10px;color:var(--ink);background:var(--tide-hover);font:inherit;font-size:14px;caret-color:var(--ink);
}
.article-filters input[type=search],#desk #catalog-panel #card-query {padding-inline-start:34px;}
#card-fields>.search-field {margin-bottom:12px;}
.search-field input::placeholder {color:var(--muted);opacity:1;}
.article-filters input:focus,#desk #catalog-panel #card-query:focus {background:var(--tide-active);}
.article-filters :is(input,select):focus-visible,#desk #catalog-panel :is(input,select,button):focus-visible {outline:2px solid var(--crest);outline-offset:1px;}
#desk #catalog-panel :is(#domain-choice,#match-mode) {width:auto;max-width:72%;font-weight:540;}
#topic-options .branch-item,#topic-options .topic-option {padding:8px 5px;min-height:40px;}
#topic-options :is(.branch-item,.topic-option)>small,.desk-topic span {font-variant-numeric:tabular-nums;color:var(--pencil);}
.picker-caption {font-size:12px;color:var(--pencil);margin:3px 0 4px;}
:is(.article-filters,#catalog-panel) select option {background:var(--picker-paper);color:var(--ink);}
@supports (appearance:base-select) {
 :is(.article-filters,#catalog-panel) select,:is(.article-filters,#catalog-panel) select::picker(select) {appearance:base-select;}
 :is(.article-filters,#catalog-panel) select {align-items:center;}
 :is(.article-filters,#catalog-panel) select::picker-icon {color:var(--pencil);font-size:11px;}
 :is(.article-filters,#catalog-panel) select:open::picker-icon {rotate:180deg;}
 :is(.article-filters,#catalog-panel) select::picker(select) {
   box-sizing:border-box;min-inline-size:min(240px,calc(100vw - 32px));max-inline-size:calc(100vw - 32px);
   max-height:min(320px,42dvh);overflow:auto;overscroll-behavior:contain;
   margin-block:6px;padding:5px;border:0;outline:0;border-radius:10px;
   color:#e3eff0;background:rgb(22 54 66 / .96);color-scheme:dark;
   box-shadow:0 3px 7px -3px rgb(7 27 39 / .35),0 18px 34px -12px rgb(7 27 39 / .43);
   scrollbar-width:thin;scrollbar-color:#567882 transparent;
 }
 :is(.article-filters,#catalog-panel) select > option {
   display:flex;align-items:center;gap:10px;min-height:36px;padding:7px 12px;
   color:#e3eff0;background:transparent;border:0;border-radius:5px;
   font-size:14px;font-weight:450;line-height:1.45;
 }
 :is(.article-filters,#catalog-panel) select > option::checkmark {color:#95c5c9;}
 :is(.article-filters,#catalog-panel) select > option:checked {background:rgb(116 169 174 / .16);color:#e9f4f4;font-weight:600;}
 :is(.article-filters,#catalog-panel) select > option:is(:hover,:focus-visible) {background:rgb(116 169 174 / .24);outline:0;}
 :is(.article-filters,#catalog-panel) .option-count {margin-inline-start:auto;font-size:12px;font-variant-numeric:tabular-nums;color:#b3ced1;}

}
@media(hover:hover){#desk :is(.branch-item,.desk-topic,.topic-option):hover,.article-filters :is(select,input):hover,#desk #catalog-panel :is(select,#card-query):hover {background:var(--tide-hover);}}
@media(prefers-reduced-motion:no-preference){body[data-motion=on] :is(.article-filters,#catalog-panel) :is(input,select,button) {transition:background-color .18s ease-out;}}
@media(max-width:720px){.article-filters{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px;margin-bottom:10px;}.article-filters :is(select,input),#desk #catalog-panel #card-query {font-size:16px;}}

/* The closed selector reads like text. Only the open list has a surface. */
:is(.content-grid,#desk-sheet) {--menu-surface:#ccdbd9;--menu-text:#153440;--menu-muted:#45616a;--menu-roll:#bfd0ce;--menu-chosen:#b8cdcb;}
body[data-tone=sand] :is(.content-grid,#desk-sheet) {--menu-surface:#dad9cc;--menu-roll:#cecfbf;--menu-chosen:#c7cbbd;}
body[data-tone=deep] :is(.content-grid,#desk-sheet) {--menu-surface:#223d47;--menu-text:#dfedef;--menu-muted:#abc4c8;--menu-roll:#2c4851;--menu-chosen:#34535c;}
.article-filters select,#desk #catalog-panel :is(#domain-choice,#match-mode) {
 background:transparent;border:0;box-shadow:none;border-radius:0;padding-inline:0 3px;
}
.article-filters select:is(:hover,:focus),#desk #catalog-panel :is(#domain-choice,#match-mode):is(:hover,:focus) {background:transparent;color:var(--crest);}
.article-filters select:focus-visible,#desk #catalog-panel select:focus-visible {outline:0;background:var(--tide-hover);font-weight:650;}
@supports (appearance:base-select) {
 :is(.article-filters,#catalog-panel) select::picker(select) {
  position:fixed;position-area:none;position-try-fallbacks:none;inset:auto;
  top:var(--menu-top);bottom:var(--menu-bottom);left:var(--menu-x);
  inline-size:var(--menu-width);min-inline-size:0;max-block-size:var(--menu-height);
  padding:3px 0;margin:0;border:0;border-radius:6px;
  background:var(--menu-surface);color:var(--menu-text);color-scheme:inherit;
  box-shadow:0 2px 5px rgb(10 40 47 / .12),0 9px 19px -8px rgb(10 40 47 / .26);
  scrollbar-color:var(--menu-muted) transparent;
 }
 :is(.article-filters,#catalog-panel) select > option {
  padding:6px 11px;min-height:32px;gap:7px;color:var(--menu-text);border-radius:0;background:transparent;
 }
 :is(.article-filters,#catalog-panel) select > option:checked {color:var(--menu-text);background:var(--menu-chosen);}
 :is(.article-filters,#catalog-panel) select > option:is(:hover,:focus-visible) {color:var(--menu-text);background:var(--menu-roll);}
 :is(.article-filters,#catalog-panel) select > option::checkmark,:is(.article-filters,#catalog-panel) .option-count {color:var(--menu-muted);}
}
@media(forced-colors:active){.article-filters select:focus-visible,#desk #catalog-panel select:focus-visible {outline:2px solid Highlight;}}

/* Compact masthead with a single home link and a separate utility group. */
header .brand{font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:24px;font-weight:540;letter-spacing:.1em;white-space:nowrap}
.bar-tools{display:flex;align-items:center;gap:12px}
.bar-tools :is(button,a){white-space:nowrap;font:inherit;font-size:13px;line-height:1.4}
.bar-tools #appearance,body[data-page=home] .bar-tools #appearance,.bar-tools .config-link{
 border:0;background:transparent;color:inherit;margin:0;padding:6px 3px;border-radius:4px;text-decoration:none}
.bar-tools :is(a,button):hover{opacity:.78}
.cover-kicker{letter-spacing:.13em;font-weight:470}
#feature h1{font-size:clamp(36px,3.65vw,62px);font-weight:520;letter-spacing:-.025em;line-height:1.22;text-wrap:balance;max-width:15em}
@media(max-width:720px){
 .bar-tools{margin-left:auto;order:1;gap:12px}
 .bar-tools #appearance,.bar-tools #open-desk{order:0}
 .bar nav{justify-content:flex-start;gap:24px}
 header .brand{font-size:21px}
 #feature h1{font-size:clamp(29px,7.6vw,42px);max-width:100%}
}

header .brand{gap:.24em;align-items:center;line-height:1;font-family:"Songti SC","STSong","Noto Serif CJK SC",serif;font-weight:600;letter-spacing:.015em}
header .brand .brand-en{transform:translateY(.05em);font:400 .72em/1 Georgia,"Times New Roman",serif;letter-spacing:-.02em}
.article-filters{align-items:center;grid-template-columns:minmax(104px,.55fr) minmax(0,1.5fr)}
.article-filters:has(#source-choice:not([hidden])){grid-template-columns:minmax(104px,.8fr) minmax(104px,1fr) minmax(145px,1.5fr)}
.article-filters #platform-choice{font-weight:600}
.article-filters select[hidden]{display:none}
@media(max-width:720px){
 .article-filters:has(#source-choice:not([hidden])){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);row-gap:5px}
 .article-filters:has(#source-choice:not([hidden])) .search-field{grid-column:1/-1}
}


/* Cove scrollbars: let the water show through the track; only the grip has ink. */
@media (forced-colors: none) {
 body[data-page=home] {--grip-rgb:64 97 101}
 body[data-page=home][data-tone=sand] {--grip-rgb:77 96 94}
 body[data-page=home][data-tone=deep] {--grip-rgb:163 195 197}
 body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet) {
  scrollbar-color:rgb(var(--grip-rgb) / var(--grip-opacity, .62)) transparent; scrollbar-width:thin;
 }
 @media (hover:hover) and (pointer:fine) {
  @supports selector(::-webkit-scrollbar) {
   body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet) {scrollbar-color:auto;scrollbar-width:auto}
   body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet)::-webkit-scrollbar {width:12px;height:12px;background:transparent}
   body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet)::-webkit-scrollbar-track {background:transparent;margin-block:4px}
   body[data-page=home] #reading-window::-webkit-scrollbar-track:vertical {margin-top:calc(var(--bar-height) + 8px);margin-bottom:8px}
   body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet)::-webkit-scrollbar-thumb {min-height:32px;border:4px solid transparent;border-radius:12px;background:rgb(var(--grip-rgb) / var(--grip-opacity, .62)) padding-box}
   body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet)::-webkit-scrollbar-thumb:hover {border-width:3px;background-color:rgb(var(--grip-rgb) / .86)}
   body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet)::-webkit-scrollbar-thumb:active {background-color:rgb(var(--grip-rgb) / .98)}
   body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet)::-webkit-scrollbar-corner {background:transparent}
  }
 }
}

/* Animate the scrollport value, so the native thumb keeps its drag target. */
@property --cove-grip-alpha { syntax:"<number>"; inherits:false; initial-value:.24 }
@media (forced-colors:none) {
 html[data-scroll-grip] body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet) {
  --grip-opacity:var(--cove-grip-alpha);
  transition:--cove-grip-alpha 950ms ease-in-out;
 }
 html[data-scroll-grip] body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet)[data-scrolling] {
  --cove-grip-alpha:.68; transition-duration:360ms;
 }
 @media (prefers-reduced-motion:reduce) {
  html[data-scroll-grip] body[data-page=home] :is(#reading-window,#desk,#topic-options,#desk-sheet) {transition-duration:0s}
 }
}
