/*
Theme Name: PikaShow Final
Version: 4.4.1
Description: Reference-matched PikaShow homepage, six-column catalogues and portrait movie details.
Requires at least: 6.4
Requires PHP: 8.0
Author: Custom Build
License: GPL-2.0-or-later
Text Domain: pikashow-final
*/
:root{--gold:#ffd24a;--black:#000;--caption:#111}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#000;color:#fff;font:16px/1.4 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:5px}[hidden]{display:none!important}.screen-reader-text,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip{position:fixed;left:10px;top:-100px;z-index:1000;background:#000;color:var(--gold);padding:10px}.skip:focus{top:10px}.site-header{display:none}.home-screen{height:100svh;min-height:500px;overflow:hidden;position:relative;background:#080707}.home-stage{position:absolute;width:max(100vw,185.9844svh);height:max(100svh,53.76794vw);left:50%;top:50%;transform:translate(-50%,-50%);background-image:url(assets/home-art.webp);background-size:100% 100%;background-position:center}.home-stage.custom{background-size:cover;background-position:center}.home-logo{position:absolute;left:37.86%;top:7.9%;width:24.4%;height:auto}.home-shortcuts{position:absolute;left:35.17%;top:58.73%;width:29.91%;display:grid;grid-template-columns:repeat(4,1fr);gap:2.5% 6.6%;row-gap:1.3756vw}.home-shortcuts a,.home-shortcuts button{width:100%;aspect-ratio:1;display:block;background:none;border:0;padding:0;border-radius:50%}.home-shortcuts img{display:block;width:100%;height:100%;object-fit:contain}.home-version{position:absolute;top:85.42%;width:100%;text-align:center;color:#aaa;font-size:clamp(16px,1.5vw,26px)}.home-tabs{position:absolute;left:30.44%;right:30.68%;top:90.55%;display:flex;justify-content:space-between;gap:30px;white-space:nowrap}.home-tabs a{font-size:clamp(16px,1.75vw,30px);color:var(--gold);font-weight:400}.home-stage.artwork .home-logo,.home-stage.artwork .home-shortcuts img,.home-stage.artwork .home-version,.home-stage.artwork .home-tabs a{opacity:0}.home-tabs a:hover{color:#fff}.home-stage.artwork .home-tabs a:hover{opacity:1;background:#000a}.home-stage.artwork .home-shortcuts a:hover,.home-stage.artwork .home-shortcuts button:hover{box-shadow:0 0 0 3px #ffd24a88}.catalog-screen{min-height:100svh;padding:18px 2.05% 38px;background:radial-gradient(ellipse at center,#0b0b0b,#000 80%)}.catalog-screen h1{text-align:center;color:var(--gold);font-size:36px;font-weight:400;margin:0 0 17px;line-height:1.4}.catalog-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:24px;row-gap:22px;align-items:start}.card{position:relative;display:block;overflow:hidden;border-radius:12px;aspect-ratio:var(--ratio,250/351);background:#101111;isolation:isolate}.poster-wrap{position:absolute;inset:0;z-index:-1}.poster-wrap img{width:100%;height:100%;object-fit:cover;display:block}.card.reference .poster-wrap img{mask-image:linear-gradient(to bottom,#000 0%,#000 calc(var(--cutoff,77%) - 3%),transparent var(--cutoff,77%));-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(var(--cutoff,77%) - 3%),transparent var(--cutoff,77%))}.card-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 12px;background:linear-gradient(0deg,#0c0c0c,#101010d9 85%,transparent);min-height:23%}.card-caption strong{font-size:24px;line-height:1.15;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-caption small{display:block;margin-top:4px;font-size:21px;line-height:1.2}.quality-badge{position:absolute;top:9px;right:11px;border-radius:9px;padding:2px 12px;background:#000;color:var(--gold);font-size:25px;line-height:1.2}.rating-badge{font-size:20px;font-weight:700;text-align:center;padding:5px 8px;border-radius:5px;line-height:1.05}.rating-badge b{display:block}.card:hover{box-shadow:0 0 0 2px #ffd24a}.floating-search{position:fixed;bottom:42px;right:2%;width:88px;height:88px;border-radius:50%;background:#030303;border:1.5px solid var(--gold);color:var(--gold);display:grid;place-items:center;z-index:5}.floating-search svg{width:42px;height:42px}.search-panel{position:fixed;right:2%;bottom:145px;z-index:6;background:#171717;border:1px solid #635638;border-radius:10px;padding:12px;box-shadow:0 10px 40px #0009;max-width:calc(100vw - 30px)}.search-panel input{background:#252525;border:1px solid #68604e;color:white;width:min(350px,80vw);padding:12px;border-radius:5px}.filter-bar{display:flex;justify-content:center;gap:10px;margin:0 0 18px;flex-wrap:wrap}.filter-bar button{background:#111;color:var(--gold);border:1px solid #5f522b;border-radius:20px;padding:7px 16px}.filter-bar button.active{background:var(--gold);color:#111}.empty{padding:60px 20px;text-align:center;color:#aaa}.movie-popup{padding:0;border:0;background:transparent;width:min(418px,calc(100vw - 52px));max-height:calc(100dvh - 45px);overflow:visible;color:#111}.movie-popup::backdrop{background:#0000000d;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}body:has(dialog[open]){overflow:hidden}.movie-shell{border-radius:25px;max-height:calc(100dvh - 45px);overflow:auto;background:white;box-shadow:0 15px 70px #0004}.movie-close{position:absolute;right:-45px;top:-4px;z-index:3;border:0;border-radius:50%;background:#141a1cbb;color:#fff;width:36px;height:36px;font-size:31px;line-height:31px;padding:0}.movie-poster{position:relative;aspect-ratio:418/607;background:#133a33}.movie-poster>img{display:block;width:100%;height:100%;object-fit:cover}.movie-poster>.quality{position:absolute;right:15px;top:9px;color:var(--gold);font-size:31px;font-weight:800}.movie-actions{position:absolute;left:15px;top:6px;display:grid;gap:15px}.movie-actions button{height:43px;width:43px;border:0;line-height:1;background:#0aff36;clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);font-size:31px;font-weight:900;color:#000}.movie-actions .favorite{background:#ff6590;color:#fff;clip-path:none;border-radius:50%}.movie-actions.baked button{background:transparent;color:transparent;clip-path:none}.movie-actions .favorite[aria-pressed=true]{box-shadow:0 0 0 3px white;background:#ce17498f}.movie-info{position:relative;background:white;padding:15px 28px 26px}.movie-info:before{content:'';position:absolute;top:-54px;left:0;right:0;height:55px;background:white;clip-path:polygon(0 100%,100% 0,100% 100%)}.movie-info h2{position:relative;font-size:33px;font-weight:400;line-height:1.2;margin:0 0 6px}.movie-info p{font-size:20px;line-height:1.4;color:#8b8b92;margin:0}.movie-info .movie-notice{font-size:13px;color:#555;margin-top:8px}.movie-play{position:absolute;top:-83px;right:14px;height:80px;width:80px;border-radius:50%;display:grid;place-items:center;background:#ffda00;border:6px double #111;box-shadow:0 0 0 3px white;font-size:42px;color:#08ee22;text-shadow:1px 1px #111,-1px -1px #111;padding-left:5px;z-index:2}.utility-popup{width:min(500px,calc(100vw - 40px));background:#101010;color:#fff;border:1px solid #72602a;border-radius:14px;padding:24px}.utility-popup::backdrop{background:#0009}.utility-popup h2{color:var(--gold);font-weight:400;margin:0 30px 18px 0}.utility-close{float:right;background:none;border:0;color:#fff;font-size:28px}.utility-popup a{color:var(--gold)}.utility-popup li{margin-bottom:10px}.watch-page{padding:30px 4.2% 36px;background:#000;min-height:100svh}.back-button{border:0;background:#191919;color:var(--gold);border-radius:5px;padding:8px 12px;margin-bottom:20px}.player{position:relative;aspect-ratio:16/7.78;background:#101010;overflow:hidden}.player video,.player>img,.player iframe{display:block;width:100%;height:100%;object-fit:contain;border:0}.player>img{object-fit:cover;filter:brightness(.7)}.player-controls{position:absolute;inset:0;color:#fff;background:linear-gradient(transparent 70%,#0009)}.center-controls{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:clamp(40px,8vw,135px);align-items:center}.player-controls button{background:none;border:0;color:white;padding:0}.center-controls .main-play{border-radius:50%;width:clamp(70px,8vw,135px);height:clamp(70px,8vw,135px);color:#171713;background:#e5c62cdb;font-size:clamp(35px,4vw,65px);padding-left:6px}.center-controls .seek{font-size:clamp(30px,4vw,60px);position:relative}.seek small{display:block;position:absolute;top:43%;left:0;right:0;text-align:center;font-size:18px;font-weight:700}.player-bar{position:absolute;left:2.5%;right:2.5%;bottom:4.5%;display:flex;align-items:center;gap:24px;font-size:22px}.player-bar button{font-size:28px;flex:none}.player-bar input[type=range]{accent-color:#fff;flex:1;min-width:30px}.player-bar time{white-space:nowrap}.player-bar select{max-width:85px;background:#222b;color:white;border:0;padding:3px}.player-controls button:disabled,.player-controls input:disabled{opacity:.5;cursor:default}.player-status{color:#aaa;font-size:14px;margin:12px 0 0;min-height:20px}.audio-menu{position:absolute;left:0;top:2%;background:#999e;padding:10px;display:grid;gap:8px;z-index:2}.audio-menu button{text-align:left;padding:5px 12px}.audio-menu button.active{color:var(--gold)}.related-heading{font-weight:400;color:var(--gold);font-size:27px;margin:35px 0 20px}.player.playing .center-controls{opacity:0}.player.playing:hover .center-controls,.player.playing:focus-within .center-controls{opacity:1}.below-fold{max-width:1100px;margin:0 auto;padding:35px 24px}.article-content{font-size:17px;line-height:1.8;overflow-wrap:anywhere}.article-content img{max-width:100%;height:auto}.article-content a,.toc a{color:var(--gold)}.toc{background:#171717;border:1px solid #4c432c;border-radius:8px;padding:15px 20px;margin:25px 0}.toc summary{cursor:pointer}.site-footer{padding:22px;text-align:center;color:#777;font-size:13px}.site-footer ul{list-style:none;display:flex;justify-content:center;gap:20px;padding:0}.site-footer nav{margin-bottom:12px}.setting-panel{font-size:13px;color:#999;border:1px solid #252525;padding:15px}.setting-panel label{display:block;margin:15px 0}.setting-panel button{border:1px solid #555;background:#111;color:var(--gold);padding:8px}.back-top{position:fixed;right:20px;bottom:20px;border:1px solid #6d581b;border-radius:50%;background:#000;color:var(--gold);width:40px;height:40px;font-size:24px;z-index:5}.back-top.catalog-active{display:none}.header-menu{position:fixed;top:0;left:0;right:0;z-index:9;background:#000e;display:flex;gap:22px;justify-content:center;padding:10px;color:var(--gold)}
@media(min-width:1750px){.catalog-screen{padding-top:24px}.card-caption strong{font-size:clamp(24px,1.44vw,32px)}.card-caption small{font-size:clamp(21px,1.26vw,26px)}}@media(max-width:1200px){.catalog-grid{column-gap:17px;row-gap:18px}.card-caption{padding:8px 10px 10px}.card-caption strong{font-size:19px}.card-caption small{font-size:16px}.quality-badge{font-size:20px;padding:2px 8px}.rating-badge{font-size:15px}.floating-search{width:65px;height:65px;bottom:25px}.floating-search svg{width:32px;height:32px}}@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.catalog-screen h1{font-size:30px}.player-bar{font-size:15px;gap:14px}.player-bar button{font-size:23px}.movie-popup{width:min(370px,calc(100vw - 52px))}.movie-info h2{font-size:29px}.movie-info p{font-size:18px}}@media(max-width:650px){.home-screen{min-height:560px}.home-stage{width:100%;height:100%;background-size:auto 100%;background-position:left center;transform:none;left:0;top:0}.home-stage:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#000c,transparent 90%);pointer-events:none}.home-logo,.home-stage.artwork .home-logo{opacity:1;left:18%;width:64%;top:10%}.home-shortcuts{left:18%;width:64%;top:54%;gap:18px 14px}.home-stage.artwork .home-shortcuts img{opacity:1}.home-version,.home-stage.artwork .home-version{opacity:1;top:auto;bottom:13%;font-size:17px}.home-tabs{left:4%;right:4%;top:auto;bottom:6%;gap:10px}.home-tabs a,.home-stage.artwork .home-tabs a{opacity:1;font-size:16px}.home-stage.artwork .home-tabs a:hover{background:none}.catalog-screen{padding:18px 12px 30px}.catalog-screen h1{font-size:26px;margin-bottom:18px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 11px}.card{border-radius:7px}.card-caption{padding:7px 8px}.card-caption strong{font-size:14px}.card-caption small{font-size:12px}.quality-badge{font-size:14px;right:5px;top:5px;padding:1px 6px;border-radius:5px}.rating-badge{font-size:11px}.floating-search{height:54px;width:54px;right:16px;bottom:20px}.floating-search svg{width:27px;height:27px}.search-panel{bottom:90px;right:16px}.movie-popup{width:min(350px,calc(100vw - 40px))}.movie-close{right:-11px;top:-15px}.movie-actions{left:12px}.movie-info{padding:13px 22px 22px}.movie-info h2{font-size:27px}.movie-info p{font-size:16px}.movie-play{width:70px;height:70px;font-size:36px;top:-76px}.watch-page{padding:20px 12px}.player{aspect-ratio:16/9}.player-bar{left:3%;right:3%;bottom:6%;gap:8px;font-size:11px}.player-bar button{font-size:19px}.player-bar select{font-size:11px;max-width:50px}.center-controls{gap:30px}.center-controls .main-play{height:65px;width:65px;font-size:30px}.center-controls .seek{font-size:34px}.seek small{font-size:12px}.audio-menu{font-size:12px;padding:4px;gap:3px}.audio-menu button{padding:4px 8px}.related-heading{font-size:23px}.filter-bar button{font-size:12px}.below-fold{padding:25px 16px}}@media(max-width:370px){.home-shortcuts{width:72%;left:14%}.home-tabs a{font-size:14px}.catalog-grid{gap:12px 8px}.card-caption strong{font-size:12px}.card-caption small{font-size:11px}}@media(max-height:800px) and (min-width:651px){.movie-popup{width:340px}.movie-poster{max-height:62dvh}.movie-info h2{font-size:27px}.movie-info p{font-size:16px}.movie-info{padding:14px 24px 22px}.movie-play{width:70px;height:70px;font-size:36px;top:-76px}}@media(max-height:620px){.movie-popup{width:280px}.movie-poster{max-height:57dvh}.movie-info h2{font-size:22px}.movie-info p{font-size:13px}.movie-info{padding:12px 20px 18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.back-top{display:none}.back-top.visible{display:block}.back-top.catalog-active{display:none}.player-status:empty{display:none}.home-stage.custom .home-version{background:transparent!important}
@media(max-width:650px){.home-stage.artwork{background-size:auto 185%;background-position:left top}}
