/*
 * THE PINK THEME – realistic wood KALLAX-style record shelf
 * The shelf uses a two-row grid that grows horizontally as records are added.
 */
.fcpt-shelf{
    --fcpt-wood:#9a6338;
    --fcpt-wood-dark:#6b3f22;
    --fcpt-wood-light:#b97e4d;
    --fcpt-cube:220px;
    position:relative;
    display:grid;
    grid-auto-flow:column;
    grid-template-rows:repeat(2,var(--fcpt-cube));
    grid-auto-columns:var(--fcpt-cube);
    gap:0;
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    padding:28px 22px 38px;
    box-sizing:border-box;
    background:
      linear-gradient(90deg,rgba(255,255,255,.10),transparent 18%,rgba(0,0,0,.08) 50%,transparent 82%),
      linear-gradient(180deg,var(--fcpt-wood-light),var(--fcpt-wood) 45%,var(--fcpt-wood-dark));
    border:10px solid var(--fcpt-wood-dark);
    border-radius:3px;
    box-shadow:
      inset 0 2px 0 rgba(255,255,255,.20),
      inset 0 -8px 18px rgba(0,0,0,.25),
      0 10px 20px rgba(0,0,0,.22);
    scrollbar-width:thin;
}

/* Vertical and horizontal KALLAX-style dividers are created by the grid gap/background. */
.fcpt-shelf:before,
.fcpt-shelf:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:14px;
    pointer-events:none;
    z-index:3;
    background:linear-gradient(180deg,#b87a48,#70401f);
    box-shadow:0 2px 5px rgba(0,0,0,.30);
}
.fcpt-shelf:before{top:0}
.fcpt-shelf:after{bottom:0}

.fcpt-shelf .fcpt-item{
    position:relative;
    min-width:0;
    width:var(--fcpt-cube);
    height:var(--fcpt-cube);
    box-sizing:border-box;
    padding:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
      linear-gradient(135deg,rgba(255,255,255,.08),transparent 35%),
      linear-gradient(90deg,rgba(0,0,0,.08),transparent 12%,rgba(255,255,255,.05) 50%,rgba(0,0,0,.08));
    border-right:9px solid var(--fcpt-wood-dark);
    border-bottom:9px solid var(--fcpt-wood-dark);
    box-shadow:inset 0 0 0 2px rgba(255,255,255,.08);
    outline:none;
}

/* Cover only: no title or links visible in the resting state. */
.fcpt-shelf .fcpt-cover-link,
.fcpt-shelf .fcpt-item > img,
.fcpt-shelf .fcpt-no-cover{
    position:relative;
    display:block;
    width:calc(var(--fcpt-cube) - 38px);
    height:calc(var(--fcpt-cube) - 38px);
    max-width:100%;
    max-height:100%;
    object-fit:cover;
    margin:0;
    z-index:1;
}

.fcpt-shelf .fcpt-cover-link img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.fcpt-shelf .fcpt-cover-link,
.fcpt-shelf .fcpt-no-cover{
    box-shadow:0 5px 12px rgba(0,0,0,.38);
    transition:transform .18s ease,box-shadow .18s ease;
}

.fcpt-shelf .fcpt-item:hover .fcpt-cover-link,
.fcpt-shelf .fcpt-item:focus-within .fcpt-cover-link,
.fcpt-shelf .fcpt-item.is-open .fcpt-cover-link{
    transform:scale(1.015);
    box-shadow:0 8px 20px rgba(0,0,0,.48);
}

/* Information appears only on hover/focus/touch. */
.fcpt-shelf .fcpt-info{
    position:absolute;
    left:15px;
    right:15px;
    bottom:15px;
    z-index:5;
    padding:13px 11px 11px;
    box-sizing:border-box;
    background:rgba(15,15,15,.93);
    color:#fff;
    border-radius:2px;
    opacity:0;
    transform:translateY(8px);
    pointer-events:none;
    transition:opacity .18s ease,transform .18s ease;
}

.fcpt-shelf .fcpt-item:hover .fcpt-info,
.fcpt-shelf .fcpt-item:focus-within .fcpt-info,
.fcpt-shelf .fcpt-item.is-open .fcpt-info{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.fcpt-shelf .fcpt-title{
    margin:0 0 9px;
    color:#fff;
    font-size:14px;
    line-height:1.25;
    font-weight:700;
}

.fcpt-shelf .fcpt-links{
    display:flex;
    gap:5px;
    justify-content:center;
    flex-wrap:wrap;
    margin:0;
    font-size:11px;
}

.fcpt-shelf .fcpt-links a{
    display:inline-block;
    padding:4px 6px;
    color:#fff;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
    border-radius:2px;
    text-decoration:none;
    line-height:1;
}

.fcpt-shelf .fcpt-links a:hover{
    background:rgba(255,255,255,.28);
}

.fcpt-shelf .fcpt-no-cover{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    box-sizing:border-box;
    background:#ddd;
    color:#222;
    text-align:center;
}

/* The film section keeps its separate VHS treatment. */
.fcpt-videoteca{
    display:flex;
    gap:22px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:30px 14px 42px;
    background:#222;
    border-radius:3px;
    box-shadow:inset 0 0 0 8px #111;
}
.fcpt-videoteca .fcpt-item{
    flex:0 0 190px;
    position:relative;
    text-align:center;
}
.fcpt-videoteca .fcpt-item img,
.fcpt-videoteca .fcpt-no-cover{
    width:172px;
    height:172px;
    object-fit:cover;
}
.fcpt-videoteca .fcpt-title{color:#fff}
.fcpt-videoteca .fcpt-links{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin-top:7px;font-size:12px}
.fcpt-videoteca .fcpt-links a{color:#ddd;text-decoration:none}
.fcpt-no-cover{display:flex;align-items:center;justify-content:center;padding:15px;box-sizing:border-box;background:#eee}

.fcpt-streaming{width:100%}
.fcpt-stream-row{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:10px 0;border-bottom:1px solid #ddd}
.fcpt-stream-date{font-weight:600}

@media(max-width:700px){
    .fcpt-shelf{
        --fcpt-cube:165px;
        grid-template-rows:repeat(2,var(--fcpt-cube));
        grid-auto-columns:var(--fcpt-cube);
        padding:22px 14px 30px;
    }
    .fcpt-shelf .fcpt-item{padding:12px;border-right-width:7px;border-bottom-width:7px}
    .fcpt-shelf .fcpt-cover-link,
    .fcpt-shelf .fcpt-item > img,
    .fcpt-shelf .fcpt-no-cover{
        width:calc(var(--fcpt-cube) - 30px);
        height:calc(var(--fcpt-cube) - 30px);
    }
    .fcpt-shelf .fcpt-info{left:12px;right:12px;bottom:12px}
    .fcpt-videoteca .fcpt-item{flex-basis:145px}
    .fcpt-videoteca .fcpt-item img,.fcpt-videoteca .fcpt-no-cover{width:127px;height:127px}
    .fcpt-stream-row{grid-template-columns:1fr;gap:3px}
}


/* 0.5.0: max four covers per row, ordered left-to-right. */
.fcpt-shelf,.fcpt-videoteca{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 grid-auto-flow:row!important;grid-auto-rows:auto!important;
 width:100%!important;max-width:1000px;min-width:0!important;box-sizing:border-box;
}
.fcpt-shelf .fcpt-item,.fcpt-videoteca .fcpt-item{
 width:100%!important;min-width:0!important;aspect-ratio:1/1;box-sizing:border-box;
}
.fcpt-shelf .fcpt-item img,.fcpt-videoteca .fcpt-item img{
 width:100%;height:100%;object-fit:cover;
}
.fcpt-videoteca{
 background:linear-gradient(105deg,rgba(255,255,255,.50),transparent 20%,rgba(0,0,0,.13) 52%,rgba(255,255,255,.32) 75%,rgba(0,0,0,.10)),linear-gradient(180deg,#d8dde0,#aeb5b9 50%,#858d92)!important;
 border-color:#777f84!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 -3px 5px rgba(0,0,0,.22),0 5px 12px rgba(0,0,0,.18);
}
.fcpt-videoteca .fcpt-item{border-color:#7b8388!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 2px 5px rgba(0,0,0,.24)}
.fcpt-streaming-monitor{width:100%;max-width:900px;margin:18px auto;display:flex;flex-direction:column;align-items:center}
.fcpt-streaming-screen{width:100%;box-sizing:border-box;padding:14px;border:12px solid #25292c;border-bottom-width:18px;border-radius:14px;background:linear-gradient(145deg,#4b5155,#171a1c 60%,#34393c);box-shadow:inset 0 1px 2px rgba(255,255,255,.22),0 9px 18px rgba(0,0,0,.28)}
.fcpt-streaming-header{display:flex;flex-direction:column;gap:4px;padding:10px 12px 13px;color:#f4f5f5;background:#202426;border-bottom:1px solid #41484b}
.fcpt-streaming-header strong{font-size:17px;font-weight:700}
.fcpt-streaming-header span{color:#aeb6b9;font-size:12px}
.fcpt-streaming-list{max-height:390px;overflow-y:auto;background:#121617;color:#e9eeee;scrollbar-width:thin;scrollbar-color:#697276 #202526}
.fcpt-stream-row{display:grid;grid-template-columns:36px minmax(125px,190px) minmax(0,1fr);gap:12px;align-items:center;min-height:48px;padding:7px 12px;border-bottom:1px solid rgba(255,255,255,.055);box-sizing:border-box;font-size:14px}
.fcpt-stream-row:hover{background:#283033}
.fcpt-stream-index{color:#8d989c;text-align:center;font-variant-numeric:tabular-nums}
.fcpt-stream-date{color:#aeb8bb;font-variant-numeric:tabular-nums}
.fcpt-stream-place{min-width:0;overflow-wrap:anywhere;color:#f2f4f4}
.fcpt-monitor-stand{width:15%;height:34px;background:linear-gradient(90deg,#777e82,#d1d5d7 45%,#8b9296);box-shadow:inset 0 1px 2px rgba(255,255,255,.7),0 4px 5px rgba(0,0,0,.18)}
.fcpt-monitor-foot{width:28%;height:12px;border-radius:4px 4px 10px 10px;background:linear-gradient(180deg,#c4c9cc,#747c80);box-shadow:0 4px 7px rgba(0,0,0,.2)}
@media(max-width:600px){
 .fcpt-shelf,.fcpt-videoteca{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .fcpt-streaming-screen{padding:7px;border-width:7px;border-bottom-width:12px}
 .fcpt-stream-row{grid-template-columns:22px minmax(90px,120px) minmax(0,1fr);gap:7px;padding:7px 6px;font-size:12px}
}


/* 0.5.1: Videoteca - copertine verticali stile VHS/DVD. */
.fcpt-videoteca .fcpt-item {
    aspect-ratio: 2 / 3 !important;
}
.fcpt-videoteca .fcpt-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}
