[hidden]{display:none!important}
*{box-sizing:border-box}
a{color:inherit}
.portal-home .card,.portal-home .actor-card,.portal-works .card,.portal-close,.portal-detail,.portal-mobile-title a{text-decoration:none}
.portal-home .header-actions{grid-column:3;justify-self:end;font-size:14px}
.portal-test-member{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:18px;background:#ffffff14}
.portal-home .hero{min-height:min(72vh,760px)}
.portal-home .hero-media{display:block}
.portal-home .hero-video{display:block;width:100%;height:100%;object-fit:cover}
.portal-home .hero-cast{margin:.6rem 0 0;color:#ddd;font-size:14px}
.portal-home .hero-bottom-actions{pointer-events:auto}
.portal-detail{display:inline-block;background:#fff;color:#141414;font-weight:700;padding:9px 20px;border-radius:5px}
.portal-home .actor-photo{border-radius:12px;overflow:hidden}
.portal-home .actor-photo img,.card-media img,.portal-poster{width:100%;height:100%;object-fit:cover}
.card-media{position:relative;overflow:hidden;background:#111}
.card-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 160ms ease;background:#111}
.card-media.is-previewing .card-preview{opacity:1}
.portal-home .actor-card strong{display:block;margin-top:6px}
.portal-home .actor-viewport{scrollbar-width:thin}
.portal-home .portal-arrows{position:absolute;right:1%;top:-44px;display:flex;gap:6px}
.portal-arrows button,.test-chat-toolbar button,.portal-renew{font:inherit;cursor:pointer;color:#fff;border:1px solid #545454;background:#292929;border-radius:6px;padding:4px 10px}
.portal-empty{padding:0 2%}.portal-home:has(.hero[hidden]) main{padding-top:55px}
.portal-actor,.portal-video{color-scheme:dark;font-family:Arial,"Noto Sans KR",sans-serif}
.actor-list-avatar img{width:100%;height:100%;object-fit:cover}.actor-popup .actor-avatar-placeholder{position:relative}
.portal-actor .actor-popup-header .portal-close,.portal-video .portal-close{position:absolute;top:12px;right:12px;z-index:3;border-radius:50%;width:34px;height:34px;background:rgba(16,16,16,.86);color:white;display:grid;place-items:center;font-size:26px;line-height:1}
.portal-actor .actor-popup-header{position:relative}.portal-actor .profile-photo{width:100%;height:100%;object-fit:cover}
.portal-works{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));gap:14px;padding:0 16px 16px}
.portal-works .card{display:block;min-width:0;color:#eee}
.portal-works .card-media{aspect-ratio:16/9;background:#292929;border-radius:6px;overflow:hidden}
.portal-works h3{font-size:15px;margin:6px 0}.portal-works p{font-size:12px;margin:0;color:#aaa}
.portal-mobile-title{display:none}.portal-renew{position:absolute;right:12px;bottom:68px;z-index:5}.actor-chat-workspace,.portal-video #testChatPanel{position:relative}
.portal-video{margin:0;background:#141414}
.portal-video .portal-detail-layout{position:relative!important;display:grid!important;grid-template-columns:minmax(0,7fr) minmax(310px,3fr);align-items:start;width:100%!important;max-width:1800px!important;inset:auto!important;margin:0 auto!important;transform:none!important;background:#181818!important}
.portal-media{position:relative;background:#080808;aspect-ratio:16/9;overflow:hidden}
.portal-media>video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.portal-video .portal-poster{display:block;object-position:center}
.portal-video h1{font-size:clamp(20px,2.2vw,34px);line-height:1.35;margin:.5em 0}
.portal-video .detail-modal-container{padding:1.5rem 3%}
.portal-video .detail-modal-hero-appear a{color:inherit}
.portal-related>h2{padding:0 16px;font-size:19px}
.portal-video #testChatPanel{position:sticky;top:0;min-width:0;background:#151515;border-left:1px solid #363636;display:flex;flex-direction:column}
.test-chat-toolbar,.portal-mobile-title{align-items:center;justify-content:space-between;padding:6px 12px;min-height:40px;background:#202020;color:#fff}
.test-chat-toolbar{display:flex}.test-chat-toolbar button{font-size:13px}
#testChatFrame{height:calc(100dvh - 40px);min-height:380px;width:100%;border:0}
@media(max-width:900px){
 .portal-home .search{display:flex!important;position:static;transform:none;width:auto;min-width:0}.portal-home .site-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.portal-home .search-wrapper{margin:0}.portal-home .brand img{max-width:20vw}
 .portal-home .portal-arrows{display:none}.portal-mobile-title{display:flex}.portal-mobile-title a{font-size:24px}.portal-mobile-title strong{margin:auto}
 .portal-actor .actor-chat-workspace{width:100%;height:clamp(420px,65dvh,720px);flex:none}
 .portal-actor .actor-page-shell{padding-inline:0}.portal-actor .actor-works-section{display:block}
 .portal-video .portal-detail-layout{display:flex!important;flex-direction:column}.portal-video .test-detail-content{display:contents}
 .portal-video .portal-media,.portal-video .previewModal--info,.portal-video #testChatPanel,.portal-video .portal-related{width:100%}
 .portal-video .portal-media{order:0;max-height:32dvh}.portal-video .previewModal--info{order:1}.portal-video #testChatPanel{order:2;position:relative;border-left:0}.portal-video .portal-related{order:3}
 .portal-video .detail-modal-container{padding:4px 12px}.portal-video h1{font-size:17px}.portal-video #testChatFrame{height:clamp(380px,60dvh,650px);min-height:0}
}
