/* Shell layout extracted from the legacy app stylesheet. */ .web-shell { display: block; width: 100%; height: 100%; overflow: hidden; background: var(--page-bg); background-size: auto; } .web-shell[data-theme="dark"] { background: var(--page-bg); background-size: auto; } .event-strip { position: relative; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 14px; height: 36px; padding: 0 44px 0 18px; border-bottom: 1px solid rgba(37, 96, 56, 0.12); background: rgba(210, 246, 219, 0.94); color: #173425; font-size: 12px; font-weight: 800; white-space: nowrap; } .web-shell[data-theme="dark"] .event-strip { border-color: rgba(var(--accent-rgb), 0.2); background: var(--bg-panel); color: var(--fg-body); } .event-strip__pill { padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); color: #236039; box-shadow: inset 0 0 0 1px rgba(35, 96, 57, 0.11); } .web-shell[data-theme="dark"] .event-strip__pill { background: rgba(255, 255, 255, 0.11); color: var(--accent); } .event-strip button { height: 24px; padding: 0 12px; border: 1px solid rgba(35, 96, 57, 0.18); border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: #236039; font-weight: 900; cursor: pointer; transition: background var(--transition-fast, 140ms ease), border-color var(--transition-fast, 140ms ease), transform var(--transition-fast, 140ms ease); } .event-strip button:hover { transform: translateY(-1px); } .web-shell[data-theme="dark"] .event-strip button { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.08); color: var(--fg-body); } .event-strip__close { position: absolute; top: 50%; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; transform: translateY(-50%); border: 0; background: transparent; color: rgba(23, 52, 37, 0.7); cursor: pointer; } .web-shell[data-theme="dark"] .event-strip__close { color: rgba(244, 247, 245, 0.72); } .web-shell__stage { position: relative; height: calc(100svh - 36px); min-height: 0; } .web-shell.event-strip-hidden .web-shell__stage { height: 100svh; } .web-shell__content { display: flex; flex-direction: column; min-width: 0; height: 100%; } .web-topbar { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; flex: 0 0 62px; gap: 18px; padding: 12px 22px 10px; border-bottom: 1px solid var(--border-weak); background: var(--bg-panel); } .web-shell[data-theme="dark"] .web-topbar { background: var(--bg-panel); } .brand-lockup { display: inline-flex; align-items: center; gap: 10px; min-width: 0; background: transparent; color: var(--text); font-size: 15px; font-weight: 900; cursor: pointer; } .brand-lockup__mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; overflow: hidden; border-radius: 8px; background: transparent; color: inherit; font-size: 0; box-shadow: none; } .brand-lockup__logo { display: block; width: 100%; height: 100%; object-fit: contain; } .brand-lockup__name { white-space: nowrap; } .brand-lockup__tone { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--border-subtle); border-radius: 999px; background: var(--bg-inset); color: var(--fg-muted); font-size: 11px; font-weight: 900; text-transform: uppercase; } .web-topbar__actions { display: flex; align-items: center; justify-content: flex-end; min-width: 0; gap: 8px; } .creator-button, .member-button, .profile-button, .icon-button, .theme-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--bg-inset); color: var(--text); font-size: 12px; font-weight: 850; cursor: pointer; box-shadow: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease; } .web-shell[data-theme="dark"] .creator-button, .web-shell[data-theme="dark"] .member-button, .web-shell[data-theme="dark"] .profile-button, .web-shell[data-theme="dark"] .icon-button, .web-shell[data-theme="dark"] .theme-toggle { background: var(--bg-inset); box-shadow: none; } .creator-button { border-color: rgba(var(--accent-rgb), 0.26); background: rgba(var(--accent-rgb), 0.12); color: #1f6d3c; } .web-shell[data-theme="dark"] .creator-button { color: var(--accent); } .member-button { color: var(--cyan-strong); } .member-button--community { color: var(--text); } .icon-button, .theme-toggle { width: 36px; padding: 0; } .theme-switcher { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 3px; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-inset); box-shadow: none; } .web-shell[data-theme="dark"] .theme-switcher { border-color: rgba(var(--accent-rgb), 0.18); background: var(--bg-inset); box-shadow: none; } .theme-switcher .theme-toggle.theme-switcher__option { width: auto; min-width: 70px; height: 32px; min-height: 32px; padding: 0 10px; border-color: transparent; border-radius: 10px; background: transparent; color: var(--fg-muted); box-shadow: none; } .theme-switcher .theme-toggle.theme-switcher__option.is-active { border-color: rgba(var(--accent-rgb), 0.24); background: rgba(var(--accent-rgb), 0.16); color: var(--accent); } .theme-switcher .theme-toggle.theme-switcher__option:hover { background: rgba(var(--accent-rgb), 0.12); transform: translateY(0); } .profile-button--guest { border-color: rgba(var(--accent-rgb), 0.32); background: var(--accent); color: #07100b; } .creator-button:hover, .member-button:hover, .profile-button:hover, .icon-button:hover, .theme-toggle:hover { transform: translateY(-1px); border-color: var(--line-strong); background: var(--bg-hover); } .profile-button--guest:hover { background: rgba(var(--accent-rgb), 0.88); color: #07100b; } .status-dot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 999px; background: var(--danger); } .floating-nav { position: fixed; z-index: 24; left: 22px; top: 50%; display: flex; flex-direction: column; align-items: center; width: 62px; padding: 8px; border: 1px solid var(--border-weak); border-radius: 20px; transform: translateY(-50%); background: var(--bg-panel); box-shadow: var(--shadow-tight); } .web-shell[data-theme="dark"] .floating-nav { background: var(--bg-panel); } .floating-nav__create, .floating-nav__button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: transparent; color: var(--text-muted); font-size: 18px; cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease; } .floating-nav__item { position: relative; display: flex; justify-content: center; width: 44px; } .floating-nav__submenu { position: absolute; left: calc(100% + 12px); top: 50%; z-index: 3; display: grid; gap: 6px; min-width: 112px; padding: 6px; border: 1px solid var(--border-weak); border-radius: 16px; transform: translate(-6px, -50%); background: var(--bg-elevated); box-shadow: var(--shadow-tight); opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; } .web-shell[data-theme="dark"] .floating-nav__submenu { background: var(--bg-elevated); } .floating-nav__item.has-children.is-submenu-open .floating-nav__submenu { opacity: 1; transform: translate(0, -50%); pointer-events: auto; } .floating-nav__item.has-children.is-submenu-open .floating-nav__button .floating-nav__label { opacity: 0; transform: translate(-6px, -50%); } .floating-nav__subbutton { display: flex; align-items: center; gap: 8px; min-width: 0; height: 36px; padding: 0 10px; border-radius: 12px; background: transparent; color: var(--text-muted); font-size: 12px; font-weight: 900; cursor: pointer; white-space: nowrap; transition: background 160ms ease, color 160ms ease, transform 160ms ease; } .floating-nav__subbutton:hover, .floating-nav__subbutton.is-active { background: rgba(var(--accent-rgb), 0.14); color: var(--accent); } .floating-nav__create { margin-bottom: 6px; background: var(--accent); color: #07100b; font-size: 26px; font-weight: 900; box-shadow: none; } .floating-nav__label { position: absolute; left: calc(100% + 12px); top: 50%; display: inline-flex; align-items: center; width: max-content; max-width: 180px; height: 30px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; transform: translate(-6px, -50%); background: var(--bg-elevated); color: var(--fg-body); font-size: 12px; font-weight: 900; opacity: 0; overflow: hidden; pointer-events: none; white-space: nowrap; box-shadow: var(--shadow-tight); transition: opacity 160ms ease, transform 160ms ease; } .floating-nav__button:hover, .floating-nav__button.is-active { background: rgba(var(--accent-rgb), 0.14); color: var(--text); transform: translateY(-1px); } .floating-nav__button:active { transform: scale(0.92); transition-duration: 80ms; } .floating-nav__button.is-active { color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.34); } .floating-nav__button:hover .floating-nav__label, .floating-nav__button:focus-visible .floating-nav__label, .floating-nav__button.is-active .floating-nav__label { opacity: 1; transform: translate(0, -50%); } .floating-nav__button.has-divider { margin-top: 9px; } .floating-nav__button.has-divider::before { content: ""; position: absolute; top: -6px; width: 30px; height: 1px; background: var(--line); } .floating-page-scroll-actions { position: fixed; z-index: 25; left: 30px; top: calc(50% + 265px); display: grid; gap: 7px; } .floating-page-scroll-actions__button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 36px; border: 1px solid var(--line); border-radius: 12px; background: rgba(var(--accent-rgb), 0.08); color: var(--text-muted); font-size: 16px; cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 160ms ease; } .floating-page-scroll-actions__button:hover { background: rgba(var(--accent-rgb), 0.16); color: var(--accent); transform: translateY(-1px); } .web-shell__page { flex: 1; min-height: 0; overflow: auto; scrollbar-color: rgba(var(--accent-rgb), 0.42) transparent; } /* ═══════════════════════════════════════════════════════ Responsive: Shell Navigation & Topbar Breakpoints: 1180px (small desktop), 900px (tablet), 560px (phone). Complements legacy-components.css rules. ═══════════════════════════════════════════════════════ */ /* ── 1180px: Compact topbar ── */ @media (max-width: 1180px) { .brand-lockup__tone { display: none; } .creator-button { display: none; } .member-button { max-width: 148px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } /* ── 900px: Bottom nav & Touch-friendly topbar ── */ @media (max-width: 900px) { .web-topbar { position: sticky; top: 0; flex: 0 0 52px; padding: 8px 12px; gap: 10px; } .brand-lockup__name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; } .creator-button, .member-button { display: none; } .profile-button span:last-child { display: none; } .profile-button { min-width: 44px; height: 44px; padding: 0; aspect-ratio: 1; } .icon-button { min-width: 44px; height: 44px; } .web-shell__page { padding-bottom: 78px; } .floating-page-scroll-actions { display: none; } } /* ── 560px: Phone-sized compact layout ── */ @media (max-width: 560px) { .web-topbar { flex: 0 0 44px; padding: 6px 10px; gap: 6px; } .brand-lockup { gap: 6px; } .brand-lockup__mark { width: 24px; height: 24px; border-radius: 6px; } .brand-lockup__name { font-size: 13px; max-width: 80px; } .profile-button, .icon-button { min-width: 36px; height: 36px; } }