/* OKU | Hacı Bektaş-ı Velî / Nesîmî – additive, TR-only, scoped presentation. */
#screen-home .sg-home,.sages-screen .sg-main{--sg-font:'JetBrains Mono Local','JetBrains Mono',ui-monospace,'Courier New',monospace;font-family:var(--sg-font);box-sizing:border-box;color:#191919}
#screen-home .sg-home *, .sages-screen .sg-main *{box-sizing:border-box}
#screen-home .sg-home{width:min(100%,1840px);margin:-42px auto 66px;position:relative;z-index:5}
#screen-home .sg-home[hidden]{display:none!important}
#screen-home .sg-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:56px}
#screen-home .sg-home-card{--sg-round:clamp(30px,4.2vw,76px);all:unset!important;box-sizing:border-box!important;display:block!important;position:relative!important;text-align:left!important;width:100%!important;min-width:0!important;aspect-ratio:2.66!important;min-height:0!important;border-radius:var(--sg-round)!important;cursor:pointer!important;color:#ffe5bc!important;isolation:isolate;transition:background-color .2s,color .2s,transform .2s,box-shadow .2s!important}
#screen-home .sg-home-card--haci{background:#078eab!important}
#screen-home .sg-home-card--nesimi{background:#e6a000!important}
#screen-home .sg-home-no{position:absolute;top:26px;left:23px;z-index:6;font-size:clamp(14px,1.15vw,22px)}
#screen-home .sg-home-name{position:absolute;top:25px;left:6.7%;right:7%;z-index:6;font-size:clamp(28px,2.65vw,52px);line-height:1.13;letter-spacing:-.055em;font-weight:850;padding-left:31px;pointer-events:none}
#screen-home .sg-home-person{position:absolute;bottom:0;right:0;width:55%;max-width:none;height:auto;max-height:143%;object-fit:contain;object-position:bottom right;pointer-events:none;z-index:4}
#screen-home .sg-home-card--haci .sg-home-person{width:54%;right:-1%}
#screen-home .sg-home-card--nesimi .sg-home-person{width:56%;right:-1%}
#screen-home .sg-home-card::after{content:'';position:absolute;z-index:7;right:0;bottom:0;width:var(--sg-round);height:var(--sg-round);background:radial-gradient(circle at 0 0,transparent calc(var(--sg-round) - 1px),var(--paper,#f1ecde) var(--sg-round));pointer-events:none}
#screen-home .sg-home-arr{position:absolute;bottom:20px;left:24px;z-index:8;font-size:40px;line-height:1}
#screen-home .sg-home-card:hover,#screen-home .sg-home-card:focus-visible{background:#f8e6c4!important;color:#996035!important;transform:translateY(-3px);box-shadow:inset 0 0 0 2px currentColor!important}
.sages-screen .sg-main{max-width:var(--content-max,1680px);width:min(100%,var(--content-max,1680px));margin:0 auto;padding:15px clamp(18px,1.85vw,32px) 85px;flex:1}
.sages-screen .sg-main button{cursor:pointer;font-family:var(--sg-font)}
.sages-screen .sg-hero{background:var(--sg-color);border-radius:39px;min-height:250px;margin-bottom:14px;padding:33px 3.2%;display:flex;align-items:center;position:relative;isolation:isolate;overflow:hidden;color:#f9e9c8}
.sages-screen .sg-hero-copy{position:relative;z-index:3;width:54%;min-width:0}
.sages-screen .sg-tag{font-size:clamp(14px,1.15vw,19px);display:block;font-weight:650;margin-bottom:9px}
.sages-screen .sg-hero h1{font-size:clamp(38px,4.9vw,83px);font-weight:850;line-height:1.04;letter-spacing:-.045em;margin:0 0 16px;overflow-wrap:break-word;color:inherit}
.sages-screen .sg-hero p{font-size:clamp(11px,.89vw,16px);line-height:1.5;max-width:660px;margin:0;font-weight:500}
.sages-screen .sg-hero-flower{position:absolute;right:-7%;top:-45%;width:73%;height:192%;z-index:1;object-fit:contain;object-position:right center;pointer-events:none}
.sages-screen .sg-go-back{all:unset;display:inline-block;margin-top:17px;cursor:pointer;font-size:12px;color:inherit;font-weight:800}
.sages-screen .sg-person{--sg-round:38px;min-height:465px;margin-bottom:13px;position:relative;isolation:isolate;display:grid;grid-template-columns:43% 57%;align-items:center;border-radius:var(--sg-round);background:#408fa9;color:#f9e9c8}
.sages-screen .sg-person--nesimi{background:#dba52e}
.sages-screen .sg-person-img{position:absolute;left:0;bottom:0;width:45%;height:auto;max-height:calc(100% + 60px);object-fit:contain;object-position:bottom left;pointer-events:none;z-index:2;mask-image:linear-gradient(to right,#000 0%,#000 91%,transparent 100%)}
.sages-screen .sg-person--haci .sg-person-img{width:45%;max-height:calc(100% + 55px)}
.sages-screen .sg-person--nesimi .sg-person-img{width:45%;max-height:calc(100% + 58px)}
.sages-screen .sg-person::after{content:'';position:absolute;left:0;bottom:0;width:var(--sg-round);height:var(--sg-round);pointer-events:none;z-index:5;background:radial-gradient(circle at 100% 0,transparent calc(var(--sg-round) - 1px),var(--paper,#f1ecde) var(--sg-round))}
.sages-screen .sg-person-info{grid-column:2;position:relative;z-index:4;padding:38px 6% 32px 0;min-width:0}
.sages-screen .sg-person h2{font-size:clamp(26px,2.8vw,46px);line-height:1.14;margin:0 0 29px;font-weight:800;letter-spacing:-.04em}
.sages-screen .sg-person p{font-size:clamp(13px,1.14vw,21px);line-height:1.47;margin:0 0 20px}
.sages-screen .sg-works{display:grid;grid-template-columns:1fr}
.sages-screen .sg-work{all:unset;display:block!important;width:100%!important;box-sizing:border-box!important;position:relative!important;isolation:isolate;overflow:hidden!important;min-height:210px!important;border-radius:39px!important;padding:25px 4%!important;color:#fff1d7!important;background:#6fa0b1!important;cursor:pointer!important;transition:background .2s,color .2s!important}
.sages-screen .sg-work--nesimi{background:#bd5938!important}
.sages-screen .sg-work-copy{display:flex;flex-direction:column;position:relative;z-index:4;align-items:flex-start}
.sages-screen .sg-work-copy small{font-size:clamp(14px,1.25vw,21px);font-weight:650}
.sages-screen .sg-work-copy strong{font-size:clamp(39px,4.15vw,72px);line-height:1.1;font-weight:850;letter-spacing:-.055em}
.sages-screen .sg-work-copy em{font-size:clamp(12px,1.1vw,19px);font-weight:650;font-style:normal;margin-top:7px}
.sages-screen .sg-work img{position:absolute;top:-55%;right:-6%;width:66%;height:205%;z-index:1;object-fit:contain;object-position:right center;pointer-events:none}
.sages-screen .sg-work-arrow{position:absolute;left:24px;bottom:15px;font-size:35px;z-index:5;line-height:1}
.sages-screen .sg-work:hover,.sages-screen .sg-work:focus-visible{background:#f6e4c6!important;color:#3889a1!important;box-shadow:inset 0 0 0 2px currentColor!important}
.sages-screen .sg-work--nesimi:hover,.sages-screen .sg-work--nesimi:focus-visible{color:#af593c!important}
.sages-screen .sg-library{min-height:330px}
.sages-screen .sg-library-header{display:flex;align-items:end;justify-content:space-between;gap:28px;margin:22px 0 20px}
.sages-screen .sg-library-header small{font-weight:850;letter-spacing:.045em;font-size:12px}
.sages-screen .sg-library-header h2{font-size:clamp(30px,3.1vw,53px);line-height:1.08;margin:6px 0}
.sages-screen .sg-library-header p{font-size:14px;margin:5px 0;color:#5b5047}
.sages-screen .sg-library-header label{font-size:13px;display:grid;gap:8px;min-width:230px;font-weight:700}
.sages-screen .sg-library-header input{width:100%;font:inherit;font-size:15px;border:1px solid #a59a87;background:#fff8ed;border-radius:12px;padding:13px 16px;color:#28241f}
.sages-screen .sg-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sages-screen .sg-index-card{all:unset;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;position:relative!important;min-width:0;border:1px solid #b6aa98!important;background:#f3ede0!important;color:#1f1d1b!important;border-radius:18px!important;min-height:175px!important;padding:17px!important;cursor:pointer!important;transition:background .18s,color .18s!important}
.sages-screen .sg-index-card small{font-size:11px;letter-spacing:.1em;font-weight:800}
.sages-screen .sg-index-card b{font-size:clamp(32px,3.3vw,57px);line-height:1.05;margin:5px 0;font-weight:800}
.sages-screen .sg-index-card span{font-size:clamp(11px,1vw,16px);font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.sages-screen .sg-index-card i{margin-top:auto;padding-top:14px;font-size:19px;font-style:normal}
.sages-screen .sg-index-card:hover,.sages-screen .sg-index-card:focus-visible{background:#33342e!important;color:#ffecd3!important}
.sages-screen .sg-note{padding:32px;border-radius:22px;background:#f1e8d7;color:#4e453e;font-size:16px}
.sages-screen .sg-reading-head{scroll-margin-top:85px;background:#408fa9;border-radius:29px;padding:29px clamp(20px,3vw,48px);color:#ffecd4;margin:7px 0 12px;position:relative}
.sages-screen .sg-main--nesimi-siirleri .sg-reading-head{background:#bd5938}
.sages-screen .sg-reading-head span{font-size:clamp(11px,.95vw,14px);font-weight:850;letter-spacing:.04em}
.sages-screen .sg-reading-head h2{font-size:clamp(25px,3vw,48px);line-height:1.22;margin:11px 0;overflow-wrap:anywhere}
.sages-screen .sg-back{all:unset;cursor:pointer;font-size:13px;font-weight:700;color:inherit;text-decoration:underline;text-underline-offset:4px}
.sages-screen .sg-reading-prose,.sages-screen .sg-reading-duo{border-radius:27px;background:#f3ebdb;color:#231f1b;padding:clamp(22px,3.2vw,54px);min-height:250px}
.sages-screen .sg-prose{width:100%;font-size:clamp(16px,1.23vw,21px);line-height:1.9;text-align:left;overflow-wrap:anywhere;white-space:normal}
.sages-screen .sg-prose p{margin:0 0 1.35em}
.sages-screen .sg-reading-duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}
.sages-screen .sg-reading-duo section{min-width:0}
.sages-screen .sg-reading-duo section:first-child{padding-right:clamp(15px,3vw,50px);border-right:1px solid #b8ad99}
.sages-screen .sg-reading-duo section:last-child{padding-left:clamp(15px,3vw,50px)}
.sages-screen .sg-reading-duo h3{font-size:clamp(19px,1.65vw,28px);margin:0 0 25px}
.sages-screen .sg-verse-block{font-size:clamp(15px,1.16vw,20px);line-height:1.82;overflow-wrap:anywhere;text-align:left}
.sages-screen .sg-stanza{margin:0 0 1.5em}
.sages-screen .sg-stanza span{display:block}
.sages-screen .sg-editorial{font-size:12px;line-height:1.65;margin:0 0 23px;color:#73685c}
.sages-screen .sg-reading-nav{display:flex;justify-content:space-between;gap:12px;margin-top:13px}
.sages-screen .sg-next{border:1px solid #9c917f;background:#f2e4cc;color:#25211d;padding:15px 22px;font-size:15px;border-radius:14px;min-height:49px}
.sages-screen .sg-next:hover{background:#292924;color:#faeccf}
@media(max-width:950px){.sages-screen .sg-index{grid-template-columns:repeat(3,minmax(0,1fr))}.sages-screen .sg-person{min-height:350px}.sages-screen .sg-person h2{font-size:clamp(23px,3vw,35px)}.sages-screen .sg-person-info{padding-right:6%}}
@media(max-width:720px){
 #screen-home .sg-home{margin-top:-42px;margin-bottom:50px}
 #screen-home .sg-home-grid{gap:9px;padding-top:40px}
 #screen-home .sg-home-card{--sg-round:24px;aspect-ratio:.92!important;min-height:155px!important}
 #screen-home .sg-home-no{top:13px;left:12px;font-size:13px}
 #screen-home .sg-home-name{left:13px;right:6px;top:39px;padding:0;font-size:clamp(16px,4.9vw,31px);line-height:1.09;max-width:95%;text-wrap:balance}
 #screen-home .sg-home-person{width:105%!important;max-height:92%!important;right:-5%!important;bottom:0!important;object-fit:contain;object-position:bottom right}
 #screen-home .sg-home-card--haci .sg-home-person{width:105%!important}
 #screen-home .sg-home-card--nesimi .sg-home-person{width:104%!important}
 #screen-home .sg-home-arr{font-size:29px;bottom:12px;left:13px}
 .sages-screen .sg-main{padding:12px 13px 60px}
 .sages-screen .sg-hero{min-height:190px;border-radius:25px;padding:24px 6%}
 .sages-screen .sg-hero-copy{width:65%}
 .sages-screen .sg-hero h1{font-size:clamp(29px,7vw,44px);margin-bottom:12px}
 .sages-screen .sg-hero p{font-size:10px;line-height:1.45}
 .sages-screen .sg-tag{font-size:12px}
 .sages-screen .sg-hero-flower{width:76%;height:160%;right:-29%;top:-26%}
 .sages-screen .sg-person{--sg-round:24px;min-height:285px;grid-template-columns:45% 55%;border-radius:var(--sg-round)}
 .sages-screen .sg-person-img{height:calc(100% + 28px)!important;width:44%!important;max-height:none!important;object-fit:cover!important;object-position:34% bottom!important;bottom:0;left:0;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 82%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,#000 82%,transparent 100%)}
 .sages-screen .sg-person--nesimi .sg-person-img{width:45%!important}
 .sages-screen .sg-person-info{padding:12px 6px 12px 0}
 .sages-screen .sg-person h2{font-size:clamp(16px,4.1vw,26px);margin-bottom:16px}
 .sages-screen .sg-person p{font-size:clamp(10px,2.85vw,14px);margin:0 0 14px;line-height:1.42}
 .sages-screen .sg-work{min-height:151px!important;border-radius:24px!important;padding:20px 6%!important}
 .sages-screen .sg-work-copy small{font-size:10px}.sages-screen .sg-work-copy strong{font-size:clamp(34px,8.7vw,54px)}.sages-screen .sg-work-copy em{font-size:10px;max-width:55%}
 .sages-screen .sg-work img{width:96%;height:160%;top:-27%;right:-39%}
 .sages-screen .sg-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .sages-screen .sg-index-card{padding:12px!important;min-height:147px!important;border-radius:16px!important}
 .sages-screen .sg-index-card span{font-size:12px}
 .sages-screen .sg-library-header{display:grid;gap:15px}.sages-screen .sg-library-header label{min-width:0}
 .sages-screen .sg-reading-duo{display:block}.sages-screen .sg-reading-duo section:first-child{padding:0 0 24px;border-right:0;border-bottom:1px solid #b8ad99;margin-bottom:25px}.sages-screen .sg-reading-duo section:last-child{padding:0}
 .sages-screen .sg-reading-prose,.sages-screen .sg-reading-duo{padding:22px 17px}.sages-screen .sg-verse-block{font-size:16px}
 .sages-screen .sg-reading-nav .sg-next{font-size:12px;padding:10px 12px}
}

/* Final reference refinements: hero copy and floral artwork occupy separate visual regions. */
@media(min-width:721px){
 .sages-screen .sg-hero h1{font-size:clamp(37px,4.15vw,70px);letter-spacing:-.047em}
 .sages-screen .sg-hero-copy{width:58%}
 .sages-screen .sg-hero-flower{right:-12%;top:-27%;width:63%;height:158%}
}
@media(max-width:720px){
 #screen-home .sg-home-name{font-size:clamp(15px,3.9vw,23px);max-width:56%;top:30px;line-height:1.12;overflow-wrap:normal;word-break:normal}
 #screen-home .sg-home-card--haci .sg-home-person,#screen-home .sg-home-card--nesimi .sg-home-person{width:92%!important;max-height:82%!important;right:-8%!important}
 .sages-screen .sg-hero h1{overflow-wrap:normal;word-break:normal;font-size:clamp(25px,6.3vw,41px)}
 .sages-screen .sg-hero-flower{right:-30%;top:-16%;height:151%;width:72%}
}

/* Makâlât temiz metin & Nesîmî anlam aktarımı – okunaklı paragraf ve kıta düzeni */
.sages-screen .sg-reading-prose .sg-prose p{margin:0 0 1.45em;hyphens:auto;line-break:auto}
.sages-screen .sg-reading-duo .sg-verse-block{font-size:clamp(16px,1.12vw,20px);line-height:1.82}
.sages-screen .sg-reading-duo .sg-stanza{margin:0 0 1.6em}


/* ===== v31 · homepage feature cards ===== */
#screen-home .sg-home{margin:18px 0 0;}
#screen-home .sg-home-grid--feature{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
#screen-home .sg-feature-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:260px;padding:24px;border-radius:32px;background:var(--sg-card-bg,#4b9ec1);color:#f4ecdc;overflow:hidden;}
#screen-home .sg-feature-main{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:18px;align-items:center;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;}
#screen-home .sg-feature-num{position:absolute;left:18px;top:16px;font:700 11px/1 var(--mono);letter-spacing:.12em;opacity:.82;}
#screen-home .sg-feature-copy{padding:16px 0 6px 6px;max-width:430px;}
#screen-home .sg-feature-copy small{display:block;margin:0 0 10px;font:600 12px/1.2 var(--mono);opacity:.92;}
#screen-home .sg-feature-copy h3{margin:0;font:720 clamp(34px,3vw,58px)/.94 var(--mono);letter-spacing:-.06em;}
#screen-home .sg-feature-portrait{justify-self:end;align-self:center;display:grid;place-items:center;width:200px;height:200px;border-radius:50%;overflow:hidden;border:1px solid rgba(255,244,220,.45);background:rgba(255,255,255,.08);}
#screen-home .sg-feature-portrait img{width:100%;height:100%;object-fit:cover;}
#screen-home .sg-feature-links{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0 0 6px;}
#screen-home .sg-feature-link{padding:10px 18px;border-radius:999px;border:1px solid rgba(249,240,224,.55);background:transparent;color:#f4ecdc;font:650 14px/1 var(--mono);cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;}
#screen-home .sg-feature-link:hover,#screen-home .sg-feature-link:focus-visible{background:#111;color:#f7f1e6;border-color:#111;transform:translateY(-1px);outline:0;}
@media(max-width:1100px){#screen-home .sg-home-grid--feature{grid-template-columns:1fr;}#screen-home .sg-feature-main{grid-template-columns:minmax(0,1fr) 180px;}#screen-home .sg-feature-portrait{width:168px;height:168px;}}
@media(max-width:700px){#screen-home .sg-feature-card{min-height:0;padding:20px 18px 18px;border-radius:28px;}#screen-home .sg-feature-main{grid-template-columns:1fr 122px;gap:12px;}#screen-home .sg-feature-copy{padding:14px 0 4px 2px;}#screen-home .sg-feature-copy small{font-size:10px;}#screen-home .sg-feature-copy h3{font-size:clamp(28px,9vw,44px);}#screen-home .sg-feature-portrait{width:118px;height:118px;}#screen-home .sg-feature-links{padding-left:2px;gap:8px;}#screen-home .sg-feature-link{font-size:12px;padding:9px 14px;}}

/* v31.7 ref-six-sages */
#screen-home .sg-home{margin:18px 0 0!important;}
#screen-home .sg-home-grid--feature{gap:18px!important;}
#screen-home .sg-feature-card{position:relative!important;min-height:290px!important;padding:0!important;border-radius:44px!important;overflow:hidden!important;background:var(--sg-card-bg)!important;color:#f5e8c8!important;box-shadow:none!important;}
#screen-home .sg-feature-card::after{content:'↓';position:absolute;left:22px;bottom:17px;font:700 38px/1 var(--mono);color:#f1e4c2;}
#screen-home .sg-feature-main{display:block!important;position:static!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;}
#screen-home .sg-feature-num{position:absolute!important;top:18px!important;left:18px!important;font:500 15px/1 var(--mono)!important;opacity:1!important;color:#f0e1b8!important;}
#screen-home .sg-feature-copy{position:absolute!important;left:56px!important;top:18px!important;z-index:3!important;padding:0!important;max-width:44%!important;}
#screen-home .sg-feature-copy small{display:none!important;}
#screen-home .sg-feature-copy h3{margin:0!important;font:720 clamp(34px,3.4vw,62px)/1.02 var(--mono)!important;letter-spacing:-.055em!important;color:#f6e8c7!important;}
#screen-home .sg-feature-portrait{position:absolute!important;right:18px!important;top:-2px!important;width:238px!important;height:238px!important;border-radius:50%!important;border:1.5px solid rgba(244,232,200,.86)!important;background:transparent!important;overflow:hidden!important;z-index:2!important;transform:none!important;}
#screen-home .sg-feature-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;}
#screen-home .sg-feature-links{position:absolute!important;left:56px!important;top:105px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;padding:0!important;z-index:3!important;}
#screen-home .sg-feature-link{padding:18px 30px!important;border-radius:999px!important;border:1px solid rgba(245,232,200,.36)!important;background:transparent!important;color:#f5e8c8!important;font:650 18px/1 var(--mono)!important;min-width:160px!important;text-align:center!important;}
#screen-home .sg-feature-link:hover,#screen-home .sg-feature-link:focus-visible{background:rgba(255,255,255,.08)!important;color:#fff3d4!important;border-color:rgba(245,232,200,.65)!important;transform:none!important;}
@media(max-width:1100px){#screen-home .sg-home-grid--feature{grid-template-columns:1fr!important;}#screen-home .sg-feature-card{min-height:276px!important;}}
@media(max-width:760px){
 #screen-home .sg-feature-card{min-height:208px!important;border-radius:28px!important;}
 #screen-home .sg-feature-card::after{left:14px;bottom:10px;font-size:28px;}
 #screen-home .sg-feature-num{top:13px!important;left:14px!important;font-size:13px!important;}
 #screen-home .sg-feature-copy{left:20px!important;top:14px!important;max-width:56%!important;}
 #screen-home .sg-feature-copy h3{font-size:clamp(23px,6vw,40px)!important;}
 #screen-home .sg-feature-links{left:20px!important;top:72px!important;gap:10px!important;}
 #screen-home .sg-feature-link{font-size:12px!important;padding:12px 18px!important;min-width:132px!important;}
 #screen-home .sg-feature-portrait{right:10px!important;top:-1px!important;width:138px!important;height:138px!important;}
}

/* ===== v31.16 · custom Nesîmî card / overlay / blood animation ===== */
#screen-home .sg-feature-card--nesimi-custom{background:#e0a309!important;color:#fff7e7!important;border-radius:44px!important;overflow:visible!important;}
#screen-home .sg-feature-card--nesimi-custom::after{content:'↓';position:absolute;left:22px;bottom:16px;font:700 38px/1 var(--mono);color:#f9ebcd;z-index:3}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-num{color:#f8edcf!important;font-weight:500!important;letter-spacing:0!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-copy{left:56px!important;top:18px!important;max-width:46%!important;z-index:4!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-copy small{display:block!important;margin:0 0 8px!important;font:600 12px/1.15 var(--mono)!important;color:#fff3d0!important;opacity:.96!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-copy h3{font:720 clamp(32px,3.2vw,58px)/1.02 var(--mono)!important;letter-spacing:-.05em!important;color:#fff8ea!important;margin:0!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-portrait{position:absolute!important;right:18px!important;top:6px!important;width:232px!important;height:232px!important;border-radius:50%!important;border:1.5px solid rgba(255,245,220,.86)!important;background:rgba(255,255,255,.06)!important;overflow:hidden!important;z-index:2!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:54% 32%!important;transform:scale(1.18)!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-links{position:absolute!important;left:56px!important;top:116px!important;padding:0!important;display:flex!important;flex-direction:column!important;z-index:4!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-link{padding:15px 28px!important;min-height:0!important;min-width:164px!important;border-radius:999px!important;border:1px solid rgba(255,245,220,.66)!important;background:rgba(255,255,255,.08)!important;color:#fff4d6!important;font:650 16px/1 var(--mono)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16)!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-link:hover,#screen-home .sg-feature-card--nesimi-custom .sg-feature-link:focus-visible{background:rgba(255,255,255,.17)!important;color:#fffdf6!important;border-color:rgba(255,245,220,.92)!important}
#screen-home .sg-feature-card--nesimi-custom .sg-feature-main:hover .sg-feature-copy h3,#screen-home .sg-feature-card--nesimi-custom .sg-feature-main:focus-visible .sg-feature-copy h3{text-decoration:none!important}
.sg-nesimi-info{position:absolute;right:245px;bottom:14px;z-index:5;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:0;background:#8f130d;color:#fff3dc;font:760 32px/1 var(--mono);box-shadow:0 10px 24px rgba(77,11,11,.24);cursor:pointer;transition:transform .18s ease,filter .18s ease,background .18s ease}
.sg-nesimi-info:hover,.sg-nesimi-info:focus-visible{transform:translateY(-1px) scale(1.03);filter:brightness(1.06);outline:0}
@media(max-width:760px){
 #screen-home .sg-feature-card--nesimi-custom{border-radius:28px!important;min-height:208px!important}
 #screen-home .sg-feature-card--nesimi-custom::after{left:14px;bottom:10px;font-size:28px}
 #screen-home .sg-feature-card--nesimi-custom .sg-feature-copy{left:18px!important;top:14px!important;max-width:56%!important}
 #screen-home .sg-feature-card--nesimi-custom .sg-feature-copy small{font-size:10px!important;margin-bottom:6px!important}
 #screen-home .sg-feature-card--nesimi-custom .sg-feature-copy h3{font-size:clamp(22px,6vw,38px)!important}
 #screen-home .sg-feature-card--nesimi-custom .sg-feature-links{left:18px!important;top:86px!important}
 #screen-home .sg-feature-card--nesimi-custom .sg-feature-link{font-size:12px!important;padding:11px 18px!important;min-width:132px!important}
 #screen-home .sg-feature-card--nesimi-custom .sg-feature-portrait{width:138px!important;height:138px!important;right:10px!important;top:8px!important}
 #screen-home .sg-feature-card--nesimi-custom .sg-feature-portrait img{transform:scale(1.24)!important;object-position:54% 34%!important}
 .sg-nesimi-info{width:46px;height:46px;right:114px;bottom:12px;font-size:26px}
}

/* Blood hosts */
.nesimi-blood-host{position:relative;overflow:hidden}
.nesimi-blood{position:absolute;z-index:7;pointer-events:none;opacity:0;transform:translate3d(0,-8px,0) scale(.82);will-change:transform,opacity;animation:none}
.nesimi-blood img{display:block;width:100%;height:auto;filter:drop-shadow(0 7px 10px rgba(90,0,0,.16))}
.nesimi-blood--left{left:38.4%;top:42.1%;width:8.6%}
.nesimi-blood--right{left:55.8%;top:42.9%;width:6.8%}
.nesimi-blood.is-run{animation:nesimiBloodDrip var(--drop-duration,3200ms) cubic-bezier(.22,.68,.18,1) var(--drop-delay,0ms) 1 both}
@keyframes nesimiBloodDrip{
  0%{opacity:0;transform:translate3d(0,-10px,0) scale(.72)}
  12%{opacity:.97;transform:translate3d(0,0,0) scale(1)}
  56%{opacity:1;transform:translate3d(0,calc(var(--drop-distance,96%)*.62),0) scale(1)}
  86%{opacity:.85;transform:translate3d(0,var(--drop-distance,96%),0) scale(.95)}
  100%{opacity:0;transform:translate3d(0,calc(var(--drop-distance,96%) + 22px),0) scale(.88)}
}
.nesimi-blood-host--card .nesimi-blood--left{left:37.8%;top:41.4%;width:8.9%}
.nesimi-blood-host--card .nesimi-blood--right{left:55.8%;top:42.0%;width:6.7%}
.nesimi-blood-host--detail .nesimi-blood--left{left:38.8%;top:42.0%;width:8.4%}
.nesimi-blood-host--detail .nesimi-blood--right{left:56.1%;top:42.6%;width:6.4%}
.nesimi-blood-host--overlay .nesimi-blood--left{left:39.2%;top:42.1%;width:8.6%}
.nesimi-blood-host--overlay .nesimi-blood--right{left:56.1%;top:42.8%;width:6.8%}

/* Nesimi detail page */
.sages-screen .sg-person--nesimi-custom{background:linear-gradient(135deg,#7a1712 0%,#4f0909 100%)!important;color:#f9e8d3!important;grid-template-columns:minmax(310px,42%) minmax(0,58%);padding:0!important;overflow:hidden}
.sages-screen .sg-person--nesimi-custom::after{display:none!important}
.sages-screen .sg-person--nesimi-custom .sg-person-visual{position:relative;align-self:stretch;min-height:460px;padding:26px 0 0 28px;display:flex;align-items:flex-end}
.sages-screen .sg-person--nesimi-custom .sg-person-circle{position:relative;display:block;width:100%;max-width:500px;height:100%;min-height:430px;border:0;border-radius:0;background:transparent;overflow:visible}
.sages-screen .sg-person--nesimi-custom .sg-person-img--static{position:absolute!important;left:0!important;bottom:0!important;width:102%!important;max-height:none!important;height:auto!important;mask-image:none!important;-webkit-mask-image:none!important;object-fit:contain!important;object-position:left bottom!important}
.sages-screen .sg-person--nesimi-custom .sg-person-info{padding:38px 6% 34px 0!important}
.sages-screen .sg-person--nesimi-custom h2{font-size:clamp(31px,3vw,52px)!important;margin:0 0 25px!important;color:#fce9d6!important}
.sages-screen .sg-person--nesimi-custom p{font-size:clamp(14px,1.08vw,19px)!important;line-height:1.6!important;color:#f7dfd0!important}
.sages-screen .sg-person--nesimi-custom p strong{color:#fff1e2!important}
.sages-screen .sg-person--nesimi-custom .sg-nesimi-info--detail{right:22px;top:22px;bottom:auto}
.sages-screen .sg-work--nesimi{background:#f7d4bc!important;color:#171410!important}
.sages-screen .sg-work--nesimi .sg-work-copy small,.sages-screen .sg-work--nesimi .sg-work-copy strong,.sages-screen .sg-work--nesimi .sg-work-copy em{color:#171410!important}
.sages-screen .sg-work--nesimi:hover,.sages-screen .sg-work--nesimi:focus-visible{background:#171410!important;color:#f7d4bc!important}
.sages-screen .sg-work--nesimi:hover .sg-work-copy small,.sages-screen .sg-work--nesimi:hover .sg-work-copy strong,.sages-screen .sg-work--nesimi:hover .sg-work-copy em,.sages-screen .sg-work--nesimi:focus-visible .sg-work-copy small,.sages-screen .sg-work--nesimi:focus-visible .sg-work-copy strong,.sages-screen .sg-work--nesimi:focus-visible .sg-work-copy em{color:#f7d4bc!important}
.sages-screen .sg-main--nesimi-siirleri .sg-reading-head{background:#7a1712!important;color:#ffe8d7!important}
@media(max-width:980px){
 .sages-screen .sg-person--nesimi-custom{grid-template-columns:1fr!important}
 .sages-screen .sg-person--nesimi-custom .sg-person-visual{min-height:360px;padding:18px 12px 0 18px}
 .sages-screen .sg-person--nesimi-custom .sg-person-circle{min-height:330px;max-width:420px}
 .sages-screen .sg-person--nesimi-custom .sg-person-info{padding:10px 20px 26px!important}
 .sages-screen .sg-person--nesimi-custom .sg-nesimi-info--detail{right:18px;top:18px}
}
@media(max-width:560px){
 .sages-screen .sg-person--nesimi-custom .sg-person-visual{min-height:280px;padding:15px 8px 0 14px}
 .sages-screen .sg-person--nesimi-custom .sg-person-circle{min-height:255px;max-width:100%}
 .sages-screen .sg-person--nesimi-custom h2{font-size:clamp(24px,7.2vw,36px)!important}
 .sages-screen .sg-person--nesimi-custom p{font-size:13px!important}
}

/* Fullscreen overlay */
.nesimi-overlay-open{overflow:hidden}
.nesimi-legend-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:18px}
.nesimi-legend-overlay[hidden]{display:none!important}
.nesimi-legend-overlay__scrim{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(2px)}
.nesimi-legend-overlay__panel{position:relative;width:min(100%,1900px);height:min(100%,1080px);border-radius:36px;overflow:hidden;background:#3a0000;color:#f9d8cb;box-shadow:0 26px 70px rgba(0,0,0,.38);transform:translateY(18px) scale(.985);opacity:0;transition:transform .35s ease,opacity .35s ease}
.nesimi-legend-overlay.is-open .nesimi-legend-overlay__panel{transform:translateY(0) scale(1);opacity:1}
.nesimi-legend-overlay__close{position:absolute;top:14px;right:14px;z-index:9;width:54px;height:54px;border:0;border-radius:50%;background:rgba(28,17,17,.88);color:#f4d7ad;font:700 40px/1 var(--mono);display:grid;place-items:center;cursor:pointer}
.nesimi-legend-overlay__inner{position:relative;height:100%;padding:28px 34px 28px 34px;background:radial-gradient(circle at 21% 34%,rgba(112,0,0,.24),transparent 35%),linear-gradient(180deg,#4d0000 0%,#340000 100%)}
.nesimi-legend-overlay__brand{position:absolute;left:20px;top:16px;z-index:4;color:#dbaf31;font:800 clamp(64px,6vw,132px)/.92 var(--mono);letter-spacing:-.07em;text-transform:uppercase}
.nesimi-legend-overlay__top-drop{position:absolute;z-index:2;filter:drop-shadow(0 14px 16px rgba(84,0,0,.25));animation:nesimiFloat 4.6s ease-in-out infinite alternate}
.nesimi-legend-overlay__top-drop--1{left:14%;top:-2.5%;width:min(7vw,88px)}
.nesimi-legend-overlay__top-drop--2{left:34%;top:1%;width:min(5vw,62px);animation-delay:-1.2s}
.nesimi-legend-overlay__top-drop--3{left:56%;top:8%;width:min(5.4vw,70px);animation-delay:-2.1s}
@keyframes nesimiFloat{from{transform:translateY(0)}to{transform:translateY(10px)}}
.nesimi-legend-overlay__visual{position:absolute;left:1.5%;bottom:0;width:min(50%,930px);height:88%;z-index:3;overflow:visible}
.nesimi-legend-overlay__portrait{position:absolute;left:0;bottom:0;width:100%;height:auto;object-fit:contain;object-position:left bottom}
.nesimi-legend-overlay__copy{position:absolute;right:4.5%;top:9%;width:min(42%,760px);z-index:4;text-align:center;color:#d93a27}
.nesimi-legend-overlay__copy h2{margin:0;font:500 clamp(42px,4.2vw,86px)/1.04 var(--mono);letter-spacing:-.04em;color:#d93a27}
.nesimi-legend-overlay__copy h3{margin:18px 0 24px;font:700 clamp(24px,2.1vw,48px)/1.1 var(--mono);color:#d93a27}
.nesimi-legend-overlay__copy p{margin:0 0 22px;font:500 clamp(14px,1vw,22px)/1.35 var(--mono);color:#d93a27}
.nesimi-legend-overlay__copy blockquote{margin:30px auto 20px;max-width:94%;font:700 clamp(20px,2vw,42px)/1.25 var(--mono);color:#df3f2f;border:0}
.nesimi-legend-overlay__signature{display:block;width:min(320px,58%);margin:20px auto 0}
@media(max-width:1180px){
 .nesimi-legend-overlay__copy{width:46%;right:3%}
 .nesimi-legend-overlay__visual{width:52%;left:-1%}
 .nesimi-legend-overlay__brand{font-size:clamp(54px,6vw,100px)}
}
@media(max-width:900px){
 .nesimi-legend-overlay{padding:8px}
 .nesimi-legend-overlay__panel{border-radius:24px}
 .nesimi-legend-overlay__inner{padding:18px}
 .nesimi-legend-overlay__brand{font-size:clamp(40px,13vw,70px);left:14px;top:12px}
 .nesimi-legend-overlay__visual{position:relative;left:auto;bottom:auto;width:100%;height:41%;margin-top:56px}
 .nesimi-legend-overlay__portrait{left:50%;transform:translateX(-54%);width:min(88vw,540px)}
 .nesimi-legend-overlay__copy{position:relative;top:auto;right:auto;width:100%;padding:0 6px 14px;margin-top:calc(41% - 20px)}
 .nesimi-legend-overlay__copy h2{font-size:clamp(31px,8vw,50px)}
 .nesimi-legend-overlay__copy h3{font-size:clamp(20px,5vw,30px);margin:12px 0 16px}
 .nesimi-legend-overlay__copy p{font-size:12px;line-height:1.32;margin-bottom:14px}
 .nesimi-legend-overlay__copy blockquote{font-size:clamp(16px,4.6vw,24px);margin:18px auto 14px}
 .nesimi-legend-overlay__signature{width:min(240px,55vw)}
 .nesimi-legend-overlay__top-drop--1{left:20%;top:0;width:38px}
 .nesimi-legend-overlay__top-drop--2{left:44%;top:4px;width:26px}
 .nesimi-legend-overlay__top-drop--3{left:70%;top:46px;width:32px}
}


/* v31.17 · actual permanent home card + eye-aligned organic blood drips */
#screen-home #okuPermanentSix .oku-six-card--nesimi{background:#e4a50a!important;color:#fff4dc!important;overflow:visible!important;isolation:isolate}
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-n,
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-arrow,
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-title{color:#fff4df!important}
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-circle{overflow:hidden!important;background:#e4a50a!important;isolation:isolate;}
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-circle>.nesimi-eye-source{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;transform:none!important}
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-work{color:#fff4df!important;border-color:rgba(255,247,232,.65)!important;background:rgba(255,255,255,.09)!important}
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-work:hover,
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-work:focus-visible{background:#79130f!important;color:#fff4df!important;border-color:#79130f!important}
#screen-home #okuPermanentSix .oku-six-card--nesimi .sg-nesimi-info--home{position:absolute!important;right:249px!important;bottom:14px!important;left:auto!important;top:auto!important;z-index:20!important;display:grid!important;place-items:center!important;width:60px!important;height:60px!important;padding:0!important;border:2px solid rgba(255,238,204,.8)!important;border-radius:50%!important;background:#790800!important;color:#fff3db!important;cursor:pointer!important;box-shadow:0 3px 8px rgba(40,0,0,.14)!important;font:700 34px/1 'JetBrains Mono Local',ui-monospace,monospace!important}
#screen-home #okuPermanentSix .oku-six-card--nesimi .sg-nesimi-info--home:hover,
#screen-home #okuPermanentSix .oku-six-card--nesimi .sg-nesimi-info--home:focus-visible{transform:translateY(-2px) scale(1.045)!important;outline:2px solid #fdf0d6;outline-offset:2px}
@media(max-width:1180px){#screen-home #okuPermanentSix .oku-six-card--nesimi .sg-nesimi-info--home{right:201px!important;bottom:9px!important;width:51px!important;height:51px!important;font-size:30px!important}}
@media(max-width:760px){#screen-home #okuPermanentSix .oku-six-card--nesimi .sg-nesimi-info--home{right:164px!important;bottom:8px!important;width:48px!important;height:48px!important;font-size:29px!important}}
@media(max-width:390px){#screen-home #okuPermanentSix .oku-six-card--nesimi .sg-nesimi-info--home{right:132px!important;bottom:10px!important;width:43px!important;height:43px!important;font-size:26px!important}}
/* The original code used approximate percentages (38/56%) and drops missed the eyes.
   JS now anchors each sprite to the image's measured outer eye corners. */
.nesimi-blood-host{position:relative}
.nesimi-blood{position:absolute!important;z-index:12!important;width:auto!important;height:auto!important;max-width:none!important;pointer-events:none!important;opacity:0;transform-origin:50% 0;will-change:opacity,transform}
.nesimi-blood img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;transform:none!important;filter:drop-shadow(0 2px 4px rgba(85,0,0,.20))}
.nesimi-blood--left{width:6.5%!important;left:49%;top:52%;}
.nesimi-blood--right{width:4.7%!important;left:70%;top:52%;}
/* Eyelashes to cheek: quiet build-up, asymmetric swelling, gentle acceleration then dissolve. */
.nesimi-blood.is-run{animation:nesimiOrganicTear var(--drop-duration,3400ms) cubic-bezier(.34,.12,.42,.98) var(--drop-delay,0ms) 1 both!important}
@keyframes nesimiOrganicTear{
  0%{opacity:0;transform:translate3d(-50%,-2px,0) scale(.65,.05) rotate(-1deg);filter:blur(1.2px)}
  10%{opacity:.55;transform:translate3d(-50%,0,0) scale(.67,.17) rotate(.4deg);filter:blur(.3px)}
  27%{opacity:.94;transform:translate3d(calc(-50% + var(--drop-sway,0px)*.18),2px,0) scale(.87,.53) rotate(-.8deg);filter:blur(0)}
  52%{opacity:1;transform:translate3d(calc(-50% + var(--drop-sway,0px)*.5),6px,0) scale(1,1) rotate(.5deg)}
  77%{opacity:.95;transform:translate3d(calc(-50% + var(--drop-sway,0px)),var(--drop-travel,16px),0) scale(.98,1.04) rotate(-.7deg)}
  100%{opacity:0;transform:translate3d(calc(-50% + var(--drop-sway,0px)*1.2),calc(var(--drop-travel,16px) + 20px),0) scale(.78,.82) rotate(1deg);filter:blur(.9px)}
}
/* Keep portrait + blood positions exactly in the same image coordinate system. */
.sages-screen .sg-person--nesimi-custom .sg-person-circle{position:relative!important;align-self:flex-end!important;height:auto!important;min-height:0!important;overflow:visible!important}
.sages-screen .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{position:relative!important;display:block!important;left:auto!important;bottom:auto!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;mask-image:none!important;-webkit-mask-image:none!important}
.nesimi-legend-overlay__visual{overflow:visible}
.nesimi-legend-overlay__portrait.nesimi-eye-source{display:block;position:relative!important;left:auto!important;bottom:auto!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center center!important}
.nesimi-legend-overlay__brand{position:absolute!important;top:26px!important;left:27px!important;z-index:8!important;display:block!important;width:clamp(112px,13vw,235px)!important;height:auto!important;max-height:110px!important;object-fit:contain!important;object-position:left center!important;color:transparent!important;font-size:0!important}
@media(max-width:900px){.nesimi-legend-overlay__brand{width:clamp(105px,24vw,160px)!important;top:17px!important;left:16px!important}}
/* Irregular background drops (overlay and detail): no rigid rows or repeated rhythm. */
.nesimi-air-drops{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;isolation:isolate}
.nesimi-air-drops--detail{z-index:1;border-radius:inherit}
.nesimi-air-drops--overlay{z-index:1}
.nesimi-air-drop{position:absolute;z-index:2;height:auto;opacity:0;pointer-events:none;filter:drop-shadow(0 6px 10px rgba(70,0,0,.28));animation:nesimiAirFall var(--air-duration,4400ms) cubic-bezier(.20,.43,.39,1) 1 both}
@keyframes nesimiAirFall{
  0%{opacity:0;transform:translate3d(0,-18px,0) scale(.80);filter:blur(1.1px)}
  15%{opacity:.70;transform:translate3d(0,0,0) scale(.92);filter:blur(0)}
  40%{opacity:.91;transform:translate3d(calc(var(--air-drift,0px)*.3),calc(var(--air-fall,200px)*.28),0) scale(1)}
  79%{opacity:.78;transform:translate3d(calc(var(--air-drift,0px)*.8),calc(var(--air-fall,200px)*.75),0) scale(.98)}
  100%{opacity:0;transform:translate3d(var(--air-drift,0px),var(--air-fall,200px),0) scale(.9);filter:blur(1px)}
}
@media(prefers-reduced-motion:reduce){.nesimi-blood.is-run,.nesimi-air-drop{animation:none!important;opacity:0!important}}

/* v31.17 visual verification refinements: prevent title/portrait overlap and make long overlay scrollable */
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-copy{max-width:48%!important}
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-title{font-size:clamp(26px,2.55vw,42px)!important;line-height:1.06!important;letter-spacing:-.06em!important;overflow-wrap:normal!important;word-break:normal!important}
#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-works{top:130px!important}
@media(max-width:1180px){#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-works{top:118px!important}}
@media(max-width:760px){#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-copy{max-width:52%!important}#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-title{font-size:clamp(23px,6.4vw,33px)!important}#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-works{top:98px!important}}
@media(max-width:390px){#screen-home #okuPermanentSix .oku-six-card--nesimi .oku-six-title{font-size:clamp(21px,6.2vw,28px)!important}}
/* Real OKU logo at the top-left; in production the transparent logo image already exists. */
.nesimi-legend-overlay__brand{max-width:30%;}
.nesimi-legend-overlay__inner{background:radial-gradient(circle at 25% 30%,rgba(95,0,0,.21),transparent 43%),linear-gradient(165deg,#210202 0%,#160101 100%)!important}
.nesimi-legend-overlay__visual{left:-1.5%!important;width:59%!important;height:96%!important;bottom:0!important;top:auto!important}
.nesimi-legend-overlay__portrait.nesimi-eye-source{position:absolute!important;left:0!important;bottom:0!important;top:auto!important;width:100%!important;height:auto!important;max-height:100%!important;object-fit:contain!important;object-position:bottom left!important;transform:none!important}
.nesimi-legend-overlay__copy{right:4%!important;width:42%!important;top:8%!important}
.nesimi-legend-overlay__copy h2{font:700 clamp(36px,3.7vw,75px)/1.06 'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace!important;letter-spacing:-.055em!important;color:#c93227!important}
.nesimi-legend-overlay__copy h3{font:700 clamp(21px,1.85vw,42px)/1.12 'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace!important;color:#cba174!important;margin:12px 0 19px!important}
.nesimi-legend-overlay__copy p{font:500 clamp(12px,1vw,18px)/1.43 'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace!important;color:#cf8e77!important;margin:0 0 17px!important}
.nesimi-legend-overlay__copy blockquote{font:700 clamp(18px,1.75vw,36px)/1.22 'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace!important;color:#d33b2e!important;margin:25px auto 14px!important}
@media(max-width:900px){
 .nesimi-legend-overlay__panel{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important}
 .nesimi-legend-overlay__inner{height:auto!important;min-height:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;padding:18px 15px 38px!important}
 .nesimi-legend-overlay__visual{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;width:min(100%,470px)!important;height:auto!important;min-height:0!important;margin:75px auto 8px!important;flex-shrink:0!important}
 .nesimi-legend-overlay__portrait.nesimi-eye-source{position:relative!important;left:auto!important;bottom:auto!important;top:auto!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;transform:none!important}
 .nesimi-legend-overlay__copy{position:relative!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;margin:4px auto 0!important;padding:0 5px 12px!important;max-width:660px!important;flex:1 0 auto!important}
 .nesimi-legend-overlay__copy h2{font-size:clamp(27px,7vw,49px)!important}
 .nesimi-legend-overlay__copy h3{font-size:clamp(19px,4.8vw,31px)!important}
 .nesimi-legend-overlay__copy p{font-size:clamp(12px,3vw,16px)!important;line-height:1.55!important}
 .nesimi-legend-overlay__copy blockquote{font-size:clamp(17px,4.5vw,27px)!important}
 .nesimi-legend-overlay__close{position:sticky!important;top:8px!important;right:auto!important;align-self:flex-end!important;margin:-8px -6px -54px auto!important;z-index:20!important;flex-shrink:0!important}
}
/* Mobile grid fix: inherited sg-person-info grid-column:2 had created a second implicit
   column and collapsed the actual portrait column to 0px. */
@media(max-width:980px){
 .sages-screen .sg-person--nesimi-custom{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;}
 .sages-screen .sg-person--nesimi-custom .sg-person-visual{grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;}
 .sages-screen .sg-person--nesimi-custom .sg-person-info{grid-column:1!important;grid-row:2!important;width:100%!important;min-width:0!important;}
}

/* === v31.18 · Nesîmî reference-directed immersive typography and living blood ===
   Tears are rendered in a fixed viewport layer, not confined to cropped face cards. */
.nesimi-falling-layer{position:fixed;inset:0;overflow:hidden;pointer-events:none!important;z-index:200;contain:layout style;}
.nesimi-falling-layer.is-overlay{z-index:1230;}
.nesimi-gravity-drop{position:absolute;display:block;max-width:none;max-height:none;pointer-events:none!important;transform-origin:50% 0;will-change:transform,opacity;filter:drop-shadow(0 2px 3px rgba(70,0,0,.22));}
.nesimi-eye-trace{position:absolute;width:1.75px;height:15px;display:block;transform-origin:50% 0;pointer-events:none!important;border-radius:100% 100% 75% 75%;background:linear-gradient(to bottom,rgba(165,0,7,.78),rgba(122,0,7,.24),rgba(122,0,7,0));box-shadow:0 0 2px rgba(138,0,0,.17);}
/* These former cheek-length sprites are replaced by actual viewport-falling sprites. */
.nesimi-blood-host > .nesimi-blood{display:none!important;}
/* Atmospheric droplets also continue past the bottom edge instead of vanishing early. */
.nesimi-air-drops .nesimi-air-drop{display:none!important;}
/* Reference is a full-bleed mahogany poster, not a rounded card with margins. */
.nesimi-legend-overlay{padding:0!important;background:#170000!important;}
.nesimi-legend-overlay__scrim{background:#170000!important;}
.nesimi-legend-overlay__panel{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;box-shadow:none!important;background:#1f0101!important;}
.nesimi-legend-overlay__inner{background:#200101!important;padding:0!important;min-height:100%!important;}
.nesimi-legend-overlay__top-drop{display:none!important;}
.nesimi-legend-overlay__visual{left:-1.2%!important;bottom:0!important;width:56%!important;height:94%!important;}
.nesimi-legend-overlay__portrait.nesimi-eye-source{max-height:100%!important;object-fit:contain!important;object-position:left bottom!important;}
.nesimi-legend-overlay__brand{left:2.25%!important;top:3%!important;width:clamp(104px,11vw,215px)!important;height:auto!important;max-height:90px!important;background:transparent!important;}
.nesimi-legend-overlay__close{top:20px!important;right:22px!important;border:1px solid #a5231b!important;background:#250404!important;color:#e6bc85!important;}
.nesimi-legend-overlay__copy{right:3.9%!important;top:8.2%!important;width:42.5%!important;max-width:810px!important;color:#b92d26!important;text-align:center!important;}
.nesimi-legend-overlay__copy h2{font:650 clamp(40px,3.7vw,75px)/1.07 'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace!important;letter-spacing:-.055em!important;color:#bd2b26!important;margin:0 0 14px!important;}
.nesimi-legend-overlay__copy h3{font:650 clamp(24px,1.8vw,38px)/1.15 'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace!important;color:#bc2b23!important;margin:0 0 clamp(20px,2.3vw,34px)!important;}
.nesimi-legend-overlay__copy p{font:500 clamp(13px,1.05vw,19px)/1.34 'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace!important;color:#bd2924!important;margin:0 auto clamp(20px,2.5vw,38px)!important;max-width:100%!important;}
.nesimi-legend-overlay__copy blockquote{font:680 clamp(23px,1.78vw,37px)/1.19 'JetBrains Mono Local','JetBrains Mono',ui-monospace,monospace!important;color:#c02c26!important;margin:clamp(21px,3vw,46px) auto 0!important;border:0!important;}
.nesimi-legend-overlay__signature{width:min(340px,55%)!important;margin:3px auto 0!important;filter:none!important;}
/* Natural scale: atmospheric sprinkles should never obscure the content. */
.sages-screen .sg-person--nesimi-custom .sg-person-info{position:relative!important;z-index:4!important;}
@media(min-width:901px) and (max-height:770px){
 .nesimi-legend-overlay__copy{top:6%!important;}
 .nesimi-legend-overlay__copy h2{font-size:clamp(34px,3.5vw,55px)!important;}
 .nesimi-legend-overlay__copy h3{margin-bottom:13px!important;font-size:clamp(22px,1.7vw,28px)!important;}
 .nesimi-legend-overlay__copy p{font-size:clamp(11px,1vw,15px)!important;margin-bottom:14px!important;}
 .nesimi-legend-overlay__copy blockquote{font-size:clamp(19px,1.5vw,26px)!important;margin-top:16px!important;}
 .nesimi-legend-overlay__signature{width:min(235px,48%)!important;}
}
@media(max-width:900px){
 .nesimi-legend-overlay__panel{overflow-y:auto!important;overflow-x:hidden!important;}
 .nesimi-legend-overlay__inner{height:auto!important;display:flex!important;min-height:100dvh!important;padding:16px 15px 32px!important;align-items:center!important;}
 .nesimi-legend-overlay__brand{top:16px!important;left:16px!important;width:clamp(100px,24vw,145px)!important;}
 .nesimi-legend-overlay__close{position:sticky!important;top:6px!important;right:auto!important;margin:-5px -5px -52px auto!important;}
 .nesimi-legend-overlay__visual{left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;width:min(100%,490px)!important;height:auto!important;margin:62px auto 0!important;flex-shrink:0!important;}
 .nesimi-legend-overlay__portrait.nesimi-eye-source{width:100%!important;max-height:none!important;position:relative!important;}
 .nesimi-legend-overlay__copy{top:auto!important;right:auto!important;left:auto!important;width:100%!important;max-width:630px!important;padding:0 7px 12px!important;margin:10px auto 0!important;}
 .nesimi-legend-overlay__copy h2{font-size:clamp(31px,7.6vw,48px)!important;margin-bottom:8px!important;}
 .nesimi-legend-overlay__copy h3{font-size:clamp(20px,5.2vw,29px)!important;margin:0 0 18px!important;}
 .nesimi-legend-overlay__copy p{font-size:clamp(12px,3vw,16px)!important;line-height:1.5!important;margin:0 0 24px!important;}
 .nesimi-legend-overlay__copy blockquote{font-size:clamp(17px,4.5vw,25px)!important;margin:18px auto 4px!important;}
 .nesimi-legend-overlay__signature{width:min(235px,55%)!important;margin:0 auto!important;}
}
@media(prefers-reduced-motion:reduce){
 .nesimi-falling-layer,.nesimi-eye-trace,.nesimi-gravity-drop{display:none!important;}
}

/* === v31.19 · Nesîmî DETAIL portrait flush against the lower edge ===
   Only the red detail section is affected; the eye coordinates and animations
   remain bound to the original image element. No gap or inline-image baseline. */
.sages-screen .sg-person--nesimi-custom .sg-person-visual{
  padding-bottom:0!important;
  margin-bottom:0!important;
  align-items:flex-end!important;
}
.sages-screen .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{
  display:block!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
  vertical-align:bottom!important;
  transform:none!important;
}
@media(min-width:981px){
  .sages-screen .sg-person--nesimi-custom .sg-person-circle{
    position:absolute!important;
    left:28px!important;
    right:auto!important;
    bottom:-1px!important;
    width:calc(100% - 28px)!important;
    max-width:500px!important;
    height:auto!important;
    margin:0!important;
  }
}
@media(max-width:980px){
  .sages-screen .sg-person--nesimi-custom .sg-person-circle{
    position:relative!important;
    bottom:auto!important;
    margin-top:auto!important;
    margin-bottom:-1px!important;
  }
}


/* === v31.20 · Mobile Nesîmî fullscreen/detail cleanup ===
   - Mobile Nesîmî detail screen uses a dedicated top bar: logo left, X right.
   - The generic site header is hidden only on mobile for this one screen.
   - The portrait is rendered fully, without the earlier cut / crop look.
   - The fullscreen blood overlay keeps the same top-row hierarchy on mobile. */
#screen-sg-nesimi .nesimi-mobile-topbar{display:none!important}
@media(max-width:900px){
  #screen-sg-nesimi>.page-header{display:none!important}
  #screen-sg-nesimi .nesimi-mobile-topbar{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    position:sticky!important;
    top:0!important;
    z-index:35!important;
    padding:calc(env(safe-area-inset-top,0px) + 14px) 16px 12px!important;
    background:linear-gradient(180deg,#ece5d8 0%,#e7e0d2 100%)!important;
    border-bottom:1px solid rgba(117,92,43,.18)!important;
  }
  #screen-sg-nesimi .nesimi-mobile-topbar .page-brand{display:flex!important;align-items:center!important;min-width:0!important}
  #screen-sg-nesimi .nesimi-mobile-topbar .brand-link{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  #screen-sg-nesimi .nesimi-mobile-topbar .brand-logo-image{display:block!important;width:clamp(118px,34vw,166px)!important;height:auto!important}
  #screen-sg-nesimi .nesimi-mobile-topbar__close{
    flex:0 0 auto!important;
    width:46px!important;
    height:46px!important;
    border-radius:14px!important;
    border:1px solid rgba(117,92,43,.24)!important;
    background:#f5efe4!important;
    color:#6d593e!important;
    font:700 31px/1 var(--mono)!important;
    display:grid!important;
    place-items:center!important;
    box-shadow:0 1px 0 rgba(255,255,255,.72) inset!important;
  }
  #screen-sg-nesimi .sg-main--nesimi{padding-top:0!important}
  #screen-sg-nesimi .sg-main--nesimi>.sg-hero{display:none!important}
  #screen-sg-nesimi .sg-person--nesimi-custom{
    margin-top:0!important;
    border-radius:0!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:min(100%,640px)!important;
    max-width:100%!important;
    height:auto!important;
    display:block!important;
    margin:0 auto!important;
    object-fit:contain!important;
    object-position:center bottom!important;
    transform:none!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-info{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    padding:18px 16px 28px!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-nesimi-info--detail{top:14px!important;right:14px!important}

  .nesimi-legend-overlay__inner{padding-top:calc(env(safe-area-inset-top,0px) + 16px)!important}
  .nesimi-legend-overlay__brand{top:calc(env(safe-area-inset-top,0px) + 14px)!important;left:16px!important;width:clamp(106px,26vw,148px)!important}
  .nesimi-legend-overlay__close{
    position:absolute!important;
    top:calc(env(safe-area-inset-top,0px) + 8px)!important;
    right:14px!important;
    margin:0!important;
    width:46px!important;
    height:46px!important;
    border-radius:14px!important;
  }
  .nesimi-legend-overlay__visual{width:min(100%,520px)!important;margin:78px auto 0!important}
  .nesimi-legend-overlay__portrait.nesimi-eye-source{width:100%!important;max-width:100%!important;object-position:center bottom!important}
  .nesimi-legend-overlay__copy{margin:12px auto 0!important;padding:0 10px 16px!important}
}
@media(max-width:600px){
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-info{padding:16px 14px 26px!important}
  #screen-sg-nesimi .sg-person--nesimi-custom h2{font-size:clamp(23px,7vw,34px)!important}
  #screen-sg-nesimi .sg-person--nesimi-custom p{font-size:13px!important;line-height:1.55!important}
}


/* === v31.21 · Home card button spacing / Electro ground cleanup / Nesîmî detail redesign === */

/* 1) Mobile home cards: move the Hacı Bektaş-ı Velî and Nesîmî buttons lower so they never touch the names. */
@media(max-width:580px){
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5),
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6){
    min-height:232px!important;
    height:232px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-copy,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-copy{
    top:16px!important;
    max-width:51%!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-title,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-title{
    font-size:clamp(23px,6.7vw,34px)!important;
    line-height:1.03!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works{
    top:116px!important;
    left:32px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{
    top:120px!important;
    left:32px!important;
  }
}
@media(max-width:390px){
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5),
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6){
    min-height:236px!important;
    height:236px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-copy,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-copy{
    max-width:54%!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-title,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-title{
    font-size:clamp(21px,6.35vw,28px)!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works{top:122px!important;}
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{top:126px!important;}
}

/* 2) Electro Aşk: remove the yellow grounds and keep a single calm paper tone through the stage. */
#screen-electro .electro-hero,
#screen-electro .electro-stage{
  background:#edd1c3!important;
}
#screen-electro .electro-artist,
#screen-electro .electro-listening,
#screen-electro .electro-production-note,
#screen-electro #electroTrackList{
  background:transparent!important;
}
#screen-electro #electroTrackList > *,
#screen-electro .electro-track,
#screen-electro .electro-track-card,
#screen-electro .electro-track-button,
#screen-electro .electro-song,
#screen-electro .electro-item{
  background:#d7baaa!important;
  border-color:transparent!important;
}
#screen-electro .electro-artist__name,
#screen-electro .electro-production-note,
#screen-electro .electro-hero__eyebrow,
#screen-electro .electro-hero__lead,
#screen-electro .electro-hero__body,
#screen-electro #electroTrackList > *{
  color:#171410!important;
}
@media(max-width:800px){
  #screen-electro .electro-stage{background:#edd1c3!important;}
}

/* 3) Nesîmî detail page: return to the design language. Gold person card, circular portrait, only eye blood. */
#screen-sg-nesimi .sg-main--nesimi > .sg-hero{
  display:flex!important;
  background:#d7a33a!important;
  color:#fff0d5!important;
}
#screen-sg-nesimi .sg-main--nesimi > .sg-hero .sg-hero-copy{width:52%!important;}
#screen-sg-nesimi .sg-main--nesimi > .sg-hero .sg-hero-flower{right:-3%!important;top:-20%!important;width:60%!important;height:150%!important;}

#screen-sg-nesimi .sg-person--nesimi-custom{
  background:#d7a33a!important;
  color:#fdf0da!important;
  grid-template-columns:minmax(280px,38%) minmax(0,62%)!important;
  min-height:392px!important;
  border-radius:39px!important;
  overflow:hidden!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom::after{display:none!important;}
#screen-sg-nesimi .sg-person--nesimi-custom .nesimi-air-drops--detail{display:none!important;}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:392px!important;
  padding:26px 16px 26px 28px!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
  position:relative!important;
  width:min(325px,83%)!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  min-height:0!important;
  margin:0 auto!important;
  border:1.5px solid rgba(255,244,221,.74)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.035)!important;
  overflow:hidden!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 18%!important;
  max-height:none!important;
  margin:0!important;
  transform:none!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-person-info{
  position:relative!important;
  z-index:4!important;
  padding:38px 6% 28px 0!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom h2{
  color:#fff1d8!important;
  font-size:clamp(31px,3.2vw,56px)!important;
  margin:0 0 20px!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom p,
#screen-sg-nesimi .sg-person--nesimi-custom p strong{
  color:#fff1d8!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom p{
  font-size:clamp(13px,1.08vw,20px)!important;
  line-height:1.5!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-nesimi-info--detail{
  right:18px!important;
  top:18px!important;
  bottom:auto!important;
}
#screen-sg-nesimi .sg-work--nesimi{
  background:#c96b3d!important;
  color:#fff1d8!important;
}
#screen-sg-nesimi .sg-work--nesimi .sg-work-copy small,
#screen-sg-nesimi .sg-work--nesimi .sg-work-copy strong,
#screen-sg-nesimi .sg-work--nesimi .sg-work-copy em{color:#fff1d8!important;}
#screen-sg-nesimi .sg-work--nesimi:hover,
#screen-sg-nesimi .sg-work--nesimi:focus-visible{
  background:#b85f34!important;
  color:#fff1d8!important;
  box-shadow:none!important;
}
#screen-sg-nesimi .sg-work--nesimi:hover .sg-work-copy small,
#screen-sg-nesimi .sg-work--nesimi:hover .sg-work-copy strong,
#screen-sg-nesimi .sg-work--nesimi:hover .sg-work-copy em,
#screen-sg-nesimi .sg-work--nesimi:focus-visible .sg-work-copy small,
#screen-sg-nesimi .sg-work--nesimi:focus-visible .sg-work-copy strong,
#screen-sg-nesimi .sg-work--nesimi:focus-visible .sg-work-copy em{color:#fff1d8!important;}

@media(max-width:900px){
  #screen-sg-nesimi > .page-header{display:none!important;}
  #screen-sg-nesimi .nesimi-mobile-topbar{display:flex!important;}
  #screen-sg-nesimi .sg-main--nesimi{padding-top:0!important;}
  #screen-sg-nesimi .sg-main--nesimi > .sg-hero{
    display:flex!important;
    min-height:204px!important;
    border-radius:0 0 26px 26px!important;
    margin-bottom:14px!important;
  }
  #screen-sg-nesimi .sg-main--nesimi > .sg-hero .sg-hero-copy{width:65%!important;}
  #screen-sg-nesimi .sg-main--nesimi > .sg-hero .sg-hero-flower{right:-27%!important;top:-15%!important;width:76%!important;height:155%!important;}
  #screen-sg-nesimi .sg-person--nesimi-custom{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    min-height:0!important;
    border-radius:28px!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{
    min-height:0!important;
    padding:24px 18px 12px!important;
    justify-content:flex-start!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
    width:min(320px,76vw)!important;
    max-width:100%!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-info{
    padding:14px 18px 26px!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom h2{font-size:clamp(26px,7vw,40px)!important;}
  #screen-sg-nesimi .sg-person--nesimi-custom p{font-size:13px!important;line-height:1.55!important;}
}
@media(max-width:520px){
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{padding:22px 14px 10px!important;}
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{width:min(290px,78vw)!important;}
}


/* === v31.22 · Final bottom anchor + mobile work-button spacing === */

/* A) Desktop/fullscreen Nesîmî overlay portrait must sit flush on the bottom edge. */
@media(min-width:901px){
  .nesimi-legend-overlay,
  .nesimi-legend-overlay__panel,
  .nesimi-legend-overlay__inner{
    overflow:hidden!important;
  }
  .nesimi-legend-overlay__visual{
    position:absolute!important;
    left:-1.25%!important;
    bottom:0!important;
    top:auto!important;
    width:57.5%!important;
    height:100%!important;
    margin:0!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
  }
  .nesimi-legend-overlay__portrait,
  .nesimi-legend-overlay__portrait.nesimi-eye-source{
    position:absolute!important;
    left:0!important;
    right:auto!important;
    bottom:0!important;
    top:auto!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:left bottom!important;
    transform:none!important;
    margin:0!important;
  }
}

/* B) Mobile homepage: lower the work pills in Hacı Bektaş and Nesîmî cards so they never touch the names. */
@media(max-width:580px){
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5),
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6){
    min-height:244px!important;
    height:244px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-copy,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-copy{
    top:16px!important;
    max-width:50%!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works{
    top:132px!important;
    left:32px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{
    top:136px!important;
    left:32px!important;
  }
}
@media(max-width:390px){
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5),
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6){
    min-height:248px!important;
    height:248px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-copy,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-copy{
    max-width:52%!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works{
    top:138px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{
    top:142px!important;
  }
}


/* === v31.23 · stronger mobile card spacing + corrected Nesîmî person circle === */

/* Mobile home cards: ensure work pills sit safely below multi-line names. */
@media(max-width:580px){
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5),
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6){
    min-height:258px!important;
    height:258px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-copy,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-copy{
    top:16px!important;
    left:32px!important;
    max-width:48%!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-title,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-title{
    font-size:clamp(22px,6.7vw,33px)!important;
    line-height:1.02!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{
    left:32px!important;
    right:auto!important;
    align-items:flex-start!important;
    gap:8px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works{top:150px!important;}
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{top:154px!important;}
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-work,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-work{
    min-height:36px!important;
    padding:9px 14px!important;
    font-size:11px!important;
  }
}
@media(max-width:390px){
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5),
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6){
    min-height:264px!important;
    height:264px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-copy,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-copy{
    max-width:50%!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works{top:156px!important;}
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{top:160px!important;}
}

/* Nesîmî person detail card: larger circle, lower-left placement, closer to reference design. */
#screen-sg-nesimi .sg-person--nesimi-custom{
  grid-template-columns:minmax(340px,40%) minmax(0,60%)!important;
  min-height:428px!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{
  align-items:flex-end!important;
  justify-content:flex-start!important;
  min-height:428px!important;
  padding:22px 12px 0 44px!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
  width:min(392px,96%)!important;
  max-width:392px!important;
  margin:0!important;
  align-self:flex-end!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{
  object-fit:cover!important;
  object-position:46% 16%!important;
  transform:scale(1.055)!important;
  transform-origin:center center!important;
}
#screen-sg-nesimi .sg-person--nesimi-custom .sg-person-info{
  padding:42px 6% 28px 0!important;
}
@media(max-width:900px){
  #screen-sg-nesimi .sg-person--nesimi-custom{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{
    justify-content:center!important;
    align-items:flex-start!important;
    min-height:0!important;
    padding:24px 16px 10px!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
    width:min(352px,82vw)!important;
    max-width:none!important;
    margin:0 auto!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{
    object-position:46% 17%!important;
    transform:scale(1.05)!important;
  }
}
@media(max-width:520px){
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
    width:min(320px,84vw)!important;
  }
}


/* === v31.24 · mobile pill drop + centered Nesîmî circle === */

/* Mobil ana sayfa: Makâlât ve Şiirleri butonlarını yaklaşık 50px daha aşağı indir. */
@media(max-width:580px){
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5),
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6){
    min-height:308px!important;
    height:308px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works,
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{
    left:32px!important;
    right:auto!important;
    align-items:flex-start!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works{top:200px!important;}
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{top:204px!important;}
}
@media(max-width:390px){
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5),
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6){
    min-height:316px!important;
    height:316px!important;
  }
  #screen-home #okuPermanentSix .oku-six-card:nth-child(5) .oku-six-works{top:208px!important;}
  #screen-home #okuPermanentSix .oku-six-card:nth-child(6) .oku-six-works{top:212px!important;}
}

/* Nesîmî kişi detay: daire kutu yüksekliğinde ortalı olsun; soru işareti dairenin sağ kenarında dursun. */
@media(min-width:901px){
  #screen-sg-nesimi .sg-person--nesimi-custom{--nesimi-circle-size:392px;min-height:432px!important;}
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{
    position:relative!important;
    min-height:432px!important;
    padding:0 12px 0 32px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-circle{
    width:var(--nesimi-circle-size)!important;
    height:var(--nesimi-circle-size)!important;
    max-width:var(--nesimi-circle-size)!important;
    align-self:center!important;
    margin:0!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-img--static.nesimi-eye-source{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:46% 16%!important;
    transform:scale(1.055)!important;
  }
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-nesimi-info--detail{
    position:absolute!important;
    left:calc(50% + (var(--nesimi-circle-size) / 2) - 6px)!important;
    top:50%!important;
    right:auto!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
  }
}
@media(max-width:900px){
  #screen-sg-nesimi .sg-person--nesimi-custom{--nesimi-circle-size:320px;}
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-person-visual{position:relative!important;}
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-nesimi-info--detail{
    position:absolute!important;
    left:calc(50% + (var(--nesimi-circle-size) / 2) - 4px)!important;
    top:calc(24px + (var(--nesimi-circle-size) / 2))!important;
    right:auto!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
  }
}
@media(max-width:520px){
  #screen-sg-nesimi .sg-person--nesimi-custom{--nesimi-circle-size:292px;}
  #screen-sg-nesimi .sg-person--nesimi-custom .sg-nesimi-info--detail{
    top:calc(22px + (var(--nesimi-circle-size) / 2))!important;
  }
}


/* v31.25 FINAL MOBILE BUTTON POSITION: 760px is the actual single-column breakpoint.
   These two CTAs are bottom anchored, so title wrapping cannot make them overlap. */
@media screen and (max-width:760px) {
  #screen-home #okuPermanentSix article.oku-six-card.oku-six-card--haci,
  #screen-home #okuPermanentSix article.oku-six-card.oku-six-card--nesimi {
    height:250px!important;
    min-height:250px!important;
  }
  #screen-home #okuPermanentSix article.oku-six-card.oku-six-card--haci .oku-six-works,
  #screen-home #okuPermanentSix article.oku-six-card.oku-six-card--nesimi .oku-six-works {
    position:absolute!important;
    top:auto!important;
    bottom:70px!important;
    left:32px!important;
    right:auto!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    z-index:6!important;
  }
  #screen-home #okuPermanentSix article.oku-six-card.oku-six-card--haci .oku-six-copy,
  #screen-home #okuPermanentSix article.oku-six-card.oku-six-card--nesimi .oku-six-copy {
    top:17px!important;
    left:32px!important;
    max-width:52%!important;
  }
}
@media screen and (max-width:390px) {
  #screen-home #okuPermanentSix article.oku-six-card.oku-six-card--haci,
  #screen-home #okuPermanentSix article.oku-six-card.oku-six-card--nesimi {
    height:258px!important;
    min-height:258px!important;
  }
}
