/* Cinema theme — drawer (legacy sidebar slot, repurposed) */
.cn-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 220ms ease; z-index: 90; }
.cn-drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.cn-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(85vw, 320px); background: var(--cinema-bg-elevated); border-right: 1px solid var(--cinema-border); z-index: 95; transform: translateX(-100%); transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cn-drawer.is-open { transform: translateX(0); }
.cn-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--cinema-border); }
.cn-drawer-title { font-size: 14px; font-weight: 600; color: var(--cinema-text); margin: 0; letter-spacing: 0.04em; text-transform: uppercase; }
.cn-drawer-close { background: none; border: 0; color: var(--cinema-text-muted); width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: all 180ms ease; }
.cn-drawer-close:hover { background: rgba(255,255,255,0.06); color: var(--cinema-text); }

.cn-drawer-section { padding: 18px 20px; border-bottom: 1px solid var(--cinema-border); }
.cn-drawer-section h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cinema-text-muted); margin: 0 0 12px; font-weight: 600; }
.cn-drawer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.cn-drawer-nav li a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--cinema-text); font-size: 14px; transition: background 180ms ease; }
.cn-drawer-nav li a:hover { background: var(--cinema-bg-hover); color: var(--cinema-text); }
.cn-drawer-nav li.active a { background: rgba(255,46,99,0.12); color: var(--cinema-accent); }
.cn-drawer-nav li a i { width: 18px; text-align: center; color: var(--cinema-text-muted); }
.cn-drawer-nav li.active a i { color: var(--cinema-accent); }

.cn-drawer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cn-drawer-grid a { padding: 8px 6px; border-radius: 6px; text-align: center; font-size: 12px; color: var(--cinema-text-muted); background: rgba(255,255,255,0.03); transition: all 180ms ease; }
.cn-drawer-grid a:hover { background: rgba(255,46,99,0.12); color: var(--cinema-accent); }

.cn-drawer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; max-height: 240px; overflow-y: auto; }
.cn-drawer-list li a { display: block; padding: 7px 10px; border-radius: 6px; font-size: 13px; color: var(--cinema-text-muted); transition: all 160ms ease; }
.cn-drawer-list li a:hover { background: var(--cinema-bg-hover); color: var(--cinema-text); }

/* Body scroll lock when drawer open */
body.cn-drawer-open { overflow: hidden; }
