
#sg-player .sp-episodes.d4-rated{
display:grid!important;grid-template-columns:minmax(0,1fr) 300px;
grid-template-rows:auto 1fr;gap:12px 28px;align-items:start}
#sg-player .d4-rated>.sp-episodes-head{
grid-column:1;grid-row:1;margin:0!important;min-width:0;
display:flex!important;flex-wrap:wrap;gap:8px 12px}
#sg-player .d4-rated>.sp-episode-buttons{
grid-column:1;grid-row:2;min-width:0;display:grid!important;
grid-template-columns:repeat(auto-fill,minmax(70px,110px))!important;
gap:10px!important;align-content:start}
#sg-player .d4-rated>.sp-episode-buttons button{width:100%!important;min-width:0!important}
#sg-player .d4-rating{
grid-column:2;grid-row:1/3;align-self:start;width:100%;min-width:0;
box-sizing:border-box;padding:13px 16px;border:1px solid #ffd15c40;
border-radius:16px;color:#eee7f2;
background:radial-gradient(ellipse at top left,#ec237f20,transparent 80%),linear-gradient(130deg,#241c26,#17151e);
box-shadow:0 6px 18px #0003}
#sg-player .d4-rating *{box-sizing:border-box}
#sg-player .d4-top,#sg-player .d4-bottom{
display:flex;align-items:center;justify-content:space-between;gap:8px}
#sg-player .d4-top strong{font-size:14px;line-height:22px}
#sg-player .d4-top span{color:#ffd15c;font-size:12px;white-space:nowrap}
#sg-player .d4-top b{font-size:32px;line-height:36px;font-weight:800}
#sg-player .d4-stars{display:flex;justify-content:space-between;gap:2px;margin:3px 0}
#sg-player .d4-star{
appearance:none!important;border:0!important;background:none!important;box-shadow:none!important;
border-radius:6px!important;padding:6px 2px!important;margin:0!important;
height:38px!important;min-width:0!important;flex:1;
display:flex!important;align-items:center;justify-content:center;cursor:pointer}
#sg-player .d4-star svg{width:25px!important;height:25px!important;display:block;pointer-events:none}
#sg-player .d4-star path{stroke-width:.4}
#sg-player .d4-bottom small{font-size:11px;color:#b6a9c0;white-space:nowrap}
#sg-player .d4-submit{
appearance:none!important;border:0!important;border-radius:9px!important;
padding:0 12px!important;height:32px!important;line-height:32px!important;
background:linear-gradient(110deg,#ffe399,#e8b84c)!important;color:#49320d!important;
font-size:12px!important;font-weight:700!important;font-family:inherit;white-space:nowrap;cursor:pointer}
#sg-player .d4-rating button:focus-visible{outline:2px solid #ffd15c!important;outline-offset:2px}
@media(max-width:767px){
#sg-player .sp-episodes.d4-rated{grid-template-columns:minmax(0,1fr) 174px;gap:10px 12px}
#sg-player .d4-rated>.sp-episodes-head{gap:6px 8px}
#sg-player .d4-rated .sp-episode-note{flex-basis:100%;margin-left:0!important;font-size:11px;line-height:1.6}
#sg-player .d4-rating{padding:10px;border-radius:13px}
#sg-player .d4-top strong{font-size:12px}
#sg-player .d4-top b{font-size:27px;line-height:30px}
#sg-player .d4-top span{font-size:10px}
#sg-player .d4-star{height:34px!important}
#sg-player .d4-star svg{width:22px!important;height:22px!important}
#sg-player .d4-bottom{gap:4px}
#sg-player .d4-bottom small{font-size:10px}
#sg-player .d4-submit{font-size:11px!important;padding:0 7px!important}
}
@media(max-width:359px){
#sg-player .sp-episodes.d4-rated{grid-template-columns:minmax(0,1fr)}
#sg-player .d4-rating{grid-column:1;grid-row:3}
#sg-player .d4-stars{max-width:250px;margin:4px auto}
}
#d4-dialog,#d4-dialog *{box-sizing:border-box}
#d4-dialog{
position:fixed!important;inset:0!important;z-index:2147483647!important;
display:flex!important;align-items:center!important;justify-content:center!important;
padding:24px;background:#000a;backdrop-filter:blur(4px)}
#d4-dialog>div{
width:280px;max-width:100%;padding:24px 20px 20px;border-radius:20px;
background:linear-gradient(135deg,#302234,#19151f);border:1px solid #ffd15c48;
text-align:center;box-shadow:0 20px 70px #0008}
#d4-dialog .d4-check{
display:block;width:44px;height:44px;margin:0 auto 14px;border-radius:50%;
background:#ffd15c1a;color:#ffd15c;font-size:28px;line-height:44px}
#d4-dialog h3{font-size:16px!important;line-height:24px!important;margin:0 0 18px!important;color:#fff!important}
#d4-dialog button{
width:100%;height:38px;border:0;border-radius:10px;
background:linear-gradient(110deg,#ffe399,#e8b84c);color:#49320d;
font:700 14px sans-serif;cursor:pointer}

/* D4_PC_LAYOUT_START */
@media(min-width:768px){
  #sg-player .sp-episodes.d4-rated{
    grid-template-columns:minmax(0,480px) minmax(280px,380px)!important;
    justify-content:start!important;
    column-gap:28px!important;
    row-gap:14px!important;
  }
  #sg-player .d4-rated>.sp-episodes-head{
    justify-content:flex-start!important;
    align-content:start;
  }
  #sg-player .d4-rated .sp-episode-note{
    flex-basis:100%;
    margin-left:0!important;
    margin-top:4px;
    font-size:12px;
    line-height:1.6;
  }
  #sg-player .d4-rating{
    padding:16px 20px;
    border-radius:18px;
  }
  #sg-player .d4-top strong{font-size:15px}
  #sg-player .d4-top b{font-size:36px;line-height:40px}
  #sg-player .d4-stars{margin:6px 0}
  #sg-player .d4-star{height:40px!important}
  #sg-player .d4-star svg{width:27px!important;height:27px!important}
  #sg-player .d4-submit{
    height:36px!important;
    line-height:36px!important;
    padding:0 18px!important;
  }
}
/* D4_PC_LAYOUT_END */

/* D4_PC_CINEMA_START */
@media screen and (min-width:1024px){
  #sg-player .sp-episodes.d4-rated{
    display:grid!important;
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
    grid-template-columns:minmax(0,1fr) clamp(380px,30vw,460px)!important;
    grid-template-rows:auto 1fr!important;
    justify-content:stretch!important;
    align-items:start!important;
    column-gap:clamp(24px,3vw,48px)!important;
    row-gap:16px!important;
  }
  #sg-player .d4-rated>.sp-episodes-head{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0;
    margin:0!important;
    align-self:start!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
  #sg-player .d4-rated .sp-episode-note{
    flex-basis:100%;
    margin-left:0!important;
    margin-top:4px;
    white-space:normal;
    line-height:1.6;
  }
  #sg-player .d4-rated>.sp-episode-buttons{
    grid-column:1!important;
    grid-row:2!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(auto-fill,minmax(70px,110px))!important;
    gap:12px!important;
    align-content:start!important;
  }
  #sg-player .d4-rated>.d4-rating{
    grid-column:2!important;
    grid-row:1 / 3!important;
    justify-self:end!important;
    align-self:start!important;
    position:relative;
    isolation:isolate;
    overflow:hidden;
    width:100%!important;
    max-width:460px!important;
    min-width:0!important;
    margin:0!important;
    padding:20px 24px!important;
    box-sizing:border-box!important;
    border:1px solid rgba(255,211,106,.23)!important;
    border-radius:21px!important;
    color:#F8F8FA;
    background:
      radial-gradient(ellipse at 95% 0%,rgba(255,211,106,.13),transparent 52%),
      radial-gradient(ellipse at 0% 10%,rgba(81,32,57,.62),transparent 70%),
      linear-gradient(125deg,rgba(255,255,255,.025),transparent 48%),
      linear-gradient(135deg,#302036 0%,#201923 48%,#18141D 100%)!important;
    box-shadow:
      inset 0 1px 0 rgba(255,232,163,.14),
      inset 0 -1px 0 rgba(0,0,0,.35),
      0 12px 28px rgba(0,0,0,.28),
      0 3px 7px rgba(0,0,0,.18)!important;
  }
  #sg-player .d4-rating::before{
    content:"";
    position:absolute;
    top:0;
    left:8%;
    right:8%;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,232,163,.55),transparent);
    pointer-events:none;
  }
  #sg-player .d4-rating::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(155deg,rgba(255,255,255,.035),transparent 36%,transparent 80%,rgba(255,211,106,.025));
    pointer-events:none;
    z-index:-1;
  }
  #sg-player .d4-rating .d4-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
  }
  #sg-player .d4-rating .d4-top strong{
    font-size:17px!important;
    line-height:26px!important;
    font-weight:650;
    letter-spacing:.4px;
    color:#F8F8FA;
  }
  #sg-player .d4-rating .d4-top span{
    display:flex;
    align-items:baseline;
    gap:6px;
    font-size:13px!important;
    color:#FFD36A;
  }
  #sg-player .d4-rating .d4-top b{
    font-family:ui-rounded,"Segoe UI",Arial,sans-serif;
    font-size:46px!important;
    line-height:48px!important;
    font-weight:800;
    letter-spacing:-1.3px;
    font-variant-numeric:tabular-nums;
    color:#FFD36A;
    background:linear-gradient(180deg,#FFF0BA 5%,#FFD36A 58%,#E9AC3E 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    filter:drop-shadow(0 2px 3px rgba(255,195,70,.12));
  }
  #sg-player .d4-rating .d4-stars{
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    width:max-content;
    max-width:100%;
    gap:8px!important;
    margin:8px 0 12px!important;
  }
  #sg-player .d4-rating .d4-star{
    flex:0 0 36px!important;
    width:36px!important;
    height:36px!important;
    padding:3px!important;
    transform-origin:center;
    transition:transform .16s ease,filter .16s ease;
  }
  #sg-player .d4-rating .d4-star svg{
    width:29px!important;
    height:29px!important;
  }
  #sg-player .d4-rating .d4-star path{
    stroke-linejoin:round;
    stroke-linecap:round;
    stroke-width:.8;
  }
  #sg-player .d4-rating .d4-star[aria-pressed="true"]{
    filter:drop-shadow(0 2px 4px rgba(255,211,106,.2));
  }
  #sg-player .d4-rating .d4-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px!important;
    padding-top:10px;
    border-top:1px solid rgba(255,232,163,.08);
  }
  #sg-player .d4-rating .d4-bottom small{
    font-size:13px!important;
    line-height:20px;
    color:#A8A3B2;
  }
  #sg-player .d4-rating .d4-submit{
    flex-shrink:0;
    height:38px!important;
    line-height:38px!important;
    padding:0 19px!important;
    border:1px solid rgba(255,232,163,.38)!important;
    border-radius:11px!important;
    background:linear-gradient(180deg,#FFE8A3 0%,#F6D17B 48%,#E9B852 100%)!important;
    color:#49300E!important;
    font-size:13px!important;
    font-weight:750!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.5),
      0 3px 0 #976C28,
      0 6px 12px rgba(0,0,0,.22)!important;
    transition:filter .15s ease,transform .15s ease,box-shadow .15s ease;
  }
  #sg-player .d4-rating .d4-submit:active{
    transform:translateY(2px);
    box-shadow:inset 0 1px 0 #ffffff40,0 1px 0 #976C28!important;
  }
}
@media screen and (min-width:1024px) and (hover:hover) and (pointer:fine){
  #sg-player .d4-rating .d4-star:hover{
    transform:scale(1.10);
  }
  #sg-player .d4-rating .d4-star:hover svg,
  #sg-player .d4-rating .d4-star:has(~ .d4-star:hover) svg{
    filter:brightness(0) saturate(100%) invert(85%) sepia(60%) saturate(600%) hue-rotate(340deg) brightness(104%);
  }
  #sg-player .d4-rating .d4-submit:hover{
    filter:brightness(1.07);
  }
}
@media screen and (min-width:1024px) and (prefers-reduced-motion:reduce){
  #sg-player .d4-rating .d4-star,
  #sg-player .d4-rating .d4-submit{
    transition:none!important;
  }
}
/* D4_PC_CINEMA_END */
