/* Ash & Blood — Living Character Profiles v11 visual polish
   Presentation-only layer. Keeps v10 data/behaviour intact. */

.ab-character-profile-page,
.ab-profile-studio-page{
  --pv11-ink:#08090a;
  --pv11-panel:rgba(15,17,18,.96);
  --pv11-panel-2:rgba(20,22,23,.94);
  --pv11-ivory:#eee5d7;
  --pv11-muted:#a89e91;
  --pv11-faint:#766f66;
  --pv11-line:rgba(231,220,200,.105);
  --pv11-line-strong:rgba(231,220,200,.17);
  --pv11-shadow:0 24px 70px rgba(0,0,0,.34);
  background:
    radial-gradient(circle at 18% 6%, color-mix(in srgb,var(--pv-accent,#c69a3a) 7%,transparent), transparent 26rem),
    radial-gradient(circle at 86% 36%, rgba(255,255,255,.018), transparent 29rem),
    #080a0b;
}

.ab-profile-v10-shell>.ab-wrap,
.ab-profile-studio-shell>.ab-wrap{max-width:1660px}

/* ---------- Public hero ---------- */
.ab-v10-hero{
  min-height:500px;
  border-radius:18px 18px 4px 4px;
  border-color:var(--pv11-line-strong);
  box-shadow:0 34px 90px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.025);
  isolation:isolate;
}
.ab-v10-hero::before{
  content:"";position:absolute;z-index:3;inset:14px;pointer-events:none;border:1px solid rgba(238,229,215,.055);border-radius:12px;
  background:
    linear-gradient(90deg,var(--pv-accent-line) 0 54px,transparent 54px) top left/90px 1px no-repeat,
    linear-gradient(180deg,var(--pv-accent-line) 0 54px,transparent 54px) top left/1px 90px no-repeat,
    linear-gradient(270deg,var(--pv-accent-line) 0 54px,transparent 54px) bottom right/90px 1px no-repeat,
    linear-gradient(0deg,var(--pv-accent-line) 0 54px,transparent 54px) bottom right/1px 90px no-repeat;
  opacity:.72;
}
.ab-v10-hero::after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:5px;background:linear-gradient(90deg,transparent 3%,var(--pv-accent) 18%,color-mix(in srgb,var(--pv-accent) 45%,transparent) 50%,var(--pv-accent) 82%,transparent 97%);opacity:.28;filter:blur(.2px)}
.ab-v10-hero-bg{filter:saturate(.84) contrast(1.09) brightness(.49);transition:transform 1.1s cubic-bezier(.2,.8,.2,1),filter .8s ease}
.ab-v10-hero:hover .ab-v10-hero-bg{transform:scale(1.025)}
.ab-v10-hero-shade{background:
  radial-gradient(circle at 23% 58%,rgba(7,8,9,.08),rgba(7,8,9,.72) 56%,rgba(5,6,7,.84) 100%),
  linear-gradient(90deg,rgba(5,6,7,.97) 0%,rgba(5,6,7,.72) 38%,rgba(5,6,7,.3) 70%,rgba(5,6,7,.7) 100%),
  linear-gradient(0deg,#080a0b 0%,rgba(8,10,11,.14) 52%,rgba(8,10,11,.48) 100%)}
.ab-v10-hero-noise{opacity:.1;mix-blend-mode:screen}
.ab-v10-hero-inner{min-height:500px;grid-template-columns:176px minmax(0,1fr) minmax(270px,auto);gap:1.8rem;padding:3rem clamp(1.5rem,4vw,3.7rem) 2.7rem}
.ab-v10-avatar{width:176px;height:222px;border-radius:14px;border-color:rgba(238,229,215,.28);box-shadow:0 24px 70px rgba(0,0,0,.62),0 0 0 6px rgba(5,6,7,.56),0 0 0 7px var(--pv-accent-line);position:relative;transform:translateY(-2px)}
.ab-v10-avatar::after{content:"";position:absolute;inset:7px;border:1px solid rgba(255,255,255,.055);border-radius:9px;pointer-events:none}
.ab-v10-avatar img{filter:saturate(.92) contrast(1.03)}
.ab-v10-identity{padding-bottom:.15rem}
.ab-v10-identity .ab-eyebrow{display:inline-flex;align-items:center;gap:.55rem;font-size:.62rem;letter-spacing:.2em;text-shadow:0 2px 10px #000}
.ab-v10-identity .ab-eyebrow::before{content:"";width:34px;height:1px;background:var(--pv-accent);opacity:.72}
.ab-v10-identity h1{font-size:clamp(3.25rem,6.4vw,6rem);letter-spacing:.035em;margin:.45rem 0 .62rem;text-wrap:balance;filter:drop-shadow(0 10px 26px rgba(0,0,0,.42))}
.ab-v10-headline{font-size:clamp(1.02rem,1.7vw,1.34rem);color:#d0c4b5;letter-spacing:.015em;max-width:820px;text-wrap:balance}
.ab-v10-quote{position:relative;margin-top:1rem;padding:.7rem 1rem .72rem 1.25rem;border-left:1px solid var(--pv-accent);background:linear-gradient(90deg,var(--pv-accent-soft),transparent 78%);border-radius:0 8px 8px 0;color:#c5baac;max-width:800px}
.ab-v10-quote::before{content:"“";position:absolute;left:.35rem;top:-.55rem;color:var(--pv-accent);font:700 2.4rem Georgia,serif;opacity:.45}
.ab-v10-badges{gap:.5rem;margin-top:1.15rem}
.ab-v10-badges span{min-height:30px;padding:.38rem .65rem;background:rgba(8,9,10,.68);border-color:rgba(231,220,200,.13);box-shadow:0 5px 18px rgba(0,0,0,.12);transition:border-color .18s ease,transform .18s ease,background .18s ease}
.ab-v10-badges span:hover{transform:translateY(-1px);border-color:var(--pv-accent-line);background:rgba(8,9,10,.82)}
.ab-v10-actions{max-width:560px;padding:.55rem;border:1px solid rgba(231,220,200,.09);border-radius:10px;background:rgba(8,9,10,.42);box-shadow:0 14px 44px rgba(0,0,0,.18);backdrop-filter:blur(14px)}
.ab-v10-actions .ab-btn{min-height:38px;background:rgba(11,12,13,.72);border-color:rgba(231,220,200,.11)}
.ab-v10-actions .ab-btn:hover{border-color:var(--pv-accent-line);box-shadow:0 8px 22px rgba(0,0,0,.22)}

/* ---------- Chapter navigation ---------- */
.ab-v10-profile-nav{--profile-progress:0%;top:var(--ab-nav-h);z-index:25;justify-content:center;gap:.18rem;padding:.45rem .72rem;margin-bottom:1.15rem;border-color:rgba(231,220,200,.09);background:rgba(9,10,11,.9);box-shadow:0 14px 36px rgba(0,0,0,.22)}
.ab-v10-profile-nav::after{content:"";position:absolute;left:0;bottom:-1px;width:var(--profile-progress);height:1px;background:linear-gradient(90deg,var(--pv-accent),color-mix(in srgb,var(--pv-accent) 35%,#f4e9d7));box-shadow:0 0 10px color-mix(in srgb,var(--pv-accent) 35%,transparent);transition:width .1s linear}
.ab-v10-profile-nav a{position:relative;padding:.62rem .82rem;color:#8f877d;border:1px solid transparent;transition:color .16s ease,background .16s ease,border-color .16s ease}
.ab-v10-profile-nav a::before{content:"";position:absolute;left:50%;bottom:.34rem;width:0;height:1px;background:var(--pv-accent);transform:translateX(-50%);transition:width .2s ease}
.ab-v10-profile-nav a:hover,.ab-v10-profile-nav a.active{border-color:rgba(231,220,200,.075);background:rgba(255,255,255,.025);color:#eee4d3}
.ab-v10-profile-nav a.active::before{width:24px}
.ab-v10-profile-nav span{background:var(--pv-accent-soft);color:var(--pv-accent)}

/* ---------- Layout / cards ---------- */
.ab-v10-layout{grid-template-columns:minmax(270px,320px) minmax(0,1fr);gap:1.15rem}
.ab-v10-sidebar{gap:1.15rem;top:calc(var(--ab-nav-h) + 64px)}
.ab-v10-main{gap:1.15rem;counter-reset:profile-section}
.ab-v10-main>.ab-v10-section{counter-increment:profile-section}
.ab-v10-section,.ab-v10-sidebar>.ab-card,.ab-v10-ooc{border-color:var(--pv11-line)!important;background:
  linear-gradient(150deg,rgba(25,27,28,.97),rgba(13,15,16,.985) 68%),
  var(--pv11-panel)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.018)!important;
  border-radius:13px!important;
  overflow:hidden;
}
.ab-v10-section::before,.ab-v10-sidebar>.ab-card::before,.ab-v10-ooc::before{content:"";position:absolute;left:0;top:0;width:80px;height:1px;background:linear-gradient(90deg,var(--pv-accent),transparent);opacity:.5;pointer-events:none}
.ab-v10-section>.ab-card-head,.ab-v10-sidebar .ab-card-head{position:relative}
.ab-v10-section>.ab-card-head::after,.ab-v10-sidebar .ab-card-head::after{content:"";position:absolute;left:0;right:0;bottom:-.76rem;height:1px;background:linear-gradient(90deg,rgba(231,220,200,.08),transparent 85%)}
.ab-v10-main>.ab-v10-section>.ab-card-head>div::after{content:"0" counter(profile-section);display:inline-block;margin-top:.5rem;color:rgba(231,220,200,.17);font:700 .56rem 'Cinzel',serif;letter-spacing:.18em}
.ab-v10-section>.ab-card-head h2,.ab-v10-sidebar .ab-card-head h2{font-size:1.08rem;letter-spacing:.09em}
.ab-v10-section>.ab-card-head .ab-eyebrow,.ab-v10-sidebar .ab-eyebrow{color:var(--pv-accent)}
.ab-v10-section{padding:1.25rem 1.35rem}

/* Biography as a readable literary page. */
.ab-profile-prose{padding:1.45rem 1.55rem}
.ab-profile-prose .ab-profile-copy{max-width:1040px;color:#c8bdaf;font-size:1.01rem;line-height:1.95;letter-spacing:.005em;text-wrap:pretty}
.ab-profile-prose .ab-profile-copy::first-letter{float:left;color:var(--pv-accent);font:700 3.45rem/.82 'Cinzel Decorative','Cinzel',serif;padding:.17rem .55rem 0 0;text-shadow:0 4px 18px rgba(0,0,0,.5)}
.ab-profile-prose .ab-empty{min-height:125px;display:grid;place-items:center;text-align:center;border:1px dashed rgba(231,220,200,.07);background:rgba(255,255,255,.008);border-radius:8px;color:#887f75;font-family:'Noto Serif',serif}

/* Sidebar */
.ab-v10-facts .ab-profile-dl>div{padding:.68rem 0;transition:background .15s ease,padding .15s ease}
.ab-v10-facts .ab-profile-dl>div:hover{background:linear-gradient(90deg,var(--pv-accent-soft),transparent);padding-left:.45rem;padding-right:.35rem}
.ab-v10-facts .ab-profile-dl dt{color:#80786f}.ab-v10-facts .ab-profile-dl dd{color:#c8bdaf}
.ab-v10-status-card{background:linear-gradient(145deg,var(--pv-accent-soft),rgba(14,16,17,.98) 55%)!important}
.ab-v10-status-card strong{font-size:1.02rem}
.ab-v10-chip-cloud span{border-radius:999px;padding:.46rem .65rem;background:color-mix(in srgb,var(--pv-accent-soft) 70%,rgba(11,12,13,.85));transition:transform .16s ease,border-color .16s ease}
.ab-v10-chip-cloud span:hover{transform:translateY(-1px);border-color:var(--pv-accent)}
.ab-v10-stats{gap:.6rem}.ab-v10-stats span{position:relative;overflow:hidden;padding:.82rem .55rem;background:linear-gradient(150deg,rgba(255,255,255,.025),rgba(255,255,255,.006));border-color:rgba(231,220,200,.085)}
.ab-v10-stats span::after{content:"";position:absolute;inset:auto 16% 0;height:1px;background:var(--pv-accent);opacity:.3}
.ab-v10-stats strong{font-size:1.28rem}.ab-v10-stats small{letter-spacing:.1em}
.ab-v10-completion .ab-progress{height:6px;border-radius:999px;background:#090a0b;overflow:hidden;border:1px solid rgba(231,220,200,.07)}
.ab-v10-completion .ab-progress span{height:100%;display:block;box-shadow:0 0 12px color-mix(in srgb,var(--pv-accent) 30%,transparent)}

/* Hooks */
.ab-v10-hooks{gap:.85rem}
.ab-v10-hook{min-height:168px;padding:1.1rem 1.1rem 1rem;border-radius:10px;background:linear-gradient(145deg,rgba(255,255,255,.024),rgba(255,255,255,.006));box-shadow:inset 0 1px rgba(255,255,255,.012);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ab-v10-hook:hover{transform:translateY(-3px);border-color:var(--pv-accent-line);box-shadow:0 18px 38px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.02)}
.ab-v10-hook::before{width:3px;box-shadow:0 0 14px color-mix(in srgb,var(--pv-accent) 28%,transparent)}
.ab-v10-hook header span{display:inline-flex;align-items:center;gap:.4rem;padding:.22rem .45rem;border-radius:999px;background:var(--pv-accent-soft);border:1px solid var(--pv-accent-line)}
.ab-v10-hook.status-ongoing header span{color:#cbb269}.ab-v10-hook.status-resolved header span{color:#8d9688}.ab-v10-hook.status-hidden header span{color:#8a7f8e}
.ab-v10-hook h3{font-size:1rem;margin:.5rem 0 .6rem}.ab-v10-hook p{color:#aea397}
.ab-v10-hook .ab-link-button{margin-top:.25rem;color:var(--pv-accent)}

/* Connections */
.ab-v10-connections{gap:.8rem}
.ab-v10-connection{position:relative;min-height:116px;grid-template-columns:82px minmax(0,1fr) auto;padding:.82rem;border-radius:10px;background:linear-gradient(145deg,rgba(255,255,255,.022),rgba(255,255,255,.006));overflow:hidden}
.ab-v10-connection::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 0 50%,var(--pv-accent-soft),transparent 45%);opacity:0;transition:opacity .2s ease;pointer-events:none}
.ab-v10-connection:hover::before{opacity:1}.ab-v10-connection:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(0,0,0,.22)}
.ab-v10-connection img{width:82px;height:98px;border-radius:8px;filter:saturate(.88);transition:filter .2s ease,transform .25s ease}
.ab-v10-connection:hover img{filter:saturate(1.02);transform:scale(1.025)}
.ab-v10-connection h3{font-size:.95rem}.ab-v10-connection>i{font-size:1rem;opacity:.55;transition:transform .2s ease,opacity .2s ease}.ab-v10-connection:hover>i{transform:translate(2px,-2px);opacity:1}

/* Chronicle */
.ab-v10-timeline{gap:.45rem}.ab-v10-timeline::before{left:22px;background:linear-gradient(var(--pv-accent-line),rgba(231,220,200,.04),transparent)}
.ab-v10-timeline article{grid-template-columns:46px minmax(0,1fr);gap:1rem;padding:.8rem .75rem .8rem 0;border-radius:9px;transition:background .16s ease,transform .16s ease}
.ab-v10-timeline article:hover{background:linear-gradient(90deg,var(--pv-accent-soft),rgba(255,255,255,.006));transform:translateX(2px)}
.ab-v10-timeline-mark{width:46px;height:46px;background:radial-gradient(circle at 38% 30%,#17191a,#0b0d0e 70%);box-shadow:0 0 0 4px #101213,0 0 18px rgba(0,0,0,.25)}
.ab-v10-timeline article h3{font-size:1rem}.ab-v10-timeline article p{color:#afa498;max-width:1000px}

/* Gallery */
.ab-v10-featured-memory,.ab-v10-gallery figure{cursor:zoom-in}
.ab-v10-featured-memory{border-radius:12px;box-shadow:0 20px 55px rgba(0,0,0,.28)}
.ab-v10-featured-memory::after{content:"↗";font-family:inherit;position:absolute;right:1rem;top:1rem;width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:rgba(6,7,8,.62);color:#e8dfd2;backdrop-filter:blur(8px);opacity:0;transform:translateY(-3px);transition:.18s}
.ab-v10-featured-memory:hover::after{opacity:1;transform:none}
.ab-v10-featured-memory img{max-height:680px;transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .3s ease}
.ab-v10-featured-memory:hover img{transform:scale(1.012);filter:saturate(1.03)}
.ab-v10-featured-memory figcaption{padding:5rem 1.35rem 1.2rem;background:linear-gradient(transparent,rgba(5,6,7,.94));font-family:'Noto Serif',serif}
.ab-v10-gallery{column-gap:.8rem}.ab-v10-gallery figure{margin-bottom:.8rem;border-radius:9px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.ab-v10-gallery figure:hover{transform:translateY(-3px);border-color:var(--pv-accent-line);box-shadow:0 16px 34px rgba(0,0,0,.26)}
.ab-v10-gallery img{transition:transform .35s ease,filter .2s ease;filter:saturate(.9)}.ab-v10-gallery figure:hover img{transform:scale(1.018);filter:saturate(1.05)}
.ab-v10-gallery figcaption{border-top:1px solid rgba(231,220,200,.055);background:#0d0f10;color:#a99f93}

/* World ties */
.ab-v10-subhead{position:relative;padding-left:.7rem;color:#c3b7a8}.ab-v10-subhead::before{content:"";position:absolute;left:0;top:.18rem;bottom:.18rem;width:2px;background:var(--pv-accent)}
.ab-v10-entry-grid{gap:.75rem}.ab-v10-entry-grid article{padding:.88rem;border-radius:9px;background:linear-gradient(145deg,rgba(255,255,255,.02),rgba(255,255,255,.005));transition:transform .17s ease,border-color .17s ease}.ab-v10-entry-grid article:hover{transform:translateY(-2px);border-color:var(--pv-accent-line)}
.ab-v10-entry-grid article>i{border-radius:9px;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.ab-v10-entry-grid h4{font-size:.83rem}.ab-v10-entry-grid h4 a{text-decoration-color:var(--pv-accent-line);text-underline-offset:3px}

/* OOC / scene request / guestbook */
.ab-v10-ooc summary{padding:1.1rem 1.2rem}.ab-v10-ooc[open] summary{background:var(--pv-accent-soft)}
.ab-v10-scene-request{position:relative}.ab-v10-scene-request::after{content:"";position:absolute;right:-70px;top:-80px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,var(--pv-accent-soft),transparent 70%);pointer-events:none}
.ab-guestbook-form{border-radius:10px;border-color:rgba(231,220,200,.085);background:linear-gradient(145deg,rgba(255,255,255,.018),rgba(255,255,255,.005))}
.ab-guestbook-entry{border-radius:9px;background:linear-gradient(145deg,rgba(255,255,255,.017),rgba(255,255,255,.005));transition:border-color .17s ease,transform .17s ease}.ab-guestbook-entry:hover{border-color:var(--pv-accent-line);transform:translateY(-1px)}
.ab-guestbook-avatar{border-radius:7px}.ab-guestbook-message strong{font-size:.75rem}.ab-guestbook-message p{color:#b5aa9d}

/* ---------- Gallery lightbox ---------- */
.ab-profile-lightbox{position:fixed;z-index:99999;inset:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:rgba(4,5,6,.94);backdrop-filter:blur(12px);opacity:0;pointer-events:none;transition:opacity .2s ease}
.ab-profile-lightbox.is-open{opacity:1;pointer-events:auto}
.ab-profile-lightbox-top{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;border-bottom:1px solid rgba(231,220,200,.08);color:#cfc4b5}
.ab-profile-lightbox-kicker{font:600 .56rem 'Cinzel',serif;letter-spacing:.14em;text-transform:uppercase;color:var(--pv-accent)}
.ab-profile-lightbox-close,.ab-profile-lightbox-nav{appearance:none;border:1px solid rgba(231,220,200,.12);background:rgba(15,17,18,.8);color:#e8dfd2;cursor:pointer;display:grid;place-items:center;transition:.15s}
.ab-profile-lightbox-close{width:38px;height:38px;border-radius:50%}.ab-profile-lightbox-close:hover,.ab-profile-lightbox-nav:hover{border-color:var(--pv-accent-line);background:var(--pv-accent-soft);color:var(--pv-accent)}
.ab-profile-lightbox-stage{position:relative;min-height:0;display:grid;place-items:center;padding:1.2rem 4.5rem}.ab-profile-lightbox-stage img{display:block;max-width:min(1500px,92vw);max-height:78vh;object-fit:contain;border:1px solid rgba(231,220,200,.12);box-shadow:0 30px 90px rgba(0,0,0,.6)}
.ab-profile-lightbox-nav{position:absolute;top:50%;width:42px;height:58px;border-radius:8px;transform:translateY(-50%);font-size:1.1rem}.ab-profile-lightbox-prev{left:1rem}.ab-profile-lightbox-next{right:1rem}
.ab-profile-lightbox-caption{max-width:1000px;margin:0 auto;padding:.8rem 1.2rem 1.2rem;text-align:center;color:#aaa094;font:italic .82rem/1.6 'Noto Serif',serif}
body.ab-lightbox-lock{overflow:hidden}

/* ---------- Reveal / movement ---------- */
.js .ab-v11-reveal{opacity:0;transform:translateY(10px);transition:opacity .42s ease,transform .42s ease}.js .ab-v11-reveal.is-visible{opacity:1;transform:none}

/* ---------- Studio polish ---------- */
.ab-profile-studio-page{background:radial-gradient(circle at 25% 0%,rgba(198,154,58,.045),transparent 30rem),#090b0c}
.ab-studio-hero{position:relative;overflow:hidden;padding:1.35rem 1.45rem;border-radius:14px;border-color:rgba(231,220,200,.12);background:linear-gradient(135deg,rgba(28,30,31,.98),rgba(11,13,14,.99));box-shadow:var(--pv11-shadow)}
.ab-studio-hero::before{content:"";position:absolute;left:0;top:0;width:130px;height:2px;background:linear-gradient(90deg,var(--pv-accent),transparent)}
.ab-studio-hero::after{content:"";position:absolute;right:-80px;top:-100px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,var(--pv-accent-soft),transparent 68%);pointer-events:none}
.ab-studio-hero img{border-radius:10px;box-shadow:0 14px 34px rgba(0,0,0,.35),0 0 0 4px rgba(7,8,9,.45)}
.ab-studio-hero h1{font-size:1.9rem}.ab-studio-hero p{max-width:900px;line-height:1.62;color:#9e958a}
.ab-studio-layout{grid-template-columns:270px minmax(0,1fr);gap:1.15rem}
.ab-studio-nav{padding:.75rem!important;border-radius:12px}.ab-studio-nav>.ab-eyebrow{padding:.25rem .35rem .5rem}
.ab-studio-nav a{position:relative;padding:.68rem .78rem;border-radius:8px;background:rgba(255,255,255,.008)}.ab-studio-nav a::after{content:"";position:absolute;left:0;top:24%;bottom:24%;width:2px;background:var(--pv-accent);opacity:0;transition:.15s}.ab-studio-nav a:hover::after{opacity:.75}
.ab-studio-main{gap:1.15rem}.ab-studio-section{padding:1.25rem 1.35rem;border-radius:12px!important}.ab-studio-section>.ab-card-head{margin-bottom:1rem}.ab-studio-section>.ab-card-head h2{font-size:1.08rem}
.ab-studio-grid{gap:.85rem}.ab-studio-grid .ab-field{padding:.72rem;border:1px solid rgba(231,220,200,.055);border-radius:8px;background:rgba(255,255,255,.007)}.ab-studio-grid .ab-field:focus-within{border-color:var(--pv-accent-line);background:var(--pv-accent-soft)}
.ab-studio-grid .ab-label{margin-bottom:.38rem}.ab-studio-item{padding:.85rem;border-radius:9px;background:linear-gradient(145deg,rgba(255,255,255,.018),rgba(255,255,255,.005))}.ab-studio-item:hover{border-color:var(--pv-accent-line)}
.ab-studio-gallery-item{border-radius:9px}.ab-studio-gallery-item img{transition:transform .28s ease}.ab-studio-gallery-item:hover img{transform:scale(1.02)}
.ab-banner-editor{border-radius:10px;overflow:hidden;border-color:rgba(231,220,200,.08)!important;background:rgba(255,255,255,.008)!important}

/* ---------- Responsive ---------- */
@media(max-width:1180px){
  .ab-v10-hero-inner{grid-template-columns:140px minmax(0,1fr)}
  .ab-v10-avatar{width:140px;height:177px}
  .ab-v10-actions{grid-column:1/-1;justify-content:flex-start;max-width:none}
  .ab-v10-layout{grid-template-columns:250px minmax(0,1fr)}
}
@media(max-width:860px){
  .ab-v10-hero,.ab-v10-hero-inner{min-height:540px}
  .ab-v10-hero-inner{grid-template-columns:112px minmax(0,1fr);padding:1.8rem 1.35rem 1.45rem;gap:1rem}
  .ab-v10-avatar{width:112px;height:142px;align-self:end}
  .ab-v10-identity h1{font-size:clamp(2.65rem,11vw,4.1rem)}
  .ab-v10-layout{grid-template-columns:1fr}.ab-v10-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .ab-v10-profile-nav{justify-content:flex-start}
  .ab-studio-layout{grid-template-columns:1fr}.ab-studio-nav{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px){
  .ab-profile-v10-shell{padding-top:calc(var(--ab-nav-h) + 10px)}
  .ab-v10-hero{min-height:610px;border-radius:12px 12px 3px 3px}.ab-v10-hero-inner{min-height:610px;grid-template-columns:1fr;align-content:end}.ab-v10-avatar{width:106px;height:134px}.ab-v10-actions{display:grid;grid-template-columns:1fr 1fr;padding:.4rem;width:100%}.ab-v10-actions .ab-btn{min-width:0;padding:.55rem .42rem;font-size:.56rem}
  .ab-v10-identity .ab-eyebrow::before{width:22px}.ab-v10-headline{font-size:1rem}.ab-v10-quote{font-size:.82rem}
  .ab-v10-sidebar{grid-template-columns:1fr}.ab-v10-section{padding:1rem}.ab-profile-prose{padding:1.1rem}.ab-profile-prose .ab-profile-copy{font-size:.94rem;line-height:1.85}.ab-profile-prose .ab-profile-copy::first-letter{font-size:2.9rem}
  .ab-v10-hooks,.ab-v10-connections,.ab-v10-entry-grid{grid-template-columns:1fr}.ab-v10-connection{grid-template-columns:62px minmax(0,1fr)}.ab-v10-connection img{width:62px;height:76px}.ab-v10-connection>i{display:none}
  .ab-profile-lightbox-stage{padding:1rem 3rem}.ab-profile-lightbox-nav{width:36px;height:48px}.ab-profile-lightbox-prev{left:.4rem}.ab-profile-lightbox-next{right:.4rem}
  .ab-studio-nav{grid-template-columns:1fr 1fr}.ab-studio-section{padding:1rem}.ab-studio-grid .ab-field{padding:.55rem}
}
@media(max-width:430px){.ab-v10-actions{grid-template-columns:1fr}.ab-studio-nav{grid-template-columns:1fr}}

@media(prefers-reduced-motion:reduce){
  .ab-v10-hero-bg,.ab-v10-hook,.ab-v10-connection,.ab-v10-gallery img,.ab-v10-gallery figure,.ab-v10-timeline article,.ab-v11-reveal{transition:none!important;animation:none!important;transform:none!important}
}
/* v5.2 supporter rank badges */
.ab-v10-badges .donor-tier{border-color:rgba(214,177,74,.48);background:linear-gradient(135deg,rgba(87,59,17,.56),rgba(34,26,16,.82));color:#f3d88b;box-shadow:0 0 0 1px rgba(255,212,102,.06) inset,0 8px 24px rgba(0,0,0,.18)}
.ab-v10-badges .donor-tier-2{color:#e9cfa2;border-color:rgba(222,185,123,.55)}
.ab-v10-badges .donor-tier-3{color:#f0c67b;border-color:rgba(224,154,63,.62);background:linear-gradient(135deg,rgba(104,54,13,.62),rgba(38,24,14,.86))}
.ab-v10-badges .donor-tier-4{color:#d6c5ff;border-color:rgba(158,119,232,.62);background:linear-gradient(135deg,rgba(67,41,102,.7),rgba(28,20,39,.88))}
.ab-v10-badges .donor-tier-5{color:#ffd8d8;border-color:rgba(210,70,70,.72);background:linear-gradient(135deg,rgba(108,25,25,.76),rgba(42,15,15,.9));box-shadow:0 0 22px rgba(169,43,43,.18)}
