/* fuesse.sexy — verspielter, klarer Look im Dark Mode. Vollflaechig, kein Scrollen. */ :root { --pink: #ff4d8d; --pink-soft: #ff86b3; --ink: #ececf5; --muted: #a49fc0; --bg: #0e0e18; /* Seite / Letterbox */ --panel: #1b1b2c; /* Leiste, Buttons */ --card: #262640; /* Legenden-Karten */ --border: #34345020; --border-solid: #3a3a58; --ok: #34d399; --miss: #f87171; } * { box-sizing: border-box; } html, body { margin: 0; height: 100%; overflow: hidden; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-user-select: none; user-select: none; } #game { display: flex; flex-direction: column; height: 100%; } /* ---- Gesucht-Leiste ---- */ #legend { display: flex; align-items: center; gap: 14px; padding: 8px 14px; background: var(--panel); box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4); border-bottom: 1px solid var(--border-solid); z-index: 5; } .legend-label { display: flex; flex-direction: column; line-height: 1.1; } .brand { font-weight: 800; font-size: 20px; color: var(--pink); letter-spacing: -0.5px; } .brand-dot { color: var(--pink-soft); } .legend-sub { font-size: 12px; color: var(--muted); } #legend-items { display: flex; gap: 10px; flex: 1; overflow-x: auto; } .legend-item { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 14px; background: var(--card); border: 3px solid var(--border-solid); display: grid; place-items: center; position: relative; transition: transform 0.15s ease, opacity 0.2s ease, border-color 0.2s ease; } .legend-thumb { width: 44px; height: 44px; display: grid; place-items: center; } .legend-thumb img { max-width: 100%; max-height: 100%; } .legend-emoji { font-size: 34px; line-height: 1; } .legend-item.found { border-color: var(--ok); opacity: 0.5; } .legend-item.found::after { content: "✓"; position: absolute; right: -6px; top: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #0e0e18; font-size: 14px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); } .legend-counter { flex: 0 0 auto; font-weight: 800; font-size: 18px; color: var(--pink-soft); background: var(--card); padding: 6px 12px; border-radius: 999px; } /* ---- Buehne / Karte ---- */ #stage { position: relative; flex: 1; overflow: hidden; background: var(--bg); touch-action: none; /* eigene Pinch/Pan-Gesten */ } #scene-svg { width: 100%; height: 100%; display: block; cursor: grab; } #scene-svg:active { cursor: grabbing; } .item { pointer-events: auto; } .category-name { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(0, 0, 0, 0.45); padding: 4px 10px; border-radius: 999px; pointer-events: none; } /* ---- Zoom-Steuerung ---- */ #controls { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; z-index: 4; } #controls button { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border-solid); background: var(--panel); color: var(--ink); font-size: 22px; font-weight: 700; cursor: pointer; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5); display: grid; place-items: center; } #controls button:hover { color: var(--pink-soft); border-color: var(--pink); } #controls button:active { transform: translateY(1px); } /* ---- Ping-Feedback (im SVG) ---- */ .ping { pointer-events: none; } .ping-ok { stroke: var(--ok); } .ping-miss { stroke: var(--miss); } .ping { animation: ping 0.6s ease-out forwards; } @keyframes ping { 0% { r: 8; opacity: 0.95; stroke-width: 8; } 100% { r: 60; opacity: 0; stroke-width: 1; } } /* ---- Toast ---- */ #toast { position: absolute; left: 50%; bottom: 78px; transform: translateX(-50%) translateY(10px); background: rgba(0, 0, 0, 0.85); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 14px; border: 1px solid var(--border-solid); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; } #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } /* ---- Lade-Spinner ---- */ #loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14, 14, 24, 0.8); z-index: 6; } .spinner { width: 46px; height: 46px; border: 5px solid var(--border-solid); border-top-color: var(--pink); border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* ---- Gewinn-Overlay ---- */ #win-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.7); z-index: 10; } .win-card { background: var(--panel); padding: 32px 40px; border-radius: 24px; text-align: center; border: 1px solid var(--border-solid); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); animation: pop 0.3s ease; } .win-emoji { font-size: 52px; } .win-card h2 { margin: 10px 0 20px; color: var(--pink-soft); } #next-scene { border: none; background: var(--pink); color: #fff; font-size: 18px; font-weight: 700; padding: 12px 28px; border-radius: 999px; cursor: pointer; box-shadow: 0 6px 18px rgba(255, 77, 141, 0.45); } #next-scene:hover { background: var(--pink-soft); } @keyframes pop { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } } .hidden { display: none !important; } /* Mobile */ @media (max-width: 560px) { .brand { font-size: 16px; } .legend-item { width: 50px; height: 50px; } .legend-thumb { width: 38px; height: 38px; } }