/* 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; transition: opacity 160ms ease; } .brand-lockup:active { opacity: 0.85; } .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; } .shell-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; } .shell-icon svg { width: 1em; height: 1em; } .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); } .beta-apply-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 36px; padding: 0 14px; border: 1px solid rgba(var(--accent-rgb), 0.3); border-radius: 12px; background: rgba(var(--accent-rgb), 0.1); color: var(--accent); font-size: 12px; font-weight: 850; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; animation: beta-pulse 2.5s ease-in-out infinite; } .beta-apply-button:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.18); } .beta-apply-button:active { transform: scale(0.96); } @keyframes beta-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.25); } 50% { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0); } } .member-button { color: var(--accent); font-weight: 600; } .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); } .creator-button:active, .member-button:active, .profile-button:active, .icon-button:active, .theme-toggle:active { transform: scale(0.97); transition-duration: 80ms; } .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); } @keyframes nav-activate-pulse { 0% { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.34), 0 0 8px rgba(var(--accent-rgb), 0.25); } 100% { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.34); } } .floating-nav__button.nav-just-activated { animation: nav-activate-pulse 320ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both; } .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 { position: relative; flex: 1; min-height: 0; overflow: auto; scrollbar-color: rgba(var(--accent-rgb), 0.42) transparent; } .keepalive-ecommerce { position: absolute; inset: 0; z-index: 1; overflow: hidden; } /* ── Info button & popover ────────────────────── */ .info-button { display: inline-grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(var(--accent-rgb), 0.22); border-radius: 8px; background: transparent; color: var(--fg-muted); font-size: 15px; cursor: pointer; transition: color 140ms ease, border-color 140ms ease, background 140ms ease; } .info-button:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.06); } .info-popover-anchor { position: relative; } .info-popover { position: absolute; top: calc(100% + 10px); right: 0; z-index: 100; min-width: 280px; max-width: min(360px, calc(100vw - 32px)); padding: 20px; border-radius: 14px; background: var(--bg-panel); border: 1px solid var(--border-normal); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28); } .info-popover dl { display: grid; gap: 12px; margin: 0 0 16px; } .info-popover dt { color: var(--fg-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; } .info-popover dd { margin: 0 0 0 0; color: var(--fg-body); font-size: 13px; line-height: 1.55; } .info-popover__links { display: flex; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border-weak); } .info-popover__links a { color: var(--accent); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; } .info-popover__links a:hover { text-decoration: underline; } /* ── Admin monitor ──────────────────────────── */ .admin-monitor-trigger { position: fixed; bottom: 16px; right: 16px; z-index: 200; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(var(--accent-rgb), 0.3); border-radius: 50%; background: var(--bg-panel); cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,0.2); } .admin-monitor-trigger__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: admin-monitor-pulse 2s ease-in-out infinite; } @keyframes admin-monitor-pulse { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } } .admin-monitor { position: fixed; bottom: 60px; right: 16px; z-index: 199; width: min(480px, calc(100vw - 32px)); max-height: 70vh; display: flex; flex-direction: column; border: 1px solid var(--border-normal); border-radius: 12px; background: var(--bg-panel); box-shadow: 0 8px 40px rgba(0,0,0,0.35); overflow: hidden; } .admin-monitor__header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border-weak); } .admin-monitor__header strong { font-size: 13px; color: var(--fg-body); } .admin-monitor__actions { display: flex; gap: 6px; } .admin-monitor__actions button { padding: 3px 12px; border: 1px solid var(--border-normal); border-radius: 5px; background: transparent; color: var(--fg-muted); font-size: 11px; cursor: pointer; } .admin-monitor__actions button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); } .admin-monitor__list { flex: 1; overflow: auto; padding: 8px; } .admin-monitor__empty { padding: 24px; text-align: center; color: var(--fg-muted); font-size: 12px; } .admin-monitor__item { border-bottom: 1px solid var(--border-weak); } .admin-monitor__item summary { display: grid; grid-template-columns: 60px 1fr 36px 100px; align-items: center; gap: 8px; padding: 8px 4px; cursor: pointer; font-size: 11px; } .admin-monitor__source { display: inline-block; padding: 2px 6px; border-radius: 3px; background: rgba(var(--accent-rgb), 0.12); color: var(--accent); font-size: 10px; font-weight: 700; text-align: center; } .admin-monitor__msg { overflow: hidden; color: var(--fg-body); text-overflow: ellipsis; white-space: nowrap; } .admin-monitor__count { display: inline-block; min-width: 24px; padding: 1px 5px; border-radius: 999px; background: rgba(255, 107, 53, 0.15); color: #ff6b35; font-size: 10px; font-weight: 800; text-align: center; } .admin-monitor__item time { color: var(--fg-muted); font-size: 10px; text-align: right; } .admin-monitor__detail { padding: 8px 12px 12px; color: var(--fg-muted); font-size: 11px; line-height: 1.6; } .admin-monitor__detail pre { margin-top: 6px; padding: 8px; border-radius: 4px; background: var(--bg-inset); font-size: 10px; max-height: 120px; overflow: auto; } .admin-monitor__pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px; border-top: 1px solid var(--border-weak); font-size: 11px; color: var(--fg-muted); } .admin-monitor__pager button { padding: 2px 10px; border: 1px solid var(--border-normal); border-radius: 4px; background: transparent; color: var(--fg-muted); cursor: pointer; } .admin-monitor__pager button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); } .cookie-consent { position: fixed; right: 18px; bottom: 18px; z-index: 1300; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; width: min(640px, calc(100vw - 36px)); padding: 16px; border: 1px solid rgba(var(--accent-rgb), 0.28); border-radius: 16px; background: var(--bg-panel); color: var(--fg-body); box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34); } .cookie-consent strong, .cookie-consent p { margin: 0; } .cookie-consent p { margin-top: 5px; color: var(--fg-muted); font-size: 13px; line-height: 1.55; } .cookie-consent__actions { display: flex; align-items: center; gap: 10px; } .cookie-consent__actions a, .cookie-consent__actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 900; white-space: nowrap; } .cookie-consent__actions a { color: var(--accent); text-decoration: none; } .cookie-consent__actions button { border: 0; background: var(--accent); color: #07100b; cursor: pointer; } @media (max-width: 900px) { .web-shell { overflow: hidden; } .web-topbar { flex: 0 0 auto; gap: 10px; padding: 10px 12px; } .brand-lockup__tone, .profile-button span:not(.profile-button__avatar), .member-button__label { display: none; } .web-topbar__actions { gap: 6px; } .member-button, .profile-button, .info-button { width: 36px; padding: 0; } .floating-nav { left: 50%; top: auto; bottom: max(10px, env(safe-area-inset-bottom)); flex-direction: row; width: min(calc(100vw - 20px), 560px); overflow-x: auto; justify-content: flex-start; border-radius: 18px; transform: translateX(-50%); scrollbar-width: none; } .floating-nav::-webkit-scrollbar { display: none; } .floating-nav__item { flex: 0 0 44px; } .floating-nav__label, .floating-nav__submenu, .floating-page-scroll-actions { display: none; } .web-shell__page { padding-bottom: 78px; } .info-popover, .profile-popover { right: -8px; max-width: calc(100vw - 24px); } } @media (max-width: 640px) { .brand-lockup__name { font-size: 14px; } .web-topbar__actions { flex: 1; } .cookie-consent { right: 12px; bottom: 12px; grid-template-columns: 1fr; } .cookie-consent__actions { justify-content: space-between; } }