/* Optional profile design layer. Loaded after profile.css; existing profiles remain untouched.
   data-theme/data-text-fx/data-btn-* are controlled enums on #home, supplied by the caller. */
[data-theme] .h-display { font-family: var(--display); font-weight: var(--display-weight, 400); }
[data-theme] .cta { background: var(--violet); color: var(--btn-text); box-shadow: 0 10px 30px -8px var(--theme-button-shadow), inset 0 1px 0 #ffffff40; }
[data-theme] .cta:hover { box-shadow: 0 14px 36px -8px var(--theme-button-shadow), inset 0 1px 0 #ffffff40; }
[data-theme][data-bg-kind="image"] .auraclip, [data-theme][data-bg-kind="video"] .auraclip { display: none; }
[data-theme] .aura { background: radial-gradient(40% 50% at 30% 30%, var(--theme-button-soft), transparent 70%), radial-gradient(35% 45% at 75% 20%, var(--theme-accent-soft), transparent 70%); }
[data-theme] :focus-visible { outline-color: var(--accent); }
[data-theme] .chip.beta, [data-theme] .pkg a.ref { background: var(--theme-accent-soft); color: var(--accent); }
[data-theme] .titlecard .ep, [data-theme] .greet b, [data-theme] .incl summary { color: var(--accent); }
[data-theme] .tabs span.on, [data-theme] .filters button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
[data-theme] .room[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--theme-accent-line); }
[data-theme] .reelpick button[aria-pressed="true"] { border-color: var(--accent); }
[data-theme] .person .av, [data-theme] .avatar { background: linear-gradient(135deg, var(--violet), var(--accent)); }
[data-theme] .art-merch { background: radial-gradient(70% 60% at 50% 40%, var(--theme-accent-soft), transparent 70%), linear-gradient(160deg, var(--panel), var(--ink)); }
[data-theme] .vface { background: radial-gradient(70% 60% at 20% 10%, var(--theme-button-soft), transparent 60%), radial-gradient(60% 60% at 100% 100%, var(--theme-accent-soft), transparent 60%), linear-gradient(160deg, var(--panel), var(--ink)); }
[data-theme][data-btn-shape="pill"] .cta, [data-theme][data-btn-shape="pill"] .ghost { border-radius: 999px; }
[data-theme][data-btn-shape="round"] .cta, [data-theme][data-btn-shape="round"] .ghost { border-radius: 16px; }
[data-theme][data-btn-shape="square"] .cta, [data-theme][data-btn-shape="square"] .ghost { border-radius: 6px; }
[data-theme][data-btn-fill="outline"] .cta { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--violet); }
[data-theme][data-btn-fill="glass"] .cta { background: rgba(255,255,255,.08); color: var(--text); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
[data-theme][data-btn-fill="holo"] .cta { background: var(--holo); background-size: 200% 100%; color: #0B0C22; }
[data-theme][data-btn-shine="off"] [data-fx="btn"]::after { display: none; }
[data-theme][data-btn-motion="calm"] [data-fx], [data-theme][data-btn-motion="calm"] .cta { -webkit-transform: none !important; transform: none !important; }
[data-theme][data-text-fx="none"] .h-display { animation: none; -webkit-animation: none; }
[data-theme][data-text-fx="fade"] .h-display { -webkit-animation: inf-fade .6s ease-out both; animation: inf-fade .6s ease-out both; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  [data-theme][data-text-fx="shimmer"] .h-display { background: linear-gradient(100deg, var(--text) 40%, #FFFFFF 50%, var(--text) 60%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-animation: inf-shimmer 9s ease-in-out 1s infinite; animation: inf-shimmer 9s ease-in-out 1s infinite; }
  [data-theme][data-text-fx="holo"] .h-display { background: var(--holo); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-animation: inf-holo 14s linear infinite; animation: inf-holo 14s linear infinite; }
}
.pf-type { white-space: pre-wrap; }
.pf-type mark { background: transparent; color: var(--accent, inherit); }
.pf-type-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[data-theme][data-text-fx="type"] .tp { opacity: 0; -webkit-animation: inf-type .01s linear forwards; animation: inf-type .01s linear forwards; -webkit-animation-delay: calc(var(--i) * 38ms + .3s); animation-delay: calc(var(--i) * 38ms + .3s); }
.pf-bg { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; overflow: hidden; pointer-events: none; background-color: var(--ink); }
.pf-bg img, .pf-bg video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-bg-poster { z-index: 0; }
.pf-bg video { z-index: 1; }
.pf-dim { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; background: var(--ink); }
.inf-seal { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-family: "Onest", system-ui, sans-serif; font-size: 12px; line-height: 1.5; text-decoration: none; }
.inf-seal:hover { text-decoration: underline; }
@-webkit-keyframes inf-type { to { opacity: 1; } }
@keyframes inf-type { to { opacity: 1; } }
@-webkit-keyframes inf-fade { from { opacity: 0; -webkit-transform: translateY(12px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes inf-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@-webkit-keyframes inf-shimmer { 0%, 16%, 100% { background-position: 200% 0; } 8% { background-position: -100% 0; } }
@keyframes inf-shimmer { 0%, 16%, 100% { background-position: 200% 0; } 8% { background-position: -100% 0; } }
@-webkit-keyframes inf-holo { to { background-position: 300% 0; } }
@keyframes inf-holo { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) {
  [data-theme][data-text-fx] .h-display, [data-theme][data-text-fx="type"] .tp { -webkit-animation: none !important; animation: none !important; opacity: 1 !important; -webkit-transform: none !important; transform: none !important; }
  [data-theme][data-text-fx] .h-display { -webkit-text-fill-color: currentColor; background: none; }
  [data-theme] [data-fx], [data-theme] [data-fx]::after { -webkit-animation: none !important; animation: none !important; -webkit-transform: none !important; transform: none !important; }
  .pf-bg video { display: none; }
}

/* Original-Otaku-Galaxie auf der Firmen-Landingpage deutlich sichtbar. */
#fx-particles[data-bg-palette="otaku"] { opacity: 1; }
:root:has(#fx-particles[data-bg-palette="otaku"]) { --primary: #6d5efc; --look-cyan: #00e5ff; --look-magenta: #ff2e97; }

/* Im Welcome-Gate nur das Original-Portal; die Seiten-Galaxie bleibt aus. */
html[data-infinite-welcome-active] #fx-particles { display: none; }

/* Helle, klar konturierte Schrift; Leseflächen statt einer abgedunkelten Galaxie. */
#home[data-company-profile="otaku"] { --text:#f5fbff; --muted:#dbeaf5; --panel:#0b1726f2; --copy-opacity:1; --copy-panel:#0a1827f2; --copy-readback:#06111de3; --copy-padding:10px 14px; --copy-shadow:0 1px 2px #000,0 0 8px #bceaff2e; }
#home[data-company-profile="otaku"] :is(.lead,.eyebrow,.row-title,.checks,.mono) { color:var(--muted); text-shadow:var(--copy-shadow); }
#home[data-company-profile="otaku"] :is(.lead,.row-title) { background:var(--copy-readback); padding:10px 14px; border-radius:10px; }
#home[data-company-profile="otaku"] .lead { width:fit-content; max-width:100%; }
#home[data-company-profile="otaku"] .hero h1 { color:#f5fbff; -webkit-text-fill-color:#f5fbff; text-shadow:0 2px 3px #000,0 0 16px #bceaff33!important; background:#06111de8; padding:12px 16px; border-radius:12px; width:fit-content; }
#home[data-company-profile="otaku"] .hero .promise span { color:#edf8ff; background:#091625f2; border:1px solid #8db1ca40; }
#home[data-company-profile="otaku"] :is(.ocard,.pkg,.getapp,.client,.product,.channel,.titlecard) { background-color:#0b1724ed; }
#home[data-company-profile="otaku"] .quicknav a { color:#eaf6ff; background:#0a1725f2; }

#home[data-company-profile="otaku"] .eyebrow { background:var(--copy-readback); padding:7px 10px; border-radius:8px; }
#home[data-company-profile="otaku"] .page :is(h2,h3,h4) { text-shadow:var(--copy-shadow); }
