/* Recipe Playbook — brand tokens + page chrome. The stage itself is always "cream paper". */
:root {
    --sc-cream: #FBF7F0;
    --sc-paper: #FFFDF9;
    --sc-cherry: #D94A56;
    --sc-cherry-soft: #F4C9CC;
    --sc-ink: #2B2B3A;
    --sc-muted: #6E6A63;
    --sc-line: #E6DFD3;
    --sc-bg: #F6F0E5;
    --sc-card: #FFFDF9;
    --sc-chip: #FFFFFF;
}
[data-bs-theme="dark"] {
    --sc-bg: #1D1B19;
    --sc-card: #292623;
    --sc-chip: #2E2B28;
    --sc-ink: #F4EEE4;
    --sc-muted: #B3AC9F;
    --sc-line: #3B3733;
}

body.sc { background: var(--sc-bg); color: var(--sc-ink); }
.f-disp { font-family: 'Luckiest Guy', 'Bungee', Impact, sans-serif; }
.f-hand { font-family: 'Patrick Hand', 'Comic Sans MS', cursive; font-variant-ligatures: none; }

.sc-wrap { max-width: 1240px; margin: 0 auto; padding: 36px 16px 48px; }

/* ---------- sticker title ---------- */
.sc-logo {
    font-family: 'Luckiest Guy', Impact, sans-serif;
    color: var(--sc-cherry);
    -webkit-text-stroke: 2.5px #2B2B3A;
    paint-order: stroke fill;
    text-shadow: 4px 5px 0 #A8323D;
    letter-spacing: .04em;
    line-height: 1;
    margin: 0;
}
.sc-hand { font-family: 'Patrick Hand', cursive; }

/* ---------- gallery ---------- */
.sc-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; margin-bottom: 1.8rem; }
.sc-hero .sc-logo { font-size: clamp(2.8rem, 8vw, 5.2rem); transform: rotate(-2deg); }
.sc-hero p { font-family: 'Patrick Hand', cursive; font-size: 1.35rem; color: var(--sc-muted); margin: .6rem auto 0; }
.sc-hero .sc-tools { justify-content: center; }
.sc-tools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sc-chip {
    font-family: 'Patrick Hand', cursive; font-size: 1.15rem;
    border: 2.5px solid #2B2B3A; border-radius: 999px; padding: .15rem 1rem;
    background: var(--sc-chip); color: var(--sc-ink); cursor: pointer;
    box-shadow: 3px 3px 0 #2B2B3A; transition: transform .12s, box-shadow .12s;
}
.sc-chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #2B2B3A; }
.sc-chip.active { background: var(--sc-cherry); color: #fff; }
.sc-search {
    font-family: 'Patrick Hand', cursive; font-size: 1.15rem; min-width: 0; width: 210px;
    border: 2.5px solid #2B2B3A; border-radius: 999px; padding: .15rem 1rem;
    background: var(--sc-chip); color: var(--sc-ink); box-shadow: 3px 3px 0 #2B2B3A;
}

.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.sc-card {
    display: block; text-decoration: none; color: var(--sc-ink);
    background: var(--sc-card); border: 3px solid #2B2B3A; border-radius: 18px; overflow: hidden;
    box-shadow: 6px 7px 0 var(--acc, var(--sc-cherry));
    transition: transform .15s, box-shadow .15s;
}
.sc-card:hover, .sc-card:focus-visible { transform: translate(-2px, -3px) rotate(-.6deg); box-shadow: 9px 11px 0 var(--acc, var(--sc-cherry)); color: var(--sc-ink); }
.sc-card svg { display: block; width: 100%; aspect-ratio: 1; border-bottom: 3px solid #2B2B3A; }
.sc-card .meta { padding: .7rem 1rem .85rem; }
.sc-card h3 { font-family: 'Luckiest Guy', Impact, sans-serif; font-size: 1.45rem; margin: 0; letter-spacing: .03em; color: var(--acc, var(--sc-cherry)); }
.sc-card .sub { font-family: 'Patrick Hand', cursive; font-size: 1.05rem; color: var(--sc-muted); margin: .1rem 0 .35rem; }
.sc-tag { display: inline-block; font-family: 'Patrick Hand', cursive; font-size: .95rem; border: 1.5px solid var(--sc-line); border-radius: 999px; padding: 0 .55rem; margin: 0 .25rem .25rem 0; color: var(--sc-muted); }
.sc-empty { font-family: 'Patrick Hand', cursive; font-size: 1.4rem; color: var(--sc-muted); text-align: center; padding: 3rem 0; }

/* ---------- player ---------- */
.sc-player { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.6rem; align-items: start; }
@media (max-width: 991px) { .sc-player { grid-template-columns: minmax(0, 1fr); } }
.sc-stage {
    border: 3px solid #2B2B3A; border-radius: 20px; overflow: hidden; background: var(--sc-cream);
    box-shadow: 8px 9px 0 var(--acc, var(--sc-cherry));
}
.sc-stage svg { display: block; width: 100%; aspect-ratio: 1; cursor: pointer; }
@media (min-width: 992px) { .sc-player > div:first-child { max-width: max(520px, calc(100vh - 200px)); } }
.sc-controls { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.sc-btn {
    font-family: 'Patrick Hand', cursive; font-size: 1.15rem; line-height: 1;
    border: 2.5px solid #2B2B3A; border-radius: 12px; padding: .45rem .8rem;
    background: var(--sc-chip); color: var(--sc-ink); box-shadow: 3px 3px 0 #2B2B3A; cursor: pointer;
    text-decoration: none; display: inline-flex; gap: .4rem; align-items: center;
}
.sc-btn:hover { color: var(--sc-ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #2B2B3A; }
.sc-btn.primary { background: var(--acc, var(--sc-cherry)); color: #fff; }
.sc-btn.primary:hover { color: #fff; }
.sc-btn.active { background: #2B2B3A; color: #fff; }
.sc-scrub { flex: 1 1 200px; accent-color: var(--acc, var(--sc-cherry)); }
.sc-time { font-family: 'Patrick Hand', cursive; font-size: 1.1rem; min-width: 5.5ch; text-align: right; color: var(--sc-muted); }

.sc-side { background: var(--sc-card); border: 3px solid #2B2B3A; border-radius: 18px; padding: 1.2rem 1.3rem; box-shadow: 6px 7px 0 #2B2B3A; }
.sc-side h1 { font-size: 2.3rem; }
.sc-side .sub { font-family: 'Patrick Hand', cursive; font-size: 1.2rem; color: var(--sc-muted); margin: .3rem 0 .6rem; }
.sc-side h2 { font-family: 'Luckiest Guy', Impact, sans-serif; font-size: 1.15rem; letter-spacing: .05em; margin: 1rem 0 .4rem; color: var(--acc, var(--sc-cherry)); }
.sc-side ol { font-family: 'Patrick Hand', cursive; font-size: 1.15rem; padding-left: 1.4rem; margin: 0; }
.sc-side ol li { margin-bottom: .35rem; cursor: pointer; border-radius: 6px; padding: 0 .3rem; }
.sc-side ol li:hover { background: rgba(217, 74, 86, .08); }
.sc-side ol li.now { background: rgba(217, 74, 86, .14); }
.sc-side ol li b { font-weight: 400; font-family: 'Luckiest Guy', Impact, sans-serif; letter-spacing: .03em; }
.sc-side .note { color: var(--sc-muted); }
.sc-facts { display: flex; gap: .5rem; flex-wrap: wrap; }
.sc-nav { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1.1rem; }
.sc-back { font-family: 'Patrick Hand', cursive; font-size: 1.15rem; color: var(--sc-muted); text-decoration: none; display: inline-block; margin-bottom: .8rem; }
.sc-back:hover { color: var(--sc-cherry); }
