/* v4.97.0 — closed theatres and old visits */

/* log sheet: "Don't remember the day?" */
.htd-np-w { margin: -6px 0 14px; }
.htd-np-t { padding: 2px 0; border: 0; background: none; color: var(--v-muted, #a1a1aa); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--v-line-strong, #3f3f46); text-underline-offset: 3px; cursor: pointer; }
.htd-np-t[hidden], .htd-np[hidden], .htd-np-in[hidden], .htd-np select[hidden], .htd-nt[hidden], .htd-days[hidden] { display: none !important; }
.htd-np-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; margin-bottom: 8px; border-radius: 12px; background: var(--v-raised, #1c1c1f); border: 1px solid var(--v-line, #27272a); }
.htd-np-seg button { min-height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--v-muted, #a1a1aa); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.htd-np-seg button[aria-pressed="true"] { background: var(--v-surface, #141416); color: var(--v-text, #f4f4f5); box-shadow: 0 0 0 1px var(--v-line-strong, #2e2e32); }
.htd-np-in { display: flex; gap: 8px; }
.htd-np-in select { flex: 1; min-width: 0; min-height: 46px; }
.htd-np-h { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--v-muted, #a1a1aa); }

/* log sheet: add a closed theatre */
.htd-nt .htd-l small { display: block; margin-top: 2px; font-weight: 600; color: var(--v-muted, #a1a1aa); }
.htd-nt input { width: 100%; min-height: 46px; box-sizing: border-box; }
.htd-nt-r { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }

/* diary: a visit with only a month or a year */
.cm-dy-d.is-np b { font-size: 15px; letter-spacing: -.01em; }

/* closed theatre page: memory wall */
.ctw { margin-top: 8px; }
.ctw-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ctw-h h2 { margin: 0 !important; font-size: 20px; font-weight: 850; letter-spacing: -.01em; color: var(--v-text, #f4f4f5); }
.ctw-h p { margin: 3px 0 0 !important; font-size: 13px; color: var(--v-muted, #a1a1aa); }
.ctw-y { flex: none; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--v-line-strong, #3f3f46); color: var(--v-text-2, #d4d4d8); font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctw-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ctw-wall li { min-width: 0; }
.ctw-p { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, hsl(var(--h) 45% 32%), hsl(var(--h) 45% 12%)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); filter: saturate(.82) sepia(.12); transition: filter .2s ease; text-decoration: none; }
.ctw-p:hover { filter: none; }
.ctw-p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctw-p b { position: absolute; inset: auto 8px 26px; font-size: 12px; font-weight: 850; line-height: 1.15; color: #fff; }
.ctw-p em { position: absolute; left: 6px; top: 6px; padding: 1px 6px; border-radius: 5px; background: rgba(0, 0, 0, .72); color: #ffd58a; font-style: normal; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ctw-wall small { display: block; margin-top: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--v-text-2, #d4d4d8); }
.ctw-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ctw-avs { display: flex; }
.ctw-avs a { display: block; margin-left: -7px; border-radius: 50%; box-shadow: 0 0 0 2px var(--v-night, #0b0b0c); }
.ctw-avs a:first-child { margin-left: 0; }
.ctw-avs .rp-ava { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: hsl(var(--h, 30) 45% 38%); color: #fff; font-size: 12px; font-weight: 800; }
.ctw-avs .rp-ava img { width: 100%; height: 100%; object-fit: cover; }
.ctw-b { margin-left: auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--v-line-strong, #3f3f46); background: transparent; color: var(--v-text, #f4f4f5); font: 800 14px/1 var(--v-sans, inherit); cursor: pointer; }
@media (min-width: 760px) { .ctw-wall { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } }
[data-theme="light"] .ctw-p em { background: rgba(0, 0, 0, .7); }

/* v4.97.1 · log sheet poster strip: every tile the same width, titles on two lines at most */
.htd-now button { flex: 0 0 78px !important; width: 78px; min-width: 0 !important; }
.htd-now img { width: 78px !important; height: 116px !important; }
.htd-now span { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal !important; overflow: hidden; text-overflow: clip; min-height: 2.5em; line-height: 1.25; overflow-wrap: anywhere; }
