/* Home only: composition made from the complete package's independent transparent illustrations. */
.ocean-hero{height:clamp(220px,18.5vw,310px);position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 5%,var(--detail-shade-rgba-255-255-255-8),transparent 40%),linear-gradient(165deg,var(--sky-top),var(--sky-mid) 60%,var(--sky-bottom));isolation:isolate}
.ocean-hero:before{content:'';position:absolute;inset:0;z-index:0;opacity:.48;background:radial-gradient(ellipse at 9% 72%,var(--cloud) 0 6%,transparent 6.4%),radial-gradient(ellipse at 16% 71%,var(--cloud) 0 4%,transparent 4.4%),radial-gradient(ellipse at 86% 72%,var(--cloud) 0 7%,transparent 7.4%),radial-gradient(ellipse at 94% 70%,var(--cloud) 0 8%,transparent 8.4%)}
.ocean-hero img{position:absolute;height:auto;max-width:none;pointer-events:none}
.ocean-cloud{z-index:0;width:32%;opacity:.82}.ocean-cloud-left{left:-3%;top:20%}.ocean-cloud-right{right:-2%;top:13%;transform:scaleX(-1)}
.ocean-lighthouse{z-index:1;right:1%;bottom:0;width:clamp(115px,12.5vw,210px)}
.ocean-bubbles{z-index:1;left:1%;top:14%;width:clamp(110px,12vw,200px);opacity:.9}
.ocean-wave{z-index:1;bottom:-7%;width:51%}.ocean-wave-left{left:-1%}.ocean-wave-right{right:-2%;width:38%}
.ocean-hero-figure{z-index:2;left:50%;bottom:-24%;width:clamp(440px,43vw,720px);transform:translateX(-50%)}
.ocean-hero-inner{height:100%;position:relative;z-index:3}
.ocean-title{position:absolute;left:5%;top:19%;transform:rotate(-7deg);color:var(--detail-shade-fff);text-shadow:0 3px 4px var(--detail-shade-416ec6),0 0 8px var(--detail-shade-6ca6ef)}
.ocean-title h1{font-family:'STKaiti','Kaiti SC','KaiTi','Noto Serif CJK SC',serif;font-size:clamp(43px,4vw,67px);letter-spacing:.1em;line-height:1.1;margin:0;font-weight:900}.ocean-title h1 span{display:block}.ocean-title h1 span+span{margin-left:1.1em}.ocean-title p{font-size:clamp(13px,1.15vw,19px);font-weight:700;letter-spacing:.1em;margin:10px 0 0 2em;padding:2px 12px;color:var(--detail-shade-20448d);text-shadow:none;border-radius:9px;background:var(--detail-shade-rgba-244-250-255-8);width:max-content}
.ocean-note{position:absolute;right:10%;top:12%;width:clamp(220px,19vw,310px);padding:10px;background:var(--detail-shade-rgba-239-246-255-94);border:2px solid var(--detail-shade-a8bff7);outline:2px solid var(--detail-shade-rgba-255-255-255-8);border-radius:10px;transform:rotate(-7deg);box-shadow:0 5px 12px var(--detail-shade-rgba-26-68-157-25)}
.ocean-note div{display:flex;align-items:center;gap:7px;font-size:clamp(11px,.95vw,16px);font-weight:650;white-space:nowrap;line-height:1.45;padding:2px 4px;margin:2px 0;border-radius:4px;background:var(--detail-shade-f8fbff)}.ocean-check{font-size:22px;font-weight:900;line-height:1.1;color:var(--detail-shade-f5a340);text-shadow:1px 1px var(--detail-shade-396ad5)}
.ocean-sleep{right:0;bottom:-4%;width:clamp(130px,15vw,240px)}
body.has-hero .post-cover{background:linear-gradient(160deg,var(--cover-sky),var(--cover-sea) 70%,var(--sky-mid));background-image:linear-gradient(160deg,var(--cover-sky),var(--cover-sea) 70%,var(--sky-mid))}
body.has-hero .post-cover.is-character-cover img{object-fit:contain}
body.has-hero .profile-avatar{object-fit:cover;object-position:45% 8%}
body.has-hero .profile-peek{object-fit:contain}
body.has-hero .profile-whale{width:clamp(45px,3.4vw,58px)}
body.has-hero .today-content img{object-fit:contain}
@media(min-width:901px){
 body.has-hero .shell{width:min(calc(100% - 6.2vw),1580px)}
 body.has-hero .home-grid{grid-template-columns:minmax(0,18.2fr) minmax(0,52.4fr) minmax(0,26.7fr);gap:clamp(15px,1.5vw,24px)}
 body.has-hero .home-grid:has(.profile-card):not(:has(.right-sidebar section)){grid-template-columns:minmax(190px,18.2fr) minmax(0,79fr)}
 body.has-hero .home-grid:not(:has(.profile-card)){grid-template-columns:minmax(0,70fr) minmax(210px,26.7fr)}
 body.has-hero .home-grid:not(:has(.profile-card)):not(:has(.right-sidebar section)){grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
 body.has-hero{--mobile-hero-height:clamp(176px,55.1vw,260px)}
 body.has-hero .shell{width:calc(100% - 24px)}
 .ocean-hero{height:var(--mobile-hero-height)}
 .ocean-cloud{width:55%;opacity:.72}.ocean-cloud-left{top:8%;left:-15%}.ocean-cloud-right{top:9%;right:-17%}
 .ocean-hero-figure{width:min(82vw,450px);right:-15%;left:auto;bottom:-4%;transform:none}
 .ocean-lighthouse{right:-2%;bottom:23%;width:24%}
 .ocean-bubbles{width:31%;left:-5%;top:6%}
 .ocean-wave{width:68%;bottom:-2%}.ocean-wave-right{width:58%}
 .ocean-title{top:7%;left:4%;transform:rotate(-7deg)}
 .ocean-title h1{font-size:clamp(21px,6.2vw,32px);letter-spacing:.06em;line-height:1.07}
 .ocean-title h1 span+span{margin-left:.55em}
 .ocean-title p{font-size:clamp(8px,2.55vw,11px);letter-spacing:0;margin:4px 0 0 .6em;padding:1px 7px}
 .ocean-note{width:min(46%,185px);bottom:5%;top:auto;left:1%;right:auto;padding:4px;transform:rotate(-7deg);border-radius:7px}
 .ocean-note div{font-size:clamp(6.7px,2.05vw,9px);line-height:1.2;gap:2px;padding:1px;margin:1px 0;white-space:nowrap}
 .ocean-check{font-size:clamp(12px,3.6vw,16px);line-height:1}
 .ocean-sleep{left:26%;right:auto;width:30%;bottom:-4%}
 body.has-hero .home-grid,body.has-hero .home-grid:not(:has(.profile-card)),body.has-hero .home-grid:has(.profile-card):not(:has(.right-sidebar section)){display:flex;flex-direction:column;gap:10px;margin-top:72px}
 body.has-hero .home-grid>*{width:100%}
 body.has-hero .home-grid:not(.mobile-sidebars-on)>.profile-card,body.has-hero .home-grid:not(.mobile-sidebars-on)>.right-sidebar{display:none}
 body.has-hero .posts-section{order:0}
 body.has-hero .post-tabs{height:36px;min-height:36px;margin-bottom:0;padding:0 12px;gap:0;border-radius:14px 14px 0 0;box-shadow:none}
 body.has-hero .post-tab{display:none;font-size:13px;gap:6px}
 body.has-hero .post-tab.is-active{display:flex;color:var(--ink);font-weight:800}
 body.has-hero .post-tab.is-active:after{display:none}
 body.has-hero .post-tab.is-active:before{content:'★';font-size:19px;line-height:1;color:var(--detail-shade-ffbb42);text-shadow:0 1px var(--detail-shade-df8e27)}
 body.has-hero .post-tab .tab-fish{display:none}
 body.has-hero .mobile-more{display:block;margin-left:auto;color:var(--primary-dark);font-size:10px}
 body.has-hero .post-list{gap:4px}
 body.has-hero .post-card{min-height:75px;grid-template-columns:minmax(92px,35%) minmax(0,1fr) 18px;gap:8px;padding:7px;border-radius:14px}
 body.has-hero .post-cover{height:61px;border-radius:9px}
 body.has-hero .post-card h3{font-size:clamp(10px,2.8vw,11px);line-height:1.3;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body.has-hero .post-excerpt{display:none}
 body.has-hero .post-meta{gap:3px;font-size:8px}
 body.has-hero .post-meta time{font-size:8px;gap:3px}
 body.has-hero .post-meta time .icon{width:11px;height:11px}
 body.has-hero .post-tags{gap:3px}
 body.has-hero .post-tags .tag-pill{font-size:8px;padding:2px 6px}
 body.has-hero .post-arrow{height:18px;width:18px}
 body.has-hero .post-arrow .icon{height:15px;width:15px}

}
/* Keep the lighthouse visible above the distant sea and the cover illustrations on a layered sky. */
body.has-hero .post-cover{background-image:var(--cover-cloud),var(--cover-wave),linear-gradient(160deg,var(--cover-sky),var(--cover-sea) 72%,var(--sky-mid));background-position:center top,center bottom,center;background-size:85% auto,100% auto,cover;background-repeat:no-repeat}
.ocean-lighthouse{z-index:2}
.ocean-wave{bottom:-34%}
@media(min-width:761px){.ocean-hero-figure{bottom:-40%}}
@media(max-width:760px){.ocean-lighthouse{z-index:3;right:-5%;top:2%;bottom:auto;width:22%}.ocean-wave{bottom:-16%}}

/* Home spacing, softly blended horizon and translucent header. */

.ocean-hero:after{content:'';position:absolute;left:0;right:0;bottom:0;height:clamp(30px,4vw,58px);z-index:2;pointer-events:none;background:linear-gradient(to bottom,transparent,var(--background))}
body.has-hero .home-grid,
body.has-hero .home-grid:not(:has(.profile-card)),
body.has-hero .home-grid:has(.profile-card):not(:has(.right-sidebar section)){margin-top:var(--home-section-gap)}
body.has-hero .post-list{gap:var(--home-card-gap)}

/* Home article sorting tabs. */
body.is-home .post-tablist{display:flex;align-items:stretch;gap:clamp(25px,2.7vw,45px);min-width:0}
@media(max-width:760px){

 body.has-hero .home-grid,body.has-hero .home-grid:not(:has(.profile-card)),body.has-hero .home-grid:has(.profile-card):not(:has(.right-sidebar section)){margin-top:var(--home-section-gap)}
 body.is-home:not(.has-hero) .home-grid{padding-top:0;margin-top:var(--home-section-gap)}
 body.is-home .post-tabs{height:42px;min-height:42px;margin-bottom:10px;padding:0 10px;gap:6px;border-radius:14px;overflow:visible}
 body.is-home .post-tablist{flex:1;gap:clamp(5px,1.8vw,10px);overflow-x:auto;scrollbar-width:none}
 body.is-home .post-tablist::-webkit-scrollbar{display:none}
 body.is-home .post-tab,body.is-home .post-tab.is-active{display:flex;flex:none;gap:3px;font-size:clamp(10px,2.6vw,12px);color:var(--muted);font-weight:600}
 body.is-home .post-tab.is-active{color:var(--primary-dark);font-weight:800}
 body.is-home .post-tab.is-active:before{content:none}
 body.is-home .post-tab.is-active:after{display:block;bottom:0;left:0;right:0;height:2px}
 body.is-home .post-tab .tab-fish{display:block;width:17px;height:14px}
 body.is-home .post-tab .icon{width:15px;height:15px;font-size:15px}
 body.is-home .mobile-more{display:inline-flex;align-self:center;align-items:center;justify-content:center;flex:none;gap:3px;margin-left:auto;padding:6px 8px;border-radius:10px;background:var(--detail-shade-e8efff);color:var(--primary-dark);font-size:10px;line-height:1;white-space:nowrap}

 body.has-hero .profile-card{order:1}
 body.has-hero .right-sidebar{order:2}
}

/* Let the side whale extend past the card, while clipping only the bottom peek illustration. */
body.is-home .profile-card{overflow:visible}
body.is-home .profile-peek-clip{position:absolute;left:0;right:0;bottom:0;height:85px;overflow:hidden;border-radius:0 0 20px 20px;pointer-events:none}
body.is-home .profile-whale{z-index:1}
@media(min-width:761px){body.is-home .profile-whale{left:clamp(-30px,-2vw,-20px)}}
@media(min-width:901px) and (max-width:1000px){body.is-home .profile-whale{left:-26px}}
