/* Oysters shared visual system update 2026-10-10. Presentation only; no CMS/data changes. */
:root{--oy-ink:#102f52;--oy-navy:#092b50;--oy-teal:#087f91;--oy-teal-soft:#e8f5f6;--oy-line:#d8e2eb;--oy-paper:#fff;--oy-muted:#586b7f;--oy-ad:#f0f2f4}
.oytpl{color:var(--oy-ink);background:var(--oy-paper)}
.oytpl .tpl-shell{width:min(1200px,calc(100% - 36px));margin-inline:auto}
.oytpl .tpl-subnav{background:#fff;border-bottom:1px solid var(--oy-line);box-shadow:0 2px 8px #102f5208}
.oytpl .tpl-subnav .tpl-shell{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;padding:10px 0}
.oytpl .tpl-subnav a{color:var(--oy-navy);border-radius:999px;padding:9px 14px;text-decoration:none;font-weight:700;transition:background .15s,color .15s}
.oytpl .tpl-subnav a:hover,.oytpl .tpl-subnav a:focus-visible,.oytpl .tpl-subnav a.active{background:var(--oy-teal-soft);color:var(--oy-teal);text-decoration:none;outline-offset:2px}
.oytpl .tpl-hero{background:linear-gradient(115deg,#f3f7fa 0%,#fff 65%);border-bottom:1px solid var(--oy-line);padding:clamp(26px,5vw,58px) 0}
.oytpl .tpl-hero h1,.oytpl .tpl-story h1{color:var(--oy-navy);letter-spacing:-.025em}
.oytpl .tpl-kicker{color:var(--oy-teal);font-weight:800;letter-spacing:.12em}
.oytpl .tpl-btn{background:var(--oy-navy);border:1px solid var(--oy-navy);border-radius:5px;color:#fff;font-weight:700;text-decoration:none}
.oytpl .tpl-btn:hover,.oytpl .tpl-btn:focus-visible{background:var(--oy-teal);border-color:var(--oy-teal)}
.oytpl .tpl-btn.alt{background:#fff;color:var(--oy-navy);border-color:#9aafc1}
.oytpl .tpl-section{padding-block:clamp(24px,4vw,42px)}
.oytpl .tpl-panel,.oytpl .tpl-card,.oytpl .tpl-side,.oytpl .tpl-sponsor{border:1px solid var(--oy-line);border-radius:8px;box-shadow:0 5px 18px #102f5208;background:#fff}
.oytpl .tpl-card{overflow:hidden;transition:transform .16s,box-shadow .16s}
.oytpl .tpl-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px #102f5214}
.oytpl .tpl-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.oytpl .tpl-card .pad{padding:16px}
.oytpl .tpl-card h3{color:var(--oy-navy)}
.oytpl .tpl-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.oytpl .tpl-person{border:1px solid var(--oy-line);border-radius:8px;background:#fff;padding:18px;text-align:center;color:var(--oy-navy);text-decoration:none;display:flex;align-items:center;flex-direction:column;gap:7px}
.oytpl .tpl-person:hover{border-color:var(--oy-teal);box-shadow:0 7px 20px #102f5210}
.oytpl .tpl-avatar{overflow:hidden;border-radius:50%;border:4px solid #fff;box-shadow:0 0 0 1px var(--oy-line);background:#edf3f7}
.oytpl .tpl-avatar img{width:100%;height:100%;object-fit:cover;display:block}
/* Author page: portrait overlaps the biography surface, echoing the supplied profile reference. */
.oytpl .writer-profile{padding-top:30px}
.oytpl .writer-profile .tpl-rail-layout{display:grid;grid-template-columns:minmax(190px,245px) minmax(0,1fr) minmax(180px,230px);gap:24px;align-items:start}
.oytpl .writer-profile .writer-profile-nav{position:relative;padding:82px 20px 20px;margin-top:56px;overflow:visible}
.oytpl .writer-profile .writer-profile-avatar{width:142px;height:142px;position:absolute;left:50%;top:-70px;transform:translateX(-50%);border:5px solid white;box-shadow:0 4px 22px #092b5026}
.oytpl .writer-profile .writer-profile-nav h3{text-align:center;color:var(--oy-navy);font-size:1.18rem}
.oytpl .writer-profile .writer-profile-nav .tpl-note{text-align:center}
.oytpl .writer-profile .writer-profile-nav>a{display:block;padding:10px 12px;border-top:1px solid #e9eef3;text-decoration:none;color:var(--oy-navy)}
.oytpl .writer-profile .writer-profile-nav>a:hover{color:var(--oy-teal);background:#f5fbfb}
.oytpl .writer-profile .tpl-story{min-width:0;padding:clamp(20px,3vw,36px);border:1px solid var(--oy-line);border-radius:10px;background:#fff;box-shadow:0 7px 25px #102f5209}
.oytpl .writer-profile .writer-profile-lead{display:none}
.oytpl .writer-profile .writer-bio{font-size:1.02rem;line-height:1.8;color:#263d53}
.oytpl .writer-profile .writer-bio p{margin:0 0 1.15em}
.oytpl .writer-profile .tpl-story h2{border-bottom:2px solid var(--oy-teal-soft);padding-bottom:9px;margin-top:32px}
.oytpl .writer-profile .tpl-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.oytpl .writer-profile #follow{padding:20px}
.oytpl .writer-profile .tpl-sponsor,.oytpl .tpl-sponsor{background:#f4f6f8;border:1px dashed #a8b7c5;color:#40566b;padding:16px}
.oytpl .tpl-sponsor:before{content:'ADVERTISEMENT';display:block;font-size:10px;letter-spacing:.12em;color:#617487;font-weight:800;margin-bottom:8px}
/* Oysters Pages shares the same brand language without changing its listing behavior. */
.op-public{color:var(--oy-ink)}
.op-public .op-footer{border-top:1px solid var(--oy-line);background:#f5f8fa;color:var(--oy-muted)}
.op-public .op-footer a{color:var(--oy-navy)}
@media(max-width:900px){.oytpl .writer-profile .tpl-rail-layout{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.oytpl .writer-profile #follow{grid-column:1/-1}.oytpl .tpl-people{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.oytpl .tpl-shell{width:calc(100% - 24px)}.oytpl .tpl-subnav .tpl-shell{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.oytpl .tpl-subnav a{white-space:nowrap;padding:9px 12px}.oytpl .writer-profile .tpl-rail-layout{display:flex;flex-direction:column;gap:18px}.oytpl .writer-profile .writer-profile-nav{order:0;width:100%;margin-top:60px;padding:82px 14px 12px}.oytpl .writer-profile .tpl-story{order:1;width:100%;padding:20px 16px}.oytpl .writer-profile #follow{order:2;width:100%}.oytpl .writer-profile .writer-profile-nav>a{display:inline-block;border:1px solid var(--oy-line);border-radius:999px;margin:4px;padding:8px 10px}.oytpl .writer-profile .writer-profile-nav h3{margin-bottom:4px}.oytpl .writer-profile .writer-profile-nav .tpl-note{margin-top:0}.oytpl .writer-profile .tpl-grid.two,.oytpl .tpl-people{grid-template-columns:repeat(2,minmax(0,1fr))}.oytpl .tpl-hero-grid{grid-template-columns:1fr}.oytpl .tpl-hero-art img{max-height:250px;object-fit:cover}}
@media(max-width:380px){.oytpl .writer-profile .tpl-grid.two,.oytpl .tpl-people{grid-template-columns:1fr}}
