/* Casting Index · Swiss Industrial Print. */
:root {
  color-scheme:light;
  --paper:#f4f4f0;
  --ink:#111111;
  --muted:#4f4f4c;
  --divider:#aaa9a5;
  --signal:#e61919;
  --white:#fff;
  --body:Inter,Arial,sans-serif;
  --display:"Archivo Black","Arial Black",system-ui,sans-serif;
  --mono:"JetBrains Mono",Consolas,ui-monospace,monospace;
  scrollbar-gutter:stable;
  --gutter:clamp(14px,2.1vw,40px);
  font-family:var(--body);background:var(--paper);color:var(--ink);
  scrollbar-color:var(--ink) var(--paper);
}
* {box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body {min-height:100vh;margin:0;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased}
main {flex:1}
a {color:inherit;text-decoration:none;text-underline-offset:.18em}
button,input,summary {font:inherit;color:inherit}
button,summary {cursor:pointer}
button {border-radius:0}
a,button,summary {touch-action:manipulation;-webkit-tap-highlight-color:transparent}
img {max-width:100%;display:block}
button[disabled] {cursor:default}
[hidden] {display:none!important}
::selection {background:var(--ink);color:var(--paper)}
input {accent-color:var(--signal);caret-color:var(--signal)}
input::placeholder {color:var(--muted);opacity:1}
:focus-visible,:root[data-keyboard-input] :focus {outline:3px solid var(--signal);outline-offset:2px}
:root[data-pointer-input] :focus {outline:none!important;box-shadow:none!important}
.icon {display:inline-block;width:20px;height:20px;flex:none;vertical-align:middle;fill:currentColor}
.sr,.skip:not(:focus) {position:absolute;width:1px;height:1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.skip:focus {position:fixed;top:5px;left:5px;z-index:50;background:var(--white);padding:12px}
.wrap {width:min(calc(100% - var(--gutter)*2),1800px);margin-inline:auto}
.top {background:var(--ink);color:var(--white)}
.top-inner,.top nav {display:flex;align-items:center}
.top-inner {gap:clamp(14px,2vw,36px);min-height:52px}
.brand {font:400 clamp(1.05rem,1.52vw,1.6rem)/1 var(--display);letter-spacing:-.045em;white-space:nowrap}
.brand,.top nav>a,.channel {min-height:44px;display:inline-flex;align-items:center}
.top nav {height:100%;gap:0}
.top nav>a,.channel,.foot,.back,.search,.filters,.listing-title>span,.handle,.price-tag,.profile-handle,.pages,.tags,.viewer-layout #photoPos {font-family:var(--mono)}
.top nav>a,.channel {position:relative;gap:7px;font-size:.81rem;font-weight:600;white-space:nowrap}
.top nav>a {padding-inline:clamp(12px,1.8vw,30px)}
.top nav>a::before,.channel::before {content:"";position:absolute;inset-inline-start:0;top:calc(50% - 9px);height:18px;border-left:1px solid #858582}
.top nav>a[aria-current=page] {text-decoration:underline;text-decoration-color:var(--signal);text-decoration-thickness:3px;text-underline-offset:6px}
#favCount {color:#dededb;font-size:.72rem;font-variant-numeric:tabular-nums}
.channel {margin-left:auto;padding-left:18px}
.channel .icon:first-child {width:17px;height:17px}
.channel .icon:last-child {width:15px;height:15px}
.listings,.favorites {padding-bottom:clamp(40px,5vw,86px)}
.index-bar {display:grid;grid-template-columns:minmax(0,1.36fr) minmax(260px,.92fr);align-items:center;gap:clamp(18px,3vw,60px);padding-block:clamp(22px,2.45vw,40px)}
.listing-title {display:flex;align-items:baseline;flex-wrap:wrap;gap:7px clamp(14px,1vw,24px)}
.listing-title h1,.info h1,.profile-head h1 {font-family:var(--display);font-weight:400;text-transform:uppercase;margin:0;letter-spacing:-.042em}
.listing-title h1,.info h1 {font-size:clamp(2.65rem,5.65vw,6.7rem);line-height:.94;overflow-wrap:anywhere}
.listing-title>span {color:var(--muted);font-size:clamp(.74rem,1vw,1rem);line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}
.search {display:flex;align-items:stretch;width:100%;max-width:680px;justify-self:end;border:1px solid var(--ink);background:var(--paper)}
.search input {border:0;outline:0;min-width:0;flex:1;width:100%;height:52px;padding:0 15px;background:transparent;font-size:1rem}
.search>.icon {align-self:center;margin-left:12px}
:root[data-pointer-input] :is(input[type="text"],input[type="search"],input[type="number"],input:not([type]),textarea):focus{outline:none}
:root:not([data-pointer-input]) :is(.search,.filter-label):focus-within {outline:2px solid var(--ink);outline-offset:2px}
.action,.primary,.favoriteEmptyLink,.favoriteRetry {display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;gap:7px;border:1px solid var(--ink);background:var(--ink);color:var(--white);font-size:.95rem;font-weight:720;text-align:center}
.search .action,.profile-actions .action {background:var(--signal);color:var(--white);border:0}
.search .action {min-width:56px;padding:0 13px}
.search .action .icon {width:25px;height:25px}
.filters {display:flex;align-items:stretch;position:relative;z-index:4;min-height:54px;border-block:1px solid var(--ink);margin-bottom:clamp(12px,1.4vw,24px);gap:clamp(10px,1.8vw,35px);font-size:.84rem}
.price-opts {display:flex;gap:clamp(8px,1.4vw,25px)}
.price-opts>a,.filters summary {display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 5px;white-space:nowrap;font-weight:550}
.price-opts>a {position:relative;min-width:44px}
.price-opts>a[aria-current=true] {font-weight:550}
.price-opts>a[aria-current=true]::after {content:"";position:absolute;bottom:4px;height:3px;inset-inline:4px;background:var(--signal)}
.filters details {position:relative;min-width:0}
.filters summary {list-style:none;gap:6px;max-width:100%}
.filters summary::-webkit-details-marker {display:none}
.filters summary>.icon {width:15px;height:15px}
.filters summary>span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filters .sort-menu {margin-left:auto}
.menu-panel {position:absolute;top:100%;left:0;z-index:5;border:1px solid var(--ink);width:min(325px,82vw);min-width:100%;padding:8px;background:var(--paper)}
.filter-label {display:flex;align-items:center;gap:8px;border:1px solid var(--ink);padding:0 10px;margin-bottom:6px}
.filter-label>input {min-width:0;width:100%;min-height:42px;background:transparent;border:0;outline:0}
.options {max-height:min(360px,48vh);overflow:auto;overscroll-behavior:contain}
.options a {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;min-height:44px}
:root:not([data-pointer-input]) .options a:focus-visible,.options a[aria-current=true] {background:var(--ink);color:var(--paper)}
.options small {font-variant-numeric:tabular-nums}
.sort-menu .menu-panel {left:auto;right:0;width:168px}
.menu-panel p {margin:8px 10px}
.cards {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:1px;row-gap:14px}
.creator-card {position:relative;min-width:0;border-bottom:1px solid var(--ink)}
.portrait {position:relative;aspect-ratio:1/1.09;background:#e0e0dd}
.portrait-link,.portrait-img {width:100%;height:100%;display:block}
.portrait-img,.gallery img {object-fit:cover;object-position:50% 26%}
.portrait-link:focus-visible,.gallery a:focus-visible {position:relative;z-index:2;outline-offset:-4px}
.image-fallback {display:grid;place-items:center;background:#e5e5e1;color:var(--muted)}
.image-fallback .icon {width:32px;height:32px}
.price-tag {position:absolute;left:9px;bottom:9px;display:inline-block;background:var(--paper);color:var(--ink);padding:3px 6px;font-size:.65rem;font-weight:700;line-height:1.2;text-transform:uppercase;pointer-events:none}
.card-meta {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px clamp(7px,1vw,16px);min-height:69px}
.card-meta>div {min-width:0}
.creator-name,.handle {display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.creator-name {font:400 clamp(1rem,1.35vw,1.45rem)/1.17 var(--display);letter-spacing:-.04em}
.handle {font-size:clamp(.69rem,.88vw,.86rem);line-height:1.3;margin-top:3px;color:var(--muted)}
.save,.page-control,.jump,.favoritePager button,.viewer-layout button,.drawer-close {border:1px solid var(--ink);background:var(--paper);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:7px}
.save {flex:none;position:relative;min-width:44px;min-height:44px;padding:0}
.save[aria-pressed=true] {background:var(--ink);color:var(--paper)}
.save .heart-fill,.save[aria-pressed=true] .heart-line {display:none}
.save[aria-pressed=true] .heart-fill {display:inline-block}
.pages,.favoritePager {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:32px}
.pages form {display:flex;align-items:center;gap:8px;font-size:.83rem}
.pages input {width:64px;min-height:44px;border:1px solid var(--ink);text-align:center;background:var(--paper)}
.page-control,.jump,.favoritePager button {min-width:44px;min-height:44px}
.page-control.disabled {opacity:.42}
.empty,.favoriteStatus {padding-block:24px;min-height:100px}
.empty h2,.info h2 {letter-spacing:-.03em}
.empty p,.info p,.subtext {color:var(--muted);line-height:1.6}
.favorites {padding-top:clamp(24px,3vw,52px)}
.foot {border-top:1px solid var(--ink);font-size:.75rem}
.foot>.wrap {display:flex;align-items:center;gap:clamp(10px,2vw,26px);padding-block:12px}
.foot a,.back,.drawer-permalink {display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:600}
.foot>.wrap>span {margin-right:auto}
.foot .icon,.back .icon,.drawer-permalink .icon {width:16px;height:16px}
.profile {padding-block:20px 60px}
.back {font-size:.85rem;margin-bottom:12px}
.profile-head {display:grid;grid-template-columns:clamp(110px,14vw,225px) minmax(0,1fr);gap:clamp(16px,3vw,48px);align-items:start;padding-block:18px 28px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.avatar {display:block;width:100%;height:auto;aspect-ratio:4/4.5;object-fit:cover;object-position:center 24%;background:#e0e0dd}
.profile-content {min-width:0}
.profile-head h1 {grid-area:name;overflow-wrap:anywhere;line-height:1;font-size:clamp(2.25rem,4.65vw,5.5rem)}
.profile-handle {grid-area:handle;font-size:.88rem;overflow-wrap:anywhere;color:var(--muted);margin:3px 0 9px}
.profile-content {display:flex;flex-direction:column}
.profile-content h1 {order:-1}
.tags,.profile-actions {display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.tags {margin-block:2px 8px}
.tags>span {display:inline-block;border:1px solid var(--divider);padding:3px 5px;font-size:.69rem;line-height:1.25}
.bio {margin:3px 0 15px;max-width:70ch;white-space:pre-line;font-size:.92rem;line-height:1.45;overflow-wrap:anywhere}
.profile-actions {margin-top:6px}
.save-text {padding:0 16px;font-weight:700;min-height:46px}
.gallery-section {margin-top:20px}
.gallery-section .listing-title {justify-content:space-between;align-items:baseline;margin-bottom:14px}
.gallery-section h2 {margin:0;font:400 clamp(1.6rem,2.8vw,2.7rem)/1.08 var(--display);letter-spacing:-.04em}
.gallery {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gallery [data-photo] {position:relative;display:block;aspect-ratio:4/4.75;background:#e0e0dd}
.gallery img {width:100%;height:100%}
.gallery-post {margin:0;min-width:0}
.casting-outbound {display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;margin:0 4px 5px;padding:4px 7px;background:var(--ink);color:var(--white);font-size:.8rem;font-weight:720;text-decoration:none}
.casting-outbound .icon {width:15px;height:15px}
.gallery-post .casting-outbound {margin:0}

#profile-drawer {position:fixed;inset:0 0 0 auto;width:min(670px,50vw);max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-left:1px solid var(--ink);background:var(--paper);color:var(--ink);overflow:hidden}
#profile-drawer::backdrop {background:rgb(17 17 17 / .58)}
body:has(#profile-drawer[open]),body:has(#viewer[open]) {overflow:hidden}
.drawer-frame {display:flex;flex-direction:column;height:100%;padding:0 clamp(16px,1.6vw,28px)}
.drawer-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ink);min-height:62px;flex:none}
.drawer-permalink {font:400 1.2rem/1.1 var(--display);letter-spacing:-.04em}
.drawer-close {width:44px;height:44px;background:transparent;border-color:transparent}
.drawer-close .icon {width:28px;height:28px}
.drawer-body {min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 2px 20px;scrollbar-width:thin}
.drawer-body .profile-head {position:relative;grid-template-columns:clamp(76px,9vw,140px) minmax(0,1fr);gap:14px 16px;border-top:0;padding-block:20px}
.drawer-body .profile-content {display:contents}
.drawer-body .profile-head .avatar {grid-column:1;grid-row:1/5}
.drawer-body .profile-head h1,.drawer-body .profile-handle,.drawer-body .bio,.drawer-body .tags {grid-column:2;grid-area:auto / 2 / auto / 3;margin:0}
.drawer-body .profile-head h1 {grid-row:1;align-self:end;font-size:clamp(2.1rem,3.2vw,3.6rem)}
.drawer-body .profile-handle {grid-row:2}
.drawer-body .profile-head .tags:empty {display:none}
.drawer-body .profile-head .bio,.drawer-body .tags {font-size:.84rem}
.drawer-body .profile-actions {grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.drawer-body .profile-actions> :only-child {grid-column:1/-1}
.drawer-body .gallery {grid-template-columns:repeat(2,minmax(0,1fr))}
.drawer-body .gallery-section {margin-top:18px}
.drawer-status {margin-top:18px;line-height:1.5}
.drawer-status a {text-decoration:underline}
#viewer {position:fixed;inset:0;width:fit-content;height:fit-content;max-width:none;max-height:none;margin:auto;border:0;padding:0;overflow:visible;background:transparent}
#viewer::backdrop {background:rgb(8 9 12 /.48)}
.viewer-layout {position:relative}
#fullPhoto {display:block;width:auto;height:auto;max-width:min(92vw,1100px);max-height:82dvh;object-fit:contain}
.viewer-layout button {position:absolute;width:36px;height:36px;border:0;border-radius:50%;background:rgb(0 0 0 /.68);color:#fff}
.viewer-close {top:6px;right:6px}
.viewer-layout [data-action=prev] {left:6px;top:calc(50% - 18px)}
.viewer-layout [data-action=next] {right:6px;top:calc(50% - 18px)}
#photoPos {position:absolute;bottom:6px;left:50%;transform:translateX(-50%);padding:2px 7px;border-radius:10px;background:rgb(0 0 0 /.68);color:#fff;font-size:.75rem}
.info {padding-block:clamp(28px,5vw,84px) 80px}
.info p {max-width:70ch}
.info h2 {margin-block:28px 4px}
.info .primary {margin-top:7px}
@media (max-width:1000px) {
  .index-bar {grid-template-columns:minmax(0,1.25fr) minmax(250px,.9fr)}
  .listing-title h1 {font-size:clamp(2.7rem,6.2vw,4.6rem)}
  .cards {grid-template-columns:repeat(3,minmax(0,1fr))}
  #profile-drawer {width:min(620px,76vw)}
}
@media (max-width:700px) {
  .top-inner {gap:12px;min-height:49px}
  .top nav>a {padding-inline:8px}
  .top nav>a,.channel {font-size:.72rem}
  .channel {padding-left:8px}
  .channel .icon {display:none}
  .index-bar {grid-template-columns:minmax(0,1fr);padding-block:22px 12px;gap:16px}
  .index-bar .search {max-width:none}
  .search input {height:44px}
  .search .action {min-height:44px;min-width:48px}
  .listing-title h1 {font-size:clamp(2.6rem,8.6vw,4rem)}
  .cards,.gallery {grid-template-columns:repeat(2,minmax(0,1fr))}
  .filters {gap:6px;font-size:.76rem}
  .price-opts {gap:4px}
  .filters summary {gap:4px}
  .filters summary>.icon:first-child {display:none}
  .price-opts>a,.filters summary {min-height:46px}
  .filters .category-menu {position:static}
  .category-menu .menu-panel {left:0;right:auto;min-width:0;width:min(325px,100%)}
  .card-meta {padding:6px;min-height:58px;gap:4px}
  .creator-name {font-size:clamp(.9rem,3.1vw,1.12rem)}
  .handle {font-size:.68rem}
  .profile-head {grid-template-columns:86px minmax(0,1fr);gap:14px}
  .profile-head h1 {font-size:clamp(1.65rem,6.5vw,2.7rem)}
  #profile-drawer {width:100%;border:0}
  .drawer-frame {padding-inline:14px}
  .drawer-bar {min-height:54px;padding-top:env(safe-area-inset-top)}
}
@media (max-width:495px) {
  .top-inner {display:grid;grid-template-columns:auto 1fr;gap:0 8px}
  .brand {min-height:41px;font-size:1.08rem}
  .top nav {order:3;grid-column:1/-1;margin-top:-4px}
  .top nav>a {min-height:35px;padding:0 14px}
  .top nav>a:first-child {padding-left:0}
  .top nav>a:first-child::before,.channel::before {display:none}
  .channel {justify-self:end;margin:0;padding:0;min-height:41px}
  .channel .icon:last-child {display:inline-block}
  .filters {display:grid;grid-template-columns:1fr 1fr;gap:0}
  .filters .price-opts {grid-column:1/-1;border-bottom:1px solid var(--divider)}
  .filters summary {max-width:100%}
  .filters .sort-menu {justify-self:end}
  .category-menu .menu-panel {left:0;right:auto;width:min(300px,calc(100vw - 30px))}
  .pages {gap:6px}.pages form {gap:4px}.pages input {width:48px}
  .profile-head {grid-template-columns:68px minmax(0,1fr)}
  .profile-actions {gap:6px}.profile-actions .action,.profile-actions .save-text {padding:0 7px;font-size:.79rem}
  .drawer-body .profile-head {grid-template-columns:78px minmax(0,1fr);gap:8px 12px}
  .drawer-body .profile-actions {margin-top:10px}
  .gallery {gap:4px}
  .foot>.wrap {flex-wrap:wrap;gap:0 14px}
  .foot>.wrap>span {flex-basis:100%}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


.discovery-layout{display:grid;gap:clamp(16px,2vw,36px);grid-template-columns:minmax(0,1fr) minmax(188px,240px);align-items:start}
body[data-format=social] .discovery-layout{grid-template-columns:minmax(0,1fr) minmax(0,600px) minmax(0,1fr)}
body[data-format=social] .discovery-layout>.social-stream, body[data-format=social] .discovery-layout>.empty{grid-column:2}
body[data-format=social] .discovery-layout>.ranking-rail{grid-column:3}
.ranking-rail{min-width:0;position:sticky;top:12px}
.ranking-rail h2{margin:0 0 10px;font-size:1rem}
.ranking-rail h2 a,.ranking-list a,.rank-more{color:inherit;text-decoration:none}
.ranking-list{list-style:none;padding:0;margin:0}
.ranking-list a{display:flex;gap:8px;align-items:center;min-height:42px;border-bottom:1px solid var(--line,var(--divider,#ddd))}
.ranking-list img{width:30px;height:30px;object-fit:cover;flex:0 0 30px;border-radius:50%}
.rank-no{font:600 .75rem var(--mono,monospace);min-width:2ch}
.rank-author{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-more{display:inline-block;padding:10px 0;font-weight:650}
.ranking-page{max-width:720px;margin:22px auto 50px}
.ranking-page h1{margin:0 0 10px}
.ranking-page .ranking-list a{padding-block:5px}
@media(max-width:1100px){
  body[data-format=social] .discovery-layout,.discovery-layout{grid-template-columns:minmax(0,1fr)}
  body[data-format=social] .discovery-layout>.social-stream,body[data-format=social] .discovery-layout>.empty,body[data-format=social] .discovery-layout>.ranking-rail{grid-column:1}
  .discovery-layout>.ranking-rail{position:static;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:14px}
  body[data-format=social] .discovery-layout>.ranking-rail{width:min(100%,600px);margin-inline:auto}
  .ranking-rail h2{margin:0}
  .ranking-rail h2 a,.ranking-rail .rank-more{display:inline-flex;align-items:center;min-height:38px;padding:0}
  .ranking-rail .ranking-list{display:none}
}

.page-picker{min-width:0;max-width:100%}
.page-picker summary{cursor:pointer;min-height:44px;align-content:center;padding:0 .65rem;font-weight:600}
.page-picker[open]{width:min(34rem,100%)}
.page-picker-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:3px;max-height:min(16rem,45vh);overflow-y:auto;overscroll-behavior:contain;padding:4px}
.page-picker-links a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:0;font:inherit;text-decoration:underline;color:inherit}
.page-picker-links a[aria-current]{font-weight:750;text-decoration:none}
