/* ============================================================ theme-switcher.css — top-right theme switcher button + the secret cat-mode picker modal it can open. Shared across all pages. ============================================================ */ /* ============================================================ 7. THEME SWITCHER (shared, icon button top-right) ============================================================ */ .beta-bar { position: fixed; top: 1rem; right: 1rem; z-index: 7; display: flex; align-items: center; gap: 0.5rem; } /* cat-collection button icon: the classic oneko idle frame, scaled down from the 256x128 sprite sheet (idle frame lives at -96px,-96px) */ .beta-cat-icon { width: 22px; height: 22px; display: block; background-image: url('/assets/oneko/classics/classic.png'); background-repeat: no-repeat; background-size: 176px 88px; background-position: -66px -66px; image-rendering: pixelated; } .beta-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.35rem; border-radius: 999px; background: var(--surface-0); border: 1px solid var(--surface-1); cursor: url('../assets/cursor/pointer_0.png'), pointer; transition: border-color 0.15s ease, transform 0.15s ease; } .beta-btn:hover { border-color: var(--pink); transform: translateY(2px); } .beta-icon { width: 22px; height: 22px; display: block; } /* ============================================================ 10. SECRET CAT MODES (toast + picker modal) ============================================================ */ .cat-toast { position: fixed; left: 50%; bottom: 4.5rem; transform: translateX(-50%) translateY(8px); z-index: 2147483647; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--crust); border: 1px solid var(--pink); color: var(--text); font-size: 0.8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; } .cat-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } .cat-picker { position: fixed; inset: 0; z-index: 2147483646; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(17, 17, 27, 0.65); backdrop-filter: blur(2px); } .cat-picker[hidden] { display: none; } .cat-picker-panel { width: min(94vw, 430px); max-height: 82vh; overflow-y: auto; background: var(--base); border: 1px solid var(--surface-1); border-radius: 16px; padding: 1rem; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55); } .cat-picker-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem; font-weight: 700; color: var(--pink); } .cat-picker-close { background: none; border: none; color: var(--subtext-0); font-size: 1.35rem; line-height: 1; cursor: url('../assets/cursor/pointer_0.png'), pointer; padding: 0 0.25rem; } .cat-picker-close:hover { color: var(--text); } .cat-grid { display: flex; flex-direction: column; gap: 1rem; } .cat-section-title { margin: 0 0 0.55rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mauve); border-bottom: 1px solid var(--surface-1); padding-bottom: 0.3rem; } .cat-section-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; } .cat-option { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 0.75rem 0.4rem 0.6rem; border-radius: 12px; background: var(--surface-0); border: 1px solid var(--surface-1); color: var(--text); font-family: inherit; font-size: 0.74rem; text-align: center; cursor: url('../assets/cursor/pointer_0.png'), pointer; transition: transform 0.15s ease, border-color 0.15s ease; } .cat-option:hover:not(.locked) { transform: translateY(-2px); border-color: var(--pink); } .cat-option.current { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); } .cat-option.locked { cursor: url('../assets/cursor/default_0.png'), default; opacity: 0.75; } .cat-preview { /* 30px window + the -97px,-97px position = the idle frame inset 1px on every side, so no preview can catch pixels from neighbouring frames */ width: 30px; height: 30px; margin: 7px 1px 11px; background-repeat: no-repeat; image-rendering: pixelated; transform: scale(1.7); transform-origin: center; } .cat-name { font-weight: 500; } .cat-hint { margin: 0.85rem 0 0; font-size: 0.68rem; color: var(--subtext-0); text-align: center; }