:root{color-scheme:light;--ink:#14243b;--muted:#68768c;--line:#e4eaf3;--blue:#2267d7;--paper:#fff;--bg:#f4f7fc}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;color:var(--ink);font:14px/1.55 Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}.site{width:100%;max-width:1200px;margin:0 auto;min-width:0;background:#fff;min-height:100vh;box-shadow:0 0 32px #1026480b}.header{height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 28px;border-bottom:1px solid var(--line);background:#fff}.logo{font-weight:850;font-size:25px;letter-spacing:-1px}.logo span{color:var(--blue)}nav{display:flex;gap:24px;font-weight:650;color:#526276}main{padding:24px 28px 55px;min-height:65vh}h1,h2,h3,p{margin-top:0}h1{font-size:26px;line-height:1.22;letter-spacing:-.6px}h2{font-size:19px;letter-spacing:-.25px}.muted{color:var(--muted)}.heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.heading p{margin:7px 0 0}.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.modelcard{min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--paper);transition:box-shadow .15s,transform .15s}.modelcard:hover{transform:translateY(-2px);box-shadow:0 8px 24px #16336b12}.thumb,.no-photo{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;background:#e9eef6}.no-photo{display:grid;place-items:center;color:var(--muted)}.modelname{display:block;padding:9px 10px;font-size:13px;font-weight:700}.smallflag{font-size:15px}.profile-head{margin:4px 0 20px}.profile-head h1{display:flex;align-items:center;gap:12px;margin-bottom:8px}.flag{font-size:26px;line-height:1;border-radius:3px}.rating-line{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px}.star-display{font-size:23px;letter-spacing:2px;color:#b8c0cd;line-height:1}.star-display .lit,.stars .lit{color:#f2b900}.rate{margin-top:10px;display:flex;align-items:center;gap:12px}.rate-stars{display:inline-flex;flex-direction:row-reverse;align-items:center;gap:1px}.rate-stars input{position:absolute;opacity:0;width:1px;height:1px}.rate-stars label{font-size:32px;cursor:pointer;color:#b7bdc8;line-height:1.1;background:none!important;border:0!important;padding:0 1px;transition:color .1s}.rate-stars label:hover,.rate-stars label:hover~label,.rate-stars input:checked~label{color:#f4bd12}.rate-save{background:#eef4ff;border:1px solid #d4e4fc;border-radius:6px;color:#2468ce;padding:6px 11px;cursor:pointer;font-size:12px;font-weight:700}.profile{display:grid;grid-template-columns:255px minmax(0,1fr);gap:23px;align-items:start}.profile-image img,.profile-image .no-photo{width:100%;border-radius:9px;aspect-ratio:3/4;object-fit:cover}.biography{border:1px solid var(--line);background:#fff;padding:22px 24px;border-radius:10px;min-height:230px}.prose{font-size:14px;line-height:1.8;white-space:normal;overflow-wrap:anywhere}.reviewcard{border:1px solid var(--line);border-radius:10px;padding:15px;min-height:150px}.reviewcard h3{font-size:15px;margin:10px 0 5px}.reviewcard p{color:var(--muted);font-size:13px}.stars{color:#a6adbc}.article{max-width:780px}.article .prose{font-size:15px}.pager{display:flex;gap:7px;justify-content:center;margin-top:24px}.pager a{padding:6px 11px;border:1px solid var(--line);border-radius:6px}.pager .current{background:var(--blue);color:white}.notice{padding:10px 14px;background:#e9f7ef;border-radius:7px;margin-bottom:17px}.error{padding:10px;background:#fff0f0;color:#a11313}.auth,.install{max-width:440px;margin:40px auto;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff}.editor{max-width:760px}.editor label,.auth label,.install label{display:block;margin:0 0 14px;font-weight:600}.editor input,.editor textarea,.editor select,.auth input,.install input{width:100%;border:1px solid #d4deec;border-radius:7px;padding:10px;font:inherit;margin-top:5px;background:white}.editor button,.auth button,.install button,.btn{display:inline-block;background:var(--blue);color:white;border:0;border-radius:7px;padding:10px 15px;cursor:pointer;font-weight:700}.danger{margin-top:22px;background:#fdf0ef;color:#b32727;border:1px solid #efcaca;border-radius:7px;padding:9px 12px;cursor:pointer}.adminlist{border:1px solid var(--line);border-radius:9px}.adminlist a{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid var(--line)}.adminlist span{color:var(--muted)}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.plain{background:none;border:1px solid var(--line);padding:10px 14px;cursor:pointer;border-radius:6px}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:24px 28px;gap:15px;color:var(--muted);font-size:12px}@media(max-width:800px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile{grid-template-columns:210px minmax(0,1fr)}.header{padding:0 16px}main{padding:18px 16px}}@media(max-width:560px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile{grid-template-columns:1fr}.profile-image{max-width:250px}.biography{padding:16px}.logo{font-size:21px}nav{gap:12px}.header{height:60px}.rate{flex-wrap:wrap}footer{flex-direction:column}h1{font-size:23px}}

/* Admin profile image upload */
.editor label small{font-weight:400;opacity:.65;margin-left:5px}
.admin-image-preview{display:flex;align-items:center;gap:12px;padding:10px 0 4px}
.admin-image-preview span{font-size:13px;font-weight:700;opacity:.7}
.admin-image-preview img{width:80px;height:100px;object-fit:cover;border-radius:8px;border:1px solid #dfe7f1;background:#f5f8fb}


/* v1.2 profile page readability + rating improvements */
.profile-head{margin:2px 0 24px}
.profile-head h1{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-size:44px;line-height:1.08;letter-spacing:-1px}
.flag{font-size:30px;line-height:1}
.rating-line{display:flex;gap:14px;align-items:center;color:#5b6a80;font-size:18px;font-weight:600;margin-bottom:14px;flex-wrap:wrap}
.star-display{font-size:34px;letter-spacing:3px;color:#bcc4d1;line-height:1}
.rate{margin-top:0;display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 16px;background:#f7faff;border:1px solid #d8e4f6;border-radius:12px;max-width:max-content}
.rate > span{font-size:18px;font-weight:800;color:#162944}
.rate-stars{display:inline-flex;flex-direction:row-reverse;align-items:center;gap:2px}
.rate-stars label{font-size:40px;cursor:pointer;color:#b7bdc8;line-height:1;background:none!important;border:0!important;padding:0 2px;transition:color .12s, transform .12s}
.rate-stars label:hover,.rate-stars label:hover~label,.rate-stars input:checked~label{color:#f4bd12}
.rate-stars label:hover{transform:scale(1.06)}
.rate-save{background:#2a67d7;border:1px solid #205fcf;border-radius:8px;color:#fff;padding:10px 15px;cursor:pointer;font-size:14px;font-weight:800;box-shadow:0 2px 8px #1f5fcb14}
.rate-save:hover{background:#1e5fce}
.profile{display:grid;grid-template-columns:255px minmax(0,1fr);gap:23px;align-items:start}
.biography{border:1px solid var(--line);background:#fff;padding:24px 26px;border-radius:12px;min-height:230px}
.biography h2{font-size:36px;line-height:1.08;letter-spacing:-.8px;margin-bottom:16px}
.prose{font-size:18px;line-height:1.88;white-space:normal;overflow-wrap:anywhere}
@media(max-width:800px){.profile-head h1{font-size:34px}.rating-line{font-size:16px}.star-display{font-size:29px}.rate>span{font-size:16px}.rate-stars label{font-size:34px}.biography h2{font-size:30px}.prose{font-size:16px}}
@media(max-width:560px){.profile-head h1{font-size:28px}.rating-line{font-size:15px}.star-display{font-size:26px}.rate{padding:10px 12px;gap:12px}.rate-stars label{font-size:30px}.biography h2{font-size:25px}.prose{font-size:15px}}

/* v1.3 rating cleanup */
.rating-line,.star-display,.rate-save{display:none!important}
.rate{margin-top:4px}


/* v1.4 fixed biography font and persistent selected rating */
.biography .prose{font-size:14px!important;line-height:1.8!important}
@media(max-width:800px){.biography .prose{font-size:14px!important}}
@media(max-width:560px){.biography .prose{font-size:14px!important}}
.rate-stars input:checked~label{color:#f4bd12!important}


/* v1.5 cross-browser country flags (real images, not emoji) */
.flag-link{display:inline-flex;align-items:center;line-height:1;vertical-align:middle}
.flag{display:inline-block;width:34px;height:25px;object-fit:cover;border-radius:3px;border:1px solid #d5dce7;box-shadow:0 1px 2px rgba(0,0,0,.08);vertical-align:middle}
.smallflag{display:inline-block;width:20px;height:15px;object-fit:cover;border-radius:2px;border:1px solid #d5dce7;vertical-align:-2px;margin-left:4px}
.country-flag-other{display:inline-flex;align-items:center;justify-content:center;border:0;box-shadow:none;width:auto;height:auto}


/* v1.6 biography top alignment */
.biography{padding-top:0!important}
.biography h2{margin-top:0!important;padding-top:0!important}
@media(max-width:560px){.biography{padding-top:0!important}}


/* v1.7 fixed profile image/biography height + expandable long bio */
.profile{grid-template-columns:285px minmax(0,1fr);gap:24px;align-items:start}
.profile-image img,.profile-image .no-photo{
    width:100%;height:380px;aspect-ratio:auto;object-fit:cover;border-radius:10px;display:block
}
.biography{
    height:380px;min-height:380px;padding:0 26px 16px!important;
    display:flex;flex-direction:column;overflow:hidden;position:relative
}
.biography h2{flex:0 0 auto;margin:0 0 14px!important;padding:0!important}
.bio-content{flex:1 1 auto;min-height:0;overflow:hidden;position:relative}
.biography.has-more:not(.expanded) .bio-content:after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:46px;
    background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 82%);pointer-events:none
}
.bio-more{
    flex:0 0 auto;align-self:flex-start;margin:8px 0 0;padding:0;border:0;background:transparent;
    color:var(--blue);font:700 14px/1.3 Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
    cursor:pointer;text-decoration:underline;text-underline-offset:3px
}
.bio-more[hidden]{display:none!important}
.biography.expanded{height:auto;min-height:380px;overflow:visible;padding-bottom:18px!important}
.biography.expanded .bio-content{overflow:visible;flex:0 0 auto}
.biography.expanded .bio-content:after{display:none}
@media(max-width:800px){
    .profile{grid-template-columns:250px minmax(0,1fr);gap:20px}
    .profile-image img,.profile-image .no-photo{height:334px}
    .biography{height:334px;min-height:334px;padding-left:20px!important;padding-right:20px!important}
    .biography.expanded{min-height:334px}
}
@media(max-width:560px){
    .profile{grid-template-columns:1fr;gap:16px}
    .profile-image{max-width:285px}
    .profile-image img,.profile-image .no-photo{height:380px}
    .biography{height:380px;min-height:380px;padding-left:16px!important;padding-right:16px!important}
    .biography.expanded{min-height:380px}
}


/* v1.9 rating summary */
.rating-summary{margin:2px 0 12px;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.rating-score{display:flex;align-items:center;gap:12px;line-height:1}
.rating-stars{display:inline-flex;gap:2px;font-size:31px;letter-spacing:1px;color:#b7bdc8}
.rating-stars .lit{color:#f4bd12}
.rating-score strong{font-size:20px;line-height:1.2;color:#1a2940;font-weight:800}
.rating-votes{font-size:14px;color:#68768c;font-weight:650;margin-left:1px}
.rate{margin-top:8px;padding:0;background:none;border:0;border-radius:0;gap:0;max-width:max-content}
.rate-stars label{font-size:34px}
@media(max-width:800px){.rating-stars{font-size:28px}.rating-score strong{font-size:18px}.rating-votes{font-size:14px}}
@media(max-width:560px){.rating-stars{font-size:26px}.rating-score strong{font-size:17px}.rate-stars label{font-size:30px}}

/* v2.0 rating moved under profile photo */
.profile-left{min-width:0}
.profile-rating{padding:12px 4px 0;text-align:center}
.profile-rating .rating-summary{align-items:center;margin:0 0 8px}
.profile-rating .rating-score{justify-content:center}
.profile-rating .rating-votes{margin-left:0;text-align:center}
.profile-rating .rate{justify-content:center;margin:0;padding:0;background:transparent;border:0;border-radius:0;max-width:none}
.profile-rating .rate-stars{justify-content:center}
@media(max-width:560px){.profile-left{max-width:285px}.profile-rating{padding-top:10px}}


/* v2.1 biography matches photo + rating height; 16px bio text */
.biography .prose{font-size:16px!important;line-height:1.8!important}
.profile-left{display:flex;flex-direction:column}
.biography{box-sizing:border-box}
.biography.expanded{height:auto!important;overflow:visible}
@media(max-width:800px){.biography .prose{font-size:16px!important}}
@media(max-width:560px){.biography .prose{font-size:16px!important}.profile-left{display:block}.biography{height:380px;min-height:380px}.biography.expanded{height:auto!important;min-height:380px}}

/* v2.2 clean rating: no second voting-star row; biography height follows photo + rating summary */
.profile-rating{padding-bottom:0}
.profile-rating .rating-summary{margin-bottom:0}


/* v2.3 homepage model photos match profile photo size */
.home-grid{grid-template-columns:repeat(3,285px);gap:24px;justify-content:center}
.home-grid .modelcard{width:285px}
.home-grid .thumb,.home-grid .no-photo{width:285px;height:380px;aspect-ratio:auto;object-fit:cover}
@media(max-width:800px){
  .home-grid{grid-template-columns:repeat(2,250px);gap:20px;justify-content:center}
  .home-grid .modelcard{width:250px}
  .home-grid .thumb,.home-grid .no-photo{width:250px;height:334px}
}
@media(max-width:560px){
  .home-grid{grid-template-columns:285px;gap:16px;justify-content:center}
  .home-grid .modelcard{width:285px}
  .home-grid .thumb,.home-grid .no-photo{width:285px;height:380px}
}


/* v2.4 clickable community rating + breadcrumbs */
.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;color:#6b788c;font-size:13px}
.breadcrumbs a{color:#3768a8;font-weight:650}
.breadcrumbs a:hover{text-decoration:underline}
.rating-vote{margin:0!important;padding:0!important;background:transparent!important;border:0!important;display:flex!important;align-items:center!important;gap:12px!important;max-width:none!important}
.rating-vote .rating-stars{display:inline-flex;align-items:center;gap:2px}
.rating-star-button{appearance:none;-webkit-appearance:none;border:0;background:transparent;padding:0 1px;margin:0;font:inherit;font-size:31px;line-height:1;color:#b7bdc8;cursor:pointer;transition:transform .12s,color .12s}
.rating-star-button.lit{color:#f4bd12}
.rating-star-button:hover,.rating-star-button:focus-visible{color:#f4bd12;transform:scale(1.12);outline:none}
.rating-star-button:focus-visible{box-shadow:0 0 0 3px rgba(42,103,215,.18);border-radius:4px}
.profile-rating .rating-score{justify-content:center}
@media(max-width:800px){.rating-star-button{font-size:28px}}
@media(max-width:560px){.breadcrumbs{margin-bottom:10px}.rating-star-button{font-size:26px}}


/* v2.5 cumulative rating hover: left to right = 1,2,3,4,5 */
.rating-vote .rating-stars{flex-direction:row-reverse}
.rating-vote .rating-stars:hover .rating-star-button{color:#b7bdc8}
.rating-vote .rating-star-button:hover,
.rating-vote .rating-star-button:hover~.rating-star-button,
.rating-vote .rating-star-button:focus-visible,
.rating-vote .rating-star-button:focus-visible~.rating-star-button{color:#f4bd12!important}

/* v2.6 larger model names + proportional country flags on homepage */
.home-grid .modelname{
  padding:12px 12px 13px;
  font-size:18px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.2px;
  display:flex;
  align-items:center;
  gap:8px;
}
.home-grid .modelname .smallflag{
  width:28px;
  height:21px;
  margin-left:0;
  vertical-align:middle;
  flex:0 0 auto;
}
@media(max-width:800px){
  .home-grid .modelname{font-size:17px;padding:11px 11px 12px;gap:7px}
  .home-grid .modelname .smallflag{width:26px;height:20px}
}
@media(max-width:560px){
  .home-grid .modelname{font-size:18px;padding:12px 12px 13px;gap:8px}
  .home-grid .modelname .smallflag{width:28px;height:21px}
}

/* v2.7 four model profiles per row on desktop */
@media(min-width:801px){
  .site{max-width:1280px}
  .home-grid{grid-template-columns:repeat(4,270px);gap:20px;justify-content:center}
  .home-grid .modelcard{width:270px}
  .home-grid .thumb,.home-grid .no-photo{width:270px;height:360px;aspect-ratio:auto;object-fit:cover}
}

/* v2.8 keep original site width; smaller homepage cards + tighter gaps */
@media(min-width:801px){
  .site{max-width:1200px}
  .home-grid{grid-template-columns:repeat(4,260px);gap:12px;justify-content:center}
  .home-grid .modelcard{width:260px}
  .home-grid .thumb,.home-grid .no-photo{width:260px;height:347px;aspect-ratio:auto;object-fit:cover}
}
@media(max-width:800px) and (min-width:561px){
  .home-grid{gap:12px}
}
@media(max-width:560px){
  .home-grid{gap:10px}
}

footer a{color:var(--blue);font-weight:650}footer a:hover{text-decoration:underline}


/* v3.0 model gallery slider + admin gallery manager */
.model-gallery{width:100%;margin:30px 0 4px}.model-gallery h2{font-size:25px;margin:0 0 13px}.gallery-shell{position:relative;width:100%}.gallery-track{display:flex;gap:12px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none;padding:2px 0}.gallery-track::-webkit-scrollbar{display:none}.gallery-thumb{flex:0 0 180px;width:180px;aspect-ratio:3/4;padding:0;border:0;border-radius:9px;background:#edf2f8;overflow:hidden;cursor:pointer;scroll-snap-align:start;box-shadow:0 0 0 1px #e1e7f0 inset}.gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s}.gallery-thumb:hover img{transform:scale(1.025)}.gallery-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:56px;border:1px solid #d9e1ed;border-radius:9px;background:rgba(255,255,255,.94);box-shadow:0 4px 16px rgba(20,36,59,.12);font-size:35px;line-height:1;color:#1d4f93;cursor:pointer;display:grid;place-items:center}.gallery-prev{left:8px}.gallery-next{right:8px}.gallery-arrow:disabled{opacity:0;pointer-events:none}.gallery-lightbox[hidden]{display:none!important}.gallery-lightbox{position:fixed;z-index:9999;inset:0;background:rgba(8,15,28,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px}.gallery-lightbox img{display:block;max-width:min(92vw,1200px);max-height:82vh;object-fit:contain;border-radius:8px;background:#111}.gallery-lightbox-close{position:fixed;right:24px;top:18px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#17263d;font-size:33px;line-height:1;cursor:pointer}.gallery-lightbox-caption{color:#fff;margin-top:12px;font-size:14px;max-width:900px;text-align:center}.lightbox-open{overflow:hidden}
.gallery-admin-section{margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:#f9fbfe}.gallery-admin-heading h2{margin:0 0 4px;font-size:21px}.gallery-admin-heading p{margin:0 0 18px;color:var(--muted)}.gallery-admin-existing-list{display:grid;gap:12px;margin-bottom:18px}.gallery-admin-existing{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff}.gallery-admin-existing>img{width:110px;height:145px;object-fit:cover;border-radius:7px}.gallery-admin-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.gallery-admin-fields label{margin:0}.gallery-admin-fields .gallery-remove{grid-column:1/-1;display:flex;align-items:center;gap:7px;color:#a32323}.gallery-admin-fields .gallery-remove input{width:auto;margin:0}.gallery-upload-row{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:10px;align-items:end;padding:12px;margin:0 0 10px;border:1px dashed #cfd9e7;border-radius:9px;background:#fff}.gallery-upload-row label{margin:0}.gallery-upload-row .gallery-row-remove{margin-bottom:0;white-space:nowrap}
@media(max-width:800px){.gallery-thumb{flex-basis:150px;width:150px}.gallery-arrow{width:38px;height:52px}.gallery-admin-fields{grid-template-columns:1fr}.gallery-upload-row{grid-template-columns:1fr 1fr}.gallery-upload-row .gallery-row-remove{grid-column:1/-1;justify-self:start}}
@media(max-width:560px){.model-gallery{margin-top:22px}.model-gallery h2{font-size:22px}.gallery-track{gap:10px}.gallery-thumb{flex-basis:120px;width:120px}.gallery-arrow{width:36px;height:48px;font-size:30px}.gallery-prev{left:4px}.gallery-next{right:4px}.gallery-lightbox{padding:18px}.gallery-lightbox-close{right:12px;top:10px}.gallery-admin-existing{grid-template-columns:80px 1fr}.gallery-admin-existing>img{width:80px;height:106px}.gallery-upload-row{grid-template-columns:1fr}}

/* v3.1 purple public design + detective logo */
:root{
  --ink:#241333;
  --muted:#756680;
  --line:#eadff2;
  --blue:#7c3aed;
  --paper:#ffffff;
  --bg:#f3eef9;
  --purple:#7c3aed;
  --purple-dark:#3b145f;
  --purple-deep:#220b36;
  --purple-soft:#f5effb;
  --purple-mid:#9a63e8;
}
html{background:linear-gradient(180deg,#eee6f7 0,#f7f3fb 34%,#efe7f6 100%)}
body{background:transparent;color:var(--ink)}
.site{
  background:#fff;
  box-shadow:0 18px 55px rgba(55,20,88,.13);
  border-left:1px solid rgba(124,58,237,.06);
  border-right:1px solid rgba(124,58,237,.06);
}
.header{
  height:104px;
  padding:0 28px;
  border-bottom:1px solid #4c1d71;
  background:linear-gradient(115deg,#180827 0%,#32104d 52%,#4b176e 100%);
  box-shadow:0 7px 24px rgba(40,12,66,.16);
}
.logo.brand-logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  height:96px;
  width:245px;
  overflow:hidden;
  border-radius:10px;
  background:#09020d;
  box-shadow:0 0 0 1px rgba(228,190,255,.15),0 5px 18px rgba(0,0,0,.22);
}
.logo.brand-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.header nav{gap:9px;color:#f4eaff;font-weight:750}
.header nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 15px;
  border-radius:9px;
  color:#f8efff;
  transition:background .14s,color .14s,transform .14s;
}
.header nav a:hover{
  color:#fff;
  background:rgba(255,255,255,.12);
  transform:translateY(-1px);
}
main{background:linear-gradient(180deg,#fff 0,#fff 78%,#fcf9ff 100%)}
a:hover{color:var(--purple)}
h1,h2,h3{color:#261237}
.heading{padding:18px 20px;margin:-2px 0 24px;border:1px solid #eadcf4;border-radius:14px;background:linear-gradient(135deg,#fbf8fe 0,#f2e9fb 100%)}
.heading h1{margin-bottom:2px;font-size:30px;color:#35134f}
.heading .muted{color:#786683}
.modelcard{
  border-color:#e6d9f0;
  border-radius:13px;
  box-shadow:0 4px 14px rgba(59,20,95,.07);
}
.modelcard:hover{
  border-color:#cba9e8;
  box-shadow:0 13px 30px rgba(74,25,112,.16);
  transform:translateY(-3px);
}
.modelcard .modelname{
  color:#321548;
  background:linear-gradient(180deg,#fff 0,#fbf7fe 100%);
}
.smallflag,.flag{border-color:#d6c5e5;box-shadow:0 1px 3px rgba(52,20,74,.12)}
.profile-head h1{color:#2e1143}
.breadcrumbs{color:#7a6986}
.breadcrumbs a{color:#7135b4}
.breadcrumbs a:hover{color:#542287}
.biography{
  border-color:#e2d2ee;
  background:linear-gradient(180deg,#fff 0,#fdfbff 100%);
  box-shadow:0 6px 22px rgba(65,22,96,.07);
}
.biography h2{color:#33154b}
.biography.has-more:not(.expanded) .bio-content:after{background:linear-gradient(to bottom,rgba(255,255,255,0),#fdfbff 82%)}
.bio-more{color:#7438b7!important}
.bio-more:hover{color:#4e1d7d!important}
.profile-image img{
  box-shadow:0 8px 24px rgba(47,16,72,.16);
  border:1px solid #e0d0eb;
}
.rating-score strong{color:#35164e}
.rating-votes{color:#786781}
.rating-star-button:focus-visible{box-shadow:0 0 0 3px rgba(124,58,237,.20)}
.pager a{border-color:#dfcdea;background:#fff}
.pager a:hover{border-color:#b982df;background:#f6effc;color:#5d218d}
.pager .current{background:linear-gradient(135deg,#7c3aed,#5b21b6);border-color:#6d28d9;color:#fff}
.reviewcard{border-color:#e5d7ef;background:#fff;box-shadow:0 4px 14px rgba(62,20,94,.06)}
.reviewcard:hover{border-color:#caa8e5;box-shadow:0 10px 26px rgba(62,20,94,.12)}
.notice{background:#f2eafb;border:1px solid #ddc9f0;color:#421b62}
.btn,.editor button,.auth button,.install button{
  background:linear-gradient(135deg,#7c3aed,#5b21b6);
  box-shadow:0 5px 14px rgba(91,33,182,.18)
}
.btn:hover,.editor button:hover,.auth button:hover,.install button:hover{background:linear-gradient(135deg,#7132da,#4d1b9c);color:#fff}
.auth,.install,.editor{border-color:#e2d4ec}
.editor input,.editor textarea,.editor select,.auth input,.install input{border-color:#d9c8e7}
.editor input:focus,.editor textarea:focus,.editor select:focus,.auth input:focus,.install input:focus{outline:0;border-color:#9d6bd0;box-shadow:0 0 0 3px rgba(124,58,237,.11)}
.model-gallery h2{color:#33154b}
.gallery-thumb{background:#f0e8f6;box-shadow:0 0 0 1px #decbea inset}
.gallery-arrow{border-color:#d9c4e8;color:#67309d;background:rgba(255,255,255,.96);box-shadow:0 5px 18px rgba(55,18,86,.15)}
.gallery-arrow:hover{background:#f7f0fc;color:#4d1d78}
.gallery-admin-section{border-color:#e2d3ed;background:#faf7fd}
.gallery-admin-existing,.gallery-upload-row{border-color:#dfcfea}
footer{
  border-top:1px solid #4c1d71;
  background:linear-gradient(115deg,#210b34 0%,#35114f 55%,#4a176b 100%);
  color:#d9c7e8;
  padding-top:25px;
  padding-bottom:25px;
}
footer a{color:#e3b7ff;font-weight:750}
footer a:hover{color:#fff}
@media(max-width:800px){
  .header{height:86px;padding:0 16px}
  .logo.brand-logo{width:188px;height:76px}
  .header nav{gap:4px}
  .header nav a{padding:0 10px;min-height:36px}
  .heading{padding:15px 16px}
}
@media(max-width:560px){
  .header{height:auto;min-height:78px;padding:8px 12px;gap:8px}
  .logo.brand-logo{width:155px;height:66px}
  .header nav{gap:2px;font-size:12px}
  .header nav a{padding:0 7px;min-height:34px}
  .heading h1{font-size:25px}
}

/* v3.2 transparent oversized logo, sticky footer, model search + counter */
html,body{min-height:100%}
body{min-height:100vh}
.site{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  overflow:visible;
}
main{
  flex:1 0 auto;
  width:100%;
  padding-top:46px;
}
footer{
  margin-top:auto;
  flex:0 0 auto;
}
.header{
  position:relative;
  z-index:20;
  overflow:visible;
  height:104px;
}
.logo.brand-logo{
  position:relative;
  z-index:30;
  width:330px;
  height:154px;
  overflow:visible;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  align-self:flex-start;
  margin-top:-7px;
}
.logo.brand-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 8px 12px rgba(20,5,31,.24));
}
.header nav{position:relative;z-index:32}
.heading.model-heading{
  min-height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.model-heading-copy{min-width:0;flex:1 1 auto}
.model-heading-copy h1{margin:0;max-width:650px}
.model-tools{
  flex:0 0 auto;
  display:flex;
  align-items:stretch;
  justify-content:flex-end;
  gap:12px;
}
.model-search{
  height:46px;
  display:flex;
  align-items:stretch;
  border:1px solid #d8c4e7;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 3px 12px rgba(57,19,87,.06);
}
.model-search input{
  width:235px;
  min-width:0;
  border:0;
  outline:0;
  padding:0 13px;
  font:inherit;
  font-size:14px;
  color:#2d153f;
  background:#fff;
}
.model-search input::placeholder{color:#94869e}
.model-search:focus-within{border-color:#9561c4;box-shadow:0 0 0 3px rgba(124,58,237,.10)}
.model-search button{
  border:0;
  border-left:1px solid #d8c4e7;
  padding:0 16px;
  cursor:pointer;
  font:inherit;
  font-weight:750;
  color:#fff;
  background:linear-gradient(135deg,#7c3aed,#5b21b6);
}
.model-search button:hover{background:linear-gradient(135deg,#6f30d3,#4e1d98)}
.model-count{
  min-width:92px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 13px;
  border:1px solid #d8c4e7;
  border-radius:10px;
  color:#694088;
  background:#fff;
  white-space:nowrap;
  box-shadow:0 3px 12px rgba(57,19,87,.06);
}
.model-count strong{font-size:17px;color:#4b1d70;line-height:1}
.model-count span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.35px}
.sr-only{
  position:absolute!important;
  width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
@media(max-width:800px){
  main{padding-top:34px}
  .header{height:92px}
  .logo.brand-logo{width:250px;height:128px;margin-top:-5px}
  .heading.model-heading{align-items:flex-start;flex-direction:column;gap:14px}
  .model-tools{width:100%;justify-content:space-between}
  .model-search{flex:1 1 auto}
  .model-search input{width:100%}
}
@media(max-width:560px){
  main{padding-top:24px}
  .header{min-height:78px;padding-top:5px;padding-bottom:5px}
  .logo.brand-logo{width:190px;height:104px;margin-top:-5px}
  .model-tools{flex-direction:column;gap:8px}
  .model-search,.model-count{width:100%}
  .model-count{justify-content:flex-start}
}


/* v3.3 logo left edge + visits counter + single-line homepage heading */
@media(min-width:801px){
  .header{padding-left:0}
  .logo.brand-logo{margin-left:0;width:350px;height:164px}
  .model-heading-copy h1{
    max-width:none;
    font-size:24px;
    letter-spacing:-.35px;
    white-space:nowrap;
  }
}
@media(max-width:800px){
  .header{padding-left:0}
  .logo.brand-logo{margin-left:0}
  .model-heading-copy h1{font-size:23px}
}
@media(max-width:560px){
  .model-heading-copy h1{font-size:21px;white-space:normal}
}

/* v3.4 breadcrumb moved into Biography panel */
.biography > .breadcrumbs{
  margin:0 0 10px;
  padding:0 0 9px;
  border-bottom:1px solid #eadff2;
  font-size:17px;
  line-height:1.25;
  gap:10px;
}
.biography > .breadcrumbs a{font-weight:750}
.biography > .breadcrumbs [aria-current="page"]{font-weight:700;color:#4b1d70}
.biography > .breadcrumbs + h2{margin-top:0!important}
@media(max-width:800px){.biography > .breadcrumbs{font-size:16px}}
@media(max-width:560px){.biography > .breadcrumbs{font-size:15px;gap:7px}}

/* v3.5 breadcrumb beside model title, aligned over Biography */
.profile-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}
.profile-head > .breadcrumbs{
  margin:0 16px 7px auto;
  padding:0;
  border:0;
  justify-content:flex-end;
  font-size:20px;
  line-height:1.2;
  gap:11px;
  white-space:nowrap;
}
.profile-head > .breadcrumbs a{font-weight:800}
.profile-head > .breadcrumbs [aria-current="page"]{font-weight:800;color:#4b1d70}
/* cancel v3.4 Biography-only breadcrumb rules */
.biography > .breadcrumbs{display:none!important}
@media(max-width:800px){
  .profile-head{align-items:flex-start;flex-direction:column;gap:8px}
  .profile-head > .breadcrumbs{margin:0 0 4px;font-size:17px;justify-content:flex-start;white-space:normal}
}
@media(max-width:560px){
  .profile-head > .breadcrumbs{font-size:16px;gap:7px}
}

/* v3.6 title centered over photo + breadcrumb aligned over Biography */
.profile-head{
  display:grid!important;
  grid-template-columns:255px minmax(0,1fr)!important;
  column-gap:23px!important;
  align-items:end!important;
  margin:0 0 8px!important;
}
.profile-head > h1{
  width:255px!important;
  margin:0!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:40px!important;
  line-height:1.05!important;
  white-space:nowrap;
}
.profile-head > .breadcrumbs{
  margin:0 16px 3px 0!important;
  padding:0!important;
  justify-content:flex-end!important;
  align-self:end!important;
  font-size:20px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
@media(max-width:800px){
  .profile-head{
    grid-template-columns:210px minmax(0,1fr)!important;
    column-gap:23px!important;
    align-items:end!important;
  }
  .profile-head > h1{
    width:210px!important;
    font-size:31px!important;
    white-space:normal!important;
  }
  .profile-head > .breadcrumbs{
    font-size:17px!important;
    justify-content:flex-end!important;
    margin:0 0 3px!important;
    white-space:normal!important;
  }
}
@media(max-width:560px){
  .profile-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:8px!important;
    margin-bottom:10px!important;
  }
  .profile-head > h1{
    width:auto!important;
    justify-content:flex-start!important;
    text-align:left!important;
    font-size:28px!important;
  }
  .profile-head > .breadcrumbs{
    justify-content:flex-start!important;
    font-size:16px!important;
    margin:0!important;
  }
}

/* v3.8 homepage: 5 compact model cards per row + tighter spacing */
@media(min-width:1000px){
  .heading.model-heading{
    min-height:74px;
    margin-bottom:10px;
    padding-top:14px;
    padding-bottom:14px;
  }
  .home-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
    justify-content:stretch;
  }
  .home-grid .modelcard{
    width:auto;
    min-width:0;
  }
  .home-grid .thumb,
  .home-grid .no-photo{
    width:100%;
    height:auto;
    aspect-ratio:3/4;
    object-fit:cover;
  }
}

/* v3.9 homepage hero: tighter spacing between left copy and right search */
@media(min-width:1000px){
  .heading.model-heading{
    justify-content:flex-start;
    gap:30px;
    padding-left:16px;
    padding-right:16px;
  }
  .model-heading-copy{
    flex:0 0 auto;
    width:auto;
  }
  .model-tools{
    flex:0 0 auto;
    margin-left:0;
  }
  .model-search input{
    width:220px;
  }
}

/* v3.10 homepage edge alignment + slimmer lowered hero */
@media(min-width:1000px){
  /* Expand homepage hero and model grid beyond main's default 28px gutters,
     leaving a compact ~14px edge on both sides. */
  .heading.model-heading,
  .home-grid{
    width:calc(100% + 28px);
    margin-left:-14px;
    margin-right:-14px;
  }

  .heading.model-heading{
    min-height:58px;
    margin-top:14px;
    margin-bottom:8px;
    padding:7px 14px;
    gap:18px;
    align-items:center;
    justify-content:space-between;
  }

  .model-heading-copy{
    flex:0 1 auto;
    min-width:0;
  }
  .model-heading-copy h1{
    margin:0;
    line-height:1.15;
  }

  .model-tools{
    flex:0 0 auto;
    margin-left:auto;
    justify-content:flex-end;
    align-items:center;
  }
  .model-search{
    height:44px;
    margin-left:auto;
  }
  .model-search input{
    width:245px;
  }

  .home-grid{
    gap:7px;
  }
}

/* v3.11 header navigation: larger and aligned to bottom edge */
@media(min-width:801px){
  .header nav{
    position:absolute!important;
    right:24px!important;
    bottom:7px!important;
    z-index:32!important;
    display:flex!important;
    align-items:flex-end!important;
    gap:18px!important;
    font-size:18px!important;
    line-height:1!important;
  }
  .header nav a{
    min-height:38px!important;
    padding:0 10px 6px!important;
    display:inline-flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    font-size:18px!important;
    font-weight:800!important;
    line-height:1!important;
  }
}

/* PornoBuddy share links – positioned under Biography / reviews, right aligned */
.pb-share{display:flex;justify-content:flex-end;align-items:center;gap:7px;margin:14px 0 24px;min-height:34px;flex-wrap:wrap}
.pb-share-label{font-size:12px;color:#755c8c;font-weight:600;margin-right:3px}
.pb-share-btn{width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;border-radius:7px;color:#fff!important;text-decoration:none!important;font:700 17px/1 Arial,sans-serif;transition:filter .15s ease,transform .15s ease}
.pb-share-btn:hover,.pb-share-btn:focus-visible{filter:brightness(1.12);transform:translateY(-1px)}
.pb-share-x{background:#16121e}.pb-share-facebook{background:#1877f2}.pb-share-reddit{background:#ff4500}.pb-share-telegram{background:#229ed9}
@media(max-width:600px){.pb-share{margin:12px 0 20px}.pb-share-btn{width:36px;height:36px}}

/* v3.11 share placement FIX: share is inside the right profile column */
.profile-right{min-width:0;display:flex;flex-direction:column;align-items:stretch}
.profile-right .biography{width:100%;min-width:0}
.profile-right .pb-share{width:100%;margin:12px 0 22px;justify-content:flex-end;gap:8px;padding:0 2px}
.pb-share{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}
.pb-share-label{font-size:12px;color:#765a8d;font-weight:700;margin-right:3px}
.pb-share-btn{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;min-width:35px;border-radius:8px;color:white!important;text-decoration:none!important;box-shadow:0 2px 7px rgba(35,13,58,.12)}
.pb-share-btn svg{width:19px;height:19px;display:block;fill:currentColor}
.pb-share-x{background:#141017}.pb-share-facebook{background:#1877f2}.pb-share-reddit{background:#ff4500}.pb-share-telegram{background:#229ed9}
.pb-share-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}
@media(max-width:560px){.profile-right{width:100%}.profile-right .pb-share{justify-content:flex-end}}

/* Tumblr and native Copy Link */
.pb-share-tumblr{background:#35465c}
.pb-share-copy{background:#6c30b9;border:0;cursor:pointer;font-family:inherit;padding:0}
.pb-share-copy.is-copied{background:#16866c}
