/*
 * 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}
}
