/* jellyqda drift & play · css/13-unterreiter-und-begleiter.css
   Unterreiter, Begleit-Qualle, Brutkasten, Eier.
   Die CSS-Dateien werden in Nummern-Reihenfolge geladen: spätere Regeln gewinnen. */

.brand b .q { color: var(--accent); font-weight: 800; }
.subnav { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; margin: -6px 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; width: fit-content; max-width: 100%; }
.subnav a { padding: 7px 14px; border-radius: 9px; text-decoration: none; color: var(--ink2); font-weight: 700; font-size: 14px; }
.subnav a:hover { background: var(--surface2); }
.subnav a.on { background: var(--accent); color: var(--accent-ink); }
.subnav a.on .muted { color: inherit; opacity: .8; }
.buddy-tank { position: relative; width: 220px; height: 240px; border-radius: 22px; overflow: hidden; cursor: pointer; flex: none; background: radial-gradient(240px 120px at 50% -10%, rgba(140,210,255,.45), transparent 70%), linear-gradient(180deg, #0f4670 0%, #082b4a 60%, #051a30 100%); border: 1px solid #0f4b73; }
.buddy-swim { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); animation: buddyswim 9s ease-in-out infinite; }
.buddy-swim.deep .jelly { filter: drop-shadow(0 0 14px rgba(160,230,255,.8)); }
.buddy-tank.hop .buddy-swim > svg { animation: buddyhop .6s ease; }
@keyframes buddyswim { 0% { transform: translate(-60%, -46%); } 25% { transform: translate(-38%, -58%) rotate(4deg); } 50% { transform: translate(-48%, -40%); } 75% { transform: translate(-62%, -56%) rotate(-4deg); } 100% { transform: translate(-60%, -46%); } }
@keyframes buddyhop { 30% { transform: translateY(-18px) scale(1.08, .94); } 60% { transform: translateY(2px) scale(.96, 1.05); } }
.buddy-lbl { position: absolute; left: 10px; right: 10px; bottom: 8px; color: #d8efff; font-size: 12.5px; text-align: center; }
.buddy-lbl b { color: #fff; }
.buddy-say { position: absolute; left: 10px; right: 10px; top: 10px; background: #fff; color: #0b2238; border-radius: 12px; padding: 7px 10px; font-size: 13px; line-height: 1.35; box-shadow: 0 4px 12px rgba(0,0,0,.25); z-index: 2; }
.hero { grid-template-columns: 220px 1fr; }
.jelly.anim .egg { animation: eggwob 3.4s ease-in-out infinite; transform-origin: 50% 90%; transform-box: fill-box; }
.jelly.anim .egg .yolk { animation: yolk 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.jelly.anim .bob { animation: jbob 3.6s ease-in-out infinite; }
.jelly.pop { animation: jpop .9s cubic-bezier(.2,1.6,.4,1); }
@keyframes eggwob { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-7deg); } 76% { transform: rotate(6deg); } 84% { transform: rotate(-4deg); } 92% { transform: rotate(2deg); } }
@keyframes yolk { 50% { transform: scale(1.25); opacity: .95; } }
@keyframes jbob { 50% { transform: translateY(-5px); } }
@keyframes jpop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.tank.big { height: 380px; }
.bub { position: absolute; bottom: -10px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(220,240,255,.6); animation: bubup 7s linear infinite; }
@keyframes bubup { to { transform: translateY(-420px) translateX(10px); opacity: 0; } }
.incubator { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.incu { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); text-align: center; }
.incu .meter { width: 100%; }
.incu-glass { width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(255,196,110,.55), rgba(255,140,60,.15) 60%, transparent 72%), radial-gradient(circle at 35% 30%, rgba(255,255,255,.5), transparent 40%), #fbe9d0; border: 3px solid #e8c48f; box-shadow: inset 0 -8px 16px rgba(200,120,40,.25), 0 0 24px rgba(255,170,80,.25); animation: warm 3s ease-in-out infinite; }
:root[data-theme="dark"] .incu-glass { background: radial-gradient(circle at 50% 60%, rgba(255,170,80,.45), rgba(255,120,40,.1) 60%, transparent 72%), radial-gradient(circle at 35% 30%, rgba(255,255,255,.2), transparent 40%), #2a1d12; border-color: #8a5a28; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .incu-glass { background: radial-gradient(circle at 50% 60%, rgba(255,170,80,.45), rgba(255,120,40,.1) 60%, transparent 72%), radial-gradient(circle at 35% 30%, rgba(255,255,255,.2), transparent 40%), #2a1d12; border-color: #8a5a28; } }
@keyframes warm { 50% { box-shadow: inset 0 -8px 16px rgba(200,120,40,.3), 0 0 36px rgba(255,170,80,.45); } }
.incu.empty { border-style: dashed; color: var(--muted); }
.incu.empty .incu-glass { background: var(--surface2); border: 3px dashed var(--line2); box-shadow: none; animation: none; }
.incu .plus { font-size: 40px; color: var(--muted); }
.pips { display: inline-flex; gap: 2px; align-items: center; }
.pips i { width: 8px; height: 9px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--line2); }
.pips i.on { background: var(--warn); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eggsec { border-left: 4px solid var(--c); }
.eggskill { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.hexmini { width: 34px; height: 38px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: grid; place-items: center; color: #08101e; font-family: var(--f-mono); font-weight: 800; font-size: 11px; flex: none; }
.recpanel { border-color: #CC79A7; background: linear-gradient(135deg, rgba(204,121,167,.08), transparent 60%), var(--surface); }
.eggrow { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 6px; }
.eggrow a { display: block; border-radius: 8px; }
.eggrow a:hover { background: var(--surface2); }
@media (max-width: 560px) { .hero { grid-template-columns: 1fr; } .buddy-tank { width: 100%; } }
