#custom-theater-app.ct-participants-view .ct-tool-shell {
    width: 100%;
    max-width: none;
    margin: 0;
}
#custom-theater-app.ct-participants-view .ct-view-heading { display: none; }
#custom-theater-app.ct-participants-view .ct-tool-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
#custom-theater-app.ct-participants-detail-view .ct-main {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#custom-theater-app.ct-participants-detail-view .ct-main::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}
#custom-theater-app .ctp-panel { display: grid; gap: 16px; }
#custom-theater-app .ctp-detail-head > div > span,
#custom-theater-app .ctp-group-head > div > span,
#custom-theater-app .ctp-editor-head span { color: var(--ct-red); font: 800 10px/1.2 ui-monospace, monospace; letter-spacing: .16em; }
#custom-theater-app .ctp-group-head p,
#custom-theater-app .ctp-detail-head p { margin: 0; color: var(--ct-ink-soft); font-size: 12px; line-height: 1.55; }

#custom-theater-app .ctp-poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 17px; align-items: start; }
#custom-theater-app .ctp-poster { display: block; min-width: 0; padding: 0; border: 0; color: var(--ct-navy); background: transparent; text-align: center; cursor: pointer; }
#custom-theater-app .ctp-poster-photo { position: relative; display: block; width: min(100%, 92px); aspect-ratio: 5 / 7; margin: 0 auto 9px; overflow: hidden; border-radius: 4px; background: #d7d0c8; box-shadow: 0 5px 12px rgba(29,35,39,.2); }
#custom-theater-app .ctp-poster-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
#custom-theater-app .ctp-poster-empty { display: grid; width: 100%; height: 100%; place-content: center; background: linear-gradient(145deg, #c7b7ad, #e9dfd3 57%, #adb3b8); }
#custom-theater-app .ctp-poster-empty b { color: rgba(55,59,66,.78); font: 760 33px/1 "Songti SC", serif; }
#custom-theater-app .ctp-poster strong { display: block; overflow: hidden; padding: 0 2px 8px; border-bottom: 1px solid rgba(72,65,59,.34); color: #4e4a48; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
#custom-theater-app .ctp-loading,
#custom-theater-app .ctp-empty { grid-column: 1 / -1; display: grid; min-height: 150px; place-content: center; padding: 20px; color: var(--ct-ink-soft); text-align: center; }
#custom-theater-app .ctp-empty strong { color: var(--ct-navy); }
#custom-theater-app .ctp-empty.is-error strong { color: var(--ct-red); }

#custom-theater-app .ctp-detail { display: grid; gap: 15px; }
#custom-theater-app .ctp-detail-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: start; }
#custom-theater-app .ctp-detail-head h3,
#custom-theater-app .ctp-group-head h4,
#custom-theater-app .ctp-editor-head h4 { margin: 2px 0 3px; color: var(--ct-navy); }
#custom-theater-app .ctp-refresh,
#custom-theater-app .ctp-group-head button,
#custom-theater-app .ctp-person-top button,
#custom-theater-app .ctp-editor button,
#custom-theater-app .ctp-refresh-planner button { min-height: 40px; border: 1px solid rgba(24,45,62,.36); border-radius: 3px; color: var(--ct-navy); background: rgba(255,252,239,.72); font-weight: 700; }
#custom-theater-app .ctp-refresh { display: grid; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; place-content: center; border-radius: 50%; cursor: pointer; touch-action: manipulation; }
#custom-theater-app .ctp-refresh svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#custom-theater-app .ctp-refresh:disabled { cursor: wait; opacity: .62; }
#custom-theater-app .ctp-refresh.is-refreshing svg { animation: ctp-refresh-spin .9s linear infinite; }
@keyframes ctp-refresh-spin { to { transform: rotate(360deg); } }
#custom-theater-app .ctp-groups { display: grid; gap: 18px; }
#custom-theater-app .ctp-group { display: grid; gap: 10px; }
#custom-theater-app .ctp-group + .ctp-group { padding-top: 17px; border-top: 2px solid rgba(24,45,62,.12); }
#custom-theater-app .ctp-group-head { display: flex; gap: 10px; align-items: end; justify-content: space-between; }
#custom-theater-app .ctp-group-head h4 b { display: inline-grid; min-width: 22px; height: 22px; place-content: center; border-radius: 50%; color: #fffaf0; background: var(--ct-red); font-size: 11px; }
#custom-theater-app .ctp-group-head button { flex: 0 0 auto; padding-inline: 10px; }
#custom-theater-app .ctp-person-grid { display: grid; gap: 9px; }
#custom-theater-app .ctp-person { display: grid; gap: 9px; padding: 11px; border: 1px solid rgba(24,45,62,.24); border-radius: 4px; background: rgba(255,253,244,.62); box-shadow: 0 3px 8px rgba(20,31,39,.06); }
#custom-theater-app .ctp-person-top { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 9px; align-items: center; }
#custom-theater-app .ctp-avatar { display: grid; width: 38px; height: 38px; place-content: center; border-radius: 50%; color: #fffaf0; background: var(--ct-navy); font-weight: 800; }
#custom-theater-app .ctp-person-top > div { display: grid; min-width: 0; gap: 2px; }
#custom-theater-app .ctp-person-top strong,
#custom-theater-app .ctp-person-top span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#custom-theater-app .ctp-person-top > div > span { color: var(--ct-ink-soft); font-size: 11px; }
#custom-theater-app .ctp-person-top button { min-height: 36px; padding-inline: 12px; }
#custom-theater-app .ctp-person dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; margin: 0; }
#custom-theater-app .ctp-person dl div { min-width: 0; padding: 7px; background: rgba(24,45,62,.045); }
#custom-theater-app .ctp-person dt { color: var(--ct-red); font-size: 9px; font-weight: 800; letter-spacing: .05em; }
#custom-theater-app .ctp-person dd { margin: 3px 0 0; color: var(--ct-navy); font-size: 11px; line-height: 1.45; }
#custom-theater-app .ctp-person-foot { display: flex; justify-content: space-between; color: var(--ct-ink-soft); font-size: 9px; }
#custom-theater-app .ctp-group-empty { padding: 17px; border: 1px dashed rgba(24,45,62,.2); color: var(--ct-ink-soft); text-align: center; font-size: 12px; }
#custom-theater-app .ctp-group--user .ctp-group-head > div > span { color: var(--ct-navy); }
#custom-theater-app .ctp-group--user .ctp-group-head h4 b { background: var(--ct-navy); }
#custom-theater-app .ctp-person--user { border-color: rgba(24,45,62,.5); box-shadow: inset 3px 0 0 var(--ct-navy), 0 3px 8px rgba(20,31,39,.06); }
#custom-theater-app .ctp-person--user .ctp-avatar { background: var(--ct-red); }
#custom-theater-app .ctp-user-tag { display: inline-block; margin-left: 6px; padding: 1px 5px; border-radius: 2px; color: #fffaf0; background: var(--ct-navy); font: 800 8px/1.5 ui-monospace, monospace; font-style: normal; letter-spacing: .12em; vertical-align: 2px; }

#custom-theater-app .ctp-detail.is-refresh-planning > .ctp-detail-head,
#custom-theater-app .ctp-detail.is-refresh-planning > .ctp-groups,
#custom-theater-app .ctp-detail.is-refresh-planning > .ctp-editor { display: none; }
#custom-theater-app .ctp-refresh-planner { display: grid; min-height: 270px; gap: 22px; align-content: start; padding: 5px 0 0; }
#custom-theater-app .ctp-refresh-planner[hidden] { display: none; }
#custom-theater-app .ctp-refresh-planner-head { display: flex; gap: 12px; align-items: start; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid rgba(24,45,62,.14); }
#custom-theater-app .ctp-refresh-planner-head > div > span { color: var(--ct-red); font: 800 10px/1.2 ui-monospace, monospace; letter-spacing: .16em; }
#custom-theater-app .ctp-refresh-planner-head h4 { margin: 3px 0 0; color: var(--ct-navy); font-size: 19px; }
#custom-theater-app .ctp-refresh-planner-head > button { width: 42px; min-width: 42px; padding: 0; font-size: 22px; }
#custom-theater-app .ctp-refresh-availability { min-height: 20px; margin: 0; color: var(--ct-ink-soft); font-size: 12px; line-height: 1.55; }
#custom-theater-app .ctp-refresh-availability.is-error { color: var(--ct-red); }
#custom-theater-app .ctp-refresh-range { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 10px; align-items: center; }
#custom-theater-app .ctp-refresh-range > i { color: var(--ct-ink-soft); font-style: normal; text-align: center; }
#custom-theater-app .ctp-refresh-range label { display: grid; grid-template-columns: auto minmax(54px,1fr) auto; gap: 6px; align-items: center; color: var(--ct-navy); font-size: 13px; font-weight: 800; white-space: nowrap; }
#custom-theater-app .ctp-refresh-range input { box-sizing: border-box; width: 100%; min-width: 0; height: 46px; padding: 8px 5px; border: 1px solid rgba(24,45,62,.38); border-radius: 3px; color: var(--ct-navy); background: rgba(255,255,255,.62); font: 800 17px/1 ui-monospace, monospace; text-align: center; }
#custom-theater-app .ctp-refresh-planner-actions { display: grid; grid-template-columns: minmax(82px,.7fr) minmax(0,1.6fr); gap: 9px; padding-top: 2px; }
#custom-theater-app .ctp-refresh-planner-actions button { padding: 9px 12px; }
#custom-theater-app .ctp-refresh-planner-actions .ctp-refresh-submit { color: #fffaf0; border-color: var(--ct-navy); background: var(--ct-navy); }
#custom-theater-app .ctp-refresh-planner button:disabled,
#custom-theater-app .ctp-refresh-planner input:disabled { cursor: wait; opacity: .58; }
#custom-theater-app .ctp-refresh-planner[aria-busy="true"] .ctp-refresh-availability { color: var(--ct-navy); }

#custom-theater-app .ctp-detail.is-editing > .ctp-detail-head,
#custom-theater-app .ctp-detail.is-editing > .ctp-groups { display: none; }
#custom-theater-app .ctp-editor { display: grid; gap: 12px; padding: 12px; border: 2px solid var(--ct-navy); border-radius: 4px; background: var(--ct-paper); box-shadow: 5px 5px 0 rgba(24,45,62,.13); }
#custom-theater-app .ctp-editor-head { display: flex; justify-content: space-between; align-items: start; }
#custom-theater-app .ctp-editor-head button { min-width: 40px; padding: 0; font-size: 22px; }
#custom-theater-app .ctp-form-grid,
#custom-theater-app .ctp-profile-fields { display: grid; gap: 9px; }
#custom-theater-app .ctp-form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
#custom-theater-app .ctp-editor label { display: grid; gap: 5px; color: var(--ct-navy); font-size: 11px; font-weight: 800; }
#custom-theater-app .ctp-editor input,
#custom-theater-app .ctp-editor textarea { box-sizing: border-box; width: 100%; border: 1px solid rgba(24,45,62,.34); border-radius: 3px; padding: 9px; color: var(--ct-navy); background: rgba(255,255,255,.52); font: inherit; font-weight: 400; resize: vertical; }
#custom-theater-app .ctp-editor-actions { display: grid; grid-template-columns: auto 1fr auto auto; gap: 7px; align-items: center; }
#custom-theater-app .ctp-editor-actions button { padding-inline: 12px; }
#custom-theater-app .ctp-editor-actions .ctp-delete { color: var(--ct-red); border-color: rgba(145,43,33,.4); }
#custom-theater-app .ctp-editor-actions .ctp-save { color: #fffaf0; background: var(--ct-navy); }

#custom-theater-app .ctp-image-ref { display: grid; gap: 15px; margin-top: 4px; padding-top: 16px; border-top: 2px solid rgba(24,45,62,.16); }
#custom-theater-app .ctp-image-ref[hidden] { display: none; }
#custom-theater-app .ctp-image-ref-head { display: grid; gap: 5px; }
#custom-theater-app .ctp-image-ref-head > div > span { color: var(--ct-red); font: 800 10px/1.2 ui-monospace, monospace; letter-spacing: .16em; }
#custom-theater-app .ctp-image-ref-head h5 { margin: 2px 0 0; color: var(--ct-navy); font-size: 17px; }
#custom-theater-app .ctp-image-ref-head p,
#custom-theater-app .ctp-image-ref-section > small { margin: 0; color: var(--ct-ink-soft); font-size: 10px; line-height: 1.55; }
#custom-theater-app .ctp-editor label.ctp-reference-consent { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px; align-items: start; padding: 10px; border: 1px solid rgba(145,43,33,.26); border-radius: 4px; background: rgba(145,43,33,.035); cursor: pointer; }
#custom-theater-app .ctp-reference-consent > input { width: auto; margin-top: 2px; accent-color: var(--ct-red); }
#custom-theater-app .ctp-reference-consent > span { display: grid; gap: 3px; }
#custom-theater-app .ctp-reference-consent strong { color: var(--ct-navy); font-size: 11px; }
#custom-theater-app .ctp-reference-consent small { color: var(--ct-ink-soft); font-size: 9px; line-height: 1.5; }
#custom-theater-app .ctp-image-ref-section { display: grid; gap: 8px; }
#custom-theater-app .ctp-image-ref-title { color: var(--ct-navy); font-size: 11px; font-weight: 800; }
#custom-theater-app .ctp-image-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
#custom-theater-app .ctp-editor label.ctp-image-style { position: relative; display: block; min-width: 0; cursor: pointer; }
#custom-theater-app .ctp-image-style > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#custom-theater-app .ctp-image-style > span { box-sizing: border-box; display: grid; min-height: 92px; gap: 5px; align-content: start; padding: 10px; border: 1px solid rgba(24,45,62,.2); border-radius: 4px; color: var(--ct-navy); background: rgba(255,255,255,.44); }
#custom-theater-app .ctp-image-style > span::before { content: ''; width: 8px; height: 8px; border: 1px solid rgba(24,45,62,.45); border-radius: 50%; background: transparent; }
#custom-theater-app .ctp-image-style.is-active > span { border-color: var(--ct-red); box-shadow: inset 3px 0 0 var(--ct-red); background: rgba(145,43,33,.045); }
#custom-theater-app .ctp-image-style.is-active > span::before { border-color: var(--ct-red); background: var(--ct-red); box-shadow: inset 0 0 0 2px var(--ct-paper); }
#custom-theater-app .ctp-image-style strong { font-size: 11px; }
#custom-theater-app .ctp-image-style small { color: var(--ct-ink-soft); font-size: 9px; line-height: 1.45; }
#custom-theater-app .ctp-image-prompt textarea { min-height: 105px; }

#custom-theater-app .ctp-image-slots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
#custom-theater-app .ctp-image-slot { display: grid; min-width: 0; gap: 6px; text-align: center; }
#custom-theater-app .ctp-image-preview,
#custom-theater-app .ctp-outfit-preview { overflow: hidden; border: 1px dashed rgba(24,45,62,.3); border-radius: 4px; background: rgba(24,45,62,.04) center/cover no-repeat; }
#custom-theater-app .ctp-image-preview { display: grid; width: 100%; aspect-ratio: 3 / 4; place-content: center; }
#custom-theater-app .ctp-image-preview.has-image,
#custom-theater-app .ctp-outfit-preview.has-image { border-style: solid; }
#custom-theater-app .ctp-image-preview span,
#custom-theater-app .ctp-outfit-preview span { padding: 5px; color: var(--ct-ink-soft); font-size: 9px; }
#custom-theater-app .ctp-image-slot > strong { color: var(--ct-navy); font-size: 10px; }
#custom-theater-app .ctp-editor label.ctp-upload-button,
#custom-theater-app .ctp-upload-button,
#custom-theater-app .ctp-image-remove { box-sizing: border-box; display: grid; width: 100%; min-height: 36px; padding: 7px; place-content: center; border: 1px solid rgba(24,45,62,.3); border-radius: 3px; color: var(--ct-navy); background: rgba(255,252,239,.72); font-size: 10px; font-weight: 700; cursor: pointer; }
#custom-theater-app .ctp-image-remove { color: var(--ct-red); border-color: rgba(145,43,33,.32); }

#custom-theater-app .ctp-outfit-list { display: grid; gap: 9px; }
#custom-theater-app .ctp-editor label.ctp-outfit-none { display: flex; min-height: 38px; box-sizing: border-box; flex-direction: row; gap: 7px; align-items: center; padding: 8px 10px; border: 1px dashed rgba(24,45,62,.25); border-radius: 4px; cursor: pointer; }
#custom-theater-app .ctp-editor label.ctp-outfit-none.is-active { border-style: solid; border-color: var(--ct-red); background: rgba(145,43,33,.04); }
#custom-theater-app .ctp-outfit-none input,
#custom-theater-app .ctp-outfit-head input[type="radio"] { width: auto; accent-color: var(--ct-red); }
#custom-theater-app .ctp-outfit-card { display: grid; gap: 8px; padding: 10px; border: 1px solid rgba(24,45,62,.22); border-radius: 4px; background: rgba(255,255,255,.38); }
#custom-theater-app .ctp-outfit-card.is-active { border-color: var(--ct-red); box-shadow: inset 3px 0 0 var(--ct-red); }
#custom-theater-app .ctp-outfit-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 7px; align-items: center; }
#custom-theater-app .ctp-editor .ctp-outfit-head label { display: flex; grid-auto-flow: column; gap: 4px; align-items: center; white-space: nowrap; }
#custom-theater-app .ctp-outfit-head > input { min-width: 0; }
#custom-theater-app .ctp-outfit-head > button { min-height: 38px; padding-inline: 9px; color: var(--ct-red); border-color: rgba(145,43,33,.32); }
#custom-theater-app .ctp-outfit-card > textarea { min-height: 72px; }
#custom-theater-app .ctp-outfit-image-row { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 9px; align-items: stretch; }
#custom-theater-app .ctp-outfit-preview { display: grid; min-height: 105px; place-content: center; }
#custom-theater-app .ctp-outfit-image-row > div:last-child { display: grid; gap: 6px; align-content: center; }
#custom-theater-app .ctp-outfit-image-row .ctp-image-remove { min-height: 34px; }
#custom-theater-app .ctp-outfit-image-row small { color: var(--ct-ink-soft); font-size: 9px; line-height: 1.4; }
#custom-theater-app .ctp-outfit-add { width: 100%; min-height: 42px; border-style: dashed; cursor: pointer; }
#custom-theater-app .ctp-outfit-limit { color: var(--ct-red); text-align: center; }
#custom-theater-app .ctp-editor[aria-busy="true"] .ctp-editor-actions { opacity: .72; }
#custom-theater-app .ctp-panel button:focus-visible,
#custom-theater-app .ctp-panel input:focus-visible,
#custom-theater-app .ctp-panel textarea:focus-visible { outline: 2px solid var(--ct-red); outline-offset: 2px; }

@media (hover: hover) {
    #custom-theater-app .ctp-poster:hover .ctp-poster-photo { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(29,35,39,.24); }
}
@media (max-width: 360px) {
    #custom-theater-app .ctp-poster-grid { column-gap: 11px; }
    #custom-theater-app .ctp-form-grid,
    #custom-theater-app .ctp-person dl { grid-template-columns: 1fr; }
    #custom-theater-app .ctp-editor-actions { grid-template-columns: 1fr 1fr; }
    #custom-theater-app .ctp-editor-actions span { display: none; }
    #custom-theater-app .ctp-image-style-grid { grid-template-columns: 1fr; }
    #custom-theater-app .ctp-outfit-head { grid-template-columns: 1fr auto; }
    #custom-theater-app .ctp-editor .ctp-outfit-head label { grid-column: 1 / -1; }
    #custom-theater-app .ctp-refresh-range { grid-template-columns: 1fr; gap: 7px; }
    #custom-theater-app .ctp-refresh-range > i { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
    #custom-theater-app .ctp-poster-photo { transition: none; }
    #custom-theater-app .ctp-refresh.is-refreshing svg { animation: none; }
}
@media (prefers-contrast: more) {
    #custom-theater-app .ctp-poster-photo,
    #custom-theater-app .ctp-person,
    #custom-theater-app .ctp-editor,
    #custom-theater-app .ctp-refresh-range input { border-color: currentColor; }
}
