:root {
  --t112-red: #d10b1e;
  --t112-ink: #111111;
  --t112-text: #272727;
  --t112-muted: #747474;
  --t112-paper: #f3f1ef;
  --t112-panel: #ffffff;
  --t112-line: #d9d5d1;
}

html,
body { background: var(--t112-paper) !important; color: var(--t112-text) !important; }
a { color: inherit; }
.t112-shell { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.t112-main { min-height: 70vh; overflow: hidden; }

.t112-header { position: sticky; top: 0; z-index: 50; border-bottom: 5px solid var(--t112-red); background: var(--t112-ink); }
.t112-header-inner { display: grid; grid-template-columns: 64px minmax(0,1fr) minmax(220px,300px) 42px; gap: 14px; align-items: center; min-height: 70px; }
.t112-brand,
.t112-brand img { display: block; width: 54px; height: 54px; }
.t112-nav { display: flex; align-items: center; gap: 3px; min-width: 0; overflow: hidden; }
.t112-nav a { display: flex; gap: 5px; align-items: center; padding: 10px 11px; color: #efefef; font-size: 14px; font-weight: 800; white-space: nowrap; }
.t112-nav a:hover,
.t112-nav a.active { color: #fff; background: var(--t112-red); }
.t112-search { display: grid; grid-template-columns: 1fr 42px; height: 40px; border: 2px solid var(--t112-red); background: #fff; }
.t112-search input { min-width: 0; padding: 0 10px; border: 0; color: var(--t112-text); background: transparent; }
.t112-search button { border: 0; color: #fff; background: var(--t112-red); cursor: pointer; }
.t112-menu { display: none; width: 42px; height: 42px; color: #fff; place-items: center; background: var(--t112-red); }

.t112-marquee { border-bottom: 1px solid #2c2c2c; background: #1c1c1c; }
.t112-marquee .t112-shell { display: flex; gap: 16px; align-items: center; height: 42px; overflow-x: auto; }
.t112-marquee b { padding: 5px 8px; color: #fff; background: var(--t112-red); font-size: 11px; white-space: nowrap; }
.t112-marquee a { color: #efefef; font-size: 13px; font-weight: 800; white-space: nowrap; }
.t112-marquee a:hover { color: var(--t112-red); }

.t112-hero { padding: 22px 0; background: var(--t112-ink); }
.t112-hero-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; }
.t112-hero-stage { position: relative; min-width: 0; overflow: hidden; border: 5px solid #fff; background: #000; }
.t112-hero-slider,
.t112-hero-slider .swiper-wrapper,
.t112-hero-slider .swiper-slide { height: 478px !important; }
.t112-hero-slider .swiper-slide { position: relative; display: block; padding: 0 !important; background-position: center; background-size: cover; }
.t112-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.96), rgba(17,17,17,.48) 58%, rgba(17,17,17,.08)); }
.t112-slide-copy { position: absolute; left: 32px; bottom: 34px; z-index: 4; display: grid; gap: 12px; max-width: 62%; color: #fff; }
.t112-slide-copy em,
.t112-section-head span,
.t112-showtimes-head span,
.t112-ticket-title span { color: var(--t112-red); font-size: 11px; font-style: normal; font-weight: 950; }
.t112-slide-copy strong { font-size: 46px; line-height: 1.04; }
.t112-slide-copy small { display: flex; gap: 8px; color: #e0e0e0; }
.t112-slide-copy small i { width: 5px; height: 5px; margin-top: 7px; background: var(--t112-red); }
.t112-slide-copy b { width: max-content; padding: 11px 15px; color: #fff; background: var(--t112-red); font-size: 14px; box-shadow: 5px 5px 0 #fff; }
.t112-hero-dots { position: absolute; right: 18px; bottom: 16px; z-index: 5; }
.t112-hero-dots .swiper-pagination-bullet { background: #fff !important; }
.t112-hero-dots .swiper-pagination-bullet-active { background: var(--t112-red) !important; }
.t112-showtimes { padding: 18px; border-top: 7px solid var(--t112-red); color: #fff; background: #202020; }
.t112-showtimes-head h2 { margin: 5px 0 16px; font-size: 25px; }
.t112-showtimes > a { display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 3px 8px; padding: 9px 0; border-top: 1px solid #404040; }
.t112-showtimes b { grid-row: 1 / 3; color: var(--t112-red); font-size: 17px; }
.t112-showtimes strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.t112-showtimes em { color: #aaa; font-size: 11px; font-style: normal; }

.t112-ticket-board { padding: 18px 0; border-bottom: 5px solid var(--t112-red); background: #fff; }
.t112-ticket-board .t112-shell { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 18px; align-items: center; }
.t112-ticket-title h2 { margin: 4px 0 0; color: var(--t112-ink); font-size: 24px; }
.t112-rank-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
.t112-rank-item { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 3px 7px; min-width: 0; padding: 9px; border-left: 4px solid var(--t112-red); background: #f1efed; }
.t112-rank-item b { grid-row: 1 / 3; color: var(--t112-red); font-size: 18px; }
.t112-rank-item strong { overflow: hidden; color: var(--t112-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.t112-rank-item em { color: var(--t112-muted); font-size: 11px; font-style: normal; }

.t112-section { padding-block: 38px; }
.t112-section-head { display: flex; gap: 15px; align-items: end; justify-content: space-between; margin-bottom: 17px; border-bottom: 3px solid var(--t112-ink); padding-bottom: 10px; }
.t112-section-head h2 { margin: 4px 0 0; color: var(--t112-ink); font-size: 28px; line-height: 1.05; }
.t112-section-head > a,
.t112-type-links a { color: var(--t112-red); font-size: 13px; font-weight: 900; }
.t112-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 22px 14px; }
.t112-card { min-width: 0; }
.t112-card-poster { position: relative; display: block; aspect-ratio: 2/3; overflow: hidden; border: 3px solid #fff; background: #d8d6d4; box-shadow: 5px 5px 0 rgba(17,17,17,.28); }
.t112-card-poster:before { position: absolute !important; top: 8px !important; left: 0 !important; z-index: 3; display: block !important; width: 24px; height: 8px; content: "" !important; background: var(--t112-red); }
.t112-card-poster:after,
.t112-card-img:before,
.t112-card-img:after,
.t112-card-play { display: none !important; content: none !important; }
.t112-card-img { position: absolute; inset: 0; display: block; background-position: center; background-size: cover; transition: transform .25s ease; }
.t112-card:hover .t112-card-img { transform: scale(1.05); }
.t112-card-badge { position: absolute !important; top: auto !important; right: 0 !important; bottom: 0 !important; left: auto !important; z-index: 4; max-width: calc(100% - 8px); padding: 5px 7px !important; border-radius: 0 !important; color: #fff !important; background: var(--t112-red) !important; font-size: 11px !important; font-weight: 900; }
.t112-card-copy { padding: 12px 2px 0; }
.t112-card h3 { margin: 0; overflow: hidden; color: var(--t112-ink); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.t112-card p { margin: 5px 0 0; color: var(--t112-muted); font-size: 12px; }
.t112-card p span:before { margin: 0 5px; content: "/"; color: var(--t112-red); }
.t112-channel-band:nth-of-type(even) { background: #e7e4e1; }
.t112-channel { border-top: 0 !important; }
.t112-type-links { display: flex; flex-wrap: wrap; gap: 11px; }
.t112-type-links .more { padding: 4px 8px; color: #fff; background: var(--t112-red); }

.t112-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; background: var(--t112-red); }
.t112-news-card { display: grid; gap: 8px; min-height: 145px; padding: 18px; background: #fff; }
.t112-news-card b { color: var(--t112-red); font-size: 11px; }
.t112-news-card strong { color: var(--t112-ink); }
.t112-news-card p { margin: 0; color: var(--t112-muted); font-size: 13px; }

.t112-page-title { padding: 32px 0 24px; border-bottom: 7px solid var(--t112-red); background: var(--t112-ink); }
.t112-page-title p { margin: 0; color: var(--t112-red); font-size: 11px; font-weight: 900; }
.t112-page-title h1 { margin: 5px 0 0; color: #fff; font-size: 40px; }
.t112-filter { margin-top: 21px; padding: 9px 17px; border-top: 6px solid var(--t112-red); background: #fff; }
.t112-filter dl { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 8px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--t112-line); }
.t112-filter dl:last-child { border-bottom: 0; }
.t112-filter dt { color: var(--t112-red); font-weight: 900; }
.t112-filter dd { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.t112-filter a { padding: 3px 7px; color: var(--t112-text); font-size: 13px; }
.t112-filter a.active { color: #fff; background: var(--t112-red); font-weight: 900; }

.t112-detail-hero { position: relative; overflow: hidden; padding: 40px 0; border-bottom: 7px solid var(--t112-red); background: var(--t112-ink); }
.t112-detail-bg { display: none !important; }
.t112-detail-grid { position: relative; display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 27px; }
.t112-detail-poster img { display: block; width: 100%; aspect-ratio: 2/3; object-fit: cover; border: 6px solid #fff; box-shadow: 9px 9px 0 var(--t112-red); }
.t112-detail-info { color: #fff; }
.t112-kicker { color: var(--t112-red); font-size: 12px; font-weight: 900; }
.t112-detail-info h1 { margin: 7px 0 12px; font-size: 44px; }
.t112-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.t112-meta span { padding: 4px 7px; color: #fff; background: var(--t112-red); font-size: 12px; }
.t112-desc { max-width: 780px; line-height: 1.8; }
.t112-detail-lines span { display: inline-block; width: 50px; color: var(--t112-red); font-weight: 900; }
.t112-actions { display: flex; gap: 8px; margin-top: 18px; }
.t112-actions a,
.t112-play-actions a { padding: 10px 14px; color: #fff; background: var(--t112-red); font-size: 13px; font-weight: 900; }
.t112-actions a.primary,
.t112-play-actions a.primary { color: var(--t112-ink); background: #fff; }
.t112-detail-main { display: grid; gap: 19px; padding-block: 27px 40px; }
.t112-panel { padding: 19px; border: 1px solid var(--t112-line); background: #fff; }
.t112-faq-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.t112-faq-item { padding: 15px; border-left: 4px solid var(--t112-red); background: #f3f0ed; }
.t112-faq-item h3 { margin: 0; color: var(--t112-ink); font-size: 15px; line-height: 1.55; }
.t112-faq-item p { margin: 7px 0 0; color: var(--t112-muted); font-size: 13px; line-height: 1.75; }
.t112-playlist-panel { border-top: 6px solid var(--t112-red); }
.t112-source-tabs ul { gap: 7px; }
.t112-source-tabs li { width: auto !important; padding: 8px 11px; color: var(--t112-text); background: #eeeae7; cursor: pointer; }
.t112-source-tabs li.active { color: #fff; background: var(--t112-red); }
.t112-episode-box ul { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; padding: 14px 0 0; }
.t112-episode-box li { width: auto !important; padding: 0 !important; }
.t112-episode-box a { display: block; padding: 9px 7px; color: var(--t112-text); background: #eeeae7; text-align: center; }
.t112-episode-box a:hover,
.t112-episode-box a.active { color: #fff; background: var(--t112-red); }
.t112-sort { padding: 8px 10px; border: 0; color: #fff; background: var(--t112-red); font-weight: 900; cursor: pointer; }

.t112-player-wrap { padding: 27px 0; background: var(--t112-ink); }
.t112-player-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 17px; }
.t112-player { min-width: 0; background: #000; }
.t112-play-info { padding: 18px; color: #fff; border-top: 7px solid var(--t112-red); background: #232323; }
.t112-play-info > p:first-child { color: var(--t112-red); font-size: 12px; font-weight: 900; }
.t112-play-info h1 { margin: 5px 0 13px; font-size: 25px; }
.t112-play-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.t112-play-info .t112-desc { color: #c8c8c8; font-size: 13px; }

.t112-footer { padding: 25px 0 15px; color: #d2d2d2; border-top: 6px solid var(--t112-red); background: var(--t112-ink); }
.t112-footer-grid { display: flex; gap: 20px; justify-content: space-between; }
.t112-footer img { width: 48px; height: 48px; }
.t112-footer p { margin: 7px 0 0; font-size: 13px; }
.t112-footer-links { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.t112-footer-links a { color: var(--t112-red); font-size: 13px; }
.t112-copyright { margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; }

.t112-mobile-panel,
.t112-mobile-modal { display: none; }

@media (max-width: 1024px) {
  .t112-header-inner { grid-template-columns: 58px minmax(0,1fr) 42px; }
  .t112-search { display: none; }
  .t112-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .t112-shell { width: min(100% - 24px,680px); }
  .t112-header-inner { min-height: 62px; }
  .t112-brand,
  .t112-brand img { width: 46px; height: 46px; }
  .t112-nav { display: none; }
  .t112-menu { display: grid; grid-column: 3; justify-self: end; }
  .t112-mobile-panel { position: fixed; top: 62px; right: 0; z-index: 61; display: block; width: min(86vw,330px); height: calc(100vh - 62px); padding: 15px; background: var(--t112-ink); transform: translateX(100%); transition: transform .2s ease; }
  .t112-mobile-panel.active { transform: translateX(0); }
  .t112-mobile-modal { position: fixed; inset: 62px 0 0; z-index: 60; background: rgba(17,17,17,.6); }
  .t112-mobile-modal.active { display: block; }
  .t112-mobile-search { display: grid; grid-template-columns: 1fr auto; margin-bottom: 12px; }
  .t112-mobile-search input { min-width: 0; padding: 10px; border: 0; }
  .t112-mobile-search button { border: 0; color: #fff; background: var(--t112-red); font-weight: 900; }
  .t112-mobile-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; }
  .t112-mobile-links a { padding: 11px 9px; overflow: hidden; color: #fff; background: #292929; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .t112-mobile-links a.active { background: var(--t112-red); }
  .t112-marquee .t112-shell { gap: 14px; }
  .t112-hero { padding: 13px 0; }
  .t112-hero-layout { grid-template-columns: 1fr; gap: 10px; }
  .t112-hero-stage { border-width: 4px; }
  .t112-hero-slider,
  .t112-hero-slider .swiper-wrapper,
  .t112-hero-slider .swiper-slide { height: 300px !important; }
  .t112-slide-copy { left: 17px; bottom: 20px; max-width: 82%; gap: 8px; }
  .t112-slide-copy strong { font-size: 29px; }
  .t112-showtimes { padding: 14px; }
  .t112-showtimes > a:nth-of-type(n+5) { display: none; }
  .t112-ticket-board .t112-shell { grid-template-columns: 1fr; gap: 10px; }
  .t112-rank-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .t112-section { padding-block: 27px; }
  .t112-section-head h2 { font-size: 23px; }
  .t112-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 10px; }
  .t112-card-poster { box-shadow: 4px 4px 0 rgba(17,17,17,.28); }
  .t112-news-grid { grid-template-columns: 1fr; }
  .t112-detail-grid { grid-template-columns: 122px minmax(0,1fr); gap: 17px; }
  .t112-detail-hero { padding: 23px 0; }
  .t112-detail-poster img { border-width: 4px; box-shadow: 6px 6px 0 var(--t112-red); }
  .t112-detail-info h1 { font-size: 29px; }
  .t112-desc { font-size: 13px; line-height: 1.65; }
  .t112-panel { padding: 14px; }
  .t112-faq-list { grid-template-columns: 1fr; }
  .t112-episode-box ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .t112-player-grid { grid-template-columns: 1fr; }
  .t112-footer-grid { display: grid; }
}

@media (max-width: 420px) {
  .t112-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .t112-rank-list { grid-template-columns: 1fr; }
  .t112-slide-copy strong { font-size: 25px; }
  .t112-detail-grid { grid-template-columns: 104px minmax(0,1fr); gap: 14px; }
  .t112-detail-info h1 { font-size: 24px; }
  .t112-detail-info .t112-desc { display: none; }
}
