/* 상영작 찾기 · 시간표 (films.html) — 제4회 인천어린이청소년영화제 */
:root {
  --t1: #E5508A; --t2: #F08A1C; --t3: #16A2B8; --t0: #8E63D9;
  --lv-c: #1F9D6B; --lv-m: #3D63C9; --lv-h: #D9534F; --lv-a: #7A4CC9;
  --cream: #FFF9EE; --ink: #1B2A4A;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fx-wrap { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr); padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.fx-wrap > * { min-width: 0; }

/* 머리 */
.fx-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.3rem; }
.fx-stats span { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.38rem 0.85rem; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--c-border-2); font-size: 0.9rem; font-weight: 700; color: var(--c-text-dim); }
.fx-stats b { color: #fff; }

/* 공통 판 */
.pane { background: linear-gradient(160deg, var(--c-surface) 0%, var(--c-bg-2) 100%); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: clamp(1.1rem, 3.4vw, 2rem); }
.pane-title { font-size: clamp(1.25rem, 3.4vw, 1.55rem); font-weight: 900; margin-bottom: 1rem; letter-spacing: -0.02em; }
.find { border-color: rgba(255,194,51,0.45); box-shadow: 0 0 0 1px rgba(255,194,51,0.12), var(--shadow); }

/* 배지 */
.lv { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.4rem;
  border-radius: 0.45rem; color: #fff; font-weight: 900; font-size: 0.84rem; line-height: 1; letter-spacing: -0.02em; flex: none; }
.lv.c { background: var(--lv-c); } .lv.m { background: var(--lv-m); } .lv.h { background: var(--lv-h); } .lv.a { background: var(--lv-a); }
.tchip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.65rem 0.22rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 800; color: #fff; background: var(--tc); flex: none; white-space: nowrap; }

/* 검색 */
.search-box { position: relative; }
.search-box input { width: 100%; font: inherit; font-size: 1.12rem; color: #fff; background: rgba(7,13,32,0.6);
  border: 1.5px solid var(--c-border-2); border-radius: 999px; padding: 1rem 3.2rem 1rem 1.35rem; outline: none; }
.search-box input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(255,194,51,0.2); }
.search-box .clear { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); background: transparent; border: 0;
  color: var(--c-text-mute); font-size: 1.3rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; cursor: pointer; display: none; }
.search-box.has .clear { display: block; }
.sugg { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem; }
.sugg:empty { display: none; }
.sugg button { font: inherit; font-size: 0.9rem; font-weight: 800; color: var(--c-text); cursor: pointer; padding: 0.4rem 0.8rem;
  border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--c-border-2); display: inline-flex; gap: 0.35rem; align-items: center; }
.sugg button small { color: var(--c-sky); font-weight: 800; }
.sugg button:hover { border-color: var(--c-primary); }
.lv-filter { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; align-items: center; }
.lv-filter .lab { color: var(--c-text-mute); font-size: 0.86rem; font-weight: 700; margin-right: 0.2rem; }
.lv-filter button { font: inherit; font-size: 0.92rem; font-weight: 800; cursor: pointer; color: var(--c-text-dim);
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem 0.35rem 0.4rem; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1.5px solid var(--c-border-2); }
.lv-filter button.all { padding-left: 0.85rem; }
.lv-filter button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.lv-filter button small { font-weight: 700; color: var(--c-text-mute); }
.lv-filter button[aria-pressed="true"] small { color: #5a6684; }

/* 검색 결과: 내 작품 카드 */
.res-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.7rem; margin: 1.4rem 0 0.8rem; }
.res-head b { font-size: 1.15rem; } .res-head span { color: var(--c-text-mute); font-size: 0.92rem; }
.mine-list { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr)); }
.mine { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1rem; padding: 0.85rem; border-radius: var(--radius-s);
  background: rgba(255,255,255,0.035); border: 1px solid var(--c-border); border-left: 4px solid var(--tc); }
.mine .pv { display: block; width: 104px; aspect-ratio: 2 / 2.6; border-radius: 0.6rem; overflow: hidden; border: 0; padding: 0; cursor: pointer;
  background: #0b1430; }
.mine .pv img { width: 100%; height: 100%; object-fit: cover; }
.ph-mini { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 0.55rem; text-align: left; color: #fff;
  font-weight: 900; font-size: 0.8rem; line-height: 1.3; background: linear-gradient(160deg, var(--tc), rgba(16,26,58,0.95) 75%); }
.mine .mi { display: grid; gap: 0.35rem; align-content: start; min-width: 0; }
.mine .chips { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.mine h3 { font-size: 1.12rem; font-weight: 900; line-height: 1.35; }
.mine h3 button { all: unset; cursor: pointer; }
.mine h3 button:hover { text-decoration: underline; text-underline-offset: 3px; }
.mine .sc { color: var(--c-text-dim); font-size: 0.92rem; }
.when { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; margin-top: 0.15rem; }
.when .hl { font-weight: 900; font-size: 1.02rem; color: #fff; }
.when .fl { color: var(--c-text-mute); font-size: 0.86rem; font-weight: 700; }
.when .bk { font-weight: 900; color: var(--c-sky); }
.when .tm { font-weight: 900; color: var(--c-primary); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.mine .gv { color: var(--c-text-mute); font-size: 0.84rem; }
.acts { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.35rem; }
.btn.sm { padding: 0.5rem 1rem; font-size: 0.88rem; }
.empty { color: var(--c-text-mute); text-align: center; padding: 2rem 1rem; }

/* 보기 탭 */
.view-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border); border-radius: 999px; padding: 0.35rem; }
.view-tabs button { font: inherit; font-weight: 900; font-size: 1rem; color: var(--c-text-dim); background: transparent; border: 0;
  border-radius: 999px; padding: 0.75rem 0.5rem; cursor: pointer; display: inline-flex; gap: 0.4rem; justify-content: center; align-items: center; }
.view-tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d)); color: #1a1303; }

/* 테마별 상영관: ①·②·③·I-MAX 네 기둥 */
.pane-sub { color: var(--c-text-mute); font-size: 0.92rem; margin: -0.5rem 0 1.1rem; }
.tcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.tcol { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--tc);
  background: linear-gradient(180deg, var(--ts) 0%, rgba(255,255,255,0.02) 55%), var(--c-surface); box-shadow: 0 18px 40px -24px var(--tc); }
.tch { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.05rem; background: var(--tc); color: #fff; }
.tch .tno { flex: none; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: #fff; color: var(--tc); display: flex;
  align-items: center; justify-content: center; font-weight: 900; font-size: 1.45rem; line-height: 1; }
.tch h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.tch .kw { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.92); margin-top: 0.15rem; }
.tcol .ds { padding: 0.85rem 1.05rem 0; color: var(--c-text-dim); font-size: 0.9rem; line-height: 1.55; }
.tiles { display: grid; gap: 0.55rem; padding: 0.8rem 0.9rem 0.95rem; }
.tile { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 0.7rem;
  row-gap: 0.1rem; align-items: center; padding: 0.7rem 0.75rem 0.7rem 0.9rem; border-radius: 0.9rem; background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12); transition: background .2s, border-color .2s, transform .2s; }
.tile .tn { grid-row: 1 / 3; font-size: 1.55rem; font-weight: 900; color: #fff; letter-spacing: -0.03em; min-width: 3.3rem; }
.tile .tl { display: flex; align-items: center; gap: 0.35rem; font-size: 0.86rem; font-weight: 800; color: var(--c-text); }
.tile .tm { font-size: 0.8rem; font-weight: 700; color: var(--c-text-mute); }
.tile .ta { grid-column: 3; grid-row: 1 / 3; font-size: 1.6rem; font-weight: 900; color: var(--tc); line-height: 1; }
.tile:hover, .tile:focus-visible { background: var(--tc); border-color: var(--tc); transform: translateX(3px); }
.tile:hover .tm, .tile:focus-visible .tm, .tile:hover .ta, .tile:focus-visible .ta { color: #fff; }
.tile.dim { opacity: 0.35; }
.tsum { margin-top: auto; padding: 0.7rem 1.05rem; border-top: 1px dashed rgba(255,255,255,0.14); color: var(--c-text-mute); font-size: 0.84rem; font-weight: 700; }
.iflow { list-style: none; margin: 0 0.9rem 1rem; padding: 0.6rem 0.7rem; display: grid; gap: 0.3rem; border-radius: 0.8rem; background: rgba(0,0,0,0.18); }
.iflow li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; font-weight: 700; color: var(--c-text-dim); }
.iflow li i { font-style: normal; font-weight: 900; color: var(--c-primary); font-variant-numeric: tabular-nums; min-width: 2.9rem; }
.iflow li.ev { color: #fff; } .iflow li.ev i { color: #E6D8FF; }
.iflow .dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; }
@media (max-width: 1100px) { .tcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tcols { grid-template-columns: minmax(0, 1fr); } }

/* 시간표 */
.tt-tools { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.tt-tools button { font: inherit; cursor: pointer; text-align: left; line-height: 1.2; padding: 0.5rem 0.9rem; border-radius: 0.9rem;
  color: var(--c-text-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--c-border-2); font-weight: 900; }
.tt-tools button small { display: block; font-weight: 700; font-size: 0.78rem; color: var(--c-text-mute); }
.tt-tools button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.tt-tools button[aria-pressed="true"] small { color: #5a6684; }
.tt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-border); border-radius: var(--radius-s); }
table.tt { border-collapse: separate; border-spacing: 0; min-width: 1080px; width: 100%; }
table.tt th, table.tt td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--c-border); vertical-align: top; font-size: 0.86rem; text-align: left; }
table.tt thead th { background: #17223f; color: var(--c-primary); font-weight: 900; position: sticky; top: 0; z-index: 2; white-space: nowrap; }
table.tt thead th small { display: block; color: #fff; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
table.tt .hcol { position: sticky; left: 0; z-index: 1; background: #121b37; width: 112px; min-width: 112px; border-right: 1px solid var(--c-border-2); }
table.tt thead .hcol { z-index: 3; }
table.tt tr.grp th { background: #1b2443; background: color-mix(in srgb, var(--tc) 22%, #121b37); color: #fff; font-size: 0.95rem; padding: 0.55rem 0.8rem;
  border-left: 5px solid var(--tc); }
table.tt tr.grp th small { color: var(--c-text-dim); font-weight: 700; margin-left: 0.5rem; }
table.tt tr.grp th span { position: sticky; left: 0.8rem; }
.hname { all: unset; cursor: pointer; font-weight: 900; font-size: 1.02rem; color: #fff; display: inline-flex; align-items: center; gap: 0.35rem; }
.hname:hover { color: var(--c-primary); }
.hsub { display: block; color: var(--c-text-mute); font-size: 0.76rem; font-weight: 700; margin-top: 0.2rem; }
.ttl { list-style: none; display: grid; gap: 0.18rem; }
.ttf { all: unset; cursor: pointer; display: block; line-height: 1.35; padding: 0.12rem 0.3rem; border-radius: 0.35rem; color: var(--c-text); }
.ttf:hover, .ttf:focus-visible { background: rgba(255,255,255,0.08); }
.ttf i { font-style: normal; font-weight: 800; color: var(--tc); font-variant-numeric: tabular-nums; margin-right: 0.3rem; }
.ttf small { color: var(--c-text-mute); margin-left: 0.25rem; }
.ttf.off { opacity: 0.28; }
.bend { color: var(--c-text-mute); font-size: 0.76rem; margin-top: 0.25rem; padding-left: 0.3rem; }
.evc { background: rgba(122,76,201,0.22); border: 1px solid rgba(160,120,230,0.5); border-radius: 0.5rem; padding: 0.45rem 0.55rem; }
.evc b { color: #E6D8FF; display: block; } .evc span { color: var(--c-text-dim); font-size: 0.78rem; }
td.na { color: var(--c-text-mute); text-align: center !important; }
.tt-cap { color: var(--c-text-mute); font-size: 0.86rem; margin-top: 0.7rem; }
.slot-grid { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.slot { background: rgba(255,255,255,0.035); border: 1px solid var(--c-border); border-top: 4px solid var(--tc); border-radius: var(--radius-s); padding: 0.85rem 0.9rem; }
.slot .sh { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; margin-bottom: 0.5rem; }
.slot .sh .rng { color: var(--c-text-mute); font-size: 0.82rem; margin-left: auto; font-variant-numeric: tabular-nums; }
.slot .go { margin-top: 0.6rem; }

/* 상영관별 */
.hall-chips { display: grid; gap: 0.7rem; margin-bottom: 1.2rem; }
.hall-chips .grp { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.hall-chips .gname { font-size: 0.88rem; font-weight: 900; color: var(--tc); min-width: 6.8rem; }
.hchip { display: inline-flex; align-items: center; gap: 0.35rem; font: inherit; font-weight: 800; cursor: pointer;
  padding: 0.42rem 0.75rem 0.42rem 0.45rem; border-radius: 999px; color: #fff; background: rgba(255,255,255,0.04); border: 1.5px solid var(--tc); }
.hchip[aria-pressed="true"] { background: var(--tc); }
.hchip.dim { opacity: 0.4; }
#hallHead { scroll-margin-top: calc(var(--header-h) + 12px); }
.hall-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; padding-top: 1.1rem; border-top: 1px solid var(--c-border); }
.hall-head h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); font-weight: 900; letter-spacing: -0.02em; }
.hall-head .meta { color: var(--c-text-dim); font-size: 0.95rem; }
.blk-sec { margin-top: 1.4rem; }
.blk-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin-bottom: 0.75rem; padding-bottom: 0.55rem; border-bottom: 1px dashed var(--c-border-2); }
.blk-title .bno { font-size: 1.2rem; font-weight: 900; }
.blk-title .rng { color: var(--c-primary); font-weight: 900; font-variant-numeric: tabular-nums; }
.blk-title .cnt { color: var(--c-text-mute); font-size: 0.9rem; }
.blk-title .btn { margin-left: auto; }
.film-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.9rem; }
.film { display: flex; flex-direction: column; text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--radius-s); overflow: hidden; padding: 0; transition: transform .25s var(--ease), border-color .25s; }
.film:hover, .film:focus-visible { transform: translateY(-3px); border-color: var(--tc); outline: none; }
.film .pv { position: relative; aspect-ratio: 2 / 2.6; background: #0b1430; overflow: hidden; }
.film .pv img { width: 100%; height: 100%; object-fit: cover; }
.film .pv .ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem;
  background: linear-gradient(165deg, var(--tc) -30%, #101a3a 70%); }
.film .pv .ph b { font-size: 1.2rem; font-weight: 900; line-height: 1.3; }
.film .pv .ph small { color: var(--c-text-dim); margin-top: 0.4rem; font-size: 0.78rem; }
.film .time { position: absolute; left: 0.55rem; top: 0.55rem; background: rgba(7,13,32,0.88); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem; padding: 0.2rem 0.55rem; font-weight: 900; font-size: 0.95rem; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.film .ord { position: absolute; right: 0.55rem; top: 0.55rem; background: var(--tc); color: #fff; border-radius: 999px; padding: 0.15rem 0.55rem;
  font-weight: 900; font-size: 0.78rem; }
.film .body { padding: 0.75rem 0.85rem 0.9rem; display: grid; gap: 0.32rem; border-top: 3px solid var(--tc); }
.film .body h3 { font-size: 1.02rem; font-weight: 900; line-height: 1.35; }
.film .sc { display: flex; align-items: center; gap: 0.4rem; color: var(--c-text-dim); font-size: 0.88rem; }
.film .rt { color: var(--c-text-mute); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.rg { color: var(--c-sky); font-size: 0.76rem; font-weight: 700; }
.evx { grid-column: 1 / -1; border-radius: var(--radius-s); padding: 1.2rem 1.3rem;
  background: linear-gradient(135deg, rgba(122,76,201,0.25), rgba(255,255,255,0.03)); border: 1px solid var(--c-border-2); }
.evx b { font-size: 1.12rem; display: block; } .evx p { color: var(--c-text-dim); margin-top: 0.3rem; }
.hint { color: var(--c-text-mute); font-size: 0.88rem; margin-top: 0.6rem; }

/* 관람 신청 띠 */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255,194,51,0.16), rgba(76,184,232,0.10)); border: 1px solid rgba(255,194,51,0.4); }
.cta-ico { font-size: 1.8rem; } .cta-tx { flex: 1; min-width: 230px; color: var(--c-text-dim); }
.cta-tx b { color: #fff; } .cta-go { font-weight: 900; color: var(--c-primary); }

/* 상세 */
dialog.fd { margin: auto; max-height: 92vh; overflow: auto; border: 0; padding: 0; max-width: min(900px, 94vw); width: 100%;
  border-radius: var(--radius); background: var(--c-surface); color: #fff; box-shadow: var(--shadow); }
dialog.fd::backdrop { background: rgba(3,6,16,0.8); backdrop-filter: blur(3px); }
.fd-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.fd-pv { background: #0b1430; min-height: 280px; }
.fd-pv img { width: 100%; height: 100%; object-fit: contain; max-height: 86vh; }
.fd-pv .ph { height: 100%; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem;
  background: linear-gradient(165deg, var(--tc) -30%, #101a3a 70%); }
.fd-pv .ph b { font-size: 1.6rem; font-weight: 900; line-height: 1.3; }
.fd-pv .ph small { color: var(--c-text-dim); margin-top: 0.5rem; }
.fd-tx { padding: 1.5rem 1.5rem 1.4rem; display: grid; gap: 0.85rem; align-content: start; }
.fd-tx h2 { font-size: clamp(1.4rem, 4vw, 1.85rem); font-weight: 900; line-height: 1.3; letter-spacing: -0.02em; padding-right: 2.4rem; }
.fd-tx .chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.fd-when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.fd-when div { background: rgba(255,255,255,0.05); border: 1px solid var(--c-border); border-radius: 0.7rem; padding: 0.55rem 0.65rem; }
.fd-when small { display: block; color: var(--c-text-mute); font-size: 0.76rem; font-weight: 700; }
.fd-when b { font-size: 1.05rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.fd-when .big b { color: var(--c-primary); }
.fd-tx dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; font-size: 0.95rem; }
.fd-tx dt { color: var(--c-text-mute); } .fd-tx dd { color: #fff; font-weight: 700; }
.fd-tx .intro { color: var(--c-text-dim); line-height: 1.85; padding: 0.95rem 1.05rem; border-radius: var(--radius-s);
  background: rgba(255,255,255,0.04); border-left: 3px solid var(--tc); white-space: pre-line; }
.fd-tx .intro.none { color: var(--c-text-mute); }
.fd-seq h4 { font-size: 0.9rem; color: var(--c-text-mute); font-weight: 800; margin-bottom: 0.4rem; }
.fd-seq ol { list-style: none; display: grid; gap: 0.2rem; }
.fd-seq button { all: unset; cursor: pointer; display: flex; gap: 0.55rem; width: 100%; box-sizing: border-box; padding: 0.35rem 0.55rem;
  border-radius: 0.5rem; font-size: 0.92rem; color: var(--c-text-dim); }
.fd-seq button:hover { background: rgba(255,255,255,0.06); }
.fd-seq button i { font-style: normal; font-weight: 900; color: var(--c-primary); font-variant-numeric: tabular-nums; flex: none; }
.fd-seq button.cur { background: rgba(255,194,51,0.14); color: #fff; font-weight: 800; }
.fd-seq .gvl { font-size: 0.82rem; color: var(--c-text-mute); padding: 0.1rem 0.55rem 0.2rem 3.6rem; }
.fd-x:focus { outline: none; } .fd-x:focus-visible { outline: 2px solid var(--c-sky); outline-offset: 2px; }
.fd-x { user-select: none; position: absolute; right: 0.7rem; top: 0.7rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(7,13,32,0.82);
  color: #fff; border: 1px solid var(--c-border-2); font-size: 1.2rem; cursor: pointer; z-index: 2; }
.fd-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fd-acts .btn { flex: 1 1 auto; }
#fxToast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: rgba(20,28,54,0.96); color: #fff;
  border: 1px solid var(--c-border-2); padding: 0.7rem 1.3rem; border-radius: 999px; font-size: 0.92rem; font-weight: 700; opacity: 0;
  pointer-events: none; transition: opacity .3s, transform .3s; z-index: 300; }
#fxToast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 760px) {
  .view-tabs button { font-size: 0.9rem; padding: 0.65rem 0.3rem; flex-direction: column; gap: 0.1rem; }
  .mine { grid-template-columns: 84px minmax(0, 1fr); gap: 0.8rem; }
  .mine .pv { width: 84px; }
  .film-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .film .body { padding: 0.6rem 0.65rem 0.75rem; }
  .film .body h3 { font-size: 0.96rem; }
  .fd-in { grid-template-columns: 1fr; }
  .fd-pv img { max-height: 46vh; }
  .fd-pv { order: 2; min-height: 0; }
  .fd-pv .ph { min-height: 160px; }
  .fd-when { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hall-chips .gname { min-width: 100%; }
  .blk-title .btn { margin-left: 0; }
}

/* 초청작(10.28.) — 금색 ★ 표시 */
.inv-tag { display: inline-flex; align-items: center; gap: .2em; padding: .14em .62em; border-radius: 999px; background: #C9971C; color: #fff; font-weight: 800; font-size: .78rem; white-space: nowrap; box-shadow: 0 1px 0 rgba(0,0,0,.08); vertical-align: middle; }
.award { margin: .35rem 0 0; color: #B8860B; font-weight: 700; font-size: .86rem; line-height: 1.4; }
.award-dd { color: #B8860B; font-weight: 700; }
.ttf.inv { background: rgba(201,151,28,.16) !important; box-shadow: inset 3px 0 0 #C9971C; }
td.inv > .inv-tag, .slot.inv .inv-tag, .blk-title .inv-tag { margin: 0 .4rem .35rem 0; }
td.inv { background: rgba(201,151,28,.07); }
.slot.inv { box-shadow: 0 0 0 2px #C9971C; }
.film.inv { box-shadow: 0 0 0 2.5px #C9971C, 0 6px 18px rgba(201,151,28,.25); }
.film .inv-rib { position: absolute; left: .5rem; top: .5rem; z-index: 2; background: #C9971C; color: #fff; font-weight: 800; font-size: .75rem; padding: .15em .6em; border-radius: 999px; }
.mine.inv { box-shadow: 0 0 0 2.5px #C9971C; }
.ph.inv { background: linear-gradient(150deg, #FFF3C4, #E9C46A); color: #5C430A; }
.ph.inv small { color: #7A5A0E; font-weight: 800; }
.blk-sec.inv { border-radius: 16px; background: rgba(201,151,28,.08); padding: .5rem .7rem; box-shadow: 0 0 0 1.5px rgba(201,151,28,.55); }
.tile .inv-tag { position: absolute; right: .6rem; top: .55rem; font-size: .7rem; }
.tile { position: relative; }
