:root {
  --tc-bg: #141414;
  --tc-surface: #1f1f1f;
  --tc-elevated: #292929;
  --tc-fg: #f6f5f3;
  --tc-muted: #b6b6b6;
  --tc-line: #ffffff24;
  --tc-accent: #c5a879;
  --tc-header: #101010f2;
  --tc-primary: #fff;
  --tc-primary-text: #121212;
  color-scheme: dark;
}
:root[data-touch-theme="light"] {
  --tc-bg: #f7f6f2;
  --tc-surface: #fff;
  --tc-elevated: #eeede8;
  --tc-fg: #1b1b1a;
  --tc-muted: #5f5f5a;
  --tc-line: #00000020;
  --tc-accent: #745934;
  --tc-header: #f7f6f2f5;
  --tc-primary: #181818;
  --tc-primary-text: #fff;
  color-scheme: light;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body.touch-cinema {
  margin: 0;
  padding-top: 84px;
  background: var(--tc-bg);
  color: var(--tc-fg);
  font: 15px/1.65 'DM Sans', sans-serif;
  --accent-100: #b69a69;
  --accent-70: #b69a69cc;
  --accent-50: #b69a6980;
  --accent-30: #b69a694d;
  --accent-10: #b69a691a;
  --accent-5: #b69a690d;
  --accent-0: #b69a6900;
  --accent-hover: #a98a57;
}
body.touch-cinema *, body.touch-cinema *::before, body.touch-cinema *::after { box-sizing: border-box; }
body.touch-cinema :is(h1, h2, h3, h4, h5, h6, .heading_font) {
  font-family: 'Instrument Sans', sans-serif;
  color: var(--tc-fg);
  text-transform: none;
  letter-spacing: -.035em;
}
body.touch-cinema a { color: inherit; }
body.touch-cinema :is(a, button, select, input, summary):focus-visible {
  outline: 2px solid var(--tc-accent);
  outline-offset: 4px;
}
body.touch-cinema [hidden] { display: none !important; }
body.touch-cinema button { font-family: inherit; }
body.touch-cinema input, body.touch-cinema select, body.touch-cinema textarea {
  color: var(--tc-fg);
  background-color: var(--tc-surface);
  border-color: var(--tc-line);
}
body.touch-cinema .tc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font: 600 15px/1.3 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
body.touch-cinema .tc-button:hover { transform: translateY(-1px); text-decoration: none; }
body.touch-cinema .tc-button-primary { color: var(--tc-primary-text); background: var(--tc-primary); }
body.touch-cinema .tc-button-primary:hover { opacity: .86; }
body.touch-cinema .tc-button-subtle { color: var(--tc-fg); background: var(--tc-elevated); border-color: var(--tc-line); }
body.touch-cinema .tc-button-glass { color: white; background: #ffffff26; border-color: #ffffff40; backdrop-filter: blur(10px); }
body.touch-cinema .tc-menu-toggle { display: none; }
body.touch-cinema .tc-icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--tc-line);
  border-radius: 50%;
  color: var(--tc-fg);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}
body.touch-cinema .tc-icon-button:hover { background: var(--tc-elevated); }
body.touch-cinema .dashicons { font-size: 22px; width: 22px; height: 22px; flex-shrink: 0; }
body.touch-cinema .tc-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1001;
  min-height: 84px;
  padding: 8px 4%;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--tc-line);
  background: var(--tc-header);
  backdrop-filter: blur(18px);
}
body.touch-cinema .tc-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
body.touch-cinema .tc-logo img { width: 74px; height: 60px; object-fit: contain; display: block; }
body.touch-cinema .tc-navigation { flex: 1; min-width: 0; }
body.touch-cinema .tc-menu { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
body.touch-cinema .tc-menu li { position: relative; list-style: none; margin: 0; padding: 0; }
body.touch-cinema .tc-menu li a { display: block; padding: 9px 15px; color: var(--tc-muted); font-size: 14px; font-weight: 500; text-decoration: none; border-radius: 30px; }
body.touch-cinema .tc-menu li:is(.current-menu-item, .current-menu-ancestor) > a,
body.touch-cinema .tc-menu a[aria-current],
body.touch-cinema .tc-menu li a:hover { color: var(--tc-fg); background: var(--tc-elevated); }
body.touch-cinema .tc-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 210px; padding: 8px; margin: 0; list-style: none; background: var(--tc-surface); border: 1px solid var(--tc-line); border-radius: 6px; visibility: hidden; opacity: 0; }
body.touch-cinema .tc-menu li:is(:hover, :focus-within, .tc-submenu-open) > .sub-menu { visibility: visible; opacity: 1; }
body.touch-cinema .tc-menu .sub-menu .sub-menu { top: 0; left: 100%; }
body.touch-cinema .tc-submenu-toggle { position: absolute; top: 6px; right: 1px; width: 30px; height: 30px; background: none; border: 0; color: inherit; cursor: pointer; }
body.touch-cinema .menu-item-has-children > a { padding-right: 32px; }
body.touch-cinema .tc-header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
body.touch-cinema .tc-search-link { border: 0; }
body.touch-cinema .tc-mode-label { margin: 0; display: flex; align-items: center; gap: 5px; }
body.touch-cinema .tc-mode { border: 0; background: transparent; font: 12px 'DM Sans', sans-serif; max-width: 101px; cursor: pointer; padding: 8px 0; }
body.touch-cinema .tc-account { padding: 9px 13px; font-size: 13px; }
body.touch-cinema .tc-account .dashicons { font-size: 18px; width: 18px; height: 18px; }
body.touch-cinema .tc-skip { position: fixed; top: -100px; left: 20px; z-index: 99999; padding: 12px; background: var(--tc-surface); }
body.touch-cinema .tc-skip:focus { top: 90px; }
body.touch-cinema.admin-bar .tc-header { top: 32px; }
body.touch-cinema #tc-content { min-height: 50vh; outline: 0; }
body.touch-cinema .tc-home h1, body.touch-cinema .tc-home h2, body.touch-cinema .tc-home h3 { margin-top: 0; }
body.touch-cinema .tc-home section[id], body.touch-cinema .tc-person { scroll-margin-top: 110px; }
body.touch-cinema .tc-overline { font: 600 10px/1.4 'DM Sans', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--tc-accent); margin: 0 0 12px; }
body.touch-cinema .tc-hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; margin-top: -1px; background: #151515; }
body.touch-cinema .tc-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #141414 5%, #141414e8 28%, #14141466 58%, #14141408 78%), linear-gradient(0deg, var(--tc-bg) 0%, transparent 25%); pointer-events: none; }
body.touch-cinema .tc-hero-scenes { position: absolute; inset: 0; z-index: -2; }
body.touch-cinema .tc-hero-scene { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; object-position: 50% 38%; opacity: 0; transition: opacity .7s; }
body.touch-cinema .tc-hero-scene.is-active { opacity: 1; }
body.touch-cinema .tc-hero-copy { width: min(660px, 57%); padding: 65px 0 90px; margin-left: 4%; color: white; position: relative; z-index: 1; }
body.touch-cinema .tc-hero .tc-overline { color: #d9c3a1; font-size: 11px; }
body.touch-cinema .tc-hero h1 { color: #fff; font-size: clamp(42px, 4.1vw, 66px); font-weight: 600; line-height: 1.03; letter-spacing: -.055em; max-width: 620px; margin-bottom: 24px; text-wrap: balance; }
body.touch-cinema .tc-hero-description { font-size: 16px; line-height: 1.65; color: #dedddb; max-width: 510px; margin-bottom: 25px; }
body.touch-cinema .tc-hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
body.touch-cinema .tc-hero-buttons .tc-button-primary { color: #111; background: #fff; }
body.touch-cinema .tc-hero-people { display: flex; align-items: center; margin-top: 30px; gap: 0; }
body.touch-cinema .tc-hero-people a { display: block; margin-right: -7px; border: 2px solid #222; border-radius: 50%; width: 36px; height: 36px; overflow: hidden; }
body.touch-cinema .tc-hero-people img { width: 100%; height: 100%; object-fit: cover; }
body.touch-cinema .tc-hero-people span { margin-left: 19px; color: #c8c5c0; font-size: 11px; }
body.touch-cinema .tc-scene-controls { position: absolute; right: 4%; bottom: 80px; display: flex; gap: 8px; }
body.touch-cinema .tc-scene-controls .tc-icon-button { color: white; background: #1115; border-color: #ffffff60; }
body.touch-cinema .tc-shelf { padding: 28px 4%; }
body.touch-cinema .tc-catalog { position: relative; z-index: 2; margin-top: -52px; }
body.touch-cinema .tc-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
body.touch-cinema .tc-section-heading h2, body.touch-cinema .tc-about h2, body.touch-cinema .tc-faq h2 { font-size: clamp(25px, 2.2vw, 34px); line-height: 1.2; font-weight: 600; margin: 0; }
body.touch-cinema .tc-section-heading > div > p:not(.tc-overline) { color: var(--tc-muted); max-width: 640px; margin-top: 14px; }
body.touch-cinema .tc-catalog .tc-section-heading { align-items: center; }
body.touch-cinema .tc-catalog .tc-overline { display: none; }
body.touch-cinema .tc-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--tc-line); border-radius: 5px; padding: 8px 12px; min-width: 240px; max-width: 100%; background: var(--tc-surface); margin: 0; }
body.touch-cinema .tc-search input { border: 0; background: transparent; width: 100%; padding: 0; font: 13px 'DM Sans', sans-serif; min-height: 26px; min-width: 0; }
body.touch-cinema .tc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
body.touch-cinema .tc-filters button { color: var(--tc-muted); background: transparent; border: 1px solid var(--tc-line); border-radius: 30px; font: 500 12px 'DM Sans', sans-serif; padding: 8px 15px; cursor: pointer; }
body.touch-cinema .tc-filters button.is-active { color: var(--tc-primary-text); background: var(--tc-primary); border-color: var(--tc-primary); }
body.touch-cinema .tc-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body.touch-cinema .tc-card { min-width: 0; }
body.touch-cinema .tc-card-link { display: block; text-decoration: none; transition: transform .2s; border-radius: 6px; overflow: hidden; }
body.touch-cinema .tc-card-link:hover { transform: translateY(-4px); text-decoration: none; }
body.touch-cinema .tc-card-art { aspect-ratio: 16 / 9; position: relative; isolation: isolate; overflow: hidden; background: #242424; border-radius: 6px; }
body.touch-cinema .tc-card-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #000e, transparent 90%); z-index: -1; }
body.touch-cinema .tc-card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
body.touch-cinema .tc-card-label { position: absolute; top: 12px; left: 13px; color: #fff; font: 600 8px/1.2 'DM Sans', sans-serif; letter-spacing: .15em; text-shadow: 0 1px 5px #000; }
body.touch-cinema .tc-card h3 { color: #fff; position: absolute; bottom: 0; left: 0; margin: 0; padding: 16px; font: 600 clamp(16px, 1.5vw, 24px)/1.08 'Instrument Sans', sans-serif; letter-spacing: -.035em; max-width: 95%; text-wrap: balance; }
body.touch-cinema .tc-card-play { position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
body.touch-cinema .tc-card-link:is(:hover, :focus-visible) .tc-card-play { opacity: 1; }
body.touch-cinema .tc-card-meta { display: flex; align-items: center; gap: 12px; padding: 9px 2px 0; color: var(--tc-muted); font-size: 11px; line-height: 1.35; }
body.touch-cinema .tc-card-info { margin-left: auto; }
body.touch-cinema .tc-card-info .dashicons { font-size: 18px; width: 18px; height: 18px; }
body.touch-cinema .tc-card-row { display: grid; grid-auto-columns: calc((100% - 36px) / 4); grid-auto-flow: column; gap: 12px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x mandatory; padding: 5px 0 14px; }
body.touch-cinema .tc-card-row .tc-card { scroll-snap-align: start; }
body.touch-cinema .tc-row-controls { display: flex; gap: 8px; }
body.touch-cinema .tc-row-controls .tc-icon-button { width: 30px; height: 30px; }
body.touch-cinema .tc-empty { color: var(--tc-muted); padding: 20px 0; }
body.touch-cinema .tc-about { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; padding-block: 55px; }
body.touch-cinema .tc-about-visual { position: relative; height: 350px; overflow: hidden; border-radius: 7px; }
body.touch-cinema .tc-about-visual img { width: 100%; height: 100%; object-fit: cover; }
body.touch-cinema .tc-about-visual > div { position: absolute; inset: 0; padding: 30px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(0deg, #000c, transparent 70%); }
body.touch-cinema .tc-about-visual > div > p:last-child { color: white; font: 600 35px 'Instrument Sans', sans-serif; margin: 0; }
body.touch-cinema .tc-about-visual .tc-overline { color: #e3d4bb; }
body.touch-cinema .tc-about-copy p:not(.tc-overline) { color: var(--tc-muted); max-width: 500px; margin: 20px 0; }
body.touch-cinema .tc-text-link { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-size: 13px; font-weight: 600; }
body.touch-cinema .tc-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.touch-cinema .tc-person-photo { height: 300px; overflow: hidden; border-radius: 6px; background: var(--tc-surface); }
body.touch-cinema .tc-person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
body.touch-cinema .tc-person:hover img { transform: scale(1.035); }
body.touch-cinema .tc-person h3 { font-size: 20px; font-weight: 500; margin: 15px 0 3px; }
body.touch-cinema .tc-person p { margin: 0 0 9px; color: var(--tc-muted); font-size: 12px; }
body.touch-cinema .tc-method { padding-block: 50px; }
body.touch-cinema .tc-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--tc-line); padding-top: 28px; }
body.touch-cinema .tc-method-grid > div > .dashicons { color: var(--tc-accent); }
body.touch-cinema .tc-method-grid h3 { font-size: 20px; font-weight: 500; margin: 15px 0 10px; }
body.touch-cinema .tc-method-grid p { color: var(--tc-muted); font-size: 14px; max-width: 330px; margin: 0; }
body.touch-cinema .tc-memberships { padding-block: 45px; }
body.touch-cinema .tc-plan-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
body.touch-cinema .tc-plan-links > div { border: 1px solid var(--tc-line); background: var(--tc-surface); padding: 28px; border-radius: 7px; }
body.touch-cinema .tc-plan-links h3 { font-size: 25px; margin: 0 0 25px; }
body.touch-cinema .tc-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; padding-block: 50px; }
body.touch-cinema .tc-faq h2 { margin-bottom: 22px; }
body.touch-cinema .tc-faq details { padding: 18px 0; border-bottom: 1px solid var(--tc-line); }
body.touch-cinema .tc-faq summary { cursor: pointer; font-size: 16px; font-weight: 500; }
body.touch-cinema .tc-faq details p { margin: 16px 0 0; color: var(--tc-muted); font-size: 14px; }
body.touch-cinema .tc-final-cta { padding-block: 65px; text-align: center; border-block: 1px solid var(--tc-line); margin-top: 30px; }
body.touch-cinema .tc-final-cta h2 { font-size: clamp(35px, 4vw, 56px); line-height: 1.1; font-weight: 500; margin-bottom: 28px; }
body.touch-cinema .tc-footer { padding: 35px 4%; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--tc-bg); color: var(--tc-muted); }
body.touch-cinema .tc-footer-brand { display: flex; gap: 25px; align-items: center; }
body.touch-cinema .tc-footer-brand p { margin: 0; font-size: 12px; }
body.touch-cinema .tc-footer nav { display: flex; flex-wrap: wrap; gap: 12px 25px; justify-content: end; font-size: 12px; }
body.touch-cinema .tc-footer small { grid-column: 1 / -1; border-top: 1px solid var(--tc-line); padding-top: 20px; font-size: 11px; }
body.touch-cinema .tc-dialog { border: 0; padding: 0; width: min(900px, calc(100% - 48px)); max-width: none; max-height: 90dvh; border-radius: 9px; background: var(--tc-bg); color: var(--tc-fg); overflow-y: auto; box-shadow: 0 20px 100px #0009; }
body.touch-cinema .tc-dialog::backdrop { background: #000b; backdrop-filter: blur(4px); }
body.touch-cinema:has(.tc-dialog[open]) { overflow: hidden; }
body.touch-cinema .tc-dialog-cover { position: relative; min-height: 330px; display: flex; align-items: end; background: #202020; isolation: isolate; }
body.touch-cinema .tc-dialog-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
body.touch-cinema .tc-dialog-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--tc-bg), #0005 80%); z-index: -1; }
body.touch-cinema .tc-dialog-heading { padding: 60px 40px 28px; }
body.touch-cinema .tc-dialog-heading h2 { color: white; font-size: 40px; line-height: 1.05; font-weight: 600; margin: 0; max-width: 690px; text-wrap: balance; }
:root[data-touch-theme="light"] body.touch-cinema .tc-dialog-cover::after { background: linear-gradient(0deg, #000c, transparent); }
body.touch-cinema .tc-dialog-heading .tc-overline { color: #e6d9c5; }
body.touch-cinema .tc-dialog-close { position: absolute; z-index: 4; right: 16px; top: 16px; background: #181818; color: white; border: 1px solid #ffffff40; }
body.touch-cinema .tc-dialog-content { padding: 0 40px 35px; }
body.touch-cinema .tc-dialog-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
body.touch-cinema .tc-dialog-metadata { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--tc-muted); font-size: 12px; margin-bottom: 25px; }
body.touch-cinema .tc-dialog-overview { color: var(--tc-muted); }
body.touch-cinema .tc-dialog-section { margin-top: 28px; }
body.touch-cinema .tc-dialog-section h3 { font-size: 22px; margin: 0 0 12px; font-weight: 600; }
body.touch-cinema .tc-dialog-section :is(p, li) { font-size: 14px; color: var(--tc-muted); }
body.touch-cinema .tc-dialog-section ul { padding-left: 20px; }
body.touch-cinema .tc-episodes details { border-bottom: 1px solid var(--tc-line); padding: 15px 0; }
body.touch-cinema .tc-episodes summary { cursor: pointer; font-weight: 500; }
body.touch-cinema .tc-episodes ol { margin: 15px 0 0; padding-left: 24px; }
body.touch-cinema .tc-episodes li { padding: 12px 10px; border-top: 1px solid var(--tc-line); }
body.touch-cinema .tc-dialog-fallback { display: inline-block; margin-top: 28px; font-size: 12px; text-decoration: underline; color: var(--tc-muted); }
/* Existing WordPress, LMS and checkout surfaces keep their functional markup. */
body.touch-cinema :is(.stm_lms_wrapper, .stm-lms-wrapper, .stm_lms_user_info_top, .stm_lms_user_float_menu, .stm_lms_acc_tabs, .masterstudy-single-course, .masterstudy-authorization__wrapper, .masterstudy-authorization-modal__container, .masterstudy_memberships, .woocommerce, .pmpro) {
  color: var(--tc-fg);
  --background: var(--tc-bg);
  --background-color: var(--tc-bg);
}
body.touch-cinema :is(.masterstudy-single-course, .masterstudy-single-course__main, .masterstudy-single-course__sidebar, .masterstudy-single-course-tabs, .masterstudy-single-course-tabs__content, .masterstudy-single-course-details, .masterstudy-authorization__wrapper, .masterstudy-authorization-modal__container, .masterstudy-authorization__header, .masterstudy_memberships, .masterstudy_memberships__name, .masterstudy_memberships__items, .masterstudy_memberships__price, .masterstudy_memberships__button, .masterstudy-curriculum-list, .masterstudy-curriculum-list__wrapper, .masterstudy-curriculum-list__container, .stm_lms_user_info_top, .stm_lms_user_float_menu, .stm_lms_acc_tabs, .stm_lms_my_course, .stm_lms_courses__single--inner, .stm_lms_courses__single--info, .stm_lms_courses__single--meta, .stm_lms_courses__single--title, .stm_lms_courses__single--inner h5, .woocommerce-cart-form, .cart_totals, .woocommerce-checkout-review-order, .woocommerce-checkout #payment) {
  background-color: var(--tc-surface) !important;
  color: var(--tc-fg);
  border-color: var(--tc-line) !important;
}
body.touch-cinema :is(.masterstudy-single-course__title, .masterstudy-single-course__excerpt, .masterstudy-single-course__desc, .masterstudy-single-course-tabs__content, .masterstudy-single-course-description, .masterstudy-single-course-details__title, .masterstudy-single-course-details__name, .masterstudy-single-course-details__value, .masterstudy-single-course-tabs__item, .masterstudy-single-course-tabs__item_active, .masterstudy-curriculum-list__title, .masterstudy-curriculum-list__section-title, .masterstudy-curriculum-list__materials, .masterstudy-related-courses__item-title, .masterstudy-related-courses__title, .masterstudy-authorization__header-title, .masterstudy-authorization__switch-account-title, .masterstudy-authorization__actions-remember, .masterstudy-authorization__form-input, .masterstudy_memberships__name_title, .masterstudy_memberships__price_value, .masterstudy_memberships__item, .stm_lms_acc_tabs a, .stm_lms_courses__single--title h5) {
  color: var(--tc-fg) !important;
}
body.touch-cinema .masterstudy-single-course { width: min(1400px, 92%); padding: 45px 0; margin: 0 auto; gap: 32px; background: transparent !important; }
body.touch-cinema .masterstudy-single-course__main { background: transparent !important; }
body.touch-cinema .masterstudy-single-course__title { font: 600 clamp(32px, 3vw, 48px)/1.1 'Instrument Sans', sans-serif; letter-spacing: -.04em; }
body.touch-cinema .masterstudy-single-course__sidebar { border: 1px solid var(--tc-line); border-radius: 8px; padding: 22px; height: fit-content; }
body.touch-cinema :is(.masterstudy-button, .masterstudy-buy-button__link, .masterstudy_memberships__button_element, .stm_lms_buy_button a, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button) {
  font: 600 14px/1.4 'DM Sans', sans-serif;
  border-radius: 5px !important;
}
body.touch-cinema :is(.masterstudy-button_style-primary, .masterstudy-buy-button__link, .masterstudy_memberships__button_element, .woocommerce button.button.alt, .woocommerce a.button.alt) {
  background: var(--tc-primary) !important;
  color: var(--tc-primary-text) !important;
  border-color: var(--tc-primary) !important;
}
body.touch-cinema :is(.masterstudy-button_style-primary, .masterstudy-buy-button__link, .masterstudy_memberships__button_element) * { color: inherit !important; }
body.touch-cinema :is(.masterstudy-curriculum-list__wrapper, .masterstudy-single-course-tabs__content, .masterstudy-authorization__wrapper, .masterstudy_memberships) { border-radius: 7px; }
body.touch-cinema .masterstudy-single-course-video { border-radius: 7px; overflow: hidden; }
body.touch-cinema .masterstudy_memberships__wrapper { gap: 16px; }
body.touch-cinema .masterstudy_memberships__container { margin: 0; }
body.touch-cinema .masterstudy_memberships { border: 1px solid var(--tc-line); box-shadow: none; overflow: hidden; }
body.touch-cinema .tc-native-plans .masterstudy_memberships__head { display: none; }
body.touch-cinema .title-box { background: var(--tc-surface) !important; padding-block: 35px; color: var(--tc-fg); }
body.touch-cinema #tc-content > .container { padding-block: 35px; }
body.touch-cinema :is(.stm_lms_courses__grid, .stm_lms_courses__archive) { background: var(--tc-bg); }
body.touch-cinema .masterstudy-authorization__form-input { border-color: var(--tc-line) !important; background: var(--tc-elevated) !important; }
body.touch-cinema .woocommerce :is(table.shop_table, .woocommerce-checkout-payment, #add_payment_method #payment) { background: var(--tc-surface); color: var(--tc-fg); border-color: var(--tc-line); }
body.touch-cinema .woocommerce :is(.payment_box, .woocommerce-info, .woocommerce-message) { background: var(--tc-elevated); color: var(--tc-fg); }
body.touch-cinema :is(.stm_lms_acc_tabs, .stm_lms_user_info_top, .stm_lms_my_course) { border-radius: 7px; }
@media (min-width: 1600px) {
  body.touch-cinema .tc-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  body.touch-cinema .tc-card-row { grid-auto-columns: calc((100% - 48px) / 5); }
}
@media (max-width: 1100px) {
  body.touch-cinema .tc-header { gap: 12px; }
  body.touch-cinema .tc-menu li a { font-size: 12px; padding-inline: 10px; }
  body.touch-cinema .tc-header-actions { gap: 5px; }
  body.touch-cinema .tc-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.touch-cinema .tc-card-row { grid-auto-columns: calc((100% - 24px) / 3); }
  body.touch-cinema .tc-team-grid { gap: 12px; }
  body.touch-cinema .tc-person-photo { height: 240px; }
  body.touch-cinema .tc-search-link { display: none; }
}
@media (max-width: 820px) {
  body.touch-cinema { padding-top: 72px; }
  body.touch-cinema .tc-header { min-height: 72px; padding-block: 5px; flex-wrap: wrap; }
  body.touch-cinema .tc-logo img { width: 59px; height: 49px; }
  body.touch-cinema .tc-header-actions { margin-left: auto; }
  body.touch-cinema .tc-navigation { order: 3; flex-basis: 100%; }
  body.touch-cinema.tc-ready .tc-navigation:not(.is-open) { display: none; }
  body.touch-cinema.tc-ready .tc-menu-toggle { display: inline-flex; }
  body.touch-cinema .tc-menu { gap: 2px; padding: 8px 0; }
  body.touch-cinema .tc-menu li { flex-basis: 100%; }
  body.touch-cinema .tc-menu li a { padding: 10px 15px; font-size: 14px; }
  body.touch-cinema .tc-menu .sub-menu { position: static; visibility: visible; opacity: 1; display: none; margin-left: 16px; border: 0; background: transparent; }
  body.touch-cinema .tc-menu li:is(:focus-within, .tc-submenu-open) > .sub-menu { display: block; }
  body.touch-cinema .tc-hero { min-height: 640px; align-items: end; }
  body.touch-cinema .tc-hero-scene { width: 100%; height: 100%; object-position: center 35%; }
  body.touch-cinema .tc-hero::after { background: linear-gradient(0deg, var(--tc-bg) 0%, #141414ed 17%, #14141490 50%, #14141405 90%); }
  body.touch-cinema .tc-hero-copy { padding: 280px 0 80px; width: 86%; margin-left: 5%; }
  body.touch-cinema .tc-hero h1 { font-size: 45px; max-width: 480px; }
  body.touch-cinema .tc-hero-description { font-size: 14px; }
  body.touch-cinema .tc-hero-people span { display: none; }
  body.touch-cinema .tc-scene-controls { bottom: 75px; }
  body.touch-cinema .tc-section-heading h2 { font-size: 24px; }
  body.touch-cinema .tc-catalog .tc-section-heading { display: block; }
  body.touch-cinema .tc-search { margin-top: 18px; width: 100%; }
  body.touch-cinema .tc-about { gap: 25px; }
  body.touch-cinema .tc-about-visual { height: 300px; }
  body.touch-cinema .tc-about h2 { font-size: 26px; }
  body.touch-cinema .tc-team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  body.touch-cinema .tc-person-photo { height: 300px; }
  body.touch-cinema .tc-method-grid { gap: 20px; }
  body.touch-cinema .tc-plan-links { grid-template-columns: 1fr; }
  body.touch-cinema .tc-plan-links > div { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
  body.touch-cinema .tc-plan-links h3 { margin: 0; }
  body.touch-cinema .tc-faq { gap: 35px; grid-template-columns: 1fr; }
  body.touch-cinema .tc-faq h2 br { display: none; }
  body.touch-cinema .tc-footer { grid-template-columns: 1fr; gap: 20px; }
  body.touch-cinema .tc-footer nav { justify-content: start; }
}
@media (max-width: 600px) {
  body.touch-cinema .tc-mode { width: 77px; font-size: 11px; }
  body.touch-cinema .tc-mode-label > .dashicons { display: none; }
  body.touch-cinema .tc-header-actions { gap: 8px; }
  body.touch-cinema .tc-account { padding: 9px 10px; }
  body.touch-cinema .tc-menu-toggle { width: 36px; height: 36px; }
  body.touch-cinema .tc-hero-copy { width: 90%; padding-top: 260px; }
  body.touch-cinema .tc-hero h1 { font-size: 39px; }
  body.touch-cinema .tc-hero-description { max-width: 380px; }
  body.touch-cinema .tc-hero-buttons { gap: 8px; }
  body.touch-cinema .tc-hero-buttons .tc-button { font-size: 13px; padding: 11px 14px; }
  body.touch-cinema .tc-catalog { margin-top: -45px; }
  body.touch-cinema .tc-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 9px; }
  body.touch-cinema .tc-card-row { grid-auto-columns: 74%; gap: 10px; }
  body.touch-cinema .tc-card h3 { font-size: 15px; padding: 12px; }
  body.touch-cinema .tc-card-label { font-size: 6px; top: 9px; left: 11px; }
  body.touch-cinema .tc-card-meta { font-size: 10px; gap: 8px; }
  body.touch-cinema .tc-card-play { display: none; }
  body.touch-cinema .tc-about { grid-template-columns: 1fr; padding-block: 35px; gap: 25px; }
  body.touch-cinema .tc-about-visual { height: 280px; }
  body.touch-cinema .tc-person-photo { height: 230px; }
  body.touch-cinema .tc-person h3 { font-size: 17px; }
  body.touch-cinema .tc-method-grid { grid-template-columns: 1fr; gap: 24px; }
  body.touch-cinema .tc-method-grid > div { border-bottom: 1px solid var(--tc-line); padding-bottom: 20px; }
  body.touch-cinema .tc-method-grid p { max-width: none; }
  body.touch-cinema .tc-method { padding-block: 30px; }
  body.touch-cinema .tc-section-heading { gap: 12px; }
  body.touch-cinema .tc-plan-links > div { padding: 20px; }
  body.touch-cinema .tc-plan-links h3 { font-size: 21px; }
  body.touch-cinema .tc-plan-links .tc-button { font-size: 11px; padding-inline: 12px; }
  body.touch-cinema .tc-dialog { width: calc(100% - 16px); max-height: 94dvh; border-radius: 7px; }
  body.touch-cinema .tc-dialog-cover { min-height: 250px; }
  body.touch-cinema .tc-dialog-heading { padding: 65px 22px 24px; }
  body.touch-cinema .tc-dialog-heading h2 { font-size: 29px; }
  body.touch-cinema .tc-dialog-content { padding: 0 22px 25px; }
  body.touch-cinema .tc-dialog-actions .tc-button { padding: 10px 12px; font-size: 12px; }
  body.touch-cinema .tc-footer-brand { gap: 18px; }
  body.touch-cinema .masterstudy-single-course { width: 92%; padding-block: 25px; }
}
@media (max-width: 782px) { body.touch-cinema.admin-bar .tc-header { top: 46px; } }
@media (max-width: 600px) { body.touch-cinema.admin-bar .tc-header { top: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.touch-cinema *, body.touch-cinema *::before, body.touch-cinema *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}

body.touch-cinema:not(.tc-ready) .tc-mode-label { display: none; }
@media (max-width: 820px) {
  body.touch-cinema:not(.tc-ready) { padding-top: 0; }
  body.touch-cinema:not(.tc-ready) .tc-header { position: static; }
}

body.touch-cinema #main { background: var(--tc-bg) !important; color: var(--tc-fg); }
body.touch-cinema .tc-home { background: var(--tc-bg); }
body.touch-cinema .tc-header .tc-menu-toggle { display: none; }
@media (max-width: 820px) {
  body.touch-cinema.tc-ready .tc-header .tc-menu-toggle:not([hidden]) { display: inline-flex; }
}

body.touch-cinema .tc-hero-scene { width: 78%; mask-image: linear-gradient(90deg, transparent, #000 24%); }
@media (max-width: 820px) {
  body.touch-cinema .tc-hero-scene { width: 100%; mask-image: none; }
}

body.touch-cinema .tc-hero-scene:first-child { object-position: 50% 13%; }
body.touch-cinema .tc-card-art img { object-position: 50% 24%; }
body.touch-cinema .tc-dialog-cover img { object-position: 50% 18%; }
:root[data-touch-theme="light"] body.touch-cinema .tc-catalog { margin-top: 0; }
body.touch-cinema .masterstudy-single-course-title { color: var(--tc-fg); font: 600 clamp(32px, 3vw, 48px)/1.1 'Instrument Sans', sans-serif; }
body.touch-cinema :is(.masterstudy-single-course-instructor__name, .masterstudy-single-course-rating__quantity, .masterstudy-single-course-details__quantity, .masterstudy-single-course-categories__item) { color: var(--tc-fg) !important; }
body.touch-cinema :is(.masterstudy-single-course-instructor__title, .masterstudy-single-course-rating__count, .masterstudy-single-course-description__content, .masterstudy-single-course-description__content p, .masterstudy-curriculum-list__meta) { color: var(--tc-muted) !important; }
body.touch-cinema .masterstudy-single-course-description__image { max-height: 390px; object-fit: cover; object-position: center 20%; width: 100%; }
body.touch-cinema :is(.masterstudy-course-player-header, .masterstudy-course-player-content, .masterstudy-course-player-curriculum, .masterstudy-course-player-curriculum__content, .masterstudy-course-player-curriculum__wrapper, .masterstudy-course-player-navigation, .masterstudy-course-player-lesson, .masterstudy-course-player-lesson__content) {
  background-color: var(--tc-bg) !important;
  color: var(--tc-fg);
  border-color: var(--tc-line);
}
body.touch-cinema :is(.masterstudy-course-player-header__course-title, .masterstudy-course-player-header__course-label, .masterstudy-course-player-curriculum__title, .masterstudy-course-player-curriculum__lesson-title, .masterstudy-course-player-lesson__title, .masterstudy-course-player-lesson__content p) { color: var(--tc-fg) !important; }
body.touch-cinema:has(.masterstudy-course-player-header) { padding-top: 0; }
body.touch-cinema .tc-player-appearance { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-bottom: 1px solid var(--tc-line); color: var(--tc-muted); background: var(--tc-surface); font-size: 12px; }
body.touch-cinema .tc-player-appearance select { border: 1px solid var(--tc-line); background: var(--tc-elevated); padding: 4px; border-radius: 4px; }

body.touch-cinema .masterstudy-course-player-header__dark-mode { display: none; }

body.touch-cinema .elementor {
  --e-global-color-primary: var(--tc-fg);
  --e-global-color-secondary: var(--tc-fg);
  --e-global-color-text: var(--tc-muted);
  --e-global-color-accent: var(--tc-accent);
  --e-global-typography-primary-font-family: 'Instrument Sans';
  --e-global-typography-secondary-font-family: 'Instrument Sans';
  --e-global-typography-text-font-family: 'DM Sans';
  --e-global-typography-accent-font-family: 'DM Sans';
}
body.touch-cinema .elementor :is(.elementor-section, .e-con) { background-color: var(--tc-bg) !important; }
body.touch-cinema .elementor .elementor-heading-title { color: var(--tc-fg); font-family: 'Instrument Sans', sans-serif; }
body.touch-cinema .elementor .elementor-widget-text-editor { color: var(--tc-muted); font-family: 'DM Sans', sans-serif; }
body.touch-cinema .elementor .elementor-button { background-color: var(--tc-primary); color: var(--tc-primary-text); border-radius: 5px; font-family: 'DM Sans', sans-serif; }

body.touch-cinema #wrapper { background: var(--tc-bg) !important; }
body.touch-cinema.single-stm-courses .stm-lms-wrapper { padding-block: 30px; }
body.touch-cinema.single-stm-courses .stm-lms-wrapper > .container { width: min(1400px, 94%); max-width: none; }
body.touch-cinema #wrapper .masterstudy-single-course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 35px;
  width: 100%;
  background: transparent !important;
  padding: 20px 0 35px;
}
body.touch-cinema #wrapper .masterstudy-single-course__main { width: auto; min-width: 0; padding: 0; background: transparent !important; }
body.touch-cinema #wrapper .masterstudy-single-course__sidebar { width: auto; margin: 0; background: var(--tc-surface) !important; }
body.touch-cinema #wrapper .masterstudy-single-course-description__content,
body.touch-cinema #wrapper .masterstudy-single-course-description__content p { color: var(--tc-muted) !important; }
body.touch-cinema #wrapper :is(.masterstudy-single-course-wishlist__title, .masterstudy-single-course-share-button__title) { color: var(--tc-muted) !important; }
@media (max-width: 900px) {
  body.touch-cinema #wrapper .masterstudy-single-course { grid-template-columns: 1fr; gap: 24px; }
  body.touch-cinema #wrapper .masterstudy-single-course__sidebar { width: 100%; }
}

body.touch-cinema .tc-hero-scene:first-child { object-position: 50% 26%; }
body.touch-cinema #wrapper .masterstudy-single-course__sidebar :is(.widget_search, .widget_recent_entries, .widget_recent_comments) { display: none; }
body.touch-cinema #wrapper .masterstudy-single-course-description__image img { width: 100%; max-height: 420px; object-fit: cover; object-position: center 20%; }
body.touch-cinema #wrapper .masterstudy-single-course__sidebar :is(.widget, .widget a, .widget_title) { color: var(--tc-muted); }

body.touch-cinema .tc-trailer-stage { margin: 0 0 25px; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
body.touch-cinema .tc-trailer-stage :is(video, iframe) { width: 100%; height: 100%; border: 0; display: block; }

body.touch-cinema #wrapper :is(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"], textarea, select:not(.tc-mode)) {
  color: var(--tc-fg) !important;
  background-color: var(--tc-surface) !important;
  border-color: var(--tc-line) !important;
}
body.touch-cinema #wrapper .select2-container .select2-selection { background: var(--tc-surface); border-color: var(--tc-line); }
body.touch-cinema #wrapper .select2-selection__rendered { color: var(--tc-fg); }
body.touch-cinema #wrapper .woocommerce table.shop_table :is(td, th) { color: var(--tc-fg); background: var(--tc-surface); border-color: var(--tc-line); }

body.touch-cinema #wpadminbar { position: fixed !important; top: 0 !important; z-index: 99999; }
body.touch-cinema .entry-header { background: var(--tc-surface) !important; color: var(--tc-fg); padding-block: 28px; }
body.touch-cinema .entry-header h1 { color: var(--tc-fg); font-size: 38px; line-height: 1.15; }
body.touch-cinema :is(.masterstudy-account, .masterstudy-account-sidebar, .masterstudy-account-sidebar__wrapper, .masterstudy-account-profile, .masterstudy-account-menu, .masterstudy-account-mobile-menu, .masterstudy-course-card__wrapper, .masterstudy-course-card__info, .masterstudy-course-card__bottom, .masterstudy-instructor-course-actions, .masterstudy-instructor-course-actions__modal) {
  background: var(--tc-surface) !important;
  color: var(--tc-fg) !important;
  border-color: var(--tc-line) !important;
}
body.touch-cinema :is(.masterstudy-account-profile__name, .masterstudy-account-menu__list-item-label, .masterstudy-account-menu__mode, .masterstudy-course-card__info-title, .masterstudy-instructor-course-actions__title, .masterstudy-instructor-course-actions__value, .masterstudy-tabs__item, .masterstudy-account-mobile-menu__link) {
  color: var(--tc-fg) !important;
}
body.touch-cinema :is(.masterstudy-course-card__meta, .masterstudy-instructor-course-actions__modal-top) { background: var(--tc-elevated) !important; border-color: var(--tc-line) !important; }
body.touch-cinema :is(.masterstudy-account-menu__list-section-title, .masterstudy-course-card__meta-block) { color: var(--tc-muted) !important; }
body.touch-cinema .masterstudy-course-card__wrapper { border-radius: 7px; overflow: hidden; }
body.touch-cinema .masterstudy-account-profile { padding-block: 16px; }
body.touch-cinema :is(.masterstudy-course-player-content__wrapper, .masterstudy-course-player-content__header) { background: var(--tc-bg) !important; color: var(--tc-fg) !important; }
body.touch-cinema .masterstudy-course-player-lesson { color: var(--tc-fg) !important; }
body.touch-cinema .masterstudy-course-player-header__course { min-width: 0; }
body.touch-cinema .tc-player-appearance { background: transparent; border: 0; padding: 4px 8px; flex-shrink: 0; margin: 0; }
body.touch-cinema .tc-player-appearance select { font: 12px 'DM Sans', sans-serif; }
@media (max-width: 700px) {
  body.touch-cinema .tc-player-appearance { font-size: 0; padding-inline: 3px; }
}

body.touch-cinema .masterstudy-button_style-secondary { background: var(--tc-elevated) !important; color: var(--tc-fg) !important; border-color: var(--tc-line) !important; }
body.touch-cinema .masterstudy-button_style-secondary * { color: inherit !important; }
body.touch-cinema .masterstudy-loader_global { background-color: var(--tc-bg) !important; }
body.touch-cinema .tc-player-logo { display: inline-flex; align-items: center; padding-inline: 12px; flex-shrink: 0; }
body.touch-cinema .tc-player-logo img { width: 36px; height: 36px; object-fit: contain; }
@media (max-width: 700px) {
  body.touch-cinema .tc-player-logo { padding-inline: 5px; }
  body.touch-cinema .tc-player-logo img { width: 28px; height: 28px; }
}

body.touch-cinema .masterstudy-course-player-lesson :is(p, li) { color: var(--tc-fg) !important; }
body.touch-cinema .masterstudy-course-player-content__header-lesson-type { color: var(--tc-muted) !important; }
body.touch-cinema .masterstudy-course-card__meta-block * { color: var(--tc-muted) !important; }
body.touch-cinema .masterstudy-account-have-question, body.touch-cinema .masterstudy-account-have-question a { color: var(--tc-muted) !important; }

/* Cinematic identity portraits and ensemble art. */
body.touch-cinema .tc-hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: inherit; display: block; }
body.touch-cinema .tc-hero-scene:first-child { width: 100%; object-position: 50% 50%; mask-image: none; }
body.touch-cinema .tc-hero-scene:not(:first-child) { object-position: 50% 8%; }
body.touch-cinema .tc-about-visual img { object-position: right center; }
@media (max-width: 820px) {
  body.touch-cinema .tc-hero-scene:not(:first-child) { object-position: 50% 30%; }
}

/* Compact original branding and course-specific movie key art. */
body.touch-cinema .tc-logo { min-height: 44px; }
body.touch-cinema .tc-logo img { width: 48px; height: 40px; }
body.touch-cinema .tc-player-logo img { width: 26px; height: 26px; }
body.touch-cinema .tc-card-label { font-size: 7px; }
body.touch-cinema .tc-card-art img { object-position: center; }
@media (max-width: 820px) {
  body.touch-cinema .tc-logo img { width: 40px; height: 34px; }
}
@media (max-width: 600px) {
  body.touch-cinema .tc-card-label { font-size: 6px; }
  body.touch-cinema .tc-player-logo img { width: 23px; height: 23px; }
}
body.touch-cinema .masterstudy-course-player-header__logo img { width: 26px; height: 26px; object-fit: contain; }

/* Use the site's configured brand with its natural aspect ratio. */
body.touch-cinema .tc-logo img { width: auto; height: auto; max-width: 110px; max-height: 32px; object-fit: contain; }
body.touch-cinema .tc-site-name { display: block; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 600 23px/1.2 'Instrument Sans', sans-serif; letter-spacing: -.045em; }
@media (max-width: 820px) {
  body.touch-cinema .tc-logo img { max-width: 92px; max-height: 28px; }
  body.touch-cinema .tc-hero-scene:first-child { object-position: center top; }
}

/* Keep faces in the art area and place mobile copy below them. */
@media (max-width: 820px) {
  body.touch-cinema .tc-hero-scenes { height: clamp(300px, 70vw, 540px); }
  body.touch-cinema .tc-hero-scenes::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 55%, #141414);
    pointer-events: none;
  }
  body.touch-cinema .tc-hero-copy { padding-top: clamp(300px, 70vw, 540px); }
  body.touch-cinema .tc-hero-scene { object-position: center top !important; }
}
