/* UI302 — approved A appearance. Presentation only; routes, data and events stay intact. */
body.ui-a-302 {
  --a-bg:#080908; --a-panel:#121413; --a-text:#f2eddf; --a-muted:#adafa9;
  --a-gold:#ebce8e; --a-line:#9b8557; --a-soft-line:#6c603d66; --a-radius:13px;
  --a-metal:linear-gradient(135deg,#ffe9b0 0%,#edce89 48%,#c79b53 100%);
  --a-glass:linear-gradient(145deg,#1c1e1ddd,#101211f2);
  --a-nav-height:78px; background:var(--a-bg); color:var(--a-text); color-scheme:dark;
}
html body.ui-a-302 #app .app {background:var(--a-bg)!important;color:var(--a-text)!important}
html body.ui-a-302 #app .app>main:not(.home-v260):not(.s1-girl):not(.closure-player-page):not(.pv2-page):not(.hub-player-page):not(.ai-girl-host) {
  background-color:var(--a-bg)!important;
  background-image:url('/assets/ui-a-302/corner-grid.svg')!important;
  background-position:right top!important;background-repeat:no-repeat!important;background-size:100% auto!important;
}
html body.ui-a-302 #app .app:has(>.nav)>main:not(.s1-girl):not(.closure-player-page):not(.pv2-page):not(.hub-player-page):not(.home-v260) {
  padding-bottom:calc(var(--a-nav-height) + 18px + env(safe-area-inset-bottom))!important;
}
body.ui-a-302 button:focus-visible,body.ui-a-302 a:focus-visible {outline:2px solid var(--a-gold)!important;outline-offset:3px}
body.ui-a-302 button:disabled {cursor:default}

/* One shared navigation, including the original homepage and embedded tool entry points. */
html body.ui-a-302 #app .app>.nav {
  position:fixed!important;left:50%!important;right:auto!important;bottom:0!important;transform:translateX(-50%)!important;
  width:min(100%,480px)!important;height:calc(var(--a-nav-height) + env(safe-area-inset-bottom))!important;
  min-height:0!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;
  padding:5px 8px calc(5px + env(safe-area-inset-bottom))!important;margin:0!important;
  border:0!important;border-top:1px solid #b89b61!important;border-radius:0!important;
  background:linear-gradient(180deg,#171710f2,#070907fa 45%)!important;box-shadow:0 -5px 20px #0005!important;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
html body.ui-a-302 #app .app>.nav>button {
  position:relative!important;isolation:isolate;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;padding:6px 0!important;min-width:0!important;width:100%!important;height:66px!important;min-height:0!important;
  border:0!important;border-radius:0!important;margin:0!important;background:none!important;box-shadow:none!important;color:#e3e4dd!important;
  transform:none!important;overflow:visible!important;
}
html body.ui-a-302 #app .app>.nav>button::before,
html body.ui-a-302 #app .app>.nav>button::after {display:none!important;content:none!important}
html body.ui-a-302 #app .app>.nav>button>.ui-mark {
  position:relative!important;z-index:1!important;display:block!important;flex:0 0 25px!important;width:25px!important;height:25px!important;
  margin:0!important;padding:0!important;color:inherit!important;fill:none!important;stroke:currentColor!important;stroke-width:1.65!important;filter:none!important;
}
html body.ui-a-302 #app .app>.nav>button>span {
  position:relative!important;z-index:1!important;display:block!important;margin:0!important;padding:0!important;
  font-size:13px!important;line-height:18px!important;font-weight:400!important;color:inherit!important;white-space:nowrap!important;
}
html body.ui-a-302 #app .app>.nav>button:is(.active,[aria-current="page"]) {color:#f4d58b!important}
html body.ui-a-302 #app .app>.nav>button:is(.active,[aria-current="page"])::before {
  content:""!important;display:block!important;position:absolute!important;inset:50% auto auto 50%!important;
  width:min(74px,calc(100% - 8px))!important;height:66px!important;transform:translate(-50%,-50%)!important;z-index:0!important;
  border:1px solid #d8b879!important;border-radius:10px!important;
  background:radial-gradient(ellipse at 50% 0,#c6a46440,transparent 70%),linear-gradient(145deg,#252217,#0c0f0b)!important;
  box-shadow:inset 0 1px 1px #fff1b655,0 0 12px #cfac5e1f!important;
}
html body.ui-a-302 #app .app>.nav>button:is(.active,[aria-current="page"])>.ui-mark {filter:drop-shadow(0 0 4px #f3cc7460)!important}
html body.ui-a-302 #app .app>.nav>button:is(.active,[aria-current="page"])[data-go="home"]>.ui-mark,
html body.ui-a-302 #app .app>.nav>button:is(.active,[aria-current="page"])[data-go="mine"]>.ui-mark {fill:#edcb83!important}

/* Consistent page headers. Search tab / input / results layout is not rearranged. */
html body.ui-a-302 #app .app :is(.s1-header,.ac-header,.iteration-route-head,.ai-conversation-head,.closure-head,.head) {
  color:var(--a-text)!important;border-color:var(--a-soft-line)!important;background:transparent!important;min-height:58px!important;
}
html body.ui-a-302 #app .app :is(.s1-header,.ac-header,.iteration-route-head,.ai-conversation-head)>h1 {
  margin:0!important;color:var(--a-text)!important;font-size:20px!important;font-weight:700!important;line-height:1.4!important;text-align:center!important;
}
html body.ui-a-302 #app .app :is(.s1-header,.ac-header,.iteration-route-head,.ai-conversation-head)>button,
html body.ui-a-302 #app .app :is(.head .back,.ai-history-back,.s1-girl-back) {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  min-height:36px!important;min-width:62px!important;width:auto!important;height:auto!important;padding:7px 12px!important;
  border:1px solid #a18a58!important;border-radius:10px!important;background:linear-gradient(135deg,#1b1b15c9,#080a08c9)!important;
  color:var(--a-text)!important;font-size:13px!important;line-height:20px!important;font-weight:500!important;box-shadow:inset 0 1px #f6dda11a!important;
}
html body.ui-a-302 #app .app .ac-header>button {min-width:44px!important;width:44px!important;height:36px!important;padding:6px!important}
html body.ui-a-302 #app .app .ac-header>button svg {width:20px!important;height:20px!important}

/* AI search: same seven tabs, textarea, four capabilities, five hot rows and 2-column history. */
html body.ui-a-302 #app .app .ai-sample-assistant {
  position:relative!important;isolation:isolate;background:url('/assets/ui-a-302/assistant-orbit.svg') center top/100% 100% no-repeat!important;
}
html body.ui-a-302 #app .app .ai-sample-assistant h1 {color:#f0dba6!important;font-weight:750!important;text-shadow:0 2px 10px #0008!important}
html body.ui-a-302 #app .app .ai-sample-assistant .search-avatar {filter:drop-shadow(0 0 12px #d3b57635)!important;background:transparent!important}
html body.ui-a-302 #app .app .ai-sample-assistant p {color:#e0dfd4!important}
html body.ui-a-302 #app .app :is(.ai-sample-types,.ai-sample-query,.ai-capabilities>button,.ai-recent-history) {
  border:1px solid var(--a-line)!important;border-radius:12px!important;
  background:var(--a-glass)!important;box-shadow:inset 0 1px 0 #fff5d00b!important;
}
html body.ui-a-302 #app .app .ai-sample-landing .ai-sample-types>button.on,
html body.ui-a-302 #app .app .ai-type-tabs>button[data-ai-type].on {
  background:var(--a-metal)!important;color:#211b0b!important;box-shadow:inset 0 1px 1px #fff3cb,0 0 10px #d9b36629!important;
}
html body.ui-a-302 #app .app .ai-sample-landing .ai-sample-types>button:not(.on),
html body.ui-a-302 #app .app .ai-type-tabs>button[data-ai-type]:not(.on) {color:#e7e2d4!important}
html body.ui-a-302 #app .app .ai-sample-query {border-color:#9b8b685e!important;background:linear-gradient(135deg,#202321,#131613)!important}
html body.ui-a-302 #app .app .ai-sample-query:focus-within {border-color:#e5c483!important;box-shadow:0 0 0 2px #d0b26b14!important}
html body.ui-a-302 #app .app .ai-sample-query textarea {color:var(--a-text)!important}
html body.ui-a-302 #app .app .ai-sample-actions>button[type="submit"] {
  background:var(--a-metal)!important;border:1px solid #f0d697!important;color:#171608!important;border-radius:24px!important;
  box-shadow:inset 0 1px 1px #fff7d7,0 2px 9px #ca9a4326!important;font-weight:700!important;
}
html body.ui-a-302 #app .app .ai-sample-actions>.ai-image-entry {border:1px solid #8f815d66!important;background:#1c201c!important;color:#e9c982!important;box-shadow:none!important}
html body.ui-a-302 #app .app .ai-sample-tip {color:#b8bcb4!important}
html body.ui-a-302 #app .app .ai-capabilities>button {border-color:#8b79564f!important;background:linear-gradient(140deg,#1b1e1c,#0e110f)!important}
html body.ui-a-302 #app .app .ai-capabilities>button span {color:var(--a-text)!important}
html body.ui-a-302 #app .app :is(.ai-sample-block,.ai-recent-history)>header h2 {color:#ecd7a4!important}
html body.ui-a-302 #app .app .ai-sample-block>header .ui-mark {color:#e9c779!important}
html body.ui-a-302 #app .app .ai-sample-hot>div>button {color:#e9e5da!important;border-bottom:1px solid #74684832!important;background:transparent!important}
html body.ui-a-302 #app .app .ai-sample-hot>div>button>span {color:inherit!important}
html body.ui-a-302 #app .app .ai-recent-history {border-color:#9a895455!important;background:linear-gradient(135deg,#151916,#0b0e0b)!important}
html body.ui-a-302 #app .app .ai-recent-history-grid>button {color:#eee7d7!important}
html body.ui-a-302 #app .app .ai-recent-history>header>button {border:1px solid #9c8a5b77!important;color:#d8d5c9!important;background:#151913!important;border-radius:20px!important}
html body.ui-a-302 #app .app :is(.ai-answer-panel,.ai-member-result,.ai-book-card,.ai-short-card,.ai-featured-card) {border-color:#9c875850!important;background-color:#101410!important}
html body.ui-a-302 #app .app :is(.ai-sort-tabs,.ai-like-tags)>button {border-color:#87774d70!important;background:#121710!important;color:#c6c7bb!important}
html body.ui-a-302 #app .app .ai-sort-tabs>button.on {color:#ebce8e!important;border-color:#a68d50!important;background:#242318!important}
html body.ui-a-302 #app .app .ai-followup-dock {background:#111510f5!important;border-color:#ac935b!important;box-shadow:0 -6px 20px #0004!important}
html body.ui-a-302 #app .app .ai-followup-dock input {background:#171b16!important;color:var(--a-text)!important;border-color:#8c805f!important}
html body.ui-a-302 #app .app .ai-followup-dock>button {background:var(--a-metal)!important;color:#1a1709!important;border-color:#dfc181!important}
html body.ui-a-302 #app .app .ai-search-state>b {color:#eddbad!important}
html body.ui-a-302 #app .app .ai-search-state>span {color:#bec0b7!important}
html body.ui-a-302 #app .app .ai-search-state>button {min-height:40px!important;padding:8px 25px!important;border:1px solid #c4a562!important;border-radius:22px!important;background:linear-gradient(135deg,#272319,#0a0d09)!important;color:#e9d39c!important}

/* History drawer stays right-aligned with existing selection/removal controls. */
html body.ui-a-302 #app .app .ai-history-layer>.ai-history-page {background:linear-gradient(135deg,#171b16,#090c09)!important;border-left:1px solid #ab8d54!important;box-shadow:-15px 0 35px #0007!important}
html body.ui-a-302 #app .app .ai-history-page>header {border-color:#a18a5444!important;color:#eee6d6!important}
html body.ui-a-302 #app .app .ai-history-page>header h1 {color:#eedcb0!important}
html body.ui-a-302 #app .app .ai-history-item>button {border:1px solid #a48e5670!important;border-radius:10px!important;background:linear-gradient(135deg,#171a15,#0a0d09)!important;color:#e8e6da!important}
html body.ui-a-302 #app .app .ai-history-item>.ai-history-remove {border-color:#7f765357!important;color:#e5dfd1!important}
html body.ui-a-302 #app .app .ai-history-page input[type="checkbox"] {accent-color:#d4b574!important}
html body.ui-a-302 #app .app .ai-history-tools>button {border:1px solid #8e805154!important;border-radius:20px!important;background:#171b14!important;color:#d6c18e!important}
html body.ui-a-302 #app .app .ai-history-tools>button:disabled {opacity:.4!important}

/* Workshop: existing artwork and all fourteen tool routes retained. */
html body.ui-a-302 #app .app .iteration-face-page {padding-left:12px!important;padding-right:12px!important}
html body.ui-a-302 #app .app .iteration-short-launch {
  border:1px solid #a18a555e!important;border-radius:14px!important;background:#11110b!important;box-shadow:inset 0 0 30px #e3bd5312!important;
}
html body.ui-a-302 #app .app .iteration-short-launch .workshop-hero-art {filter:sepia(.82) saturate(.75) brightness(.84) contrast(1.08)!important}
html body.ui-a-302 #app .app .iteration-short-launch::after {background:linear-gradient(90deg,#0a0c06e8 0%,#0a0c0678 39%,transparent 70%)!important}
html body.ui-a-302 #app .app .iteration-short-launch h1 {color:#fff1cd!important;text-shadow:0 2px 8px #0008!important}
html body.ui-a-302 #app .app .iteration-short-launch p {color:#ecebdf!important}
html body.ui-a-302 #app .app .iteration-short-launch button {background:var(--a-metal)!important;color:#191709!important;border:1px solid #f3d897!important;border-radius:10px!important;box-shadow:inset 0 1px #fff0c3,0 3px 10px #0005!important}
html body.ui-a-302 #app .app .iteration-account-ribbon>button {border:1px solid #9e8b596e!important;border-radius:12px!important;background:var(--a-glass)!important;box-shadow:inset 0 1px #ffffe80a!important}
html body.ui-a-302 #app .app .iteration-account-ribbon b {color:#f0e2be!important}
html body.ui-a-302 #app .app .iteration-account-ribbon small {color:#b3b8ad!important}
html body.ui-a-302 #app .app .iteration-account-ribbon :is(strong,em) {color:#e8c984!important}
html body.ui-a-302 #app .app .iteration-third-features>header h2 {color:#f0dfb3!important;font-size:21px!important;line-height:1.4!important}
html body.ui-a-302 #app .app .iteration-third-features>div>button {border:1px solid #a9905c99!important;border-radius:10px!important;background:linear-gradient(135deg,#161a18,#0b100d)!important;box-shadow:inset 0 1px #fff3c90a!important}
html body.ui-a-302 #app .app .iteration-feature-copy b {color:#f2ead6!important;font-weight:700!important}
html body.ui-a-302 #app .app .iteration-feature-copy p {color:#c0c5ba!important}
html body.ui-a-302 #app .app .iteration-feature-copy small {color:#c0c5ba!important}
html body.ui-a-302 #app .app .iteration-feature-copy i {color:#edce8d!important}

/* Creation flow and cover picker: preserve step order and upload controls. */
body.ui-a-302 .iteration-short-drawer-layer {background:#0009!important;backdrop-filter:blur(5px)!important}
body.ui-a-302 .iteration-short-drawer-layer .iteration-short-drawer {background:linear-gradient(145deg,#1b1e1a,#0a0e09)!important;border:1px solid #b59959!important;border-radius:20px 20px 0 0!important;box-shadow:0 -10px 35px #0006!important}
body.ui-a-302 .iteration-short-drawer h2 {color:#f2e7cf!important}
body.ui-a-302 .iteration-short-drawer header>button {width:36px!important;height:36px!important;border:1px solid #9c8a585e!important;border-radius:10px!important;background:#131912!important;color:#e8dfca!important;font-size:22px!important}
body.ui-a-302 .iteration-short-drawer-handle {background:#b3a17b77!important}
body.ui-a-302 .iteration-short-drawer-search {background:#121810!important;border:1px solid #a18d585e!important;border-radius:12px!important}
body.ui-a-302 .iteration-short-drawer-search input {color:var(--a-text)!important;background:none!important}
body.ui-a-302 .iteration-short-drawer-search button {border:1px solid #9a895766!important;background:#25291f!important;color:#ede7d8!important;border-radius:9px!important}
body.ui-a-302 .iteration-short-drawer-list>button {background:transparent!important;border-color:#8d81512b!important;color:#eee9dc!important}
body.ui-a-302 .iteration-short-drawer-list>button.on {background:#5f512e38!important;border-color:#bda566!important}
body.ui-a-302 .iteration-short-drawer-list small,body.ui-a-302 .iteration-short-drawer-tip {color:#b0b8aa!important}
html body.ui-a-302 #app .app :is(.short-task-workbench>article,.short-task-history-card) {border:1px solid #a18d588c!important;border-radius:14px!important;background:var(--a-glass)!important;box-shadow:inset 0 1px #fff3cf0d!important}
html body.ui-a-302 #app .app .short-task-workbench>article {padding:16px!important}
html body.ui-a-302 #app .app .short-task-workbench>article>header>span {width:30px!important;height:30px!important;line-height:28px!important;flex:none!important;background:#11140e!important;border:1px solid #d0b26b!important;color:#edcd87!important;border-radius:50%!important;font-size:16px!important}
html body.ui-a-302 #app .app .short-task-workbench h2 {font-size:17px!important;line-height:1.5!important;color:#f3e6c6!important}
html body.ui-a-302 #app .app .short-task-workbench :is(header p,header small) {font-size:13px!important;line-height:1.65!important;color:#c1c7b9!important}
html body.ui-a-302 #app .app .short-task-workbench header>button,
html body.ui-a-302 #app .app .short-task-history>header>button {border:1px solid #ae9258!important;background:linear-gradient(135deg,#232419,#0d120c)!important;color:#edd59b!important;border-radius:10px!important;min-height:38px!important;padding:7px 10px!important;font-size:13px!important}
html body.ui-a-302 #app .app .short-task-file>button {border:1px dashed #a590586e!important;border-radius:12px!important;background:#0b100baa!important;min-height:90px!important;padding:15px!important}
html body.ui-a-302 #app .app .short-task-file>button :is(b,span) {color:#f0e5ce!important;font-size:14px!important}
html body.ui-a-302 #app .app .short-task-file>button small {font-size:12px!important;color:#a9b3a5!important}
html body.ui-a-302 #app .app .short-task-file>button em {font-size:13px!important;color:#eacd8c!important}
html body.ui-a-302 #app .app .short-task-description textarea {min-height:128px!important;border:1px solid #8d865f77!important;background:linear-gradient(135deg,#1c231c,#121810)!important;color:#eee9dc!important;font-size:14px!important;line-height:1.7!important;border-radius:10px!important}
html body.ui-a-302 #app .app .short-task-description>small {color:#d3d4c7!important;font-size:12px!important}
html body.ui-a-302 #app .app .short-task-submit {background:var(--a-metal)!important;border:1px solid #f0d79b!important;border-radius:12px!important;min-height:46px!important;color:#181809!important;font-size:16px!important;font-weight:700!important;box-shadow:inset 0 1px #fff1c4!important}
html body.ui-a-302 #app .app .short-task-submit:disabled {opacity:.5!important}
html body.ui-a-302 #app .app .short-task-agreement {color:#c1c7b9!important;font-size:13px!important;line-height:1.7!important}
html body.ui-a-302 #app .app .short-task-empty {border:1px dashed #9c85565e!important;background:#0b100a!important;color:#c9ccb9!important;border-radius:12px!important;font-size:14px!important;padding:24px 16px!important}
html body.ui-a-302 #app .app .short-task-history h2 {font-size:17px!important;color:#ebdcbb!important}
html body.ui-a-302 #app .app :is(.short-creation-tabs,.closure-library-tabs) {border:1px solid #9a855d66!important;border-radius:12px!important;background:linear-gradient(145deg,#191d16,#0e120b)!important}
html body.ui-a-302 #app .app :is(.short-creation-tabs,.closure-library-tabs)>button {color:#c4c7b9!important;background:transparent!important}
html body.ui-a-302 #app .app :is(.short-creation-tabs,.closure-library-tabs)>button.on {border:1px solid #c7a76b!important;background:linear-gradient(145deg,#282718,#111609)!important;color:#efd294!important;box-shadow:inset 0 1px #eed7a036!important;border-radius:10px!important}
html body.ui-a-302 #app .app .short-creation-state>h2 {font-size:22px!important;color:#f1ddb0!important}
html body.ui-a-302 #app .app .short-creation-state>p {font-size:14px!important;line-height:1.75!important;color:#c5c9ba!important}
html body.ui-a-302 #app .app .short-creation-state>button {font-size:15px!important;min-height:44px!important;border:1px solid #c0a064!important;border-radius:12px!important;background:#10170c!important;color:#f2d492!important}
html body.ui-a-302 #app .app .short-creation-state::before {content:"";display:block;width:150px;height:116px;background:url('/assets/ui-a-302/empty-film.svg') center/contain no-repeat;margin:0 auto 15px}

/* Mine, membership and wallet — retain every menu row, entitlement and package. */
html body.ui-a-302 #app .app .mine-gold-tools {color:#f0e4c9!important}
html body.ui-a-302 #app .app .mine-gold-profile {color:#f2eadd!important}
html body.ui-a-302 #app .app .mine-gold-avatar {border-color:#b49655!important;box-shadow:0 0 12px #b8933b1a!important}
html body.ui-a-302 #app .app .mine-gold-login {border:1px solid #c0a468!important;border-radius:22px!important;color:#e9d196!important;background:linear-gradient(145deg,#211f14,#0e120a)!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button {border:1px solid #b49a625e!important;border-radius:13px!important;overflow:hidden!important}
html body.ui-a-302 #app .app .mine-gold-wallet :is(b,em) {color:#f1daa1!important}
html body.ui-a-302 #app .app .mine-gold-services {border:1px solid #93815a66!important;border-radius:14px!important;background:linear-gradient(145deg,#1b1e1b,#0f140e)!important;box-shadow:inset 0 1px #fff4d509!important}
html body.ui-a-302 #app .app .mine-gold-services>button {color:#e9e7d9!important;border-color:#8d82512d!important;min-height:54px!important}
html body.ui-a-302 #app .app .mine-gold-services em {color:#aeb5a7!important}
html body.ui-a-302 #app .app .ac-toolbar button {color:#dedbc8!important}
html body.ui-a-302 #app .app :is(.membership-summary,.coin-gold-summary) {border:1px solid #b2995d88!important;border-radius:14px!important;box-shadow:inset 0 1px #f8df9626!important}
html body.ui-a-302 #app .app .membership-summary {background:#11160e url('/assets/ui-a-302/assistant-orbit.svg') right center/80% 130% no-repeat!important}
html body.ui-a-302 #app .app .member-gold-user b {color:#f3e7cc!important}
html body.ui-a-302 #app .app .member-gold-status {color:#bcc3b4!important}
html body.ui-a-302 #app .app .member-gold-status b {color:#ebd197!important}
html body.ui-a-302 #app .app .s1-recharge-tabs {border:1px solid #9f8b5766!important;border-radius:12px!important;background:var(--a-glass)!important}
html body.ui-a-302 #app .app .s1-recharge-tabs>button {color:#b7beaf!important;border-radius:9px!important;background:none!important}
html body.ui-a-302 #app .app .s1-recharge-tabs>button[aria-pressed="true"] {color:#18170b!important;background:var(--a-metal)!important;box-shadow:inset 0 1px #fff2c8!important}
html body.ui-a-302 #app .app :is(.s1-pack-title,.s1-section-title) {color:#ecdfba!important}
html body.ui-a-302 #app .app .s1-packages>button {border-color:#a58b5d88!important;border-radius:13px!important;background:linear-gradient(145deg,#24271e,#11170e)!important;color:#e8e4d6!important}
html body.ui-a-302 #app .app .s1-packages>button[aria-pressed="true"] {border-color:#f4dca4!important;background:var(--a-metal)!important;color:#211c0b!important;box-shadow:0 0 15px #d8b57427!important}
html body.ui-a-302 #app .app .s1-packages>button[aria-pressed="true"] :is(b,strong,small,span) {color:#211c0b!important}
html body.ui-a-302 #app .app :is(.s1-card-copy,.s1-recharge-disclaimer,.s1-benefits small) {color:#b4bcae!important}
html body.ui-a-302 #app .app .s1-benefits b {color:#e8e5d8!important}
html body.ui-a-302 #app .app .s1-recharge-action .s1-cta {border:1px solid #f0d194!important;border-radius:12px!important;background:var(--a-metal)!important;color:#1c190c!important;box-shadow:inset 0 1px #fff2c8!important}
html body.ui-a-302 #app .app .s1-recharge-action .s1-cta :is(b,small) {color:#28200d!important}
html body.ui-a-302 #app .app :is(.rc-member-card,.rc-upgrade-offer) {border-color:#b0986090!important;background-color:#181c12!important;color:#e4d7b6!important}
html body.ui-a-302 #app .app .rc-member-card.is-selected {border-color:#e4c485!important;box-shadow:0 0 12px #dfbe6b22!important}
html body.ui-a-302 #app .app .rc-member-checkout {border-color:#9e87576b!important;background:#11170ffa!important}
html body.ui-a-302 #app .app .rc-member-checkout>button {background:var(--a-metal)!important;color:#201b0b!important}

/* Original AI girlfriend art, text, blur, mask and composition are deliberately untouched. */
html body.ui-a-302 #app .app .s1-girl-start .s1-cta {background:var(--a-metal)!important;border:1px solid #f1d49c!important;border-radius:13px!important;color:#171608!important;box-shadow:inset 0 1px #fff4c5,0 5px 18px #0004!important}
html body.ui-a-302 #app .app .s1-girl-start .s1-cta b {color:#171608!important}

/* Account subpages / real collections / order history / settings. */
html body.ui-a-302 #app .app :is(.ac-setting-row,.ac-card,.ac-bubble,.s1-order,.s1-library>button,.short-creation-card,.closure-library-works>article) {border:1px solid #a08a565e!important;border-radius:12px!important;background:var(--a-glass)!important;color:#e9e5d7!important;box-shadow:inset 0 1px #fff1c70a!important}
html body.ui-a-302 #app .app .ac-setting-row {min-height:58px!important;padding:16px!important}
html body.ui-a-302 #app .app :is(.ac-setting-row small,.ac-card p,.ac-thread time,.s1-order small,.s1-library small) {color:#adb6a5!important}
html body.ui-a-302 #app .app .ac-card h2,html body.ui-a-302 #app .app .ac-card b {color:#eeddba!important}
html body.ui-a-302 #app .app .ac-page {padding-left:16px!important;padding-right:16px!important}
html body.ui-a-302 #app .app .ac-invite-hero {background:#151c10 url('/assets/ui-a-302/assistant-orbit.svg') center/cover!important;border:1px solid #a68e5966!important;border-radius:14px!important;color:#e8d299!important}
html body.ui-a-302 #app .app .ac-own-code button {color:#f0d59d!important;border:1px solid #ac925c!important;background:#141b0f!important}
html body.ui-a-302 #app .app :is(.ac-empty,.s1-library .s1-empty) {color:#ead7a4!important}
html body.ui-a-302 #app .app .s1-library .s1-empty::before {content:"";display:block;width:150px;height:116px;background:url('/assets/ui-a-302/empty-folder.svg') center/contain no-repeat;margin:0 auto 20px}
html body.ui-a-302 #app .app .s1-library .s1-empty>p {font-size:23px!important;font-weight:700!important;color:#f1ddb1!important}
html body.ui-a-302 #app .app .s1-library .s1-empty>small {font-size:14px!important;line-height:1.7!important;color:#bcc3b4!important}
html body.ui-a-302 #app .app .ac-empty>svg {filter:sepia(.8) saturate(.6)!important}
html body.ui-a-302 #app .app :is(.s1-pagination,.ac-page) button:not(.ac-setting-row):not(.ac-card):not(.ac-primary) {border-color:#998352!important}
html body.ui-a-302 #app .app .s1-order p {font-size:13px!important;color:#d0d4c4!important}

/* Shared dialogs / native forms. Keep the user's payment-brand colors and status colors. */
html body.ui-a-302 :is(.s1-dialog,.ai-feature-gate,.offline-player-dialog,.closure-modal,.ai-image-dialog) {
  background:linear-gradient(140deg,#1b201aff,#0b100aff)!important;border:1px solid #b89b6099!important;
  border-radius:16px!important;color:var(--a-text)!important;box-shadow:inset 0 1px #f9dda036,0 16px 70px #0009!important;
}
html body.ui-a-302 .s1-dialog>header {border-bottom:1px solid #ac905355!important;padding-bottom:15px!important}
html body.ui-a-302 .s1-dialog>header h2 {color:#f3e4bd!important;display:flex;align-items:center;gap:10px}
html body.ui-a-302 .s1-dialog>header h2::before {content:"";width:4px;height:21px;background:linear-gradient(#ffe7ad,#b99751);border-radius:2px;flex:none}
html body.ui-a-302 :is(.s1-dialog>header>button,.offline-player-dialog>header>button,.ai-image-dialog>header>button) {background:#10180d!important;border:1px solid #aa945d88!important;border-radius:10px!important;color:#e8ddbf!important;width:36px!important;height:36px!important;font-size:22px!important}
html body.ui-a-302 .s1-dialog label {color:#dddccf!important}
html body.ui-a-302 .s1-dialog-note {color:#b6bead!important;line-height:1.75!important}
html body.ui-a-302 :is(.s1-dialog,.ac-page) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea,select) {
  border:1px solid #8a886766!important;border-radius:10px!important;background:linear-gradient(140deg,#242b22,#171e14)!important;
  color:#eee8d9!important;font-size:15px!important;box-shadow:inset 0 1px #ffffff08!important;outline:none!important;
}
html body.ui-a-302 :is(.s1-dialog,.ac-page) :is(input,textarea,select):focus {border-color:#d6b570!important;box-shadow:0 0 0 2px #c7a45c18!important}
html body.ui-a-302 :is(input,textarea)::placeholder {color:#939d8c!important;opacity:1}
html body.ui-a-302 :is(.s1-gradient,.ac-primary,.ai-feature-primary) {border:1px solid #f0d398!important;border-radius:12px!important;background:var(--a-metal)!important;color:#201b0a!important;box-shadow:inset 0 1px #fff4cb!important;font-weight:700!important}
html body.ui-a-302 .s1-dialog form>button:not(.s1-gradient),
html body.ui-a-302 .s1-dialog .s1-row-button {border:1px solid #ac935f88!important;border-radius:12px!important;background:linear-gradient(140deg,#22271d,#10170b)!important;color:#e5e3d3!important}
html body.ui-a-302 .ai-feature-gate h2 {color:#f0e2c1!important}
html body.ui-a-302 .ai-feature-gate :is(strong,.ai-feature-tiers) {color:#efd498!important}
html body.ui-a-302 .ai-feature-gate p {color:#c2c8b9!important}
html body.ui-a-302 .ai-feature-gate footer button {border:1px solid #ad956492!important;border-radius:11px!important;background:var(--a-glass)!important;color:#e6e2d3!important}
html body.ui-a-302 .ai-feature-gate footer .ai-feature-primary {background:var(--a-metal)!important;color:#211b08!important;border-color:#ecd197!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog {background:linear-gradient(145deg,#1c211a,#0c1209)!important;border-color:#a98b56!important;color:#e8e2cd!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog :is(.s1-dialog-note,.s1-pay-result,.s1-payment-unavailable,.s1-payment-order,.s1-pay-help,.s1-pay-help h3,.s1-pay-help li,.s1-pay-help p) {color:#c0c6b4!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog>header h2 {color:#f0e3be!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-amount>span {color:#d3d7c5!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-methods>button {border-color:#8f8e6277!important;background:#1c2516!important;color:#e1e6d6!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-methods>button[aria-pressed="true"] {border-color:#d7b777!important;background:#292b18!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .rc-pay-method-name {color:#eee4cb!important}

/* Additional catalog / download / reader surfaces, without touching playback control geometry. */
html body.ui-a-302 #app .app :is(.hub-page,.closure-library-page,.download-page,.downloads-page,.offline-library,.ai-book-results) {color:#e9e4d5!important}
html body.ui-a-302 #app .app :is(.hub-filter,.hub-filters,.hub-sort,.theater-mode-tabs,.movie-card,.vertical-row,.hub-card,.download-card,.offline-card) {border-color:#9a845366!important;background-color:#11180d!important}
html body.ui-a-302 #app .app :is(.hub-filters,.hub-sort,.theater-mode-tabs) button.on {background:#342d18!important;border-color:#c6a565!important;color:#e8ce8f!important}
html body.ui-a-302 #app .app :is(.hub-card,.movie-card,.vertical-row) :is(h2,h3) {color:#f0e2bd!important}
html body.ui-a-302 #app .app :is(.iteration-short-steps,.iteration-short-studio,.iteration-partner-results) {border-color:#9e885866!important;background-color:#12190e!important}
html body.ui-a-302 #app .app .iteration-short-steps .on {color:#ebd39b!important}
html body.ui-a-302 #app .app :is(.iteration-avatar-upload,.iteration-short-ready) button {border-color:#ab905a!important;color:#efd496!important;background:#252919!important}
html body.ui-a-302 #app .app :is(.short-creation-card,.short-task-history-card)[data-status="failed"] {border-color:#b76f5c88!important}
html body.ui-a-302 #app .app :is(.offline-header,.hub-header,.hub-detail-head) {color:#eee2c3!important;border-color:#a38b554f!important;background-color:transparent!important}
html body.ui-a-302 #app .app :is(.offline-header>a,.hub-back-text) {display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:44px!important;min-height:36px!important;border:1px solid #a18a58!important;border-radius:10px!important;background:#171b13!important;color:#eddfbf!important}
html body.ui-a-302 #app .app .offline-tabs {border-color:#9a855d66!important;background:#151b11!important;border-radius:12px!important}
html body.ui-a-302 #app .app .offline-tabs>button {background:transparent!important;color:#c2c5b7!important}
html body.ui-a-302 #app .app .offline-tabs>button[aria-selected="true"] {background:var(--a-metal)!important;color:#201b0c!important;border-color:#e4c88b!important}
html body.ui-a-302 #app .app :is(.offline-card,.hub-detail-body,.hub-synopsis,.hub-list-card) {border-color:#a18b5766!important;background-color:#121710!important}
html body.ui-a-302 #app .app .offline-card-actions button {border-color:#a48a54!important;color:#e9d097!important;background:#212619!important}
html body.ui-a-302 #app .app .offline-empty {color:#c1c7b8!important}
html body.ui-a-302 #app .app .ac-card .ac-art {filter:sepia(.9) saturate(.7)!important}
html body.ui-a-302 :is(.browse-resume-panel,.app-service-dialog,.playback-access-dialog,.trial-expiry-dialog,.ui-entitlement-dialog,.ai-region-dialog,.pv2-sheet,.closure-info-modal,.closure-confirm-modal) {
  background:linear-gradient(140deg,#1b1f1a,#0c100b)!important;border:1px solid #b2985d99!important;
  border-radius:16px!important;color:#eee4c9!important;box-shadow:inset 0 1px #f5d8932a,0 12px 50px #0007!important;
}
html body.ui-a-302 :is(.browse-resume-panel,.app-service-dialog,.playback-access-dialog,.trial-expiry-dialog,.ui-entitlement-dialog,.ai-region-dialog,.pv2-sheet) :is(h2,h3) {color:#ecdcaf!important}
html body.ui-a-302 .browse-resume-panel p {color:#bdc4b3!important}
html body.ui-a-302 .browse-resume-panel button {border:1px solid #ae935c!important;background:#1a2114!important;color:#e7e1cd!important}
html body.ui-a-302 .browse-resume-panel button[data-browse-resume="continue"] {background:var(--a-metal)!important;color:#211b09!important;border-color:#e8cc92!important}
html body.ui-a-302 :is(.pv2-sheet,.app-service-dialog,.playback-access-dialog,.trial-expiry-dialog) button {border-color:#ad945d80!important}
html body.ui-a-302 #app [hidden] {display:none!important}
@media(max-width:360px) {
  html body.ui-a-302 #app .app>.nav {padding-left:3px!important;padding-right:3px!important}
  html body.ui-a-302 #app .app>.nav>button>span {font-size:11px!important}
  html body.ui-a-302 #app .app .short-task-workbench>article {padding:12px!important}
  html body.ui-a-302 #app .app .short-task-workbench h2 {font-size:16px!important}
}
@media(prefers-reduced-motion:reduce) {html body.ui-a-302 #app .app>.nav>button {transition:none!important}}

/* UI303: wide cinema/series stage, independent of poster/media orientation. */
html body.ui-a-302 #app .pv2-page.pv2-cinema:not(.pv2-page-full):not(.pv2-rotate-full) {
  height:auto!important;min-height:100dvh!important;overflow:visible!important;background:#080908!important;
}
html body.ui-a-302 #app .pv2-page:is(.pv2-cinema,.pv2-long104):not(.pv2-page-full):not(.pv2-rotate-full)>.pv2-stage {
  position:relative!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:16/9!important;overflow:hidden!important;background:#000!important;
}
html body.ui-a-302 #app .pv2-cinema .pv2-video,
html body.ui-a-302 #app .pv2-cinema .pv2-error-cover {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;transform:none!important;background:#000!important;
}
html body.ui-a-302 #app .pv2-cinema .pv2-head {
  position:absolute!important;inset:6px auto auto 6px!important;transform:none!important;width:auto!important;padding:0!important;
}
html body.ui-a-302 #app .pv2-cinema .pv2-controls-with-line {
  grid-template-columns:38px 31px minmax(0,1fr) 31px 30px 30px 48px!important;
  column-gap:2px!important;padding:4px!important;
}
html body.ui-a-302 #app .pv2-cinema .pv2-inline-line {
  width:48px!important;min-width:0!important;max-width:48px!important;padding:0!important;font-size:9px!important;
  background:transparent!important;border:0!important;white-space:nowrap!important;
}
html body.ui-a-302 #app .pv2-cinema-details {padding:16px 14px 12px;border-bottom:1px solid #9b855744;background:#0e100e}
html body.ui-a-302 #app .pv2-cinema-details>.pv2-info {
  position:static!important;inset:auto!important;width:auto!important;margin:0!important;padding:0!important;
  transform:none!important;opacity:1!important;visibility:visible!important;
}
html body.ui-a-302 #app .pv2-cinema-details>.pv2-info h1 {margin:0 0 6px!important;color:#f2eddf!important;font-size:20px!important;text-shadow:none!important}
html body.ui-a-302 #app .pv2-cinema-details>.pv2-info p {color:#c5c4b9!important;text-shadow:none!important}
html body.ui-a-302 #app .pv2-cinema-details>.pv2-social {
  position:static!important;inset:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:space-around!important;gap:12px!important;width:100%!important;margin:14px 0 0!important;
  transform:none!important;opacity:1!important;visibility:visible!important;
}
html body.ui-a-302 #app .pv2-cinema-details>.pv2-social button {flex:1;min-width:0;color:#e9e1cf!important;text-shadow:none!important}
html body.ui-a-302 #app .pv2-cinema-details>.pv2-social i {border-color:#b39a6470!important}
html body.ui-a-302 #app .pv2-cinema:is(.pv2-page-full,.pv2-rotate-full)>.pv2-cinema-details {display:none!important}
html body.ui-a-302 #app .pv2-cinema:is(.pv2-page-full,.pv2-rotate-full)>.pv2-stage {width:100%!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important}
/* Fullscreen must override the shared main-page auto height and nav padding. */
html body.ui-a-302 #app .app>.pv2-page.pv2-rotate-full {
  width:100dvh!important;height:100vw!important;min-height:0!important;max-height:none!important;max-width:none!important;
  padding:0!important;margin:0!important;overflow:hidden!important;
}
html body.ui-a-302 #app .app>.pv2-page.pv2-page-full {
  width:100vw!important;height:100dvh!important;min-height:0!important;max-height:none!important;max-width:none!important;
  padding:0!important;margin:0!important;overflow:hidden!important;
}

/* UI304: white reading text, restrained gold accents and a full-color workshop hero. */
body.ui-a-302 {--a-bg:#090a0c;--a-panel:#17191d;--a-text:#f5f6f8;--a-muted:#adb2bc;--a-glass:linear-gradient(145deg,#1a1c20ee,#111216f5)}
html body.ui-a-302 #app .app :is(.ai-sample-assistant h1,.ai-sample-block>header h2,.ai-recent-history>header h2,.ai-search-state>b,.ai-history-page>header h1,.iteration-short-launch h1,.iteration-account-ribbon b,.iteration-third-features>header h2,.iteration-feature-copy b,.short-task-workbench h2,.short-task-history h2,.short-creation-state>h2,.s1-pack-title,.s1-section-title,.s1-benefits b,.member-gold-user b,.ac-card h2,.ac-card b,.hub-card h2,.hub-card h3,.movie-card h2,.movie-card h3,.vertical-row h2,.vertical-row h3) {color:#f5f6f8!important}
html body.ui-a-302 #app .app :is(.ai-sample-assistant p,.ai-sample-tip,.iteration-account-ribbon small,.iteration-feature-copy p,.iteration-feature-copy small,.short-task-workbench header p,.short-task-workbench header small,.short-task-agreement,.short-creation-state>p,.s1-card-copy,.s1-recharge-disclaimer,.s1-benefits small,.ac-setting-row small,.ac-card p,.s1-library small,.member-gold-status) {color:#b8bec8!important}
html body.ui-a-302 #app .app :is(.mine-gold-tools,.mine-gold-profile,.mine-gold-services>button,.ai-recent-history-grid>button,.ai-history-item>button) {color:#f5f6f8!important}
html body.ui-a-302 #app .app :is(.ai-sample-query,.ai-capabilities>button,.ai-recent-history,.mine-gold-services,.short-creation-tabs,.closure-library-tabs,.ai-history-layer>.ai-history-page) {background:var(--a-glass)!important}
html body.ui-a-302 #app .app :is(.ai-answer-panel,.ai-member-result,.ai-book-card,.ai-short-card,.ai-featured-card,.hub-card,.movie-card,.vertical-row,.offline-card,.hub-list-card,.iteration-short-steps,.iteration-short-studio) {background-color:#131519!important}
html body.ui-a-302 #app .app .ai-sample-hot>div>button {display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-width:0!important;min-height:43px!important;padding:9px 10px!important;color:#f5f6f8!important;border-bottom:1px solid #ffffff14!important;text-align:left!important}
html body.ui-a-302 #app .app .ai-sample-hot>div>button>span {flex:1!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#f5f6f8!important}
html body.ui-a-302 #app .app .ai-sample-hot>div>button>svg {display:block!important;flex:none!important;width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body.ui-a-302 #app .app .ai-sample-hot>div>button>.ai-ranked-search {color:#e7ce98!important}
html body.ui-a-302 #app .app .ai-sample-hot>div>button>.ai-ranked-enter {width:16px!important;height:16px!important;color:#c7cbd3!important;margin-left:auto!important}
html body.ui-a-302 #app .app .iteration-short-launch .workshop-hero-art {filter:none!important}
html body.ui-a-302 #app .app .iteration-short-launch::after {background:linear-gradient(90deg,#08090cbb 0%,#08090c55 39%,transparent 65%)!important}
html body.ui-a-302 #app .app .iteration-short-launch p {color:#f2f3f5!important}
html body.ui-a-302 :is(.s1-dialog,.offline-player-dialog,.ai-image-dialog,.browse-resume-panel,.app-service-dialog,.playback-access-dialog,.trial-expiry-dialog,.ui-entitlement-dialog,.ai-region-dialog,.pv2-sheet) {background:linear-gradient(145deg,#1c1e23,#101216)!important;color:#f5f6f8!important}
html body.ui-a-302 :is(.s1-dialog>header h2,.ai-feature-gate h2,.browse-resume-panel h2,.app-service-dialog h2,.playback-access-dialog h2,.trial-expiry-dialog h2,.pv2-sheet h2) {color:#f5f6f8!important}
html body.ui-a-302 :is(.s1-dialog label,.s1-dialog-note,.ai-feature-gate p,.browse-resume-panel p) {color:#c0c5cf!important}
html body.ui-a-302 :is(.s1-dialog,.ac-page) :is(input,textarea,select) {background:#121419!important;color:#f5f6f8!important}

/* Payment keeps its original amount/method/order handlers; a neutral light sheet restores contrast. */
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog {background:#fff!important;color:#202530!important;border:1px solid #e3e6ec!important;border-radius:22px 22px 0 0!important;box-shadow:0 -12px 60px #0006!important;padding:20px 18px calc(18px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 18px)!important;overflow-y:auto!important;color-scheme:light}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog>header {padding:0 0 16px!important;border:0!important;align-items:center!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog>header h2 {color:#202530!important;font-size:19px!important;line-height:1.4!important;text-shadow:none!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog>header h2::before {display:none!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog>header>button {background:#f0f2f6!important;color:#626a79!important;border:0!important;border-radius:50%!important;width:30px!important;height:30px!important;box-shadow:none!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-amount {padding:10px 0 20px!important;text-align:center!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-amount>span {color:#626a79!important;font-size:14px!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-amount strong {color:#ee5c3c!important;font-size:27px!important;font-weight:750!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-methods {gap:10px!important;background:transparent!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-methods>button {min-height:64px!important;border:1px solid #e1e5ed!important;border-radius:13px!important;background:#f8f9fc!important;color:#202530!important;padding:12px!important;box-shadow:none!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-methods>button[aria-pressed="true"] {background:#f2efff!important;border:1.5px solid #7554e8!important;box-shadow:0 0 0 2px #7554e80c!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .rc-pay-method-name {color:#202530!important;font-size:18px!important;font-weight:600!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .rc-pay-check {color:#fff!important;background:#c3c9d3!important;border:0!important;box-shadow:none!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog [aria-pressed="true"] .rc-pay-check {background:#7651ed!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-help {background:#f3f5f8!important;border:1px solid #e8ebf0!important;border-radius:12px!important;padding:14px!important;margin:16px 0!important;color:#525e70!important;text-align:left!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-help :is(p,li) {color:#525e70!important;font-size:12px!important;line-height:1.8!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-help h3 {color:#293445!important;font-size:13px!important;margin:0 0 7px!important;font-weight:700!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-gradient {min-height:48px!important;border:0!important;border-radius:13px!important;background:linear-gradient(100deg,#6655e8,#8254ed)!important;color:#fff!important;box-shadow:0 5px 14px #7254e826!important;font-size:16px!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-support {background:#f7f8fa!important;border:1px solid #e6e9ef!important;border-radius:11px!important;color:#667083!important;margin-top:12px!important;min-height:40px!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog .s1-pay-support span {color:#6c4edd!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog :is(.s1-dialog-note,.s1-pay-result,.s1-payment-order) {color:#525e70!important}
html body.ui-a-302 .s1-dialog-layer.s1-reference-payment-layer .s1-dialog.s1-reference-payment-dialog :is(.s1-form-error,.s1-payment-unavailable) {background:#fff2ed!important;color:#ad3d21!important;border-color:#f2c3b5!important}

/* 305: compact technology account cards, with original live values/actions retained. */
html body.ui-a-302 #app .app .iteration-account-ribbon {gap:9px!important;align-items:stretch!important}
html body.ui-a-302 #app .app .iteration-account-ribbon>button {--ribbon-accent:#ebcd8c;--ribbon-glow:#d5a94b2b;position:relative!important;isolation:isolate;overflow:hidden!important;min-width:0!important;min-height:174px!important;padding:13px 11px 10px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;border:1px solid #99845a77!important;border-radius:15px!important;background:radial-gradient(ellipse at 95% 0,var(--ribbon-glow),transparent 70%),linear-gradient(145deg,#1b1c22,#101116 75%)!important;box-shadow:inset 0 1px #fff1be21,0 8px 20px #0002!important;transition:transform .15s,border-color .15s}
html body.ui-a-302 #app .app .iteration-account-ribbon>button:nth-child(2){--ribbon-accent:#bdd6ff;--ribbon-glow:#78a5ff24}
html body.ui-a-302 #app .app .iteration-account-ribbon>button:nth-child(3){--ribbon-accent:#d4c1ff;--ribbon-glow:#ac81fc28}
html body.ui-a-302 #app .app .iteration-account-ribbon>button::before {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(120deg,transparent 53%,#ffffff05 53.5%,transparent 54%),repeating-linear-gradient(90deg,transparent 0 25px,#ffffff03 26px 27px);pointer-events:none}
html body.ui-a-302 #app .app .iteration-account-ribbon>button::after {content:"";position:absolute;left:14px;right:40%;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--ribbon-accent),transparent);box-shadow:0 0 9px var(--ribbon-accent);pointer-events:none}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art {display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff24;border-radius:12px;margin-bottom:11px;background:linear-gradient(140deg,#ffffff15,#ffffff02);color:var(--ribbon-accent);box-shadow:inset 0 1px #ffffff1a,0 3px 15px var(--ribbon-glow);transform:rotate(-5deg)}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art svg {width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 0 4px var(--ribbon-glow));transform:rotate(5deg)}
html body.ui-a-302 #app .app .iteration-account-ribbon b {font-size:15px!important;line-height:22px!important;color:#fafafa!important;white-space:nowrap!important}
html body.ui-a-302 #app .app .iteration-account-ribbon small {font-size:11px!important;line-height:18px!important;min-height:42px!important;letter-spacing:-.15px!important;color:#aeb5c5!important}
html body.ui-a-302 #app .app .iteration-account-ribbon strong {display:block!important;line-height:24px!important;color:var(--ribbon-accent)!important;font-size:18px!important;font-weight:750!important;font-variant-numeric:tabular-nums}
html body.ui-a-302 #app .app .iteration-account-ribbon em {display:block!important;width:100%!important;box-sizing:border-box!important;min-height:46px!important;padding-top:9px!important;margin-top:auto!important;border-top:1px solid #ffffff12!important;font-size:11px!important;line-height:18px!important;font-style:normal!important;color:var(--ribbon-accent)!important;white-space:normal!important;overflow-wrap:anywhere!important;letter-spacing:-.3px!important}
html body.ui-a-302 #app .app .iteration-account-ribbon>button:active {transform:translateY(1px);border-color:var(--ribbon-accent)!important}

/* One title line, then duration and play count. Preserve image ratio and click target. */
html body.ui-a-302 #app .app .ai-search-results :is(.ai-conversation-card>b,.ai-short-title,.ai-full-movie-card>h3,.ai-full-theater-card h3,.ai-masked-title) {display:block!important;min-width:0!important;min-height:0!important;max-height:none!important;height:auto!important;width:100%!important;box-sizing:border-box!important;padding:7px 7px 3px!important;margin:0!important;line-height:20px!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;-webkit-line-clamp:unset!important;color:#f5f6f8!important}
html body.ui-a-302 #app .app .ai-search-results .ai-video-meta {position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;padding:0 7px 8px!important;margin:0!important;width:100%!important;height:auto!important;box-sizing:border-box!important;line-height:16px!important;font-size:10px!important;font-weight:400!important;color:#aeb7c7!important;background:none!important;overflow:hidden!important;white-space:nowrap!important;min-height:0!important}
html body.ui-a-302 #app .app .ai-search-results .ai-video-meta>span {display:inline-flex!important;align-items:center!important;gap:3px!important;min-width:0!important;flex:0 1 auto!important;font-size:inherit!important;color:inherit!important;padding:0!important;background:none!important;position:static!important;height:auto!important;aspect-ratio:auto!important}
html body.ui-a-302 #app .app .ai-search-results .ai-video-meta svg {width:11px!important;height:11px!important;flex:none!important;stroke:currentColor!important;fill:none!important;stroke-width:1.25!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body.ui-a-302 #app .app .ai-search-results :is(.ai-short-card,.ai-conversation-card,.ai-full-movie-card) {height:auto!important;padding-bottom:0!important}
@media(max-width:360px){html body.ui-a-302 #app .app .iteration-account-ribbon {gap:6px!important}html body.ui-a-302 #app .app .iteration-account-ribbon>button{padding-left:8px!important;padding-right:8px!important}html body.ui-a-302 #app .app .iteration-account-ribbon b{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){html body.ui-a-302 #app .app .iteration-account-ribbon>button{transition:none!important}}

/* 306: shared neutral cover placeholders, including recommendation/loading/error states. */
html:root {--ai-placeholder-portrait:url('/assets/placeholders/cover-portrait-v306.svg');--ai-placeholder-landscape:url('/assets/placeholders/cover-landscape-v306.svg');--ai-placeholder-square:url('/assets/placeholders/content-square-v306.svg');--ai-placeholder-brand:none;--ai-placeholder-surface:#141519}
html body.ui-a-302 img[data-ai-placeholder] {background-color:#141519!important;background-image:var(--ai-placeholder-image,var(--ai-placeholder-square))!important;background-size:cover!important;background-position:center!important}
html body.ui-a-302 img.ai-image-loading {background-image:linear-gradient(105deg,transparent 30%,#ffffff09 46%,transparent 65%),var(--ai-placeholder-image,var(--ai-placeholder-square))!important;background-size:220% 100%,cover!important;animation:ai-placeholder-shimmer 1.65s ease-in-out infinite}
html body.ui-a-302 img.ai-image-ready {background-image:none!important;background-color:transparent!important}
@media(prefers-reduced-motion:reduce){html body.ui-a-302 img.ai-image-loading{animation:none!important}}

/* 308: compact membership benefits, five per row and reference ribbon. */
html body.ui-a-302 #app .app .is-member-center .rc-benefits-ribbon {
  display:flex!important;align-items:center;justify-content:center;gap:10px!important;
  min-height:32px;margin:24px 0 20px!important;padding:5px 16px!important;border:0!important;
  background:linear-gradient(100deg,#f2f4f7,#fff,#f2f4f7)!important;color:#746b60!important;
  font-size:16px!important;line-height:22px!important;font-weight:600!important;letter-spacing:.04em;
  text-align:center;white-space:nowrap;box-shadow:none!important;
  clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px);
}
html body.ui-a-302 #app .app .is-member-center .rc-benefits-ribbon::before,
html body.ui-a-302 #app .app .is-member-center .rc-benefits-ribbon::after {
  content:""!important;position:static!important;inset:auto!important;display:block!important;
  flex:1 1 0;width:auto!important;max-width:60px;min-width:10px;height:1px!important;
  background:linear-gradient(90deg,transparent,#9e9181)!important;transform:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
html body.ui-a-302 #app .app .is-member-center .rc-benefits-ribbon::after {
  background:linear-gradient(90deg,#9e9181,transparent)!important;
}
html body.ui-a-302 #app .app .rc-member-benefits .s1-benefits {
  grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:20px 6px!important;padding:0 0 8px!important;
}
html body.ui-a-302 #app .app .rc-member-benefits .s1-benefits>div {
  min-width:0;gap:8px!important;
}
html body.ui-a-302 #app .app .rc-member-benefits .s1-benefits :is(.s1-art,.benefit-icon-v268) {
  width:clamp(42px,12vw,52px)!important;height:clamp(42px,12vw,52px)!important;
  margin:0!important;border-radius:14px!important;filter:none!important;
}
html body.ui-a-302 #app .app .rc-member-benefits .s1-benefits b {
  margin:0!important;color:#f5f6f8!important;font-size:clamp(10px,2.9vw,12px)!important;
  line-height:1.5!important;font-weight:500!important;text-align:center;overflow-wrap:anywhere;
}
html body.ui-a-302 #app .app .rc-member-benefits .s1-benefits>.s1-empty {grid-column:1/-1}

/* 309: approved workshop artwork and complete 4:3 feature cards. */
html body.ui-a-302 #app .app .iteration-third-features>div {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
}
html body.ui-a-302 #app .app .iteration-third-features>div>button {
  position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;
  grid-template-columns:none!important;gap:0!important;min-width:0!important;min-height:0!important;height:auto!important;
  padding:0!important;aspect-ratio:auto!important;overflow:hidden!important;text-align:left!important;
  border:1px solid #b9995d66!important;border-radius:13px!important;background:linear-gradient(135deg,#181b20,#0d1015)!important;
  box-shadow:0 6px 20px #0002!important;
}
html body.ui-a-302 #app .app .iteration-third-features>div>button .iteration-feature-cover {
  position:static!important;inset:auto!important;display:block!important;flex:none!important;align-self:stretch!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:4/3!important;
  object-fit:contain!important;object-position:center!important;opacity:1!important;transform:none!important;
  border:0!important;border-radius:0!important;filter:none!important;background:#0a0c10!important;
}
html body.ui-a-302 #app .app .iteration-feature-number {
  position:absolute!important;top:8px!important;left:8px!important;display:block!important;pointer-events:none;
  padding:3px 5px!important;border:1px solid #ccb07655!important;border-radius:5px!important;background:#080a0cb8!important;
  color:#eed8ac!important;font-size:10px!important;font-weight:400!important;line-height:1.2!important;backdrop-filter:blur(6px);
}
html body.ui-a-302 #app .app .iteration-feature-copy {
  position:static!important;inset:auto!important;transform:none!important;grid-column:auto!important;flex:1!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;
  align-content:center!important;align-items:start!important;gap:4px 7px!important;width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;padding:12px 10px!important;background:none!important;text-align:left!important;
}
html body.ui-a-302 #app .app .iteration-feature-copy b {
  display:block!important;grid-column:1!important;grid-row:1!important;margin:0!important;color:#f5f6f8!important;
  font-size:14px!important;line-height:1.45!important;font-weight:700!important;text-shadow:none!important;overflow-wrap:anywhere;
}
html body.ui-a-302 #app .app .iteration-feature-copy small {
  display:block!important;grid-column:1!important;grid-row:2!important;margin:0!important;color:#a8afb9!important;
  font-size:11px!important;line-height:1.6!important;white-space:normal!important;text-shadow:none!important;overflow-wrap:anywhere;
}
html body.ui-a-302 #app .app .iteration-feature-copy i {
  position:static!important;display:block!important;grid-column:2!important;grid-row:1/3!important;align-self:center!important;
  margin:0!important;padding:8px 7px!important;min-height:32px!important;border:1px solid #f0d49d!important;border-radius:7px!important;
  background:linear-gradient(120deg,#f2d79d,#c6a15f)!important;color:#211b10!important;font-size:11px!important;
  font-weight:650!important;line-height:1.3!important;font-style:normal!important;white-space:nowrap!important;text-align:center!important;
}
@media(max-width:359px){
  html body.ui-a-302 #app .app .iteration-third-features>div{gap:8px!important}
  html body.ui-a-302 #app .app .iteration-feature-copy{padding:10px 7px!important;column-gap:5px!important}
  html body.ui-a-302 #app .app .iteration-feature-copy b{font-size:13px!important}
  html body.ui-a-302 #app .app .iteration-feature-copy small{font-size:10px!important}
  html body.ui-a-302 #app .app .iteration-feature-copy i{padding:8px 5px!important;font-size:10px!important}
}

/* 310: compact account instruments; existing live data and actions unchanged. */
html body.ui-a-302 #app .app .iteration-account-ribbon {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;gap:9px!important;margin:0 0 22px!important;
}
html body.ui-a-302 #app .app .iteration-account-ribbon>button {
  --ribbon-accent:#f0ce8b;--ribbon-light:#ffebbc;--ribbon-glow:#e4af4c22;
  position:relative!important;isolation:isolate;overflow:hidden!important;min-width:0!important;
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:22px minmax(70px,1fr) 42px!important;
  align-items:start!important;align-content:stretch!important;justify-content:stretch!important;gap:0!important;
  min-height:154px!important;height:auto!important;padding:13px 11px 8px!important;
  border:1px solid #ad94633d!important;border-radius:14px!important;text-align:left!important;
  background:radial-gradient(ellipse at 100% 45%,var(--ribbon-glow),transparent 65%),linear-gradient(150deg,#20242b 0,#12161c 48%,#0a0e13 100%)!important;
  box-shadow:inset 0 1px #ffffff15,inset 0 -1px #0008,0 6px 12px #0003!important;
  transition:transform .18s ease,border-color .18s ease!important;
}
html body.ui-a-302 #app .app .iteration-account-ribbon>button:nth-child(2) {
  --ribbon-accent:#a5d7ef;--ribbon-light:#dcf4ff;--ribbon-glow:#67b3db1d;
}
html body.ui-a-302 #app .app .iteration-account-ribbon>button:nth-child(3) {
  --ribbon-accent:#cdb9f4;--ribbon-light:#f0e6ff;--ribbon-glow:#a881eb1c;
}
html body.ui-a-302 #app .app .iteration-account-ribbon>button::before {
  content:""!important;position:absolute!important;z-index:-1!important;inset:auto -20px 22px 20px!important;
  height:47px!important;background:repeating-linear-gradient(90deg,#ccd6eb08 0 1px,transparent 1px 17px),repeating-linear-gradient(0deg,#ccd6eb08 0 1px,transparent 1px 13px)!important;
  transform:perspective(100px) rotateX(48deg) rotateZ(-15deg)!important;
  opacity:.6;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000);
}
html body.ui-a-302 #app .app .iteration-account-ribbon>button::after {
  content:""!important;position:absolute!important;left:14px!important;right:45%!important;top:0!important;height:1px!important;
  background:linear-gradient(90deg,transparent,var(--ribbon-accent),transparent)!important;
  box-shadow:0 0 7px var(--ribbon-glow)!important;pointer-events:none;
}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art {
  position:absolute!important;z-index:0!important;right:10px!important;top:49px!important;
  display:grid!important;place-items:center!important;width:44px!important;height:44px!important;margin:0!important;
  border:1px solid #ffffff46!important;border-bottom-color:#ffffff13!important;border-radius:12px!important;
  color:var(--ribbon-light)!important;background:linear-gradient(140deg,#ffffff18,#ffffff05 45%,#05080e99)!important;
  box-shadow:inset 1px 1px #ffffff1c,2px 3px 0 #080b13,3px 4px 0 #b3c7e225,0 9px 18px #0009,0 0 22px var(--ribbon-glow)!important;
  transform:perspective(160px) rotateY(-18deg) rotateX(9deg) rotateZ(8deg)!important;pointer-events:none;
}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art::before {
  content:"";position:absolute;inset:6px;border:1px solid #ffffff10;border-radius:8px;pointer-events:none;
}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art::after {
  content:"";position:absolute;left:4px;right:4px;bottom:-13px;height:4px;border-radius:50%;
  background:var(--ribbon-accent);opacity:.28;filter:blur(5px);pointer-events:none;
}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art svg {
  width:29px!important;height:29px!important;fill:var(--ribbon-glow)!important;stroke:currentColor!important;
  stroke-width:1.65!important;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 1px 1px #000) drop-shadow(0 0 5px var(--ribbon-glow))!important;transform:none!important;
}
html body.ui-a-302 #app .app .iteration-account-ribbon b {
  position:relative;z-index:1;grid-row:1!important;margin:0!important;font-size:14px!important;line-height:22px!important;
  font-weight:700!important;letter-spacing:.01em!important;color:#f3f5f8!important;white-space:nowrap!important;
}
html body.ui-a-302 #app .app .iteration-account-ribbon small {
  position:relative;z-index:1;grid-row:2!important;align-self:center!important;display:block!important;
  width:calc(100% - 39px)!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
  color:#a4adbc!important;font-size:11px!important;font-weight:400!important;line-height:17px!important;
  letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere!important;text-shadow:0 1px 5px #070b11;
}
html body.ui-a-302 #app .app .iteration-account-ribbon strong {
  display:block!important;margin-top:2px!important;font-size:25px!important;font-weight:650!important;line-height:29px!important;
  font-variant-numeric:tabular-nums;letter-spacing:-.03em!important;color:var(--ribbon-light)!important;overflow-wrap:anywhere;
}
html body.ui-a-302 #app .app .iteration-account-ribbon em {
  position:relative;z-index:1;grid-row:3!important;align-self:stretch!important;display:flex!important;align-items:center!important;
  width:100%!important;min-height:0!important;margin:0!important;padding:7px 0 0!important;border:0!important;border-top:1px solid #ffffff0d!important;
  background:none!important;color:var(--ribbon-accent)!important;font-size:11px!important;font-style:normal!important;font-weight:500!important;
  line-height:17px!important;letter-spacing:-.2px!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html body.ui-a-302 #app .app .iteration-account-ribbon>button:active {
  transform:translateY(1px)!important;border-color:var(--ribbon-accent)!important;
}
@media(max-width:370px){
  html body.ui-a-302 #app .app .iteration-account-ribbon{gap:7px!important}
  html body.ui-a-302 #app .app .iteration-account-ribbon>button{padding:11px 8px 8px!important;min-height:152px!important;grid-template-rows:21px minmax(70px,1fr) 42px!important}
  html body.ui-a-302 #app .app .iteration-account-ribbon b{font-size:13px!important}
  html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art{right:7px!important;top:51px!important;width:36px!important;height:36px!important;border-radius:10px!important}
  html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art svg{width:24px!important;height:24px!important}
  html body.ui-a-302 #app .app .iteration-account-ribbon small{width:calc(100% - 30px)!important}
  html body.ui-a-302 #app .app .iteration-account-ribbon strong{font-size:23px!important}
}
@media(prefers-reduced-motion:reduce){html body.ui-a-302 #app .app .iteration-account-ribbon>button{transition:none!important}}

/* Cover badges sit at opposite corners; ranking metadata stays in its info panel. */
html body.ui-a-302 #app .app .hub-card-badges{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;min-width:0!important;line-height:1.15!important}
html body.ui-a-302 #app .app .hub-card-badges .hub-pay-badge,
html body.ui-a-302 #app .app .hub-card-badges .hub-play-count{position:static!important;inset:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:20px!important;margin:0!important;padding:3px 7px!important;border-radius:999px!important;white-space:nowrap!important;font-size:10px!important;line-height:1.15!important;font-style:normal!important;font-weight:500!important;flex:none!important}
html body.ui-a-302 #app .app .hub-card-badges .hub-pay-badge{color:#201604!important;background:linear-gradient(140deg,#f2d388,#d4a151)!important;border:0!important;box-shadow:inset 0 1px 0 #ffe9b56b!important}
html body.ui-a-302 #app .app .hub-card-badges .hub-play-count{color:#b9bdb4!important;background:#090d0b9e!important;border:.75px solid #85877e8a!important;padding:3px 6px!important;font-size:9px!important;font-weight:400!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.ui-a-302 #app .app :is(.hub-portrait-cover,.hub-movie-cover-media){position:relative!important;overflow:hidden!important}
html body.ui-a-302 #app .app :is(.hub-portrait-cover,.hub-movie-cover-media)>.hub-card-badges{position:absolute!important;inset:0!important;display:block!important;z-index:3!important;pointer-events:none}
html body.ui-a-302 #app .app :is(.hub-portrait-cover,.hub-movie-cover-media)>.hub-card-badges>.hub-pay-badge{position:absolute!important;inset:6px auto auto 6px!important}
html body.ui-a-302 #app .app :is(.hub-portrait-cover,.hub-movie-cover-media)>.hub-card-badges>.hub-play-count{position:absolute!important;inset:auto 6px 6px auto!important;max-width:calc(100% - 12px)!important}
html body.ui-a-302 #app .app :is(.hub-portrait-cover,.hub-movie-cover-media)::after{content:"";position:absolute;inset:65% 0 0;pointer-events:none;background:linear-gradient(transparent,#060906d9);z-index:1}
html body.ui-a-302 #app .app .hub-list-info>.hub-card-badges{position:static!important;flex-wrap:wrap!important;justify-content:flex-start!important;margin-top:4px!important;align-self:end!important}
html body.ui-a-302 #app .app .hub-ranking-card .hub-list-info.has-rank{grid-template-rows:auto auto minmax(min-content,1fr) auto auto!important;row-gap:5px!important}
html body.ui-a-302 #app .app .hub-ranking-card .hub-list-info.has-rank>.hub-card-badges{grid-row:5!important}
html body.ui-a-302 #app .app .hub-ranking-card .hub-list-info.no-rank{display:flex!important;flex-direction:column!important;gap:5px!important}
html body.ui-a-302 #app .app .hub-ranking-card .hub-list-info.no-rank>.hub-episode-count{margin-block:auto!important}

/* 315: generated artwork with live HTML account information. */
html body.ui-a-302 #app .app .iteration-account-ribbon>button{min-height:180px!important;padding:14px 11px 8px!important;grid-template-rows:23px minmax(94px,1fr) 34px!important;background:linear-gradient(155deg,#1c222b,#0c1017 72%)!important;border-color:#68768845!important;border-radius:16px!important;box-shadow:inset 0 1px #ffffff13,0 7px 20px #0004!important}
html body.ui-a-302 #app .app .iteration-account-ribbon>button::before{content:none!important;display:none!important}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art{top:40px!important;right:-5px!important;width:110px!important;height:110px!important;border:0!important;border-radius:0!important;background-color:transparent!important;background-repeat:no-repeat!important;background-size:auto 110px!important;background-position:right center!important;box-shadow:none!important;transform:none!important;opacity:1!important;mask-image:linear-gradient(90deg,transparent,#000 23%,#000 94%,transparent),linear-gradient(transparent,#000 13%,#000 86%,transparent);mask-composite:intersect}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art-coins{background-image:url('/assets/member-art-315/coins.webp')!important}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art-member{background-image:url('/assets/member-art-315/membership.webp')!important}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art-works{background-image:url('/assets/member-art-315/creations.webp')!important}
html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art :is(svg),html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art::before,html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art::after{display:none!important;content:none!important}
html body.ui-a-302 #app .app .iteration-account-ribbon small{align-self:start!important;margin-top:14px!important;width:100%!important;font-size:10px!important;line-height:16px!important;color:#d0d7e1!important;text-shadow:0 1px 4px #000,0 0 7px #000!important}
html body.ui-a-302 #app .app .iteration-account-ribbon strong{font-size:27px!important;line-height:31px!important;margin-top:2px!important;text-shadow:0 2px 8px #05070b!important}
html body.ui-a-302 #app .app .iteration-account-ribbon [data-short-creation-summary]{max-width:64%!important}
html body.ui-a-302 #app .app .iteration-account-ribbon em{padding-top:5px!important;font-size:11px!important;line-height:16px!important;border-top-color:#ffffff16!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button{position:relative!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;min-height:157px!important;aspect-ratio:1.43!important;border:1px solid #7d899954!important;border-radius:17px!important;overflow:hidden!important;box-shadow:inset 0 1px #fff2,0 6px 18px #0003!important;background:#111722!important}
html body.ui-a-302 #app .app .mine-gold-wallet .mine-wallet-art{display:block!important;opacity:1!important;filter:none!important;object-fit:cover!important;object-position:right center!important;width:100%!important;height:100%!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button::after{content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:linear-gradient(90deg,#080d15b3,transparent 73%)!important;border:0!important;transform:none!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button>:is(span,.mine-member-copy){z-index:2!important}
html body.ui-a-302 #app .app .mine-gold-wallet b{font-size:25px!important;line-height:1.2!important;color:#fff!important;letter-spacing:.02em!important;text-shadow:0 2px 8px #0006!important}
html body.ui-a-302 #app .app .mine-gold-wallet small{font-size:11px!important;color:#d3dce9!important;text-shadow:0 1px 5px #000!important}
html body.ui-a-302 #app .app .mine-gold-wallet em{display:inline-flex!important;align-items:center!important;align-self:flex-start!important;padding:6px 9px!important;border:1px solid #d8c39a70!important;border-radius:7px!important;background:#14181dcc!important;color:#f4d99b!important;line-height:16px!important;font-size:11px!important;backdrop-filter:blur(6px)}
html body.ui-a-302 #app .app .mine-gold-wallet [data-member-emblems]{inset:12px 12px auto auto!important;width:auto!important;height:25px!important;gap:4px!important;opacity:1!important}
html body.ui-a-302 #app .app .mine-gold-wallet [data-member-emblems] svg{position:static!important;width:25px!important;height:25px!important;transform:none!important}
html body.ui-a-302 #app .app .member-gold-summary{isolation:isolate!important;min-height:162px!important;background:#0c121b url('/assets/member-art-315/member-hero.webp') right center/cover no-repeat!important;border:1px solid #91a9c544!important;border-radius:18px!important;box-shadow:inset 0 1px #ffffff12,0 9px 28px #0003!important;overflow:hidden!important}
html body.ui-a-302 #app .app .member-gold-summary::before,html body.ui-a-302 #app .app .member-gold-summary::after{display:none!important;content:none!important}
html body.ui-a-302 #app .app .member-gold-summary .member-summary-emblem{display:none!important}
html body.ui-a-302 #app .app .member-gold-summary .member-gold-user,html body.ui-a-302 #app .app .member-gold-summary .member-gold-status{position:relative!important;z-index:1!important;max-width:68%!important;text-shadow:0 1px 4px #000!important}
html body.ui-a-302 #app .app .s1-recharge-tabs{gap:8px!important;padding:0!important;margin:22px 0 24px!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body.ui-a-302 #app .app .s1-recharge-tabs button{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:62px!important;padding:10px 14px!important;border-radius:13px!important;background:linear-gradient(145deg,#202731,#131921)!important;border:1px solid #8995a630!important;box-shadow:inset 0 1px #ffffff0c!important;color:#9faebf!important;overflow:hidden!important;transition:background .16s,border-color .16s!important}
html body.ui-a-302 #app .app .s1-recharge-tabs button[aria-pressed="true"]{background:linear-gradient(125deg,#f6dfad,#d2aa63)!important;border-color:#f0d396!important;color:#291d0b!important;box-shadow:inset 0 1px #fff4d9,0 4px 14px #ceaf7024!important}
html body.ui-a-302 #app .app .s1-recharge-tabs button[data-rech-kind="ai"][aria-pressed="true"]{background:linear-gradient(125deg,#ddf2ff,#88bbda)!important;border-color:#bce5ff!important;color:#102938!important;box-shadow:inset 0 1px #f2fbff,0 4px 14px #73b1d724!important}
html body.ui-a-302 #app .app .rc-kind-icon{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;flex:none!important}
html body.ui-a-302 #app .app .rc-kind-icon svg{width:28px!important;height:28px!important;filter:drop-shadow(0 1px 1px #0003)!important}
html body.ui-a-302 #app .app .rc-kind-label{font-size:14px!important;font-weight:700!important;color:inherit!important;letter-spacing:.04em!important}
html body.ui-a-302 #app .app .is-member-center .rc-benefits-ribbon{background:none!important;clip-path:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;min-height:28px!important;color:#e9e6df!important;letter-spacing:.08em!important;font-weight:600!important;margin:26px 0 22px!important}
html body.ui-a-302 #app .app .is-member-center .rc-benefits-ribbon::before,html body.ui-a-302 #app .app .is-member-center .rc-benefits-ribbon::after{max-width:48px!important;opacity:.6!important}
html body.ui-a-302 #app .app .is-member-center .s1-recharge-action .s1-cta small{color:#a62236!important;font-size:12px!important;font-weight:650!important;line-height:1.65!important;white-space:normal!important}
html body.ui-a-302 #app .app .rc-upgrade-welfare{grid-column:1/-1!important;margin:4px 0 0!important;text-align:center!important;color:#ff8593!important;font-size:12px!important;line-height:1.7!important;font-weight:600!important}
@media(max-width:370px){html body.ui-a-302 #app .app .iteration-account-ribbon{gap:6px!important}html body.ui-a-302 #app .app .iteration-account-ribbon>button{padding-inline:8px!important}html body.ui-a-302 #app .app .iteration-account-ribbon .ribbon-art{width:94px!important;height:102px!important;background-size:auto 102px!important;right:-8px!important;top:47px!important}html body.ui-a-302 #app .app .iteration-account-ribbon b{font-size:12px!important}html body.ui-a-302 #app .app .mine-gold-wallet>button{min-height:143px!important;padding:15px 10px!important}html body.ui-a-302 #app .app .mine-gold-wallet b{font-size:23px!important}html body.ui-a-302 #app .app .mine-gold-wallet em{font-size:10px!important;padding:5px 7px!important}html body.ui-a-302 #app .app .s1-recharge-tabs button{gap:7px!important;padding-inline:8px!important}}
@media(prefers-reduced-motion:reduce){html body.ui-a-302 #app .app .s1-recharge-tabs button{transition:none!important}}

/* 315: Home shorts/costume/rankings keep a tall stage, independent of media dimensions. */
html body.ui-a-302 #app .app>.pv2-home-portrait:not(.pv2-page-full):not(.pv2-rotate-full){height:auto!important;min-height:100dvh!important;overflow:visible!important;padding:0!important}
html body.ui-a-302 #app .app>.pv2-home-portrait:not(.pv2-page-full):not(.pv2-rotate-full)>.pv2-stage{position:relative!important;width:100%!important;height:100dvh!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;background:#000!important;overflow:hidden!important}
html body.ui-a-302 #app .pv2-home-portrait :is(.pv2-video,.pv2-error-cover){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}

/* 316: active membership is expressed by the card art and upgrade action. */
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art){background:radial-gradient(ellipse at 13% 0%,#fff9e6 0%,transparent 58%),linear-gradient(120deg,#f7e2b4,#edc37d 52%,#fae9c6)!important;border-color:#ffecc7!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art) [data-member-description]{display:none!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art)>.mine-member-copy{min-height:108px!important;justify-content:space-between!important;gap:12px!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art) .mine-member-copy>b{max-width:65%!important;font-size:42px!important;line-height:1.15!important;font-weight:900!important;font-style:italic;letter-spacing:-1px!important;background:linear-gradient(175deg,#825019 8%,#b36c22 40%,#fff3c8 48%,#bb7726 58%,#6f3d0e 95%);-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 1px 0 #fff5d9)}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card][data-member-kind="ai"]:not(.uses-original-member-art) .mine-member-copy>b{max-width:100%!important;font-size:26px!important;letter-spacing:-.5px!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art) .mine-member-copy>em{display:inline-flex!important;align-items:center;justify-content:center;align-self:flex-start;margin:0!important;padding:5px 10px!important;min-height:30px;border:1px solid #c89955!important;border-radius:18px;background:linear-gradient(#fff6db,#edbf78);box-shadow:inset 0 1px 0 #fff9e8,0 2px 4px #9b5b1820;color:#613814!important;font-size:12px!important;line-height:18px!important;font-weight:750!important;white-space:nowrap}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art)>.mine-member-emblems{position:absolute!important;display:block!important;inset:auto!important;right:-7px!important;top:11px!important;width:118px!important;height:118px!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art) .mine-member-emblems>.membership-card-crown{position:absolute!important;transform:none!important;left:auto!important;right:0!important;top:0!important;width:118px!important;height:118px!important;filter:drop-shadow(0 6px 7px #9d5d2330)}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card][data-member-kind="ai"]:not(.uses-original-member-art) .mine-member-emblems>.membership-card-crown{right:0!important;top:25px!important;width:94px!important;height:94px!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-member-kind="dual"]:not(.uses-original-member-art) .mine-member-emblems>.membership-emblem+.membership-emblem{left:auto!important;right:14px!important;top:76px!important;width:34px!important;height:34px!important;filter:drop-shadow(0 2px 4px #49362c44)}
@media(max-width:359px){html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art) .mine-member-copy>b{font-size:36px!important}html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card][data-member-kind="ai"]:not(.uses-original-member-art) .mine-member-copy>b{font-size:24px!important}html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art)>.mine-member-emblems{right:-16px!important}}

html body.ui-a-302 #app .app .mine-gold-wallet>[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art)>[data-member-default-art]{display:none!important}
html body.ui-a-302 #app .app .mine-gold-wallet>[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art)::after{display:none!important;content:none!important}
html body.ui-a-302 #app .app .mine-gold-wallet>[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art) .mine-member-copy>b{text-shadow:none!important}
html body.ui-a-302 #app .app .mine-gold-wallet>[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art) .mine-member-copy>em{backdrop-filter:none!important;background:linear-gradient(#fff6db,#edbf78)!important;border-radius:18px!important;box-shadow:inset 0 1px 0 #fff9e8,0 2px 4px #9b5b1820!important}
html body.ui-a-302 #app .app .mine-gold-wallet>[data-s1-membership-card]:not([data-member-kind="none"]):not(.uses-original-member-art) .mine-member-emblems>.membership-emblem--ai{position:absolute!important;inset:auto!important;right:14px!important;top:88px!important;width:27px!important;height:27px!important;transform:none!important;filter:drop-shadow(0 2px 4px #49362c44)!important}

/* The media surface handles vertical gestures; details/recommendations retain page scrolling. */
html body.ui-a-302 #app .pv2-vertical .pv2-stage>:is(.pv2-video,.pv2-error-cover,.pv2-shade){touch-action:pan-x pinch-zoom!important;user-select:none!important;-webkit-user-drag:none}

/* Version 1, 2026-09-24: moved home artwork to the workshop; shared portrait cards. */
html body.ui-a-302 #app .app .home-v260 .feed-card{aspect-ratio:auto!important;border:0!important;border-radius:0!important;overflow:visible!important;background:none!important;box-shadow:none!important}
html body.ui-a-302 #app .app .home-v260 .feed-cover{position:relative!important;inset:auto!important;aspect-ratio:2/3!important;height:auto!important;border:1px solid #bfa46788!important;border-radius:8px!important;box-sizing:border-box!important}
html body.ui-a-302 #app .app .home-v260 .feed-cover::after{inset:65% 0 0!important;background:linear-gradient(transparent,#060906d9)!important}
html body.ui-a-302 #app .app .home-v260 .feed-meta{position:static!important;inset:auto!important;margin:7px 0 0!important;pointer-events:auto!important}
html body.ui-a-302 #app .app .home-v260 .feed-meta b,
html body.ui-a-302 #app .app .hub-portrait-card h3{display:block!important;margin:0!important;font-size:14px!important;line-height:1.5!important;font-weight:500!important;color:#f5f6f8!important;text-shadow:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.ui-a-302 #app .app .hub-portrait-card h3{margin-top:7px!important}
html body.ui-a-302 #app .app .home-v260 .feed-meta small,
html body.ui-a-302 #app .app .hub-portrait-card>small{display:block!important;margin-top:4px!important;font-size:12px!important;line-height:1.5!important;color:#aeb4bf!important}
html body.ui-a-302 #app .app .hub-portrait-cover{aspect-ratio:2/3!important;border:1px solid #bfa46788!important;border-radius:8px!important;box-sizing:border-box!important}
html body.ui-a-302 #app .app .home-v260 .feed-cover>.hub-pay-badge{position:absolute!important;inset:6px auto auto 6px!important;min-width:0!important;min-height:20px!important;padding:3px 7px!important;font-size:10px!important;border-radius:999px!important}
html body.ui-a-302 #app .app .home-v260 .feed-cover>.hub-play-count{position:absolute!important;inset:auto 6px 6px auto!important;min-height:20px!important;max-width:calc(100% - 12px)!important;padding:3px 6px!important;font-size:9px!important;border-radius:999px!important}
html body.ui-a-302 #app .app .workshop-home-hero{aspect-ratio:1513/1040!important;min-height:300px!important;padding:0!important;background:#090905!important}
html body.ui-a-302 #app .app .workshop-home-hero .workshop-hero-art{object-position:center!important}
html body.ui-a-302 #app .app .workshop-home-hero::after{background:linear-gradient(90deg,#08090c80,transparent 63%)!important}
html body.ui-a-302 #app .app .workshop-home-hero>.workshop-hero-topline{position:relative!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:14px!important;display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important;z-index:2}
html body.ui-a-302 #app .app .workshop-home-hero .home-brand{max-width:55%!important;gap:3px!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-brand b{font-size:23px!important;line-height:1.15!important;color:#f4dea0!important;white-space:nowrap!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-brand>span{font-size:10px!important;color:#ddd2b6!important;white-space:nowrap!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-promotion{max-width:46%!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-welcome{min-height:42px!important;padding:6px 8px!important;gap:5px!important;background:#090a08d9!important;color:#efd28a!important;border-color:#d8b969!important;border-radius:8px!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-welcome svg{width:20px!important;height:20px!important;color:#e5c578!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-welcome b{font-size:12px!important;color:#efd28a!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-welcome em{font-size:10px!important;color:#e4dfd4!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-timed-offer{gap:5px!important;min-height:42px!important;padding:5px 7px!important;border-color:#b49b61!important;border-radius:8px!important;background:#090a08d9!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-offer span{font-size:10px!important;white-space:nowrap!important;color:#efd28a!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-offer b{font-size:13px!important;color:#efd28a!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-recharge{min-height:30px!important;padding:4px 7px!important;font-size:11px!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-offer-loading{min-width:100px!important;min-height:42px!important;font-size:11px!important;color:#d9c386!important;border-color:#b49b61!important;background:#090a08d9!important}
html body.ui-a-302 #app .app .workshop-home-hero>.workshop-hero-copy{position:relative!important;width:43%!important;max-width:43%!important;box-sizing:border-box!important;margin:22px 0 20px 16px!important;gap:12px!important;z-index:1}
html body.ui-a-302 #app .app .workshop-home-hero .workshop-hero-copy h1{font-size:28px!important;color:#f4dea0!important;white-space:nowrap!important}
html body.ui-a-302 #app .app .workshop-home-hero .workshop-hero-copy p{font-size:12px!important;line-height:1.65!important}
html body.ui-a-302 #app .app .workshop-home-hero .workshop-hero-copy button{min-height:38px!important;padding:8px 16px!important;font-size:14px!important}
@media(max-width:370px){
 html body.ui-a-302 #app .app .workshop-home-hero .home-brand b{font-size:20px!important}
 html body.ui-a-302 #app .app .workshop-home-hero>.workshop-hero-topline{padding:12px!important}
 html body.ui-a-302 #app .app .workshop-home-hero>.workshop-hero-copy{width:46%!important;max-width:46%!important;margin-left:12px!important}
 html body.ui-a-302 #app .app .workshop-home-hero .workshop-hero-copy h1{font-size:25px!important}
}

/* Version 1, 2026-09-24: original provider UI lives only in the workshop slot. */
html body.ui-a-302 #app .app .iteration-provider-section>.ai-h5-inline-slot{display:block!important;position:relative!important;min-width:0!important;width:100%!important;height:max(560px,calc(var(--app-viewport,100dvh) - 92px))!important;min-height:560px!important;padding:0!important;border:1px solid #a18a555e!important;border-radius:14px!important;overflow:hidden!important;box-sizing:border-box!important;background:#101115!important}
.ai-h5-inline-portal{position:absolute!important;right:auto!important;bottom:auto!important;z-index:90!important;transform:none!important;margin:0!important;padding:0!important;min-height:0!important;border-radius:14px!important;background:#101115!important;overflow:hidden!important;box-sizing:border-box!important}
.ai-h5-inline-portal[hidden]{display:none!important}
.ai-h5-inline-portal>.ai-girl-frame{display:block!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:14px!important}
.ai-h5-inline-state{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:16px!important;min-height:240px!important;padding:24px!important;text-align:center!important;color:#d5d8df!important;font-size:14px!important;line-height:1.7!important}
html body.ui-a-302 #app .app .ai-h5-inline-state>button{display:block!important;min-height:40px!important;padding:9px 24px!important;border:1px solid #d5b773!important;border-radius:9px!important;background:linear-gradient(135deg,#f4dea0,#c7a057)!important;color:#231b0c!important;font:inherit!important}
.ai-h5-inline-portal .ai-h5-resume-status{color:#d5d8df!important}
.ai-h5-inline-portal .ai-h5-resume-status button{border-color:#d5b773!important;color:#efd28a!important}


/* Search 1-20260924: approved compact black/champagne controls, original artwork. */
html body.ui-a-302 #app#app .app>main.ai-search-main:has(.ai-sample-landing) {
  background:#0d0e10!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing {
  color:#f5f6f8!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-assistant {
  background:url('/assets/ai-search/assistant-orbit-silver-v1.svg') center top/100% 100% no-repeat!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-assistant :is(h1,p),
html body.ui-a-302 #app .app .ai-search-main .ai-capabilities>button span {
  color:#f5f6f8!important;text-shadow:none!important;
}
html body.ui-a-302 #app .app .ai-search-main :is(.search-avatar,.ai-capabilities>button img,.ai-type-badge) {
  filter:none!important;mix-blend-mode:normal!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing :is(.ai-sample-types,.ai-sample-query,.ai-capabilities>button,.ai-recent-history) {
  border:1px solid #343638!important;background:linear-gradient(145deg,#191a1d,#131416)!important;
  box-shadow:inset 0 1px 0 #ffffff05!important;border-radius:12px!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-types {
  display:flex!important;align-items:center!important;gap:2px!important;
  height:54px!important;min-height:54px!important;padding:17px 4px 5px!important;overflow:visible!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-types>button {
  position:relative!important;isolation:isolate;flex:1 1 0!important;min-width:0!important;
  height:30px!important;min-height:30px!important;padding:4px 1px!important;
  border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;
  color:#f5f6f8!important;font-size:15px!important;line-height:22px!important;font-weight:500!important;overflow:visible!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-types>button::before {
  content:none!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-types>button.on::before {
  content:""!important;display:block!important;position:absolute!important;z-index:-1!important;
  left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  box-sizing:border-box!important;width:min(42px,100%)!important;height:30px!important;
  border:1px solid #ad9060!important;border-radius:8px!important;background:linear-gradient(145deg,#453b2b,#28241d)!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-types>button .ai-type-label {
  color:#f5f6f8!important;font-weight:500!important;line-height:22px!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-types>button.on .ai-type-label {
  color:#efd5a4!important;font-weight:700!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-query:focus-within {
  border-color:#a98d60!important;box-shadow:0 0 0 2px #d6b7760d!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-query textarea {
  color:#f5f6f8!important;caret-color:#e6ca91!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-query textarea::placeholder {
  color:#9b9da3!important;opacity:1!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-actions>button[type="submit"] {
  background:linear-gradient(110deg,#f1d79e,#d4af6b)!important;border-color:#e2c68d!important;
  color:#211b12!important;box-shadow:inset 0 1px 0 #fff3d266,0 2px 6px #0003!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-actions>.ai-image-entry {
  background:#1b1c1f!important;border-color:#49443a!important;color:#dec28e!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-tip {
  color:#82baff!important;text-shadow:none!important;white-space:normal!important;overflow-wrap:break-word!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-sample-hot>div>button {
  border-color:#292b2f!important;color:#f5f6f8!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-landing .ai-recent-history-grid>button {
  background:#1b1c20!important;border-color:#343638!important;color:#f5f6f8!important;
}
html body.ui-a-302 #app .app:has(>main.ai-search-main .ai-sample-landing)>.nav {
  background:#111214f5!important;border-top-color:#343638!important;box-shadow:0 -5px 18px #0003!important;
}
html body.ui-a-302 #app .app:has(>main.ai-search-main .ai-sample-landing)>.nav>button {
  color:#e9e9ec!important;
}
html body.ui-a-302 #app .app:has(>main.ai-search-main .ai-sample-landing)>.nav>button:is(.active,[aria-current="page"]) {
  color:#e5c58b!important;
}
html body.ui-a-302 #app .app:has(>main.ai-search-main .ai-sample-landing)>.nav>button:is(.active,[aria-current="page"])::before {
  background:#30291f!important;border-color:transparent!important;box-shadow:none!important;
}
html body.ui-a-302 #app .app:has(>main.ai-search-main .ai-sample-landing)>.nav>button:is(.active,[aria-current="page"])>.ui-mark {
  filter:none!important;
}


/* Search details: original badges shifted by 1.5 text widths; no inner focus box. */
html body.ui-a-302 #app .app .ai-search-main .ai-type-label>.ai-type-badge {
  left:calc(50% + 1.5em)!important;
}
html body.ui-a-302 #app .app .ai-search-main .ai-sample-query textarea,
html body.ui-a-302 #app .app .ai-search-main .ai-sample-query textarea:focus-visible {
  border:0!important;outline:none!important;box-shadow:none!important;
}

/* Native creative forms; isolated from the existing short-drama workbench. */
#app .app [data-aibox-workshop]{min-height:260px;color:#f5f6f8}
html body.ui-a-302 #app .app .iteration-third-features>[data-aibox-workshop]{display:block!important}
html body.ui-a-302 #app .app .iteration-third-features>[data-aibox-workshop]>.aibox-more{display:inline-flex!important;width:auto!important;min-height:0!important;padding:9px 15px!important;margin:12px 8px 0 0!important;flex-direction:row!important;border-radius:10px!important}
#app .app .aibox-tabs{display:flex;gap:10px;margin:0 0 16px}
#app .app .aibox-tabs button,.aibox-more{border:1px solid #555048;border-radius:10px;padding:9px 15px;background:#17181c;color:#fff;font:inherit}
#app .app .aibox-tabs button[aria-pressed=true]{background:#ead095;color:#231c0f;border-color:#ead095}
#app .app .aibox-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#app .app .aibox-tools>button{min-width:0;padding:0;overflow:hidden;border:1px solid #665c43;border-radius:13px;background:#13151a;color:#fff;text-align:left}
#app .app .aibox-tools img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
#app .app .aibox-tools span{display:grid;gap:7px;padding:12px}
#app .app .aibox-tools b{font-size:16px}#app .app .aibox-tools small{font-size:12px;line-height:1.5;color:#bec3cd}
#app .app .aibox-tools em{font-style:normal;color:#efd19b;font-size:12px}
#app .app .aibox-works{display:grid;gap:10px}
#app .app .aibox-works>button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px;border:1px solid #343638;border-radius:12px;background:#17191e;color:#fff;text-align:left}
#app .app .aibox-works span{display:grid;gap:8px}#app .app .aibox-works small{color:#a8adb6;font-size:11px}
#app .app .aibox-works em{font-size:12px;font-style:normal;color:#e3ca9a}
.aibox-state{padding:20px 8px;text-align:center;line-height:1.7;color:#c9cdd5}
.aibox-pending{padding:12px;border:1px solid #9e8354;border-radius:10px;margin:0 0 12px;line-height:1.7}
.aibox-pending button{display:block;margin-top:8px;color:#f1d599;background:transparent;border:0;padding:4px;font:inherit}
.aibox-more{margin:12px 8px 0 0}
.aibox-editor{box-sizing:border-box;width:min(460px,calc(100vw - 20px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #595247;border-radius:16px;background:#121418;color:#f5f6f8;overflow:auto}
.aibox-editor::backdrop{background:#000b}
.aibox-editor>header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #32343a}
.aibox-editor h2{margin:0;font-size:20px}.aibox-editor>header button{border:0;background:transparent;color:#fff;font-size:25px;padding:0 7px}
.aibox-form,.aibox-result{display:grid;gap:16px;padding:18px}
.aibox-form label{display:grid;gap:8px;font-size:14px}.aibox-form small,.aibox-consent{color:#adb4c0;font-size:12px;line-height:1.6}
.aibox-form :is(input,textarea,select){box-sizing:border-box;width:100%;min-width:0;padding:11px;border:1px solid #44484f;border-radius:9px;background:#1b1e25;color:#fff;font:inherit}
.aibox-form textarea{min-height:100px;resize:vertical}.aibox-form button[type=submit]{padding:13px;border:0;border-radius:12px;background:linear-gradient(120deg,#f4db9f,#c8a365);color:#201a0e;font:inherit;font-weight:700}
.aibox-form button:disabled{opacity:.5}.aibox-form [role=status]{margin:0;color:#85bfff;font-size:13px;line-height:1.6}
.aibox-result-image,.aibox-result-video{width:100%;max-height:65dvh;object-fit:contain;border-radius:10px;background:#090a0c}
.aibox-result a{color:#94c3ff}.aibox-novel{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8;margin:0}


/* Portrait home feeds never grow into a recommendation-scrolling page. */
html body.ui-a-302 #app .app>.pv2-home-portrait:not(.pv2-page-full):not(.pv2-rotate-full){height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;padding:0!important}
html body.ui-a-302 #app .pv2-home-portrait>[data-movie-related]{display:none!important}
html body.ui-a-302 #app :is(.pv2-vertical,.pv2-home-portrait) .pv2-stage{touch-action:pan-x pinch-zoom!important;overscroll-behavior-y:contain}
html body.ui-a-302 #app :is(.pv2-vertical,.pv2-home-portrait) .pv2-center-play{touch-action:pan-x pinch-zoom!important}

/* Reserve the follow-up form above the actual navigation/visual viewport. */
html body.ui-a-302 #app .app .ai-search-results .ai-followup-dock{
 position:fixed!important;inset:auto!important;left:50%!important;bottom:var(--ai-followup-bottom,calc(var(--a-nav-height,78px) + env(safe-area-inset-bottom) + 8px))!important;
 transform:translateX(-50%)!important;width:min(calc(100% - 24px),456px)!important;box-sizing:border-box!important;z-index:95!important;
 height:auto!important;min-height:66px!important;margin:0!important;padding:10px!important;grid-template-columns:minmax(0,1fr) minmax(88px,27%)!important;
}
html body.ui-a-302 #app .app .ai-search-results:has(.ai-followup-dock){padding-bottom:calc(var(--ai-followup-height,66px) + 18px)!important}

/* Own creation accounts/credits; familiar horizontal categories and two-column templates. */
.aibox-editor .aibox-template-preview{position:relative;overflow:hidden;border-radius:12px;background:#161b24}
.aibox-editor .aibox-template-preview .aibox-selected-template{display:block;width:100%;max-height:55dvh;object-fit:contain;margin:0}
.aibox-editor .aibox-template-preview .aibox-preview-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:56px;height:56px;min-height:0;padding:0 0 0 3px;border:1px solid #ffffffaa;border-radius:50%;background:#161b24b8;color:#fff;font-size:25px;line-height:1;cursor:pointer}
.aibox-editor .aibox-template-video{display:block;width:100%;aspect-ratio:1;max-height:55dvh;object-fit:contain;background:#161b24}
#app .app [data-aibox-workshop]{background:#101115;color:#f5f5f7;border:1px solid #6a583b;border-radius:14px;padding:12px 0 16px;overflow:hidden;overflow-anchor:none;min-height:350px;color-scheme:dark}
#app .app [data-aibox-workshop] button{font:inherit;cursor:pointer}
#app .app [data-aibox-workshop] button:disabled{cursor:default;opacity:.55}
#app .app .aibox-toolbar{display:flex;align-items:center;gap:3px;padding:0 8px}
#app .app .aibox-feature-tabs,#app .app .aibox-category-tabs,#app .app .aibox-status-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;min-width:0}
#app .app .aibox-feature-tabs{flex:1}
#app .app .aibox-category-tabs,#app .app .aibox-status-tabs{padding:8px 12px}
#app .app .aibox-feature-tabs button,#app .app .aibox-record-entry,#app .app .aibox-category-tabs button,#app .app .aibox-status-tabs button{border:0;white-space:nowrap;flex:none;background:transparent;color:#f5f5f7;padding:8px 11px;border-radius:10px;font-size:14px}
#app .app .aibox-feature-tabs button[aria-pressed=true],#app .app .aibox-record-entry{background:linear-gradient(120deg,#f2d69b,#c6a15c);color:#241b0d}
#app .app .aibox-record-entry{box-shadow:-4px 0 6px -4px #0008;margin-left:3px}
#app .app .aibox-category-tabs button,#app .app .aibox-status-tabs button{border:1px solid #454039;border-radius:22px;background:#191a1e;font-size:13px}
#app .app .aibox-category-tabs button[aria-pressed=true],#app .app .aibox-status-tabs button[aria-pressed=true]{color:#f2d69b;border-color:#c6a15c;background:#292318}
#app .app .aibox-quota{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px;background:linear-gradient(110deg,#302719,#1c1b18);border-radius:10px;padding:10px 12px;font-size:12px;color:#ded4c3}
#app .app .aibox-quota b{font-size:18px;margin-left:5px}
#app .app .aibox-quota button{border:0;border-radius:18px;padding:7px 12px;background:linear-gradient(120deg,#f2d69b,#c6a15c);color:#241b0d;font-size:12px}
#app .app .aibox-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px;padding:10px 12px}
#app .app .aibox-template-card,#app .app .aibox-custom-card,#app .app .aibox-work-card{display:flex;flex-direction:column;min-width:0;padding:0;border:0;background:none;color:#f5f5f7;text-align:left;gap:6px;overflow:hidden}
#app .app .aibox-template-card>img,#app .app .aibox-work-card>img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:9px;background:#1b1d22}
#app .app .aibox-template-card b,#app .app .aibox-work-card b{font-size:14px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
#app .app .aibox-template-card small,#app .app .aibox-custom-card small,#app .app .aibox-work-card small{color:#b2b4bd;font-size:11px;line-height:1.6}
#app .app .aibox-custom-card{min-height:180px;border:1px dashed #766345;border-radius:10px;background:#17181c;align-items:center;justify-content:center;padding:18px 12px;text-align:center}
#app .app .aibox-custom-card b{font-size:14px}
#app .app .aibox-add{font-size:40px;font-weight:300;color:#e8c681;line-height:1.4}
#app .app .aibox-work-placeholder{display:grid;place-content:center;width:100%;aspect-ratio:3/4;background:#1b1d22;border-radius:9px;color:#c9af7d;font-size:40px}
#app .app .aibox-work-card em{font-size:12px;font-style:normal;color:#e8c681}
#app .app .aibox-work-actions{display:flex;justify-content:center;gap:10px;padding:12px;flex-wrap:wrap}
#app .app .aibox-work-actions button{color:#ecd198;background:#211e18;border:1px solid #766345;border-radius:18px;padding:8px 14px;font-size:12px}
#app .app [data-aibox-workshop] .aibox-state{color:#b2b4bd;font-size:13px}
#app .app .aibox-notice,#app .app .aibox-catalog-empty{font-size:12px;line-height:1.7;color:#b2b4bd;padding:0 14px;margin:8px 0}
#app .app [data-aibox-workshop] .aibox-pending{color:#ecd198;font-size:13px;margin:12px;border-color:#766345}
#app .app [data-aibox-workshop] .aibox-pending button{color:#ecd198}
.aibox-editor{background:#121418;color:#f5f5f7;border-color:#766345;color-scheme:dark}
.aibox-editor>header{border-color:#454039}.aibox-editor>header button{color:#f5f5f7}
.aibox-editor .aibox-form :is(input,textarea,select){background:#1b1d22;color:#f5f5f7;border-color:#454039}
.aibox-editor .aibox-form small,.aibox-editor .aibox-consent,.aibox-editor .aibox-state{color:#b2b4bd}
.aibox-editor .aibox-form button[type=submit]{background:linear-gradient(120deg,#f2d69b,#c6a15c);color:#241b0d;border-radius:24px}
.aibox-editor .aibox-novel{color:#f5f5f7}.aibox-editor .aibox-result a{color:#ecd198}
.aibox-selected-template,.aibox-upload-preview{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:10px;background:#1b1d22}

/* Explicit card settings only; the original defaults remain untouched. */
html body.ui-a-302 #app .app .rc-configurable-card.has-configured-image{position:relative!important;isolation:isolate;overflow:hidden!important}
html body.ui-a-302 #app .app .rc-configurable-card>.rc-configured-card-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:0!important;pointer-events:none}
html body.ui-a-302 #app .app .rc-configurable-card.has-configured-image>:not(.rc-configured-card-image){position:relative;z-index:1}
html body.ui-a-302 #app .app .s1-recharge .rc-configurable-card.has-configured-color[data-rech-product] :is(.plan-name,.plan-price,.plan-quantity,.plan-subtitle,.plan-note,.rc-reference-name,.rc-reference-name strong,.rc-reference-name small,.rc-reference-price,.rc-reference-benefits){color:var(--configured-card-text)!important}
html body.ui-a-302 #app .app .rc-configurable-card.has-configured-image .rc-reference-main{background:transparent!important}
html body.ui-a-302 #app .app .rc-configurable-card.has-configured-image .rc-reference-benefits{background:#0006!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-member-layout=long]{grid-column:1/-1!important;min-height:120px!important;aspect-ratio:3/1!important;height:auto!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button.has-configured-image>.mine-wallet-art{mix-blend-mode:normal!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button.has-configured-color :is(b,small,strong,em){color:var(--member-card-text)!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button.has-configured-color [data-member-title]{background:none!important;-webkit-text-fill-color:currentColor!important;filter:none!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-member-layout=long]>.mine-member-copy{min-height:84px!important}

/* Category palettes only. VIP retains its existing black/gold rules. */
html body.ui-a-302 #app .app .s1-recharge :is(.plan-card,.rc-reference-card)[data-card-kind="ai"]{--package-bg:linear-gradient(125deg,#17344c,#0c1c2b);--package-border:#49758d;--package-text:#e5f4ff;--package-muted:#afd3e8;--package-footer:#b8d9e9;--package-footer-text:#183b50;--package-selected-bg:linear-gradient(145deg,#dff4ff,#87c6eb);--package-selected-border:#b6e6ff;--package-selected-text:#15374e;--package-selected-footer:#83c8ea}
html body.ui-a-302 #app .app .s1-recharge :is(.plan-card,.rc-reference-card)[data-card-kind="coin"]{--package-bg:linear-gradient(125deg,#ead6b6,#cbb18a);--package-border:#b59563;--package-text:#493519;--package-muted:#665033;--package-footer:#b89b71;--package-footer-text:#251b0f;--package-selected-bg:linear-gradient(145deg,#fff0cd,#e7c077);--package-selected-border:#fff0c5;--package-selected-text:#493014;--package-selected-footer:#e5c17b}
html body.ui-a-302 #app .app .s1-recharge .plan-card:is([data-card-kind="ai"],[data-card-kind="coin"]):not(.has-configured-image),
html body.ui-a-302 #app .app .s1-recharge .rc-reference-card:is([data-card-kind="ai"],[data-card-kind="coin"]):not(:has(.has-configured-image)){background:var(--package-bg)!important;border-color:var(--package-border)!important}
html body.ui-a-302 #app .app .s1-recharge .plan-card:is([data-card-kind="ai"],[data-card-kind="coin"])[aria-pressed="true"]:not(.has-configured-image),
html body.ui-a-302 #app .app .s1-recharge .rc-reference-card:is([data-card-kind="ai"],[data-card-kind="coin"]).is-selected:not(:has(.has-configured-image)){background:var(--package-selected-bg)!important;border-color:var(--package-selected-border)!important;box-shadow:0 0 0 1px var(--package-selected-border)!important}
html body.ui-a-302 #app .app .s1-recharge .plan-card:is([data-card-kind="ai"],[data-card-kind="coin"]):not(.has-configured-color):not(.has-configured-image)>:is(.plan-name,.plan-price){color:var(--package-text)!important}
html body.ui-a-302 #app .app .s1-recharge .plan-card:is([data-card-kind="ai"],[data-card-kind="coin"]):not(.has-configured-color):not(.has-configured-image)>:is(.plan-quantity,.plan-subtitle){color:var(--package-muted)!important}
html body.ui-a-302 #app .app .s1-recharge .plan-card:is([data-card-kind="ai"],[data-card-kind="coin"]):not(.has-configured-image)>.plan-note{background:var(--package-footer)!important;border-top-color:var(--package-border)!important}
html body.ui-a-302 #app .app .s1-recharge .plan-card:is([data-card-kind="ai"],[data-card-kind="coin"]):not(.has-configured-color):not(.has-configured-image)>.plan-note{color:var(--package-footer-text)!important}
html body.ui-a-302 #app .app .s1-recharge .plan-card:is([data-card-kind="ai"],[data-card-kind="coin"])[aria-pressed="true"]:not(.has-configured-color):not(.has-configured-image)>:is(.plan-name,.plan-price,.plan-quantity,.plan-subtitle,.plan-note){color:var(--package-selected-text)!important}
html body.ui-a-302 #app .app .s1-recharge .plan-card:is([data-card-kind="ai"],[data-card-kind="coin"])[aria-pressed="true"]:not(.has-configured-image)>.plan-note{background:var(--package-selected-footer)!important}
html body.ui-a-302 #app .app .s1-recharge .rc-reference-card[data-card-kind="ai"]:not(:has(.has-configured-color,.has-configured-image)) :is(.rc-reference-name strong,.rc-reference-price){color:var(--package-text)!important}
html body.ui-a-302 #app .app .s1-recharge .rc-reference-card[data-card-kind="ai"]:not(:has(.has-configured-color,.has-configured-image)) .rc-reference-name small{color:var(--package-muted)!important}
html body.ui-a-302 #app .app .s1-recharge .rc-reference-card[data-card-kind="ai"]:not(:has(.has-configured-image)) .rc-reference-benefits{background:var(--package-footer)!important;border-top-color:var(--package-border)!important}
html body.ui-a-302 #app .app .s1-recharge .rc-reference-card[data-card-kind="ai"]:not(:has(.has-configured-color,.has-configured-image)) .rc-reference-benefits{color:var(--package-footer-text)!important}
html body.ui-a-302 #app .app .s1-recharge .rc-reference-card[data-card-kind="ai"].is-selected:not(:has(.has-configured-color,.has-configured-image)) :is(.rc-reference-name strong,.rc-reference-name small,.rc-reference-price,.rc-reference-benefits){color:var(--package-selected-text)!important}
html body.ui-a-302 #app .app .s1-recharge .rc-reference-card[data-card-kind="ai"].is-selected:not(:has(.has-configured-image)) .rc-reference-benefits{background:var(--package-selected-footer)!important}

/* Membership status changes the existing artwork, not the two-column layout. */
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card][data-member-kind].has-configured-image>[data-member-default-art]{display:block!important;visibility:visible!important;opacity:1!important;mix-blend-mode:normal!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
html body.ui-a-302 #app .app .mine-gold-wallet>button[data-s1-membership-card][data-member-kind].has-configured-image>[data-member-emblems]{display:none!important}

/* Keep workshop dialogs aligned with its black/gold surface, including global dialog overrides. */
html body dialog.aibox-editor{background:#121418!important;color:#f5f5f7!important;border-color:#766345!important}
html body dialog.aibox-editor .aibox-form :is(input,textarea,select){background:#1b1d22!important;color:#f5f5f7!important;border-color:#454039!important}
html body dialog.aibox-editor .aibox-form button[type=submit]{background:linear-gradient(120deg,#f2d69b,#c6a15c)!important;color:#241b0d!important}
html body dialog.aibox-editor .aibox-preview-play{background:#0b0c0dc9!important;color:#fff!important;border-color:#ecd198!important;border-radius:50%!important}
#app .app [data-aibox-workshop] button:focus-visible{outline:2px solid #ecd198;outline-offset:2px}

/* Novel creation: four input cards, in the existing black/gold workshop theme. */
#app .app .aibox-novel-form{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0;padding:0 0 12px}
#app .app .aibox-novel-card{min-width:0;padding:16px 16px 8px;border:1px solid #39352e;border-radius:16px;background:#1a1c20;color:#f5f5f7}
#app .app .aibox-novel-card:focus-within{border-color:#b69a65}
#app .app .aibox-novel-card>label{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin:0 0 10px;padding:0;font-size:17px;line-height:1.5}
#app .app .aibox-novel-card>label strong{font-weight:650;color:#f5f5f7}
#app .app .aibox-novel-card>label span{font-size:14px;font-weight:400;color:#a5a6ad}
#app .app .aibox-novel-card>label em{font-size:15px;font-style:normal;color:#edbf75}
#app .app .aibox-novel-card>textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:78px;height:78px;margin:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;color:#f5f5f7!important;font:400 15px/1.7 system-ui,sans-serif;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}
#app .app .aibox-novel-card>textarea::placeholder{color:#979ba5;opacity:1}
#app .app .aibox-novel-card>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;margin-top:12px;padding-top:4px;border-top:1px solid #37383e}
#app .app .aibox-novel-card>footer>span{font-size:13px;line-height:1.5;color:#a5a6ad;font-variant-numeric:tabular-nums}
#app .app .aibox-novel-card [data-novel-clear]{display:block;width:auto;min-width:44px;min-height:36px;margin:0;padding:4px 0;border:0;border-radius:6px;background:transparent;color:#efd093;font:500 15px/1.5 system-ui,sans-serif;cursor:pointer}
#app .app .aibox-novel-card [data-novel-clear]:focus-visible{outline:2px solid #efd093;outline-offset:2px}
#app .app .aibox-novel-form>button[type=submit]{width:100%;min-height:48px;border-radius:24px;background:linear-gradient(120deg,#f2d69b,#c6a15c);color:#241b0d}
#app .app .aibox-novel-form>.aibox-consent{margin:0;font-size:12px;line-height:1.7;color:#adb4c0}

/* Full-screen creation records, sharing the site's black/gold palette. */
html body dialog.aibox-records-screen{position:fixed!important;inset:0!important;box-sizing:border-box!important;width:min(100%,480px)!important;max-width:100%!important;height:100vh!important;height:100dvh!important;max-height:none!important;margin:0 auto!important;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)!important;border:0!important;border-radius:0!important;background:radial-gradient(ellipse at 86% 10%,#51412542,transparent 44%),#101115!important;color:#f5f5f7!important;overflow:hidden!important;color-scheme:dark;font:14px/1.5 system-ui,sans-serif;overscroll-behavior:contain}
html body dialog.aibox-records-screen[open]{display:flex!important;flex-direction:column!important}
html body dialog.aibox-records-screen::backdrop{background:#08090bed}
html body dialog.aibox-records-screen *{box-sizing:border-box}
html body dialog.aibox-records-screen button{appearance:none;margin:0;width:auto;min-width:0;min-height:36px;padding:7px 12px;border:0;border-radius:12px;background:transparent;color:inherit;font:inherit;cursor:pointer;box-shadow:none;flex:none}
html body dialog.aibox-records-screen button:disabled{opacity:.5;cursor:default}
html body dialog.aibox-records-screen button:focus-visible{outline:2px solid #f2d69b;outline-offset:-2px}
html body dialog.aibox-records-screen .aibox-records-header{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;flex:none;min-height:58px;padding:4px 12px;border:0;background:transparent}
html body dialog.aibox-records-screen .aibox-records-header h2{margin:0;text-align:center;font-size:20px;font-weight:650;color:#f5f5f7}
html body dialog.aibox-records-screen .aibox-records-header button{display:grid;place-items:center;min-height:44px;padding:8px}
html body dialog.aibox-records-screen svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body dialog.aibox-records-screen .aibox-records-types{display:flex;align-items:center;gap:4px;flex:none;overflow-x:auto;scrollbar-width:none;padding:2px 14px 8px}
html body dialog.aibox-records-screen .aibox-records-types::-webkit-scrollbar{display:none}
html body dialog.aibox-records-screen .aibox-records-types button{padding:7px 10px;font-size:16px;white-space:nowrap;color:#ccc9c2}
html body dialog.aibox-records-screen .aibox-records-types button[aria-pressed=true]{background:#30291e;color:#f2d69b;font-weight:650}
html body dialog.aibox-records-screen .aibox-records-filters{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:none;padding:0 14px 12px}
html body dialog.aibox-records-screen .aibox-records-statuses{display:flex;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none}
html body dialog.aibox-records-screen .aibox-records-statuses button{padding:7px 12px;border:1px solid #37332c;border-radius:22px;background:#1c1d21;white-space:nowrap;color:#e5e1d9;font-size:14px}
html body dialog.aibox-records-screen .aibox-records-statuses button[aria-pressed=true]{border-color:#d5b16b;box-shadow:inset 0 0 0 1px #d5b16b;background:#2c251a;color:#f2d69b;font-weight:600}
html body dialog.aibox-records-screen .aibox-records-delete{display:flex;align-items:center;gap:3px;padding:6px 0;color:#ff7973;font-size:14px;white-space:nowrap}
html body dialog.aibox-records-screen .aibox-records-delete svg{width:17px;height:17px}
html body dialog.aibox-records-screen .aibox-records-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;padding:0 14px 16px;-webkit-overflow-scrolling:touch}
html body dialog.aibox-records-screen .aibox-records-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px 10px}
html body dialog.aibox-records-screen .aibox-record-card{position:relative;display:block;width:100%;aspect-ratio:3/4;min-height:0;padding:0;overflow:hidden;border:1px solid #343230;border-radius:10px;text-align:left;background:linear-gradient(145deg,#2a2925,#15171d);isolation:isolate}
html body dialog.aibox-records-screen .aibox-record-card.is-selected{border:2px solid #f2d69b}
html body dialog.aibox-records-screen .aibox-record-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;color:transparent;background:transparent}
html body dialog.aibox-records-screen .aibox-records-placeholder{display:flex;position:absolute;inset:0;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:14px;color:#cbb78f;font-size:15px}
html body dialog.aibox-records-screen .aibox-records-placeholder svg{width:42px;height:42px;stroke-width:1.2}
html body dialog.aibox-records-screen .aibox-records-excerpt{display:block;padding:20px 14px;color:#e5d7be;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
html body dialog.aibox-records-screen .aibox-records-overlay{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 4px;background:#101115c9;color:#f5e4bf;font-size:13px;backdrop-filter:blur(5px);text-align:center}
html body dialog.aibox-records-screen .aibox-records-overlay[data-state=failed]{color:#ffaaa5}
html body dialog.aibox-records-screen .aibox-records-overlay i{width:12px;height:12px;border:1.5px solid #f2d69b55;border-top-color:#f2d69b;border-radius:50%;animation:aibox-records-spin 1s linear infinite}
html body dialog.aibox-records-screen .aibox-records-check{position:absolute;z-index:1;right:8px;top:8px;display:grid;place-items:center;width:23px;height:23px;border:1.5px solid #f2d69b;border-radius:50%;background:#111a;color:#f2d69b;font-weight:700}
html body dialog.aibox-records-screen .is-selected .aibox-records-check{background:#f2d69b;color:#241b0d}
html body dialog.aibox-records-screen .aibox-records-end{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:8px 0;color:#a5a6ad;font-size:12px}
html body dialog.aibox-records-screen .aibox-records-end button{padding:5px 9px;font-size:12px;color:#cfb985}
html body dialog.aibox-records-screen .aibox-records-empty{padding:48px 12px;text-align:center;color:#a5a6ad}
html body dialog.aibox-records-screen .aibox-records-message{margin:6px 0 12px;font-size:13px;color:#e6c98d;overflow-wrap:anywhere}
html body dialog.aibox-records-screen .aibox-records-message button{color:#f2d69b;text-decoration:underline}
html body dialog.aibox-records-screen .aibox-records-selection{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;flex:none;margin:0 14px 10px;padding:6px 10px;background:#24211c;border:1px solid #594a30;border-radius:10px;font-size:12px;color:#e9d6b1}
html body dialog.aibox-records-screen .aibox-records-selection button{min-height:32px;padding:4px 2px;font-size:13px}
html body dialog.aibox-records-screen .aibox-records-selection small{flex-basis:100%;font-size:11px;color:#b4afa5}
html body dialog.aibox-records-screen [data-aibox-delete-selected]{color:#ff9f99}
html body dialog.aibox-records-screen .aibox-records-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-height:68px;margin:0 14px 12px;padding:10px 14px;border:1px solid #655033;border-radius:16px;background:linear-gradient(110deg,#302719,#1c1b18);color:#ecd7ad;font-size:13px}
html body dialog.aibox-records-screen .aibox-records-footer b{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
html body dialog.aibox-records-screen .aibox-records-footer small{display:block;color:#aba393;font-size:11px;margin-top:2px}
html body dialog.aibox-records-screen .aibox-records-footer button{min-height:44px;padding:9px 19px;border-radius:24px;background:linear-gradient(120deg,#f2d69b,#c6a15c);color:#241b0d;font-size:15px;font-weight:650;white-space:nowrap}
@keyframes aibox-records-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html body dialog.aibox-records-screen .aibox-records-overlay i{animation:none}}
@media(max-width:360px){html body dialog.aibox-records-screen .aibox-records-statuses button{padding:6px 9px;font-size:12px}html body dialog.aibox-records-screen .aibox-records-filters{padding-inline:10px}}

/* User-supplied original square logo; preserve its artwork and proportions. */
html body.ui-a-302 #app .app .workshop-home-hero .home-brand.home-brand-with-logo{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;column-gap:8px!important;row-gap:3px!important;align-items:center!important;max-width:60%!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-brand-with-logo>.home-product-logo{display:block!important;width:48px!important;height:48px!important;object-fit:contain!important;border-radius:10px!important;grid-column:1!important;grid-row:1/3!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-brand-with-logo>b{grid-column:2!important;grid-row:1!important;align-self:end!important;font-size:20px!important}
html body.ui-a-302 #app .app .workshop-home-hero .home-brand-with-logo>span{grid-column:2!important;grid-row:2!important;align-self:start!important;font-size:9px!important}
html body dialog.aibox-records-screen .aibox-record-card>img[hidden]{display:none!important}
@media(max-width:360px){html body.ui-a-302 #app .app .workshop-home-hero .home-brand.home-brand-with-logo{grid-template-columns:40px minmax(0,1fr)!important;column-gap:6px!important}html body.ui-a-302 #app .app .workshop-home-hero .home-brand-with-logo>.home-product-logo{width:40px!important;height:40px!important}html body.ui-a-302 #app .app .workshop-home-hero .home-brand-with-logo>b{font-size:18px!important}}
