/* TMNETWORK page theme and responsive interaction specifications. */
:root {
  --tmnetwork-bg: #000;
  --tmnetwork-text: #fff;
  --tmnetwork-decoration-1: #2b2b2b;
  --tmnetwork-decoration-2: #d20d17;
  --tmnetwork-decoration-3: #a3edfd;
  --font-sans-ja: "Noto Sans JP", sans-serif;
  --font-lato: "Lato", sans-serif;
  --font-inter: "Inter", sans-serif;
  --font-nunito: "Nunito", sans-serif;
  --font-inconsolata: "Inconsolata", monospace;
  --ink: var(--tmnetwork-text);
  --soft: var(--tmnetwork-bg);
  --cyan: var(--tmnetwork-decoration-3);
}

html,
body.lp-program-detail,
body.lp-program-detail header,
body.lp-program-detail footer,
body.lp-program-detail #program-main {
  background: var(--tmnetwork-bg);
  color: var(--tmnetwork-text);
}

body.lp-program-detail,
body.lp-program-detail :is(button, input, select, textarea, optgroup, option) {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

body.lp-program-detail :is(h1, h2, h3, h4, h5, h6, summary) {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}

body.lp-program-detail :is(p, li, dd, dt, small, span) {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

body.lp-program-detail {
  --lp-program-accent: var(--tmnetwork-decoration-2);
  --lp-program-ink: var(--tmnetwork-text);
  --lp-program-muted: var(--tmnetwork-text);
  --lp-program-line: var(--tmnetwork-decoration-1);
  --lp-program-paper: var(--tmnetwork-bg);
  --lp-program-soft: var(--tmnetwork-decoration-1);
  --lp-program-font: "Noto Sans JP", sans-serif;
  --lp-survey-accent: var(--tmnetwork-decoration-2);
  --lp-survey-ink: var(--tmnetwork-text);
  --lp-survey-surface: var(--tmnetwork-decoration-1);
  --lp-survey-muted: var(--tmnetwork-text);
  --lp-survey-focus: var(--tmnetwork-decoration-3);
}

body.lp-program-detail header {
  border-bottom-color: var(--tmnetwork-decoration-1);
}

body.lp-program-detail :is(a, .lp-program-detail__eyebrow, .lp-program-detail__content-menu-eligibility, .lp-program-detail__content-menu-membership-note a) {
  color: var(--tmnetwork-decoration-3);
}

body.lp-program-detail :is(.lp-program-detail__about-description, .lp-program-detail__summary, .lp-program-detail__membership-note, .lp-program-detail__pending, .lp-program-content__description, .lp-program-request__description, .lp-program-request__note, .lp-app-promotion__copy, .lp-program-detail__membership-cta-note, .lp-program-detail__benefits-cta-note, .lp-program-additional-info__content) {
  color: var(--tmnetwork-text);
}

body.lp-program-detail :is(.lp-program-detail__membership-phrase, .lp-program-request__title, .lp-app-promotion__title, .lp-program-additional-info__item summary) {
  color: var(--tmnetwork-text);
}

body.lp-program-detail :is(.lp-program-detail__membership, .lp-program-detail__pending, .lp-program-request, .lp-app-promotion, .lp-app-promotion__bubble, .lp-app-promotion__phone, .lp-program-content__visual, .lp-program-detail__content-menu-group--members, .survey-card) {
  background: var(--tmnetwork-decoration-1);
  border-color: var(--tmnetwork-decoration-1);
  border-radius: 0;
}

body.lp-program-detail :is(.lp-program-detail__about, .lp-program-detail__section, .lp-program-detail__section dl > div, .lp-program-content, .lp-program-detail__content-menu-eligibility, .lp-app-promotion__title) {
  border-color: var(--tmnetwork-decoration-1);
}

body.lp-program-detail .lp-program-detail__membership {
  border-left-color: var(--tmnetwork-decoration-2);
}

body.lp-program-detail .lp-program-request__title {
  background: var(--tmnetwork-decoration-2);
}

body.lp-program-detail .lp-app-promotion__bubble {
  border-color: var(--tmnetwork-decoration-3);
}

/* Framed content uses square corners. Button and accordion sizing follows the SWEET_STEADY reference CSS. */
body.lp-program-detail :is(.lp-program-card, .lp-program-detail__photo, .lp-program-detail__section img, .lp-program-content__visual, .lp-app-promotion__visual, .lp-app-promotion__bubble, .lp-app-promotion__phone, .lp-app-promotion__screen, .lp-program-detail__content-menu-group--members) {
  border-radius: 0;
}

/* Restore each component's original dimensions, padding, and layout; only its corner radius is customized. */
body.lp-program-detail :is(.lp-program-detail__cta, .lp-program-request__button, .lp-app-promotion__button, .lp-program-additional-info__button, .survey-button, .lp-program-action__close, .lp-program-detail__content-menu-button),
body.lp-program-detail .lp-program-additional-info__item,
body.lp-program-detail .lp-program-additional-info__item summary {
  border-radius: 4px;
}

body.lp-program-detail .lp-program-detail__content-menu-button--featured:disabled {
  border-color: var(--tmnetwork-decoration-1);
  background: var(--tmnetwork-decoration-1);
  color: var(--tmnetwork-text);
}

body.lp-program-detail .lp-program-additional-info__item {
  border-color: var(--tmnetwork-decoration-1);
  background: var(--tmnetwork-decoration-1);
}

body.lp-program-detail .lp-program-additional-info__item summary {
  background: var(--tmnetwork-decoration-1);
}

/* Header and footer retain the reference page's white surface and black navigation/legal copy. */
body.lp-program-detail header,
body.lp-program-detail footer {
  background: #fff;
  color: #1d1d1f;
}

body.lp-program-detail header {
  border-bottom-color: #00000009;
}

body.lp-program-detail :is(header, footer) :is(a, .lp-program-detail__back, .footer-legal, .footer-legal__links, .footer-legal small) {
  color: #1d1d1f;
}

body.lp-program-detail :is(button, a):focus-visible,
body.lp-program-detail summary:focus-visible {
  outline-color: var(--tmnetwork-decoration-3);
}

@media (max-width: 540px) {
  body.lp-program-detail :is(.lp-program-detail__cta, .lp-program-request__button, .lp-app-promotion__button, .lp-program-additional-info__button, .survey-button, .lp-program-action__close, .lp-program-detail__content-menu-button),
  body.lp-program-detail .lp-program-additional-info__item,
  body.lp-program-detail .lp-program-additional-info__item summary {
    border-radius: 16px;
  }
}

/* Keep one divider below the final row of the public-recording details table. */
body.lp-program-detail #tmnetwork-live-event-info dl > div:last-child {
  border-bottom: 0;
}

/* Present-page return link above the page-information note. */
body.lp-program-detail a.lp-program-detail__present-back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 520px;
  min-height: 56px;
  margin: 36px auto 0;
  padding: 14px 30px;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.lp-program-detail a.lp-program-detail__present-back-button:hover {
  color: #fff;
}

/* Present-page details: avoid a doubled divider below the final table row. */
body.lp-program-detail #present-info dl > div:last-child {
  border-bottom: 0;
}

/* Playlist artwork replaces the app-notification mockup on the present page. */
body.lp-program-detail .lp-app-promotion__playlist-thumbnail {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin: 0 auto;
}

/* Present-page application CTA: red background with white copy. */
body.lp-program-detail a.lp-program-detail__cta--application,
body.lp-program-detail a.lp-program-detail__cta--application span {
  background: var(--tmnetwork-decoration-2);
  color: #fff !important;
}

/* Request & message module */
body.lp-program-detail .lp-program-request {
  border-color: var(--tmnetwork-decoration-2);
  background: #fff;
}

body.lp-program-detail .lp-program-request__title {
  background: #fff;
  color: #000;
}

body.lp-program-detail :is(.lp-program-request__description, .lp-program-request__note) {
  color: #000;
}

body.lp-program-detail .lp-program-request__button {
  background: var(--tmnetwork-decoration-2);
  border-color: var(--tmnetwork-decoration-2);
  color: #fff;
}

body.lp-program-detail .lp-program-request__button--disabled:disabled {
  border: 0;
  background: #777777;
  color: #fff;
  cursor: not-allowed;
  opacity: 1;
}

/* Restore the app-promotion module to the SWEET_STEADY reference styling. */
body.lp-program-detail .lp-app-promotion {
  background: #fff;
  border-color: #00b9d5;
}

body.lp-program-detail .lp-app-promotion__title {
  color: #1d1d1f;
  border-bottom-color: #dce4e8;
}

body.lp-program-detail .lp-app-promotion__bubble {
  background: #fff;
  border-color: #1d1d1f;
  color: #1d1d1f;
}

body.lp-program-detail .lp-app-promotion__bubble::after {
  background: #fff;
  border-right-color: #1d1d1f;
  border-bottom-color: #1d1d1f;
}

body.lp-program-detail .lp-app-promotion__phone {
  background: #1d1d1f;
  border-color: #1d1d1f;
}

body.lp-program-detail .lp-app-promotion__screen {
  background: #e8f7fb;
}

body.lp-program-detail .lp-app-promotion__notification {
  background: #fff;
  color: #1d1d1f;
}

body.lp-program-detail .lp-app-promotion__copy p {
  color: #445763;
}

body.lp-program-detail .lp-app-promotion__button {
  background: #00b9d5;
  border-color: #00b9d5;
  color: #1d1d1f;
}

/* The Ponta Pass enrollment CTA uses decoration color ③. */
/* Final TMNETWORK module color assignments. */
body.lp-program-detail .lp-program-request__title,
body.lp-program-detail .lp-program-request__title-update {
  background: var(--tmnetwork-decoration-2);
  color: #fff;
}

body.lp-program-detail .lp-program-request__button,
body.lp-program-detail .lp-program-request__button span {
  color: #fff;
}

body.lp-program-detail .lp-program-request__note {
  color: #000;
}

body.lp-program-detail .lp-app-promotion__title,
body.lp-program-detail .lp-app-promotion__title span {
  color: #000;
}

/* Decoration color ③ applies to both enrollment CTAs, including the button in the fees accordion. */
body.lp-program-detail .lp-program-additional-info__button,
body.lp-program-detail .lp-program-additional-info__button span {
  background: var(--tmnetwork-decoration-3);
  border-color: var(--tmnetwork-decoration-3);
  color: #000;
}

/* Preserve the SWEET_STEADY rounded UI within the app notification illustration only. */
body.lp-program-detail .lp-app-promotion__bubble {
  border-radius: var(--lp-program-radius);
}

body.lp-program-detail .lp-app-promotion__phone {
  border-radius: 28px;
}

body.lp-program-detail .lp-app-promotion__screen {
  border-radius: 18px;
}

body.lp-program-detail .lp-app-promotion__notification {
  border-radius: 12px;
}

/* Explicit final values for the requested text and the embedded app mockup. */
body.lp-program-detail a.lp-program-request__button,
body.lp-program-detail a.lp-program-request__button span {
  color: #fff !important;
}

body.lp-program-detail p.lp-program-request__note {
  color: #000 !important;
}

body.lp-program-detail .lp-program-detail__membership-cta-note,
body.lp-program-detail .lp-program-detail__membership-cta-note-line,
body.lp-program-detail p.lp-program-detail__benefits-cta-note {
  color: #fff !important;
}

/* Both “Pontaパス 初回加入で30日間無料” buttons: black text on decoration color ③. */
body.lp-program-detail a.lp-program-additional-info__button,
body.lp-program-detail a.lp-program-additional-info__button span {
  background-color: #a3edfd !important;
  border-color: #a3edfd !important;
  color: #000 !important;
}

/* Exact SWEET_STEADY radii for the PUSH-notification mockup. */
body.lp-program-detail .lp-app-promotion__bubble {
  border-radius: 24px !important;
}

body.lp-program-detail .lp-app-promotion__phone {
  border-radius: 28px !important;
}

body.lp-program-detail .lp-app-promotion__screen {
  border-radius: 18px !important;
}

body.lp-program-detail .lp-app-promotion__notification {
  border-radius: 12px !important;
}

/* App-promotion copy refinements. */
body.lp-program-detail .lp-app-promotion__title,
body.lp-program-detail .lp-app-promotion__title span {
  color: #000 !important;
  font-weight: 700 !important;
}

body.lp-program-detail .lp-app-promotion__copy p {
  color: #000 !important;
}

/* Separate the three TMNETWORK campaign modules. */
body.lp-program-detail .lp-program-request + .lp-program-request {
  margin-top: 24px;
}

/* Keep the restored disabled application CTA separate from the download CTA. */
body.lp-program-detail .lp-program-detail__content-menu-event + .lp-program-detail__content-menu-event {
  margin-top: 20px;
}

/* Live-stream notice displayed directly below the main visual. */
body.lp-program-detail .lp-program-detail__live-stream-intro {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 6% 0;
}

/* Active public-recording application button. */
body.lp-program-detail .lp-program-detail__content-menu-button--active,
body.lp-program-detail .lp-program-detail__content-menu-button--active:not(:disabled):hover {
  background: var(--tmnetwork-decoration-2);
  border-color: var(--tmnetwork-decoration-2);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

body.lp-program-detail .lp-program-detail__content-menu-button--active .lp-program-detail__content-menu-event-status {
  color: #fff;
  font-weight: 700;
}

/* Enforce white, bold copy for the enabled public-recording application button. */
body.lp-program-detail .lp-program-detail__content-menu-button--active,
body.lp-program-detail .lp-program-detail__content-menu-button--active > span,
body.lp-program-detail .lp-program-detail__content-menu-button--active .lp-program-detail__content-menu-event-status {
  color: #fff !important;
  font-weight: 700 !important;
}

/* Public-recording application module variants and emphasized labels. */
body.lp-program-detail a.lp-program-request__button--general {
  background: #fff !important;
  border: 2px solid var(--tmnetwork-decoration-2) !important;
  color: var(--tmnetwork-decoration-2) !important;
}
body.lp-program-detail a.lp-program-request__button--general span { color: var(--tmnetwork-decoration-2) !important; }
body.lp-program-detail a.lp-program-request__button--general:hover,
body.lp-program-detail a.lp-program-request__button--general:focus-visible { background: var(--tmnetwork-decoration-2) !important; color: #fff !important; }
body.lp-program-detail a.lp-program-request__button--general:hover span,
body.lp-program-detail a.lp-program-request__button--general:focus-visible span { color: #fff !important; }
body.lp-program-detail .lp-program-request__notice-link,
body.lp-program-detail .lp-program-request__notice-link:visited { color: #000 !important; font-weight: 700 !important; text-decoration: underline; text-underline-offset: .18em; }
body.lp-program-detail .lp-program-detail__membership-phrase,
body.lp-program-detail #tmnetwork-live-stream-title .lp-program-detail__membership-phrase { font-weight: 700 !important; }

/* Two playlist CTAs on the present page. */
body.lp-program-detail .lp-app-promotion__button-group { display: grid; gap: 12px; }
